--- Log opened Sun Oct 01 00:00:27 2006 00:40 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 01:24 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has joined #agavi 01:24 < Trevize> Hi 01:24 < Wombert> welcome 01:25 < Trevize> What happened to Mojavi? Is it dead? 01:25 < Wombert> yep 01:25 < Trevize> That's weird... 01:25 < Trevize> In which version did Agavi fork off Mojavi? 01:26 < Wombert> last 3.0-dev revision 01:26 < CIA-1> david * r1069 /trunk/src/filter/AgaviFormPopulationFilter.class.php: FormPopulationFilter: implemented remaining items 3 and 6: support for skipping re-population of certain fields and full support for [] fields (i.e. fields with auto-generated indices). closes #327 01:26 < Wombert> but agavi 0.11 is very different 01:26 < Wombert> give it a shot ;) 01:26 < Wombert> but do not use 0.10.2 from the website 01:26 < Wombert> use SVN instead 01:26 < Wombert> trunk is stable enough for produciton 01:26 < Wombert> a release is imminent, too 01:26 < Wombert> we have many exciting new feature 01:26 < Wombert> s 01:26 < Trevize> A possible employer told me they are working with Mojavi 2.0, and he told me to install it as homework.. 01:26 < Wombert> mojavi2? 01:26 < Wombert> oO 01:27 < Wombert> that's php4 01:27 < Trevize> Yes. Maybe I should worry that they are staying in the past? 01:27 < Wombert> well 01:27 < Wombert> it's your decision 01:28 < Wombert> if you ask me, I would prefer _not_ to have a job where I have to code PHP4 01:28 < Wombert> because it's a real pain in the arse ;) 01:28 < Wombert> outdated technology never is a good idea 01:28 < Trevize> My current work is like that.. hmm.. you mean it's bad because of the object oriented problem? 01:28 < Wombert> remember that PHP5 has been stable for two years now 01:28 < Wombert> in the IT world, that's... a very, very long time 01:29 < Wombert> yes, partly because the OO is very messy 01:29 < Wombert> PHP5 certainly allows for cleaner code 01:29 < Trevize> Bah. Many hosting sites don't even have MySQL 4.1 01:29 < Trevize> Even that it's been stable for 2 years as well 01:29 < Wombert> think abstract classes, type hints in declarations, interfaces, iterators etc etc 01:29 < Wombert> yes, but then, most client projects don't run on shared hosts ;) 01:30 < Wombert> if a client can afford hiring a company to develop an application, they can also afford <100 dollars a month for a dedicated server 01:30 < Wombert> let me put it this way 01:30 < Wombert> if you get a job where you may code PHP5 01:30 < Wombert> AND 01:30 < Wombert> use agavi 01:30 < Wombert> it's gonna be absolute heaven 01:30 < Wombert> if not, your mileage may vary 01:31 < Wombert> ;) 01:32 < Trevize> I can't be very picky. I'm kinda desperate - or maybe I shouldn't be? 01:32 < Wombert> we have a very nice routing (a _lot_ better than the solutions other frameworks offer), good security, full i18n based on the entire unicode CLDR data (that means you can format dates, and the month names will be in hebrew automatically; also, you can fetch a list of languages, countries, regions etc in hebrew etc etc etc), a nice filter concept, good performance, sweet stuff such as auto form-repopulation etc 01:32 < Wombert> hmm 01:32 < Wombert> well 01:32 < Wombert> _are_ you desperate? 01:32 < Wombert> I'm not sure what the job market looks like in israel 01:33 < Wombert> you're from israel, aren't you? 01:33 < Trevize> Sort of. I'm 30 and still living with my parents 01:33 < Trevize> Yup, I'm from Israel 01:33 < Trevize> And I love UTF-8. 01:33 < Wombert> that's good 01:33 < Wombert> because we support it from A to Z 01:33 < Wombert> but let's focus on your job issue thing first 01:34 < Wombert> so you have a job right now? 01:34 < Wombert> but it sucks? 01:35 < Trevize> Yup 01:35 < Trevize> I work from home 01:35 < Wombert> but not self-employed? 01:36 < Wombert> did you consider moving to another country or so? 01:36 < Wombert> I heard jake's company needs programmers ;) 01:36 < Wombert> but they are in Seattle, US 01:36 < Trevize> If they send me a flying ticket, maybe 01:36 < Trevize> but I'm addicted to Israeli folk dnces 01:36 < Wombert> lol :> 01:37 < Wombert> well let's focus on israel then 01:37 < Trevize> dances 01:37 < Trevize> so it's a problem 01:37 < Wombert> how 01:37 < Wombert> I mean 01:37 < Trevize> Even that there are good Israeli folk dances in NYC 01:37 < Wombert> aren't there many job opportunities? 01:37 < Trevize> Not in PHP, I'm afraid 01:37 < Wombert> oO 01:37 < Wombert> what's popular then? 01:38 < Wombert> java? 01:38 < Trevize> Java and .NET 01:38 < Wombert> you could certainly learn java in no time 01:38 < Wombert> it's not much different from PHP 01:38 < Wombert> a week and you know your way around the code 01:38 < Trevize> I think .NET is more popuplar 01:38 < Trevize> popular 01:39 < Wombert> after all, you're a programmer, you know how to code already, and a language is just the "tool" to make stuff work the way your brain wants it 01:39 < Wombert> do you have a university degree or so? 01:39 < Trevize> Not yet 01:39 < Trevize> I plan to, some day 01:39 < Wombert> so you're a student? 01:39 < Wombert> hmm 01:39 < Trevize> Actually I tried learning computer science, but the math killed me 01:40 < Wombert> yes, the CS maths sucks big time 01:40 < impl> Ooh, I want some partial differential equations 01:40 < Trevize> God curse Infinitesimal math 01:41 < Wombert> impl: yuck 01:41 < Trevize> So.. what I plan to do is just to try learn .NET alone 01:42 < Wombert> Trevize: my advice would be to expand your field of knowledge 01:42 < Wombert> that would include learning another language or two 01:42 < Wombert> or, even better, study CS 01:42 < Wombert> where the latter implies the former anyway, so that might be the way to go 01:43 < Trevize> Studying CS takes at least 3 years 01:43 < Trevize> I need a job now.. 01:43 < Wombert> if not, and if you can't get another job, take the mojavi2 job now 01:43 < Wombert> http://mojavi.net/ 01:43 < Trevize> ... which is down. :*( 01:43 < Wombert> no 01:43 < Wombert> click the link ;) 01:44 < Trevize> oh right. .net 01:44 < Wombert> it's a japanese site and they still have mojavi 2.0.3b2 01:44 < Wombert> and no "www" ;> 01:44 < Wombert> once you have the job, you can try to convince your company to switch to PHP5+agavi 01:44 < Wombert> an enterprise framework saves trouble and money ;) 01:45 < Trevize> Why did Mojavi die? Is there any news article about it? 01:45 < Wombert> for example, you write the code to list all products _once_ and then you can deliver it as HTML, RSS, SOAP, whatever you want 01:45 < Wombert> well 01:45 < Wombert> first of all, the development wasn't "open" 01:45 < Wombert> a single person (Sean Kerr) developed it alone 01:45 < Wombert> people had few insight on what was going on etc 01:46 < Wombert> he eventually gave up and handed the project to another bloke called "illusina" (don't remember his real name) 01:46 < Trevize> Sounds like a feminine handle 01:46 < Wombert> he worked on mojavi4, but then the web server crashed, all data was lost and he abandoned the project again 01:46 < Wombert> nah he was male 01:46 < Trevize> Ha, no backups? 01:46 < Wombert> mojavi3 was never released 01:46 < Wombert> nope 01:47 < Wombert> agavi is a fork of mojavi, but it's very different from the original 01:49 * Trevize tries to install the old Mojavi 01:50 < Trevize> There doesn't seem to be an INSTALL file. So what, I should like just extract it under htdocs? 01:50 < impl> Trevize: Do you have 2.0.2? 01:51 < impl> If not I can send it to you 01:51 < Trevize> impl: Yup. The one from the Japanese site 01:51 < Wombert> Trevize: I'm afraid I don't know _anything_ about M2, so I can't help you 01:51 < impl> There's a Japanese site? :s 01:51 < Wombert> http://mojavi.net 01:51 < impl> Whoa 01:51 < impl> WEIRD 01:53 < Trevize> No documentation there 01:53 < Trevize> uffff 01:53 < impl> Trevize: index.php goes in your public html directory 01:54 < impl> Trevize: The other files can go anywhere on your filesystem you can access 01:54 < impl> config.php is in your webapp dir 01:54 < impl> You need to customize it to your liking 01:54 < impl> And include that config.php from your [public index.php 01:54 < impl> s/[// 01:54 < Trevize> can I put it in a subdirectory? 01:55 < impl> Sure 01:55 < Trevize> (index.php) 02:00 < Trevize> Customizing now 02:03 -!- Fastly [n=fafsa@81-179-114-172.dsl.pipex.com] has quit [Read error: 110 (Connection timed out)] 02:05 -!- Fastly [n=fafsa@81-178-121-170.dsl.pipex.com] has joined #agavi 02:07 < Trevize> What's the "all in one class file"? I am supposed to include it in config.php 02:18 < impl> Trevize: It's just the contents of the lib/ directory all packed into one file 02:19 < impl> optimization, basically 02:19 < Trevize> I think it's supposed to be mojavi-all-classes.php 02:21 < Trevize> Ok. Now I'm getting FATAL [C:\Program Files\Apache Group\Apache\htdocs\mojavi\mojavi-all-classes.php:1391] Invalid configuration setting(s): ERROR_404_MODULE (Default) or ERROR_404_ACTION (PageNotFound) 02:25 < impl> That means the PageNotFound action doesn't exist 02:27 < Trevize> I chaned the PageNotFound action to "default", and now it gives me a similar error 02:29 < Trevize> "Default", more precisely 03:27 -!- [1]eremit [n=eremit@p5490DA34.dip.t-dialin.net] has joined #agavi 03:31 < Trevize> Thanks for all the help 03:31 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has quit [] 03:36 -!- eremit [n=eremit@p5490F33D.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 03:36 -!- [1]eremit is now known as eremit 03:46 -!- Fastly [n=fafsa@81-178-121-170.dsl.pipex.com] has quit [Read error: 60 (Operation timed out)] 03:55 -!- Fastly [n=fafsa@81-179-95-122.dsl.pipex.com] has joined #agavi 04:14 -!- benny`gentoo [n=benny@p54AC2319.dip0.t-ipconnect.de] has joined #agavi 04:22 -!- benny`work [n=benny@p54AC437D.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 05:36 < CIA-1> dominik * r1070 /trunk/src/translation/AgaviLocale.class.php: make the locale work with the format returned by the ldml config handler 05:41 -!- benny`gentoo [n=benny@p54AC2319.dip0.t-ipconnect.de] has quit ["unset($this);"] 07:08 < CIA-1> dominik * r1071 /trunk/src/translation/data/ (406 files in 2 dirs): cldr data release 1.4 07:09 < CIA-1> dominik * r1072 /trunk/src/translation/data/locales/__test.xml: this doesn't belong to here 07:09 < CIA-1> dominik * r1073 /trunk/src/core/Agavi.class.php: new core.cldr_dir setting 07:13 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.wa.comcast.net] has left #agavi ["Leaving"] 07:19 < CIA-1> dominik * r1074 /trunk/src/config/ (3 files in 2 dirs): cldr supplemental data config handler 08:14 < CIA-1> david * r1075 /trunk/ (12 files in 8 dirs): 08:14 < CIA-1> made it possible to still modify the response after redirecting by using the 08:14 < CIA-1> Response instance returned by Controller::redirect(). Threw out the 'dirty' flag 08:14 < CIA-1> from Response. All Controllers (must) have a redirect() now. Sort of refs #184 08:41 < CIA-1> dominik * r1076 /trunk/src/util/AgaviDecimalFormatter.class.php: fix handling of currency symbol char in utf8 08:58 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:15 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:22 < raidman> morning #agavi 09:25 < Wombert> hi :) 09:29 < raidman> :) 10:10 -!- Wombert [n=Wombert@dslb-088-064-001-070.pools.arcor-ip.net] has quit [Nick collision from services.] 10:10 -!- Wombert [n=Wombert@dslb-088-064-002-000.pools.arcor-ip.net] has joined #agavi 10:30 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 10:30 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 12:18 < shoan_> Wombert: you there? 12:19 -!- shoan_ is now known as shoan 12:19 < shoan> anybody using apc? 12:24 -!- stoni [i=sto@33.pool80-103-5.dynamic.uni2.es] has joined #agavi 13:36 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 13:36 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 13:36 -!- benny`work [n=benny@p54AC2319.dip0.t-ipconnect.de] has joined #agavi 14:07 < digitarald> More and more i18n ... i love agavi :) 14:09 < digitarald> when u need mojavi documentation: http://www.peterrobins.co.uk/it/mojavi/tutorial1.htm 14:40 < raidman> I wonder how can I freez hell? 14:40 < raidman> the hell! 15:29 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 15:29 -!- raidman_ [n=raidman@unaffiliated/raidman] has joined #agavi 15:30 -!- raidman_ is now known as raidman 15:55 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 17:17 < Wombert> re 17:17 < Wombert> shoan: ? 17:17 < Wombert> digitarald: ? 17:57 < digitarald> here 18:12 < Wombert> digitarald: http://trac.agavi.org/trac.cgi/changeset/1075 18:36 < digitarald> oh nice, the cookie solution 18:38 < Wombert> yes 18:46 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 19:09 -!- shoan [n=shoan@59.92.171.25] has quit [Read error: 60 (Operation timed out)] 19:10 -!- shoan [n=shoan@59.92.177.217] has joined #agavi 19:41 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 19:44 < CIA-1> dominik * r1077 /trunk/src/ (4 files in 3 dirs): more locale handling stuff 19:44 < CIA-1> dominik * r1078 /trunk/src/config/AgaviLdmlConfigHandler.class.php: remove debug output 19:44 < splatch`> hello all! 19:44 < CIA-1> dominik * r1079 /trunk/src/translation/AgaviCurrencyFormatter.class.php: use new locale method names 19:44 < Wombert> splatch`: hi 19:45 < Wombert> btw did you talk to your designer friend yet? :) 19:46 < splatch`> Wombert: they haven't free tame 19:46 < splatch`> He looking for a new job 19:48 < splatch`> Wombert: i have news :) 19:48 < splatch`> they'll made something in this week 19:50 < Wombert> oo 19:50 < Wombert> :>>> 19:50 < Wombert> cool 19:50 < splatch`> :] 20:10 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 145 (Connection timed out)] 20:41 < CIA-1> david * r1080 /trunk/ (5 files): updated licensing and copyright information 20:44 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.wa.comcast.net] has joined #agavi 20:44 < Wombert> hey jake 20:44 < Wombert> I improved the redirect stuff a bit 20:44 < Wombert> I'm afraid I still haven't found a proper solution to allow multiple forwards 20:45 < Wombert> err 20:45 < Wombert> redirects, I mean 20:45 < splatch`> when forum will start? :) 21:00 < jake> thanks for looking into it Wombert 21:08 < Wombert> jake: the problem is that I still have to lock the response so no unwanted output arrives together with the forward, such as a comment by ExecutionTimeFilter etc 21:09 < Wombert> I now changed it so you can at least still modify the response and set a cookie, for example 21:09 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1075 21:10 < Wombert> are you using agavi-trunk in development yet? 21:13 < jake> not yet, no 21:13 < Wombert> i18n is almost complete btw 21:13 < jake> reading the diff now 21:13 < Wombert> $req->setLocale('en_US@currency=EUR'); etc 21:14 < Wombert> we're still doing some testing and stuff, but so far, most things work pretty well 21:14 -!- eremit [n=eremit@p5490DA34.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 21:15 < Wombert> oh and 21:15 < Wombert> I'm looking into adding SOAP and XMLRPC support right now 21:22 < CIA-1> david * r1081 /trunk/LICENSE: fixed license file info 21:43 -!- stoni [i=sto@33.pool80-103-5.dynamic.uni2.es] has quit [Read error: 145 (Connection timed out)] 21:43 < CIA-1> dominik * r1082 /trunk/src/translation/ (6 files): added phpdocs 22:06 < CIA-1> david * r1083 /trunk/ (COPYRIGHT INSTALL LICENSE docs/docbook/manual.xml): INSTALL, LICENSE, COPYRIGHT and docs update 22:20 -!- Fastly [n=fafsa@81-179-95-122.dsl.pipex.com] has quit [Read error: 60 (Operation timed out)] 22:28 -!- Fastly [n=fafsa@81-178-107-126.dsl.pipex.com] has joined #agavi 23:07 < splatch`> Wombert? 23:07 < splatch`> Einloggen? :D 23:22 < splatch`> anyone online? 23:51 -!- shoan_ [n=shoan@59.92.139.191] has joined #agavi 23:56 -!- shoan [n=shoan@59.92.177.217] has quit [Read error: 145 (Connection timed out)] --- Day changed Mon Oct 02 2006 00:04 < CIA-1> dominik * r1084 /trunk/API_CHANGELOG: this should be basicly all changes now 00:09 < CIA-1> dominik * r1085 /trunk/src/action/AgaviActionStackEntry.class.php: phpdoc fixes 00:38 < CIA-1> david * r1086 /trunk/src/ (3 files in 3 dirs): cleanup and type hint fixes 01:02 -!- shoan [n=shoan@59.92.129.195] has joined #agavi 01:04 < Wombert> jake: so did you hire sean? 01:04 < Wombert> or is he still unable to move to seattle 01:09 -!- shoan_ [n=shoan@59.92.139.191] has quit [Read error: 110 (Connection timed out)] 01:13 < CIA-1> david * r1087 /trunk/ (samples/pub/index.php src/logging/AgaviMessage.class.php): phpdoc fixes, removed log() method in AgaviMessage 01:14 < CIA-1> david * r1088 /trunk/samples/pub/index.php: oops 01:32 < jake> Yeah, he can't move to Seattle until December, so we're going to look at things again then 01:32 < Wombert> hmmh 01:32 < Wombert> jake: need your advice 01:32 < Wombert> should we drop initialize() 01:32 < Wombert> and use constructors everywhere 01:32 < Wombert> I talked to sean the other day why he used initialize() instead of constructors and he was like "I have no idea" 01:33 < jake> heh 01:33 < jake> I actually can see a reason 01:33 < Wombert> really? 01:33 < Wombert> shoot 01:33 < jake> I think we should keep 'initialize' 01:33 < jake> for this reason; you may want to instantiate an action without having it run it's setup (perhaps for unit testing, pre loading, etc) 01:33 < jake> er, 'its' not it's 01:34 < Wombert> mmmh 01:34 < Wombert> that's a rather good point actually 01:35 < impl> It's also nice to have the ability to separate the setup into two pieces 01:35 < jake> Yeah, I think so. I still use the constructor, to do things that aren't environment specific 01:35 < impl> $o = new something(); /* do more stuff */ $o->initialize(); 01:35 < jake> But initialize tends to fetch things from the request object and such 01:35 < jake> yeah, exactly 01:36 < Wombert> guys 01:36 < Wombert> I have to say 01:36 < Wombert> your input was very valuable 01:36 < impl> If you were feeling European you could change it to initialise() though :P 01:36 < Wombert> as usual, I'm glad I ask 01:36 < Wombert> ed 01:36 * Wombert goes find teh big revert button 01:37 < impl> hehe 01:37 < jake> no problem Wombert, we appreciate the asking :) 01:37 < Wombert> speaking of which 01:37 < impl> I'm still working on a solution to slots, I really am 01:37 < Wombert> did you ask your boss to sponsor a trip to europe yet? 01:37 < Wombert> impl: good, good ;) 01:37 < impl> I had a good idea this morning... gonna see how well it works on paper 01:37 < jake> Yeah, I'll know tomorrow 01:37 < impl> I need paper I can write on in the shower 01:37 < impl> :< 01:37 < Wombert> jake: w00t nice 01:38 < Wombert> funny 01:38 < Wombert> I always get the best ideas when I'm in the shower, too 01:38 < Wombert> I always feel a bit embarrassed because that's very geek style 01:38 < Wombert> you know 01:39 < Wombert> thinking about programming when in the shower and all 01:39 < Wombert> mmhmmm 01:39 < impl> Well what else are you supposed to do? :P 01:39 < Wombert> mmmh 01:39 < Wombert> true 01:39 < Wombert> I just wonder what regular people do in the shower 01:39 * Wombert falls over 01:40 < impl> hehe 01:40 < impl> Okay, so here's what I was thinking 01:40 < impl> We take slots out of the view completely and move them into the template 01:40 < impl> So you have a template class 01:40 < impl> And it's just a matter of $template->insert('Module', 'Action'); 01:41 < impl> Of course that would only work the PHP renderer 01:41 < impl> But we could extend other templating engines... 01:41 < Wombert> how exactly is that different from the current solution 01:41 < Wombert> I mean 01:42 < Wombert> it makes no difference whether you do it in the template or in the view 01:42 < Wombert> in fact, the template is an element of the view from an MVC standpoint 01:42 < jake> Is there really a benefit to slots? It seems like you can accomplish the same thing by; using the actionchain, rendering to a variable, and displaying how you want 01:42 < Wombert> jake: the thing about the action chain is 01:42 < Wombert> ehm 01:42 < Wombert> I never used M2 but 01:43 < jake> sorry if that's a dumb suggestion, but that's how we accomplished the same thing with m2 01:43 < Wombert> you called the next element in the chain from your action, right? 01:43 < impl> I have to look at actionchains again 01:43 < impl> They confused me greatly the last time I used them 01:43 < Wombert> the thing is 01:43 < Wombert> that slots are always presentational 01:43 < Wombert> they serve no business logic purpose 01:44 < impl> What if you want to call an action within an action just to execute logic? 01:44 < Wombert> so letting your logic (action) decide what slots to run (presentation) is a pretty bad idea 01:44 < jake> There's still some business logic. What to retrieve from the database for display, for instance 01:44 < Wombert> let's say your app has a web interface plus a soap interface 01:44 < Wombert> you then need a view 01:44 < Wombert> because only in the web interface you want to display the slots 01:45 < Wombert> you could of course put some logic into the action then to decide which context or even output type you're serving but 01:45 < Wombert> things get extraordinarily messy then 01:45 < jake> Sure. But that's a different issue. I would create a filter called 'SlotsFilter', which only gets executed in the appropriate context (web) 01:45 < Wombert> what about different output types inside a context 01:46 < Wombert> html, pdf, json are all "web" 01:46 < jake> Sure, but they're just different renderings. Executing the actions would allow for that 01:46 < jake> I'm just trying to understand the _intended_ purpose of slots 01:47 < jake> Because it really seems like a 'trimmed' down version of actions/views (with very little happening in the action) 01:47 < Wombert> actually 01:47 < Wombert> slots are just a normal action/view/template combo 01:48 < jake> yeah, I thought so too. Then why can't slots be accomplished with a modified actionchain? 01:48 < Wombert> how does this action chain stuff work 01:48 < Wombert> I'm sorry, I never used M2 01:48 < jake> Do you have a copy of M2 anywhere? 01:48 < impl> I can pastebin ActionChain.class.php 01:48 < impl> if you want 01:49 * Wombert goes download 01:49 < Wombert> now I have it 01:49 < Wombert> shoot 01:49 < jake> The actionchain is also how we do 'localized' application controllers in m2, besides the code being inefficient, it's very handy 01:49 < impl> jake: iirc (and I haven't used M2 in ages), with actionchains you just instantiated them manually right? 01:50 < jake> no 01:50 < Wombert> can you give me a quick example of how the action chain is used then? 01:50 < impl> $chain = new ActionChain(); $chain->register(...); $chain->register(...); $chain->execute(); ? 01:50 < jake> you do $ac->register('Name', 'Module', 'Action', array('parameters') 01:50 < jake> yeah, exactly impl 01:50 < Wombert> okay 01:50 < Wombert> butz 01:50 < Wombert> uhm 01:50 < jake> then you use fetchResult('Name') to retrieve the rendered result 01:50 < Wombert> doesn't that mean you must know what to register _before_ you run it 01:51 < jake> Of course 01:51 < Wombert> or can you create a _new_ action chain whenever you want 01:51 < Wombert> and run that 01:51 < jake> yeah, you can do that 01:51 < Wombert> e.g. in your view? 01:51 < Wombert> oh 01:51 < Wombert> that's pretty sweet actually 01:51 < jake> yep, wherever you want 01:51 * Wombert thinks about that 01:51 < impl> I used actionchains in the action and then saved them in $request 01:51 < impl> I don't know why, but that's what I did 01:51 < impl> :\ 01:51 < Wombert> okay and 01:51 < Wombert> when is the rendering done? 01:51 < jake> Yeah. So we use the Controller class as a front-web controller, and then the action chain allows us to have an application-controller as well 01:51 < Wombert> i.e. where do you assemble the output 01:52 < impl> Wombert: In M2 the renderer was independent of the view 01:52 < impl> So inside View::execute() you'd just say $renderer = new Renderer(); $renderer->setAttribute(...); 01:52 < impl> And stick the output of the actionchain in there 01:52 < impl> Then you returned the renderer, I think 01:52 * impl doesn't remember exactly now 01:53 < jake> you could do that. Or, just do in the view or filter or whatever; $renderer->setAttribute('ThingFromOtherAction', $ac->fetchResult('OtherActionName')) 01:53 < jake> You're right about the view impl 01:53 < Wombert> I see 01:53 < Wombert> and at what point was the template rendered 01:53 < Wombert> and output sent back? 01:54 < impl> Wombert: Let me show you an example from an old app I wrote 01:54 < jake> it's up to you. The content is _rendered_ when you call $ac->execute() 01:54 < jake> but it's displayed whenever you decide to display it 01:54 < impl> Wombert: http://pastebin.ca/188248 02:01 < Wombert> oO 02:02 < Wombert> hmmh 02:02 < Wombert> $controller->dispatch(); 02:02 < Wombert> is in the sample index.php 02:02 < Wombert> and at what point is the output sent back 02:02 < Wombert> can't findit 02:03 < Wombert> aaaah 02:03 < Wombert> okay 02:03 < jake> it's not relevant to this discussion. the action chain returns the rendered output in variables, which you can then do what you want with, including outputting them 02:03 < Wombert> it renders that right away because the mode is RENDER_CLIENT 02:03 < Wombert> but if you create a chain 02:03 < Wombert> it's RENDER_VAR 02:03 < Wombert> so you can fetch it 02:03 < Wombert> got it 02:03 < jake> yep, exactly 02:03 < Wombert> jake: yeah I got that I just wondered how the _first_ output (i.e. that of the requested action) is returned 02:04 < Wombert> http://feeds.autoblog.com/~r/weblogsinc/autoblog/~3/30758893/ mmmmh said news and I thought I'd get rich in time to afford one before they stop building them ;))) 02:04 < Wombert> -said+sad 02:10 < Wombert> these existing SOAP and XMLRPC implementations are really frustrating 02:10 < Wombert> they all require you to set up the functions you want to serve beforehand 02:10 < Wombert> I want to use our routing for that 02:10 < Wombert> mmmm000h 02:10 < jake> yeah, we came up with a nice dynamic way to do it though with agavi 02:11 < jake> it didn't require routing either (which wasn't available in the version of agavi we were using) 02:12 < Wombert> I thought about in dispatch() open the SOAP request, check which method it is, register that, __call() will handle the actual forward() call 02:12 < Wombert> is that about what you do? 02:12 < Wombert> I'm not really in the mood to write a full SOAP and XMLRPC server implementation 02:12 < Wombert> so I guess I gotta resort to cheating a bit 02:13 < jake> heh, you don't have to. let me look at code quickly 02:19 < Wombert> thanks 02:20 < jake> So, for Xmlrpc and Soap, I have a controller, request, view and exception class 02:20 < jake> I used the xmlrpc extension, which supports soap 1.1 and xmlrpc 02:21 < jake> The exception knows how to display exceptions appropriately and the xmlrpc and soap controllers make extensive use of them 02:23 < Wombert> okay 02:23 < jake> The request object uses xmlrpc_decode_request and overrides the appropriate methods to set parameters as appropriate 02:24 < jake> the controller doesn't do much except for override dispatch and ensure that we use the appropriate exception types 02:26 < Wombert> aaah 02:26 < Wombert> so you're not using xmlrpc_server_call_method ? 02:26 < jake> then in the XMLRPC/SOAP templates, they do SoapView::output($some_variables), that just does xmlrpc_encode_request 02:26 < jake> Nope, they're not useful in this context 02:26 < jake> The view thing I just said is a hack, but the correct solution is obvious (I think) 02:27 < jake> The 'modern' php implementations for soap and xmlrpc completely suck. In an application like agavi, it's best to just use them for encoding and decoding, not for anything else (like callbacks) 02:28 < Wombert> you know 02:29 < Wombert> I'm surprised that this OO SOAP extension 02:29 < Wombert> doesn't allow to blindly call 02:29 < Wombert> where I could then throw an exception if the method wasn't found or so 02:29 < jake> it blows, it's not really OO. The approach I took started by overriding methods in the OO SOAP extension, but it only supports soap. At least the xmlrpc extension supports xmlrpc and soap 1.1 02:30 < Wombert> interesting 02:30 < Wombert> I planned to support several implementations tho 02:30 < Wombert> because otherwise people will come here and whine about how FubarSoap is better than SnafuSoap 02:30 < Wombert> so I gotta see how to integrate this with the routing 02:30 < jake> You can support as many as you want to. What you're doing is creating a reference implementation 02:30 < Wombert> because we need the ability to define the request method 02:31 < Wombert> e.g. modifying a product is POST => "write" 02:31 < Wombert> getting a list of products is GET => "read" 02:31 < Wombert> and SOAP is always POST 02:32 < Wombert> it's not a _huge_ deal, more like a minor glitch 02:32 < Wombert> still, being able to use the routing to map methods to actions will be nice 02:32 < jake> XMLRPC is always post as well 02:32 < Wombert> yeah 02:34 < Wombert> I'm not toooo familiar with this stuff, so I guess I'll go ahead and implement something and let you and others have a look at it then ;) 02:34 < Wombert> obviously, there will be some interesting situations 02:34 < Wombert> but that's what I want 02:35 < Wombert> that's why I do it now, and not after 0.11 02:35 < Wombert> I want to see, for instance, if the response architecture can really handle this 02:35 < Wombert> where we just set some variables that will later be encoded for XMLRPC etc 02:36 < impl> How is the locale/internationalization support going? 02:36 < Wombert> very good 02:36 < Wombert> actually, it's pretty complete 02:36 < Wombert> at least dominik says so 02:37 < Wombert> we can parse all the CLDR data already 02:37 < Wombert> and it's used, of course 02:37 < impl> Cool 02:37 < Wombert> the only things missing is date formatting and related stuff 02:37 < Wombert> like timezones 02:37 < Wombert> we'll use the olson database for that, by the way 02:37 < Wombert> so you always have accurate DST info, too 02:38 < Wombert> but the other stuff should work already 02:38 < impl> :D 02:38 < Wombert> e.g. $req->setLocale('en_US'); 02:39 < Wombert> $tm->_c(23); 02:40 < Wombert> will yield "US$23.00" 02:40 < Wombert> $req->setLocale('de_DE'); 02:40 < Wombert> $tm->_c(23); 02:40 < Wombert> will result in "23,00 €" 02:40 < Wombert> and 02:40 < Wombert> $req->setLocale('en_US@currency=EUR'); 02:40 < Wombert> will give "€23.00" 02:41 < Wombert> it's pretty un-tested currently 02:41 < Wombert> i.e. no clue if the translators work etc (there's a GettextTranslator) 02:43 < Wombert> and you have to write a simple callback for the routing to set the language based on the locale etc 02:43 < Wombert> note that if you register en_US as available 02:43 < Wombert> you can still simply set "en" 02:43 < Wombert> that'll pick en_US then 02:44 < Wombert> stuff that is interesting for you right now would certainly be $locale->getLanguages() 02:44 < Wombert> and 02:44 < Wombert> errr 02:44 < Wombert> getTerritories() 02:47 < Wombert> note that getTerritories() returns not only countries (two letters) but also geographic regions (three digits) 02:47 < Wombert> all in the locale's language, of course 02:48 < Wombert> you can get calendar names 02:48 < Wombert> calendar info 02:48 < Wombert> script names 02:48 < Wombert> currencies 02:48 < Wombert> everything 02:49 < impl> Cool 03:16 < Wombert> l8rs 03:17 -!- Wombert [n=Wombert@dslb-088-064-002-000.pools.arcor-ip.net] has quit [] 03:26 -!- benny`work [n=benny@p54AC2319.dip0.t-ipconnect.de] has quit ["unset($this);"] 04:55 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 104 (Connection reset by peer)] 04:55 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 06:41 < ttj> Huomen. 07:22 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 60 (Operation timed out)] 08:52 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:54 < raidman> morning 09:02 < v-dogg> huomenta 09:09 < splatch`> *zieaf* 09:10 < splatch`> hello :] 09:11 < raidman> splatch`, zieaf == morning? 09:12 < splatch`> zief = yawn 09:12 < splatch`> morning = rano 09:12 < splatch`> good-morning = dzien dobry 09:12 < splatch`> we have one version of "good day" ;] 09:13 < raidman> dzien dobry 09:13 < splatch`> on night = dobry wieczor (good night) 09:13 < splatch`> raidman: dzien dobry! :) 09:13 < raidman> do good == dobry 09:13 < raidman> so 09:15 < splatch`> raidman: yes 09:15 < splatch`> raidman: short version it's dobry 09:15 < splatch`> short version of "dzien dobry" :) 09:15 < splatch`> hm.. like morning? 09:16 < raidman> and what's rano? 09:18 < splatch`> raidman: rano minds morn 09:18 < raidman> okey :) 09:18 < splatch`> raidman: simple, not like in english ;))) 09:19 < raidman> yeah ;) 09:53 -!- Wombert [n=Wombert@dslb-088-064-002-000.pools.arcor-ip.net] has joined #agavi 09:54 -!- eremit [n=eremit@p5490FD4E.dip.t-dialin.net] has joined #agavi 09:55 < v-dogg> morning germys 10:03 < Wombert> :> hi 10:03 < eremit> morning ... 10:04 < Wombert> following change proposal 10:04 < Wombert> validators get a new sub-tag for specifying input data 10:04 < Wombert> i.e. not in parameters anymore 10:05 < Wombert> 10:05 < Wombert> [] 10:05 < Wombert> 10:05 < Wombert> that would be a non-named argument 10:05 < Wombert> more of them could, of course, have a "name" or "for" attribute 10:05 < Wombert> question: which name for that 10:05 < Wombert> "arguments" or "inputs" or what 10:05 < Wombert> "parameters" is, obviously, already taken ;) 10:07 < raidman> Wombert, eremit hi 10:07 < eremit> hi raidman ... 10:08 < raidman> I like parameters 10:08 * eremit gets some coffee and tries to understand wombert ... 10:08 < eremit> if i got everything right ... i would vote for inputs ... 10:09 < raidman> I like parameters because we use setParameters , get... and so in code 10:09 -!- Wombert [n=Wombert@dslb-088-064-002-000.pools.arcor-ip.net] has quit [Nick collision from services.] 10:09 -!- Wombert [n=Wombert@dslb-088-064-014-148.pools.arcor-ip.net] has joined #agavi 10:10 < raidman> but I think about naming convention for unvalidated (unsafe) parameters 10:11 < Wombert> parameters are stupid 10:11 < Wombert> because they contain the names of the input params to validate 10:11 < Wombert> and configuration options for the validator 10:11 < Wombert> plus the base attribute is in the validator tag and thus has no logical relation to the input param configuration 10:25 < splatch`> Wombert: can you describe the new flow? 10:25 < Wombert> ? 10:26 < splatch`> Wombert: request-action-output types 10:26 < Wombert> I can 10:26 < Wombert> but not now :) 10:26 < Wombert> gotta go 10:26 < Wombert> see you later 10:26 < splatch`> cU 10:47 -!- shoan_ [n=shoan@59.92.129.195] has joined #agavi 11:05 -!- shoan [n=shoan@59.92.129.195] has quit [Read error: 110 (Connection timed out)] 12:05 < Wombert> re 12:28 < shoan_> Wombert: have you used apc? 12:28 -!- shoan_ is now known as shoan 12:28 < Wombert> yeah 12:28 < Wombert> you having some trouble? 12:28 < shoan> does it require compilation of php scripts? 12:28 < Wombert> no, no 12:28 < shoan> i can't understand how the thing works? 12:28 < Wombert> it all works at runtime 12:28 < Wombert> :) 12:28 < Wombert> simple 12:29 < shoan> do I just need to enable the module and thats it? 12:29 < Wombert> PHP is not an interpreter 12:29 < Wombert> it compiles 12:29 < Wombert> and then runs the code 12:29 < Wombert> it's artificially crippled, basically 12:29 < Wombert> so Zend can sell their accelerator thingie 12:29 < Wombert> APC grabs the bytecode compiled by PHP and stores it, either in the FS or in SHM 12:30 < Wombert> when a file is requested the next time, compilation is skipped and the stored bytecode is passed to the execution engine 12:30 < Wombert> all you have to do is enable APC 12:31 < Wombert> extension=apc.so 12:31 < Wombert> auto_globals_jit = Off 12:31 < Wombert> apc.max_file_size = 4M 12:31 < Wombert> is what I use 12:31 < shoan> ah ok 12:31 < eremit> but be aware (require|include)_once can really kill your apc ^^ 12:34 < Wombert> unless you use PHP 5.2 w/ latest APC 12:34 < Wombert> and 12:34 < Wombert> Agavi doesn't use _once anymore anyway 12:34 < eremit> but Propel does and it does it often ... 12:34 < eremit> pear also ... 12:35 < eremit> like most 3rd party libs 12:40 < v-dogg> and Zend 12:40 < eremit> i consider zend as 3rd party lib ... and mostly it equals pear :P 12:40 < eremit> at least what i've seen of zend_fw 12:41 < Wombert> compared to ezComponents, zend has an uber fugly architecture, organization and loading mechanism 12:41 < Wombert> onces all over the place 12:41 < Wombert> no autoloading 12:41 < Wombert> etc etc 12:46 < eremit> hmm i must admit there is one thing i like about zend ... their naming conventions and directory layout ... 12:46 < eremit> it was the only thing i felt conformtable with at the very first moment ... 12:51 < splatch`> zend going to some changes in MVC layer 12:51 < splatch`> i saw notes on wiki 12:52 * Wombert ponders 12:53 < Wombert> should I create ServiceRequest etc 12:53 < Wombert> and then subclass these for speciifc implementations (PEAR::SOAP, Zend_XMLRPC etc) 12:54 < Wombert> or ServiceRequest and then SoapServiceRequest which supports a lot of implementations already 12:54 < splatch`> Wombert: service = non browser? 12:54 < Wombert> and you configure which one you want 12:55 < splatch`> Wombert: what service request will do? 12:55 < Wombert> ... 12:55 < Wombert> handle web services? 12:55 < Wombert> :p 12:55 < ttj> Hmm... But does writing SoapServiceRequest bring added overhead and complexity, if you need to enclose various implementations inside it? 12:55 < Wombert> AgaviZendsoapRequest, AgaviZendsoapResponse etc 12:55 < raidman> Ebay and so? 12:56 < Wombert> ttj: that's the question 12:56 < Wombert> we could either offer concrete implementations for each solution out there 12:56 < ttj> Without pondering about it, I would say implementation-specific classes. 12:56 < Wombert> or have one Soap* and one Xmlrpc* that each support the various implementations 12:56 < Wombert> yeah 12:57 < splatch`> Wombert: handle hm.. for soap you must parse only request and format good response, not more 12:57 < Wombert> I first wanted to go with one-class-to-rule-them-all but I guess that's a better idea 12:57 < splatch`> Wombert: AgaviZendsoapResponse's wrong 12:57 < Wombert> splatch`: and a routing and, maybe, a controller 12:57 < Wombert> no, it is not 12:57 < splatch`> zend? 12:57 < splatch`> what for? 12:57 < splatch`> Wombert: AgaviSoapResponse's good 12:57 < ttj> The one-class-to-rule-them-all would be an elegant way to do it, yes, but I don't know how maintainable that will be in a real world scenario. 12:58 < raidman> what you thing about somthing like abstraction layer? 12:58 < raidman> think* 12:58 < Wombert> what do you mean 12:58 < Wombert> abstraction layer? 12:59 < ttj> I think raidman is suggesting the one-class-to-rule-them-all approach. 12:59 < raidman> yeah 12:59 < ttj> Similar to abstracting database connections. 12:59 < raidman> exactly 12:59 < splatch`> Wombert: soap's standard protocol, i don't see any real sugests to create class for zend soap implementation 12:59 < Wombert> ... 12:59 < Wombert> splatch`: I have to decode the soap request 12:59 < Wombert> I have to encode the response 12:59 < Wombert> etc etc etc 13:00 < splatch`> Wombert: ok, but you can do this without zend :] 13:00 < Wombert> ... 13:00 < Wombert> splatch`: that was just an example 13:00 * Wombert sighs 13:00 < Wombert> AgaviZendsoapRequest extends AgaviServiceRequest 13:00 < Wombert> AgaviPhpxmlrpcRequest extends AgaviServiceRequest 13:01 < Wombert> AgaviPearsoapRequest extends AgaviServiceRequest 13:01 < Wombert> got it? 13:01 < splatch`> hmm.. you want use Zend to get request parameters etc? 13:01 < raidman> hmm, yeah like AgaviView ... 13:01 < Wombert> ttj: but that would be the exact opposite 13:01 < ttj> Yes, I know. 13:02 < Wombert> we have a) the option above (implementation for each of the libs out there) or AgaviSoapRequest that can handle Zend, Pear, native PHP, NuSOAP etc 13:02 < Wombert> there's a b) missing there 13:02 < ttj> a) has essentially two levels (AgaviRequest-level and the lib) and b) has three (Request, Soap, lib). 13:03 < splatch`> Wombert: something like Agavi database layer? 13:03 < ttj> I like simplicity, and that's why I'd prefer a). But that's just my 2 cents. 13:03 < Wombert> ? 13:03 < Wombert> ttj: I'll go with a) 13:03 < splatch`> Wombert: CreoleDatabase, AgaviMysqlDatabase, PDODatabase 13:03 < Wombert> uuuhm 13:03 < Wombert> yes? 13:03 < Wombert> :> 13:05 < splatch`> all request shuld handle Agavi 13:05 < Wombert> I don't get what you're saying 13:05 < splatch`> *should 13:06 < splatch`> Wombert: Request abstraction is good idea 13:08 < v-dogg> Wombert: I'd vote for a) too 13:08 < splatch`> but agavi can use other than browser request without additional libs 13:08 < splatch`> like Zend or PEAR 13:20 < Wombert> splatch`: requests are already abstracted!? 13:20 < Wombert> no way 13:20 < Wombert> we are a framework 13:20 < Wombert> not a toolkit 13:33 < eremit> Wombert, there ? 13:34 < eremit> I have a problem with the fpf ... i have about 10 checkboxes all name="mode" but different values ... your fpf does not select the correct one if i say populate?! ... intention or bug ? 13:36 < eremit> forget it ... i'm silly ^^ ... 13:43 < eremit> uhm ... radio buttons (which i really wanted) have the same problem 13:46 < Wombert> 10 checkboxes with the same name and different values? 13:46 < Wombert> that's stupid 13:46 < Wombert> because only one value arrives 13:46 < eremit> yes that's why i said i really wanted radio buttons 13:46 < eremit> something like 13:47 < eremit> ..... value="single" ... 13:47 < Wombert> let me have a look 13:56 < splatch`> Wombert: I don't understood AgaviZendsoapRequest :] 14:05 < raidman> and what about chackboxes with mode[] name? I didn't test this, may be one of you? 14:05 < raidman> ah that's stupid 14:05 < Wombert> that works, of course 14:05 < raidman> ignore it :P 14:05 < raidman> hrh? 14:05 < Wombert> I'm afraid Dominik messed something up and I have to fix it before I can test 14:05 < Wombert> FPF can handle foo[] checkboxes 14:06 < Wombert> it also handles any foo[][data][3][] field etc etc 14:06 < raidman> really! 14:06 < Wombert> yes 14:06 < raidman> :) 14:10 < Wombert> eremit: I cannot reproduce that problem 14:10 < Wombert> the radio button is re-populated correctly for me 14:10 < eremit> hmmm ... 14:10 < Wombert> are you using the latest FPF 14:10 < Wombert> but I cannot remember a bug there 14:10 < Wombert> I know I always tested that 14:10 < eremit> uhm ... moment 14:11 < Wombert> gawd these validators are SO fucked up 14:11 < eremit> yes i using the latest trunk ... 14:12 < eremit> i'll debug the whole process ... maybe i find the problem ... 14:12 < Wombert> another field with the same name? 14:12 < eremit> wouldn't fpf throw an error then ? 14:12 < Wombert> why should it 14:12 < Wombert> and how could it 14:12 < Wombert> ... 14:13 < eremit> no i have only 10 occurrences of "mode" 14:13 < Wombert> all radios? 14:13 < Wombert> mhm 14:13 < eremit> yep 14:13 < Wombert> any duplicate values? 14:13 < eremit> nop 14:13 < Wombert> mhm 14:13 < eremit> currently they are stupidly numbered ... 14:14 < Wombert> I added 14:14 < Wombert> 14:14 < Wombert> 14:14 < Wombert> 14:14 < Wombert> to the sample app 14:14 < Wombert> LoginInput.php 14:14 < Wombert> and it works 14:14 < eremit> could it cause a problem if i don't repopulate the form ... 14:14 < Wombert> ? 14:14 < eremit> i'm populating it via setAttribute('populate', $this->getAttributes(), .... ) 14:15 < Wombert> oh come on 14:15 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1055 14:16 < CIA-1> david * r1089 /trunk/src/ (2 files in 2 dirs): Z O M G 14:19 < eremit> umpf ... now i realize the full impact of this commit :/ ... f.ck 14:20 < Wombert> it's a simple search and replace 14:21 < eremit> it isn'T 14:21 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 14:21 < Wombert> of course it is 14:22 < eremit> but how to handle it if the form does not have an id tag :P 14:22 < Wombert> ??? 14:22 < Wombert> ARGH 14:22 < Wombert> READ 14:22 < Wombert> THE 14:22 < eremit> there are currently 196 form tags without id 14:22 < Wombert> COMMIT 14:22 < Wombert> MESSAGE 14:22 < Wombert> ... 14:23 < eremit> then i dont get the message ... 14:23 < eremit> i've read it about 100 times ... 14:23 < Wombert> , support for initial population of multiple forms (ATTN, BREAKING CHANGE: array keys are form id, value a ParameterHolder? of data to populate. use ParameterHolders? now to populate the form that belongs to the action. new AgaviParameterHolder(array(...)) does the job)) 14:23 < eremit> yes ... which i interpret as my form needs an id tag ^^ 14:23 < Wombert> noß 14:23 < Wombert> maaan 14:24 < eremit> array keys are form id, value a parameterholder ... 14:24 < Wombert> mhm 14:24 < Wombert> how about reading on 14:24 < Wombert> you know, there's a full stop after that... 14:24 < Wombert> and then 14:24 < Wombert> there is another sentence 14:24 < eremit> yeah i interpret the rest as how to create the parameter holder ... 14:25 < Wombert> "use ParameterHolders? now to populate the form that belongs to the action. new AgaviParameterHolder(array(...)) does the job" 14:25 < Wombert> "the form that belongs to the action" 14:25 < Wombert> not "any form based on ID" 14:25 < eremit> ok i get what you mean ... but sorry, i cannot read this out of this message ^^ ... 14:26 < Wombert> all you have to do 14:26 < Wombert> is pass in a single parameter holder 14:26 < Wombert> instead of an array 14:26 < Wombert> because an array is now used to populate _any_form based on their ID 14:27 * Wombert sighs 14:27 < eremit> ok i got it ... but still cannot read it out of this message ^^ :P sorry, maybe i miss some slight nuances about this message 14:28 < Wombert> I thought "use ... now to populate the form that belongs to the action" would be clear enough :p 14:28 < Wombert> maybe not xD 14:29 < eremit> yes basically it is ... but i see the whole sentence as a reflexive description of the sentence in front of it ;) 14:29 < eremit> neverless ... 14:53 < eremit> yes basically it is ... but i see the whole sentence as a reflexive description of the sentence in front of it ;) 14:53 < eremit> ups ... sorry 16:35 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 16:52 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 17:37 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 104 (Connection reset by peer)] 18:39 < eremit> Wombert .. i've found the lighttp bug i talked about some days ago 18:39 < eremit> at least i'm able to reproduce ... 18:44 < splatch`> Wombert: are you there? :) 18:46 < splatch`> i found bug 18:46 < splatch`> http://trac.agavi.org/trac.cgi/browser/trunk/src/exception/templates/shiny.php 18:46 < splatch`> lines 84 and 88 18:47 < splatch`> header from 88 should be after if 18:48 < splatch`> back, before 19:24 < eremit> Wombert and found the problem ... :/ looks like a fcgi related bug ... 19:29 < eremit> and apache2 doesnt have it ... f.ck 19:33 < Wombert> what's the problem 19:33 < eremit> if you have an alias defined ... and the alias points to the www of the webapp 19:33 < eremit> all leading pathes are removed ... 19:34 < eremit> server.document-root = "/path/to/project/www" -> works 19:34 < Wombert> is cgi.fix_pathinfo on? 19:34 < eremit> yep 19:34 < eremit> alias.url = ("/testing" => "/path/to/project/www") -> doesn't work 19:35 < eremit> and only it doesnt work if you call localhost/testing/index.php/ 19:35 < eremit> if you call testing/index.php?/ SCRIPT_NAME = testing/index.php 19:35 < eremit> if you call testing/index.php/ -> SCRIPT_NAME = /index.php 19:36 < Wombert> that still looks like a path info problem to me 19:36 < eremit> for me it looks like this one: http://trac.lighttpd.net/trac/wiki/FrequentlyAskedQuestions#Whatkindofenvironmentdoesserver.error-handler-404setup 19:37 < Wombert> is PHP_SELF correct? 19:37 < Wombert> or any other value 19:38 < eremit> ORIG_SCRIPT_FILENAME ^^ 19:38 < eremit> for me it looks like alias is working as a hidden rewrite ... Oo 19:39 < eremit> cgi.fix_pathinfo doesn't affect it at all ... 19:42 < eremit> does agavi need PATH_INFO somewhere ? 19:46 < eremit> ok the problem is the broken-scriptfilename directive in fastcgi.server of lighttp 19:46 < eremit> broken-scriptfn _must_ be set to disable ... to get a proper script_name 19:47 -!- benny`work [n=benny@p54AC39A5.dip0.t-ipconnect.de] has joined #agavi 19:47 < eremit> (something for the docs^^) 19:55 < CIA-1> david * r1090 /trunk/src/exception/templates/shiny.php: header fix 19:55 < Wombert> jake: you there? 19:56 < Wombert> eremit: that happens only with index.php/blah? 19:56 < Wombert> not with rewriting on? 19:56 < eremit> yes ... 19:57 < eremit> the moment i activate the rewrite rules, everything works ... 19:57 < Wombert> and what's the name of that technique 19:57 < eremit> (and that was the reason why i haven't found the bug yet) 19:57 < Wombert> alias? 19:57 < eremit> alias.url ... 19:57 < Wombert> okay 19:57 < eremit> the same as Apache's Alias directive ... 19:58 < Wombert> and the name of the directive? 19:58 < eremit> alias.url ... is the directive 19:59 < Wombert> the other one 19:59 < eremit> ah ... "broken-scriptfilename" => "disable" in fastcgi.server 20:01 < CIA-1> david * r1091 /trunk/docs/docbook/manual.xml: LigHTTPD 'alias.url' info 20:01 < eremit> but we should consider finding a solution about this ... 20:02 < Wombert> any trouble with the forms so far? 20:02 < Wombert> why 20:02 < eremit> because i cannot determine what's the impact of setting this to disable :) 20:02 < Wombert> mmh 20:02 < Wombert> it works 20:02 < Wombert> that's all we need to know :) 20:02 < eremit> their docs are quite short regarding this ... 20:02 < eremit> looks like it completly breaks PATH_INFO ... while being disabled 20:03 < Wombert> hmh 20:03 * Wombert sighs 20:03 * Wombert fires up lighttpd to have a look 20:05 < eremit> that's all i can find about the directive: broken-scriptfilename: breaks SCRIPT_FILENAME in a wat that PHP can extract PATH_INFO from it. 20:05 < eremit> and i'm searching for some time on their website ;) 20:10 < Wombert> I'm afraid I can't reproduce that 20:10 < eremit> uh ? 20:10 < Wombert> alias.url = ( "/testing" => "/Library/WebServer/Documents" ) 20:10 < Wombert> http://127.0.0.1:81/testing/info.php/fubar 20:10 < Wombert> _SERVER["SCRIPT_NAME"] /testing/info.php 20:11 < eremit> lighttp version ? 20:11 < eremit> and mod_fcgi settings ? 20:11 < Wombert> 1.4.11 20:11 < eremit> me too 20:11 < Wombert> fastcgi.server = ( ".php" => 20:11 < Wombert> ( "localhost" => 20:11 < Wombert> ( 20:11 < Wombert> "socket" => "/tmp/php-fastcgi.socket", 20:11 < Wombert> "bin-path" => "/opt/local/bin/php-fcgi" 20:12 < eremit> http://phpfi.com/159508 20:12 < eremit> ^^ my one 20:34 < Wombert> eremit: wanna try one last thing 20:34 < Wombert> how do I permit access to file outside the docroot 20:34 < Wombert> errr 20:34 < Wombert> xDDD 20:34 < Wombert> wait 20:35 < Wombert> okay 20:35 < Wombert> still can't reproduce 20:35 < Wombert> sorry 20:35 < Wombert> edge case 20:35 < Wombert> => wontfix 20:35 < Wombert> or, rather 20:35 < Wombert> "cantfix" 20:35 < Wombert> anyway 20:35 < Wombert> gotta do some shopping 20:35 * Wombert runs 20:46 < splatch`> Wombert 20:47 < splatch`> how to create docs? ;] 20:48 < splatch`> i've error with saxon 8 20:53 -!- stoni [i=sto@64.pool80-103-3.dynamic.uni2.es] has joined #agavi 21:49 -!- stoni [i=sto@64.pool80-103-3.dynamic.uni2.es] has quit [] 21:49 -!- stoni [i=sto@64.pool80-103-3.dynamic.uni2.es] has joined #agavi 21:50 < stoni> hello 21:52 < shoan> i think the routing is broken in the sample app 22:07 < Wombert> shoan: how? 22:08 < shoan> Wombert: try the last link in the sample app 22:11 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:20 < Wombert> shoan: ah 22:20 < shoan> Wombert: are you able to reproduce it or is it just me? 22:20 < Wombert> not a routing problem 22:20 < Wombert> you mean the parameter that doesn't show up? 22:21 < shoan> yes 22:21 < Wombert> that because validation is in "strict" mode 22:22 < Wombert> hmmh 22:22 < Wombert> second issue I run into with the damn validation system today 22:23 < Wombert> ARRRGH 22:23 < Wombert> ffs 22:23 < shoan> ? 22:24 < Wombert> the validation system 22:24 < Wombert> sucks 22:24 < Wombert> big time 22:28 < Wombert> and tainted mode doesn't work either 22:28 < Wombert> dominik is looking into it 22:28 < shoan> ok 22:29 < splatch`> Wombert: you generate agavi manual with docbook? 22:29 < Wombert> yeah 22:29 < Wombert> I use XMLMind XMLEditor 22:29 < Wombert> for editing 22:30 < splatch`> so you don't use xslt processor :) 22:33 < CIA-1> david * r1092 /trunk/src/config/AgaviFactoryConfigHandler.class.php: don't compile in translation manager if core.use_translation is off 23:01 -!- benny`work [n=benny@p54AC39A5.dip0.t-ipconnect.de] has quit ["unset($this);"] 23:05 -!- benny`work [n=benny@p54AC39A5.dip0.t-ipconnect.de] has joined #agavi 23:54 < splatch`> nighy! 23:54 < splatch`> night! --- Day changed Tue Oct 03 2006 00:22 < raidman> night 00:25 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 00:33 -!- stoni [i=sto@64.pool80-103-3.dynamic.uni2.es] has quit [] 01:08 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 01:12 -!- shoan_ [n=shoan@59.92.137.169] has joined #agavi 01:22 -!- shoan [n=shoan@59.92.129.195] has quit [Read error: 110 (Connection timed out)] 02:59 -!- Wombert [n=Wombert@dslb-088-064-014-148.pools.arcor-ip.net] has quit [] 03:29 -!- [1]eremit [n=eremit@p5490FD8D.dip.t-dialin.net] has joined #agavi 03:36 -!- benny`work [n=benny@p54AC39A5.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:46 -!- eremit [n=eremit@p5490FD4E.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:46 -!- [1]eremit is now known as eremit 05:19 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:13 < splatch`> mornin' 09:15 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:15 < raidman> morning 09:17 < splatch`> oi raidman! 09:17 < raidman> :) 10:02 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 10:11 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:12 -!- shoan_ [n=shoan@59.92.137.169] has quit [] 10:17 < v-dogg> splatch`: wombie uses XMLMind for _editing_ 10:17 < splatch`> v-dogg: they told me this :) 10:17 < v-dogg> xslt is used for outputting 10:17 < splatch`> I know 10:17 < v-dogg> there's a phing task for that 10:17 < v-dogg> don 10:17 < splatch`> saxon manual.xml agav-manual-html.xsl 10:17 < v-dogg> 't know if it works anymore, though 10:17 < splatch`> doesn't work 10:18 < v-dogg> why not? 10:18 < splatch`> saxon gives an error 10:18 < splatch`> with no root document etc 11:00 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Remote closed the connection] 11:00 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:03 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:16 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 12:54 -!- Wombert [n=Wombert@dslb-088-064-001-083.pools.arcor-ip.net] has joined #agavi 14:12 -!- Macca` [i=brendanm@maccasoft.com.au] has quit ["Leaving"] 15:14 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 113 (No route to host)] 15:15 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 15:35 -!- armenbb [n=armenbb@62.60.194.3] has joined #agavi 15:38 -!- armenbb [n=armenbb@62.60.194.3] has left #agavi ["Leaving"] 16:06 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 16:38 -!- shoan [n=shoan@61.95.206.107] has quit [] 19:21 < splatch`> Wombert: can I use index from route pattern into module/action attribute? 19:31 < Wombert> splatch`: ? 19:31 < splatch`> Wombert: i have pattern ^/(\w+)-(\w+) 19:31 < splatch`> first index it's module, second it's action 19:32 < Wombert> okay 19:32 < Wombert> I think that's uncool but... why not :) 19:32 < Wombert> in fact 19:32 < Wombert> it's very stupid 19:32 < Wombert> because that's not what the routing was made for 19:32 < Wombert> you can achieve the same using a simple mod_rewrite 19:33 < splatch`> i have routes and i don't need mod_rewrite 19:33 < Wombert> ??? 19:33 < splatch`> that can be also path info 19:33 < splatch`> index.php/module-action 19:36 < splatch`> I don't have to define maany routes for all modules 19:37 < splatch`> because this route will be default 19:37 < splatch`> pattern="^/(module:\w+)/(action:\w+)" 19:37 < splatch`> works fine 20:07 < Wombert> right 20:08 < Wombert> but that still defies the entire purpose of the routing 20:08 < Wombert> you could just as well set up a rewrite rule that does that 20:08 < Wombert> also, you have the ugly index.php in there 20:08 < Wombert> you can't generate routes 20:08 < Wombert> etc etc etc etc 20:08 < Wombert> => stupid 20:11 < splatch`> Wombert: what for, routes exists, sa i'll use that 20:11 < Wombert> ? 20:11 < splatch`> i don't use rewrite rules because routing's good 20:12 < splatch`> if i'll need subroute with rss, i'll made this in one place 20:12 < Wombert> you don't get what I'm saying 20:13 < splatch`> Wombert: routing != nice urls 20:13 < splatch`> Wombert: you saw that :) 20:13 < Wombert> ... 20:13 < Wombert> routing = nice urls 20:13 < Wombert> that's what routing is about 20:13 < Wombert> you're using the routing in the wrong way 20:13 < Wombert> you could just as well NOT use it 20:13 < Wombert> because you're not leveraging it's abilities at all 20:14 < splatch`> Wombert: i can give my user panel to they can edit routes 20:21 < Wombert> splatch`: as you wish, of course 20:21 < Wombert> but please don't write an agavi tutorial where you explain it that way 20:22 < Wombert> because it's not the approach we recommend 20:22 < splatch`> Wombert: i'll give example with rss output type 20:22 < splatch`> and variable set 20:22 < Wombert> 20:22 < Wombert> or maybe even 20:23 < splatch`> Wombert: but i don't understand why that's not recommended, in symfony that's normal usage of routes 20:23 < Wombert> yes 20:23 < Wombert> because symfony is bullshit 20:23 < Wombert> 20:23 < Wombert> 20:23 < Wombert> 20:23 < Wombert> 20:23 < Wombert> 20:26 < splatch`> Wombert: "because symfony is bullshit" and "not recommended" it's not good argument 20:26 < Wombert> yes it is 20:26 < Wombert> their routing approach is totally wrong 20:26 < splatch`> better is "you can use rewrite rule" 20:26 < Wombert> unlike them, we write our own code 20:26 < Wombert> with our own ideas 20:26 < Wombert> they just copy ideas from other frameworks 20:26 < Wombert> which means they also copy the weaknesses of other solutions 20:27 < Wombert> the whole point of our routing is that you have _real_ "nice" URLs that you can also re-generate 20:27 < Wombert> without having to specify module or action in the routes 20:28 < Wombert> just because they do it one way, that doesn't mean it's good :) 20:29 < Wombert> just look at their "ajax actions" 20:29 < Wombert> they are missing the point _entirely_ 20:29 < Wombert> it's utter nonsense, from A to Z 20:29 < splatch`> ajax action = helper 20:29 < Wombert> no 20:29 < Wombert> ajax action = nonsense 20:30 < splatch`> they have "support" for ajax with helpers and ajax triggers 20:31 < splatch`> ajax actions really doesn't exists 20:31 < splatch`> Wombert: true? 20:33 < Wombert> wrong 20:33 < Wombert> they say "ajax actions" 20:33 < Wombert> they have a dedicated concept for handling ACTIONS(!) for ajax requests 20:33 < Wombert> and that's wrong 20:34 < splatch`> ach 20:34 < Wombert> they don't know what they're doing, and they are listening to the demands of stupid newbies instead of telling them to learn PHP _first_ and then come back 20:34 < Wombert> http://www.symfony-project.com/weblog/2006/08/25/heading-towards-symfony-1-0.html 20:34 < Wombert> AJAX actions have no layout by default. This is another long-demanded evolution and it will simplify greatly the design of AJAX interactions - no more view.yml to write, unless you want specifically to decorate the action result. Will you ever need to use the setLayout method? (read the AJAX documentation to learn more). 20:34 < splatch`> Wombert: i'll see 20:34 < Wombert> a) actions don't have layout. never. ever. it's not the job of an action to control presentation 20:34 < splatch`> Wombert: that's terrible thing! 20:35 < Wombert> b) our output types are a better approach to that, because it a) leaves presentation where it belongs and b) it leaves the action open to other types 20:35 < Wombert> of requests 20:35 < splatch`> Wombert: can i translate you sentences and publicate on my blog? 20:35 < Wombert> you can use our action on the web, on the console, on IRC... via a browser, XMLRPC, SOAP, JSON, REST, whatever you like 20:36 < Wombert> no, please don't ;) 20:36 < splatch`> Wombert: about ajax-actions :) 20:36 < Wombert> if I want the world to hear my symfony bashing, I'll write my own blog post 20:36 < Wombert> I don't want to bash symfony. We certainly have the technology to back our complaints, but we do not have the website or documentation for it 20:37 < splatch`> Wombert: ok, i'll wrote my opinion ;) 20:37 < Wombert> before I write a blog posting titled "Why Agavi is better than Symfony/CakePHP/whatever", we need a website, a release and documentation for it 20:37 < Wombert> but do you understand what my problem is with this ajax action stuff? 20:37 < Wombert> it's not clean 20:38 < Wombert> NOTHING in symfony is clean because they added new stuff too quick 20:38 < Wombert> fabien said that to me, too 20:38 < Wombert> he said he wished he hadn't added so many helpers etc because helpers are bad in frameworks 20:38 < Wombert> "setLayout has been added to the action methods. This one has been requested for a long time, under the name "Bring back setLayout!" while it has never been in the trunk... But under the strongest pressure of the community ever, the ability to deactivate or modify layout decoration from the action, and not only from the view.yml, has been added to the framework. Note that the hasLayout() method has not been implemented, replaced by 20:39 < Wombert> another thing 20:39 < splatch`> Wombert: output types are better because they don't need more logic, any changes it's only output, no any logic 20:39 < Wombert> you know the IRC bot, right? 20:39 < Wombert> you cannot do that with symfony 20:40 < Wombert> I saw a posting on the symfony mailing list the other day 20:40 < Wombert> where they talked about SOAP 20:40 < splatch`> soap in symfony, omg! 20:40 < Wombert> their solution was to add a method to a front controller for _all_ methods that are supposed to be callable 20:40 < Wombert> how STUPID 20:40 < splatch`> i don't see that 20:40 < Wombert> and then people reply "THANK YOU THANK YOU PERFECT SOLUTION" 20:40 < Wombert> so essentially, symfony works like this: 20:40 -!- shoan [n=shoan@59.92.137.169] has joined #agavi 20:41 < Wombert> a totally flawed framework is used by totally clueless people 20:41 < Wombert> most of who don't know PHP and aren't told to learn it for their own sake 20:41 < Wombert> then they ask questions 20:41 < Wombert> and other clueless people have wrong answers to the questions 20:41 < Wombert> so even more people are using the framework the wrong way 20:41 < Wombert> nobody benefits from that 20:42 < Wombert> because in 6 months or in a year they'll realize how wrong it was and run into massive problems when they try to add new stuff to their applications etc 20:42 < Wombert> I really wish symfony had a big note on the front page saying "DO NOT USE SYMFONY UNLESS YOU ARE EXPERIENCED IN PHP" 20:42 < Wombert> and I also wish they would finally get their license stuff together 20:42 < shoan> what are we ranting about today? ;) 20:42 < Wombert> guess 20:42 < Wombert> :> 20:43 < Wombert> symfony :> 20:43 < Wombert> it's all in the logs in case you're interested 20:43 < shoan> heh 20:43 < Wombert> the discussion is only 10 minutes old or so 20:43 < shoan> heading right there 20:43 < Wombert> sample app is fixed btw 20:43 < splatch`> Wombert: no discussion 20:43 < shoan> Wombert: cool 20:43 < splatch`> Wombert: I agree 20:43 < Wombert> or, rather, the validator manager now handles tainted mode correctly 20:43 < splatch`> with you 20:43 < Wombert> :) 20:43 < Wombert> you don't have to, remember that 20:43 < Wombert> if you disagree, just say it ;> 20:44 < Wombert> the #1 problem of symfony is 20:44 < Wombert> the legal issues 20:44 < Wombert> they don't get their bloody act together 20:44 < Wombert> even though I reminded fabien of it 20:44 < splatch`> Wombert: soap and ajax actions are very bad idea 20:44 < Wombert> in trunk there's a LICENSE file that says "copyright fabien potencier, licensed under MIT" 20:44 < Wombert> but they bundle propel 20:44 < Wombert> creole 20:44 < Wombert> prototype 20:44 < Wombert> etc 20:44 < Wombert> and these are _not_ MIT 20:45 < splatch`> LGPL 20:45 < Wombert> and they bundle data from ICU 20:45 < Wombert> without a copyright notice 20:45 < Wombert> the funny thing is 20:45 < Wombert> they copied the data from Prado 20:45 < Wombert> all files are identical 20:45 < Wombert> the only file missing is LICENSE.txt 20:46 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 20:46 < splatch`> Wombert: as you say before - php function to insert image is sick :) 20:46 < Wombert> http://trac.pradosoft.com/browser/trunk/framework/I18N/core/data/license.txt 20:47 < Wombert> actually, symfony copied code from agavi 20:47 < Wombert> and agavi is LGPL 20:47 < Wombert> they copied it to a MIT licensed project 20:47 < Wombert> the LGPL doesn't allow that 20:47 < Wombert> but who cares, right? 20:47 < Wombert> all the magazines 20:47 < Wombert> and idiots with blogs etc 20:47 < Wombert> say "mmhmmm use symfony" 20:47 < Wombert> "it's nice" 20:48 < Wombert> I wonder what people would say if someone told them about symfony's I-don't-give-a-shit-about-licenses-and-copyright attitude 20:49 < splatch`> Wombert: Are you've fury? :) 20:49 < Wombert> everything boils down to the point that symfony is, in essence, a totally messed up version of what once was a good framework (mojavi3) with huge license issues and a retarded user base 20:49 < Wombert> nah 20:49 < Wombert> not even close to in a bad mood ;) 20:49 < Wombert> I'm just telling the truth, that's all ;) 20:49 < Wombert> I mean 20:50 < Wombert> this ranting is fun ;) it doesn't make me angry 20:50 < shoan> hmmm....symfony 20:51 < splatch`> Wombert: my designer told me about our plans, they going to made some examples 20:51 < splatch`> and give to rate 20:51 < Wombert> oooh 20:51 < Wombert> that's fantastic news! 20:51 < Wombert> thank you for your effort 20:51 < Wombert> and say big thank you to them, too 20:51 < Wombert> I really, really appreciate your help! 20:52 < splatch`> Wombert: agavi'll the best :) 20:54 < Wombert> I hope so :) 20:54 < splatch`> Wombert: no hope, certainty! 21:00 < raidman> yeah :) 21:07 < raidman> http://forums.programming-designs.com/viewtopic.php?id=599 21:12 < raidman> lol 21:12 < raidman> http://hunkinsexperiments.com/pages/mathematics.htm 21:18 < raidman> http://www.youtube.com/watch?v=VuoljANz4EA&eurl= 21:40 < splatch`> raidman: wow 21:42 < raidman> :) 21:52 < shoan> Wombert: why does the sample app crap out when I disable translation in settings.xml? 21:52 < shoan> shouldn't there be some sort of fall back mechanism? 21:53 < Wombert> shoan: nah 21:54 < Wombert> the sample app uses the translation so... 21:54 < Wombert> imagine an app that uses a database 21:54 < Wombert> and you set use_database to false ;) 21:54 < Wombert> that wouldn't work either 21:54 < Wombert> basically, routing and security are the only things you can disable without breaking anything 21:54 < shoan> agreed :) 21:57 < splatch`> http://blog.dywicki.pl/2006/10/03/zend-framework-and-others/ 21:57 < splatch`> why don't clone ZF 21:57 < splatch`> and why ZF will relased :) 21:58 < splatch`> you saw people who write own framework based on ZF structure? 22:07 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit [Read error: 104 (Connection reset by peer)] 22:10 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:30 -!- benny`work [n=benny@p54AC3A3C.dip0.t-ipconnect.de] has joined #agavi 22:56 < v-dogg> Wombert: did you write to that symfony guy about their license issues? 22:56 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 22:59 < impl> What's wrong with them? 23:00 < v-dogg> at some point symfony was public domain 23:00 < v-dogg> but for example mojavi is lgpl 23:00 < impl> ah 23:00 < v-dogg> and they have taken code from several projects 23:05 < Wombert> they got permission from feti 23:05 < Wombert> and yes 23:05 < Wombert> I told fabien about the missing license.txt just the other day 23:05 < Wombert> he said something like "yeah I know but I'm working on my own parser for the ICU data anyway" 23:06 < Wombert> symfony still _is_ MIT licensed 23:06 < Wombert> the one license file there leads to believe that 23:06 < Wombert> a) propel is a symfony thing 23:06 < Wombert> b) propel is MIT, too 23:06 < Wombert> same for the other stuff bundled 23:23 < splatch`> Wombert: you continue symfony thread? :) 23:23 < Wombert> nah, just replying to v-dogg's question 23:50 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi 23:55 < toby_swe> hi 23:55 < Wombert> hi toby_swe 23:56 < toby_swe> which one of phptal and smarty would be the best in terms of rendering times and overhead load? 23:56 < Wombert> smarty I guess 23:56 < impl> Neither :( 23:56 < Wombert> yeah 23:57 < Wombert> but I guess that's not quite the answer he wanted to hear ;) 23:57 < impl> No one likes the radical ideas of the grand impl! :P 23:57 < Wombert> phptal is a nice idea but I found it way too annoying 23:57 < toby_swe> so what's the "real" answer? 23:57 < Wombert> use PHP :) 23:58 < impl> http://phptal.motion-twin.com/introduction.html 23:58 < impl> I even prefer the PHP method there 23:58 < toby_swe> that was my guess 23:58 < Wombert> 23:58 < Wombert> there's a 23:58 < Wombert> 23:58 < Wombert> missing there 23:58 < impl> :P 23:58 < Wombert> with the alternative syntax, templates become a bit less ugly --- Day changed Wed Oct 04 2006 00:31 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 01:11 -!- shoan_ [n=shoan@59.92.138.83] has joined #agavi 01:22 -!- shoan [n=shoan@59.92.137.169] has quit [Read error: 110 (Connection timed out)] 01:25 < Wombert> mmmh 01:25 < Wombert> native speakers 01:25 < Wombert> let's see 01:25 < Wombert> back there in the last row, the guy that's playing with his balls 01:25 < Wombert> isn't his name "impl" 01:25 < Wombert> :>>> 01:25 < Wombert> is it "use autoloading", "use autoload" or "use autoloads"? 01:25 * Wombert smacks impl 01:26 < impl> Ow ow ow 01:26 < impl> Give me the context of the phrase, please 01:26 < Wombert> uhm 01:26 < Wombert> propel.useAutoloading = true 01:26 < Wombert> in build.properties 01:26 < Wombert> is that okay? 01:26 < Wombert> useAutoloads 01:26 < Wombert> ? 01:26 < impl> I'd say useAutoload 01:26 * Wombert scratches head 01:26 < impl> If the function is called autoload 01:27 < Wombert> it's referring to the procedure of autoloading methods 01:27 < Wombert> err 01:27 < Wombert> classes 01:27 < Wombert> not the function 01:27 < impl> Hmmmmm 01:27 < Wombert> the function is called autoload because... autoload($class) :D 01:27 < impl> I guess useAutoloading is good, then 01:27 < Wombert> okay <: 02:13 -!- Fastly [n=fafsa@81-178-107-126.dsl.pipex.com] has quit [Nick collision from services.] 02:14 -!- Fast [n=fafsa@81-178-107-126.dsl.pipex.com] has joined #agavi 03:30 -!- [1]eremit [n=eremit@p5490FDB0.dip.t-dialin.net] has joined #agavi 03:39 -!- benny`work [n=benny@p54AC3A3C.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:47 -!- eremit [n=eremit@p5490FD8D.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:47 -!- [1]eremit is now known as eremit 04:16 < Wombert> splatch`: are you there? :> 05:15 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 05:34 -!- Wombert [n=Wombert@dslb-088-064-001-083.pools.arcor-ip.net] has quit [] 05:34 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: CIA-1, splatch` 05:35 -!- Netsplit over, joins: splatch`, CIA-1 05:50 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 07:15 < shoan_> is $ phing manual-html broken? 07:15 -!- shoan_ is now known as shoan 07:59 < v-dogg> shoan: there was some problem with it. haven't had time to fix it 08:15 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:39 < shoan> v-dogg: ok 09:01 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 09:17 -!- sho[a]n [n=shoan@59.92.138.83] has joined #agavi 09:22 < splatch`> hello 09:33 -!- shoan [n=shoan@59.92.138.83] has quit [Read error: 60 (Operation timed out)] 09:33 -!- shoan [n=shoan@59.92.132.17] has joined #agavi 09:48 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:48 -!- sho[a]n [n=shoan@59.92.138.83] has quit [Read error: 110 (Connection timed out)] 09:50 -!- sho[a]n [n=shoan@59.92.132.17] has joined #agavi 09:50 -!- shoan_ [n=shoan@59.92.132.17] has joined #agavi 09:50 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 09:54 -!- shoan [n=shoan@59.92.132.17] has quit [Read error: 145 (Connection timed out)] 09:55 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 10:18 < sho[a]n> what are renderer extensions? the template's file extension? 10:33 < ttj> Most likely. 10:37 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has joined #agavi 13:55 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Remote closed the connection] 14:20 -!- Wombert [n=Wombert@dslb-088-064-003-053.pools.arcor-ip.net] has joined #agavi 14:20 < shoan_> wombieeeeeee 14:26 < splatch`> hello Wombert, I'm here :) 14:50 -!- toby_swe [n=Miranda@PB111.EBC.UU.SE] has joined #agavi 15:01 < Wombert> :) 15:01 < Wombert> I forgot it :( 15:02 < splatch`> Wombert: 03:16:32 < Wombert> splatch`: are you there? :> 15:03 < Wombert> yes I know 15:03 < Wombert> but as I said 15:03 < Wombert> I forgot :) 15:35 -!- toby_swe [n=Miranda@PB111.EBC.UU.SE] has quit [Read error: 104 (Connection reset by peer)] 16:30 < Wombert> splatch`: that wasn't it, but... I'll apply and commit your propel patch later :) 16:31 < splatch`> not only me :) 16:31 < Wombert> ? 17:04 < splatch`> Wombert: the idea it's other man 17:05 < splatch`> I only extend builder 17:07 < Wombert> ah 17:07 < Wombert> okay :) 18:44 -!- sho[a]n [n=shoan@59.92.132.17] has quit [Read error: 60 (Operation timed out)] 18:53 -!- shoan_ [n=shoan@59.92.132.17] has quit [Read error: 110 (Connection timed out)] 18:54 -!- shoan_ [n=shoan@59.92.132.47] has joined #agavi 19:49 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:02 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Read error: 110 (Connection timed out)] 20:20 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 21:21 < splatch`> Wombert: today, at night will be an logo 21:21 < splatch`> or design 21:21 < Wombert> oO 21:21 < Wombert> really? 21:21 < Wombert> wow 21:21 < splatch`> minds draft 21:21 < Wombert> awesome! 21:21 < Wombert> I recently had another idea 21:21 < Wombert> if we have a logo in vector format 21:22 < Wombert> we can't only print that on paper 21:22 < Wombert> but also on cups 21:22 < Wombert> or t-shirts :) 21:23 < splatch`> we wanna Agavi t-shirts! :) 21:23 < Wombert> :) 21:24 < splatch`> Wombert: we'll got jug/mug? :) 21:25 < Wombert> http://www.cafepress.com/cakefoundation 21:25 < Wombert> once we have a final logo, I could create some of these, too 21:25 < Wombert> they aren't expensive, so we could have some competitions every now and then and award tshirts etc to the winners 21:26 < Wombert> or send a cap as a thank you to documentation contributors etc 21:26 < splatch`> cool :) 21:32 < splatch`> Wombert: all requests uses only execute read/write methods? 21:32 < Wombert> no 21:32 < Wombert> you are free to define the request methods 21:33 < Wombert> WebRequest maps GET to "read" and POST to "write" 21:33 < Wombert> you could extend that to map PUT to "store" and DELETE to "remove" or so 21:33 < Wombert> the basic idea is that you do not have GET and POST on the console or so 21:33 < Wombert> and that SOAP is always POST 21:36 < ttj> Yay! I'll certainly buy an Agavi coffee mug. :P 22:16 < splatch`> Can I define groups and roles in other place than XML? 22:38 < Wombert> splatch`: of course 22:38 < Wombert> extend the rbac user and overwrite loadDefintions() 22:42 -!- benny`work [n=benny@p54AC3B94.dip0.t-ipconnect.de] has joined #agavi 22:52 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 23:41 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 23:46 < splatch`> Wombert! 23:46 < splatch`> http://kazek.pl/agavi1.png 23:54 < splatch`> all people 23:54 < splatch`> rate the design :) 23:55 < impl> Cool 23:55 < impl> I like it 23:55 < impl> I presume the little indent arrows in the navigation will only show on hover? 23:56 < splatch`> impl: moment, i'm asin' 23:56 < splatch`> yes 23:57 < impl> Alright 23:57 < impl> and the design will expand to the full width of the browser? 23:59 < splatch`> impl: no, they've constant width --- Day changed Thu Oct 05 2006 00:00 * impl suggests making it variable width 00:01 < splatch`> impl: top will expand 00:01 < splatch`> but the body will not expanded 00:01 < impl> Ah, I only suggest making the body variable because it looks a bit squished on my resolution 00:01 < impl> I'm at 1680x1050 though 00:01 < impl> so I'm sort of an exception to the rule ;) 00:02 < splatch`> impl: my friend works with this resolution :) 00:07 < splatch`> impl: they'll check :) 00:08 < splatch`> where's Womert.. ;) 00:08 < impl> :D cool 00:13 < splatch`> http://kazek.pl/agavi2.png 00:13 < splatch`> http://kazek.pl/agavi2.png 00:13 < splatch`> oops :) 00:14 < splatch`> little fix with background 00:15 < impl> Cute :D 00:17 < splatch`> :) 00:17 < splatch`> cake's ugly ;) 00:20 < splatch`> aaargh, where's Womber 00:20 < splatch`> they always gone, wheen i need him! ;) 00:22 * impl prods Wombert with a spoon 00:24 < splatch`> impl: you're so brute! ;) 00:25 < impl> :x 00:25 * splatch` kicks Wombert in ankle 00:32 < splatch`> @shwr 00:48 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 00:56 < splatch`> wooombert ;) 00:57 < splatch`> i'm have go sleep 00:58 < splatch`> Wombert: if you'll had any ideas, questions etc, just write to me here or on priv 01:02 < splatch`> http://agavi.de/ 01:02 < splatch`> oO 01:03 < splatch`> Day changed to 05 Oct 2006 01:03 < splatch`> night! 02:23 -!- benny`work [n=benny@p54AC3B94.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:06 < Wombert> splatch`: schweet! 03:07 < Wombert> impl: running the same resolution here 03:07 < Wombert> there's nothing like a widescreen tft :) 03:07 < Wombert> dell 2007, very nice 03:07 < Wombert> I dig the design 03:07 < Wombert> now all we need is a logo :> 03:08 < impl> :D 03:09 < Wombert> mmmh 03:09 < Wombert> I have a nice idea there already 03:09 < Wombert> see, the default design would be like that 03:09 < Wombert> BUT 03:09 < Wombert> you have a link at the top right 03:09 < Wombert> to "swap" top and bottom 03:09 < Wombert> then, the plant would grow from the bottom 03:09 < Wombert> and the orange bar would sit at the bottom, too, with the grass on top 03:09 < Wombert> and "agavi.org" would be inverted, orange on white background 03:12 < Wombert> the only thing I don't like is the menu 03:12 < Wombert> because it's sitting below the text 03:12 < Wombert> that doesn't make much sense 03:12 < Wombert> but the rest... excellent 03:28 -!- [1]eremit [n=eremit@p5490FDF8.dip.t-dialin.net] has joined #agavi 03:47 -!- eremit [n=eremit@p5490FDB0.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:47 -!- [1]eremit is now known as eremit 05:00 -!- eremit [n=eremit@p5490FDF8.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:23 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:41 -!- eremit [n=eremit@p5490C902.dip.t-dialin.net] has joined #agavi 06:52 -!- sho[a]n [n=shoan@59.92.132.47] has joined #agavi 06:52 < sho[a]n> huomenta 06:53 < sho[a]n> morning 06:57 < Wombert> hi sho[a]n 06:58 < Wombert> http://kazek.pl/agavi1.png 06:58 < Wombert> http://kazek.pl/agavi2.png 06:58 < Wombert> :) 06:59 < Wombert> I love it 07:00 < Wombert> this bottom-up thing is brilliant 07:00 < Wombert> I guess we have to put something like "Agavi - Defeat Gravity" or so into the :) 07:00 < Wombert> obviously, the logo isn't there yet 07:00 < sho[a]n> :) 07:00 < Wombert> the only thing I don't like about the draft is the menu 07:00 < Wombert> it's in the totally wrong place ;) 07:01 < Wombert> has to go up into the orange bar 07:01 < sho[a]n> yeah 07:01 < Wombert> agavi2.png is nicer, too 07:01 < Wombert> but 07:01 < sho[a]n> I like the clouds :) 07:01 < Wombert> we should do without the sky and the clouds 07:01 < Wombert> oh 07:01 < Wombert> hmmh 07:01 < sho[a]n> i think the white is too plain 07:01 < Wombert> yeah you might be right 07:01 < Wombert> hmmh 07:02 < sho[a]n> the clouds add to the "defeat gravity" ;) 07:02 < Wombert> I was thinking the opposite xD 07:02 < Wombert> but 07:02 < Wombert> I guess you're right 07:02 < sho[a]n> take a poll later :) 07:02 < Wombert> however, it wouldn't be that easy regarding transparency etc 07:02 < Wombert> yeah, will do 07:02 < Wombert> I'm still up, waiting for splatch` to arrive so I can give him my feedback 07:03 < Wombert> this small label next to the boxes is ultra cool 07:03 < Wombert> I hope they can do a ? and a (i) version of it, too 07:03 < Wombert> we could then use the orange box that currently holds the menu and use it to announce very important things 07:04 < sho[a]n> good point 07:04 < Wombert> such as security updates, should we ever need em 07:04 < Wombert> and 07:04 < Wombert> I had another idea :) 07:04 < Wombert> a little button in the top right 07:04 < Wombert> labeled "I am boring" or so 07:04 < Wombert> and then 07:04 < Wombert> flipppppp 07:04 < Wombert> the orange bar, the grass and the flowers jump to the bottom 07:04 < Wombert> in the right order 07:04 < sho[a]n> :) 07:04 < Wombert> only the small bright orange bar and the menu stay on top, and the logo has inverted colors (orange on white) 07:05 < Wombert> that'll be coooool 07:05 < sho[a]n> i wonder how that would materialise. 07:05 < Wombert> it's easy to do 07:05 < Wombert> just a bit of css 07:05 < Wombert> hmmmh 07:06 < Wombert> we could make the background image fixed 07:06 < Wombert> the clouds 07:06 < Wombert> so they don't scroll away 07:06 < Wombert> and then just use PNG images 07:06 < Wombert> screw IE 07:06 < sho[a]n> lol 07:06 < Wombert> IE7 handles it properly anyway 07:06 < Wombert> nah seriously 07:06 < Wombert> show me a programmer that surfs the web with ie6 07:07 < Wombert> especially once ie7 is out 07:07 < Wombert> I couldn't care less, really 07:07 < Wombert> don't you agree? 07:07 < Wombert> I mean... should we care about ie6 users? 07:07 < sho[a]n> i dumped IE years ago 07:07 < Wombert> see 07:07 < sho[a]n> no we shouldn't 07:08 < Wombert> if we were selling uhm... viagra? 07:08 < Wombert> we would have to care about that 90% market share ie6 has 07:08 < Wombert> but since we're not selling viagra 07:08 < Wombert> because we have no business model at all xD 07:08 < sho[a]n> considering that its viagra, it would sell anyways :p 07:08 < Wombert> we can ignore it 07:08 < Wombert> hmh true 07:08 < Wombert> bad example ^^ 07:08 < sho[a]n> hehe 07:09 < Wombert> are you using propel? 07:09 < sho[a]n> yes 07:09 < Wombert> good 07:09 < Wombert> you'll be excited to hear 07:09 < Wombert> that I'm done with that autoloading conversion 07:09 < Wombert> so it doesn't use a single _once include anymore 07:09 < Wombert> and everything is autoloaded on the fly 07:09 < sho[a]n> wow 07:10 < sho[a]n> awesome :) 07:10 < Wombert> the bookstore-test, which doesn't have many reads, is 25% faster 07:10 < sho[a]n> when is that going into svn? 07:10 < Wombert> I expect "normal" applications to be much, much faster 07:10 < Wombert> as soon as I did some more tests 07:10 < Wombert> gonna go into the 1.3 branch 07:10 < Wombert> AND 07:10 < sho[a]n> how do you test speeds? 07:10 < Wombert> right now I only use the test script bundled which shows me the total time after finish 07:11 < sho[a]n> ok 07:11 < sho[a]n> and? 07:11 < Wombert> 870ms vs 1270ms 07:11 < Wombert> 32% faster 07:11 < Wombert> but as I said 07:12 < Wombert> it's not a realistic use case 07:12 < Wombert> real world apps should be MUCH faster 07:12 < Wombert> and if you use an opcode cache 07:12 < Wombert> it's gonna be _even_ faster 07:12 < Wombert> because previously, _once includes weren't cached 07:12 < Wombert> AND 07:12 < Wombert> a friend of splatch` had the idea to patch the doSelectJoin stuff 07:12 < Wombert> so it uses a hash map to remember associations 07:12 < Wombert> that'll boost performance again 07:13 < Wombert> and I had the idea to let PDO hydrate() the rows instead of doing it by hand 07:13 < sho[a]n> how does that work? 07:13 < Wombert> you tell propel the class name 07:13 < sho[a]n> i mean the doSelectJoin 07:13 < Wombert> and then it creates an instance 07:14 < Wombert> good question, can't remember exactly 07:14 < Wombert> and I can't find the patch right now 07:14 -!- shoan_ is now known as shoan 07:15 < Wombert> ah 07:15 < Wombert> here it is 07:15 < Wombert> http://pastebin.ca/191627 07:53 < sho[a]n> how do you include include third party libs(propel/adodb/smarty/foo) in your agavi project? 07:55 < jake> require_once ? 07:55 < jake> Or are you specifically asking about renderers and data access? 08:00 < sho[a]n> jake: I was asking more about how where you would place the files? 09:10 -!- raidman [n=raidman@62.60.194.3] has joined #agavi 09:10 < raidman> morning 09:12 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 09:13 < splatch`> Wombert 09:14 < sho[a]n> splatch`: Wombert was waiting for you to give you feedback on the design 09:14 -!- shoan_ [n=shoan@59.92.132.47] has joined #agavi 09:14 < sho[a]n> looks like he snoozed off :) 09:14 < splatch`> like i yesterday :) 09:14 < splatch`> i have logs 09:15 < splatch`> goto 00:00 09:16 < digitarald> Morning fellows ... 09:16 < sho[a]n> morning digitarald 09:18 < splatch`> i forgot - hello all :) 09:19 < digitarald> uh ... where are tango icons in agavi ... the sample app? 09:20 < digitarald> ah, i see ... the exceptions ... 09:21 < splatch`> in svg :] 09:27 < raidman> who knows about locks in request parameters? 09:31 -!- shoan [n=shoan@59.92.132.47] has quit [Read error: 110 (Connection timed out)] 09:32 -!- shoan_ [n=shoan@59.92.132.47] has quit [] 09:33 < eremit> morning .. 09:33 < splatch`> Where are from Wombert? 09:33 < eremit> what's your problem with the locks raidman ? 09:34 < splatch`> Where are Wombert from? 09:34 < raidman> eremit: I just want more about idea thit it based on 09:34 < raidman> why we need that and so 09:36 < raidman> you know I nkow we can lock parameter to log set and get 09:36 < raidman> lock* 09:37 < raidman> what can I do with it in real world app? 09:37 < eremit> i think wombert basic idea was to prevent tampering parameters ... 09:37 < eremit> and afaik the parameters are always locked ... except during validation ... 09:38 < raidman> so after validation it unlocked automaticaly? 09:38 < eremit> no ... 09:38 < eremit> it unlocked before validation and locked again afterwards 09:39 < raidman> When I need those I shoul unlock by hand, right? 09:39 < eremit> afaik you are not able to unlock them ... 09:40 < eremit> you should use the parameters parsed into the method execute ... 09:40 < eremit> there was a heavy discussion about this some time ago ... 09:40 < raidman> okey, thanks I'll take a look at logs 09:40 < eremit> it was in august ... 09:41 < raidman> okey 09:41 < eremit> started with me asking about how to unlock the parameters ... 09:41 < eremit> ;) 09:41 < raidman> heh :) 09:48 -!- raidman [n=raidman@unaffiliated/raidman] has left #agavi [] 09:48 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:11 -!- Wombert [n=Wombert@dslb-088-064-003-053.pools.arcor-ip.net] has quit [Nick collision from services.] 10:11 -!- Wombert [n=Wombert@dslb-088-064-020-113.pools.arcor-ip.net] has joined #agavi 10:48 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 10:49 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:55 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 10:58 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 10:58 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:11 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has joined #agavi 11:29 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:39 < raidman> What OS you are using guys? 11:40 < eremit> Servers: Ubuntu (most), Debian, Gentoo ... Development Desktop: Windows/Ubuntu (about 50/50) 11:43 < raidman> 2 years ago I moved any thing hangs on Windows to Libranet 11:44 < raidman> now I using a distro based on Debian sid 11:44 < raidman> :) 11:44 < shoan> gentoo and os x 11:44 < raidman> for desktop, you know :) 11:45 < raidman> shoan, I'll take a look at Gentoo 11:45 < shoan> raidman: let me know if you need help with it 11:45 < raidman> shoan, okey, thanks 11:46 < eremit> ^^ yeah ... if ya need gentoo help at least EleRas and me can help too 11:47 < raidman> :) 12:19 < raidman> hmm, a couple of months ago Wombert said about a method for handling Components that a guy works on it, I don't remember that, I can't find in in log :( 13:35 < Wombert> re 13:36 < Wombert> splatch`: I'm from Munich, Germany 13:36 < Wombert> raidman: Mac OS X 10.4.8 Tiger <: 13:36 < splatch`> Wombert: in poland we have 13:36 13:36 < splatch`> *12:36 13:36 < splatch`> Wombert: what's time in Munich? 13:36 < Wombert> 12:36 here, yeah 13:36 < Wombert> I snoozed off, I worked until 8am 13:36 < raidman> Wombert, hmm OS X 13:36 < Wombert> on propel :) 13:37 < Wombert> splatch`: I love the design 13:37 < raidman> may be I try it in qemu 13:37 < Wombert> I think we take the agavi2.png version 13:37 < splatch`> Wombert: i'm also :) 13:37 < raidman> what design, agavi logo? 13:37 < Wombert> I even started on a bit of the XHTML for it :) 13:38 < Wombert> http://kazek.pl/agavi1.png 13:38 < splatch`> Wombert: I pasted nightly log my friend 13:38 < Wombert> http://kazek.pl/agavi2.png 13:38 < Wombert> splatch`: I'll write an email with a list of things, okay? 13:38 < Wombert> I'll do it immediately 13:38 < splatch`> Wombert: please :) 13:38 < Wombert> say big thank you to the designers already, awesome job 13:38 < Wombert> will they also create a logo? 13:38 < Wombert> oh nevermind, let me quickly write that email :> 13:38 < splatch`> yep 13:39 < Wombert> what's the designers name? 13:39 < splatch`> Darek 13:39 < splatch`> you can use also kazek 13:39 < splatch`> that's he nick 13:39 < raidman> perfect 13:40 < Wombert> yep 13:40 < raidman> but I don't like that blue background 13:41 < raidman> but I like agavi2.png 13:41 < raidman> :) 13:41 < raidman> what you think Wombie? 13:41 < Wombert> hmm 13:41 < Wombert> I wasn't sure about the background first, either 13:41 < Wombert> let me quickly write the email 13:41 < Wombert> I'll then paste it 13:41 < Wombert> my thoughts and ideas are in there 13:42 < Wombert> the only thing I don't like is the menu 13:42 < Wombert> it's in the wrong place ;) 13:42 < Wombert> the rest is perfect 13:42 < Wombert> I have two ideas to make the design "interactive", too 13:43 < raidman> I want to do one thing (at least) for agavi, If you want I can make it XHTML/CSS2 for you 13:43 < raidman> it will be valid XHRML/CSS2 btw 13:44 < Wombert> oO actually, I started on that already ;) 13:44 < raidman> oh :) 13:44 < Wombert> at least I did the basic structure ^^ 13:45 < Wombert> let's wait for the design to be final and then we can talk about it 13:45 < Wombert> thanks for your offer! 13:45 < raidman> okey :) 13:49 < splatch`> hehe, new design, new power :) 13:49 < splatch`> new logo, double power! 13:50 < Wombert> HOLY 13:50 < Wombert> CRAP 13:50 < Wombert> WOOOOOOOOOOOT 13:50 < Wombert> HEAVEN 13:50 < Wombert> AHAHAH 13:50 < Wombert> :> 13:51 * Wombert goes download the new LOST episode 13:53 < splatch`> Wombert: wrote mail first! ;))) 13:54 < Wombert> yep 13:54 < Wombert> sure 13:54 < Wombert> I'm almost done :) 13:54 < Wombert> I gotta download the episode first anyway 13:54 < Wombert> mmmh can't wait 13:54 < Wombert> llloost 14:02 < digitarald> imho ... i like agavi2 14:02 < digitarald> ;) 14:02 < Wombert> http://pastebin.ca/191777 14:03 < Wombert> I am amazed 14:03 < Wombert> to see a designer to such a good work 14:03 < Wombert> he knows the web 14:03 < Wombert> he knows how to do it 14:03 < Wombert> I have worked with tons of designers 14:03 < Wombert> and he is the first one where the different places where orange is used actually use the exactly same color 14:03 < Wombert> stuff like that makes me happy, I swear 14:04 < Wombert> now we just need a simple (!) logo, and we're done :) 14:04 < Wombert> splatch`: it doesn't have to be a great logo! it doesn't even have to be a symbol or so 14:04 < Wombert> just a nice "Agavi" lettering or something might be sufficient, too 14:04 < digitarald> some of the requested feature are ... maybe overkill? ;) 14:04 < Wombert> I don't know what the others think!? 14:04 < Wombert> digitarald: what requested features? 14:04 < Wombert> I'll implement them myself :) 14:04 < digitarald> the weather for example ;) 14:05 < Wombert> I just wanted to ask them if it's okay if I do that 14:05 < digitarald> i don't mean overkill for the designer, overkill for the user ;) 14:05 < Wombert> splatch`: was that understandable? points 1) 2) and 3), I'll do them, if the designer agrees 14:05 < Wombert> no need for him to do anything in that regard :> 14:05 < digitarald> i dont think that javascript/template stuff can show the power of agavi 14:06 < Wombert> digitarald: it's always nice if you have something simple to play with 14:06 < Wombert> and we gotta leverage this top-down idea 14:06 < Wombert> it's brilliant 14:06 < Wombert> we can use it to show HOW different agavi is 14:06 < Wombert> it's so cool it puts the world on it's head 14:06 < Wombert> you know? :) 14:07 < Wombert> it's not about the javascript or the effect 14:07 < Wombert> it's about the _idea_ 14:07 < digitarald> ok ... the gravity thing is cool 14:07 < Wombert> see, and then there's a "just in case you prefer things the normal way" 14:07 < Wombert> you click it 14:07 < Wombert> everything flips down 14:07 < digitarald> why not switch the content from left to right or something else ... 14:07 < Wombert> a popup appears and says "sure, why not? agavi doesn't lock you in. you do things the way _you_ like." 14:08 < Wombert> nah, it's good like this 14:08 < Wombert> the page, like this, sits on the left side of the browser 14:08 < Wombert> that's okay 14:08 < Wombert> right aligned content is always a bit uncool 14:08 < digitarald> not a real switch ... interactive 14:08 < Wombert> also it's a bit more difficult to implement CSS_wise etc 14:08 < Wombert> and it's harder on the eyes 14:08 < Wombert> splatch`: did you understand the email? :) 14:09 < Wombert> I'll go have a shower 14:09 < digitarald> i'm missing a footer 14:09 < digitarald> ... i'm going for hunting my foot ... 14:09 < digitarald> :D ... my english is so great today ... 14:11 < digitarald> btw. the logo could have more detail ... now its just a typo, nothing to remember 14:18 < splatch`> Wombert: yes 14:19 < splatch`> Wombert: i read it 14:19 < splatch`> one moment before 14:22 < splatch`> Wombert: kazek'll read :) 14:25 < Wombert> digitarald: the logo? 14:25 < Wombert> you mean "Agavi.org"? 14:26 < Wombert> I don't think that's the final logo :) just a placeholder 14:26 < Wombert> or is it the logo already, splatch` ? 14:26 < splatch`> Wombert: I don't think :] 14:26 < Wombert> nice :) 14:26 < Wombert> digitarald: I guess a logo wouldn't have ".org" in it, either ;) 14:27 < digitarald> ... why not, i think there are many logos out there with .org in it :) 14:28 < Wombert> yes, but our name is "Agavi", not "Agavi.org" ;) 14:29 < splatch`> Wombert: THAT ISN'T LOGO, i'll never put thats gypsy slab 14:29 < Wombert> yep I know :) 14:29 < splatch`> Wombert: that's kazek's words :] 14:29 < Wombert> haha 14:29 < Wombert> :> 14:29 < Wombert> I forgot to mention this in the email 14:29 < Wombert> and I really mean this 14:29 < Wombert> tell him he's a very talented man 14:30 < splatch`> yes, they're 14:30 -!- sho[a]n_ [n=shoan@59.92.137.176] has joined #agavi 14:31 < Wombert> btw, of course there will be a "logo and design by kazek.pl" note at the bottom of the page 14:31 < Wombert> just in case you were wondering ;) 14:31 < digitarald> was there a agavi.com address some time ago? found some old email-signature-links 14:32 < Wombert> not sure 14:34 -!- sho[a]n [n=shoan@59.92.132.47] has quit [Read error: 145 (Connection timed out)] 14:36 < Wombert> splatch`: I now implemented autoloading in propel 14:36 < Wombert> which means I can look at your patch next 14:37 < splatch`> super 14:38 < digitarald> autoload in propel means a step closer to a better propel-integration in agavi ... :) ... is there a known release date for propel 1.3? 14:39 < Wombert> no 14:39 < Wombert> still some time away I guess 14:39 < Wombert> it now uses PDO internally 14:39 < Wombert> that means we need loads of testing 14:39 < digitarald> pdo ... no longer creole 14:39 < Wombert> for the runtime, yes 14:39 < Wombert> a lot faster 14:40 < Wombert> I'll experiment with a new hydration approach later that should speed up things even more 14:40 < Wombert> and then, after I also have splatch`'s patch committed, do some benchmarks and post them 14:40 < Wombert> with autoloading and PDO, 1.3 is already TWICE as fast as 1.2 for generator/tests/bookstore-test.php 14:41 < Wombert> (with APC. without APC, it's about 25 to 30% faster) 14:41 < Wombert> remember that this test loads VERY few files 14:41 < Wombert> has VERY few inclues 14:41 < Wombert> and a lot of write operations 14:41 < Wombert> i.e. real world speedups should be even higher 14:48 < splatch`> Wombert: you changed my code? 14:48 < splatch`> Do you? 14:55 < Wombert> splatch`: not yet 14:55 < Wombert> haven't looked at it much so far 14:55 < splatch`> they have bug 14:55 < splatch`> with primary key 14:55 < Wombert> but I'll have to modify it, yes, so it is compatible with the latest changes to 1.3 14:55 < Wombert> oh 14:56 < splatch`> $obj->getPrimaryKey() 14:56 < Wombert> can you send me a new version or so= :) 14:56 < splatch`> and this's index 14:56 < splatch`> in hash map 14:56 < splatch`> should be implode or sth for values 14:56 < splatch`> next - objects can return hashCode in 2.0 14:57 < splatch`> hash generated from PK 14:57 < splatch`> with crc32 function 14:57 < splatch`> they're a very fast 15:03 < splatch`> and integer indexes faster much more than strings 16:24 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 16:30 -!- raidman [n=raidman@62.60.194.3] has joined #agavi 17:11 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:12 < digitarald> my 2cent for the logo ... had too much time during coffee break ;) 17:12 < digitarald> http://show.digitarald.de/agavi.png 17:13 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 18:04 -!- benny`work [n=benny@p54AC3B1E.dip0.t-ipconnect.de] has joined #agavi 18:44 -!- digitarald| [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 19:48 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 19:57 < digitarald> anybody here? 19:58 < digitarald> Wombert: is it possible to create tickets in the agavi trac? 19:59 < raidman> I'm 19:59 < raidman> digitarald, no you can't 19:59 < digitarald> i have a ticket, a problem from a lead developer ... a friend of mine. 20:00 < raidman> anonymous users can't create ticket in agavi trac 20:00 < digitarald> he have a patch for his problem 20:00 < raidman> digitarald, you can drop it here, Wombert will be read it later 20:00 < raidman> oh 20:01 < raidman> so paste patch in pastebin and drop link here 20:01 < raidman> If you don't have Wombert's email address :) 20:05 < digitarald> ok 20:05 < digitarald> womberts email address is all over the net ;) 20:05 < raidman> heh :) 20:06 < raidman> beb 20:08 < digitarald> Ok. patch for setting the charset for the database connection via parameter. http://pastebin.ca/192066 20:11 -!- digitarald| [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 20:11 < digitarald> and here for propel: http://pastebin.ca/192075 20:15 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 20:15 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 20:15 -!- raidman_ is now known as raidman 20:21 -!- shoan [n=shoan@59.92.137.176] has joined #agavi 20:55 < Wombert> re 20:56 < raidman> wb 21:06 < sho[a]n_> is the creole task broken in propel 1.3? 21:06 < sho[a]n_> i get 21:06 < sho[a]n_> Fatal error: Class 'PDO' not found in /home/shoan/public_html/projects/oda/third_party/propel/generator/classes/propel/engine/database/model/PropelTypes.php on line 179 21:18 < sho[a]n_> nvm...looks like I forgot to compile pdo into php 21:31 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 22:15 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:16 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:20 < raidman> hi impl 22:20 < impl> Afternoon 22:20 < raidman> you know who is nf? 22:20 < impl> nf is me 22:20 < raidman> so I was right :) 22:20 < impl> I don't ever check that client though 22:21 < raidman> but it dosn't in #mojavi any more 22:21 < impl> Oh, the box rebooted and I just forgot to rejoin 22:22 < impl> There we go :P 22:22 < raidman> okey you'r welcome to mojavi :) 22:46 < digitarald> there is an #mojavi channel ... even the channel is dead after the website disappeared ... sad 22:47 < raidman> no channel still is alive :) 22:48 < raidman> I'm in there and impl (nf) 22:48 < impl> :P 22:48 < digitarald> ;) implnf 22:51 < raidman> impl, who is channel op of #mojavi? 22:51 < impl> Probably just illusina 22:51 < impl> -ChanServ- -- Access List for [#Mojavi] -- 22:51 < impl> -ChanServ- Num Level Hostmask Time since last use 22:51 < impl> -ChanServ- --- ----- -------- ------------------- 22:51 < impl> -ChanServ- 1 30 illusina 13w 1d 5m 49s 22:51 < impl> -ChanServ- 2 30 feti 5w 6d 3m 22s 22:51 < impl> -ChanServ- -- End of list -- 22:51 < impl> illusina and feti 22:54 < raidman> hmm 22:58 < digitarald> 13weeks ... mmh --- Day changed Fri Oct 06 2006 00:23 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 00:51 -!- stoni [i=sto@2.pool80-103-3.dynamic.uni2.es] has joined #agavi 01:18 -!- stoni [i=sto@2.pool80-103-3.dynamic.uni2.es] has quit [Read error: 110 (Connection timed out)] 01:35 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 03:34 -!- benny`work [n=benny@p54AC3B1E.dip0.t-ipconnect.de] has quit ["unset($this);"] 05:11 -!- Wombert [n=Wombert@dslb-088-064-020-113.pools.arcor-ip.net] has quit [] 05:11 < sho[a]n_> morning 05:11 -!- sho[a]n_ is now known as sho[a]n 05:40 -!- [1]eremit [n=eremit@p5490CF67.dip.t-dialin.net] has joined #agavi 05:58 -!- eremit [n=eremit@p5490C902.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:58 -!- [1]eremit is now known as eremit 06:31 -!- shoan [n=shoan@59.92.137.176] has left #agavi [] 06:39 -!- CIA-1 [i=cia@cia.navi.cx] has quit [Read error: 110 (Connection timed out)] 07:05 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:31 < splatch`> oi! :) 10:05 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 11:13 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 11:13 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:30 < shoan> morning 11:58 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 12:48 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has joined #agavi 12:49 < digitarald> Buenas fellows 13:20 -!- raidman is now known as raidman|rafet_sh 13:58 < splatch`> my head ... 14:03 < digitarald> whats with your head? 14:13 < splatch`> they heart me ;] 14:13 < splatch`> pain 14:15 < digitarald> ... worked till 2o'clock this night ... till 12 i had headaches ... 14:25 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has quit [Read error: 131 (Connection reset by peer)] 14:29 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has joined #agavi 14:30 < digitarald> who is using the cool ajax auf funky-blind/opacity stuff? 14:33 -!- sho[a]n_ [n=shoan@59.92.200.105] has joined #agavi 14:36 -!- Wombert [n=Wombert@dslb-088-064-027-086.pools.arcor-ip.net] has joined #agavi 14:36 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has quit [Read error: 54 (Connection reset by peer)] 14:38 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has joined #agavi 14:38 < digitarald> xp update horror ... any answers? 14:48 -!- sho[a]n [n=shoan@59.92.137.176] has quit [Read error: 110 (Connection timed out)] 14:50 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: Macca`, sho[a]n_, Wombert 14:50 -!- Netsplit over, joins: Wombert, sho[a]n_, Macca` 14:58 < digitarald> morning wombert, did u read the patch i posted yesterday? 14:58 < Wombert> no 14:58 < digitarald> -morning +hi ;) 14:59 < digitarald> when the new site is online, will user be able to post tickets? 14:59 -!- raidman|rafet_sh is now known as raidman 14:59 < Wombert> maybe 14:59 < Wombert> it doesn't have anything to do with a new site, actually 15:00 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 15:00 < digitarald> my old lead developer has some ideas for agavi ... he gave me the patch i posted yesterday to post it because he could not find a way to post it on the actual site 15:01 < Wombert> hmh 15:01 < digitarald> may be there should be an note about the restart ... everybody (who is not visiting the chat) downloads 0.10 and think its up-to-date 15:01 < Wombert> yeah 15:01 < Wombert> I guess I gotta email bob and ask him if he'd be willing to transfer the domain to me 15:01 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 15:01 < Wombert> so we can move site, svn etc to a server of ours 15:02 < digitarald> thats a must for the restart, imho? 15:03 < digitarald> the patch was an additional parameter for creole and propel db-integration in agavi for setting the charset 15:04 < digitarald> the utf-8 problem in mysql ... sending the set-charset query if an charset is given as parameter 15:26 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 145 (Connection timed out)] 15:28 < Wombert> does the latest creole/propel support that? 15:32 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 16:08 < digitarald> symfony does have an encoding parameter too in his database configuration ... following this ticket: http://www.symfony-project.com/trac/ticket/203 16:09 < digitarald> ore creole ... still not fixed: http://creole.phpdb.org/trac/ticket/13 16:10 < digitarald> and to add an filter or modify an filter just to set the charset is not my prefered solution (but the actual used) 16:11 < digitarald> btw. will there be an symfony-snippet database or something cooler, bigger? ;) 16:15 < Wombert> still not fixed? oO 16:16 < Wombert> why don't you just extend AgaviCreoleDatabase 16:16 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 16:16 < Wombert> and change connect() to call parent::connect, then execute a SET CHARACTER BLAH BLAH 16:17 < Wombert> http://creole.phpdb.org/trac/changeset/48 16:17 < Wombert> ... 16:24 < Wombert> this is a wontfix at least for now 16:24 < Wombert> there are 1000 easy ways to work around it 16:25 < Wombert> extend AgaviCreoleDatabase, for instance 16:25 < Wombert> and for propel, you can overwrite PropelAutoload 16:29 < shoan> Wombert: what is the issue with propel 1.3? 16:29 < Wombert> shoan: huh? 16:30 < shoan> I tried it at home and wasn't able to generate the om 16:30 < shoan> the topic in #propel indicated that 1.3 and trunk were unstable 16:30 < shoan> so I downgraded to 1.2 16:31 < Wombert> 1.3 is experimental, yeah 16:31 < Wombert> don't use it for production yet 16:31 < Wombert> what was the problem? 16:31 < shoan> something broke at at the convert-props task 16:31 < shoan> cant recall now 16:31 < shoan> will let you know in a few hours 16:33 < Wombert> update 16:33 < Wombert> we fixed some stuff there 16:35 < digitarald> so i can set encoding for creole 16:52 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 16:56 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: EleRas, jake, Macca`, eremit, shoan, splatch`, Fast, sho[a]n_, digitarald, raidman, (+1 more, use /NETSPLIT to show all of them) 16:59 -!- Netsplit over, joins: digitarald, splatch` 16:59 -!- Netsplit over, joins: Wombert, sho[a]n_, Macca` 17:00 -!- Netsplit over, joins: shoan, EleRas 17:00 -!- Netsplit over, joins: Fast, jake 17:00 -!- Netsplit over, joins: raidman, eremit 17:11 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:46 < splatch`> digitarald: we was :) 18:25 < raidman> http://website.lineone.net/~roling48/Magnificent%20Pioneers.htm 18:28 < raidman> But how can I make a jet one of those? 18:28 < raidman> http://www.instructables.com/id/EEA99AAUR3EP28744T/ 18:28 < raidman> brb 18:28 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 18:32 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 18:35 < raidman> lol ---> http://forums.programming-designs.com/viewtopic.php?id=605 18:38 < splatch`> rotfl ---> http://www.symfony-project.com/forum/index.php/t/3169/ ;))) 18:40 < splatch`> i send draft of my article to press 18:40 < splatch`> and one user (beta-tester) send me email 18:40 < splatch`> do you really need write about frameworks? 18:41 < splatch`> many people need basic 18:41 < splatch`> :| 18:47 < digitarald> :D what are basics? ... sending an mail via php? doing cool stuff with classes? clean php with mvc ... uh ... not basic 18:53 < splatch`> digitarald: I don't know, i'll wrote malice mail 19:27 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 19:28 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 19:59 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi 20:01 < raidman> Welcome Back FBI! 20:08 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 20:23 < Wombert> splatch`: you there? 20:23 < splatch`> Wombert: no, i'm gone :) 20:23 < splatch`> Wombert: helo man, how are you? 20:23 < splatch`> *hello 20:24 < Wombert> I'd like to implement your doSelectJoin patch 20:24 < Wombert> you said the version I have has some bugs 20:24 < Wombert> I understand that these bugs occur with composite primary keys, is that right? 20:25 < Wombert> i.e. where a primary key consists of several columns 20:25 < Wombert> what do I have to change so it works? 20:25 < Wombert> and you mentioned a performance optimization, how exactly would I do that? 20:25 < Wombert> or maybe you can implement the bugfix and the performance improvement in the class you sent me last time and then upload it again ;) 20:25 < splatch`> Wombert: moment 20:26 < splatch`> does implode will good? :) 20:26 < Wombert> ? 20:27 < splatch`> getPrimaryKey returns array 20:27 < Wombert> ah okay 20:27 < splatch`> but array can't be a key 20:27 < Wombert> yeah, implode()ing that is okay 20:27 < splatch`> Wombert: line 141 20:27 < Wombert> primary keys are tuples 20:28 < Wombert> (Krotka) 20:28 < Wombert> so the order matters, so implode() is no problem 20:28 < splatch`> moment, i doing bug fix :] 20:29 < splatch`> http://phpfi.com/160899 20:29 < splatch`> that should works 20:29 < splatch`> oops 20:29 < Wombert> http://pastebin.ca/193203 is that the latest version? 20:29 < Wombert> oh 20:29 < Wombert> haha 20:29 < Wombert> :> 20:30 < Wombert> okay, I'll use your paste 20:30 < splatch`> http://phpfi.com/160900 20:30 < splatch`> bugfix for bugfix 20:30 < Wombert> okay 20:30 < v-dogg> *burp* 20:30 < Wombert> heyyy veikko what's up 20:30 < Wombert> long time no see 20:32 < v-dogg> yeah, three days of fair'ing behind 20:32 < v-dogg> one day to go 20:33 < Wombert> what fair 20:34 < v-dogg> FinnBuild (building & building services) 20:34 < Wombert> oO 20:38 * splatch` is evil 20:40 < splatch`> Wombert: works? 20:40 < Wombert> splatch`: every time I look at the design I love it even more 20:40 < Wombert> it's so nice :) 20:40 < Wombert> splatch`: still working on it 20:40 < splatch`> Wombert: yes, they're nice :) 20:40 < v-dogg> woot 20:40 < Wombert> v-dogg: did you see the new agavi website design yet? 20:41 < v-dogg> nope 20:41 < Wombert> http://kazek.pl/agavi1.png 20:41 < Wombert> http://kazek.pl/agavi2.png 20:41 < Wombert> aaaand 20:41 * Wombert goes find that 20:42 < Wombert> http://wombert.pastebin.com/801503 20:42 < splatch`> Wombert: kazek will got beer from me 20:43 < splatch`> hah, wombert.pastebin :) 20:43 < splatch`> Wombert: page doesn't work 20:43 < splatch`> loading ... 20:43 < Wombert> it's just very, very, very slow 20:43 < splatch`> i got the title! 20:44 < splatch`> Wombert: you've fantastic ideas 20:45 < splatch`> Wombert: today kazek is away, they drinkin' now :) 20:45 < Wombert> hehe :) 20:45 < Wombert> well I just pasted that so v-dogg can read it 20:45 < Wombert> no hurry :) 20:46 < Wombert> v-dogg: FYI, they'll also do a logo 20:46 < splatch`> Wombert: unfortunately kazek can't found work in capitol 20:46 < Wombert> "AGAVI.ORG" is just a placeholder 20:46 < v-dogg> with the menu moved to the top that's a nice layout 20:46 < splatch`> *andcapital 20:46 < splatch`> and they works for bad man 20:46 < v-dogg> and yes, #2 is better 20:47 < Wombert> you mean he can't find a job in warszawa? 20:47 < splatch`> yes 20:47 < Wombert> :( 20:47 < splatch`> they send CV to many companies 20:47 < Wombert> they? 20:47 < splatch`> he 20:47 < splatch`> :) 20:47 < Wombert> ah 20:47 < Wombert> :) 20:48 < splatch`> and haven't got any response 20:48 < Wombert> mmmh that sucks :( 20:48 < Wombert> I'm afraid our company is not large enough, I would offer him a job immediately otherwise 20:48 < splatch`> yes, really sucks 20:49 < splatch`> Wombert: i'll give him mail you 20:50 < splatch`> Dariusz Zielinski <kazek@cgnews.pl> 20:50 < Wombert> thanks :) 20:50 < Wombert> maybe I need his work one day 20:51 < Wombert> actually, I _might_ have something for him relatively soon 20:51 < Wombert> but no full time job :( 20:51 < Wombert> I hope he finds work quickly 20:51 < Wombert> he's a talented guy 20:52 < splatch`> Wombert: yes, i don't know why he can't found job 20:52 < splatch`> i haven't any ideas "why" 20:52 < splatch`> he works are wery good 20:53 < Wombert> how old is he? 20:53 < Wombert> does he have good education? 20:53 < splatch`> he's 20 20:53 < Wombert> I mean, did he learn to be a designer at a company? 20:53 < Wombert> or did he teach it himself? 20:53 < splatch`> no, he going to learn 20:54 < splatch`> he works from one year in big company 20:54 < splatch`> interia.pl 20:54 < splatch`> that's one from bigger portals in poland 20:55 < splatch`> Onet are first, WP.pl are second and Interia.pl are three 20:56 < splatch`> he drawing hm.. from 3, 4 years, from one he's a proffesional designer 20:57 < splatch`> alike me and php :) 20:58 < splatch`> Wombert: if you'll flown into poland we'll drink together :) 21:02 < Wombert> hehe you bet :) 21:03 < splatch`> Wombert: who we'll first go to floor? ;))) 21:03 -!- digitarald [n=Miranda@172.Red-83-58-218.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 21:10 -!- shoan [n=shoan@59.92.200.105] has joined #agavi 21:11 < Wombert> splatch`: I 21:11 < Wombert> for sure 21:15 < splatch`> ;) 21:36 < splatch`> I so tired.. 21:37 < splatch`> anyone can made supper form me? :) 21:37 < splatch`> *for 23:36 < splatch`> hmm --- Day changed Sat Oct 07 2006 04:32 < jake> I don't suppose anyone has actionsequence.png do they? 04:34 < Wombert> no :\ 04:34 < Wombert> jake: will you be around "later"? 04:34 < Wombert> i.e. in 6 hrs or so 04:34 < jake> Probably 04:34 < Wombert> I might tackle the XMLRPC thing then 04:35 < Wombert> a quick question there if I way 04:35 < Wombert> may 04:35 < jake> Wombert do you know what I'm talking about? (actionsequence.png) 04:35 < jake> sure 04:35 < Wombert> this execution flow diagram thing? 04:35 < Wombert> for mojavi? 04:35 < jake> yep 04:35 < Wombert> I don't have it 04:35 < Wombert> v-dogg: might 04:35 < Wombert> or impl 04:35 < jake> I have to give a presentation next week. I'll ask them. 04:36 < Wombert> anyways... do you use structs for XMLRPC requests? 04:36 < Wombert> or are you only using SOAP 04:36 < Wombert> because by default neither seems to have "named" arguments for a method call, right? 04:36 < jake> we use SOAP and XMLRPC 04:36 < jake> they both do, actually 04:37 < Wombert> in XMLRPC, I use a <struct> with <name> and <value> then, right? 04:37 < jake> yep 04:37 < Wombert> obviously, I can't handle the regular approach without a struct and just a list of arguments for the called method 04:37 < Wombert> okay 04:37 < Wombert> and SOAP? 04:37 < jake> which I translate to be name/value pairs in agavi 04:37 < Wombert> it seems a lot more complicated 04:37 < Wombert> yeah that's what I wanted to do 04:37 < Wombert> seems a piece of cake compared to SOAP 04:38 < Wombert> I looked at some SOAP samples, and I couldn't even figure out how the called method's name is specified etc etc 04:38 < Wombert> and unfortunately, PHP doesn't ship with a SOAP extension that allows to just decode the request, like the XMLRPC extension does with xmlrpc_request_decode 04:39 < jake> Let's talk about it later. The approach I took was a little bit complex 04:39 < Wombert> okay 04:39 < Wombert> schweet 04:39 < Wombert> I'm headed to bed now 04:39 < Wombert> ah and 04:39 < Wombert> any news on the conference thing? 04:39 < Wombert> :> 04:39 < Wombert> ooooh and 04:39 < Wombert> gotta show you... 04:39 < Wombert> hah 04:39 < jake> let's see it 04:39 < Wombert> http://kazek.pl/agavi1.png and http://kazek.pl/agavi2.png 04:40 < Wombert> our new website design 04:40 < Wombert> we'll also get a nice logo 04:40 < Wombert> agavi2 is a bit nicer, obviously ;) 04:40 < Wombert> the designer is a friend of splatch` 04:40 < Wombert> I wrote him an email with thanks and some ideas I'll add to the site... http://wombert.pastebin.com/801503 04:41 < Wombert> if you have any input/suggestions in addition to what I wrote there, let me hear 04:42 < jake> Hmm. It's not what I was thinking, but it's an improvement :) 04:42 < Wombert> what were you thinking? :) 04:42 < Wombert> I must say I didn't _love_ it the first time I see it but now, every time I look at it, it's growing on me 04:42 < jake> What was that link you had sent me a while back? It was some site you really liked the design of.... 04:42 < Wombert> "I saw it" of course 04:42 < Wombert> www.pradosoft.com ? 04:43 < Wombert> maybe 04:43 < Wombert> they have a nice logo 04:43 < jake> yep 04:43 < jake> I like the approach. No weird graphics, clean style, easy to read 04:43 < Wombert> yeah 04:43 < Wombert> but ours well be the same, basically 04:43 < Wombert> if you leave aside the agave plant that, for some reason, grows from top to bottom ^^ 04:44 < Wombert> but it's a nice idea, I think, and it's gonna be pretty cool if we add that "fix gravity" button I described in the email 04:44 < jake> I'm not sure why, but I like the pradosoft design much more 04:44 < jake> I think I was hoping for that design, in orange :) 04:49 < Wombert> hehe 04:49 < Wombert> :) 04:54 < jake> The flower is lame, and the colors are _bright_, and with the background it reminds me of super mario brothers 04:56 < Wombert> lol :> 04:56 < Wombert> well, it's different 04:56 < Wombert> yeah I didn't lile the sky first, either 04:57 < Wombert> but it looks better than plain bright 04:57 < jake> it does 04:57 < Wombert> I was already thinking of only showing the agave plant on the start page 05:01 < jake> *shudder* 05:01 < jake> it looks like a weed 05:05 < Wombert> haha 05:05 < Wombert> you should have seen digitarald's logo "idea" 05:06 < Wombert> _that_ looked like weed 05:07 < Wombert> http://eo.wikipedia.org/wiki/Agavo 05:07 < Wombert> errrr 05:07 < Wombert> http://en.wikipedia.org/wiki/Agave 05:07 < jake> hahaha 05:08 < Wombert> http://de.wikipedia.org/wiki/Agaven 05:08 < Wombert> better photos 05:08 < Wombert> I think it's a pretty slick idea to have it grow from top to bottom 05:08 < Wombert> we can add some slogan like "so powerful it defeats gravity" or so to the title ;) 05:09 < jake> hey, it's your call. I'm just saying, I saw the design and saw a weed 05:25 < Wombert> haha 05:25 < Wombert> sure ;) 05:32 < Wombert> l8rs 05:33 -!- Wombert [n=Wombert@dslb-088-064-027-086.pools.arcor-ip.net] has quit [] 05:40 -!- [1]eremit [n=eremit@p5490F734.dip.t-dialin.net] has joined #agavi 05:48 -!- eremit [n=eremit@p5490CF67.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 05:48 -!- [1]eremit is now known as eremit 08:55 < v-dogg> jake: we have these http://trac.agavi.org/trac.cgi/wiki/UML 08:56 < v-dogg> and I have some mojavi diagram too 09:00 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:09 < raidman> morning 09:40 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Remote closed the connection] 09:52 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 12:51 -!- horros [n=necora@f100.ip5.netikka.fi] has joined #agavi 12:51 < horros> hi 12:51 < horros> v-dogg: around? 12:54 < horros> help plz kthx keke lar 13:20 -!- sho[a]n_ [n=shoan@59.92.200.105] has quit ["leaving"] 13:21 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 13:39 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 14:34 -!- Wombert [n=Wombert@dslb-088-064-009-209.pools.arcor-ip.net] has joined #agavi 14:38 -!- shoan_ [n=shoan@59.92.138.66] has joined #agavi 14:48 -!- shoan [n=shoan@59.92.200.105] has quit [Read error: 110 (Connection timed out)] 15:02 -!- horros [n=necora@f100.ip5.netikka.fi] has quit [Read error: 110 (Connection timed out)] 15:03 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 15:39 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 15:48 -!- EleRas [n=EleRas@neteraser.de] has left #agavi ["Time makes no sense"] 16:00 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Remote closed the connection] 16:02 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 16:18 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 16:39 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 16:43 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 16:43 < digitarald> ah ... weekend ... 16:47 < Wombert> what's that? 17:04 < digitarald> weekend? ... heard that in the news today, during working on my degree work ... convertig all my javascript classes to moo.tools ... 17:05 < Wombert> I have no idea what you're talking about 17:05 < Wombert> what's the point of a weekend? 17:05 < Wombert> I mean, what do you do on a weekend? 17:05 < Wombert> how long does it last? 17:05 < Wombert> does it cost anything to participate? 17:06 < Wombert> is it a work thing? 17:06 < Wombert> or that other one... what's it called again... 17:06 < Wombert> ah... leisure time 17:06 < Wombert> whatever that is 17:06 < Wombert> xD 17:06 < digitarald> costs a lot ... my girlfriend is actually working ... so real weekends where a ling time ago ... but i still remember it ... i hope 17:06 < Wombert> "The weekend is a part of the week lasting one or two days in which most paid workers do not work. This is a time for leisure and recreation, and/or for religious activities. It is also a method of regaining sleep lost on homework." 17:06 < Wombert> oO 17:07 < Wombert> sweet 17:07 < digitarald> coll thing, right? 17:07 < digitarald> cool 17:07 < Wombert> I'd love to have weekends 17:07 < Wombert> or any sort of holiday (did I spell that right?) 17:07 < Wombert> :>>> 17:08 < digitarald> no ... here they say vacaciones ... next week 4 days Sevilla will be my vacaciones this year ;) 17:09 < Wombert> yeah that's about the holidays I get 17:09 < Wombert> if any 17:09 < Wombert> I just can't afford (time-wise, not money-wise) to be away for two weeks :| 17:11 < digitarald> same for me ... because of that only 4 days ... birthday. but working is cool ;) ... even at so-called weekends :D 17:11 < Wombert> it depends 17:11 < Wombert> I sometimes really realize how burned out I am 17:11 < Wombert> after a couple of weeks of 14hrs/day work 17:11 < Wombert> or if there is a deadline etc 17:12 < Wombert> that's when I'm just sitting around for days and don't get anything done 17:12 < Wombert> right now, for instance, I'm pretty fresh and motivated 17:12 < digitarald> worked till 2 o clock the last 2 days because of deadlines ... 17:12 < Wombert> but that might change any day 17:12 < Wombert> if there's a deadline, I sometimes work 24 hours nonstop 17:12 < Wombert> but that's not good 17:12 < Wombert> kills you 17:12 < Wombert> really does 17:12 < digitarald> me too ... sunny weather ... new flatscreen ... and playing javascript is always fun 17:14 < Wombert> I had a fantastic javascript article the other day 17:14 < Wombert> let me see if I can find it for you 17:16 < Wombert> http://www.digital-web.com/articles/objectifying_javascript/ 17:16 < Wombert> good article, but that wasn't it 17:18 < Wombert> ah 17:18 < Wombert> there it is 17:18 < Wombert> http://www.digital-web.com/articles/scope_in_javascript/ 17:18 < Wombert> read both of them 17:18 < Wombert> I knew a lot about closures and prototypes and scope already 17:18 < Wombert> but this .apply() and .call() stuff is sweet 17:18 < digitarald> bookmarked it already, but thank you ... it was linked here http://www.coryhudson.com/blog/2006/09/26/extending-dom-nodes-with-mootools/ 17:18 < Wombert> javascript really, really is an awesome langauge 17:18 < Wombert> yeah 17:19 < Wombert> the second one is better anyway ;) (http://www.digital-web.com/articles/scope_in_javascript/) 17:19 < Wombert> is moo.* any good? 17:19 < Wombert> or dojo? 17:19 < digitarald> ah, the scope articel ... 17:19 < digitarald> dojo is overkill 17:19 < Wombert> I'm very used to prototype 17:19 < Wombert> it has so many good methods 17:19 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 17:19 < Wombert> array.invoke()/apply()/detect()/filter()/grep() etc 17:19 < digitarald> moo.tools are great ... the best-of from base.js and prototype 17:19 < Wombert> don't ever want to code a gain without these 17:20 < digitarald> i always used prototype ... 17:20 < Wombert> and many other things... it's not so much about DOM etc but about the very basics of javascript it improves 17:20 < digitarald> decided this week to switch to moo.tools 17:20 < digitarald> try these articles and decide yourself 17:20 < digitarald> http://www.coryhudson.com/blog/2006/09/12/extending-objects-and-classes-with-mootools/ 17:20 < digitarald> http://www.coryhudson.com/blog/2006/09/14/useful-utility-functions-in-mootools/ 17:21 < digitarald> because of that i'm sitting now here, playing with moo.tools and converting all my prototype-based widgets to moo.tools ;) 17:22 < digitarald> tablewidget (data table with sorting, paging, inline-editing) is 60% faster 17:23 < digitarald> when script.aculo.us is an overkill (125kb to create drag&drop) ... moo.tools uses 17kb (uncompressed) 17:24 < digitarald> but prototype has some nice features, too ... not easy to decide. i.e. the new template system ... 17:28 -!- shoan [n=shoan@59.92.138.66] has joined #agavi 17:30 < Wombert> what template systtem? 17:31 < digitarald> prototype has a templates system 17:31 < digitarald> i'm working with the svn version ... but the remplate system is is already in rc1 17:32 < Wombert> yeah I got that but what does it do 17:33 < digitarald> thats the problem with prototype documentation ;) ... here is an example: 17:33 < digitarald> http://www.coryhudson.com/blog/2006/08/29/using-prototype-new-string-functions/ (header: Template Class) 17:36 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 17:36 -!- shoan_ [n=shoan@59.92.138.66] has quit [Read error: 60 (Operation timed out)] 17:39 < digitarald> got it? 17:41 < Wombert> that is SUPER cool 17:41 < Wombert> wow 17:41 < Wombert> thanks 17:42 < digitarald> it is ... smarty in javascript :D 17:43 < digitarald> or what u want ... today is reading day ... 8 articles already done ... moo.tools is still cooler than prototype ;) 17:43 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: shoan 17:45 -!- Netsplit over, joins: shoan 17:55 -!- stoni [i=sto@238.pool80-103-0.dynamic.uni2.es] has joined #agavi 17:57 < digitarald> Wombert, did u read the moo.tools articles? 17:57 < Wombert> nah 17:57 < Wombert> only a bit 17:57 < Wombert> I can't see why I should switch 17:57 < Wombert> are there any features moo has that prototype doesn't have? 17:57 < digitarald> yes, some improvements 17:57 < Wombert> hm 17:59 < digitarald> the articles are pretty good ... nothing like a-is-better-than-b. just introducing the features and comparing some to prototype 18:08 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: shoan 18:10 -!- Netsplit over, joins: shoan 18:14 < digitarald> Wombert: best thing on moo.tools ... based on base.js ... read the comment from the prototype-master ;) http://sam.conio.net/ 18:16 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: shoan 18:17 -!- Netsplit over, joins: shoan 18:36 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 18:37 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 18:39 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Client Quit] 18:42 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 18:43 < Wombert> hmm 18:44 < Wombert> right now, the WebRouting sets the GET and POST parameters 18:44 < Wombert> not good IMO 18:44 < Wombert> should be done in WebRequest::initialize() 18:44 < Wombert> objections? 18:48 * digitarald vote: Yes 18:48 < CIA-11> david * r1094 /trunk/src/ (6 files in 3 dirs): added missing 'public' keywords to function declarations 18:53 < CIA-11> david * r1095 /trunk/src/ (2 files in 2 dirs): merge request parameters in WebRequest::initialize(), not in WebRouting::execute() 19:40 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 19:43 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 19:58 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 20:00 -!- raidman [n=raidman@62.60.194.3] has joined #agavi 20:11 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 20:18 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 20:28 -!- stoni [i=sto@238.pool80-103-0.dynamic.uni2.es] has quit [Nick collision from services.] 20:28 -!- stoni [i=sto@208.pool80-103-34.dynamic.uni2.es] has joined #agavi 21:07 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 21:10 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 21:17 -!- stoni [i=sto@208.pool80-103-34.dynamic.uni2.es] has quit [Read error: 101 (Network is unreachable)] 21:22 < Wombert> jake: are you awake yet? 21:22 < Wombert> need your advice regarding web services 21:24 < jake> good morning Wombert 21:24 < Wombert> oooh awesome 21:24 < Wombert> good evening jake 21:24 < Wombert> := 21:24 < Wombert> ) 21:24 < jake> tadah! 21:24 < Wombert> I was wondering 21:25 < Wombert> whether or not we should implement dedicated REST functionality 21:25 < Wombert> I'm not sure it's necessary; AgaviWebRequest can handle it already 21:25 < jake> Yeah, you shouldn't 21:25 < Wombert> I would, of course, have to add method mappings for PUT and DELETE, but besides that, do we need anything it doesn't offer? 21:25 < jake> You get REST with URL Parameters, and you can just output the response in XML. Now you have REST :) 21:25 < Wombert> yeah 21:26 < Wombert> that's what I was thinking 21:26 < Wombert> well okay we also need the ability to access the request body for PUT 21:26 < Wombert> file_get_contents('php://input') in your action would be pretty bad ;o) 21:26 < jake> Yeah, we only support GET and PUT for our REST implementation, but we didn't need anything else 21:27 < Wombert> maybe an AgaviRestRequest extends AgaviWebRequest? 21:27 < Wombert> that a) adds PUT and DELETE support and b) offers access to the raw input data 21:27 < Wombert> right now, I have AgaviWebserviceRequest extends AgaviWebRequest 21:28 < Wombert> and concrete implementations (AgaviXmlrpcRequest, AgaviNusoapRequest) extend AgaviWebserviceRequest 21:28 < Wombert> and I was wondering whether or not AgaviRestRequest would be a WebserviceRequest, too 21:28 < jake> Well, it's typically considered part of an SOA, just like XMLRPC and SOAP 21:28 < jake> SO _I_ would have it be a WebserviceRequest, even though it's arguable 21:28 < Wombert> yeha 21:28 < Wombert> gmg 21:28 < Wombert> hmh 21:29 < Wombert> the problem with rest is that... it's not really standardized when it comes to request and response, you know? 21:29 < Wombert> putting the variables of an xmlrpc request into request params is a piece of cake 21:29 < Wombert> but for a REST PUT... mmhmmm 21:29 < jake> Well, a response in REST is always the same 21:30 < jake> Well, I usually map PUT to $_FILES 21:30 < jake> and make it available in the same manner 21:30 < Wombert> that's a pretty slick idea actually 21:31 < Wombert> and it would be another reason to have it extend WebRequest, I wouldn't have to implement everything twice then ;) 21:31 < Wombert> you said your SOAP stuff was a little bit more complicated...? 21:32 < Wombert> man I'm glad to have you, you're the only one who uses SOA and other "enterprise" stuff extensively 21:33 < Wombert> and that's very, very good for Agavi ;) 21:33 < jake> So in my SoapRequest.class.php, I implement the following methods 21:33 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 21:33 < jake> initialize, loadSoapParams, setParamsFromGet 21:33 < jake> in loadSoapParams I do the following 21:33 < jake> $content = file_get_contents('php://input'); 21:34 < jake> $method = null; 21:34 < jake> $decoded = xmlrpc_decode_request($content, $method, 'UTF-8'); 21:34 < jake> $methods = explode('.', $method); 21:34 < jake> $module = $methods[0]; 21:34 < jake> $action = $methods[1]; 21:34 < jake> $this->setParameter(AG_MODULE_ACCESSOR, $module); 21:34 < jake> $this->setParameter(AG_ACTION_ACCESSOR, $action); 21:35 < Wombert> that's exactly what I'm doing, too 21:35 < jake> foreach ( $decoded AS $anon_key => $some_value ) 21:35 < jake> { 21:35 < jake> if ( is_array($some_value) ) 21:35 < jake> { 21:35 < Wombert> except I'm splitting by ":" first (Module and Action) so the action may include dots 21:35 < jake> foreach ( $some_value AS $new_anon => $new_value ) 21:35 < jake> { 21:35 < jake> $this->setParameter($new_anon, $new_value); 21:35 < jake> } 21:35 < jake> } 21:35 < jake> else 21:35 < jake> $this->setParameter($anon_key, $some_value) 21:35 < jake> done :) 21:36 < Wombert> yep 21:36 < jake> So what that means, is that if you _use_ name value pairs, they are available 21:36 < jake> If you don't, the index is available 21:36 < Wombert> I'll do the same, except that the "raw" method will also be passed to the routing, if enabled, so you can use the routing to map methods to actions 21:36 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 21:37 < jake> Cool. 21:37 < Wombert> xmlrpc_blah only supports soap1.1 tho, right? 21:37 < jake> yep 21:38 < jake> The other problem with this type of implementation is a lack of a wdsl file 21:38 < Wombert> hmm 21:38 < Wombert> how exactly is that a problem? 21:38 < jake> Lots of implementations auto-generate a wdsl for you 21:39 < jake> Writing them by hand is next to impossible, or at least impractical 21:39 < Wombert> the thing is... 21:39 < Wombert> typically, you have a class 21:39 < Wombert> that has some methods 21:39 < Wombert> and from that, you can generate a WSDL 21:39 < Wombert> I don't see how that would be possible with Agavi 21:40 < jake> heh, it's not easy. What I would suggest is adding a comment markup, for specifying methods and arguments that should be included in a wdsl file 21:40 < jake> Then parsing the comment blocks to generate the wdsl 21:40 < jake> Like I said, not trivial, and probably not needed for an initial release :) 21:40 < Wombert> the other option would be to implement a WSDL generator that uses the validation to generate 21:41 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Client Quit] 21:41 < Wombert> (ListProducts.xml validation config file, for instance) 21:41 < jake> We still have validate() AND registerValidators() right? 21:41 < Wombert> of course 21:41 < Wombert> and Actionname.xml 21:41 < jake> the problem is the validate() method 21:42 < jake> Since it's not a uniform way of doing validation. I can do if ( is_numeric($foo) ) { return false; } OR if ( is_int($foo) ) { return false; } 21:42 < jake> They may be equivalent for the particular implementation, but catching both of them would be difficult 21:42 < Wombert> I'd like to dig a very, very deep hole, throw the WSDL issue in there, fill it with concrete and hope it doesn't come back to haunt us until after 1.0 21:43 < Wombert> it's not only difficult, but much rather a big ass nightmare 21:43 < jake> hahaha, that's what I recommend 21:43 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 21:45 < Wombert> I'll go back and code a bit 21:45 < Wombert> I should have some stuff for you to look at in an hour or so 21:45 < Wombert> once again, thanks for the input... mapping PUT to $_FILES is briliant 21:45 < jake> Cool. Let me know when you want me to take a look 21:46 < Wombert> sure 21:46 < Wombert> will you be around today? 21:46 < jake> Yep, I'll be working most of the day 21:46 < Wombert> and is it retarded autumn in seattle already, too? :( 21:46 < Wombert> schweet 21:46 < jake> haha, yes it is 21:47 < Wombert> one last thing 21:47 < Wombert> let's say we have an XMLRPC call 21:47 < Wombert> should I just discard any GET params? 21:47 < Wombert> not sure about that 21:51 < jake> I don't 21:51 < jake> I merge them, with the xmlrpc taking presedence in the case of a conflict 21:51 < Wombert> yeah, that's what I do, too 21:51 < Wombert> cool 21:51 < jake> That makes testing a breeze, since you can technically supply all parameters via the URL 21:52 < Wombert> mmmh 21:52 < Wombert> gonna have to implement proper encoding detection, I guess 21:53 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 21:54 < Wombert> m000n 21:54 < Wombert> -n+h 21:54 < Wombert> the encoding in the xml prolog has precedence over the one in the Content-Type header of the request, right? 21:55 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 22:00 < Wombert> ah wait 22:00 < Wombert> content type for xmlrpc is always text/xml 22:00 < Wombert> that helps a little 22:02 < Wombert> encoding: input encoding to translate to. defaults to iso-8859-1 22:02 < Wombert> that sucks 22:02 < Wombert> (php xmlrpc uses that as default, but that's wrong IIRC) 22:21 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:28 < jake> I use UTF-8 as a default 22:28 < jake> and I found the action sequence :) 22:28 -!- stoni [i=sto@119.pool80-103-34.dynamic.uni2.es] has joined #agavi 22:37 < splatch`> o *!*@* 22:43 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 23:11 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has joined #agavi 23:11 < Trevize> Hi 23:11 < Wombert> hi Trevize 23:12 * impl is home 23:12 < Trevize> I've spoken with you before, about Mojavi and Agavi 23:12 < Wombert> yeah 23:12 < Trevize> I'm trying to install one of them, but it's confusing since there are no instructions at all 23:12 < impl> Wombert: Guess who got evacuated Thursday night? :< 23:13 < Trevize> There's that video, but it has no forward/rewind, which is messy 23:13 < Wombert> Trevize: don't install agavi 0.10.2 23:13 < Wombert> use the trunk from SVN 23:13 < Wombert> impl: evacuated? oO 23:13 < impl> Yeah... 23:14 < Wombert> wtf? 23:14 < impl> http://news.bbc.co.uk/2/hi/americas/5413676.stm 23:14 < Trevize> Is there SVN for windows? 23:14 < Wombert> where do you live? 23:14 < impl> In the town referenced in that article 23:14 < Wombert> Trevize: TortoiseSVN 23:14 < impl> Apex, NC 23:14 < Wombert> errr wtf 23:15 < Wombert> so is everything okay again? 23:15 < impl> Yeah 23:15 < Wombert> or does your living room somehow glow in a greenish tint 23:15 < impl> We were all allowed back this morning 23:15 < Wombert> good 23:15 < Wombert> :) 23:15 < impl> haha, no 23:15 < impl> :P 23:15 < impl> We were right on the edge of the evacuation zone 23:15 < Trevize> oh, SVN is subversion. Good to know 23:15 < impl> so no problems here 23:16 < Wombert> good 23:16 < Wombert> apex is a funny name for a town ;> 23:16 < Wombert> sounds like you were right on the apex of the apex evacuation zone, eh? 23:16 < Wombert> xDDD 23:16 < Wombert> okay, lame joke, disregard me 23:16 < Trevize> So what should I install instead? 23:16 < impl> haha 23:17 < Wombert> Trevize: do you need any help with that? 23:17 < impl> It's named like that because it's at the very top of the railroad line 23:17 < Wombert> oO 23:17 < Wombert> weird americans 23:17 < impl> :P 23:17 < Wombert> you know what's the weirdest thing about names in america? 23:17 < Wombert> the names you give to your children 23:18 < Trevize> Wombert: Seems I'll be needing some specific SVN command line 23:18 < Wombert> for instance, Cameron is a girl's name and a boy's name 23:18 < impl> Really? 23:18 < impl> Oh... yeah 23:18 < impl> We have a lot of names like that 23:18 < impl> Other countries don't do that? 23:18 < Wombert> mmmh... none I know 23:18 < Wombert> english is the only language 23:18 < Wombert> and 23:18 < Wombert> nobody here in germany would call their children... "apple" 23:18 < Wombert> or some other weird name 23:19 < Wombert> <: 23:19 < impl> haha 23:19 < Wombert> or "gaylord" 23:19 < Wombert> or so xD 23:19 < Wombert> Trevize: download tortoisesvn 23:19 < impl> :< 23:20 < Wombert> you can then easily "check out" trunk 23:20 < impl> I can happily say I don't know anyone named Apple or Gaylord 23:20 < Wombert> but you must know someone with a weird name 23:20 < Wombert> you know, someone named after a common object or so 23:20 < impl> I know a Swedish kid named Viking 23:20 < Wombert> like... "Fork Stephens" 23:20 < Wombert> LOL 23:20 < Wombert> VIKING? 23:20 < Wombert> AHAHAHAHAH 23:20 < impl> Yeah 23:21 * Wombert falls over 23:21 < impl> :x 23:21 < Wombert> anything else? 23:21 < Trevize> downloading.. 23:21 < impl> Some people are named after dogs (although they find it offensive whenever I mention it) 23:21 < impl> For instance, I know a girl named Sadie 23:21 < Wombert> "Bicycle Linden" 23:21 < Wombert> is that a dog's name? 23:21 < impl> Yeah, here it is 23:22 < Wombert> I'd call my dog "Joe Cool" 23:22 < impl> haha 23:22 < impl> Our dogs are called things like "Baxter" and "Max" 23:22 < Wombert> and tell him my name is "Joe Schlabotnik" 23:22 < impl> I know a kid named Radford 23:22 < impl> I always thought that was a fruity first name 23:23 < Wombert> it rather sounds like a surname to me 23:23 < Wombert> "what's your name?" 23:23 < Wombert> "Radford Radford" 23:23 < impl> Ironically, our town managers surname /is/ Radford 23:23 < Wombert> oO 23:23 < Wombert> se 23:23 < Wombert> e 23:23 < Wombert> there you go 23:24 < impl> I found that after he was on the news for 12 hours straight because of this chemical thing 23:24 < impl> :< 23:24 < Wombert> but the surnames are just as strange, I find 23:24 < impl> Our surnames are mostly European :\ 23:24 < Wombert> you know, when someone's called "Damon Hill" 23:24 < Wombert> I mean 23:24 < Wombert> "Hill" 23:24 < Wombert> ... 23:24 < Wombert> nobody here is called "Huegel" 23:24 < Wombert> or at least I don't know anybody 23:25 < impl> There are /tons/ of people with the last name Hill here 23:25 < Wombert> I guess it's just a common english name, ain't it 23:25 < impl> Quite 23:25 < Wombert> Most surnames of British origin fall into six types: 23:25 < Wombert> Occupations (e.g., Smith, Archer, Baker, Fisher) 23:25 < Wombert> Personal characteristics (e.g., Short, Brown, Whitehead) 23:25 < Wombert> Geographical features (e.g., Hill, Wood, Fields) 23:25 < Wombert> Place names (e.g., London, Hamilton', Sutton) 23:26 < impl> haha, I never even noticed that 23:26 < impl> But that is where the names come from 23:26 * impl chuckles 23:26 < Wombert> "what's your name sir?" 23:27 < Wombert> "my name is Fox Brown" 23:27 < Wombert> see, there you have the confusion 23:27 < impl> hehe 23:27 < Wombert> if his name was "Alexander Brown"... easy 23:28 < Wombert> oO 23:28 < Wombert> "Peter" means "rock" 23:28 < Wombert> "Thomas" means "twin" 23:28 < Wombert> "George" means "farmer" 23:28 < Wombert> oO 23:28 < impl> o.O 23:28 < Trevize> I wonder why I have to restart the system after installing TurtoiseSVN 23:29 < impl> Trevize: It installs explorer shell hook 23:29 < impl> s 23:29 < Wombert> Trevize: because you're using the wrong operating system ;) 23:29 < Wombert> www.apple.com/getamac 23:29 < Wombert> :> 23:29 < Trevize> ok. brb 23:29 < impl> http://www.debian.org/ 23:29 < impl> :> 23:29 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has quit ["restarting"] 23:29 < Wombert> Germanic names often are warlike in nature, or have roots meaning "glory." The "-bert" element common in many such names comes from beraht, which means "bright." Examples: Albert, Robert, Norbert, Gilbert, Alfred, Adelaide, Edward, Roger, Rosalind, Emma, Gerard, Gertrude, Henry, Matilda. 23:29 < Wombert> yeah 23:29 < Wombert> sure 23:29 < Wombert> may I introduce myself 23:29 < Wombert> my name is ACHTUNG BLITZKRIEG 23:29 < Wombert> zomg 23:29 < Wombert> :>>> 23:30 < Wombert> ze krazy germans 23:30 < impl> I wish my name was Norbert 23:30 < impl> That's an awesome name 23:30 < Wombert> really? 23:30 < Wombert> I fucking hate that name 23:30 < impl> lol 23:30 < impl> I think it's hilarious 23:30 < Wombert> I had a teacher back in school, his name was Norbert, and he was such a moron 23:30 < impl> HEY NORBERT 23:31 < Wombert> ahaha 23:31 < Wombert> a boy's name I love 23:31 < impl> "David" :P 23:31 < Wombert> and one I'll certainly give to my son should I have one (please, please, at least one boy, two girls would be killing me) 23:31 < Wombert> is "Oskar" 23:32 < impl> That's a cool name 23:32 < Wombert> new neighbors moved in some time ago, and they too have a little son called Oskar 23:32 < Wombert> that's such a cool name 23:32 < Wombert> way better with a "k" tho... "Oscar" is kinda lame 23:32 < impl> Spelling it with a c reminds me of the green fellow who lives in a garbage can :P 23:32 < Wombert> too many people give their children "hip" names of foreign origin but that sucks 23:33 < Wombert> spelling it with a c reminds me of the golden guy that's handed to "liberal jewbags who fucking hate america" each year 23:33 < Wombert> to quite Jon Stewart here 23:33 < Wombert> ;) 23:33 < Wombert> ah but you don't watch the Daily Show, do you? :( 23:33 < Wombert> but jake does! 23:33 < impl> I don't get cable 23:34 < Wombert> :S 23:34 < Wombert> but you know that Hollywood hates America, right? 23:34 < impl> I know that everyone hates America 23:34 < impl> :\ 23:34 < Wombert> I don't 23:34 < impl> You probably should 23:34 < Wombert> I just think your country was better off if you threw out all these GOP voters 23:35 < jake> I watch the Daily show 23:35 < Wombert> jake: we'll get comedy central on cable in january 23:35 < Wombert> they'll show the daily show 23:35 < Wombert> and you know what? 23:35 < Wombert> from what I understand, we get to see the latest episode FOUR HOURS before it first airs in the U.S. 23:35 < Wombert> how cool is that 23:36 < Wombert> jake: http://arstechnica.com/news.ars/post/20061004-7908.html 23:36 < impl> :( 23:36 < Wombert> one reason I like the daily show so much is because it really, really gives me a good impression of what the media in the U.S. is like 23:36 < Wombert> very right wing 23:37 < Wombert> I heard the other day that I'd probably have to throw up if I ever learned what CNN is like over at your place 23:37 < Wombert> seems to be very different from CNN intl / europe 23:38 < impl> I've never really watched it much 23:38 < Wombert> or Fox news 23:38 < Wombert> duuuude 23:38 < impl> lol 23:38 < impl> fox news 23:38 < impl> What a joke 23:38 < Wombert> that is too much for the average european 23:38 < Wombert> who the hell watches that? 23:38 < Wombert> that's not information, that's... uhm... whatever 23:38 < impl> No one, as far as I know 23:39 < Wombert> it's the most popular news programme in the U.S, so someone's watching it ;) 23:39 < Wombert> but I mean... at least to me, the stuff in there is so OBVIOUSLY made up 23:39 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has joined #agavi 23:39 < Wombert> and so OBVIOUSLY biased 23:39 < impl> lol 23:39 < Wombert> how could you believe what they're saying? 23:39 < Trevize> Hi. I've got SVN now. yay-yay 23:39 < Wombert> Trevize: sweet 23:40 < Wombert> create a new folder, let's call it "agavi-trunk" 23:40 < Wombert> where you create it is up to you, but for now, it's probably easiest if you put it somehwere below your document root 23:41 < Wombert> impl: did you notice that Clinton Interview thing? 23:41 < Wombert> where Fox and the other dickhead channels said he "lost it" afterwards? 23:41 < impl> Nope.. 23:41 < Wombert> mmmh... 23:41 < Wombert> I saw the original interview 23:41 < Trevize> Done 23:41 < Wombert> and then I saw clips from Fox where they show a "summary" of it... 23:42 < Trevize> hmm - brb (running mIRC under wrong user) 23:42 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has quit [Client Quit] 23:42 < Wombert> they even changed the chronological order of the exceprts to prove their point 23:42 < Wombert> which, as usual, was, that dems hate america, and blah blah blah 23:42 < Wombert> that's just so retarded 23:42 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has joined #agavi 23:43 < Trevize> Tov. What's now? 23:43 < Wombert> create that channel 23:43 < Wombert> errrr 23:43 < Wombert> folder 23:43 < Wombert> xD 23:43 < Trevize> I did 23:43 < Wombert> right click -> SVN -> checkout 23:44 < Wombert> svn://svn.agavi.org/agavi/trunk 23:45 < Trevize> lotsa files there 23:45 < Trevize> done 23:45 < Wombert> good 23:45 < Wombert> you're now on the bleeding edge 23:46 < Wombert> you should right click and "update" regularly 23:46 < Wombert> do you have pear installed? 23:46 < Wombert> and set up? 23:46 < splatch`> zief 23:46 < splatch`> oops 23:46 < splatch`> *yawn* ;) 23:46 < Trevize> I think. I did go-pear.bat today 23:47 < Wombert> good 23:47 < Wombert> install phing 23:47 < Wombert> http://phing.info 23:47 < Wombert> it's not _really_ necessary, but very very helpful because it makes your life with agavi a lot easier 23:47 < splatch`> Wombert: agavi installation steep by steep 23:47 < Wombert> splatch`: it's described in the manual ;) 23:47 < splatch`> :) 23:47 < splatch`> two minutes tutorial 23:48 < splatch`> ok, i've go sleep 23:48 < splatch`> bye everyone! 23:48 < Wombert> good night 23:49 < Trevize> Is there a manual? 23:49 < Trevize> Because I didn't find one. If I did, I wouldn't have bothered you 23:49 < Wombert> in docs/docbook ;) 23:49 < Wombert> but only in trunk 23:49 < Wombert> I'll walk you through the rest of the setup now 23:49 < Wombert> let me know once you installed phing 23:50 < Trevize> I did (without optional dependencies) 23:50 < splatch`> Wombert: kazek today will going to create an logo :) 23:50 < Wombert> splatch`: w0000t! nice! nice! nice! 23:50 < Wombert> :> 23:50 < Wombert> impl: http://www.youtube.com/watch?v=oXZkcw7jPjM watch that 23:50 < splatch`> Wombert: me? 23:50 < splatch`> aah 23:50 < impl> k! 23:51 < impl> :P 23:51 < Wombert> and, of course, http://www.youtube.com/watch?v=zR24vl1FLm8 that's the #1 best clip everrrrrr 23:51 < Wombert> impl: this situation 23:52 < Wombert> where he asks a question about the CIA's prisons 23:52 < Wombert> and the president totally evades the question and talks some "I'm the president, I'm protecting your family" bullshit... 23:53 < splatch`> Wombert: logo should be at monady 23:53 < splatch`> monday 23:53 < splatch`> [d] 23:53 < Wombert> if any politician did that here in germany, he'd sure be ripped apart by the media, and probably also by the people 23:53 < Wombert> splatch`: fantastic, say many greetings and thank yous to him! 23:53 < Wombert> Trevize: okay, now edit samples/app/index.php 23:54 < Wombert> err 23:54 < Wombert> samples/pub/index.php 23:54 < Wombert> the INSERT PATH TO AGAVI.PHP HERE 23:54 < Wombert> ../../src/agavi.php will do the job 23:54 < impl> Wombert: bahaha 23:54 < Wombert> then fire up samples/pub/ in your browser 23:55 < Wombert> impl: you find that funny... watch the second clip 23:55 * impl watches 23:57 < Trevize> Great. It shows a nic menu 23:57 < Wombert> Trevize: good! 23:58 < Wombert> if you want to get an impression of what agavi can do 23:58 < Wombert> try to login 23:58 < Wombert> then, watch the template (samples/app/modules/Default/templates/LoginInput.php) 23:58 < Trevize> nic=nice 23:58 < Wombert> the form population filter does that. independent of any template engine 23:59 < Trevize> I wonder why the menu is in German though 23:59 < Wombert> once you're done playing around with the sample app (sorry, right now it's in german, that' just a test, click the second entry) 23:59 < Wombert> let me know, we'll create your first project 23:59 < Wombert> yeah it's a preparation for the i18n support we're currently adding (last item on the list) --- Day changed Sun Oct 08 2006 00:01 < jake> that cheney clip on daily show is hilarious 00:03 < Trevize> I looked on the login template, but it doesn't tell me much 00:03 < Trevize> It's just HTML 00:03 < Wombert> Trevize: that's the point! :) 00:03 < Wombert> and yet, the values you entered when the form is displayed again due to an error are re-inserted 00:04 < Wombert> and erroneous fields are highlighted red 00:04 < Trevize> cute 00:04 < Wombert> jake: it is... http://www.youtube.com/watch?v=Y6gpzo67TH0 :) 00:04 < Wombert> also a very very good one 00:04 < Wombert> watch till the end where they make fun of Cheney's "EEEEEEH" voice again hrhr 00:05 < impl> THE VICE PRESIDENT HAS SHOT A 78-YEAR OLD MAN IN THE FACE 00:05 < impl> That was hilarious 00:06 < Wombert> that is _so_ funny 00:06 < Wombert> I loved "Mr. Whittington's condition has now been upgraded from... stable to... stable, but still shot in the face by the vide president" :> 00:08 < Wombert> why the hell is a man who says "nucular weapon" president of that country 00:08 < Wombert> I so don't get it 00:08 < Wombert> (no offense, I guess you guys voted dems) 00:08 < impl> You know how the guy who got "shot" in the video game spoke? 00:08 < impl> Half our country talks like that 00:08 < Wombert> lol 00:08 < Wombert> : 00:08 < Wombert> > 00:08 < Wombert> what did he talk like? 00:09 < impl> A hick from Texas 00:09 < Wombert> ah 00:09 < Wombert> okay :> 00:10 < Trevize> Wombert, so.. how do I read the documentation? It's in XML 00:10 < Wombert> Trevize: it's a docbook 00:10 < Wombert> www.xmlmind.com/xmleditor is a good editor/viewer 00:11 < jake> god damn it. My music collection is too large to use anything other than xmms or mpg123 00:11 < Wombert> jake: hmm 00:11 < impl> Write your own player ;P 00:11 < Wombert> jake: I'd recommend iTunes, but it seems like you're on Linux ;) 00:11 < jake> Everything I try; amorok, songbird, beep, etc 00:12 < impl> How about JuK? 00:12 < Wombert> Trevize: shall we create your first project? 00:14 < Trevize> Sure 00:16 < Wombert> Trevize: good 00:16 < Wombert> first, create a new folder 00:16 < Wombert> outside of agavi-trunk 00:16 < Wombert> by the way, these installation steps are only necessary because you're installing by hand, not via PEAR (because there's no release of 0.11 yet) 00:17 < Trevize> Ok. I did 00:17 < Trevize> I called it my-agavi-proj 00:17 < Wombert> copy etc/agavi.bat-dist to that folder and rename it to "agavi.bat", then edit it 00:18 < Trevize> heh. It's not in DOS format 00:19 < Trevize> Editting it in Crimson Editor now 00:19 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.wa.comcast.net] has quit [Read error: 54 (Connection reset by peer)] 00:19 < Trevize> (is there a better editor, btw?) 00:20 < Wombert> it's a good editor, but a bit slow for my taste 00:20 < Wombert> back when I was a windows user, I used EditPlus 00:20 < Wombert> Crimson Editor basically is a free copy of EditPlus 00:21 < Wombert> Trevize: what you have to do 00:21 < Wombert> is adjust the path to "phing.php" 00:21 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.mn.comcast.net] has joined #agavi 00:21 < jake> Songbird crashed my computer :( 00:21 < Wombert> once you're done, test by running "agavi help" 00:22 < Wombert> jake: haha 00:22 < Wombert> and I thought linux was supposed to be a stable OS 00:22 < Trevize> Should I change the AGAVI_INSTALLATION dir as well? 00:23 < jake> Well the problem is really that I mount my music and home via nfs, Songbird stressed nfs by trying to load my music and made my home inaccessible 00:23 < Wombert> Trevize: oh yeah right of course 00:23 < jake> so I had to reboot 00:23 < Wombert> but that#s cross platform, isn't it this iTunes copy? 00:23 < Trevize> I'm afraid I've got spaces in my folder names 00:23 < Wombert> Trevize: wrap the values into " 00:23 < Wombert> that should work 00:24 < Trevize> I did 00:24 < Wombert> no luck? 00:24 < Wombert> :S 00:24 < Trevize> It says Buildfile: \program does not exist! 00:25 < Wombert> mmmh yeah it's "Program Files", right? 00:25 < Wombert> uncool 00:25 < Wombert> stupid windows 00:25 < Wombert> I guess you have to enter short path names for now 00:25 < Wombert> "dir" has an option to show them 00:25 < Wombert> it's this Progra~1 stuff 00:26 < Trevize> FAR has that option too (ctrl-n) 00:27 < Trevize> hmm 00:27 < Trevize> but seems that they get translated into long file names in the way 00:27 < jake> It's an iTuns copy 00:27 < jake> yeah 00:27 < Trevize> Buildfile: C:\progra~1\apache~1\apache\htdocs\agavi-trunk\build.xml 00:27 < Trevize> [property] Loading C:\Program Files\Apache Group\Apache\htdocs\agavi-trunk\build.properties 00:27 < Trevize> [property] Unable to find property file: C:\Program Files\Apache Group\Apache\htdocs\agavi-trunk\build.properties... skipped 00:27 < jake> Well, I like it better than windows 00:27 < Trevize> I guess I'll have to move all the Agavi stuff to a space-less dir 00:28 < Trevize> hmm.. 00:28 < Trevize> actually that file doesn't exist at all 00:28 < Wombert> Trevize: no wait 00:28 < Trevize> there's build.xml but not build.properties 00:28 < Wombert> it has to point to \src 00:28 < Wombert> sorry for the confusion 00:29 < Wombert> the build.properties warning is normal, btw 00:30 < Trevize> so I have to point AGAVI_INSTALLATION to agavi-trunk/src? 00:30 < Trevize> seems to work indeed 00:33 < Wombert> now type "agavi project" 00:33 < Wombert> and just hit return on every prompt 00:33 < jake> Songbird has traversed 1/3 of my music, and it's db is 21M, which doesn't bode well for this being a 'fast' application 00:34 < Trevize> done 00:34 < Trevize> So now - the rest is like in the movie? 00:35 < Wombert> Trevize: now open app/modules/Default/templates/IndexSuccess.php 00:35 < Wombert> and write something into it 00:35 < Wombert> "Hello World" or so 00:35 < Wombert> then fire up pub/ in your browser 00:36 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 110 (Connection timed out)] 00:36 < Trevize> I have app/models there too. Unfortunately it's empty and doesn't contain lovely models 00:37 < Trevize> Done 00:37 < Wombert> :) 00:37 < Trevize> It shows me that file 00:38 < Wombert> now you can write an app 00:38 < Wombert> the "samples" app is a small example of how thngs are structured 00:38 < Wombert> use that as a starting point 00:38 < Wombert> many things are different from 0.10 (0.9 is the version from the movie) 00:38 < Trevize> oh 00:39 < Wombert> read the intro manual first 00:39 < Wombert> it describes the strucutre and execution flow 00:39 < Wombert> the manual gives you some first information 00:39 < Wombert> the cookbook... has popular recipes etc 00:40 < Wombert> as you can see, the documentation is far from finished 00:40 < Wombert> we're looking for contributors ;) 00:42 < Trevize> Well, if that company accepts me, I might contribute 00:45 < Trevize> Now downloading that docbook editor 00:46 < jake> "Finally, remember to include Linux users in your prayers tonight. As individuals we may not be able to change people’s minds, but the Bible teaches that God can make any sinner repent." 00:46 < jake> There are some increadibly insane Americans 01:03 < Wombert> wtf 01:03 < Wombert> oO 01:03 < Wombert> hmm 01:03 < Wombert> stay up until the Formula1 GP begins 01:03 < Wombert> or go to bed now and get up early 01:03 < Wombert> hmhmhm 01:08 < jake> You want to watch the F1 GP 01:09 < Wombert> sure 01:09 < Wombert> I've watched almost every Grand Prix since... mmh... 01:09 < Wombert> I can't remember a time where I did NOT watch Formula1 01:10 < jake> heh 01:10 < jake> Then you know what you're going to do 01:10 < Wombert> I'll go to bed and get up in time 01:12 < Wombert> btw... jake... if(is_array($decoded) && is_string(array_pop(array_keys($decoded))) { 01:12 < Wombert> to make sure it's a struct ;) 01:12 < Wombert> but then, it could be an array, too, you never know 01:14 < jake> yep, exactly 01:14 * Trevize takes a walk 01:20 < Wombert> jake: do you know if you can attend the conference yet? 01:28 * Wombert yawns 01:28 < Wombert> good night guys 01:28 * Wombert see ya in six hours 01:29 < jake> I can't, the tickets were $1k to start (flight), since the notice was so short 01:29 < Wombert> :S 01:29 < Wombert> too bad 01:30 < Wombert> well, maybe next time ;) 01:30 < Wombert> catch ya later 01:30 < jake> Our finance person doesn't like last minute trips 01:30 < jake> later 01:30 -!- Wombert [n=Wombert@dslb-088-064-009-209.pools.arcor-ip.net] has quit [] 01:31 -!- stoni [i=sto@119.pool80-103-34.dynamic.uni2.es] has quit [Read error: 101 (Network is unreachable)] 02:21 -!- benny`work [n=benny@p54AC3A6F.dip0.t-ipconnect.de] has joined #agavi 02:43 < Trevize> Bye bye 02:44 -!- Trevize [i=derci@bzq-84-108-7-232.cablep.bezeqint.net] has quit [] 02:53 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 04:23 -!- benny`work [n=benny@p54AC3A6F.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 05:11 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 05:40 -!- [1]eremit [n=eremit@p5490FAA6.dip.t-dialin.net] has joined #agavi 05:59 -!- eremit [n=eremit@p5490F734.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:59 -!- [1]eremit is now known as eremit 07:23 -!- Wombert [n=Wombert@dslb-088-064-009-209.pools.arcor-ip.net] has joined #agavi 07:23 < impl> Wombert: You're up early 07:23 < impl> G'morning to ya 07:24 < Wombert> hi 07:24 < Wombert> yeah just woke out without analarm 07:24 < Wombert> nice 07:24 < Wombert> :> 07:24 < Wombert> just in time for th erace 07:24 < Wombert> starts in 35 minutes 07:24 < impl> Horses, or cars? 07:24 < Wombert> gonna heh ;) 07:24 < Wombert> Formula 1 07:24 < Wombert> Suzuka, Japan 07:24 < impl> Ah, cool 07:42 < Wombert> japan is so weird 07:42 < Wombert> the grid girls are dressed like schoolgirls 07:43 < Wombert> and a lot of fans are dressed like the drivers, complete with overall and helmet 07:43 < Wombert> I've been watching F1 for 20 years and I swear there is no other country where the fans do that 07:43 < impl> o.O 07:44 < impl> http://tmbo.org/offensive/2006/10/05/index.php?id=12 <-- do you really have signs like that? :P 07:49 < Wombert> welucomo tuo suzuka 07:50 < Wombert> impl: hmm never saw such a sign ;) 07:50 < impl> aw :P 07:51 < Wombert> it says "attention, playing children" 07:51 < Wombert> looks austrian 07:51 * impl nods 08:26 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:53 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:11 -!- Wombert [n=Wombert@dslb-088-064-009-209.pools.arcor-ip.net] has quit [Nick collision from services.] 10:11 -!- Wombert [n=Wombert@dslb-088-064-018-100.pools.arcor-ip.net] has joined #agavi 10:25 -!- stoni [i=sto@26.pool80-103-38.dynamic.uni2.es] has joined #agavi 10:30 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 10:38 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:39 -!- shoan [n=shoan@59.92.138.66] has quit [Read error: 145 (Connection timed out)] 11:22 -!- shoan [n=shoan@59.92.133.71] has joined #agavi 11:48 -!- shoan_ [n=shoan@59.92.133.71] has joined #agavi 11:56 -!- shoan [n=shoan@59.92.133.71] has quit [Read error: 60 (Operation timed out)] 12:15 < Wombert> anybody wanna install 5.2.0rc6 and run the agavi unit tests to see if anything breaks? 12:16 < Wombert> compiling PHP takes a couple of hours on my slow G4 here, can't be bothered 12:39 -!- shoan [n=shoan@59.92.206.131] has joined #agavi 12:56 -!- shoan_ [n=shoan@59.92.133.71] has quit [Read error: 110 (Connection timed out)] 13:10 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 13:24 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.mn.comcast.net] has quit ["Leaving"] 13:32 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 13:38 -!- benny`work [n=benny@p54AC3217.dip0.t-ipconnect.de] has joined #agavi 14:01 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 15:13 -!- stoni [i=sto@26.pool80-103-38.dynamic.uni2.es] has quit [Read error: 104 (Connection reset by peer)] 16:49 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 18:38 -!- shoan_ [n=shoan@59.92.206.131] has joined #agavi 18:56 -!- shoan [n=shoan@59.92.206.131] has quit [Read error: 110 (Connection timed out)] 19:32 < Wombert> mmmmh 19:32 < Wombert> cute 19:32 < Wombert> XMLRPC support is up and running 19:32 < shoan_> nice :) 19:32 < Wombert> I just had to edit two config files 19:32 < Wombert> add one method to a view 19:32 < Wombert> and bam 19:32 < Wombert> SearchEngineSpamAction can be used as a web service 19:33 < Wombert> this is so cool 19:33 < Wombert> mh okay three config files, but only a couple of lines for each of them, and most involved initial setup 19:33 < Wombert> under normal circumstances, it's just an executeXmlrpc() for the view and a new route 19:33 < Wombert> and you're done 19:34 < Wombert> now show me how to do that with symfony 19:34 < Wombert> oh wait looks like they suck too much 19:34 < Wombert> http://www.symfony-project.com/forum/index.php/m/4229/ 19:57 < Wombert> oO 19:57 < Wombert> lol 19:57 < Wombert> http://www.symfony-project.com/forum/index.php/m/4229/ vs http://www.symfony-project.com/forum/index.php/m/4229 19:57 < Wombert> wtf :p 20:05 < shoan_> they are both the same url :p 20:08 -!- stoni [i=sto@240.pool80-103-37.dynamic.uni2.es] has joined #agavi 20:10 < Wombert> yeah but different pages with and without / at the end 20:37 < splatch`> hello 20:42 < Wombert> hi splatch` 20:42 < Wombert> how are you doing? 20:42 < Wombert> :> 20:43 < splatch`> i has been in school 20:43 < Wombert> oO 20:43 < Wombert> on sundays? 20:43 < splatch`> and now, I restin' 20:43 < splatch`> Wombert: yes 20:43 < splatch`> Wombert: school in weekends 20:45 < splatch`> Wombert: we calling this "extramural studies" 20:48 < splatch`> wihmm.. how are you doing? 20:55 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 20:56 < Wombert> splatch`: lllllllook and listen 20:57 < CIA-11> david * r1096 /trunk/ (21 files in 10 dirs): 20:57 < CIA-11> added experimental support for Web Services, right now one concrete 20:57 < CIA-11> implementation for the XMLRPC-EPI PHP extension is bundled (no support for 20:57 < CIA-11> response options and input/output character encoding detection yet). sample app 20:57 < CIA-11> contains a small test case for that - use xmlrpc.php and call method 20:57 < CIA-11> 'getItemPrice', argument 'name' may be any of what can be viewed in 'Search 20:57 < CIA-11> Engine Spam' in the web interface. refs #301, #302 and #332 20:57 < Wombert> there you go. enjoy :) 20:57 < splatch`> Wombert: ... :)~~ 20:57 < impl> Hey now what's that sound? Everybody look what's going 'round 20:57 * impl doesn't even know if those are the real lyrics 20:59 < Wombert> brb 22:06 -!- splatch [i=splatch@kazad.be] has joined #agavi 22:06 < splatch> Wombert: maybe today kazek will show new logo 22:09 -!- splatch [i=splatch@kazad.be] has quit [Client Quit] 22:12 < splatch`> http://kazek.pl/agavi/ 22:12 < splatch`> benny`work, eremit, Macca`, stoni, Wombert, shoan_, ttj, digitarald, impl, v-dogg 22:13 < Wombert> oO 22:14 < Wombert> :> 22:14 < impl> I like the third one the best 22:14 < Wombert> which? 22:14 < impl> http://kazek.pl/agavi/_logo.png 22:14 < splatch`> Wombert: kazek says: the logo is fast draft 22:14 < Wombert> splatch`: okay 22:14 < Wombert> what does everyone else think? impl? 22:14 < impl> It looks more like an 'i' 22:14 < Wombert> should we have a plant in the logo 22:14 < Wombert> or rather a plain "i"? 22:15 < Wombert> ah 22:15 < Wombert> right 22:15 < impl> Out of curiosity, what does the plant have to do with anything 22:15 < Wombert> these are different 22:15 < Wombert> it's an agave plant 22:15 < impl> Ooh 22:15 < Wombert> but I'm starting to think that maybe we should leave it out of the logo? 22:15 < Wombert> http://en.wikipedia.org/wiki/Agave 22:15 < Wombert> grows in the mojave desert, too, by the way ;) 22:16 < impl> Why not just make it the logo and have the I remain as it is 22:16 < Wombert> splatch`: the second logo, is that a different font? or the same? 22:16 < impl> e.g. [plant here] [agavi text here] 22:16 < Wombert> impl: yeah that might be a good idea 22:16 < Wombert> splatch`: did you get that? 22:16 < splatch`> Wombert: yes, i'll ask 22:16 < Wombert> the plant in front of the logo, and a "normal" i 22:16 < Wombert> splatch`: the plant can also be even simpler if you like 22:16 < digitarald> i liked the blue skie 22:16 < Wombert> splatch`: does he have alternative fonts? 22:17 < Wombert> something bolder and maybe less... curvy? 22:17 < Wombert> digitarald: I agree, blue is better, but I think I understand the idea behind it 22:17 < Wombert> splatch`: is that for morning and evening and day etc? 22:17 < Wombert> and is that snow on the plant there? (in 3_1) 22:17 < splatch`> Wombert: yy, i don't get 22:18 < digitarald> the agavi in the i ... nice idea 22:18 < Wombert> digitarald: hmm you think so? 22:18 < Wombert> I'm not sure 22:18 < digitarald> thats your weather ;) ... 22:18 < Wombert> I'm thinking that having two "parts"... the plant and a lettering... would be better, don't you think? 22:18 < Wombert> because the plant could go into the favicon, for instance 22:19 < digitarald> looks good ... the name says the plant ... otherwise it would be difficult to see the agavi in this ... flower 22:19 < digitarald> agave ... not agavi :D 22:19 < Wombert> splatch`: what didn't you understand? I'll say it again :) 22:19 < splatch`> Wombert: ok :) 22:19 < digitarald> the menu in the header is better than floating in the context ... 22:20 < splatch`> Wombert: you wrote "There would be a button in the upper right titled "show me the weaaatheeerrrr" or so, that could be used to enable/disable the clouds. " 22:20 < Wombert> I really like the "SHOW ME THE WEATHER" font 22:20 < digitarald> and the blue is a must-have ... a 4th color, makes it all shiny ;) 22:20 < splatch`> kazek was extend this 22:20 -!- stoni [i=sto@240.pool80-103-37.dynamic.uni2.es] has quit [Read error: 110 (Connection timed out)] 22:20 < digitarald> where to put the fancy ajax action :D 22:22 < Wombert> splatch`: you mean summer and winter etc? it's snowing there, I can see... very cool 22:22 < digitarald> common links should be in the header ... like the rss or svn newsfeed. svn newsfeed is very important i think, to show the fast evolution of agavi 22:23 < Wombert> splatch`: here's an idea... we always show the weather, and the "SHOW ME WEATHER" button becomes "FIX GRAVITY" 22:23 < Wombert> because that light orange bar would stay if the gravity gets "fixed" 22:23 < digitarald> the homepage now shows nothing about 0.11 ... there are old news about 0.10 ... everybody should know thats an project with cool and hard-working developers! 22:23 < Wombert> splatch`: can you ask him to change it so the menu looks like the "SHOW ME WEATHER" tab? 22:23 < digitarald> thats not too small? 22:23 < Wombert> and the active element would have a triangle at the bottom like in http://kazek.pl/agavi1.png 22:24 < Wombert> digitarald: he can make it larger 22:24 < Wombert> how about the following... "FIX GRAVITY" in upper left 22:24 < Wombert> RSS icon in top right (perfect... with the orange background) 22:24 < Wombert> and the menu in the "middle" 22:24 < impl> "Now with anti-gravity suits" 22:25 < Wombert> impl: yeah we could put changing slogans into that... what's this thing in the upper right called? 22:25 < impl> A banner? :s 22:25 < Wombert> okay 22:25 < Wombert> what I thought 22:25 < impl> I'm not sure what the exact terminology is 22:26 < splatch`> so.. logo is good in this form? 22:26 < Wombert> splatch`: should I create a quick version of what my idea is so he can see? 22:27 < Wombert> splatch`: I think it would be better if the plant was in front of the "AGAVI", with a normal "i" 22:27 < Wombert> so we can leave the plant out sometimes, or sometimes only show the plant (in the FAVICON for example) 22:27 < Wombert> splatch`: should I create a quick photoshop? 22:27 < splatch`> Wombert: good idea ;) 22:42 < Wombert> uploading... 22:43 < Wombert> wtf oO 22:44 < Wombert> splatch`: http://www.bitxtender.com/wom/agavi3_1_2.png 22:44 < Wombert> digitarald, impl ? 22:44 < Wombert> the fonts for the menu item things suck, of course 22:44 < Wombert> and the feed icon is way too big etc etc 22:45 < Wombert> splatch`: could kazek try some other fonts for the logo? 22:45 < impl> Yeah, that could work 22:45 < impl> I like the logo like that better too 22:45 < impl> Your "I" is quite straight... :P 22:45 < Wombert> it could be a bit... "wider" I think 22:45 < Wombert> so the logo itself becomes more square-shaped 22:45 < Wombert> not sure tho 22:45 < Wombert> and entirely up to the designer 22:46 < Wombert> especially since that's kinda hard to achieve with a slim plant that grows 10 meters tall 22:47 < Wombert> splatch`: the "defeat gravity" banner would then contain something else, we could also change that every month or so 22:47 < Wombert> splatch`: and the clouds in the background would always show... and maybe with snow in the winter etc, and that reddish sky in the autumn or so 22:47 < Wombert> splatch`: I'm not sure if the menu is good like that, maybe kazek has a better idea? 22:48 < Wombert> and say thanks again for his hard work 22:48 < Wombert> we really appreciate it! 22:49 < Wombert> impl: we could make the entire header thing static, what do you think? 22:49 < Wombert> so only the content itself scrolls 22:49 < Wombert> I also thought about having this page there for the start page 22:50 < impl> That would look cool 22:50 < Wombert> and for sub-pages, a navigation menu would be on the left, layed over the plant... it would look like the "Recent Forum threads" box, but the background would be semi-transparent, with a milk glass blur 22:50 < impl> I know if you make the background static like that, it really lags Firefox though 22:50 < Wombert> mmmh I can't wait to build the XHTML for it 22:50 < Wombert> does it? 22:50 < Wombert> hmm 22:50 < impl> Yeah 22:50 < Wombert> I got an idea then ;) 22:50 < Wombert> next to the feed icon 22:50 < impl> I'm not sure if they've fixed that with FF 2.0 or later versions of 1.5 22:50 < Wombert> or next to "fix gravity" 22:50 < Wombert> another tab 22:51 < Wombert> with a pin 22:51 < Wombert> ;) 22:51 < Wombert> ooooh dude that's gonna be schweet 22:51 < Wombert> and it will degrade nicely, i.e. if you don't have javascript, it all still works (albeit with a page reload) 22:51 < Wombert> but your preferences are remembered in a cookie, of course 22:51 < impl> Well, I don't want to burst your bubble or anything, but when people start seeing all these options to change the page layout they're probably going to get distracted from the actual contents 22:52 < impl> The focus of the site should always be on showing the content 22:52 < Wombert> true 22:52 < Wombert> BUT(!) 22:52 < Wombert> having the menu bar fixed or at least toggleable serves a real purpose 22:52 < Wombert> because the navigation is always visible then 22:52 < impl> That's also true 22:52 < impl> I'm not sure about the 'fix gravity' option though 22:53 < impl> That's just a bit weird for me 22:53 < Wombert> the dark orange (light orange, i.e. menu, stays) and the grass would flip to the bottom 22:53 < Wombert> so the plant grows "correctly" 22:53 < impl> Yeah, but what's the point of that :P 22:53 -!- splatch [i=splatch@kazad.be] has joined #agavi 22:53 < Wombert> oh 22:53 < impl> I think it's cuter to just have the 'defeat gravity!' banner 22:53 < Wombert> splatch`: did you get what I wrote? 22:54 < splatch> sorry Wombert i've problems with my i-connection 22:54 < Wombert> splatch: no problem 22:54 < splatch> and i got messages to 21:48:02 22:54 < Wombert> http://users.tkk.fi/~tjorri/agavi/logs/agavi-200610.log 22:54 < Wombert> impl: you are certainly right, we gotta choose carefully what to do and what not 22:55 < Wombert> I wouldn't have had this whole "defeats gravity" idea anyway if it wasn't for kazek's brilliant idea of having things upside down 22:55 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 22:56 < pressureman> hey Wombert... long time no see 22:56 < Wombert> hey pressureman 22:56 < pressureman> work has been extremely chaotic lately... haven't had much time for php dev 22:56 < pressureman> i just did an svn up and it broke my app :( 22:57 < pressureman> revision 1055 onwards raises an agavi exception 22:57 * impl can't wait for stable API so he can hack in actionchains :< 22:58 < pressureman> Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Entity 22:58 < pressureman> 'copy' not defined in Entity, line: 18 in 22:58 < pressureman> /usr/share/php/agavi/filter/AgaviFormPopulationFilter.class.php on line 22:58 < pressureman> 117 22:58 < pressureman> that's what i get 22:58 < Wombert> okay 22:58 < Wombert> you have two options 22:58 < pressureman> i saw the 'warning: breakage in the commit" 22:58 < Wombert> if your stuff is utf8, insert a copyright character instead of an entity 22:59 < Wombert> if not, you can set the "parse_xhtml_as_xml" setting to "off" in the filter config 22:59 < Wombert> as a parameter to the filter 22:59 < pressureman> hmm 23:00 < pressureman> yes, i do use a © at the bottom of my pages 23:00 < Wombert> pressureman: but are they utf8? 23:00 < Wombert> or do you use iso-8859-1 or something 23:00 < pressureman> utf8 all the way maaaan ;-) 23:00 < impl> Can't you load XML entities for these? 23:01 < Wombert> pressureman: then insert the (c) symbol directly! 23:01 < pressureman> sweet! 23:01 < Wombert> instead of © 23:01 < Wombert> there are also other options, such as having DOM validate your stuff on parse 23:01 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 23:01 < Wombert> that would load theDTD and validate your document against it 23:01 < Wombert> but that's slow 23:02 < impl> Character entities: do we still need them? PR #671 23:02 < impl> State: Approved 23:02 < impl> Resolution: Accepted 23:02 < impl> User: None 23:02 < impl> Notes: 23:02 < impl> The WG believes that there's still a need for character entities. We need to find a solution. On 9 September 2003, the WG agrees to retain character entities; DTDs therefore still necessary; it might be possible to supply a DTD that only provides the entities. 23:03 < pressureman> hey, if the doc tells the browser to use utf8 char set, i don't see char entities being required in my stuff 23:03 < pressureman> much simpler IMHO 23:04 < pressureman> the world would be a better place (especially in cyrillic countries) if every website used utf8 23:04 < pressureman> down with KOI-8 ! ;-) 23:06 < Wombert> UTF8, gregorian calendar, UTC for everything 23:06 < Wombert> that would be awesome 23:06 < Wombert> and maybe even english 23:07 < pressureman> metric time... ;-) 23:07 < impl> Not English :\ maybe a language that makes sense 23:07 < pressureman> german makes reasonable sense to me 23:07 < pressureman> seems to follow the rules more strictly than english 23:07 < impl> English doesn't even have rules 23:07 < Wombert> oooh metric system yeah 23:08 < pressureman> not surprising, considering that english is a bastardisation of french, italian, german, and anything else it can get it's greedy mits on 23:08 < impl> And if they do, half of the words that are supposed to follow the rule become exceptions to it 23:11 < pressureman> ok, that got me up to svn 1067 23:11 < pressureman> i mean 1066. 23:11 < pressureman> in 1067, my forms don't populate 23:13 < splatch> quit 23:13 -!- splatch [i=splatch@kazad.be] has quit ["leaving"] 23:14 < Wombert> pressureman: did you read the 1067 changeset message? 23:14 < Wombert> arrays are now used to populate forms by ID 23:14 < Wombert> array index being the ID of the form, value a parameter holder of elements 23:15 < Wombert> if you'd like to populate the "current" form as in the good olden times, use a parameter holder 23:15 < Wombert> they accept an array in the constructor, so just change 23:15 < Wombert> $req->setAttribute('populate', array(...), 'org.agavi.filter.FormPopulationFilter'); 23:15 < Wombert> to 23:15 < Wombert> $req->setAttribute('populate', new AgaviParameterHolder(array(...)), 'org.agavi.filter.FormPopulationFilter'); 23:15 < Wombert> let me know if you have any further trouble 23:16 < pressureman> lemme see 23:16 < pressureman> i'm pretty sure i'm already doing that 23:17 < pressureman> yes i am 23:19 < pressureman> are you referring to the form id? 23:20 < splatch`> och 23:20 < pressureman> ok, it's working on some forms.. 23:21 < pressureman> not others. 23:21 < pressureman> seems to be fail on forms that use <textarea> 23:21 < Wombert> ewww 23:21 < Wombert> again? 23:21 < Wombert> oO 23:21 < pressureman> yeah, your favourite ;-) 23:21 < Wombert> gimme a couple of minutes 23:21 < pressureman> what, am i the only person in the world who uses textarea forms? :P 23:22 < Wombert> are you using application/xhtml+xml maybe? 23:22 < pressureman> yes 23:22 < Wombert> nah I tested that extensively I believe 23:22 * digitarald votes for spanish for i18n language ... best rules ever ;) 23:22 < Wombert> hmm do you really need that? 23:22 < Wombert> you have the choice 23:22 < pressureman> as opposed to what? 23:23 < Wombert> either use (c) instead of © and let it be parsed as XML 23:23 < Wombert> or you don't use application/xhtml+xml and use normal HTML parsing 23:23 < pressureman> huh? 23:23 < Wombert> there are some difficulties in doing proper XHTML files with the header in HTML 23:23 < pressureman> i've changed the © already 23:23 < Wombert> that just won't work 23:23 < pressureman> that fixed the quirk with svn1055 23:23 < Wombert> but do you also use parse_xhtml_as_xml = false now? 23:24 < pressureman> which file is that in? 23:24 < Wombert> if you haven't set it, nevermind 23:24 < Wombert> might be a bug 23:24 < Wombert> gimme a couple of minutes, we'll fix it then 23:24 < pressureman> haven't set it, still used older config 23:25 < pressureman> no rush... i'll leave it on 1066 for now so the office drones can use it 23:25 < pressureman> i'd like to keep using xhtml - it keeps the html design on the straight and narrow 23:25 < pressureman> prevents mismatched tags, unclosed tags etc 23:54 < Wombert> pressureman: so what's wrong with textareas now? 23:54 < Wombert> (I'm back) 23:56 < pressureman> they don't populate in svn1067 onwards 23:57 < Wombert> re-populate on submit? 23:57 < Wombert> or initial population in the code 23:57 < pressureman> it's kinda weird, because neither do any of the <input> types on that form 23:57 < pressureman> initial 23:57 < Wombert> uuuhm 23:57 < pressureman> let me check repopulate 23:57 < Wombert> so nothing populates? 23:57 < pressureman> on those forms, no. but on other forms that don't use textareas, it's fine 23:58 < Wombert> [22:15] Wombert: if you'd like to populate the "current" form as in the good olden times, use a parameter holder 23:58 < Wombert> [22:15] Wombert: they accept an array in the constructor, so just change 23:58 < Wombert> [22:15] Wombert: $req->setAttribute('populate', array(...), 'org.agavi.filter.FormPopulationFilter'); 23:58 < Wombert> [22:15] Wombert: to 23:58 < Wombert> [22:15] Wombert: $req->setAttribute('populate', new AgaviParameterHolder(array(...)), 'org.agavi.filter.FormPopulationFilter'); 23:58 < Wombert> are you doing it this way? even in these forms? you sure? 23:58 < pressureman> yes 23:58 < Wombert> so you're saying having a textarea breaks it? 23:58 < Wombert> can you create a simplified test case for me maybe? --- Day changed Mon Oct 09 2006 00:00 < pressureman> repopulation doesn't work either 00:01 < Wombert> oh 00:01 < Wombert> well 00:01 < Wombert> you have to create a simplified test case then 00:02 < pressureman> ok... i'll create one sometime today, tgz it and email it to you 00:02 < Wombert> thank you 00:02 < Wombert> a view that populates and a template should be enough 00:02 < pressureman> there's not really any rush - it's working ok on 1066 00:03 < Wombert> true, but the sooner we fix any remaining issues the better 00:03 < pressureman> i need to head off to a meeting now, i'll try to get it sent off to you in a few hours 00:04 < Wombert> okay 00:04 < Wombert> thanks 00:05 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 00:24 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 00:59 -!- Wombert [n=Wombert@dslb-088-064-018-100.pools.arcor-ip.net] has quit [] 02:18 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Connection reset by peer] 02:20 -!- Macca` [n=brendanm@maccasoft.com.au] has joined #agavi 02:48 -!- Macca` [n=brendanm@maccasoft.com.au] has quit [Connection timed out] 03:16 -!- benny`work [n=benny@p54AC3217.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:18 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 05:12 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:40 -!- [1]eremit [n=eremit@p5490CC06.dip.t-dialin.net] has joined #agavi 05:59 -!- eremit [n=eremit@p5490FAA6.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:59 -!- [1]eremit is now known as eremit 06:50 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 07:21 -!- Wombert [n=Wombert@dslb-088-064-018-100.pools.arcor-ip.net] has joined #agavi 07:22 < Wombert> morning 07:39 < ttj> Heya. 07:40 < Wombert> hi ttj 07:49 < ttj> What's up? 07:50 < Wombert> not much 07:50 < Wombert> I'm excited I woke up before the alarm at 6:20 07:51 < Wombert> already showered etc, next thing is a good coffee and some toast for breakfast and then I'll continue working on the web services features for agavi 07:54 < ttj> :-) 07:54 < Wombert> and now before breakfast I'm improving a wikipedia article :) 07:55 < Wombert> what's up with you? 07:55 < Wombert> did you see the agavi design and logo drafts? 07:56 < ttj> Sitting in a train, trying to type up use case descriptions, fighting with a GPRS connection. The usual. 07:57 < Wombert> heh 07:57 < ttj> Ah yes, looked at them quickly this morning. 07:57 < Wombert> is GRPS that cheap in finland? 07:57 < ttj> Work phone. :-) 07:57 < Wombert> okay xD 07:57 < Wombert> do you commute every day? 07:57 < ttj> I'll look at them as soon as I get to the office (~70 minutes). 07:57 < Wombert> how long is the train ride 07:58 < ttj> Well, right now I'm going from Salo to Helsinki, so it's around 90 minutes for the train ride. 07:58 < ttj> In Helsinki, I live about 15 minutes from the office. 07:58 < ttj> Ugh, tunnels are a real pain in regards to connectivity. :-/ 08:01 < Wombert> haha 08:01 < Wombert> :> 08:02 < Wombert> so you live in helsinki during the week? 08:02 < Wombert> or did you just visit family or so over the weekend 08:02 < ttj> Yup, visited my folks and saw some friends. 08:02 < ttj> I live, work and study in Helsinki, so essentially my life is in Helsinki. :-) 08:04 < Wombert> :) 08:06 < ttj> Ugh, SoberIT's web server is down. :-/ 08:06 < ttj> Can you get to www.soberit.hut.fi? 08:07 < ttj> Or is it just my GPRS? 08:10 < Wombert> seems down 08:11 < ttj> Well, this doesn't help one bit with my Software Development Methods project. :-( 08:17 < Wombert> mmmh I love the smell of napalm in the morning 08:17 < Wombert> err wait 08:18 < Wombert> I mean toast and coffee 08:18 < Wombert> not napalm 08:18 < ttj> An honest mistake. 08:18 < ttj> Ugh, the train is late. 08:19 < Wombert> just like in germany :) 08:20 < ttj> Woah, the Computer Networks exercise project plan DL is on Friday. I thought it would've been on Thursday. Looks like I can just do it on Friday afternoon, then. \o/ 08:29 < Wombert> :> 08:31 -!- shoan_ [n=shoan@59.92.206.131] has quit [Read error: 110 (Connection timed out)] 08:46 < v-dogg> huomenta 08:53 < Wombert> morning 09:29 -!- shoan [n=shoan@59.92.206.131] has joined #agavi 09:35 < CIA-11> david * r1097 /trunk/src/response/AgaviXmlrpcepiphpResponse.class.php: made XMLRPC responses compatible with the specification 10:02 < v-dogg> Wombert: tell me about this xml-rpc thingy you've made 10:03 < Wombert> v-dogg: one second 10:03 < Wombert> hmm 10:03 < Wombert> weird 10:03 < Wombert> this work 10:03 < Wombert> s 10:03 < Wombert> hmm 10:03 < Wombert> I'm still fighting with the encodings a bit 10:03 < Wombert> but in essence 10:03 < Wombert> you can now expose any action via XMLRPC 10:03 < Wombert> SOAP and REST are to follow 10:03 < Wombert> look at the sample app 10:03 < Wombert> the search engine spam thing has a new feature that displays the price of the item 10:04 < Wombert> this functionality is also available as a web service 10:04 < Wombert> the script is xmlrpc.php, the method name is "getItemPrice", it expects a "name" as the only argument 10:04 < Wombert> you have to pass in a struct as the only value on the top level 10:05 < Wombert> the struct contains name and value pairs 10:05 < Wombert> what you then get back is the price of the product :) 10:05 < Wombert> look at the code... web interface and XMLRPC web service both use SearchEngineSpamAction 10:05 < Wombert> they also use the same view 10:05 < Wombert> just different output types 10:06 < Wombert> in practice this means that you can drop a web service interface onto any existing application 10:06 < Wombert> without routing, the method name is Module:Sub.Action.Name 10:06 < Wombert> with routing, you use sth like "getItemPrice" for the remote procedure name and then map that to a module and an action using the routing 10:06 < Wombert> cool, eh? :) 10:07 < Wombert> check out factories.xml, output_types,xml, routing.xml 10:07 < Wombert> plus SearchEngineSpamAction and both Views 10:07 < v-dogg> will do 10:08 < Wombert> did you ever use XMLRPC? 10:08 < Wombert> if not, sorry if anythign in my description was too complicated 10:08 < Wombert> I'll be happy to explain it in detail 10:09 < v-dogg> I've tried it briefly but never done any real work with it 10:11 -!- Wombert [n=Wombert@dslb-088-064-018-100.pools.arcor-ip.net] has quit [Nick collision from services.] 10:11 -!- Wombert [n=Wombert@dslb-088-064-019-137.pools.arcor-ip.net] has joined #agavi 10:12 < Wombert> darn 24h disconnect 10:13 < Wombert> v-dogg: http://phpfi.com/161710 10:14 < Wombert> that will echo an XMLRPC response with the price for viagra (run it from the console, or use view source in the browser to see the XML document) 10:14 < Wombert> errrr maybe remove charset=utf8 from the header there 10:14 < Wombert> but should work either way 10:17 -!- shoan [n=shoan@59.92.206.131] has quit [] 10:37 < Wombert> guys 10:37 < Wombert> I'm so amazed how in the end everything fits together 10:38 < Wombert> for instance, let's say you want the web service localized 10:38 < Wombert> you could either do it via the routing, using the URL 10:38 < Wombert> or pass it as an argument to the url 10:38 < Wombert> or pass a value in the XMLRPC call 10:38 < Wombert> mmmmh 10:38 < Wombert> tasty 10:38 < Wombert> (talking about passing in a locale here) 11:20 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:59 < Wombert> w000t 11:59 < Wombert> works :) 12:06 < CIA-11> david * r1098 /trunk/ (4 files in 4 dirs): (log message trimmed) 12:06 < CIA-11> upgraded XMLRPC functionality from 'experimental' to 'beta', now has full 12:06 < CIA-11> input/output encoding and output options support. incoming data will be stored 12:06 < CIA-11> as UTF-8 by default, use 'encoding' config parameter for the request to specify 12:06 < CIA-11> a different charset. response supports all options described in 12:06 < CIA-11> http://xmlrpc-epi.sourceforge.net/main.php?t=php_api#output_options - note that 12:06 < CIA-11> escaping will only be 'markup' and 'non-print', not 'non-ascii', which breaks 12:06 < Wombert> UTF-8. enjoy." 12:55 -!- digitarald [n=Miranda@55.Red-83-50-117.dynamicIP.rima-tde.net] has joined #agavi 13:37 -!- CyberMad [n=cybermad@202.73.117.106] has joined #agavi 13:37 -!- CyberMad [n=cybermad@202.73.117.106] has left #agavi [] 13:45 -!- eremit [n=eremit@p5490CC06.dip.t-dialin.net] has quit [Read error: 113 (No route to host)] 13:45 -!- eremit [n=eremit@p5490CC06.dip.t-dialin.net] has joined #agavi 16:06 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 16:30 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 17:33 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:34 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 17:58 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 18:18 -!- digitarald [n=Miranda@55.Red-83-50-117.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 19:09 -!- benny`work [n=benny@p54AC3D3A.dip0.t-ipconnect.de] has joined #agavi 19:29 -!- iratik [n=comp@dsl092-192-056.sea1.dsl.speakeasy.net] has joined #agavi 19:29 < Wombert> hi iratik 19:30 < iratik> wow, i've been greeted 19:30 < Wombert> welcome to Agavi :) 19:30 < iratik> I've got a major project coming up with a trillion requirements , it needs to very maintainable, very quick, and i need to get started on the right foot 19:31 < iratik> I was going to start with my own proprietary &action=(insert function here) mvc framework, but I'm looking elsewhere 19:31 < iratik> ORiginally the project started tiny 2 years ago, and about 120 features and upgrades have been patched into it - creating the abomination in use today 19:32 < iratik> The most comprehensive enterprise resource management system ever created, but its an absolute mess of php/html tag soup, various methods of accessing the same db - sprinkled with singleton ajax instances to implment minute features in a huge framework 19:32 < iratik> I have to redo it and i'm considering using agavi - and i came here to gauge the level of community support for the project 19:34 < iratik> This documentation is looking scary though, I've seen alot of stuff in the video that I don't see any mention of here 19:36 < iratik> doesn't look like its far enough along, 11.97 hours between messages - it isn't being developed that fast 19:37 -!- digitarald [n=Miranda@55.Red-83-50-117.dynamicIP.rima-tde.net] has joined #agavi 19:39 < Wombert> it is! 19:39 < Wombert> the video is way outdated 19:39 < Wombert> 0.10.2 isn't supported anymore 19:39 < Wombert> trunk is developed incredibly fast 19:39 < Wombert> we're close to a 0.11 release together with new website, documentation etc 19:40 < Wombert> sorry for the confusion, I realize it's not really ideal 19:40 < Wombert> not much people on IRC right now but... hmm maybe digitarald can testify how good agavi is :) 19:41 < Wombert> it sounds you're looking for flexibility etc, I believe you've come to the right place 19:41 < Wombert> let's say you have an existing application 19:41 < Wombert> and now want an XMLRPC API for it 19:41 < Wombert> no problem with agavi... no need to write new code (except, of course, for the few lines that determine what goes into the response) 19:42 < Wombert> form re-population is totally independent of the template engine used (we don't lock you in!) - no stupid helper methods or anything 19:42 < Wombert> full i18n based on the unicode CLDR 19:42 < Wombert> except for i18n, it's pretty much finished 19:42 < iratik> so it has form-generator methods? 19:42 < Wombert> 0.11 is the last release before 1.0 19:42 < Wombert> no, no generation 19:42 < Wombert> that sucks 19:42 < Wombert> you write a simple html form 19:42 < iratik> How does it do linking up with the database? 19:42 < Wombert> but without the hassle 19:43 < Wombert> no <input type="text" name="foo" value="<?php echo ...?>" /> 19:43 < iratik> just the default mysql methods? 19:43 < Wombert> <input type="text" name="foo" /> and the rest is magic 19:43 < Wombert> any database you want 19:43 < Wombert> we have adapters for native stuff, as well as creole, adodb, propel... 19:43 < Wombert> you can use whatever you like, though 19:43 < Wombert> we don't force you to use any specific solution 19:43 < iratik> any authentication patterns built in - or is it a strict mvc framework? 19:44 < Wombert> we have a security system 19:44 < Wombert> it also supports RBAC 19:44 < Wombert> authentication is entirely up to you 19:44 < iratik> are there any other sites with tutorials, documentation, articles on agavi? 19:44 < iratik> hopefully the 2 sites i found aren't it, but i didn't find any other links 19:44 < Wombert> http://blog.bitxtender.com/2006/08/01/agavi-project-activity/ 19:45 < Wombert> there is not _much_ documentation 19:45 < Wombert> the trunk includes a sample app that showcases some of the stuff 19:45 < Wombert> the routing for example (the best there is, seriously!), some i18n, XMLRPC, authentication, form population 19:45 < Wombert> checkout trunk and play around with the sample app a bit 19:45 < iratik> How would you compare agavi to Symfony? 19:46 < Wombert> without the intention to bashing them 19:46 < Wombert> we get things right 19:46 < Wombert> it's a proper framework 19:46 < Wombert> symfony is very good for RAD but... it has absolutely poor design 19:46 < iratik> what do you mean 'poor design' ? 19:46 < Wombert> for instance, in symfony, if you want to make an operation (let's say ViewProductDetails) ajax capable, you have to create a new action for it 19:47 < Wombert> they don't have the level of abstraction you need for enterprise apps, either 19:47 < Wombert> in agavi, you write an action once 19:47 < iratik> But in agavi, you don't have to create a new action, but there isn't any documentation to do it either? 19:47 < Wombert> and then you can use it for XHTML output, PDF, JSON, XMLRPC, whatever you want 19:47 < iratik> oooh.. that sounds nice 19:47 < Wombert> it's simply a matter of "agavi action" on the command line ;) 19:47 < Wombert> and... symfony has kind of a poor IP attitude 19:48 < Wombert> they violate licenses etc and don't give a shit 19:48 < Wombert> but that's an entirely different story 19:48 < Wombert> let me show you an example 19:48 < Wombert> of what agavi can do 19:48 < iratik> I'm looking at - if the output JSON ability fails at 4:00 AM, will i be forced to go to forums and IRC because of insufficient documentation 19:49 < Wombert> that's true, but then, other frameworks simply don't have the concept of output types 19:49 < Wombert> in symfony, your business logic (actions) contains tons of presentational data 19:49 < Wombert> sucks 19:49 < iratik> yikes 19:49 < Wombert> there will be documentation 19:49 < Wombert> as I said... we're close to 0.11 beta 1 19:49 < Wombert> beta 1 doesn't mean unstable or incomplete 19:49 < iratik> Yeah, i'm almost completely unconcerned with presentation for this project 19:50 < iratik> what about upgrading? 19:50 < Wombert> but simply "open to suggestions for changes" 19:50 < Wombert> and 19:50 < Wombert> we won't change anything (unless absolutely necessary) between 0.11 and the next release, 1.0 19:50 < Wombert> all we add is more unit tests, more documentation, even more documentation, and maybe some extra features 19:50 < iratik> If i start development at 0.11 , and you release a better version , how difficult is it going to be to port everything over to 1.0? 19:50 < Wombert> I hope (and so far it looks like it'll be the case) nothing 19:51 < Wombert> the goal is to only add documentation and more tests (and, of course, fix bugs should there be any) between 0.11 and 1.0 19:52 < Wombert> I realize the lack of documentation is a big issue 19:52 < Wombert> we started on a manual 19:52 < Wombert> it's all in trunk 19:52 -!- AgaviBot [n=dzuelke@dslb-088-064-019-137.pools.arcor-ip.net] has joined #agavi 19:52 < iratik> whats trunk? 19:52 < Wombert> errr 19:52 < Wombert> SVN? 19:52 < Wombert> subversion? repository? :) 19:53 < Wombert> meet AgaviBot 19:53 < iratik> documentation is in SVN too? 19:53 < Wombert> yes, for now 19:53 < Wombert> he has a "web" and an "irc" context 19:53 < Wombert> with differnet controller, request, response and routing implementations 19:53 < Wombert> !seen ttj 19:53 < AgaviBot> Wombert: ttj is online right now, last message on Tue Sep 26 23:36:49 2006 saying "I guess I could look at some flights tomorrow and possibly pay it out of my pocket and then try to get something back from the company. :P" (joined Tue Aug 15 00:11:25 2006) 19:53 < Wombert> !info 19:53 < AgaviBot> Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 19:53 < CIA-11> dominik * r1099 /trunk/ (4 files in 4 dirs): 19:53 < CIA-11> BREAKING CHANGE! 19:53 < CIA-11> renamed the "method" attribute "constraint" and made "method" set the request method 19:53 < CIA-11> renamed the "stopping" attribute to "stop" 19:53 < Wombert> try that with symfony ;) 19:53 < digitarald> where is the web interface? ;) 19:54 < Wombert> private, here on my box 19:54 < Wombert> it's basically just a proof-of-concept 19:54 < iratik> I'm not looking at symfony as much right now, cuz partly of you, and some bad reviews i've seen out there 19:54 < Wombert> their problem is that they copied what they liked about other frameworks 19:54 < iratik> CakePHP is contending now - i have to make a decision soon to either go with an MVC , or go on my own 19:54 < Wombert> don't go on your own 19:54 < Wombert> it's sooo much work 19:54 < Wombert> you know 19:55 < Wombert> I wasn't satisfied with what options there were 19:55 < Wombert> so I joined the agavi project 19:55 < Wombert> and since I took over project lead 19:55 < Wombert> I and the guy I'm running my company with have been pushing things forward a lot 19:55 < Wombert> so we finally have a good release that really makes things possible where you had to resort to ugly hacks before 19:55 < Wombert> digitarald: tell him about how good the form population is ;) or the routing ;) 19:56 < Wombert> so he has a (slightly) non-biased opinion, too <: 19:56 < Wombert> back to topic... for instance, symfony copied the entire locale information folder from prado, but they left out the license.txt 19:56 < Wombert> I still haven't figured out why... 19:56 < Wombert> they just don't give a shit about licenses of stuff they bundle etc 19:56 < iratik> people seem to be talking alot about agavi, mojavi and cake 19:57 < Wombert> I'm also a lead developer of Propel, and it makes me angry that they threw propel into their distribution, but the root LICENSE file says "public domain, copyright fabien potencier" 19:57 < iratik> I hear propel is pretty quick 19:57 < Wombert> personally, I don't find cake too attractive in terms of structure and cleanliness, either 19:58 < Wombert> I made it a lot faster the other day, yeah ;) 19:58 < Wombert> the 1.3 branch now uses PDO (faster) and autoloading (faster) 19:58 < digitarald> is it stable? 19:58 < Wombert> 1.3? no 19:58 < Wombert> we still gotta sort some PDO glitches 19:58 < Wombert> for instance, all column values are returned as strings at the moment 19:58 < iratik> So compare propel and agavi? 19:58 < Wombert> errr 19:59 < iratik> yikes 19:59 < Wombert> propel is a database abstraction layer 19:59 < Wombert> agavi is an mvc framework 19:59 < iratik> active record? 19:59 < Wombert> shall I draw a venn diagram? 19:59 < Wombert> looks about like this 19:59 < digitarald> compare bread and butter ;) 19:59 < Wombert> O O 19:59 < Wombert> :> 19:59 < Wombert> not active record 19:59 < Wombert> active record sucks 19:59 < Wombert> because it determines stuff at runtime 19:59 < Wombert> makes things slow 19:59 < Wombert> also I can't see the point why I would have to build my database 19:59 < digitarald> ror does have a nice active record :) 19:59 < Wombert> and then rebuilt the entire structure as objects again 19:59 < Wombert> stuuuupid 20:00 < Wombert> yeah but it's stupid 20:00 < Wombert> it doesn't even use foreign keys 20:00 < Wombert> how pathetic is that 20:00 < Wombert> (native foreign key constraints) 20:00 < iratik> actually active record uses foreign keys quite well , it just doesn't figure out anything else but that in there 20:00 < iratik> but if I wanted to use ror, i would use ror 20:00 < Wombert> word 20:00 < Wombert> :) 20:00 < Wombert> where are you from btw? 20:00 < iratik> springfield, mo 20:01 < Wombert> :>> 20:01 < iratik> I'm highly familiar with php, which means if I needed to fix something FAST at 4:00 AM, I could probably do it in php 20:01 < Wombert> you want my honest opinion? 20:01 < iratik> with ror, i'm more likely to run into a wall where I have to go on IRC or forums 20:01 < Wombert> as a user, not as the developer of agavi? 20:01 < Wombert> pick an advanced framework 20:01 < Wombert> something that doesn't get in your way 20:02 < Wombert> PRADO is good, too, but has an entirely different approach to things 20:02 < Wombert> RoR is great for building stuff quickly 20:02 < Wombert> but if you want to leave the path they line out for ya 20:02 < Wombert> you're lost 20:02 < Wombert> and you have to resort to the ugliest hacks the world has seen, ever 20:02 < iratik> with agavi, i'm afraid i'll run into a wall with agavi because of the documentation which is not abundant at present, - regardless of how intuitive agavi is or how well it separates the logic of the layers, I need to be able to make the clients happy 20:03 < Wombert> I always get the impression that you get to 95% of the project in no time and spend the rest of the time you "saved" in the first place on hacking the remaining things into shape 20:03 < Wombert> the thing is this: 20:03 < Wombert> agavi is very logic, very clean, and I'd say you can learn it relatively soon 20:03 < Wombert> the API is fully documented, should you ever run into an issue 20:03 < Wombert> AND 20:03 < iratik> Where do i even go to learn it 20:03 < Wombert> (important point) 20:04 < Wombert> you can change _everything_ 20:04 < Wombert> every single aspect 20:04 < Wombert> don't like how the request works? swap it for your custom implementation 20:04 < Wombert> etc 20:04 < Wombert> well the manuals folder has an intro manual 20:04 < Wombert> that describes the basic structure 20:04 < Wombert> after that, you'd look at the sample app 20:04 < Wombert> which gives you a pretty good idea 20:05 < Wombert> then, you can always ask me, or anyone else around (usually there are a bit more people here on IRC) 20:05 < Wombert> AND 20:05 < Wombert> I'll soon spend some time on writing docs 20:06 < iratik> i need details , not basic structure- first thing I need to do is hook up the database so that everything is talking in JSON 20:06 < Wombert> it depends on how much time you have 20:06 < Wombert> okay 20:06 < Wombert> then pick the database layer you like best and you're good to go 20:06 < Wombert> we don't tell you which to use 20:06 < iratik> then authentication 20:06 < iratik> then ACL 20:06 < Wombert> it's your choice 20:06 < iratik> then onto everything else 20:06 < Wombert> an authentication sample is in the sample app 20:06 < Wombert> how much time would you have to learn it? 20:07 < iratik> so this first thing - i'm looking at agavi.org/docs/api 20:07 < Wombert> nah 20:07 < Wombert> do a checkout of trunk 20:07 < Wombert> the latest stuff is in there 20:07 < iratik> why would documentation be in trunk? 20:07 < Wombert> the website is horribly outdated and I'm working with the server owner (a former agavi developer) to move stuff to a new server and site 20:08 < Wombert> because trunk is the latest stuff 20:08 < Wombert> and 20:08 < Wombert> it's constantly changing 20:08 < Wombert> so you build the api docs on your own ;) 20:08 < digitarald> every 11.38 hours ;) 20:08 < Wombert> simply a matter of "phing docs" on the command line 20:08 < Wombert> no, more often 20:08 < Wombert> at least recently 20:08 < digitarald> when will be the server switch? 20:08 < Wombert> I just wrote an email to bob 20:08 < Wombert> I hope he gets back to me soon 20:09 < iratik> good god- how do you use SVN 20:09 < Wombert> iratik: w00t! 20:09 < Wombert> you _have_ to learn that 20:09 < Wombert> it's essential for development 20:09 < Wombert> even if you're working on a project alone 20:09 < iratik> i've never had to 20:09 < Wombert> you do, really, trust me 20:09 < Wombert> version control is important 20:09 < iratik> i've always worked with stable releases, plenty of documentation - and have never done anything from SVN ,because if its in SVN, its there because its not ready yet 20:10 < Wombert> a) for going back in time b) for keeping track of things c) for release management and d) for collaboration 20:10 < Wombert> digitarald: come on already, tell him ;) 20:10 < Wombert> digitarald: we gotta do the server switch soon... I noticed notification emails stopped working 20:11 < Wombert> iratik: http://trac.agavi.org/trac.cgi/roadmap 20:11 < Wombert> as you can see, no real show stoppers left for 0.11 20:11 < iratik> Wow, this site should be the main site 20:11 < Wombert> the only thing that's not in a really usable state is internationalization 20:12 < Wombert> do you plan to internationalize your project? 20:12 < iratik> straight answer, nope 20:12 < Wombert> ;) 20:12 < Wombert> too bad 20:12 < Wombert> you'd love it ;) 20:12 < iratik> regardless, Its discouraging to have to learn how to use SVN (which is for people developing the project, not those implementing the project) 20:13 < Wombert> hmm 20:13 < iratik> If the documentation looked remotely like ror documentation - i would have no hesitation to use it 20:13 < iratik> I like these uml diagrams though 20:13 < digitarald> 0.11 is stable ... the whole basic features work ... just caching is missing 20:13 < Wombert> no offense, really, but every software developer should know CVS or SVN 20:13 < v-dogg> what UML? 20:13 < iratik> http://trac.agavi.org/trac.cgi/attachment/wiki/UML/basics.png 20:13 < Wombert> v-dogg: oh you're there too 20:14 < v-dogg> iratik: roger 20:14 < v-dogg> don't know whether those are out-dated too, though 20:14 < Wombert> iratik: I understand that 20:14 < iratik> ITs just odd that I don't see any docuemntation for "getInstance" or "getController" or what parent classes they hail from - or anything in the online docs 20:14 < Wombert> however, we're currently focusing on having a stable 0.11 release out 20:14 < Wombert> THEN we document it 20:14 < Wombert> then we tell everyone to use it 20:15 < iratik> i thought it was stable? 20:15 < Wombert> yes, but not yet released... as we're still adding features 20:15 < iratik> like caching? 20:15 < Wombert> the issue is that if we announce a big release or document something 20:15 < Wombert> and then people have to change their projects because we break BC 20:15 < Wombert> that doesn't help anyone 20:15 < v-dogg> what's there is pretty much stable 20:15 < Wombert> we must have a completely stable API first 20:15 < Wombert> exactly 20:15 < iratik> that is true 20:15 < Wombert> caching is non-functional because so many things changed since 0.10 20:16 < Wombert> and i18n isn't complete yet, either 20:16 < Wombert> we and others use trunk in production tho 20:16 < Wombert> eremit does, for instance, and so do digitarald and v-dogg if I'm not mistaken 20:17 < iratik> example sites? 20:17 < eremit> yeah ^^ ... trunk in production ... :) ... on wednesday the application goes live ^^ 20:17 < Wombert> I'm not allowed to say, unfortunately 20:17 < Wombert> maybe someone else? 20:17 < Wombert> eremit: you? 20:18 < digitarald> can't show my degree work ;) 20:18 < Wombert> iratik: a lot of the functionalities were inspired by the needs of mixxer.com 20:18 < Wombert> they use agavi as a middleware 20:18 < v-dogg> yes, I use trunk (but I haven't updated last two weeks because of some bc issues) 20:18 < Wombert> that gave a lot of input regarding structure etc 20:18 < Wombert> i.e. how to separate things 20:19 < iratik> looks like alot of rewrite on that site 20:19 < iratik> its really fast though 20:19 < eremit> Wombert, sorry on wednesday ... 20:19 < Wombert> eremit: k 20:19 < eremit> you can thank the f.... german law ... :P ... 20:19 < Wombert> iratik: I'm sure eremit, digitarald and v-dogg can share their thoughts on the strenghts of agavi 20:20 < iratik> very fast in fact 20:20 < Wombert> and how stable it is etc 20:20 < Wombert> disclaimer: I believe they use an older version. but the new version isn't slow, either, I just can't say because I haven't compared performance 20:20 < Wombert> last time I checked we were on exactly the same level 20:20 < eremit> iratik, agavi is fast ... one of our design goals where 30 reqs / sec on a heavy sql site ... and we matched 37 with ease 20:20 < Wombert> but that was more than a month ago 20:20 < digitarald> i'm using agavi for generating content for different outputs. i have ajax requests that can fetch json or xml data ... even client-applications can fetch them. a real feature of agavi ... makes all accessible because of falbacks to xhtml output 20:21 < digitarald> ... and its fast (if you have debugging off ;) ) 20:22 < iratik> hmm... I'll go learn svn and look at the documentation - thats the most important issue 20:22 < Wombert> iratik: are you using SVN? 20:22 < iratik> I've never needed to 20:22 < Wombert> by the way, you're also welcome to contribute documentation 20:22 < Wombert> iratik: sorry 20:22 < Wombert> I mean 20:22 < Wombert> are you using Windows 20:22 < Wombert> or something else 20:22 < digitarald> svn isnt something to learn ... just checkout and then sometimes an update ;) 20:23 < iratik> I'm chatting on a windows machine 20:23 < iratik> i'm next to a linux server and a linux box 20:23 < Wombert> then use http://tortoisesvn.tigris.org/ 20:23 < Wombert> makes SVN a piece of cake 20:23 < Wombert> http://en.wikipedia.org/wiki/SVN 20:23 < Wombert> basic concept: http://en.wikipedia.org/wiki/Revision_control 20:24 < digitarald> tortoisesvn ... makes everything easy .. fluffy ;) 20:24 < iratik> i've used svn once 20:24 < iratik> for edge rails - and it seemed like apt 20:24 < Wombert> nah, entirely different idea etc 20:25 < Wombert> and, of course, a different purpose ;) 20:25 < Wombert> with SVN, you manage source code 20:25 < iratik> i just don't understand how documentation is there - svn is for code, programs, experimental unreleased things 20:25 < Wombert> no 20:25 < Wombert> SVN is the central thing 20:25 < v-dogg> SVN is for everything, not just for code 20:25 < Wombert> if we want to package a release, we grab the version from SVN and put it into a ZIP file or so 20:26 < Wombert> each time you do a change to your source code, you commit that change to the SVN server 20:26 < Wombert> only the changes are transferred 20:26 < Wombert> other people working with you can then "update", the changes are merged into their copies 20:26 < Wombert> that way, several people can even work on the same files 20:26 < Wombert> and you can always go back in time etc 20:26 < Wombert> have separate development branches you merge together later etc etc etc 20:26 < iratik> yikes 20:27 < digitarald> this is a freebie open svn server, very nice: http://opensvn.csie.org/ 20:27 < Wombert> couldn't you just use svn itself? ;) 20:27 < Wombert> and maybe a local repository 20:27 < Wombert> but that's for when he creates his software project 20:27 < digitarald> just register your project, u can use your account in 1 minute, checkout first and start with developing ;) 20:27 < iratik> i'm downloading that tortoise thing - Just to see the documentation 20:27 < Wombert> for now, all he needs is do a checkout of trunk 20:27 < Wombert> iratik: for your information 20:27 < Wombert> we're working on a new website 20:28 < Wombert> it will also have nightly snapshots 20:28 < iratik> yeah you guys should do that 20:28 < iratik> everyone in #php recomended agavi/mojavi - so thats wy i'm looking into it so deeply 20:28 < Wombert> oh 20:28 < Wombert> how kind of them :) 20:28 < v-dogg> woot? 20:28 < Wombert> I didn't realize we had fans over there 20:29 < Wombert> would that mean our userbase is larger than we know? :> 20:29 < Wombert> by the way 20:29 < iratik> if they hadn't said anything - I wouldn't have even given it a second look after I saw that documentation 20:29 < Wombert> mojavi is dead 20:29 < iratik> well I run php5 20:29 < Wombert> iratik: yeah we know that 20:29 < Wombert> but without a final, stable release 20:29 < Wombert> we'd only scare people off 20:30 < digitarald> if you are forced to use php4 i appreciate mojavi2 :) 20:30 < Wombert> the goal is to have a release + some basic documentation + final new website by november 6 the latest 20:30 < Wombert> because that's when PHP Conference in Frankfurt is, and I'm going there, and I will do some publicity work to get people to use it ;) 20:31 < iratik> alright i don't know what i'm doing - but I've created a folder c:\dev\agavi , and i've right clicked it and clicked svn checkout 20:31 < iratik> URL of repository? 20:33 < Wombert> svn://svn.agavi.org/agavi/trunk 20:34 < iratik> HEAD revision? 20:34 < iratik> or "revision <enter something here>"? 20:35 < Wombert> head 20:35 < Wombert> means the latest revision 20:35 < iratik> doesn't that mean the buggiest? 20:36 < iratik> alright , i'll check this stuff out - everyone i've _talked_ to says go with agavi, all the hype i've read says prado, cakephp 20:36 < digitarald> cake suckz 20:36 < iratik> thanks for the guidance Wombert 20:37 < digitarald> it wanted to be the doSomeMagic() function we are all searching 20:37 < digitarald> the holy grail of doWhatINeed() 20:37 < iratik> thats not very good though 20:37 < iratik> Its difficult to maintain a single function for everything 20:37 < iratik> but anyway - i'll look at the docs - all i need is complete documentation - and i'll start development 20:38 -!- iratik [n=comp@dsl092-192-056.sea1.dsl.speakeasy.net] has left #agavi [] 20:38 < digitarald> btw ... who's writing documentation? ;) 20:38 < Wombert> how about you? :) 20:38 < Wombert> and anyone else 20:39 < digitarald> i wanted to write about ... mmmhh ... something ... special ... don't know. may be ... my first agavi form ;) 20:39 < digitarald> if there is a wiki to post stuff like that i will put my 2cents into :) 20:39 < digitarald> it 20:40 < digitarald> can't start right now ... wanted to start some time ago ... but workworkwork. had to crawl into typo right now, what a heck 20:41 < Wombert> docbook! 20:41 < Wombert> no wiki nonsense please 20:41 < Wombert> put documentation where it belongs 20:41 < digitarald> ;) 20:41 < digitarald> then u must link an actual rendered docbook for download on the website ... 20:42 < digitarald> do it for me ;) ... i love chm, i have every documentation in chm :D ... until i will get me a mac 20:43 < digitarald> is cachingexecutionfilter still for 0.11 ... ? i really need it to finish my application 20:44 -!- shoan [n=shoan@59.92.139.202] has joined #agavi 20:45 < Wombert> digitarald: does it depend on caching that badly? 20:46 < Wombert> digitarald: no, no rendered docbook 20:46 < Wombert> not until it's at least a bit done 20:46 < Wombert> also, docbook is not only for viewing, but also for editing 20:46 < Wombert> so if you want to contribute, you have do download an editor anyway ;) 20:46 < Wombert> http://xmlmind.com/xmleditor 20:47 < Wombert> splatch`: are you there? 20:47 < digitarald> i have one, no need to spread your fav-links ;) 20:47 < Wombert> I'm always mentioning it because it's java so it runs everywhere ;) 20:47 < digitarald> i know :) ... eclipse, too 20:48 -!- AgaviBot [n=dzuelke@dslb-088-064-019-137.pools.arcor-ip.net] has quit [Remote closed the connection] 20:49 < digitarald> will u put the source of agavibot on the new site? 20:49 < Wombert> yeah but 20:49 < Wombert> I need to clean it up a bit first etc 20:50 < Wombert> it's one of the things where I really need an untroubled weekend to sit down and get it done 20:50 < Wombert> there are other things that are a lot more important right now 20:50 < digitarald> weekend ... u are using your new word ... fine ;) 20:51 < Wombert> v-dogg: you there? 20:51 < Wombert> yeah I learn quick 20:51 < Wombert> :> 20:51 < v-dogg> hoblaa 20:51 < Wombert> what's up with http://trac.agavi.org/trac.cgi/ticket/323 20:51 < Wombert> and do you know where horros is? 20:51 < Wombert> haven't seen him lately 20:51 < Wombert> I hope he's fine 20:53 < v-dogg> he has probably caught the same thing I have - crazy work load 20:54 < Wombert> aaah the usual suspects 21:18 < v-dogg> Wombert: you've used ez components, right? 21:19 < v-dogg> how am I supposed to use the autoload thingy? 21:35 < Wombert> v-dogg: not sure 21:36 < Wombert> I think you have to include the base class 21:36 < Wombert> and the rest then just works 21:36 < Wombert> because it lazyloads the other package's autoload definitions automatically 21:37 < Wombert> not 100% sure tho 21:37 < Wombert> isn't there documentation? :( 21:37 < v-dogg> not too much 21:37 < v-dogg> but I have it working now 21:37 -!- digitarald [n=Miranda@55.Red-83-50-117.dynamicIP.rima-tde.net] has quit [Read error: 131 (Connection reset by peer)] 21:38 < v-dogg> require 'ezcomponents/Base/src/base.php'; require 'ezcomponents/Base/src/base_autoload.php'; require 'ezcomponents/Mail/src/mail_autoload.php'; spl_autoload_register(array('ezcBase', 'autoload')); 21:46 < Wombert> oO 21:47 < Wombert> I'm sure I read that there is a directory layout where it will autoload the autoload definitions 22:06 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:44 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 22:53 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 23:02 < Wombert> ... 23:02 < Wombert> WTF 23:02 < Wombert> ARRRRGHHHH 23:02 < Wombert> http://www.symfony-project.com/trac/browser/trunk/lib/storage/sfCreoleSessionStorage.class.php#L30 23:02 < Wombert> line 30 23:02 < Wombert> * # <b>session_name</b> - [Agavi] - The name of the session. 23:02 < Wombert> what the FUCK are these ASSHOLES thinking 23:02 < Wombert> enough is enough 23:02 < Wombert> looks like it's time for a mad blog posting 23:03 < Wombert> and just for the record 23:03 < Wombert> that's why we'll have all contributors sign a CLA 23:03 < Wombert> this rovert dickhead again 23:04 < Wombert> grrr 23:04 < Wombert> he idled here, copied some code, and eventually disappeared to get the fame for it over at symfony or what? 23:16 -!- stoni [i=sto@203.pool80-103-38.dynamic.uni2.es] has joined #agavi 23:26 < benny`work> Wombert, ouch...that's really mad what they'r doing 23:38 < Wombert> no copyright 23:38 < Wombert> but that's not the problem 23:38 < Wombert> the problem is that they took LGPLed code 23:38 < benny`work> it's legal...but not ok 23:38 < Wombert> and put it into their MIT licensed thing 23:38 < Wombert> no it's not 23:38 < Wombert> it violates the license 23:39 < benny`work> ah...symfony is mit 23:39 < benny`work> didn't know that 23:39 < benny`work> btw: agavi webiste mockup is aweful ;) 23:40 < Wombert> really? 23:40 < Wombert> :( 23:40 < benny`work> hehe...i really love it ;) 23:52 < Wombert> good :> 23:59 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi --- Day changed Tue Oct 10 2006 00:06 < Wombert> gaaaawsd 00:06 < Wombert> http://www.symfony-project.com/trac/browser/trunk/lib/storage/sfSessionStorage.class.php?rev=1682 00:06 < Wombert> ... 00:06 < Wombert> FFS 00:06 < Wombert> and who did it? 00:06 < Wombert> ROVERT 00:06 < Wombert> AAARRRGGGGGHHHHHHHH 00:22 < Wombert> and google bought youtube 00:24 < impl> Wombert: What's so bad about that commit? 00:25 < Wombert> impl: they copied code from us 00:25 < Wombert> without copyright notice 00:25 < Wombert> as they did before 00:25 < impl> Directly? 00:25 < Wombert> rovert always does that 00:25 < Wombert> yes, the cookie stuff 00:25 < Wombert> http://www.symfony-project.com/trac/browser/trunk/lib/storage/sfCreoleSessionStorage.class.php#L30 00:25 < Wombert> that's OUR file 00:25 < Wombert> v-dogg wrote it 00:25 < Wombert> they copied it from US 00:25 < impl> haha 00:25 < Wombert> and then 00:25 < impl> Those bastards 00:25 < Wombert> they put it under their MIT license! 00:25 < Wombert> it's LGPLed code 00:25 < Wombert> they don't have a license to do that 00:25 < impl> /join #symfony 00:26 < Wombert> these FUCKING MORONS 00:26 < impl> Let's troll them 00:26 < Wombert> no 00:26 < Wombert> their users are blithering idiots 00:26 < Wombert> they won't understand a word 00:26 < impl> We'll start slow 00:27 < Wombert> k 00:27 < Wombert> :> 00:27 -!- iratik_ppp [n=comp@dsl092-192-056.sea1.dsl.speakeasy.net] has joined #agavi 00:27 < iratik_ppp> And, umm - nothing works 00:28 < iratik_ppp> its all flat xml files - it doesn't seem to have a single entry point 00:28 < impl> Er? 00:28 < iratik_ppp> I just gave up after that , looked at prado - which looked quite promising (lots of documentation) 00:28 < Wombert> iratik_ppp: it's a docbook 00:28 < iratik_ppp> its a what? 00:28 < impl> Oh 00:29 < iratik_ppp> where is index.html ? 00:29 < impl> Docbook, it's an XML specification for writing documentation 00:29 < Wombert> when we have a release, there will be html versions of it 00:29 < iratik_ppp> or index.xml ? 00:29 < iratik_ppp> ahhh.. . how do i render it into html? 00:29 < Wombert> www.xmlmind.com/xmleditor is a good editor/viewer 00:29 < Wombert> it can also export it 00:29 * impl needs to go through the docbook stuff and fix grammar 00:29 < Wombert> iratik_ppp: do you care about intellectual property? 00:29 < Wombert> impl: I'd be very grateful if you could do that 00:30 < iratik_ppp> I care about it when it involvesmoney 00:30 < impl> haha 00:30 < Wombert> FYI 00:30 * impl slaps iratik_ppp around a bit with a large UNIX manual 00:30 < Wombert> symfony copies other people's code 00:30 < Wombert> violaties licenses 00:30 < Wombert> which means they use illegal copies 00:30 < iratik_ppp> I don't like the idea of someone else making money of off someone elses hard work 00:30 < Wombert> for instance, also of our code 00:31 < iratik_ppp> Yeah, but I asked a question in there that didn't get a response - so i gave up on symfony - i don't care how well its documented 00:31 < Wombert> iratik_ppp: I said earlier that I recommend you use a "high-end framework" 00:31 < iratik_ppp> I would rather start off on a bare bones MVC framework like agavi than try to wizard my way through anything 00:31 < Wombert> most symfony users are php beginners 00:31 < Wombert> and they cater for that 00:31 < iratik_ppp> as well as cakephp too? 00:31 < impl> CakePHP is just disgusting 00:32 < impl> They have no standards of naming conventions or anything 00:32 < Wombert> they're very nice guys tho 00:32 < Wombert> had a chat with the lead dev the other day 00:32 < iratik_ppp> meh.. I'm not a fan of that user interface crap anyway - I like to code interfaces and abstraction in php - and pass off 100% of the UI to javascript with php fallbacks 00:32 < iratik_ppp> thats why I almost crapped my pants when you said agavi had native JSON support - that was really impressive 00:33 < iratik_ppp> I've always had to code in a DB>JSON abstraction mechanism 00:33 < benny`work> brb 00:34 < Wombert> native... of course you have to encode the json yourself in some way 00:34 < Wombert> PHP has an extension, for instance 00:35 < iratik_ppp> I know, thats fine - but the decision to output as JSON , or XML or XHTML or some other format - that switching presentation mechanism would be nice 00:35 < Wombert> let me give you an example 00:35 < iratik_ppp> that would be jolly 00:35 < Wombert> you have a ViewProductAction 00:35 < Wombert> in there, you grab the information from the database 00:35 < Wombert> that's your business logic 00:35 < Wombert> you then store that information and pass control to the view by returning it's name 00:35 < Wombert> return 'Success'; 00:35 < Wombert> that will run ViewProductSuccessView 00:36 < Wombert> this view has a generic execute() method where you can set the template etc 00:36 < Wombert> maybe set a cookie or so (remember... setting cookies is presentation, as it depends on what you're outputting) 00:36 < Wombert> or it contains methods specific to the output type, they are preferred over the generic method 00:36 < Wombert> so you'd have an executeHtml() and an executeJson() 00:36 < impl> Views are dependent upon contexts right? 00:36 < Wombert> impl: mmmh... no, not really 00:36 < impl> Each context can have a different view 00:37 < Wombert> what do you mean? 00:37 < Wombert> nah, one view for everything, but one execute*() method per output type (if you want) 00:37 < iratik_ppp> executeXHTML6 - or executeHTML4NOJS 00:37 < impl> Oh, mmk 00:37 < Wombert> that would work 00:37 < iratik_ppp> that makes me drool a little 00:37 < Wombert> haha 00:37 < Wombert> you want to hear the most charming part about it? 00:37 < impl> So contexts are really just for different controllers and such? 00:37 < Wombert> impl: for the implementations, yes 00:38 < Wombert> our routing doesn't only allow you to match URLs (mind you, routes can be nested etc) 00:38 < Wombert> you can also match stuff from other sources 00:38 < Wombert> and you can set the locale, output type and some other stuff from within the routing 00:38 < Wombert> <route pattern="text/javascript" source="_SERVER[HTTP_ACCEPT]" output_type="json" stop="false" /> 00:38 < iratik_ppp> so if the user-agent is Internet Explorer 3.0 then I can direct it to executeHTML4NOJS 00:38 < Wombert> at the top of your routing.xml 00:38 < Wombert> et voila 00:38 < Wombert> yes, exactly 00:39 < Wombert> in this case, the output type is set to json if the request had text/javascirpt in the Accept: header 00:39 < Wombert> I believe Prototype sends that header 00:39 < iratik_ppp> What is Prototype? (Please don't say the javascript library) 00:40 < Wombert> yeah the javascript library ;) 00:40 < Wombert> it was just an example 00:40 < Wombert> you can use whatever you like 00:40 < iratik_ppp> Yeah -- I'm a hardcore jquery fan now 00:40 < Wombert> you could also just prefix urls or so 00:40 < Wombert> I'm sure JQuery sends an X-Requested-With header or something you can easily detect 00:40 < Wombert> isn't that sweet? 00:40 < iratik_ppp> yeah , sounds pretty awesome 00:40 < iratik_ppp> ahh. that xml thing just download 00:41 < Wombert> the documentation is very... uhm... incomplete 00:41 < Wombert> three files 00:41 < Wombert> each has a little bit in it 00:41 < Wombert> let me know if you have any suggestions regarding the structure etc etc 00:41 < Wombert> (of the documentation) 00:41 < Wombert> I'm one of these crazy germans, you know, my english probably sucks a lot ;) 00:42 < iratik_ppp> yeah thats what scares me - i haven't seen any code or any examples of how development with agavi works - there is literally nothing to go by other than the 'sparse' community 00:42 < impl> Wombert: I assume you'd prefer British/European English in the documentation (as opposed to American) 00:43 < Wombert> the sample app will give you a basic idea, iratik_ppp 00:43 < iratik_ppp> with every other framework - i've seen webcasts, 100's of people on the chats, but i've seen a lot of crap 00:43 < iratik_ppp> prado was quite fast though 00:43 < iratik_ppp> and well documented 00:43 < Wombert> also, we should probably get you rolling with that helper script of ours 00:43 < Wombert> saves a lot of pain 00:43 < Wombert> do you have pear installed? 00:43 < Wombert> and set up? 00:43 < iratik_ppp> Do I? 00:43 < iratik_ppp> yeah I have pear installed and set up 00:44 < Wombert> sweet 00:44 < Wombert> could you please install the latest Phing version as described on http://phing.info 00:44 < iratik_ppp> i just did 00:44 < Wombert> by the way... we'll also have a huge website and all 00:44 < iratik_ppp> before I tried symfony I had to 00:44 < Wombert> but we first need a stable, properly amazing release to back the bold claims we'll have on our website 00:44 < Wombert> okay 00:44 < Wombert> in etc/ you'll find an agavi.bat-dist 00:45 < Wombert> create a new folder somewhere below your docroot 00:45 < Wombert> and copy that file there, rename it to agavi.bat and 00:45 < iratik_ppp> however, i haven't yet downloaded agavi - i just downloaded it to the windows pc to look at the documentation 00:45 < Wombert> didn't you do a checkout via svn? 00:45 < Wombert> ah okay 00:45 < iratik_ppp> yeah on the windows box 00:45 < iratik_ppp> not on the server 00:45 < Wombert> so you're on linux now? 00:45 < iratik_ppp> yeah , should be easy - let me see if I already have svn 00:46 < Wombert> impl: to be very honest, I don't have any particular preference but... 00:46 < impl> Alright, I'll try to make it as European as I can then 00:46 < Wombert> well in fact I used to like AE better... until I visited London 00:46 < Wombert> mmmh it really doesn't matter much, dude... do it the way it looks and sounds right 00:47 < impl> Okay :P 00:47 < iratik_ppp> Wow maybe svn is going to be harder than I thought to install 00:47 < iratik_ppp> apt-get install svn doesn't work 00:48 < Wombert> subversion? 00:48 < iratik_ppp> nor does apt-cache search svn return anything 00:48 < Wombert> try apt-get install subversion 00:48 < iratik_ppp> that works 00:49 < iratik_ppp> although it didn't come up in the search 00:49 < impl> Wombert: Do you know offhand the docbook tag for inline code? 00:49 < iratik_ppp> done 00:49 < Wombert> impl: should be <code> 00:49 < iratik_ppp> now what 00:49 < Wombert> are you using that editor? 00:49 < impl> Wombert: Yeah 00:49 < Wombert> select the text you want, mark it and click the rightmost button 00:50 < Wombert> that convert (wrap) thing 00:50 -!- stoni [i=sto@203.pool80-103-38.dynamic.uni2.es] has quit [Connection timed out] 00:50 < impl> Mhh 00:50 < iratik_ppp> Do i need to have an abstraction layer of any type? 00:51 < impl> ah hah 00:51 < impl> Found it, thanks 00:51 < iratik_ppp> wait whats this in the docs about pear support - why do I have to use SVN if I can use pear? 00:51 < Wombert> because there is no release of 0.11 00:52 < Wombert> you could build a pear package from SVN and install that 00:52 < Wombert> but it will probably break 00:52 < impl> Wombert: er :x how do I remove a tag? 00:52 < Wombert> since we're only ever looking at that before a release 00:52 < Wombert> impl: use control-arrowup 00:52 < iratik_ppp> ahhh 00:52 < Wombert> iratik_ppp: so you have a checkout, too? 00:52 < impl> Wombert: Thanks 00:52 < iratik_ppp> How do I checkout with svn? 00:53 < iratik_ppp> (i can't believe i'm going through these hoops, but i'm quite curious) 00:53 < Wombert> :) 00:53 < Wombert> create a folder 00:53 < iratik_ppp> done 00:53 < Wombert> agavi-trunk 00:53 < Wombert> don't change to it 00:53 < Wombert> svn co svn://svn.agavi.org/agavi/trunk <foldername> 00:54 < Wombert> do regular "svn up"s 00:54 < Wombert> each day or so 00:54 < Wombert> so the latest changes are synced to your copy 00:54 < Wombert> impl: does that work? 00:54 < iratik_ppp> co=check out? 00:54 < Wombert> exactly 00:54 < Wombert> co or "checkout" can be used 00:54 < impl> Wombert: kinda 00:54 < Wombert> "up" or "update" 00:54 < iratik_ppp> oh good god thats alot 00:54 < Wombert> does that select the parent tag, impl ? 00:54 < impl> Yeah 00:55 < Wombert> iratik_ppp: yeah it's gonna take a short while 00:55 < Wombert> impl: now you can right-click and say force deletion 00:55 < Wombert> this editor really is a pain 00:55 < impl> Wombert: Ooh, alrigh 00:55 < impl> t 00:55 < iratik_ppp> Checked out revision 1099 00:56 < Wombert> good 00:56 < iratik_ppp> it put everything into trunk instead of agavi-trunk 00:56 < Wombert> whatever you prefer :) 00:56 < Wombert> is it in your docroot? 00:56 < Wombert> or somewhere below? 00:56 < Wombert> so it's accessible from the webserver? 00:57 < Wombert> doesn't have to be, just asking 00:57 < iratik_ppp> no i didn't from home directory, what i'll do is make a symlink under my docroot to /trunk 00:57 < Wombert> not necessary 00:57 < Wombert> don't do that ;) 00:57 < Wombert> leave it this way 00:57 < Wombert> better idea anyway 00:57 < iratik_ppp> alright 00:57 < Wombert> create a symlink in your docroot 00:57 < iratik_ppp> just move the samples to a public directory? 00:58 < Wombert> to samples/pub/ 00:58 < iratik_ppp> thats what i thought, thats what i meant 00:58 < impl> er 00:58 * impl looks at Wombert 00:58 < Wombert> doesn't have to be the docroot that is symlinked 00:58 < impl> <IfModule mod_rewrite.c> 00:58 < impl> # enable rewrite engine 00:58 < impl> RewriteEngine Off 00:58 < Wombert> impl: yeah that's probably not gonna work I guess 00:58 < iratik_ppp> i get the wording switched 00:58 < impl> I think it's a bit misleading :P 00:58 < Wombert> quite 00:59 < Wombert> iratik_ppp: now all you have to do is edit pub/index.php and change the path there 00:59 < Wombert> to /where/ever/is/agavi/trunk/src/agavi.php 00:59 < Wombert> and, of course, chmod a+rwx samples/app/cache 01:00 < Wombert> now call the directory (or index.php) and you should see something 01:00 < iratik_ppp> wow http://www.loadmax.com/dev/agavi/ 01:00 < iratik_ppp> i'm already farther than I got with symfony 01:00 < Wombert> great! 01:00 < Wombert> it's german 01:00 < Wombert> the i18n is just very experimental in the sample app 01:01 < iratik_ppp> too bad its not in french 01:01 < Wombert> click "einloggen" 01:01 < Wombert> and try to log in 01:01 < Wombert> I'll fix that later, as soon as I found a gettext editor that doesn't suck 01:01 < iratik_ppp> with what user/password? 01:01 < Wombert> enter something 01:01 < Wombert> and see what happens ;) 01:01 < Wombert> check the checkbox, too 01:01 < Wombert> do you see how the form gets re-populated? and how erroneous fields are highlighted? 01:02 < iratik_ppp> i like that , agavi is definitely not the first framework to do that for you though 01:02 < Wombert> oooh 01:02 < Wombert> wait until you say that 01:02 < impl> Wombert: Does agavi project create a sample .htaccess file? 01:02 < Wombert> look at samples/app/modules/Default/templates/IndexInput.php 01:02 < impl> `agavi project` I mean 01:02 < Wombert> and tell me what you find odd there 01:02 < Wombert> impl: I think so, yeah, let me have a look 01:02 < Wombert> impl: I believe it creates a dist.htaccess 01:03 < impl> Okay 01:03 < impl> The sample has a file contained _.htaccess 01:03 < Wombert> let me check the build.xml 01:03 < iratik_ppp> there is no index input ,there is LoginInput.php 01:03 < Wombert> iratik_ppp: sorry, that's what I mean 01:03 < Wombert> (it's the template for the "Input" view of "LoginAction", FYI) 01:03 < iratik_ppp> That is an interesting way to do a tableless form 01:04 < Wombert> yeah but the best thing is... 01:04 < iratik_ppp> I tend to use a much more verbose method - but thats fine 01:04 < Wombert> note how we DON't use form helpers 01:04 < Wombert> and 01:04 < Wombert> we don't have any code that fills the values in again 01:04 < Wombert> this population works different 01:04 < Wombert> which means it works with any template language 01:04 < Wombert> plain .php 01:04 < Wombert> smarty 01:04 < Wombert> XSL 01:04 < Wombert> whatever you like, always the identical feature set 01:04 < impl> <available file="${templates.dir}dist.htaccess.tmpl" property="templates.dir.current" value="${templates.dir}" /> 01:04 < Wombert> a central agavi philosophy ;) 01:04 < iratik_ppp> yeah - that leaves me free to do my ajax/jquery magic without interfering with a proprietary mechanism 01:04 < Wombert> impl: yep ;) 01:04 < impl> Guess it's dist.htaccess 01:05 < Wombert> iratik_ppp: precisely 01:05 < Wombert> iratik_ppp: "Chuck Norris" and "kick" are the proper credentials btw 01:06 < iratik_ppp> umm : what does 'suchmaschinenspam' mean - and why is there a viagra add under it 01:06 < Wombert> note the clean URLs 01:06 < Wombert> it's called Search Engine Spam 01:06 < Wombert> it demonstrates a feature of the routing 01:06 < Wombert> buy-cheap-chainsaws-at-agavi-dot-org 01:06 < Wombert> buy-cheap-viagra-at-agavi-dot-org 01:06 < Wombert> etc 01:06 < iratik_ppp> ahhh - money maker 01:06 < iratik_ppp> right. ... 01:06 < Wombert> this action is also exposed as an XMLRPC method 01:06 < Wombert> called getItemPrice 01:06 < Wombert> no duplicate code there ;) 01:07 < iratik_ppp> so , all those savi older horny males can finally get their viagra the SOA way 01:07 < Wombert> :>>>> 01:07 < Wombert> let's create your first project, shall we? 01:08 < iratik_ppp> yeah - i'll try this out real quick - but first 01:08 < iratik_ppp> what about conneecting to the DB, do I need any type of abstraction? 01:08 < Wombert> it's entirely up to you 01:08 < iratik_ppp> or can I do it as i like, just straight in 01:08 < Wombert> we ship adapters for native mysql 01:08 < Wombert> you should use that 01:08 < iratik_ppp> how 01:08 < Wombert> let me explain ;) 01:08 < Wombert> you can use databases.xml to configure database connections 01:08 < Wombert> you specify the "driver" there 01:09 < Wombert> as well as the credentials 01:09 < Wombert> any configuration can be specific to a context 01:09 < Wombert> and to an environment 01:09 < Wombert> so you'd set up two environments 01:09 < Wombert> "development" 01:09 < Wombert> and "production" 01:09 < iratik_ppp> ohkay, now is this like ror where you type agavi projectname , and then go into projectname/config/databases.xml 01:09 < Wombert> with different credentials 01:09 < Wombert> so you don't have to change stuff all the time 01:09 < Wombert> iratik_ppp: yeah, should we do that quickly? 01:09 < iratik_ppp> yeah so let's do a basic application, a guestbook or phonebook perhaps 01:09 < Wombert> okay 01:10 < iratik_ppp> a simple app to manage a list of strings , and the times entered - a guestbook 01:10 < Wombert> create a new folder somewhere inside your docroot and change to it 01:10 < iratik_ppp> that would be simplest 01:10 < Wombert> copy file /path/to/trunk/etc/agavi-dist to that folder and rename it to "agavi" 01:10 < Wombert> make sure it has the "x" flag 01:11 < Wombert> if you enter "phing", you should see "buidl.xml does not exist", right? 01:11 < Wombert> (in that directory= 01:11 < iratik_ppp> build.xml does not exist! 01:11 < Wombert> perfect 01:11 < Wombert> edit ./agavi 01:11 < Wombert> so export AGAVI_INSTALLATION = 01:12 < Wombert> points to /path/to/trunk/src 01:12 < iratik_ppp> done 01:12 < Wombert> (you don't have to do that with a pear install once it's released, by the way) 01:12 < Wombert> cool 01:12 < Wombert> now "./agavi project" 01:12 < Wombert> just hit return at each prompt 01:12 < Wombert> do NOT chmod the cache dir this time 01:12 < iratik_ppp> literally or the project name like "./agavi guestbook" 01:12 < iratik_ppp> or "./agavi project" 01:13 < Wombert> the latter 01:13 < iratik_ppp> the first one 01:13 < iratik_ppp> "Target 'guestbook' does not exist in this project" - so by 'latter' you must have mean't the second one 01:13 < Wombert> yeah 01:14 < Wombert> isn't that what you say? the former... or the latter 01:14 < iratik_ppp> err. we specify which one here 01:14 < iratik_ppp> but thats a local variation 01:14 < iratik_ppp> Modules for my project? 01:14 < Wombert> return 01:14 < Wombert> always 01:15 < Wombert> square brackets indicate default values, these are safe for now 01:15 < iratik_ppp> even LoginModule? 01:15 < Wombert> yes, everything 01:15 < Wombert> we'll create additional stuff later 01:15 < iratik_ppp> 2 minutes 35.29 seconds 01:15 < Wombert> "project" task gets you started with defaults 01:15 < Wombert> good 01:15 < Wombert> now 01:15 < Wombert> you're using firefox 1.5? 01:15 < iratik_ppp> i use three browsers - u want me to use firefox? 01:16 < Wombert> most eye candy there, yes 01:16 < Wombert> 1.5 tho, not 1.0 01:16 < Wombert> doesn't matter much if you don't have 1.5 01:16 < Wombert> but if you do... ;) 01:16 < Wombert> now fire up blah/pub/ in your browser 01:16 < Wombert> you should see an error 01:16 < Wombert> do you? 01:17 < iratik_ppp> it wants me to chmod the cache- thats a pretty error 01:17 < Wombert> check out the stack trace 01:17 < Wombert> you can reveal the code snippets for each item 01:17 < iratik_ppp> nice error tracing 01:17 < Wombert> anyway, chmod it now 01:17 < Wombert> then edit modules/Default/templates/IndexSuccess.php so it contains something 01:17 < Wombert> <p>hello world</p> is enough for now 01:18 < Wombert> and call the page again 01:18 < Wombert> app/modules/Default/templates/IndexSuccess.php 01:18 < iratik_ppp> I see that 01:18 < Wombert> schweet 01:19 < Wombert> so... now you're up and running! :) 01:19 < Wombert> what database do you want to use 01:19 < Wombert> and what way to access it 01:19 < Wombert> we could use propel if you like 01:19 < Wombert> but that takes five minutes or so 01:19 < iratik_ppp> mysql - database "guestbook" table "entries" fields "id", "name", "text", "time" 01:19 < Wombert> however, it's a lot of fun then 01:19 < Wombert> okay 01:19 < iratik_ppp> propel only takes 5 minutes? 01:19 < Wombert> for a guestbook, even less, I'd reckon 01:20 < iratik_ppp> I heard config for propel was a pain 01:20 < Wombert> it isn't 01:20 < Wombert> dead simple 01:20 < Wombert> just some easy xml 01:20 < iratik_ppp> alright let me at least make the tables 01:20 < Wombert> we need only one table here, so it'll be a piece of cake 01:20 < Wombert> no! 01:20 < Wombert> don't :) 01:20 < Wombert> propel will do it for you 01:20 < iratik_ppp> XML is sado masochistic to edit with vim 01:20 < Wombert> I'll write it for you 01:20 < Wombert> let me quickly create a project similar to yours 01:21 < iratik_ppp> alright walk me through propel - you writing it doesn't make it any less painful 01:21 < Wombert> install it 01:21 < Wombert> http://propel.phpdb.org/ 01:21 < Wombert> via pear 01:21 < Wombert> with dependencies, i.e. so you also get creole 01:21 < iratik_ppp> what is creole? 01:21 < Wombert> a database abstraction layer 01:21 < Wombert> used by propel 01:21 < Wombert> at the time propel was started, there was no good alternative 01:22 < Wombert> next propel version will use PDO 01:22 < iratik_ppp> I thought propel was the database abstraction layer 01:22 < iratik_ppp> any way 01:22 < Wombert> propel is a data access object system 01:22 < Wombert> you'll find out what that is soon :) 01:22 < Wombert> and you'll like it 01:22 < iratik_ppp> arghh - just tell me where the quickstart propel install is 01:22 < iratik_ppp> I am starting to hate theses /trac sites 01:22 < Wombert> pear channel-discover pear.phpdb.org 01:23 < Wombert> pear install --alldeps phpdb/propel 01:23 < Wombert> or 01:23 < Wombert> actually 01:23 < Wombert> it should work withput --alldeps 01:23 < Wombert> without 01:23 < iratik_ppp> Package "phpdb/propel" is not valid 01:24 < Wombert> ah 01:24 < Wombert> sorry 01:24 < Wombert> my bad ;) 01:24 < iratik_ppp> not everything always works 100% of the time, its okay 01:24 < Wombert> install propel_generator 01:24 < Wombert> install propel_runtime 01:24 < Wombert> it's two parts, essentially 01:24 < iratik_ppp> so sudo pear install propel_generator 01:24 < Wombert> sudo pear install phpdb/propel_generator 01:24 < Wombert> sudo pear install phpdb/propel_runtime 01:24 < Wombert> should also install creole 01:25 < Wombert> if not... 01:25 < iratik_ppp> ahh it found it 01:25 < Wombert> sudo pear install phpdb/creole first 01:25 < iratik_ppp> f%^# , i got this error with symfony over and over again 01:25 < Wombert> which 01:25 < iratik_ppp> Allowed memory exhausted error - i already increased my limits to 128M for some reason pear uses up gobs and gobs of memory 01:26 < Wombert> are you sure your command line php uses the same php.ini? 01:26 < iratik_ppp> i don't know but a 3rd php ini file popped up between then and now 01:26 < iratik_ppp> hold on.. , restarting server 01:26 < iratik_ppp> its at 128m too now 01:27 < Wombert> restarting shouldn't be necessary; command line php binary isn't running all the time 01:27 < Wombert> does it work now? :( 01:27 < iratik_ppp> good god - i don't know why it didn't ask me to reinstall phing before 01:27 < Wombert> it does now? 01:27 < Wombert> maybe your pear install is messed up now 01:28 < iratik_ppp> yeah - whats the one liner for installing phing? 01:28 < Wombert> I believe it was go-pear 01:28 < iratik_ppp> huh? 01:28 < Wombert> try pear config-show 01:28 < Wombert> and see if anything is wrong 01:28 < Wombert> ah 01:28 < Wombert> phing 01:28 < iratik_ppp> nothing wrong 01:28 < iratik_ppp> pear install phing doesn't work 01:28 < Wombert> pear install phing/phing 01:28 < Wombert> if not... pear channel-discover pear.phing.info first 01:29 < Wombert> you could also do 01:29 < Wombert> pear install --alldeps on the propel thing 01:29 < Wombert> so it downloads required stuff right away 01:30 < iratik_ppp> its going , it had some errors - but it seems it got around them 01:30 < Wombert> so do you now have creole, both propels and phing installed? 01:30 < iratik_ppp> its downloading PhpDocumentor 01:31 < Wombert> ewww 01:31 < Wombert> well on the bright side of things you can use that to generate API docs for agavi ;) 01:31 < iratik_ppp> yeah i guess 01:31 < iratik_ppp> alot of stuff its downloading now 01:31 < iratik_ppp> XML, console table, .... 01:31 < Wombert> uuuah 01:32 < Wombert> okay, let's wait ;) 01:32 < iratik_ppp> install ok: channel://pear.phpdb.org/propel_generator-1.2.0 01:32 < iratik_ppp> now propel_what? 01:32 < iratik_ppp> runtime 01:32 < iratik_ppp> right? 01:32 < Wombert> yep 01:33 < iratik_ppp> install ok 01:33 < iratik_ppp> now what 01:33 < iratik_ppp> propel will generate my tables for me? 01:33 < Wombert> now the party begins 01:33 < Wombert> yes 01:33 < Wombert> give me a minute 01:33 < iratik_ppp> yawn.. okay 01:33 < Wombert> you yawnin? ;) 01:33 < Wombert> it's past midnight here already ;) 01:33 < Wombert> go make yourself a coffee 01:34 < Wombert> meanwhile, create a folder "dev" in your project root 01:34 < Wombert> touch a schema.xml there 01:34 * impl needs to do his homework ;x 01:35 < Wombert> whenever I think of school in america 01:35 < iratik_ppp> imma compile all this into a webcast - for your sake , and that of anyone who ever considers agavi 01:35 < Wombert> I hear that teacher from the peanuts 01:35 < Wombert> iratik_ppp: that would be most excellent and appreciated 01:35 < impl> Mmm, I can't say I'm familiar with that 01:36 < Wombert> you don't know the peanuts? 01:36 < Wombert> wtf 01:36 < Wombert> oO 01:36 < Wombert> even I know them 01:36 < iratik_ppp> yeah 'charlie brown' , made by charles schultz 01:36 < iratik_ppp> he died a while back 01:36 < Wombert> yeah :( 01:36 < impl> I know of it 01:36 < impl> I don't know the teacher or anything though 01:37 < Wombert> any adults 01:37 < Wombert> speak a very weird language 01:37 < Wombert> you don't understand them 01:37 < iratik_ppp> wa wawawa wa wawawa 01:37 < Wombert> it''s basically just BBLLLLLAAAAH BLAAAAH 01:37 < Wombert> hilarious 01:38 < Wombert> iratik_ppp: so what fields do we need? 01:38 < iratik_ppp> i guess for now just 'name' varchar(20), 'message' text, 'date' datetime 01:38 < iratik_ppp> and of course id 01:38 < Wombert> email? url? 01:38 < Wombert> yeah good for validation 01:39 < iratik_ppp> we can do email sure 01:41 < Wombert> cool 01:41 < Wombert> one minute... 01:41 < Wombert> gotta test all this 01:44 < Wombert> mmmh 01:45 < Wombert> damn pear 01:45 < Wombert> gimme a minute, never used propel with pear before 01:45 < iratik_ppp> tis okay 01:48 < Wombert> looks good so far 01:48 < Wombert> let's see if everything went fine 01:48 < Wombert> yay 01:48 < Wombert> awesome 01:48 < Wombert> ooookay 01:48 < iratik_ppp> gr8 01:49 < iratik_ppp> did you get done with the schema.xml? 01:49 < Wombert> yep 01:49 < Wombert> create one 01:49 < Wombert> and insert this (don't change anything) 01:49 < iratik_ppp> pastebin it 01:49 < Wombert> http://pastie.caboo.se/16795 01:49 < Wombert> http://pastie.caboo.se/16795/text better 01:49 < Wombert> also, create a runtime-conf.xml 01:50 < iratik_ppp> and put them where? 01:50 < Wombert> in yourproject/dev 01:50 < impl> Wombert: Is propel relatively fast? 01:50 < iratik_ppp> in pub/../dev 01:50 < Wombert> yes 01:50 * impl is considering using it for his project 01:51 < Wombert> paste this: http://pastie.caboo.se/16796/text and adjust hostspec, database, username and password (do not change datasource names) 01:51 < iratik_ppp> just the database, root, and password? 01:51 < Wombert> yep 01:51 < Wombert> if localhost is your database 01:52 < Wombert> http://pastie.caboo.se/16797/text put that into "build.properties" and adjust the output dir 01:52 < iratik_ppp> in the project dir? 01:52 < Wombert> no, all in yourproject/dev 01:52 < Wombert> this dev folder is on the same level as app and pub 01:53 < Wombert> all three files go there 01:53 < iratik_ppp> huh .. so that directory listing should read "agavi app build.properties pub runtime-conf.xml schema.xml tests" 01:53 < Wombert> no 01:53 < iratik_ppp> or put those three files into dev? 01:54 < Wombert> move build.properties and the two xml files into a folder called "dec" 01:54 < Wombert> yep 01:54 < Wombert> dev 01:54 < iratik_ppp> done 01:54 < Wombert> cool 01:54 < Wombert> go to dev/ 01:54 < iratik_ppp> whats my output directory? 01:54 < Wombert> the full path to that dev dir 01:55 < iratik_ppp> alright it appears that propel.output.dir has been set 01:55 < iratik_ppp> and saved 01:55 < Wombert> export TZ=Europe/London 01:55 < Wombert> just for now 01:55 < Wombert> doesn't matter what it is we just don't want php to complain about it right now 01:55 < iratik_ppp> okay 01:55 < Wombert> only valid for your current shell session, don't worry 01:55 < Wombert> okay 01:55 < Wombert> now in dev/ call "propel-gen" 01:56 < Wombert> should run without errors 01:56 < iratik_ppp> yikes 01:56 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 01:56 < Wombert> what happened 01:57 < iratik_ppp> Exception in XML parsing 01:57 < Wombert> typo? 01:57 < Wombert> runtime config? 01:57 < iratik_ppp> Wow hold on , let me start up ssh - so i can show you real quick 01:57 < Wombert> no worries, fix it and run "propel-gen" again 01:57 < Wombert> what does the error say? 01:58 < iratik_ppp> Its long but here it goes 01:59 < iratik_ppp> [Exception in XML parsing] exception 'ExpatParseException' with message '/usr/share/php/data/propel_generator/build-propel.xml:17:25: ' Unexpected element <available> within <project></project> tags .' in /usr/share/php/phing/parser/ProjectHandler.php:157 01:59 < Wombert> err wtf 01:59 < Wombert> "sudo pear list -c phpdb" 01:59 < Wombert> everything is 1.2.0 ? 02:00 < Wombert> hmm I saw that error just the other day somewhere IIRC 02:00 < Wombert> let me check 02:00 < iratik_ppp> creole is 1.1.0 02:01 < Wombert> that's fine 02:02 < Wombert> php -v 02:02 < Wombert> what does that print? 02:03 < Wombert> "sudo pear list -c phing" 02:03 < Wombert> is it 2.2.0 ? 02:03 < Wombert> hm yeah must be 02:03 < iratik_ppp> no packages installed from channel pear.phing.info 02:04 < Wombert> aaaaah 02:04 < Wombert> that's the problem 02:04 < Wombert> sudo pear uninstall phing 02:04 < iratik_ppp> that error it got around before 02:04 < Wombert> sudo pear channel-discover pear.phing.info 02:04 < Wombert> sudo pear install phing/phing 02:05 < Wombert> you had an old pear version of phing it seems 02:05 < iratik_ppp> installing phing-2.2.0 , install ok 02:05 < Wombert> awesome 02:05 < Wombert> now try again :) 02:05 < iratik_ppp> now try again 02:05 < Wombert> heh exactly 02:05 < iratik_ppp> BUILD FINISHED Total Time: 1.1195 second 02:05 < Wombert> YAY! 02:05 < Wombert> ooookay 02:05 < Wombert> fire up phpmyadmin 02:05 < Wombert> create the database you specified 02:05 < iratik_ppp> i already did 02:05 < Wombert> import dev/sql/schema.xml 02:06 < iratik_ppp> i don't have phpmyadmin - is import a specific feature for phpmyadmin? 02:06 < iratik_ppp> create the table you mean? 02:06 < iratik_ppp> or is import a propel command? 02:06 < Wombert> no 02:06 < Wombert> dev/sql/schema.sql contains the SQL that will create the table for you 02:06 < Wombert> import it into mysql 02:06 < iratik_ppp> ohkay 02:07 < Wombert> hmm not 100% sure how to do that on the command line 02:07 < Wombert> do you know how? 02:07 < iratik_ppp> yep 02:07 < Wombert> good 02:07 < iratik_ppp> created a table "guestbook_entry" 02:07 < Wombert> exactly 02:07 < Wombert> cool 02:08 < Wombert> now let's rock 02:08 < Wombert> a short explanation 02:08 < Wombert> the build.properties is a rather clever one 02:08 < Wombert> because it put everything into the correct folders already 02:08 < Wombert> the runtime config is in app/config 02:08 < Wombert> and the generated models are in app/lib/guestbook 02:08 < iratik_ppp> well there are more than one app now 02:08 < iratik_ppp> there is guestbook/dev/app 02:08 < iratik_ppp> and guestbook/app 02:09 < Wombert> why is there guestbook/dev/app? :( 02:09 < Wombert> oh 02:09 < Wombert> errrrrr 02:09 < iratik_ppp> move build.properties and the two xml files into a folder called "dec" 02:09 < Wombert> xDDD 02:09 < iratik_ppp> go to dev/ 02:09 < Wombert> okay 02:09 < Wombert> mmh 02:09 < iratik_ppp> you told me to move those files there, then go there - then run propel_gen 02:09 < Wombert> localhost:~/Sites/guestbook dzuelke$ ls -l 02:09 < Wombert> total 8 02:09 < Wombert> -rwxr-xr-x 1 dzuelke dzuelke 1479 Oct 10 00:25 agavi 02:09 < Wombert> drwxr-xr-x 9 dzuelke dzuelke 306 Oct 10 00:26 app 02:09 < Wombert> drwxr-xr-x 7 dzuelke dzuelke 238 Oct 10 00:47 dev 02:09 < Wombert> drwxr-xr-x 5 dzuelke dzuelke 170 Oct 10 00:26 pub 02:09 < Wombert> drwxr-xr-x 5 dzuelke dzuelke 170 Oct 10 00:26 tests 02:10 < iratik_ppp> same as myne 02:10 < Wombert> localhost:~/Sites/guestbook dzuelke$ ls -l dev 02:10 < Wombert> total 32 02:10 < Wombert> -rw-r--r-- 1 dzuelke dzuelke 887 Oct 10 00:53 build.properties 02:10 < Wombert> -rw-r--r-- 1 dzuelke dzuelke 576 Oct 10 00:42 runtime-conf.xml 02:10 < Wombert> -rw-r--r-- 1 dzuelke dzuelke 1093 Oct 10 00:47 schema-transformed.xml 02:10 < Wombert> -rw-r--r-- 1 dzuelke dzuelke 745 Oct 10 00:41 schema.xml 02:10 < Wombert> drwxr-xr-x 4 dzuelke dzuelke 136 Oct 10 00:47 sql 02:10 < iratik_ppp> not the same as myne 02:10 < Wombert> how's yours different? 02:10 < iratik_ppp> add app , and dev into that list 02:10 < Wombert> okay 02:10 < Wombert> what's in these? 02:11 < iratik_ppp> It looks as if I should have run propel-gen from the project root, 02:11 < Wombert> nah 02:11 < Wombert> from dev/ 02:11 < Wombert> ah I guess I know 02:12 < Wombert> check build.properties again 02:12 < Wombert> it must point to guestbook/dev 02:12 < iratik_ppp> propel.output.dir = /var/www/web2/web/dev/guestbook/dev 02:12 < Wombert> not guestbook 02:12 < Wombert> errrrrrr 02:12 < iratik_ppp> i think the problem might be that it DOES point to dev 02:12 < Wombert> let me check 02:12 < Wombert> yes 02:12 < Wombert> indeed 02:12 < Wombert> my bad 02:12 < Wombert> I'm really sorry 02:12 < Wombert> remove /dev from there 02:13 < Wombert> and run propel-gen again (from dev/) 02:13 < Wombert> you can then remove dev and app folders inside dev/ 02:13 < iratik_ppp> Wow, now it finished in 0.8243 seconds 02:13 < iratik_ppp> now everything appears to have worked as it should have 02:13 < Wombert> cool 02:13 < iratik_ppp> I hope they keep irc logs 02:13 < Wombert> open app/config/databases.xml 02:14 < Wombert> we do 02:14 < Wombert> throw out the entire postgres thing 02:14 < Wombert> and change the propel database so it points to guestbook-conf.php 02:14 < Wombert> instead of project-conf.php 02:15 < iratik_ppp> where would guestbook-conf.php be, or just change the name because they are in the same sport 02:15 < iratik_ppp> s/sport/spot/ 02:15 < Wombert> theys are in the same spot 02:15 < Wombert> the build.properties was set up so it was copied there by propel 02:15 < Wombert> for convenience 02:15 < Wombert> is it there? 02:15 < iratik_ppp> okay 02:16 < iratik_ppp> yeah 02:16 < Wombert> good. next: open settings.xml 02:16 < Wombert> set use_translation to false 02:16 < Wombert> we don't need that 02:16 < Wombert> and set use_database to true 02:16 < Wombert> you can also change the app name to "Guestbook" 02:16 < iratik_ppp> its already set to false 02:16 < Wombert> ah 02:16 < Wombert> true 02:16 < iratik_ppp> done 02:16 < Wombert> let's stay here for a second 02:17 < Wombert> do you see the second <configuration> block 02:17 < Wombert> the first one is generic. 02:17 < Wombert> the second one is only for the "development" environment 02:17 < Wombert> there, debug mode is on 02:17 < iratik_ppp> yeah, turn debug off? 02:17 < Wombert> no, leave it 02:17 < Wombert> if you wanted to turn it off 02:17 < Wombert> you could instead bootstrap a different environment 02:17 < Wombert> no need to define the environments anywhere 02:17 < Wombert> you can just use them 02:18 < Wombert> have a look at pub/index.php 02:18 < Wombert> we bootstrap 'development' there 02:18 < Wombert> that's fine tho 02:18 < iratik_ppp> alright 02:18 < Wombert> propel is an exception, but for other databases, you have to configure credentials 02:18 < Wombert> so databases could contain two <configuration> blocks, one for each environment, and each contains the respective machine's database settings 02:18 < Wombert> this way, you have to change one thing to adapt your app to a different environment 02:19 < Wombert> we move on 02:19 < iratik_ppp> alright 02:19 < Wombert> one last thing for convenience only 02:19 < Wombert> autoload.xml please 02:19 < iratik_ppp> okay 02:19 < Wombert> throw out everything inside <configurations> (the commented out stuff) 02:19 < Wombert> insert 02:19 -!- benny`work [n=benny@p54AC3D3A.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:19 < Wombert> (pasting that) 02:21 < Wombert> http://pastie.caboo.se/16802/text 02:21 < Wombert> do you see that first line there... 02:21 < Wombert> <configurations parent="%core.system_config_dir%/autoload.xml"> 02:22 < iratik_ppp> can i just download that and surround it by <configurations parent... and end with /configurations 02:22 < Wombert> exactly 02:22 < Wombert> this "parent" thing is another feature of agavi. it means that if that file is requested for compilation by the config handler, it first loads this parent file and merges them together 02:22 < Wombert> in our case, these are the autoload definitions of all of agavi's core classes 02:22 < Wombert> two benefits 02:22 < Wombert> 1) you can overwrite everything 02:23 < Wombert> 2) your own autoload.xml is not cluttered up. if we change something, you don't have to change your stuff. etc. 02:23 < Wombert> of course, this parent file can again have such a parent section 02:23 < Wombert> so you could have a central autoload file for all your projects, for instance 02:23 < Wombert> good. 02:23 < Wombert> almost there 02:23 < Wombert> one last thing, a requirement of propel 1.2 02:24 < Wombert> open app/config.php 02:25 < iratik_ppp> there is only one line of actual code in that whole file 02:25 < Wombert> set_include_path(realpath(AgaviConfig::get('core.app_dir') . '/lib') . PATH_SEPARATOR . get_include_path()); 02:26 < Wombert> put that at the end 02:26 < iratik_ppp> alright 02:27 < Wombert> fantastic 02:27 < Wombert> now we're ready to build our project 02:27 < iratik_ppp> wow - you are going to have to work on this alot to get it anything remotely close to RAD 02:27 < iratik_ppp> but i guess thats not necessarily the goal 02:27 < Wombert> yep 02:27 < Wombert> and 02:27 < Wombert> from now on, things are easy 02:27 < Wombert> agavi has a nice feature that was eventually copied by other frameworks (such as symfony) 02:28 < Wombert> you can add propel object classes to the autoload 02:28 < Wombert> and it will then automatically load and initialize propel for you 02:28 < Wombert> which means hassle-free code 02:28 < Wombert> we just did that with GuestbookEntry (represents a single row) and GuestbookEntryPeer (class for retrieving rows) 02:29 < iratik_ppp> cool - so model files and itterators were automatically generated? 02:29 < Wombert> yes, propel did that from the sxchema 02:29 < Wombert> you'll see how to use it in a minute 02:30 < Wombert> first, a master template, so stuff looks nice 02:30 < Wombert> and it will show you how to use decorators 02:30 < Wombert> let me write something quickly 02:34 < Wombert> okay 02:35 < iratik_ppp> got it? 02:35 < Wombert> iratik_ppp: create modules/Default/templates/Master.php 02:35 < Wombert> http://pastie.caboo.se/16806/text 02:35 < Wombert> this will be our decorator template 02:35 < Wombert> you'll see what it does in a minute 02:35 < iratik_ppp> done 02:35 < Wombert> good 02:36 < Wombert> did you see we use non-declared variables? 02:36 < iratik_ppp> what does $ro refer to 02:36 < Wombert> exactly 02:36 < Wombert> it's the routing 02:36 < Wombert> we use it to generate URLs 02:36 < Wombert> but it's not declared, right? 02:36 < iratik_ppp> I really like this so far, it may not do everything for you, but it gives you ultimate power 02:37 < Wombert> open app/config/output_types.xml 02:37 < iratik_ppp> mkay 02:38 < Wombert> one second... 02:40 < Wombert> hmmmm 02:40 < Wombert> odd 02:41 < Wombert> ah 02:41 < Wombert> my bad 02:41 < Wombert> yeah 02:41 < iratik_ppp> take your time 02:41 < Wombert> wonderful 02:41 < iratik_ppp> all good? 02:41 < Wombert> you bet 02:42 < Wombert> please change Master.php so it echoes $_title instead of $title 02:42 < Wombert> then, make this your new output_types.xml: 02:42 < Wombert> http://pastie.caboo.se/16808/text 02:43 < iratik_ppp> where do I put this file at? 02:43 < Wombert> app/config/output_types.xml 02:43 < Wombert> it's already there 02:44 < iratik_ppp> whew .. alot of stuff, alright.. 02:44 < Wombert> okay 02:45 < Wombert> now... open app/modules/Default/views/IndexSuccessView.class.php 02:45 < Wombert> after $this->setTemplate... insert: 02:45 < Wombert> $this->setDecoratorTemplate('Master'); 02:45 < Wombert> do you see how the file extensions are missing there? 02:45 < iratik_ppp> yeah 02:46 < Wombert> okay 02:46 < Wombert> the idea is 02:46 < Wombert> each renderer has a default extension, obviously 02:46 < Wombert> .xsl for XSLRenderer, .php for PHPRenderer, .tpl for smarty etc 02:47 < Wombert> the renderer is defined in the output type (but you can also override it in the code, doesn't matter here tho) 02:47 < Wombert> so... right now our default output type "html" is set, which uses php for rendering, which makes the template extension... .php 02:47 < Wombert> you could now swap all templates for smarty equivalents 02:47 < iratik_ppp> oh cool 02:47 < Wombert> and then change the output type so it uses AgaviSmartyRenderre 02:47 < impl> XSLRenderer is probably not perfect... 02:47 < Wombert> and bam, everything works 02:47 < impl> :P 02:47 < Wombert> but it's getting better 02:48 < Wombert> let's say you don't know jack about CSS and want a dedicated printable version of everything, okay? 02:48 < Wombert> you'd set up another output type similar to the one you just defined 02:48 < Wombert> called html_print 02:48 < Wombert> it uses the php renderer, too, but you give it a differnet extension... "-print.php" 02:48 < Wombert> AND 02:48 < Wombert> you configure it to fall back to "html" 02:49 < Wombert> then, all you have to do is throw IndexSuccess-print.php into the same folder and bam... 02:49 < Wombert> you have a printable version 02:49 < Wombert> of the same output 02:49 < Wombert> with the same code 02:49 < impl> Then then then you write a route to match "/print/$" and have the output type set to "html_print" 02:49 < Wombert> if a -print.php is not there, it falls back to the normal version 02:49 < Wombert> exactly... and to set that output type, you can do whatever you like, but the routing is most convenient 02:49 < impl> And you go to the action of your choice and hit up /path/print/ 02:50 < Wombert> tadaaaaa 02:50 < Wombert> cool? :) 02:50 < Wombert> did you understand it? 02:50 * impl loves routing more than anything evar 02:50 < iratik_ppp> do what? 02:50 < Wombert> it's a slightly more advanced concept. we'll get to that later when we create a JSON list of your guestbook entries 02:50 < Wombert> no need to do anything right now... I just explained ;) 02:51 < Wombert> let's first clear up a very basic concept... the last one you'll need to know before we actually start coding 02:51 < Wombert> we have actions/IndexAction.class.php 02:52 < Wombert> it passes control to the "Success" view, which means IndexSuccessView.class.php 02:52 < Wombert> this sets "IndexSuccess" as the template, which then gets rendered 02:52 < Wombert> do see that, go point your browser to guestbook/pub 02:53 < Wombert> you should see a simple page... and your hello world from earlier should be there, too, below the menu 02:53 < Wombert> right? 02:53 < iratik_ppp> Alright hold on 02:54 < iratik_ppp> Fatal error: Configuration file "/var/www/web2/web/dev/guestbook/app/config/autoload.xml" specifies class "GuestbookEntry" with nonexistent or unreadable file "/var/www/web2/web/dev/guestbook/app/lib/guestbook/GuestbookEntry.php" in /home/ctatechs/trunk/src/core/Agavi.class.php on line 61 02:54 < iratik_ppp> at least thats specific 02:54 < Wombert> ooooh! 02:54 < Wombert> that's _bad_ 02:55 < Wombert> okay... 02:55 < Wombert> you said app/config/guestbook-conf.php is there? 02:55 < iratik_ppp> i can find those files and direct the autoload.xml to point to the right place 02:55 < iratik_ppp> it doesn't exist though 02:55 < Wombert> oh 02:55 < iratik_ppp> yeah guestbook-conf.php is there 02:55 < Wombert> hm 02:56 < Wombert> but no app/lib/ 02:56 < Wombert> ? 02:56 < Wombert> or app/lib/guestbook? 02:56 < iratik_ppp> empty directory 02:56 < Wombert> :S 02:56 < Wombert> ewww 02:56 < Wombert> something went wrong with propel then 02:56 < impl> propel borks 02:56 < impl> D: 02:56 < Wombert> are they in dev/app/blah? 02:56 < iratik_ppp> when were those supposed to be generated 02:56 < iratik_ppp> there is no dev/app 02:56 < iratik_ppp> there are only three files there 02:56 < Wombert> okay 02:57 < Wombert> what's the output.dir line in build.properties? 02:57 < iratik_ppp> propel.output.dir = /var/www/web2/web/dev/guestbook 02:57 < Wombert> mmmh 02:57 < Wombert> that's strrraaaaannnngeee 02:57 < Wombert> go back to dev/ 02:57 < iratik_ppp> and the php output directory should have been guestbook/app/lib 02:57 < Wombert> and run "propel-gen ./" again 02:58 < iratik_ppp> files are there now 02:58 < Wombert> fantastic 02:58 < Wombert> reload browser 02:58 < iratik_ppp> Nice 02:58 < iratik_ppp> Customizable 02:59 < Wombert> one second please 03:07 < Wombert> back, iratik_ppp 03:07 < iratik_ppp> alright 03:07 < Wombert> good 03:08 < Wombert> what happened is that the routing decided it wants to run app/modules/Default/actions/IndexAction.class.php 03:08 < Wombert> which doesn't serve a request method, because it doesn't have an execute() method 03:08 < Wombert> request methods work like this 03:08 < Wombert> for web requests, HTTP GET is mapped to "read" and HTTP POST is mapped to "write" 03:08 < Wombert> so we abstract the request method names 03:09 < iratik_ppp> okay 03:09 < Wombert> this has several charming advantages, for instance, we also allow RESTful services where you could map a HTTP PUT to a method and actually make it "write" 03:09 < Wombert> or... if you want a console interface to your app 03:09 < Wombert> there's no GET or POST 03:09 < Wombert> hence the abstraction 03:09 < Wombert> since tghe action doesn't have a request method, the system uses getDefaultViewName() which says "Success" 03:09 < Wombert> check that in the action file 03:10 < Wombert> then, the template is rendered, and after that, put into $slots['content']. then, the decorator template is run, and everythign is displayed. 03:10 < Wombert> any questions so far? 03:11 < Wombert> note that we told the system to "extract" variables assigned to the template. thus, we get $_title, because it's assigned in IndexSuccessView 03:12 < Wombert> the slots (will explain that later), on the other hand, aren't extracted, and their variable name is $slots... so this is then an array 03:12 < Wombert> if we hadn't configured it like that in output_types.xml, we would have to use $template['_title'] instead in Master.php 03:12 < iratik_ppp> ahh 03:12 < iratik_ppp> right 03:12 < Wombert> the _ is just a reasonable convention so you explicitly mark this variable for use in the decorator template 03:13 < Wombert> also, output_types.xml contained one assignment declaration, which causes the routing instance to be available in all templates as $ro 03:13 < Wombert> for convenience 03:13 < Wombert> saves tons of hassle and makes things consistent 03:13 < Wombert> if you hover the three links, you might notice that the links have a ? at the end 03:14 < Wombert> that's because the routing has an educated guess regarding what the URL should look like - we haven't defined these routes yet 03:14 < Wombert> we'll do that now 03:16 < Wombert> ready? 03:20 < iratik_ppp> yeah 03:20 < iratik_ppp> sorry, 03:20 < iratik_ppp> i'm writing all this down 03:20 < Wombert> our new app/config/routing.xml: http://pastie.caboo.se/16816/text - now reload the browser and see how the URLs changed. we're not using a regular expression or even parameters in the URL yet, but we'll get to that soon. 03:21 < Wombert> cool! 03:22 < iratik_ppp> i did that routing.xml thing 03:22 < Wombert> good 03:22 < Wombert> now go back to the console 03:22 < iratik_ppp> alright 03:22 < Wombert> into guestbook/ 03:22 < Wombert> ./agavi action 03:23 < iratik_ppp> then 03:23 < Wombert> it asks you for the module. it lists them all, but it can't preselect onebecause we aren't in a module diurectory 03:23 < Wombert> type "Default" 03:23 < iratik_ppp> you mean press enter? 03:23 < Wombert> next the action name... "ListEntries" 03:23 < Wombert> type in "Default" and press return, yeah 03:23 < Wombert> next the action name... "ListEntries" 03:23 < Wombert> then the views for it... 03:23 < Wombert> we only need a success view here 03:23 < Wombert> so type Success 03:24 < Wombert> mind case sensitivity 03:24 < iratik_ppp> BUILD FINISHED 03:24 < Wombert> sweet 03:24 < Wombert> not let's code something! 03:24 < Wombert> fire up ListEntriesAction.class.php 03:24 < Wombert> it just got created for us 03:25 < iratik_ppp> where is that 03:25 < impl> Wombert: Your dedication is amazing, man... it really is 03:25 < impl> modules/Default/actions 03:25 < Wombert> impl: ? 03:25 < iratik_ppp> yeah his dedication is quite insane 03:25 < impl> Wombert: You've been helping this guy start out for a good four hours now, and over 300 lines 03:25 < Wombert> heh :) well 03:26 < iratik_ppp> almost as insane as myne - to get this whole thing into a wizard, a tutorial or something 03:26 < Wombert> if there's no documentation... ;) 03:26 < iratik_ppp> http://seal-7.blogspot.com/ 03:26 < impl> Putting that text into a written tutorial would be awesome 03:26 < Wombert> it really would be, yes 03:26 < iratik_ppp> its just getting that dang xml to render - which its not 03:27 < Wombert> ewww yeah I know that kind of problems 03:27 < impl> A movie would be awesome too 03:27 < Wombert> iratik_ppp: that's out ListEntriesAction.class.php: http://pastie.caboo.se/16818/text 03:27 < Wombert> our 03:27 < iratik_ppp> Yeah over my dead body- this thing needs a little more autogeneration - I would say that only the schema.xml really needs to be hard coded - you can go with a basic standards accessible template for Master.php 03:28 < iratik_ppp> ListEntriesAction.class.php goes where? 03:28 < Wombert> where it already is... modules/Default/actions 03:28 < Wombert> it just got generated after you did "agavi action" 03:28 < Wombert> you can also have custom templates for these files, but that's a topic for the next lesson ;) 03:30 < Wombert> iratik_ppp: is that file there? 03:30 < impl> Wombert: I'm trying a docbook editor for Eclipse... will let you know how it goes 03:30 < iratik_ppp> yeah hold on 03:30 < impl> Wombert: btw, what's your IDE/editor of choice? 03:30 < Wombert> iratik_ppp: http://users.tkk.fi/~tjorri/agavi/logs/agavi-200610.log 03:30 < Wombert> impl: http://www.macromates.com/ 03:30 < Wombert> that's the editor you see in all the symfony/cakephp/ruby on rails movies 03:30 < impl> Oh 03:31 < impl> heheh 03:31 < iratik_ppp> ./mate ? 03:31 < iratik_ppp> yeah , i've been wondering what that was 03:31 < Wombert> yep, textmate 03:31 < Wombert> fantastic editor 03:31 < Wombert> one of the reasons why I switched to the max 03:31 < Wombert> mac 03:32 < Wombert> another reason was... "apt-get install kcachegrind" :) 03:32 < Wombert> that was rather fucked up though... compiled KDE, QT etc etc etc for about eight hours 03:33 < impl> On Debian? :\ 03:33 < Wombert> on OS X :) 03:33 < Wombert> http://darwinports.opendarwin.org/ and http://fink.sf.net/ for teh win 03:33 < impl> I didn't know OS X had apt-get 03:33 < iratik_ppp> try installing compiz on ubuntu 03:34 < Wombert> impl: it doesn't ;) 03:43 < Wombert> iratik_ppp: shall we continue? :) 03:43 < iratik_ppp> alright i'm caught up! 03:43 < Wombert> sweet 03:44 < Wombert> you can always have a look at the logs later to see if you haven't forgot anything etc 03:44 < iratik_ppp> its FREAKING huge! http://seal-7.blogspot.com/ 03:44 < Wombert> oO 03:44 < iratik_ppp> but oh well 03:45 < Wombert> did you enter "ListProcucts" with or without quotation marks? ;) 03:45 < iratik_ppp> what? 03:46 < Wombert> (because I'm seeing: 03:46 < Wombert> Enter the command 03:46 < Wombert> ./agavi action 03:46 < Wombert> Enter "Default" 03:46 < Wombert> Enter "ListEntries" 03:46 < Wombert> Enter Success 03:46 < Wombert> ) 03:46 < Wombert> had me wondering 03:46 < iratik_ppp> well, i mean without quotation marks 03:46 < Wombert> okay 03:46 < iratik_ppp> but , hopefully everyone knows what I mean 03:46 < Wombert> ;o) 03:46 < Wombert> now reload the page 03:46 < iratik_ppp> yeah i must be getting a little tired - i missed those last quotation marks 03:46 < Wombert> then click the "list" link 03:47 < Wombert> no worries, I'm tired too... but we're making good progress :> 03:47 < iratik_ppp> well the home link goes home now 03:47 < iratik_ppp> the list link cannot be found 03:47 < Wombert> did you reload before? 03:47 < Wombert> and did you adjust routing.xml? 03:47 < Wombert> or did I miss that 03:47 < iratik_ppp> yep , yep hold on let me make sure I actually did it 03:48 < iratik_ppp> i might have just put it in my blog 03:48 < iratik_ppp> alright the routing is fine 03:48 < iratik_ppp> its not that 03:48 < iratik_ppp> u mapped list ,add and home 03:48 < iratik_ppp> it looks like the home part went fine 03:49 < Wombert> whre does "List Entries" take you? 03:49 < Wombert> might be an Apache issue here 03:49 < iratik_ppp> http://www.loadmax.com/dev/guestbook/pub/index.php/list 03:49 < Wombert> and the result? 03:49 < iratik_ppp> may be likely - 404 03:49 < Wombert> apache 404? 03:49 < iratik_ppp> I have odd rewrite settings 03:49 < Wombert> or our own 03:49 < Wombert> eww 03:49 < iratik_ppp> http://www.loadmax.com/dev/guestbook/pub/index.php/list 03:50 < impl> http://www.loadmax.com/dev/guestbook/pub/index.php?/list 03:50 < Wombert> that's agavi 03:50 < impl> You need the ? 03:50 < Wombert> odd 03:50 < Wombert> very odd actually 03:50 < Wombert> might be a bug or something 03:50 < iratik_ppp> well that works 03:50 < impl> I thought it was either /blah or /index.php?/blah 03:50 < iratik_ppp> it doesn't 404, but it goes back to home 03:50 < impl> Depending on mod_rewrite 03:50 < Wombert> impl: nah ;) 03:50 < impl> Oh, k :P 03:50 < Wombert> iratik_ppp: likely an issue specific to your environment 03:51 < Wombert> iratik_ppp: let's work around this... in pub/ there's a dist.htaccess 03:51 < iratik_ppp> whew .. alright 03:51 < Wombert> RewriteBase /WEBSERVER/PATH/TO/pub/ 03:51 < Wombert> change that line to 03:51 < Wombert> RewriteBase /dev/guestbook/pub/ 03:51 < Wombert> and 03:52 < Wombert> set RewriteEngine On in the line above that 03:52 < Wombert> the rest can remain untouched 03:52 < iratik_ppp> woa i'm a little confused on the RewriteBase 03:52 < iratik_ppp> is it the http path ,or the system path to pub? 03:52 < Wombert> http path for rewrite bases 03:52 < Wombert> always :) 03:53 < iratik_ppp> no need to restart with htaccess right? 03:53 < Wombert> and don't forget to move "dist.htaccess" to ".htaccess" 03:53 < Wombert> no 03:53 < Wombert> but your webserver needs the AllowOverride settings for that directory 03:53 < Wombert> you might have to do that 03:54 < Wombert> you'll see... if you get an internal server error, you'll have to fiddle with the apache config 03:54 < Wombert> now call pub/ again 03:54 < Wombert> does it work? 03:54 < iratik_ppp> 500 internal server error 03:55 < iratik_ppp> i'm done for a minute 03:55 < impl> Uh oh 03:55 < impl> :P 03:55 < Wombert> AllowOverride All for that <Directory> in httpd.conf 03:55 * Wombert yawns 03:56 < iratik_ppp> dude - I realize you are super ultra mega dedicated to this - but even i've got a limit , I didn't want to walk out cuz you already put so much effort into it and i didn't want to leave without you not getting anything out of it - but i posted a primer that you can copy and continue on your own - plus you have experience and more knowledge of how difficult setting up agavi can be for a beginner - its a promissing framework , but I'm 03:56 < Wombert> haha 03:56 < Wombert> :> 03:56 < iratik_ppp> i really appreciate the help man 03:56 < iratik_ppp> i wish you good luck with your framework - i gotta get some sleep 03:56 < Wombert> yeah me too 03:57 < Wombert> we're now only one file away from seeing something from the database 03:57 < iratik_ppp> but were 8 files in 03:57 < iratik_ppp> thats not so bad though 03:57 < Wombert> so if you wanna come back tomorrow, we'll finish this 03:57 < Wombert> I already got it working here ;I 03:57 < Wombert> ;) 03:57 < iratik_ppp> i may just do that, i'm going to look into some other options 03:57 < Wombert> gonna get some sleep, too...3am here 03:57 < iratik_ppp> well at least you have another sample app 03:57 < Wombert> do that 03:58 < Wombert> yeah 03:58 < iratik_ppp> yeah - I gotta get, man i'm tired - this reminded me much of nennius - a php framework i tried out a long time ago - full of schema files and sadomasochistic xml files 03:58 < Wombert> it's a pretty good "getting started" tutorial 03:58 < Wombert> well the schema stuff was actually propel here ;) 03:58 < iratik_ppp> yeah - it covers enough to get a homepage with links up at least - maybe with a little tweaking some DB out of it 03:59 < Wombert> and... I also gotta add that we threw in quite some custom stuff as well right at the beginning 03:59 < Wombert> so we wouldn't have to change as much stuff later all the time (routes, output types etc etc etc) 03:59 < iratik_ppp> I was most impressed with the flexibility this offered, but I can get the same flexibility just doing it by hand 03:59 < iratik_ppp> Good luck man 03:59 < iratik_ppp> i might see you tommorow 03:59 < Wombert> with agavi, it's a bit of work for setting up a project, and then, BAM, it all of a sudden gets very easy 03:59 < Wombert> yeah 03:59 < Wombert> cool 03:59 -!- iratik_ppp [n=comp@dsl092-192-056.sea1.dsl.speakeasy.net] has quit [] 03:59 < Wombert> see ya man 03:59 < Wombert> good night :) 03:59 < Wombert> mmh 04:00 < Wombert> proves the point: we rrreeaaaaaallly need documentation ;) 04:06 < Wombert> time to sleep :) 04:07 < Wombert> nn impl 04:07 < impl> Night, Wombert 04:07 < impl> ;x 04:07 < Wombert> :> 04:07 < Wombert> :x 04:07 < Wombert> oO 04:07 < Wombert> that's an evil smiley here 04:07 < Wombert> wtf 04:07 < Wombert> weird 04:07 < Wombert> anyways... catch ya later man 04:08 -!- Wombert [n=Wombert@dslb-088-064-019-137.pools.arcor-ip.net] has quit [] 05:30 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Client Quit] 05:41 -!- [1]eremit [n=eremit@p5490C963.dip.t-dialin.net] has joined #agavi 05:59 -!- eremit [n=eremit@p5490CC06.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:59 -!- [1]eremit is now known as eremit 08:17 < v-dogg> oh for fucks sake 09:00 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 09:29 < splatch`> hello 09:29 < v-dogg> hi 10:44 -!- shoan [n=shoan@59.92.139.202] has quit [] 11:19 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 11:23 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:50 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 12:37 -!- epaulin [n=epaulin@61.191.26.228] has quit [Remote closed the connection] 13:01 < eremit> hi all 13:15 < raidman> hi eremit 13:15 < raidman> and hi all :) 13:15 < eremit> hmmm anybody an idea how high the possibility for sessions with the same session id is ? 13:17 < v-dogg> very low, I would say 13:18 < eremit> hmm i have the following problem ... 13:18 < eremit> i open an agavi application and get automatically logged in as another user Oo 13:20 < eremit> and have this problem quite regullary 13:44 < shoan> do you have multiple agavi applications running on the same server? 13:45 < shoan> -server +domain 13:53 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 13:54 < eremit> shoan, no ... 13:55 < eremit> it's a dedicated server running only _one_ application 14:17 -!- Wombert [n=Wombert@dslb-088-064-007-233.pools.arcor-ip.net] has joined #agavi 14:17 < v-dogg> wombiw 14:18 < Wombert> hiiiii 14:18 < Wombert> 'sup 14:18 < v-dogg> busy busy busy 14:18 < v-dogg> TooMuchWorkException 14:18 < v-dogg> I joined #symfony this morning 14:21 < v-dogg> http://veikkomakinen.com/temp/symfony.lastlog.txt 14:23 < v-dogg> this was the best: 08:35 < Pests> Sure its even based on your code? 14:23 < v-dogg> * @author Veikko Mkinen <mail@veikkomakinen.com> 14:23 < v-dogg> :) 14:24 < Wombert> yeah 14:24 < Wombert> I mean... it's not like it happend only once 14:24 < Wombert> back then when I accidentially discovered that rovert had copied code 14:24 < Wombert> fabien had promised me he'd check other "work" of rovert 14:25 < Wombert> and he said he'd talk to him, too 14:25 < Wombert> but rovert did it again recently 14:26 < Wombert> I have no problem if he copies a snippet of code (it was support for the httpOnly cookie feature PHP5.2 has) 14:26 < Wombert> but I'm getting mad about the fact that he copies LGPL code and then not only vliolates the license by re-licensing it as MIT 14:26 < Wombert> but also by removing "The Agavi Project" as an author 14:27 < Wombert> and this happens with other stuff, too 14:27 < Wombert> he throws everything into his repos 14:27 < Wombert> and then people look at LICENSE in trunk where it says "yay, public domain, and copyrigh fabien potencier" 14:27 < v-dogg> like I wrote this morning: 14:27 < v-dogg> 08:43 < v-dogg> as far as I know this is not an isolated case... and if that's true it is going to bite you in the ass sooner or later 14:27 < Wombert> you know how many people over at #symfony think Propel is his work? 14:28 < v-dogg> that sucks 14:28 < Wombert> it's simply bundled without proper license info 14:28 < Wombert> as is creole 14:28 < Wombert> as is the ICU data he took from prado 14:28 < Wombert> etc 14:28 < Wombert> I hope it bites them in their ass 14:28 < Wombert> I talked to fabien a couple of weeks back 14:29 < Wombert> where I told him I had discovered the ICU license is missing... he said he'd fix it 14:30 < Wombert> v-dogg: you wrote creole session storage, right? 14:30 < CIA-11> david * r1100 /trunk/src/storage/AgaviCreoleSessionStorage.class.php: fixed copyright info 14:31 < Wombert> I didn't even know that until dominik pointed it out last night 14:31 < Wombert> b rb 14:42 < eremit> v-dogg: you must get harder ^^ regarding this 14:49 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 14:55 < Wombert> yeah go back and tell them you'll sue the hell out of em 14:58 < eremit> go back and tell'em they have 2 days to remove your code from all of their releases/svn's etc ... 14:58 < eremit> :P 15:11 < Wombert> that would be fun xD 15:11 < Wombert> but I got a better idea 15:11 < Wombert> we don't say anything anymore (did it often enough) 15:11 < Wombert> we package a release 15:11 < Wombert> we build the new websiet 15:11 < Wombert> and then 15:11 < Wombert> an angry blog posting 15:11 < eremit> ^^ 15:11 < Wombert> comparing agavi's and symfony's IP attitudes :) 15:12 < Wombert> dominik is porting ICU's date and calender stuff 15:12 < eremit> try to get it on ./ ... this would be fun ... 15:12 < Wombert> he told me he added the original authors to every single method he ported 15:12 < eremit> disrespect of Licsensing within the opensource php framework community :P 15:12 < Wombert> that's how I think it should be done 15:12 < Wombert> respect among open source projects is essentia 15:12 < Wombert> l 15:12 < eremit> i put the @author tag in every method i write 15:13 < Wombert> yeah but he added 15:13 < Wombert> @author The ICU Project 15:13 < Wombert> and @copyright International Business Machines 15:13 < Wombert> etc 15:13 < Wombert> because he ported it 15:13 < Wombert> he didn't take any code, but it's still theit idea etc 15:13 < eremit> yep ... 15:13 < eremit> i would put both ... ICU and myself in the @author tags ... 15:14 < Wombert> sure 15:14 < Wombert> I added more LICENSE files to trunk the other day 15:14 < eremit> and a notice about the fact the porting 15:14 < Wombert> let me know if you come across any mistakes or missing things 15:15 < eremit> yes i will ... 15:15 < eremit> but currently i've frozen trunk revision 1066 15:15 < eremit> tomorrow is release and i don't have the time to keep with upstream ... 15:16 < eremit> the next update will be synced again ;) 15:16 < Wombert> sure 15:16 < Wombert> ;) 15:16 < eremit> btw there are some parts i'm really really missing ... 15:16 < digitarald> what i.e? 15:16 < eremit> currently ... 15:16 < digitarald> actionchains ;) 15:17 < eremit> the exception can be quite useless ... atm i'm fighting against TooManyForwards and don't have any idea where they come from 15:17 < Wombert> too many slots or so? 15:18 < eremit> nop looks like a problem with the autoforward to the login page ... 15:18 < eremit> but the whole login stuff is somehow broken ... 15:18 < eremit> :/ 15:18 < Wombert> let me know if you need any assistance 15:18 < digitarald> i would appreciate that 3th party exceptions are not stripped into agavi exceptions ... so all additional exception informations are stripped. like propelexceptions and so on ... 15:18 < eremit> if i load the page without being logged in ... i have a chance of about 1:100 to get logged in as another user 15:18 < Wombert> eremit: oO wtf 15:19 < Wombert> concurrency issue 15:19 < Wombert> not an agavi issue 15:19 < Wombert> php problem? 15:19 < eremit> Wombert, i dont see any concurrencies ... i use the AgaviSessionStorage ... 15:19 < Wombert> shared memory? cluster? database for sessions? 15:19 < Wombert> wow 15:19 < eremit> and that one uses session_start ... 15:19 < eremit> i don't see any mistakes there ... i would implement it exactly the same way ... 15:20 < eremit> now i'm building an ExtAgaviSessionStorage ... testing if the browser tag, ip are equal before using the session ;) 15:20 < Wombert> maybe some proxy issue or so? 15:20 < Wombert> did you disable trans sids? 15:21 < eremit> we don't have proxies ... and we have disabled trans.... f.... mom 15:21 < Wombert> digitarald: it doesn't do that anymore 15:21 < eremit> ./php.ini:session.use_trans_sid = 0 15:21 < Wombert> wrap other exceptions 15:21 < Wombert> hmh 15:21 < Wombert> :< 15:21 < eremit> so it isn't the trans_sid 15:22 < eremit> neverless i will take about 6 additional checks to the session so this shouldn't be a problem 15:22 < Wombert> is must be a PHP issue 15:22 < eremit> yeah ... i think so too ... 15:22 < Wombert> digitarald: 15:22 < Wombert> } catch(Exception $e) { 15:22 < Wombert> AgaviException::printStackTrace($e, $this->context, $this->getResponse()); 15:22 < Wombert> } 15:23 < eremit> but i only happens to users using: Safari or IE ... none of our 5000k firefox testers had this problem ^^ 15:23 < eremit> but session id browser dependant is stupid Oo 15:24 < Wombert> for action chains... http://trac.agavi.org/trac.cgi/ticket/290 15:24 < Wombert> regarding exceptions... http://trac.agavi.org/trac.cgi/ticket/95 15:25 < Wombert> I just tested it with a PropelException, works like a charm 15:56 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 16:17 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:25 < digitarald> Wombert, a friend said it ... i believe he is using 0.10 ... 16:25 < digitarald> so ... nevermind 16:26 < Wombert> jake: xmlrpc support is in 16:26 < Wombert> check out the sample app 16:26 < Wombert> the search engine spam action is exposed a s aweb service (method name "getItemPrice") 16:27 < v-dogg> can symfony handle xml-rpc ? 16:27 < Wombert> no 16:27 < v-dogg> ok :) 16:27 < Wombert> I once saw a "solution" for that on the mailing list of theirs 16:27 < Wombert> I think it was for SOAP 16:27 < Wombert> their "solution" was to write a class that's given to soap 16:27 < Wombert> which has all method names you want to make available 16:27 < epaulin> yeah, in 0.10 we use customed ExtWebController And Exception 16:27 < Wombert> each method then calls dispatch() or so 16:28 < Wombert> pretty hacky approach 16:28 < Wombert> besides the fact that you have to add all methods to it by hand 16:28 < Wombert> our solution that uses the routing is a lot more convenient, obviously 16:28 < Wombert> AND 16:28 < Wombert> of course 16:28 < Wombert> their solution doesn't allow reusability 16:28 < Wombert> i.e. you can't use the same action for the web site and XMLRPC 16:28 < Wombert> since they have no output types etc 16:29 < Wombert> but as we know, they also have "ajax actions", whatever that is, so... :> 16:30 < epaulin> actually, "ajax actions" just has no layout 16:31 < Wombert> and they return JSON? 16:31 < digitarald> whats does ajax actions return? 16:31 < Wombert> or what? 16:31 < epaulin> will, how exactly agavi handle this? 16:31 < digitarald> xhtml, xml or json? 16:31 < digitarald> it can return what u need ... just define another renderer :) 16:31 < Wombert> in agavi, you have an action. it does only the business logic. unlike in symfony, you don't set output stuff there, or cookies, or dispatch forwards or redirects 16:31 < digitarald> or another template 16:31 < Wombert> that's presentational, and the job of the view 16:32 < Wombert> you configure output types 16:32 < Wombert> they can be set where you like, but the routing is the most convenient approach 16:32 < Wombert> e.g. when the user agent is "prototype" or "jquery", you set it to "json" 16:32 < Wombert> it will then render different output 16:32 < Wombert> using exactly the same logic code 16:32 < digitarald> Wombert, we need a list of changes from 0.10 to 0.11 ... a how-to-convert-my-0.10-app 16:32 < Wombert> digitarald: yeah 16:33 < Wombert> I think dominik has a finished API_CHANGELOG already 16:33 < v-dogg> (if I understood correctly Action in symfony is WebAction, so you already have mixed up presentation into it, so it makes no difference if you mix a bit more with forwards or redirects :) 16:33 < Wombert> this way, one action can render HTML, JSON, PDF etc 16:33 < Wombert> yeah... WebAction... that's so stupid 16:33 < v-dogg> don't know if it's named that way 16:33 < Wombert> you can clearly see how they listened to the demands of people without a clue 16:34 < epaulin> yeah, i hate the symfony MVC way 16:34 < v-dogg> let me copy-paste that... 16:34 < Wombert> no offense to them, but symfony clearly is presented as an easy-to-use framework 16:34 < v-dogg> :) 16:34 < Wombert> haha :> 16:34 < Wombert> this attracts a lot of newbies 16:34 < Wombert> instead of telling them "no, we won't add helper methods that generate an image tag for you" they should say "go back and learn programming, then use a framework" 16:35 < Wombert> I honestly believe it should be against the law to learn programming with PHP 16:35 < digitarald> but the ror image helpers are pretty fine 16:35 < Wombert> people should be forced to use java or so 16:35 < Wombert> so they actually learn what they're doing 16:35 < digitarald> cheking for an asset server for the actual application and generating all ... but how to put something like that in agavi :D 16:35 < Wombert> a guy once showed me some code... 16:35 < epaulin> i agree with that, the admin generater is the most attractive one for me 16:35 < Wombert> mysql_connect("$host", "$username", "$password"); 16:36 < Wombert> ... 16:36 < Wombert> and I said "wtf why do you use strings, do you even know what a variable is?" 16:36 < Wombert> "a friend told me to do that we he knows PHP"... 16:36 < Wombert> -we 16:36 < Wombert> these people 16:37 < Wombert> are killing other people's jobs 16:37 < Wombert> that's just my 2c on that issue 16:37 < Wombert> epaulin: the scaffolding stuff is quite nice indeed 16:37 < v-dogg> so we should start killing them 16:37 < digitarald> the people who knows php or the others put there ... wrapping bad code in bad designs 16:37 < eremit> ^^ Wombert thats in nearly every it related job a problem 16:37 < Wombert> I mean 16:37 < Wombert> why the hell do I even bother to study CS or whatever 16:38 < Wombert> if I then can't get that client 16:38 < v-dogg> good question 16:38 < Wombert> because he has a friend 16:38 < v-dogg> drop out 16:38 < Wombert> who has a son 16:38 < Wombert> who "knows PHP" 16:38 < Wombert> is "skilled" 16:38 < Wombert> and "as good as a pro just cheaper" 16:38 < Wombert> I've seen a lot of web agencies etc where the boss tells the designer to program something 16:38 < Wombert> and then the programmer gets on my nerves all day asking me questions 16:39 < eremit> dont answer the questions ... 16:39 < Wombert> and I tell him to hire me or hire someone else or learn programming properly 16:39 < v-dogg> haha, a customer just lost salary data for the last 6 months because a "skilled" friend fucked things up :) 16:39 < Wombert> yeah I put him on ignore 16:39 < Wombert> he asked me how much we charge per hour 16:39 < Wombert> he said he can't pay much 16:39 < Wombert> I said, okay, how about 60 euros for creating html +css, properly 16:39 < Wombert> (no "development") 16:39 < epaulin> so we relly need that law, :-) 16:39 < Wombert> he said he wouldn't even pay 20 euros 16:40 < Wombert> ... 16:40 < Wombert> I mean WTF 16:40 < Wombert> v-dogg: LOL 16:40 < eremit> lool ... all that i know of from the job i originally came from before restarting my development carreer ... 16:40 < Wombert> you know 16:40 < Wombert> these "creative" assholes 16:41 < Wombert> with the thick black framed glasses 16:41 < Wombert> it's not that they just don't hire programmers 16:41 < v-dogg> they had installed our salary software twice, took backups from one but still used the other 16:41 < Wombert> they also don't wanna pay any money 16:41 < Wombert> AND 16:41 < Wombert> they prefer interns 16:41 < Wombert> don't pay them 16:41 < Wombert> let them work 10 hour days 16:41 < Wombert> ... 16:41 < Wombert> fucked up world, I swear 16:41 < v-dogg> and now they had restored a backup from the empty db into the real db 16:41 < Wombert> AHAHAHA 16:41 < v-dogg> "ups" 16:42 < eremit> Wombi, calm down .. and face it as it is ... mankind if f. stupid ... 16:42 < digitarald> checked out ... Breaking changes ... i love them 16:43 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 16:43 < Wombert> digitarald: xD 16:43 < v-dogg> and we offer a free support (phone and remote control), all they had to do is call and ask before letting some boy next door to have a try :) 16:43 < digitarald> u call that production stable ... thought that means no-breaking-changes ;) 16:43 < Wombert> it's just minor breaks usually 16:44 < eremit> v-dogg ... i hope your contracts have huge fees in this case ^^ 16:44 < Wombert> btw we'll change validation xml syntax... sorry about that guys 16:44 < Wombert> but it has to be done 16:44 < Wombert> the current approach is too fucked up 16:44 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:44 < v-dogg> go go go 16:45 < digitarald> just do it ... i'll cry later 16:45 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1099 16:45 < digitarald> changing a whole apps validation could be fun after my holidays ;) 16:45 < Wombert> everyone noticed that? 16:45 < Wombert> method="write" now SETS that method 16:45 < Wombert> important for XMLRPC for instance, or RESTful stuff 16:46 < Wombert> use "constraint" now to limit the route to one or more request methods 16:46 < Wombert> we're open to suggestions regarding better names for that 16:46 < Wombert> we initially wanted to split routes 16:47 < Wombert> <route name="fubar" pattern="^/fubar" stop="false"> 16:47 < Wombert> <set action="blah" module="blah" method="asd" output_type="asdsd" /> 16:47 < Wombert> </route> 16:47 < Wombert> but I guess you guys had probably killed us for that 16:47 < Wombert> and set_method sucks because it would have to be set_module etc then and that is uncool 16:48 < Wombert> anyway, will add a REST request implementation later 16:48 < Wombert> or maybe just extend the normal web request 16:48 < Wombert> this is gonna be _awesome_ 16:48 < Wombert> because we then support HTTP PUT and HTTP DELETE 16:49 < Wombert> that would be four request methods then by default... "read", "write", "create" and "remove" 16:49 < Wombert> AND 16:49 < Wombert> I thought about changing the default names (NO BREAKING CHANGE!) 16:49 < Wombert> to "create" (PUT), "retrieve" (GET), "update" (POST) and "delete" (DELETE) 16:49 < Wombert> "CRUD" 16:49 < Wombert> opinions on that? 16:50 < Wombert> you'd have executeRetrieve() then 16:50 < Wombert> executeUpdate() 16:50 < Wombert> this is, actually, pretty cool because 16:50 < Wombert> an image upload 16:50 < Wombert> would have executeCreate() 16:50 < Wombert> but for the web, it's run on POST (form submit) 16:51 < Wombert> so you'd use the routing to set the request method to "create" for that action 16:52 < digitarald> Wombert ... can u do that with prototype: http://wiki.mootools.net/demos/physics ;) 16:53 < eremit> lol ^^ no but with flash and some as2 :P 16:53 < digitarald> ... yes :D 16:53 < digitarald> but who wants flash ;) 16:53 < eremit> most of my media profs :P 16:53 < Wombert> how is that prototype specific :p 16:54 < eremit> they liiiiiiiiiike flash ... and they really thing as2 is the best coding language in the world Oo 16:54 < digitarald> ... thats it ... its mootools ;) ... 16:54 < digitarald> flash is cool ... sometimes uncool ... sometimes really cool 16:54 < digitarald> i like comics in flash, thats what its made for ;) 16:55 < eremit> ^^ Broken Saints ? 16:55 < Wombert> flash is really very advanced these days 16:55 < Wombert> great technology 16:55 < Wombert> and action script is pretty cool, too 16:55 < eremit> but as2 is *cries* ... somehow strange 16:57 < Wombert> it's javascript :p 16:57 < eremit> javascript is strange too sometimes ... 16:58 < digitarald> flash is on more browsers that javascript (activated) ... thats the strange thing 16:58 < Wombert> I seriously don't give a SHIT about morons who disable that kind of stuff 16:58 < Wombert> flash... maybe 16:58 < Wombert> javascript... uuuah, get a proper popup blocker 16:58 < Wombert> there are people that block cookies 16:58 < Wombert> ... 16:58 < Wombert> wtf 16:59 < eremit> the main problem is many huge companies have javascript and cookies blocked ... 16:59 < eremit> because of the javascript and cookies are more evil than bush times ... 16:59 < eremit> :P 17:00 < Wombert> ... 17:00 < Wombert> it's still that old (and wrong) story 17:00 < Wombert> from back in 1997 17:00 < Wombert> published in some magazine 17:00 < Wombert> that said cookies allow everyone to read your data 17:00 < Wombert> so one clueless moron essentially messed up the entire web of today 17:00 < Wombert> great 17:00 < Wombert> and then you tell people "switch on your cookies" 17:00 < eremit> yep 17:00 < Wombert> "no, microsoft can track me on the internet then" 17:00 < Wombert> "nobody gets personal details" 17:01 < Wombert> "but they know which sites I visit" 17:01 < eremit> or even better ... i have ie here, and the admin disabled the cookie activation :PP 17:01 < digitarald> i am more afraid that google can track me :D 17:01 < Wombert> "no, 'they' don't, and P3P blocks cookies from third party sites, such as ads, unless they have a signature" 17:01 < eremit> digi, simple it is ... turn off cookies *hrhr* 17:01 < Wombert> it's like the assholes that use ad blockers in the browser 17:01 < Wombert> I'd love to punch them in the fact 17:01 < Wombert> face 17:01 < Wombert> how can you be so stupid 17:02 < Wombert> the articles they're reading on the various sites are there BECAUSE of the ads 17:02 < Wombert> but that's the typical attitude of our world today, and germany in particular 17:02 < Wombert> everyone loves "geiz ist geil", and then they're surprised when they lose their jobs... 17:02 < digitarald> will agavi.org will have google ads? 17:02 < Wombert> anyway, I'll grab a coffee 17:02 < eremit> ^^ got it ... and now ask why i'm currently learning swedish and norwegian :P 17:02 < Wombert> digitarald: nah I don't think that's necessary 17:03 < Wombert> svenska, eh 17:03 < Wombert> xD 17:03 < eremit> XD 17:03 < digitarald> yo tambien ... necesito un cfe con leche, corto 17:03 < eremit> if s.b. things it should be necessary to have google ads, pls pls call for some support first :P 17:04 < digitarald> and ask me why i left germany to spain ;) 17:05 < eremit> ^^ 17:19 -!- EleRas [n=EleRas@neteraser.de] has joined #agavi 17:21 < Wombert> mmma 23 deg 17:21 < Wombert> sun shining 17:21 < Wombert> awesome 17:26 < eremit> wombert ... 17:26 < eremit> wtf is the undefined call ff does after a request to agavi ? 17:26 < Wombert> eremit: aaaah weren't you in one of these lame states 17:26 < Wombert> no sun for you 17:26 < Wombert> bad luck 17:26 < Wombert> move to bavaria 17:26 < Wombert> :>>>> 17:26 < Wombert> anyway... what are you talking about? oO 17:31 < eremit> and wombert, even we currently have sun and 20-21 deg 17:34 < Wombert> LOL 17:34 < Wombert> awesome 17:34 < Wombert> nicolas cage 17:34 < Wombert> his uncle is francis ford coppola 17:35 < Wombert> so his children... he gave them the name Coppola-Cage 17:35 < Wombert> pretty cool BUT 17:35 < Wombert> here's the bst thing 17:35 < Wombert> his second son... 17:35 < Wombert> was given the name... 17:35 < Wombert> Kal-El 17:35 < Wombert> AWESOME 17:44 < eremit> yay ... 17:44 * eremit dances ... 17:46 < Wombert> ? 17:46 < eremit> these stupid marketing morrons ... :/ 17:47 < eremit> hrhr ... they changed the milestones because they cannot read and put our release on today instead of tomorrow 17:47 < eremit> so just did the work planned for tonight within some minutes :) and it worked ... 17:48 < eremit> tyvm agavi :D ... 18:10 < Wombert> :) 18:59 < CIA-11> dominik * r1101 /trunk/src/routing/AgaviRouting.class.php: incoming parameters shall override default values 19:10 -!- benny`work [n=benny@p54AC2996.dip0.t-ipconnect.de] has joined #agavi 19:19 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 19:24 -!- shoan [n=shoan@61.95.206.107] has quit [] 19:39 < epaulin> how to catch a E_RECOVERABLE_ERROR exception or how do i get the object #id? 19:40 < Wombert> propek? 19:40 < Wombert> propel 19:40 < epaulin> no, symfony 19:41 < Wombert> what object id? 19:41 < epaulin> <5.2 (string)new stdClass == Object id #1 19:41 < epaulin> 5.2> (string)new stdClass == E_RECOVERABLE_ERROR 19:41 < Wombert> aaah 19:41 < Wombert> good question 19:41 < Wombert> I read something about that the other day 19:42 < epaulin> then sfI18N broken 19:42 < Wombert> hah :) 19:42 < Wombert> let me find a solution for you 19:42 < epaulin> en, blame Zend, stop doing this shit 19:42 < Wombert> hmm 19:43 < Wombert> I guess you could use reflection 19:43 < epaulin> I can do __toString in sfI18N. but i want to catch it 19:43 < Wombert> yeah you're supposed to have a __toString method 19:43 < epaulin> yeah, i think so. but can't catch it use catch(Exception $e) 19:43 < Wombert> yeah... stupid php :) 19:43 < Wombert> well actually, you could 19:43 < Wombert> write an error handler 19:43 < Wombert> that throws exceptions 19:43 < Wombert> but that's hack 19:43 < Wombert> y 19:44 < epaulin> en, so maybe __toSting is just fine 19:44 < Wombert> agavi does that where necessary (for instance when parsing XML documents) 19:53 < epaulin> if (method_exists($value, '__toSting')) { 19:53 < epaulin> $value = (string) $value; 19:53 < epaulin> } else { 19:53 < epaulin> $ref = new ReflectionObject($value); 19:53 < epaulin> $value = $ref->getName(); 19:53 < epaulin> } 19:53 < epaulin> this works 19:53 < Wombert> ;) 19:53 < Wombert> luckily, we don't need that kind of hacks, agavi works just fine on 5.2 ;) 19:56 < epaulin> :-), i start this proj before agavi 0.11 stable, and if agavi have scaffoldding, i will definitely use agavi; 19:57 -!- jake [n=jake@gg.internal.mixxer.com] has quit [Remote closed the connection] 20:03 -!- epaulin [n=epaulin@218.22.2.93] has left #agavi ["by you guys"] 21:14 -!- shoan [n=shoan@59.92.181.77] has joined #agavi 21:33 -!- shoan_ [n=shoan@59.92.140.1] has joined #agavi 21:49 -!- shoan [n=shoan@59.92.181.77] has quit [Read error: 110 (Connection timed out)] 22:01 -!- benny`work [n=benny@p54AC2996.dip0.t-ipconnect.de] has quit ["unset($this);"] 22:06 < CIA-11> dominik * r1102 /trunk/src/translation/ (2 files): bugfix for the formatters 22:07 < CIA-11> dominik * r1103 /trunk/src/translation/AgaviTranslationManager.class.php: fix for recursive equality check on the translationmanager 22:10 -!- benny`work [n=benny@p54AC2996.dip0.t-ipconnect.de] has joined #agavi 22:22 < CIA-11> dominik * r1104 /trunk/src/translation/AgaviCurrencyFormatter.class.php: another bugfix 22:24 < CIA-11> dominik * r1105 /trunk/src/translation/AgaviGettextTranslator.class.php: don't try to load unreadable files 22:34 < Wombert> guys 22:34 < Wombert> I'm adding proper translation to the sample app 22:34 < Wombert> and I have to say 22:35 < Wombert> it's very, very impressive in terms of functionality 22:35 < Wombert> dominik did an incredible job there 22:36 < Wombert> I'll checkin the sample app soon, so you can see for yourselves 22:36 < CIA-11> david * r1106 /trunk/src/translation/ (6 files): translation fixes and improvements, _*() methods now accept a locale string, too 22:36 < Wombert> words just cannot describe it 22:40 < Wombert> <route pattern="^/(language:(de|en))" stop="false" imply="true" cut="true" locale="${language}@currency=GBP"> 22:40 < Wombert> this is just 22:40 < Wombert> WAY 22:40 < Wombert> too sexy 22:46 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:47 < Wombert> impl: 22:48 < impl> Heya 22:48 < Wombert> <route pattern="^/(language:(de|en))" stop="false" imply="true" cut="true" locale="${language}@currency=GBP"> 22:48 < Wombert> cool? 22:48 < Wombert> :> 22:48 < Wombert> you'll see what it's all about in a minute or so 22:48 < Wombert> the i18n is just fantastic 22:48 < Wombert> I'm localizing the sample app right now 22:56 < impl> Is ${language} the same way you reference paramters anywhere? 22:56 < impl> parameters* 22:56 < Wombert> dominik is working on that right now 22:56 < Wombert> it will be possible for others 22:56 < Wombert> example 22:57 < Wombert> <route pattern="^(module:\w+)" module="$module" /> 22:57 < Wombert> of course, that would be nonsense 22:57 < Wombert> USUALLY 22:57 < Wombert> but if you ever change the module accessor parameter name from "module" to something else... 22:57 < Wombert> the above still works 22:57 < impl> :s 22:58 < Wombert> it usually should only be necessary for the locale anyway 22:58 < Wombert> _maybe_ for the output type 22:58 < Wombert> example 22:58 < impl> I'm trying to remember where else parameters are referenced 22:58 < Wombert> let's say you want to catch all leading URL chunks that indicate different output formats 22:59 < Wombert> <route name="yay" pattern="^/(ot:(rss|pdf|json)" cut="true" imply="true" stop="false" output_type="$ot" /> 23:00 < Wombert> <route name="yay" pattern="^/(ot:(rss|pdf|json)" cut="true" imply="true" stop="false" output_type="${ot}withasuffix" /> 23:00 < Wombert> :) 23:00 < Wombert> but that would mean you have to supply the "ot" parameter in addition to the "yay" route name when generating 23:00 < Wombert> e.g. $r->gen('listproducts+yay', array('ot' => 'rss')); 23:01 < Wombert> kinda stupid 23:01 < Wombert> <route name="rss" pattern="^/rss" cut="true" stop="false" output_type="rss" /> 23:01 < Wombert> $r->gen('listproducts+rss'); 23:02 < impl> Interesting 23:03 < Wombert> <route pattern="^/(language:[a-z]{2})" stop="false" imply="true" cut="true" locale="$language" callback="LanguageCheckCallback" /> 23:03 < Wombert> the callback would check if the given language is registered in the database 23:04 < Wombert> of course, you could then also set the locale from within that callback 23:04 < Wombert> which you have to do anyway if you want to set a default value in case the route didn't match or so 23:04 < Wombert> or read the langauge from the last visit from a cookie if none was given in the URL 23:04 < Wombert> which I'm about to do with the sample app here 23:05 < CIA-11> dominik * r1107 /trunk/src/routing/AgaviRouting.class.php: 23:05 < CIA-11> support dynamic variables in action,method,module,locale,output_type attribute of a route 23:05 < CIA-11> this means you can use either locale="$varFromPattern" to let locale be the 23:05 < CIA-11> (varFromPatter:...) from the locale or if you want to mix variables with normal 23:05 < CIA-11> text you can use locale="text ${variable} more text ${another_var}" 23:06 * Wombert <3 dominik 23:07 < impl> That's kinda ugly 23:08 < impl> I think it should just be ${blah} in all case 23:08 < impl> s 23:08 < impl> would probably be easier to parse too 23:08 < Wombert> hm 23:35 < CIA-11> dominik * r1108 /trunk/src/util/AgaviDecimalFormatter.class.php: fix the decimal formatter to understand the #.##;-#.## format too 23:45 < digitarald> you can use several routings in one url with + ? --- Day changed Wed Oct 11 2006 00:45 < Wombert> digitarald: sure 00:45 < Wombert> digitarald: that's for non-stopping routes though 00:45 < Wombert> such as /rss at the end etc 00:58 < Wombert> HAHA 00:58 < Wombert> impl: you there? 00:58 < Wombert> you'll love this 00:58 < Wombert> haha 00:58 < Wombert> :> 00:58 < Wombert> http://www.youtube.com/watch?v=LdiOR3oybm0 00:58 < Wombert> only the confed flag is missing 01:42 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 01:46 -!- Wombert [n=Wombert@dslb-088-064-007-233.pools.arcor-ip.net] has quit [] 02:19 -!- implement [n=impl@adsl-150-130-71.rmo.bellsouth.net] has joined #agavi 02:20 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Nick collision from services.] 02:20 -!- implement is now known as impl 03:02 -!- benny`work [n=benny@p54AC2996.dip0.t-ipconnect.de] has quit ["unset($this);"] 05:39 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:40 -!- [1]eremit [n=eremit@p5490C968.dip.t-dialin.net] has joined #agavi 05:48 -!- eremit [n=eremit@p5490C963.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 05:48 -!- [1]eremit is now known as eremit 06:18 -!- shoan_ [n=shoan@59.92.140.1] has quit [Read error: 110 (Connection timed out)] 06:18 -!- shoan [n=shoan@59.92.206.74] has joined #agavi 06:34 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 08:15 < v-dogg> huomenta 08:16 < ttj> Huomen. 09:18 < splatch`> hello 09:53 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:56 < raidman> morn' 09:58 -!- Wombert [n=Wombert@dslb-088-064-007-233.pools.arcor-ip.net] has joined #agavi 10:03 < v-dogg> morning David 10:04 < Wombert> hey mate 10:04 < Wombert> 'sup 10:04 < v-dogg> work work :) 10:12 -!- Wombert [n=Wombert@dslb-088-064-007-233.pools.arcor-ip.net] has quit [Nick collision from services.] 10:12 -!- Wombert [n=Wombert@dslb-088-064-024-110.pools.arcor-ip.net] has joined #agavi 10:15 -!- Fast [n=fafsa@81-178-107-126.dsl.pipex.com] has quit [Read error: 60 (Operation timed out)] 10:47 < v-dogg> Wombert: you there 10:49 < Wombert> yes, v-dogg 10:49 < Wombert> quick 10:50 < Wombert> gotta run :) 10:50 < Wombert> 'sup 10:50 < v-dogg> just wanted to go thru a product search thingy without but it'll take some time and pondering 10:50 < v-dogg> so go ahead, I'll talk to you later :) 10:51 < v-dogg> s/without/with you :D 10:51 < v-dogg> BrainOverflowException 10:51 < Wombert> okay 10:51 < Wombert> :) 10:51 < Wombert> heh 10:51 < Wombert> be back in 2 or 3 hrs 10:51 < Wombert> see ya then 10:51 < v-dogg> righty then 10:57 < Wombert> Macca`: http://www.sowherethebloodyhellareyou.com/ 10:57 < Wombert> and for everyone else, too, of course ;) 11:14 -!- shoan_ [n=shoan@59.92.143.55] has joined #agavi 11:17 -!- shoan_ [n=shoan@59.92.143.55] has quit [Client Quit] 11:21 -!- shoan [n=shoan@59.92.206.74] has quit [Read error: 110 (Connection timed out)] 11:56 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 12:35 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 14:07 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 14:55 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 14:55 < v-dogg> I need someone to hold my hand... I'm about to svn update... and I'm a bit scrared ;) 14:55 < v-dogg> -r 14:59 -!- shoan [n=shoan@61.95.206.107] has quit [Remote closed the connection] 14:59 * Wombert holds v-dogg's hand 14:59 < epaulin> update from agavi-svn? 15:00 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 15:01 < v-dogg> epaulin: yeah 15:04 < epaulin> v-dogg, :-) , 0.10=>0.11? I'm curious, cause i have a huge proj relay on agavi 0.10 still wait to upgrade 15:05 < v-dogg> no no, a couple of weeks old 0.11-DEV 15:07 < epaulin> eh, got you 15:10 < v-dogg> so.. what has changed? 15:10 < v-dogg> at least fpf's manual population, right? 15:10 < Wombert> what's your revision 15:11 < v-dogg> don't know. I forgot to mark it down last time 15:19 < Wombert> grep the highest revision number 15:20 < eremit> svn info ? 15:20 < eremit> hi all 15:21 < eremit> Wombert: are you aware about any cookie problems with the basicsecurityuser in conjunction with sessionstorage and ie6.0 ? 15:21 < eremit> i currently have a really strange behauviour ... 15:22 < Wombert> if any, then it's a PHP problem 15:22 < Wombert> maybe some P3P stuff or whatever 15:23 < eremit> hmm 15:24 < v-dogg> eremit: I have agavi in my own svn repo 15:24 < eremit> v-dogg that's bad ^^ :) 15:24 < v-dogg> makes version control easier :) 15:24 < eremit> that's why i have an installer in the svn repo which does the agavi checkout for me ;) 15:25 < eremit> so it's for me svn co http://path/to/repos && make install 15:25 < eremit> (yes blame me for using make ;) ) 15:27 < Wombert> I use svn externals 15:27 < Wombert> has the downside that I really get the latest version no matter what (if I use trunk) 15:27 < eremit> jep ... that's why i'm using a makefile for checking out and installing third party deps ... 15:27 < eremit> like creole/trunk -r26 etc 15:28 < Wombert> well... 15:28 < Wombert> usually, you can use tags on the remote repos 15:28 < eremit> if you trust the svn repo maintainers enough they're not breaking anything ;) l 15:29 < Wombert> ... 15:29 < Wombert> a tag doesn't change 15:29 < eremit> shouldn't change 15:29 < eremit> !! 15:29 < Wombert> that's the whole point of tags :p 15:30 < Wombert> and 15:30 < Wombert> the purpose of svn externals IS that you can stay up to date with an external repos 15:30 < Wombert> if I want a stable version, I can just as well put it into mine 15:30 < Wombert> but if I need to have the latest agavi... svn externals is the best way 15:31 < v-dogg> I like to have my whole project in my repo 15:31 < eremit> yes ... and if you need to freeze agavi at a specified point for some reason you're lost with svn external 15:31 < v-dogg> just have to remember to commit agavi updates with the revision information from now on :) 15:32 < eremit> v-dogg: this can get really huge in some cases ... Oo ... if i would have all 3rd party thinggies i use in the repos it would be about three times as huge as it's currently 15:32 < v-dogg> yeah. I might split them into a repo of their own someday 15:36 < Wombert> I find it pretty annoying that you have to check if you gotta delete any files or so 15:36 < Wombert> that's why I use externals 15:36 < Wombert> v-dogg: did you find the revision number yet 15:36 < Wombert> or how about looking at the date of your last commit 15:41 < v-dogg> no I didn't find it 15:43 < v-dogg> #1039 15:44 < v-dogg> it has been awhile, I see :) 15:44 < Wombert> you mean changeset:1039 is what you have? 15:44 < v-dogg> yep 15:45 < Wombert> MY DESKTOP! 15:45 < Wombert> IS CLEAN! 15:45 < Wombert> NOT A SINGLE FILE THER! 15:45 < Wombert> :>>>> 15:45 < Wombert> nice 15:45 < Wombert> now let's have a look 15:46 < Wombert> what you need to change 15:47 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1054 15:47 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1055 15:47 -!- eremit [n=eremit@p5490C968.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 15:47 < Wombert> maybe http://trac.agavi.org/trac.cgi/changeset/1059 15:48 < Wombert> this might be useful: http://trac.agavi.org/trac.cgi/changeset/1075 15:49 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1093 15:49 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1095 15:49 < Wombert> http://trac.agavi.org/trac.cgi/changeset/1099 15:49 < Wombert> the rest is just bugfixes and i18n stuff 15:50 < v-dogg> why do you and dominik have to be so productive 15:50 -!- eremit [n=eremit@p5490C968.dip.t-dialin.net] has joined #agavi 15:51 < Wombert> to be honest 15:51 < Wombert> I'm a very unproductive 15:51 < Wombert> inefficiently working 15:51 < Wombert> and utterly procrastinating person 15:55 < Wombert> something's wrong with my internet connection 15:55 < Wombert> everything is so slow today 15:57 < v-dogg> hey, I wanted to talk about my product/customer/what-not searches 15:58 < Wombert> right 15:58 < Wombert> allow me to reboot my computer 15:58 < Wombert> and re-sync the DSL line 15:58 < v-dogg> I thought about doing it like this: SearchAction::executeRead shows the search form, ::executeWrite prepares the search (get's the total count) and then redirects to SearchResultAction 15:59 < v-dogg> sure, go ahead 15:59 < v-dogg> SearchResult handles paging of the result set 16:01 < Wombert> brb 16:02 -!- Wombert [n=Wombert@dslb-088-064-024-110.pools.arcor-ip.net] has quit [] 16:11 -!- Wombert [n=Wombert@dslb-088-064-001-180.pools.arcor-ip.net] has joined #agavi 16:14 < Wombert> re 16:18 < Wombert> btw I emailed bob regarding a server migration 16:18 < Wombert> haven't heard back from him yet though :( 16:20 < eremit> ah ... i've found my session problem ... 16:20 < eremit> http://de3.php.net/manual/de/function.setcookie.php#28681 16:21 < eremit> can't you do any server migration without bob ? 16:21 < eremit> or is he the domain owner? 16:22 < eremit> ah ok ... he's the owner 16:23 < Wombert> I hope he'll CC the domain to me 16:23 < eremit> ^^ 16:24 < eremit> as i said yesterday, if you need any help, infrastructure, webspace, traffic etc ... just ask ... 16:28 < Wombert> oh 16:28 < Wombert> did you? 16:28 < Wombert> thanks :) 16:28 < Wombert> right now, we don't need anything 16:29 < eremit> :) .. np 16:30 < Wombert> http://www.iwantoneofthose.com/new-arrivals/usb-hamster-wheel/index.html#top 16:31 < eremit> rofl ... but the armaggedon usb hub is even better ^^ 16:39 < v-dogg> hmm.. according to wombies list there ^ I only have to modify one "stopping" and a few fpf populations 16:39 < v-dogg> too easy, must be missing something here :) 16:44 < Wombert> nah, that's true 16:44 < Wombert> we'll change the validator syntax a bit tho 16:44 < Wombert> dunno when dominik is done with that 16:44 < Wombert> you can now also skip re-population of fields 16:44 < Wombert> and control everything at runtime, not only via the configuration 16:44 < Wombert> e.g. you would skip a CAPTCHA field or so 16:45 < Wombert> and it now handles foo[bar][][1] fields etc etc 16:45 < Wombert> can also skip these, too, of course 16:48 < v-dogg> did you get a change to read my search question earlier? 16:48 < Wombert> yeah been waitin for you to get back to that actually ;) 16:50 < v-dogg> so I want to store total count of the result set and the search attributes into agavistorage 16:50 < v-dogg> and then redirect to SearchResultAction that paginates the result set 16:51 < v-dogg> this allows me to store the search for re-use 16:51 < Wombert> yeah 16:51 < Wombert> that works 16:51 < Wombert> we do that too on a site we built for a customer 16:52 < v-dogg> and allows the user to click a product link and then use back button without any "the page contains POST data blaa blaa blaa" warnings 16:53 < Wombert> yep 16:53 < Wombert> you can do much cooler stuff with that even 16:53 < Wombert> I recommend you write the search results to a database 16:53 < Wombert> so you have a table "search" and a table "search_result" 16:53 < Wombert> you then have an ID 16:54 < Wombert> you can display the list of earlier searches to the user 16:54 < Wombert> and 16:54 < v-dogg> search result can have 100k rows, I don't want to store it :) 16:54 < Wombert> you can store the criteria for the search, too, thus avoiding to search again 16:54 < Wombert> hmm 16:54 < Wombert> then limit it ;) 16:55 < v-dogg> it's limited / paginated to 20 rows per page 16:56 < v-dogg> but storing searches doesn't give much real benefits to the user 16:56 < v-dogg> so I'll just store the last query 16:57 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 60 (Operation timed out)] 17:25 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:58 < splatch`> oi! 18:15 < splatch`> Is anyone here? 18:21 < epaulin> yeah, :-) 18:23 < splatch`> epaulin: you created any project on Agavi 0.11? 18:25 < epaulin> not yet, :-(, did have much time to upgrade old proj 18:45 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 18:56 -!- benny`work [n=benny@p54AC3AB1.dip0.t-ipconnect.de] has joined #agavi 19:02 < v-dogg> evening 19:07 < splatch`> morning ;) 19:07 < v-dogg> no it isn't, you have it all wrong now :) 19:08 < Wombert> hi 19:08 < Wombert> :> 19:08 < Wombert> hi splatch` 19:08 < Wombert> how are you 19:08 < splatch`> v-dogg: i know 19:08 < splatch`> hello Wombert, I'm fine, are you? 19:08 < v-dogg> dinner -> 19:09 < Wombert> yeah I'm fine too 19:09 < splatch`> v-dogg: that was "joke" ;) 19:09 < Wombert> will checkin i18n for the sample app soon 19:09 < splatch`> Wombert: today i'll start my shop application :) 19:09 < Wombert> :) 19:09 < Wombert> any news regarding design/logo 19:09 < splatch`> it will based on Agavi 0.1 19:09 < splatch`> 1 19:10 < Wombert> I noticed that in the mockup I created 19:10 < Wombert> the colors are different 19:10 < Wombert> the orange is brighter etc 19:10 < Wombert> that was by accident 19:10 < splatch`> Wombert: hm.. no, but kazek are live 19:10 < Wombert> kazek's original colors were perfect 19:10 < Wombert> just in case you were wondering why I changed them or so 19:10 < splatch`> i'll ask him about progress after 19:10 < Wombert> that must have happened during the png export 19:10 < Wombert> thanks 19:11 < splatch`> Wombert: kazek've errand/order 19:11 < Wombert> ? 19:11 < splatch`> after work, work :) 19:11 < splatch`> Wombert: freelance 19:12 < splatch`> on monday he fixed other project 19:12 < Wombert> uuh 19:12 < Wombert> okay 19:12 < Wombert> :> 19:13 < splatch`> Wombert: you got that? :) 19:13 < Wombert> I think so 19:13 < Wombert> he has a job 19:13 < Wombert> and he is freelancing 19:13 < splatch`> yes.. 19:13 < Wombert> so he has more work after his day job is over 19:13 < Wombert> and he got a new project on monday 19:13 < Wombert> right? 19:13 < Wombert> :> 19:13 < splatch`> almost :) 19:13 < Wombert> he has a project due monday? 19:14 < Wombert> due = has to be finished by then 19:14 < splatch`> on monday he finish project 19:14 < Wombert> ah 19:14 < Wombert> he'll finish the agavi stuff on monday? 19:14 < splatch`> :) 19:14 * Wombert scratches his head 19:14 < splatch`> i don't think so 19:14 < Wombert> hehe 19:14 < Wombert> :) 19:14 < Wombert> so he has another project and it has to be finished until next monday? 19:15 < Wombert> and he might have time after that 19:15 < Wombert> correct? 19:15 < splatch`> assurance yes 19:15 < splatch`> sureley yes :) 19:15 < splatch`> *surely 19:16 < Wombert> <: 19:16 < splatch`> hmm 19:17 < splatch`> Wombert: from monday kazek's have free time (i think so) :] 19:17 < Wombert> splatch`: okay 19:17 < Wombert> splatch`: no rush 19:17 < Wombert> if he has time to work on it, great 19:17 < splatch`> :] 19:17 < Wombert> if not, no problem, we can wait 19:17 < splatch`> maybe you - yes, but we, no! ;)))) 19:18 < Wombert> it just would be good if we could launch a new site before november 6 ;) 19:18 < splatch`> ok, Wombert are Agavi 0.11 is stable? 19:18 < Wombert> it is, yes, we're only doing some final modifications 19:18 < splatch`> Wombert: agavi 0.11 will be released on 6.11? 19:18 < Wombert> the i18n isn't quite there yet, but almost (only date stuff not working) 19:19 < Wombert> splatch`: I hope so yes 19:19 < splatch`> Wombert: Is that you plan? 19:19 < Wombert> the International PHP Conference is from Nov 7 to Nov 8 and I'll be there and want to do some PR for agavi 19:19 < Wombert> show it around etc 19:19 < splatch`> pr? 19:19 < Wombert> but I can't do that without a website, basic documentation and a proper release 19:19 < Wombert> publicity 19:19 < splatch`> ach! 19:19 < Wombert> you know 19:20 < Wombert> advertise agavi etc 19:20 < Wombert> tell people about it 19:20 < splatch`> marketing :) 19:20 < Wombert> yes 19:21 < splatch`> ok, i'll back later with some news about design 19:21 < Wombert> as I said 19:21 < Wombert> it's not urgent (yet) 19:21 < Wombert> let him finish his stuff first 19:21 < Wombert> that's more important for him! 19:22 < splatch`> yes 19:22 < splatch`> bye 19:22 < Wombert> see ya 19:29 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 21:38 -!- shoan [n=shoan@59.92.222.152] has joined #agavi 21:44 -!- stoni [i=sto@143.pool80-103-0.dynamic.uni2.es] has joined #agavi 21:49 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:12 < splatch`> Wombert: i've got info 22:19 < Wombert> hey splatch` 22:19 < Wombert> what's up 22:21 < splatch`> Wombert: kazek going to made some fixes tomorrow 22:23 < Wombert> splatch`: cool 22:23 < Wombert> but please tell him 22:23 < Wombert> only if he really has time! 22:23 < Wombert> his work is more important 22:23 < Wombert> he must finish his projects first 22:23 < Wombert> and then he can work on agavi design and logo :) 22:24 < splatch`> that's he proposal :) 22:24 < splatch`> not my 22:26 < Wombert> say hello and many thanks to him again 22:28 < splatch`> Wombert: kazek also says hello to you :) 22:28 < splatch`> they tokt "you're wporzo koles" 22:30 < splatch`> wporzo koles = good dude 22:30 < splatch`> ok, bye everyone! 22:32 < splatch`> hm 22:32 < splatch`> one question 22:33 < splatch`> Wombert: agavi has support for autoload and propel classes? 22:33 < splatch`> for example, i've Users/Orders/Products classes 22:33 < Wombert> :) 22:33 < splatch`> and i don 22:33 < Wombert> splatch`: yes, actually, we "invented" propel autoloading ;) 22:33 < Wombert> all you have to do is 22:33 < Wombert> a) edit databases.xml (look at the default one for new projects) so it points to your project-conf.php 22:34 < splatch`> done. 22:34 < Wombert> b) add YourProduct and YourProductPeer classes to autoload.xml 22:34 < splatch`> blah :) 22:34 < Wombert> any maybe also Criteria 22:34 < splatch`> i've 20 peers! :) 22:34 < Wombert> autoloading uses include path, you can just specify propel/util/Criteria.php 22:34 < Wombert> you can then just do YourProductPeer::doSelect() etc 22:35 < Wombert> and agavi will automatically include propel 22:35 < Wombert> call init() 22:35 < Wombert> and set everyting up 22:35 < Wombert> propel 1.3 will have native autoloading 22:35 < Wombert> I added that to SVN a couple of days ago 22:35 < Wombert> 1.3 is very unstable, don't use it yet 22:35 < v-dogg> 20 peers? HAH! I have 120!! :) 22:35 < Wombert> xD 22:35 < Wombert> we'll adapt to 1.3 22:35 < v-dogg> well, maybe not 120 but more than 20 anyways ;) 22:35 < Wombert> the problem is 22:36 < Wombert> 1.3 has it's own autoloadin 22:36 < Wombert> g 22:36 < splatch`> v-dogg: that's small shop :) 22:36 < Wombert> but 22:36 < v-dogg> why is that a problem? 22:36 < Wombert> it's only available after a Propel::init('runtime-conf.php'); 22:36 < Wombert> so to use it 22:36 < Wombert> you'd have to load and init propel 22:36 < Wombert> that's overhead 22:36 < Wombert> agavi will then use the runtime config 22:36 < Wombert> and load the autoload list from there 22:37 < Wombert> so you have the old, everything-JIT approach 22:37 < splatch`> v-dogg: all autoloads are *Peer,orm/ *.php etc 22:38 < Wombert> no need to autoload om/* and map/* 22:38 < splatch`> Can i do this? 22:40 < Wombert> ? 22:40 < Wombert> it's not necessary 22:40 < v-dogg> just MyTable and MyTablePeer into autoload.xml 22:40 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:40 < v-dogg> and it's not that big of a job 22:40 < splatch`> v-dogg: 20 times? :) 22:40 < v-dogg> yes 22:40 < splatch`> 120 times? 22:40 < v-dogg> just add them as you come across them 22:41 < v-dogg> or write a script :) 22:41 < splatch`> :) 22:42 < v-dogg> find lib/propel -name *Peer.php | xargs -i$ echo something$foo > myautoload.xml 22:43 < splatch`> v-dogg: regexp + eclipse 22:43 < splatch`> or, xinclude! :) 22:44 < Wombert> xinclude works 22:44 < Wombert> agavi supports xinclude in all configuration files 22:44 < splatch`> yes, i'll use it 22:44 < v-dogg> but you'll have to first generate something to xinclude :) 22:44 < splatch`> v-dogg: that's not problem :) 22:44 < v-dogg> for example, with find + xargs ;) 22:45 < v-dogg> splatch`: so what is? you just bitched about having to have all propel classes in autoload.xml?-) 22:45 < splatch`> v-dogg: for example dir /W 22:46 < splatch`> v-dogg: when i've other classes that's problem 22:46 < splatch`> v-dogg: script can broke my autoload.xml 22:46 < v-dogg> ok.. 22:47 < v-dogg> off to bed. night 22:47 < Wombert> nn 22:48 < raidman> v-dogg, night 22:48 -!- Kubicek [n=kubicek@gw.letna.cz] has joined #agavi 22:48 < Wombert> Kubicek! 22:48 < Wombert> maaan 22:48 < Wombert> you're alive? 22:48 < Kubicek> hi :) 22:49 < Wombert> glad to have you back 22:49 < Wombert> splatch`is from poland, too 22:49 < Wombert> err no wait 22:49 < Kubicek> i'm from czech, but it's not far ;) 22:49 < Wombert> you were from czech, right? 22:49 < Wombert> heh :) 22:49 < Wombert> sorry ;) 22:49 < splatch`> Kubicek: zloty bazant? :) 22:49 < Kubicek> golden field bird ? :) 22:49 < Wombert> you using 0.11, Kubicek ? 22:50 < Kubicek> Wombert: i haven't updated my agavi for along time, because i'm almost ready with rewriting to ruby on rails :) 22:50 < splatch`> Kubicek: Wombert going to spend some cash and time in poland with friends, me and beer 22:51 < splatch`> :) 22:51 < impl> Rails? :| 22:51 < splatch`> bye! 22:52 < raidman> splatch`, bye :) 22:52 < Wombert> :> 22:52 < Kubicek> impl: yes, i'm using rails for almost a year 22:52 < Wombert> Kubicek: oh don't do that :( 22:52 < Wombert> agavi is so much better 22:52 < Wombert> our routing is better (I promise) 22:52 < Wombert> and 22:52 < Wombert> other stuff, too 22:52 < Wombert> in agavi, you now write one action 22:52 < Wombert> one view 22:52 < Wombert> and then 22:53 < Wombert> you can make it available via the web 22:53 < Wombert> or as xmlrpc 22:53 < Wombert> or on the console 22:53 < Wombert> or whatever you like 22:54 < Kubicek> Wombert: i know. i had to finish the project, but i'm still looking on agavi :) 22:54 < raidman> yeah agavi really rocksssssssssss 22:55 < splatch`> no more f***in view-helpers! 22:57 < raidman> good night guys 22:58 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 23:00 < CIA-11> david * r1109 /trunk/docs/docbook/cookbook.xml: added Propel Integration documentation 23:01 < Wombert> Kubicek: you still there? 23:02 -!- AgaviBot [n=dzuelke@dslb-088-064-001-180.pools.arcor-ip.net] has joined #agavi 23:02 < Kubicek> yes :) 23:02 < Wombert> meet AgaviBot :) 23:02 < Wombert> !seen nobody 23:02 < splatch`> hello AgaviBot! :) 23:02 < AgaviBot> Wombert: I'm sorry, but nobody never spoke a single word here. 23:02 < Wombert> !seen horros 23:02 < AgaviBot> Wombert: horros was last seen on Mon Sep 11 16:02:23 2006 saying "Zend is full of idiots." (joined Sat Aug 19 12:18:03 2006) 23:03 < Kubicek> wow :) 23:03 < Wombert> !info 23:03 < AgaviBot> Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 23:03 < Wombert> the bot has routing rules for the "irc" context 23:03 < splatch`> !seen splatch 23:03 < AgaviBot> splatch`: splatch was last seen on Mon Aug 28 17:27:53 2006 saying "bbl" 23:03 < splatch`> Wombert: wow :) 23:03 < Kubicek> it looks great 23:03 < splatch`> Wombert: cool stuff! 23:03 < Wombert> ;) 23:03 < Wombert> !info 23:03 < AgaviBot> Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 23:03 < Wombert> !status 23:03 < Wombert> !stats 23:03 < AgaviBot> Wombert: I've been monitoring this channel since Fri Jul 7 10:02:38 2006, and I have recorded 13172 events since then. I'm also logging these 2 other channels: #propel, #prototype 23:03 < Wombert> mmh whatever xD 23:04 < Wombert> the best thing 23:04 < splatch`> !opme 23:04 < splatch`> :) 23:04 < Wombert> it doesn't leak memory :> 23:04 < Wombert> adding that would be a matter of adding one routing rule 23:04 < Wombert> <route pattern="^!opme$" module="Ircbot" action="OpUser" /> 23:05 < Wombert> and write OpUser, of course ;) 23:05 < splatch`> Wombert: i've autoload 23:05 < splatch`> and i don't know how add x:include 23:06 < splatch`> now, with xi autoload.xml it's not valid 23:11 < splatch`> Wombert: sorry, my mistake 23:11 < splatch`> works :) 23:12 < Wombert> awesome 23:12 < Wombert> gotta run now 23:12 < Wombert> party time :) 23:12 < Kubicek> have fun 23:13 < Wombert> ty 23:15 * splatch` gone --- Day changed Thu Oct 12 2006 02:24 -!- benny`work [n=benny@p54AC3AB1.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:56 < CIA-11> dominik * r1110 /trunk/src/request/AgaviRequest.class.php: typo 03:58 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 03:58 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1110 : Changeset [1110]: typo 04:15 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit] 04:17 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi 04:36 -!- Wombert [n=Wombert@dslb-088-064-001-180.pools.arcor-ip.net] has quit [] 04:41 < CIA-11> dominik * r1111 /trunk/src/routing/ (AgaviRouting.class.php AgaviWebRouting.class.php): 04:41 < CIA-11> fix ignored parameters getting appended to the query string in webrouting::gen 04:41 < CIA-11> fix ignored parameters not getting passed to the callback in the routing 04:51 -!- AgaviBot [n=dzuelke@dslb-088-064-001-180.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 05:00 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:40 -!- [1]eremit [n=eremit@p5490C74A.dip.t-dialin.net] has joined #agavi 05:59 -!- eremit [n=eremit@p5490C968.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:59 -!- [1]eremit is now known as eremit 07:42 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 08:26 -!- Wombert [n=Wombert@dslb-088-064-001-180.pools.arcor-ip.net] has joined #agavi 08:29 < v-dogg> huomenta 08:32 < Wombert> morning v-dogg 08:46 < v-dogg> fpf population goes like this now: setAttribute('populate', array('form1_id'=>$paramHolder1, 'form2_id'=>... ) ... ) 08:46 < v-dogg> right? 08:46 < Wombert> yes but you don't have to do it this way 08:46 < Wombert> $req->setAttribute('populate', new AgaviParameterHolder(array(...)), 'org.agavi.filter.FormPopulationFilter'); 08:47 < Wombert> will populate the form that belongs to the current action just like in the old days ;) 08:47 < v-dogg> roger 08:47 < v-dogg> how long do you reckon it takes before symfony copies this?-) 08:48 < Wombert> they copied it already 08:48 < Wombert> but poorly 08:48 < v-dogg> haha 08:48 < Wombert> looks like rovert was too stupid to do one of this rip-offs 08:48 < Wombert> so fabien did it but... 08:48 < Wombert> it sucks big time 08:48 < Wombert> doesn't even generate proper XHTML 08:48 < Wombert> only half of the features etc 08:48 < v-dogg> what? 08:48 < Wombert> fabien copied the idea 08:49 < Wombert> not the code (I think) 08:49 < v-dogg> but can they handle multiple forms? 08:49 < Wombert> no 08:49 < v-dogg> that's what I meant 08:49 < Wombert> they don't handle HTML vs XHTML either 08:49 < Wombert> you can't skip fields there IIRC 08:49 < Wombert> they certainly don't support array fields at all 08:49 < Wombert> no control over DOM stuff 08:49 < v-dogg> hihihi 08:49 < Wombert> etc 08:50 < v-dogg> I tried to ask about xml-rpc with symfony on #symfony yesterday but no-one answered 08:51 < eremit> morning ... 08:51 < v-dogg> what database layers they support? 08:51 < eremit> maybe they don't like you anymore v-dogg :P 08:51 < v-dogg> :) 08:51 < Wombert> basically 08:51 < Wombert> you use Propel 08:51 < Wombert> or the framework isn't anywhere close to what it promises to be 08:52 < Wombert> just like you can use their soooo cool form helpers only with PHP templates 08:52 < Wombert> pathetic 08:52 < v-dogg> a guy wanted to use creole and everyone told him to use Propel::getConnection or whatever 08:53 < v-dogg> can't you use CreoleDatabase that mojavi had? 08:54 < epaulin> symfony does have sfCreoleDatabase 08:54 < eremit> Wombert is it possible for me to add an additional term in the license for sources i'm currently thinking about to submit to agavi ? 08:54 < epaulin> i think symfony make everything run first, and agavi make it elegant(from what i understand) 08:55 < Wombert> eremit: huh? 08:55 < Wombert> epaulin: that's true ;) thanks 08:56 < eremit> Wombert, i would like to license it under LGPL but with the additional term: This source may not be used in any form within the symfony project, by it's representatives etc.. blabla :P 08:56 < epaulin> Wombert: :-) 08:56 < v-dogg> eremit :D 08:58 < v-dogg> hey guys, I had an idea yesterday. I haven't thought about its implementation yet but the basic idea was that there should be a way to easily iterate over parameterholder but exclude/include parameters you want 08:59 < v-dogg> foreach($parameters->filter('/form1_.*/') as $name => $value) { .. } 09:00 < eremit> wasn't there a possibility in php to have objects behaving like arrays ? 09:00 < v-dogg> yep 09:00 < v-dogg> ArrayAccess or something 09:00 < v-dogg> from SPL, I think 09:04 < eremit> dunno :) since i started a parallel project in python i start to mix both languages up ... 09:04 < eremit> and start to wonder why certain things don't work in php ... 09:09 < splatch`> hello 09:15 < v-dogg> hmm... it's not in SPL 09:19 < eremit> v-dogg: http://www.php.net/manual/en/language.oop5.iterations.php 09:24 < Wombert> ArrayAccess is for $foo[2] on an object 09:24 < Wombert> you need Iterable etc 09:24 < Wombert> v-dogg: what would that be good for? 09:24 < eremit> Wombert, is there any progress regarding tests for actions and views ? 09:26 < v-dogg> Wombert: just what I showed there. for example I want to list every form1_.* parameter into an email, for debuging or something 09:28 < v-dogg> like I said, I haven't thought about this at all. maybe I can do it easily with some php array function 09:30 < Wombert> eremit: nope 09:31 < Wombert> well 09:31 < Wombert> if it's an array 09:31 < Wombert> you can do it already 09:31 < v-dogg> with callback 09:31 < Wombert> $foo = new AgaviParameterHolder(array('foo' => array(1, 2, 3))); 09:31 < Wombert> $foo->getParameter('foo'); 09:32 < Wombert> is the 1,2,3 array 09:32 < Wombert> $foo->getParameter('foo[0]'); 09:32 < Wombert> is 1 09:32 < Wombert> :) 09:32 < v-dogg> sure, but that's not what I want 09:33 < v-dogg> consider a form with inputs 'order_name', 'order_street', 'order_zip', 'order_city', 'order_phone' 09:34 < v-dogg> now I'd like to dump every order_* field into an email 09:34 < Wombert> order[name] :D 09:34 < eremit> sometimes you cannot change design decisions anymore :P 09:34 < Wombert> heh 09:35 < eremit> but v-dogg, what about implement a getFilteredParameters('regexp') into your parameter class? 09:36 < eremit> btw is it possible to exchange the AgaviParameterHolder without patching agavi? ... 09:36 < eremit> ah ... sorry forget it ... 09:36 < Wombert> not possible, no 09:37 < v-dogg> so I'd have to use $it = new MyFilteringParameterHolderIterator($parameters) 09:37 < Wombert> yes 09:37 < Wombert> unless we decide it's an improvement for everyone and we want to have it in ParameterHolder anyway 09:38 < eremit> i have a proposal :P maybe we should think about adding some kind of mixin support in our mother-of-classes ... 09:38 < v-dogg> we can let this brew for a moment 09:39 < eremit> if mixin is possible in php ... :P would solve v-doggs problem and many other problems about extending exsp. ParameterHolder 09:43 < v-dogg> hey, what about this: http://trac.agavi.org/trac.cgi/ticket/323 09:43 < v-dogg> are these classes used (going to be used) in something else than logging? 09:43 < eremit> afair not ... 09:43 < v-dogg> I don't think so either 09:44 < v-dogg> Wombert? 09:46 < eremit> another solution for your problem v-dogg without the decorator pattern wombert suggested 09:47 < eremit> is to make AgaviParameterHolder inherit a custom class being somewhere in app/ 09:47 -!- Kador [n=koen@d54C1EC26.access.telenet.be] has joined #agavi 09:48 < eremit> so users can add custom functions there and it gets inherited through the whole inheritance tree 09:49 < eremit> additionally this would give agavi some bottom-up functionality adding possibilities ... 09:50 * eremit waits for wombert to explode because of this anti-oop ideas :P 09:51 < v-dogg> welcome Kador 09:52 < v-dogg> first time here? 09:52 < Kador> yep 09:52 < Kador> Still getting used to IRC 09:52 < Kador> Never even used that 09:52 < v-dogg> :) 09:52 < Kador> Was reading some of the logs 09:52 < Wombert> re 09:53 < Kador> I used to read them on the website and thought they had gone 09:53 < Wombert> eremit: explain that mixin stuff 09:53 < Wombert> heyy Kador 09:53 < Wombert> 'sup 09:53 < Wombert> so you got my email :) 09:53 < eremit> mom ^^ getting some links for you 09:53 < Wombert> welcome to the channel 09:53 < Wombert> eremit: I don't think PHP can do that 09:53 < Kador> Hello Wombert 09:53 < Kador> Yes I got your mail 09:54 < eremit> Wombert: http://c2.com/cgi/wiki?MixIn - http://www.rubycentral.com/book/tut_modules.html 09:54 < Kador> So, how much work is it switching from 0.10.2 to 0.11? 09:54 < eremit> Wombert, i would thing php should be able to handle it, using some lambda functions ... 09:54 < Wombert> v-dogg: AgaviLoggingLayout... better 09:54 < Wombert> go for it 09:54 < Wombert> AgaviLoggingMessage? 09:54 < Wombert> yeah, probably 09:54 < v-dogg> or LogLayout? 09:54 < Wombert> AgaviLogMessage sucks, eh? 09:54 < Wombert> I'll let you decide 09:55 < Wombert> http://www.advogato.org/article/470.html 09:55 < v-dogg> oh, too much pressure... :) 09:55 < Wombert> you know 09:55 < Wombert> php would be SO much cooler if it had a preprocessor... 09:55 < eremit> http://www.achievo.org/blog/archives/46-Mixins-in-PHP.html 09:56 < eremit> there are at least 2 possible solutions regarding mixins ... either lambda or static calls ... 09:56 < eremit> but we don't need mixins ... because AgaviParameterHolder (Basically the moac in agavi) extends nothing 09:56 < Wombert> eremit: so we would have to bring back AgaviObject as the base class 09:56 < Wombert> seas was right :) 09:57 < Wombert> well but how 09:57 < Wombert> would you then 09:57 < eremit> why not add an additional class within the app dir ? ... 09:57 < Wombert> add your own class in there 09:57 < eremit> and make aph extend it ... 09:57 < Wombert> The handling of the mixins is done by the Object class. There are two key elements in this solution. First, I make use of the PHP5 magic method '__call' to intercept calls to the objects, and redirect methods to the mixins when necessary 09:57 < Wombert> eeewww 09:57 < eremit> _but_ from scientific point of view, this is nasty, because of bottom-up functionality adding ... 09:57 < Wombert> __call is _so_ slow 09:58 < Wombert> I'm not really in the mood to mess up the framework or make it slower 09:58 < eremit> i think the inheritance solution would be better and faster ... 09:58 < Wombert> just because of such a "minor" feature 09:58 < Wombert> Kador: we'll talk in a minute 09:58 < eremit> yes, but you add the possibility to have unimagined solutions ... and if a dev needs this he must cope with the slowness ... 09:58 < Kador> no prob 09:59 < Wombert> eremit: provide a proof of concept 09:59 < Wombert> with a working example of how it would be used 09:59 < Wombert> it sure sounds interesting 09:59 < eremit> i would vote for a moac class in the app dir ... and make aph extending it ... 09:59 < eremit> wombert, i'll do my best ;) 09:59 < Wombert> moac? 09:59 < Wombert> aph? 09:59 < Wombert> oO 10:00 < Wombert> if the solution means people can inject custom code into any of the "fixed" classes... why not 10:00 < Wombert> but then, that's strongly against the LGPL and "final class..." idea 10:00 < eremit> moac - mother of all classes .... aph - agavi parameter holder 10:00 < Wombert> xDD 10:00 < Wombert> some parts of agavi aren't customizable, and that's intentional 10:00 < Wombert> it's only ParameterHolder, Agavi, AgaviContect and the config cache 10:00 < eremit> as i said it's from scientific point of view really nasty 10:00 < Wombert> because these are central aspects of the framework 10:01 < Wombert> and if people need a change there 10:01 < eremit> but adds several additional possibilities 10:01 < Wombert> I want them to step forward and suggest a change, so everybody profits 10:01 < eremit> yes and now you have the moment with v-dogg ... 10:01 < eremit> v-dogg needed a solution ... and most likely nobody needs it too ... 10:02 < eremit> so it's not implemented in agavi ... 10:02 < eremit> solution could be for v-dogg to customize his agavi ... create patches ... 10:02 < eremit> and then we have many patches, and no consistent base ... 10:02 < Wombert> he could just write his own iterator 10:03 < Wombert> foreach(new ParameterHolderIterator($params) as $foo) 10:03 < eremit> yeah as you suggested ... basically using a decorator pattern ... 10:03 < Wombert> I'm not saying we don't implement it if nobody needs it 10:03 < Wombert> if it doesn't slow things down at runtime (don't see how it would) 10:03 < Wombert> and if it's _reasonable_, i.e. not a hack for a total edge case 10:03 < Wombert> why not 10:04 < eremit> yes but imagine ... agavi gets hyped .. and we start to implement dozens of this suggesting 10:04 < eremit> we blow up the codebase ... 10:04 < Wombert> from my cold dead hands 10:04 < eremit> so why not add a possibility to customize aph ... ;) 10:04 < eremit> ohoh, this starts to get philosophical ;) 10:04 < Wombert> if any, then we'll do that for everything 10:04 < Wombert> i.e. re-introduce AgaviObject and make it the super class for everything 10:04 < Wombert> implement it there 10:05 < Wombert> and make it work in a way that allows to inject code anytime, anywhere 10:05 < Wombert> go create a sample of what you're thinking of 10:05 < Wombert> so we can look at it 10:05 < Wombert> does __call slow down things at runtime? 10:05 < eremit> kk i'll do my best ;) since mixin is something i'm really missing 10:05 < Wombert> I mean... even if it's not used 10:05 < eremit> dunno i will profile that out ^^ 10:05 < Wombert> it's called only if the method doesn't exist anyway 10:05 < Wombert> yeah please do 10:06 < Wombert> I'd love to see if there is overhead 10:06 < Wombert> or if __call only hooks into the part where PHP would normally raise a undefined method error 10:06 < Wombert> you really use python a bit too much it seems 10:06 < Wombert> you get weird ideas 10:06 < eremit> python and ruby are both really strange in some things ... 10:07 < eremit> but i really really like their approach ... 10:07 < Wombert> $foo = $bar if($condition) else $baz 10:07 < Wombert> that's a cool syntax 10:07 < Wombert> python 2.5 has that 10:07 < eremit> yeah ... 10:07 < Wombert> Kador: you asked how much effort it is to port a 0.10 app to 0.11 10:07 < Wombert> maybe eremit and v-dogg can shed some light on that, too 10:07 < Kador> yes 10:07 < eremit> but even cooler is [1,2,3].each {|a| a += 1} => [2,3,4] 10:07 < Wombert> I already wrote you some lines about that in my email 10:07 < eremit> (ruby syntax) 10:07 < Wombert> eremit: yes 10:07 < Wombert> eremit: gotta love prototyped languages 10:08 < Wombert> one of the reasons why I really like javascript these days 10:08 < eremit> yes ... but javascript isn't much usefull in server envs ... 10:08 < Wombert> it's a fantastic language... it has some major annoyances, but in general, it's fantastic 10:08 < Wombert> I didn't know JS before I used script.aculo.us and prototype and looked at their code 10:09 < Wombert> WOOT 10:09 < eremit> for me it looks like all these dynamic languages (js, python, ruby etc... ) 10:09 < Wombert> lost should long be over by now 10:09 * Wombert goes find the torrent 10:09 < eremit> Kaldor you are thinking about porting an 0.10 app to 0.11 ? 10:10 < v-dogg> Kador: it depends heavily on how you have done your 0.10 app. if you have separate models that have all you business logic it might be easier to create a new 0.11 project, re-do actions and views and just drop in your models from 0.10 app 10:10 < Kador> Well, I'm still developing one in 0.10.2 10:10 < Wombert> sample app might be broken right now btw 10:10 < Wombert> working on a fix 10:11 < v-dogg> Kador: that's how I ported one project 10:11 < Kador> models are a separte layer, (domainobjects + datamappers) 10:11 < v-dogg> with custom action + view templates creating a project "stub" is a breeze 10:12 < Kador> is there any documentation on 0.11 right now? 10:13 < Wombert> not much 10:14 < Wombert> the changelog is pretty... raw :) 10:14 < Wombert> there's an API_CHANGELOG, not sure if it's finished 10:14 < Wombert> let me have a look 10:14 < Kador> my biggest problem is that I'm working on a finishing up some things for a release and re-learning the framework might not be the right time 10:14 < Kador> I think I saw the API-changelog 10:14 < Kador> Looks like a lot of changes 10:14 < Wombert> many don't affect your app 10:14 < eremit> if you are currently at the finished touches you shouldn't change the code base ... 10:14 < Wombert> but for instance, request methods are different now 10:15 < Wombert> you don't declare which you use by getRequestMethods 10:15 < eremit> make your release and shedule the agavi update for the next major update ... 10:15 < Wombert> instead, the existence of a method declares that the action serves that request method 10:15 < Wombert> executeRead() for GET et 10:15 < Wombert> c 10:15 < Wombert> no more GET and POST... 10:15 < Wombert> on IRC or on the console, you don't have that 10:15 < Wombert> and XMLRPC is always POST 10:15 < Wombert> and RESTful stuff has PUT and DELETE, too 10:15 < Kador> sounds interesting 10:16 < Wombert> how far along is that project? 10:16 -!- AgaviBot [n=dzuelke@dslb-088-064-001-180.pools.arcor-ip.net] has joined #agavi 10:16 < Kador> So, doing an app with both HTML and Json views is easier now too? 10:16 < Wombert> yes 10:16 < Wombert> one action 10:16 < Wombert> one view 10:16 < Wombert> just different output 10:16 < Wombert> that's an essential part of the new design 10:16 < Wombert> a feature we hope will attract users 10:17 < Wombert> the concept is built around the Output Types 10:17 < Wombert> Kador, meet AgaviBot 10:17 < Wombert> !seen horros 10:17 < AgaviBot> Wombert: horros was last seen on Mon Sep 11 16:02:23 2006 saying "Zend is full of idiots." (joined Sat Aug 19 12:18:03 2006) 10:17 < Kador> I need to get something out to my users somewhere in november 10:17 < Wombert> !stats 10:17 < AgaviBot> Wombert: I've been monitoring this channel since Fri Jul 7 10:02:38 2006, and I have recorded 13209 events since then. I'm also logging these 2 other channels: #propel, #prototype 10:17 < Wombert> !info 10:17 < AgaviBot> Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 10:17 < Kador> What does Agavibit do 10:17 < Wombert> it stays on IRC 10:17 < Wombert> logs all activity 10:18 < Wombert> and it can tell you some stuff, such as !seen or so 10:18 < Wombert> I only implemented basic features so far 10:18 < Wombert> but it also keeps tracks of feeds, for example 10:18 < eremit> have you released the code of the bot somewhere ? 10:18 < Kador> Cool 10:18 < Wombert> no 10:18 < Kador> Might be a good sample app 10:18 < Wombert> I will release it sometime after 0.11 10:18 < Wombert> as a new sample app 10:18 < Wombert> yes 10:18 < Wombert> but the web interface needs some ajax stuff etc 10:18 < Wombert> to really showcase some features 10:19 < Kador> The most frustrating part about learning Mojavi/Agavi was the lack of documentation or good examples 10:19 < Wombert> one feature will be live logs 10:19 < Wombert> where you click a channel 10:19 < Wombert> and it updates messages as they happen 10:19 < Wombert> via XHR 10:19 < Wombert> Kador: yep, exactly 10:19 < Wombert> thus your best bet might be to wait until 0.11 is out with some documentation 10:19 < Wombert> eremit and v-dogg have the advantage that they are on IRC a lot 10:19 < Wombert> so they learn about changes as they happen 10:20 < Wombert> which makes it easier for them to port their apps etc etc 10:20 < Wombert> agavi 0.11 will launch with a new website 10:20 < Wombert> and some basic documentation 10:20 < Wombert> the focus for 1.0 is then new and more unit tests 10:20 < Kador> Right now I'm going to continue with 0.10.2 and I'll switch after I've made a release (right now I've got way too much people asking when it'll be ready) 10:20 < Wombert> and documentation, documentation, documentation 10:20 < Wombert> other than that, it's gonna be the same as 0.11 10:21 < Kador> I'de be willing to help with UT and docs 10:21 < Wombert> so you can upgrade your 0.11 apps to 1.0 without any breakage 10:21 < Wombert> that would be most appreciated! 10:21 < Kador> SimpleTest or PhpUnit? 10:21 < Kador> I've only used Simpletest 10:22 < Wombert> PHPUnit3 10:22 < Wombert> we'll use that new version then 10:22 < Wombert> has better features 10:22 < eremit> NO! pls not 3 10:22 < Wombert> mock objects etc 10:22 < Wombert> yes, PHPUnit3 10:22 < Wombert> why not 10:22 < eremit> you know you would have to bump the php requirement up ? 10:24 < Wombert> I'm aware of that it requires 5.1.4 10:24 < Wombert> that doesn't mean agavi has to require that version, too, though 10:24 < Wombert> agavi's own tests will definitely be phpunit3 based 10:24 < eremit> hmpf ... 10:24 < Wombert> we could always make the app tests phpunit2 compatible 10:24 < Wombert> but we wouldn't have to 10:24 < Wombert> because 10:24 < Wombert> everyone can set up a dev machine with that minimum version to run unit tests 10:24 < Wombert> if he needs them 10:24 < Wombert> it's not on the agenda for 0.11 anyway 10:25 < Wombert> let's focus on getting a release out and get back to the discussion after that 10:26 < Kador> Do you have any concrete plans for the documentation? Structure? Format = Docbook? 10:26 < Wombert> right now, the plan is to have three docbooks 10:27 < Wombert> an intro manual without or next to no code 10:27 < Wombert> but a description of the architecture and the capabilities of agavi 10:27 < Wombert> for decision makers etc that want to get an impression of agavi 10:27 < Wombert> maybe 10 pages or so, maximum 10:27 < Wombert> a manual 10:27 < Wombert> that describes installation, elements of an application etc 10:27 < Wombert> and a cookbook, with popular topics 10:27 < Wombert> small tricks etc 10:28 < Wombert> there's already some content in each of them, if you want to have a look 10:28 < Kador> Impressive 10:28 < Kador> Where do I get them, just co the svn? 10:28 < Wombert> we decided against a wiki for documentation, for instance 10:28 < Wombert> they're useless 10:28 < Wombert> yes, in svn 10:28 < Kador> Wiki's usefull as scratchpad 10:28 < Kador> I like the phing and propel docs 10:28 < Wombert> yeah, but for complete documentation, there's just not enough structure 10:29 < Wombert> it's so much work to keep everything up to date etc 10:29 < Wombert> we'll have nightly builds of the docbooks 10:29 < Wombert> as well as the API docs 10:29 < Kador> Docbook sounds good 10:29 < Wombert> and, of course, nightly SVN snapshots of agavi 10:30 < Kador> One more thing, Agavi's not going the Symfony route (tight coupling)? 10:30 < v-dogg> never 10:30 < Kador> Ok, that's what I wanted to hear 10:31 < v-dogg> and we don't steal code either ;p 10:31 < Wombert> yeah 10:31 < Wombert> they steal code 10:31 < Wombert> not only from us... 10:31 < Kador> ouch 10:31 < Wombert> and violate licenses etc 10:31 < Wombert> morons 10:31 < Kador> BTW, where are you all from? 10:31 < Wombert> their license is MIT, ours is LGPL, so they're not allowed to take code from us... but they don't seem to care 10:31 < Wombert> Munich, Germany 10:32 < v-dogg> Turku, Finland 10:32 < Wombert> dominik is from Munich, too 10:32 < Kador> I'm from Gent, Belgium 10:32 < eremit> Flensburg, Germany 10:32 < Kador> Is Agavi mostly a European thing? 10:32 < Wombert> v-dogg: Turko has a lot of famous dockyards, doesn't it 10:32 < Wombert> actually... no :) 10:32 < Wombert> it now is 10:32 < Wombert> but like mojavi, it started in the U.S. 10:32 < Wombert> we have users from all over the world 10:33 < Wombert> a guy from china was here once 10:33 < Wombert> some japanese folks 10:33 < Wombert> shoan is from india 10:33 < Wombert> raidman is from iran 10:33 < Wombert> pressureman is a new zealander 10:33 < Wombert> Macca` is from Down Under 10:33 < Wombert> splatch` is from poland 10:33 < Macca`> macca is AWESOME 10:33 < Wombert> Kubicec is from Czech 10:33 < Wombert> Macca`: got somethin for ya 10:34 < Kador> Hurray for Globalization 10:34 < Wombert> reminds us OZs of how great teh country is 10:34 < Wombert> http://www.youtube.com/watch?v=GZGSqxw8qKA 10:34 < Wombert> do you know this? 10:34 < Wombert> aired during the 2000 summer olympics 10:34 < Kador> Are you planning on translating the docs also or just leaving everything in English? 10:34 < Wombert> and http://www.youtube.com/watch?v=3pMOBVX88Kg is now on TV in germany 10:34 < Wombert> Kador: translating them would be great, I think 10:35 < Wombert> I and others could translate to german 10:35 < Wombert> could you translate to french, too 10:35 < Wombert> ? 10:35 < Kador> I speak dutch, not french 10:35 < Wombert> okay :) 10:35 < Wombert> that's what I wanted to know 10:36 < Kador> Nice vid, pitty they're lying about the beer 10:36 < v-dogg> haha 10:36 < Wombert> actually, I like Foster's 10:36 < Wombert> but it's an export beer 10:36 < Kador> I speak and read some french, but not enough to do serious translating 10:36 < Wombert> you don't get it in australia 10:36 < Kador> Everybody knows the best beer's from Belgium. :) 10:37 < Wombert> the second vid is very cool, too 10:37 < Wombert> haha... right 10:37 < v-dogg> ehm... wrong 10:37 < Kador> It's called Westvleteren 10:38 < Wombert> "and Bill's down on his way to open the front gate"... haha 10:39 < v-dogg> hmm... 10:39 < v-dogg> Input is not proper UTF-8, indicate encoding ! 10:39 < Wombert> where? 10:39 < v-dogg> fpf 10:39 < Macca`> Wombert, we have a saying: "Fosters - There's a reason we export it..." 10:42 < epaulin> Wombert: the chinese guy should be me, :-) 10:42 < Wombert> epaulin: are you from china? oO 10:43 < Wombert> didn't realize that 10:43 < epaulin> yup 10:43 < shoan> agavi is going international :) 10:43 < Wombert> oO 10:43 < Wombert> seriously, epaulin 10:43 < Wombert> spread the word 10:43 < Wombert> 1.3bn potential users over there xD 10:43 < v-dogg> :D 10:43 < Wombert> shoan: and you! spread the word! 10:44 < epaulin> yes, i swear 10:44 < Wombert> I want every single programmer from india to use agavi by the end of the year! 10:44 < Wombert> :> 10:44 < shoan> lol 10:44 < epaulin> :-) 10:44 < Wombert> Macca`: yeah there sure are better brands 10:44 < v-dogg> hey, what's going on with my app and fpf here... 10:44 < Wombert> I believe I once (long ago) drank a tooheys 10:44 < Wombert> I got an old poster 10:44 < epaulin> we started from Mojavi3 and ported our app to agavi since Feti left Mojavi 10:44 < Wombert> where a koala sits on a bike 10:45 < Wombert> and he has two cans of tooheys fixed to the bike and a straw 10:45 < Wombert> epaulin: cool 10:45 < Wombert> epaulin: if you wanna translate documentation to chinese or so, let me know! 10:45 < Wombert> oooh by the way guys 10:45 < Wombert> really, everyone 10:46 < Wombert> please download a gettext editor! 10:46 < Wombert> I'll check in a translated sample app soon 10:46 < Wombert> it'll be german and english first, but we could translate it to everything 10:46 < v-dogg> gettext editor? 10:47 < Wombert> a .po editor 10:47 < epaulin> Wombert: sure, i will 10:47 < Wombert> we don't use gettext natively 10:47 < Wombert> but agavi can read .mo files 10:47 < Wombert> so you can use gettext if you want 10:48 < eremit> Wombert: http://phpfi.com/162778 10:49 < eremit> Result: 10:49 < eremit> Execution Time: 25.9897861481 10:49 < eremit> Execution Time: 24.8165700436 10:50 < eremit> so using __call seems to speed up? or at least the performance seems to be the same 10:50 < eremit> php version 5.1.2 10:51 < Wombert> it's probably within the margin of error, yeah 10:51 < Wombert> but 25s for 10k iterations? 10:51 < Wombert> oO 10:53 < eremit> moment ... 10:53 < eremit> i have 10k iterations in the function 10:53 < eremit> and 10k function calls ... 10:53 < eremit> so it's 10k*10k iterations ... 10:53 < eremit> and the development server isn't one of the fastest ;) 10:54 < Wombert> oh 10:54 < Wombert> yeah 10:54 < Wombert> missed that 10:54 < eremit> the only itch in my solution is ... within the class you want to mixin there is a distinct difference between $self and $this 10:55 < eremit> and you are applied to var scopes of $self ... 10:56 < eremit> but i hope you got the idea about dynamically loading methods ... 10:58 < Wombert> mmmh 10:58 < Wombert> where did you mix in the other class? 10:58 < Wombert> isn't that missing? 10:59 < Wombert> wouldn't you have to add $class->mixin('ThisIsTheClassToBeMixedIn'); ? 10:59 < eremit> hmmm ... this test is only for __call performance ... 10:59 < eremit> i would have to use $class->mixin(new ThisIsTheClassToBeMixedIn()) 11:00 < eremit> // And now the class which is capable of mixins 11:00 < eremit> $class = new MyClass(); 11:00 < eremit> $class->mixin(new ThisIsTheClassToBeMixedIn()); 11:00 < eremit> $start = microtime(true); 11:00 < eremit> like this ^^ 11:00 < Wombert> no instance, right? 11:00 < Wombert> a class name 11:00 < eremit> no an instance ... 11:00 < Wombert> public function mixin($class) { 11:00 < Wombert> 11:00 < Wombert> $methods = get_class_methods($class); 11:01 < Wombert> get_class_methods expects a class name, too 11:01 < Wombert> wouldn't everything else be nonsense anyway 11:01 < Wombert> you want to mix in functionality of a class 11:01 < eremit> yes but since php can't do that ... i have to mixin an instance 11:02 < eremit> that's because of the stupid php compiler like behauviour ... and no runtime code changes 11:02 < eremit> and since i cannot access the code of a method .. i cannot create a lambda ... 11:02 < eremit> like ruby or python can ... 11:03 < Wombert> ? 11:03 < Wombert> you're using call_user_method_array anyweay !? 11:03 < eremit> pardon ? 11:03 < Wombert> return call_user_method_array($method, $this->_mixins[$method], $args); 11:03 < Wombert> in __call 11:04 < Wombert> should be call_user_func_array anyway 11:09 -!- shoan_ [n=shoan@59.92.136.233] has joined #agavi 11:21 -!- shoan [n=shoan@59.92.222.152] has quit [Read error: 110 (Connection timed out)] 11:37 < Wombert> bbl 11:42 -!- Macca` [i=brendanm@maccasoft.com.au] has quit ["Leaving"] 12:04 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 12:14 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 12:35 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 12:51 < v-dogg> Wombert: I need you! 13:00 < shoan_> http://www.tatanka.com.br/ies4linux/page/Main_Page 13:05 -!- Kador [n=koen@d54C1EC26.access.telenet.be] has quit ["Ex-Chat"] 13:08 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 13:14 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 13:19 < Wombert> re 13:19 < Wombert> v-dogg: y0 13:24 < v-dogg> fpf is bitching about encoding 13:24 < Wombert> how 13:24 < v-dogg> Input is not proper UTF-8 .... AgaviFormPopulationFilter.class.php on line 126 13:25 < Wombert> is your stuff utf8? 13:25 < Wombert> or iso 13:25 < v-dogg> iso 13:25 < Wombert> did you declare that anywhere? 13:25 < v-dogg> only in <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> 13:25 < Wombert> use <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> 13:25 < Wombert> hmm 13:25 < Wombert> did you do it in the output type, too? 13:26 < v-dogg> yes 13:26 < v-dogg> but fpf never gets a change to use that because DOM won't even load the xml 13:26 < Wombert> woot? 13:27 < Wombert> ah... 13:27 < Wombert> it's loaded as XML, right? 13:27 < Wombert> I believe the XML spec says for everything but text/xml, assume UTF8 if no prolog is given 13:27 < Wombert> you have two options 13:27 < Wombert> a) wait till I fix it 13:27 < Wombert> b) set config parameter parse_xhtml_as_xml to false 13:27 < Wombert> let me know if the latter works 13:28 < Wombert> I'll create a reproduce case later 13:32 < v-dogg> b works 13:51 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 14:38 -!- stoni- [i=sto@11.pool80-103-37.dynamic.uni2.es] has joined #agavi 15:05 -!- stoni [i=sto@143.pool80-103-0.dynamic.uni2.es] has quit [Read error: 110 (Connection timed out)] 15:05 -!- stoni- is now known as stoni 15:06 -!- shoan_ [n=shoan@59.92.136.233] has quit [Read error: 110 (Connection timed out)] 15:08 -!- shoan [n=shoan@59.92.136.233] has joined #agavi 15:53 -!- horros [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has joined #agavi 15:53 < horros> hai 2 u 15:53 < v-dogg> hey horrosdude 15:53 < eremit> heyho horros 15:53 < horros> hehe 15:54 < horros> v-dogg: guess who called us and was interested in our product 15:54 < horros> a tiny little company called... 15:54 < horros> TietoEnator 15:54 < horros> :D 15:54 < v-dogg> congratulations :) 15:55 < horros> I told boss to say we can port it to Java and sell everything to them :) 15:55 < horros> I wouldn't mind going to work for Enator as a Nappula-consultant :) 15:55 < v-dogg> no no no! port it symfony! 15:56 < v-dogg> Wombert: I need you. again :) 16:08 -!- Wombert [n=Wombert@dslb-088-064-001-180.pools.arcor-ip.net] has quit [Nick collision from services.] 16:09 -!- Wombert [n=Wombert@dslb-088-064-018-119.pools.arcor-ip.net] has joined #agavi 16:14 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 16:18 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:24 -!- AgaviBot [n=dzuelke@dslb-088-064-001-180.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 17:20 < Wombert> re 17:20 < Wombert> v-dogg: back 17:24 -!- shoan [n=shoan@59.92.136.233] has quit [Read error: 104 (Connection reset by peer)] 17:24 -!- shoan [n=shoan@59.92.136.233] has joined #agavi 17:43 < v-dogg> Wombert: everything is ok again. just didn't get fpf to populate but it was my mistake 18:00 < epaulin> Wombert: just look at the sample app, seems there is a issues with php5.2-RC5 18:00 < epaulin> - public function translate($message, $domain, $locale) 18:00 < epaulin> + public function translate($message, $domain, AgaviLocale $locale = null) 18:00 < Wombert> isn't that fixed yet 18:00 < Wombert> well 18:00 < epaulin> in php5.2, this will got a Fatal error. 18:00 < Wombert> I'll check in changes that get rid of that anyway 18:00 < Wombert> soon 18:01 < epaulin> :-) 18:01 < Wombert> fixed in SVN 18:02 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 18:03 < epaulin> relly quick, ha 18:05 < Wombert> cheers jake 18:10 < jake> wrt Hans Reiser; "If he did kill his wife, which is nowhere near certain, and then subsequently chopped up the body, I bet the pieces are of manageable size and spread evenly throughout a wooded area for easy, order-N retrieval..." 18:10 < jake> That's just wrong 18:10 < jake> good morning Wombert 18:14 < epaulin> I don't believe it, and some guy at slashdot make joke of it:" just roolback..." 18:19 < Wombert> ... slashdot comments... 18:19 < Wombert> "Why doesn't the police use Hans' Journal to recover his lost wife?" 18:23 < Wombert> http://cbs5.com/localwire/localfsnews/bcn/2006/09/13/n/HeadlineNews/HOME-SEARCHED/resources_bcn_html 18:34 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 18:35 < splatch`> oi! :) 18:36 < v-dogg> hmm.. 18:36 * v-dogg is running ubuntu livecd 18:36 < v-dogg> it's kinda nice 18:36 < Wombert> how uncool 18:36 < v-dogg> how very cool :) 18:38 < jake> I now hate debian, and all its derivatives, due to 'IceWeasel' being the dumbest idea I've heard in two years that wasn't related to government 18:38 < Wombert> yes! 18:39 < Wombert> I so agree 18:39 < Wombert> these die hard free software idiots with their long beards and dirty fingernails are just utterly retarded 18:39 < v-dogg> IceWeasel? 18:39 < Wombert> the firefox logo is trademarked 18:40 < Wombert> which means it's not free according to the definition of the GNU idiots 18:40 < Wombert> so firefox uses a different logo in debian and all the other shitty derived dsitros 18:40 < v-dogg> woot!? 18:40 < v-dogg> hahaha 18:40 < Wombert> mozilla now said "fuck you, don't mess with our logo, using a different logo with the name "firefox" is a license violation" 18:40 < Wombert> now they bundle their own bullshit and label it IceWeasel 18:43 < v-dogg> but this is still quite nice 18:44 < v-dogg> and a bit cheaper than a mac ;) 18:44 * v-dogg ducks and covers 18:44 < Wombert> yeah 18:44 < Wombert> and they copy OS X looks 18:44 < Wombert> and put it onto the windows feels 18:44 < Wombert> which means that they essentially took two pretty solid ideas 18:45 < Wombert> and messed them up 18:50 < Wombert> should I ever use linux 18:50 < Wombert> I'd use XFCE 18:50 < Wombert> or whatever it's called 18:51 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 18:53 -!- AgaviBot [n=dzuelke@dslb-088-064-018-119.pools.arcor-ip.net] has joined #agavi 19:00 < splatch`> !seen Wombert 19:00 < AgaviBot> splatch`: Wombert is online right now, last message on Thu Oct 12 12:28:03 2006 saying "I'll create a reproduce case later" (joined Tue Aug 29 00:31:42 2006) 19:00 < splatch`> :] 19:01 < Wombert> mmmh.... 19:01 < Wombert> fuck xgettext 19:05 -!- stoni [i=sto@11.pool80-103-37.dynamic.uni2.es] has quit [] 19:08 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:08 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1113 : Changeset [1113]: added TranslationManager::__(), puts the first three arguments (singular ... 19:09 < splatch`> smarter! 19:15 < Wombert> jake: you there? 19:40 < CIA-11> david * r1112 /trunk/samples/app/lib/translation/AgaviSampleAppTranslator.class.php: sample app hotfix 19:40 < CIA-11> david * r1113 /trunk/src/translation/AgaviTranslationManager.class.php: 19:40 < CIA-11> added TranslationManager::__(), puts the first three arguments (singular 19:40 < CIA-11> message, plural message, amount) and then calls TranslationManager::_() with 19:40 < CIA-11> that array as the first argument. All following arguments are identical. This is 19:40 < CIA-11> for xgettext and other uncool translation source generators that start whining 19:40 < CIA-11> once you use special characters. Look at the cookbook for information on how to 19:40 < CIA-11> generate gettext .po files from your code 19:54 < epaulin> Wombert: is there anyway to get request parameters from other static method and did't need pass $parameters from action or view; 19:55 < Wombert> epaulin: hmmm... I didn't fully understand that 19:57 < epaulin> imagine we have a custome RequestUtils::getParameter which do: 19:57 < epaulin> $value = Context::getInstance()->getRequest()->getParameter($name); 19:57 < Wombert> hmm 19:57 < Wombert> and where are you doing that? 19:57 < Wombert> the request params are locked only during view and request executionm 19:57 < Wombert> btw, Context::getInstance() is evil 19:58 < Wombert> it doesn't guarantee you get the context instance the calling method is running in 19:58 < Wombert> better pass the context 19:59 < epaulin> my ex-fellow did that, wrap some default value, filter, etc 19:59 < Wombert> hmm 19:59 < Wombert> I'm sure there is a cleaner way ;) 19:59 < Wombert> do you get an error message or what? 20:01 < epaulin> nop, just invest how much work need do porting 0.10 to 0.11, 20:01 < Wombert> as I said 20:02 < Wombert> $request->getParameters() is only forbidden inside Action::execute() and View::execute() 20:02 < horros> stupid notpron 20:02 < horros> #)(%#)(% 20:02 < epaulin> seems i got lucky 20:02 < horros> I can't get past level 3 :( 20:02 < Wombert> haha 20:02 < splatch`> how to use smarty as view layer 20:03 < splatch`> must i extend AgaviSmartyView? 20:04 < Wombert> no 20:04 < Wombert> we use renderers now 20:04 < Wombert> that means 20:04 < Wombert> your view can use multiple renderers 20:04 < splatch`> Wombert: any example? :) 20:04 < Wombert> uh 20:04 < Wombert> sample app? 20:04 < Wombert> :) 20:04 < horros> w00t 20:04 < horros> level 4 :) 20:05 < Wombert> class IndexSuccessView extends AgaviView 20:05 < Wombert> the output type defines which renderer is used 20:05 < Wombert> that's why you now also do $this->setTemplate('IndexSuccess'); 20:05 < Wombert> without extension 20:05 < Wombert> because the extension is defined by the output type, too 20:05 < Wombert> of course you can still override it by hand in the code 20:05 < Wombert> either by forcing the file extension ('IndexSuccess.blah', true); 20:05 < splatch`> where's renderer? 20:05 < Wombert> or 20:06 < Wombert> you can also return a renderer from the view if you want to override the one defined in the output type 20:06 < splatch`> Wombert: can i use two renderers in one view class? 20:08 < splatch`> in Mojavi 4 was also renderers 20:09 -!- epaulin [n=epaulin@218.22.2.93] has quit ["bye"] 20:09 < Wombert> splatch`: yes 20:09 < Wombert> ... 20:09 < Wombert> renderers are per output type 20:10 < Wombert> they are independent of the view 20:14 * splatch` found (<renderer class="AgaviPhpRenderer">) :] 20:39 -!- benny`work [n=benny@p54AC3BE1.dip0.t-ipconnect.de] has joined #agavi 21:57 -!- jake [n=jake@gg.internal.mixxer.com] has quit ["Leaving"] 22:02 < CIA-11> david * r1114 /trunk/src/translation/AgaviTranslationManager.class.php: TranslationManager::getAvailableLocales() 22:04 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 22:04 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1114 : Changeset [1114]: TranslationManager::getAvailableLocales() 22:06 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi --- Day changed Fri Oct 13 2006 00:07 -!- stoni [i=sto@220.pool80-103-0.dynamic.uni2.es] has joined #agavi 00:55 -!- horros [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 00:58 -!- benny`work is now known as benny`patchslut 01:35 < CIA-11> david * r1115 /trunk/src/routing/AgaviWebRouting.class.php: pass null as the route name to gen() to re-generate the current URL (includes query params etc). of course, you can still overwrite individual params in such a call. 01:37 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 01:37 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1115 : Changeset [1115]: pass null as the route name to gen() to re-generate the current URL ... 01:40 < CIA-11> david * r1116 /trunk/samples/ (32 files in 6 dirs): some translation for the sample app. not 100% complete yet. 01:43 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 01:43 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1116 : Changeset [1116]: some translation for the sample app. not 100% complete yet. 01:46 -!- AgaviBot [n=dzuelke@dslb-088-064-018-119.pools.arcor-ip.net] has quit [Remote closed the connection] 01:47 -!- Wombert [n=Wombert@dslb-088-064-018-119.pools.arcor-ip.net] has quit [] 01:48 -!- benny`patchslut [n=benny@p54AC3BE1.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:51 -!- stoni [i=sto@220.pool80-103-0.dynamic.uni2.es] has quit [Success] 03:16 < CIA-11> dominik * r1117 /trunk/src/ (5 files in 4 dirs): 03:16 < CIA-11> moved default locale to translation.xml 03:16 < CIA-11> removed locale stuff from request (this now all goes thru the translation manager) 03:16 < CIA-11> lazy load locales in translation manager 03:16 < CIA-11> renamed AgaviLocale::getName to getIdentifier 03:16 < CIA-11> added locale_str (the part of the locale identifier without the options) to the result of parseLocaleIdentifier 03:16 < CIA-11> dominik * r1118 /trunk/src/translation/AgaviGettextTranslator.class.php: some sort of plural handling for the gettext translator 03:23 < CIA-11> dominik * r1119 /trunk/src/routing/AgaviRouting.class.php: 03:23 < CIA-11> set the locale to the translation manager 03:23 < CIA-11> overwrite defaults with incoming parameters 03:29 < CIA-11> dominik * r1120 /trunk/samples/app/modules/Default/templates/Master.php: update to reflect locale removal from request 05:41 -!- [1]eremit [n=eremit@p5490C6C4.dip.t-dialin.net] has joined #agavi 05:59 -!- eremit [n=eremit@p5490C74A.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:59 -!- [1]eremit is now known as eremit 06:53 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:07 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 08:17 -!- Wombert [n=Wombert@dslb-088-064-018-119.pools.arcor-ip.net] has joined #agavi 08:45 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 08:49 < v-dogg> huomenta 08:49 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 08:54 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 09:06 < horros> mo' 09:06 < horros> friggen fruit flies 09:06 < horros> I HATE YOU! 09:07 < horros> annoying bastard little fucks :( 09:38 < ttj> Good morning to you too. :-) 10:01 -!- horros_ [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has joined #agavi 10:01 < horros> eh 10:02 < horros> apparently missus woke up and "unhibernated" the laptop :) 10:07 < v-dogg> heh 10:07 < v-dogg> morning horros! 10:07 < v-dogg> or horros' missu 10:08 < eremit> heyja ... 10:22 -!- horros_ [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has quit [Read error: 145 (Connection timed out)] 10:23 < horros> ...and now she hibernated it again :) 10:27 -!- shoan [n=shoan@59.92.136.233] has left #agavi [] 12:09 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 12:12 < shoan> morning folks 12:30 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 12:53 < v-dogg> Wombert: 13:51 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 14:00 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 14:40 < Wombert> v-dogg: ? 14:41 < horros> me: ? 14:43 < v-dogg> Wombert: nutting anymore :) 15:01 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit ["home"] 15:28 < CIA-11> david * r1121 /trunk/samples/app/ (3 files in 2 dirs): sample app fixes 15:28 < Wombert> sample app now (almost) fully translated to german 15:28 < Wombert> I'll add a custom demo translator for the product names later 15:28 < v-dogg> \o\ 15:28 < Wombert> and a routing callback that sets a cookie to remember the last language 15:28 < v-dogg> hmm... 15:28 < Wombert> everyone feel free to use dev/messages.pot and translate all strings to your language 15:29 < v-dogg> can I delete a remote directory with rsync? 15:29 < Wombert> no idea 15:29 < eremit> yes ... 15:29 < v-dogg> eg. agavis cache from the server when I upload changed files with rsync 15:30 < eremit> afaik --delete --force 15:30 < eremit> otherwise man rsync ;) 15:48 < Wombert> v-dogg: wanna translate it to finnish? 15:48 < Wombert> takes no more than five minutes 15:49 < v-dogg> can I edit .po files with a normal editor? 15:49 < Wombert> you can, yes, but a dedicated editor is easier, of course 15:49 < Wombert> you got linux? 15:49 < Wombert> nah you're on windows aren't you 15:50 < v-dogg> I have ubuntu livecd :p 15:50 < CIA-11> david * r1122 /trunk/samples/dev/messages_de.po: small comment fixes 15:50 < Wombert> does it have KBabel 15:50 < v-dogg> dunno 15:50 < Wombert> :) 15:51 < v-dogg> I need to get a second hard drive so that I can install linux 15:51 < Wombert> v-dogg: http://www.poedit.org/ 15:52 < Wombert> load samples/dev/messages.pot, edit and save it as messages_fi.po 15:52 < Wombert> I'll compile it then 15:56 < Wombert> hmm 15:56 < Wombert> the .pot doesn't seem to work properly in poEdit 15:56 < Wombert> odd 15:57 < Wombert> aah no 15:57 < Wombert> you have to do new -> catalog from project file 15:57 < Wombert> err 15:57 < Wombert> POT file 15:58 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:03 < v-dogg> hmm... 16:03 < v-dogg> ok.. 16:03 < Wombert> let me figure this out first 16:03 < Wombert> I don't get that damn app 16:03 < Wombert> or it's some kind of bug, the OS X version seems kinda new 16:04 < v-dogg> I created a project and it imported the strings 16:04 < v-dogg> but I can't modify them 16:04 < v-dogg> translate, I mean 16:05 < Wombert> yeah 16:05 < Wombert> something strange going on 16:05 < Wombert> I'll look into it and write a readme 16:05 < v-dogg> ah! you have to write the translated string below the original :D 16:06 < Wombert> yes 16:06 < Wombert> but that doesn't work for me either 16:06 < Wombert> and plural forms won't work etc 16:06 < Wombert> try opening messages_de.po 16:06 < Wombert> that's how it should look like 16:06 < Wombert> with plural forms for "Alternative Langauge." 16:07 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 16:07 -!- Wombert [n=Wombert@dslb-088-064-018-119.pools.arcor-ip.net] has quit [Nick collision from services.] 16:07 -!- Wombert [n=Wombert@dslb-088-064-020-126.pools.arcor-ip.net] has joined #agavi 16:08 < Wombert> wtf 16:08 < Wombert> so if you create a new translation project thing from messages.pot 16:08 < Wombert> you have to enter all the info 16:08 < Wombert> both charsets utf8 by the way 16:09 < Wombert> but the plural forms thing... hmmmh 16:09 < Wombert> it doesn't seem to work properly somehow 16:09 < v-dogg> don't see any plural stuff here 16:09 < Wombert> how many plural forms does finnish have? 16:09 < v-dogg> kazillion 16:10 < Wombert> yeah this doesn'T seem to work :S 16:10 < Wombert> with the plural forms 16:10 < Wombert> wtf wtf wtf 16:13 < Wombert> look 16:13 < Wombert> this is why I hate all this poor open source stuff 16:14 * shoan ahem 16:14 < Wombert> only bad coders with no skills work on GPL stuff 16:14 < Wombert> except linux and some other apps 16:14 < Wombert> where they get paid by the employer 16:14 < shoan> what are you complaining about? ;) 16:14 < Wombert> poEdit is useless 16:14 < Wombert> okay it's MIT licensed 16:14 < Wombert> but still 16:14 < Wombert> ... 16:15 < Wombert> nothing works, no docs, no help 16:15 < Wombert> for a _user_ app 16:15 < Wombert> ... 16:15 < Wombert> mmmmh 16:15 < Wombert> do you know how that works, shoan? 16:15 < shoan> its probably beta 16:16 < shoan> no haven't used it 16:16 < Wombert> :S 16:16 < shoan> just looking it up now that you mentioned it :) 16:17 < Wombert> KBabel is nicer IMO 16:17 < Wombert> but they all lack... dunno 16:17 < Wombert> "structure" 16:17 < Wombert> guidance 16:18 < shoan> is the author of poedit japanese? 16:18 < v-dogg> poo edit 16:18 < shoan> lol 16:18 < shoan> you rock 16:18 < shoan> you seem to do it every time :) 16:19 < Wombert> yeah 16:19 < Wombert> too funny :) 16:19 < Wombert> v-dogg so is a 12 yr old in his head :> 16:19 * Wombert hugs v-dogg 16:19 < shoan> :)) 16:19 < Wombert> :>>>>>> 16:19 < Wombert> owww guys 16:19 -!- epaulin [n=epaulin@218.22.2.93] has quit [Read error: 110 (Connection timed out)] 16:19 < Wombert> you think they have as much fun over at #symfony? 16:19 < Wombert> I don't think so 16:19 < shoan> never been there 16:20 < shoan> v-dogg, scared them with all the license stuff 16:21 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:22 < CIA-11> v-dogg * r1123 /trunk/samples/dev/messages_fi.po: Finnish translation for the Sample App 16:24 < Wombert> :>>>>> 16:24 < Wombert> v-dogg: so... two plural forms? 16:24 < Wombert> this poedit sucks 16:25 < Wombert> it doesn't define that in the .po file 16:25 < Wombert> mmh 16:26 < v-dogg> yes, two is enough for that, I think 16:26 < Wombert> but it has more? 16:26 < v-dogg> "The alternative language" and "Alternative languages" 16:26 < Wombert> one car, two cars, three cars, four cars, five carsos etc? 16:26 < Wombert> many languages have that 16:27 < v-dogg> basically Finnish has two plural forms 16:27 < Wombert> one singular, one plural 16:27 < v-dogg> yes 16:27 < Wombert> k 16:28 < v-dogg> in practise it's more complicated that that 16:28 < Wombert> oO 16:28 < v-dogg> but let's not go into that now :) 16:28 < v-dogg> because missus is waiting for me 16:28 < Wombert> one last thing 16:29 < Wombert> what's the name of the lanugage in finnish 16:29 < Wombert> Suomi? 16:29 < v-dogg> Suomi 16:30 < Wombert> okay 16:32 < v-dogg> anymore questions? because I'll be away rest of the week 16:32 < v-dogg> :) 16:32 < Wombert> oO 16:32 < Wombert> no questions 16:32 < Wombert> have fun! 16:33 < v-dogg> in a military refresher course? sure.... ;) 16:33 < Wombert> oO 16:33 < Wombert> okay 16:33 < Wombert> xD 16:33 < Wombert> well have fun anyway 16:33 < v-dogg> I'll try 16:33 < Wombert> see you on monday 16:33 < v-dogg> see ya 16:34 < Wombert> and shoot in the right direction 16:34 < v-dogg> russia? 16:34 < Wombert> yeah 16:34 < v-dogg> :p 16:34 < Wombert> that's what I meant 16:34 < Wombert> xD 16:34 < v-dogg> -> 16:43 -!- eremit is now known as eremit_test 16:43 -!- eremit_test is now known as eremit 16:44 -!- horros_ [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has joined #agavi 16:48 -!- epaulin [n=epaulin@218.22.2.93] has quit [Read error: 145 (Connection timed out)] 17:04 -!- raidman is now known as gluegadget 17:06 -!- gluegadget is now known as Armen[B] 17:06 -!- shoan [n=shoan@61.95.206.107] has quit [Remote closed the connection] 17:07 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 17:07 -!- Armen[B] is now known as A[r]men 17:09 -!- A[r]men is now known as raidman 17:56 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 145 (Connection timed out)] 18:15 < raidman> wow --> http://www.csszengarden.com/?cssfile=190/190.css 18:16 < raidman> it's close to agavi new design 18:50 -!- raidman [i=armen@217.219.14.199] has quit [Read error: 110 (Connection timed out)] 19:07 < horros_> hahah 19:07 < horros_> https://bugzilla.mozilla.org/show_bug.cgi?id=95849#c0 19:55 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 20:24 < epaulin> Wombert: just translated po to chinese, is that ok mail to you? 20:39 < epaulin> It's later in my timezone, if it is ok plz let me known, epaulin AT gmail DOT com 20:40 -!- epaulin [n=epaulin@218.22.2.93] has left #agavi ["Leaving"] 21:00 < CIA-11> david * r1124 /trunk/ (7 files in 5 dirs): finnish translation, GettextTranslator fixes for plurals, Master.php fixes 21:06 < CIA-11> dominik * r1125 /trunk/src/config/AgaviLdmlConfigHandler.class.php: alias fixes 21:15 -!- shoan [n=shoan@59.92.190.181] has joined #agavi 21:42 < Wombert> hi shoan :) 21:43 < Wombert> wanna translate the sample app? :> 21:43 < Wombert> isn't it deep night at your place? 21:43 < shoan> I suck at regional languages 21:43 < Wombert> oO 21:43 < shoan> i speak english and german :) 21:43 < Wombert> lol 21:43 < Wombert> really? 21:43 < Wombert> oO 21:43 < Wombert> why that? 21:44 < shoan> why what? 21:44 < shoan> most people in the bigger cities speak/understand english 21:45 < shoan> i can speak regional languages just enough to get around ;) 21:45 < Wombert> so you grew up with english as your first language? 21:48 < Wombert> und du sprichst wirklich deutsch? 21:48 < Wombert> cool 21:48 < shoan> ya 21:49 < shoan> a little 21:49 < shoan> i used to live in germany 21:49 < shoan> early childhood 21:52 -!- shoan [n=shoan@59.92.190.181] has quit [Read error: 104 (Connection reset by peer)] 21:55 -!- shoan [n=shoan@59.92.190.181] has joined #agavi 21:55 < shoan> my ibook died :( 21:55 < shoan> i mean the battery 21:58 < Wombert> oO 21:58 < Wombert> cool 21:58 < Wombert> are you born in germany? 21:58 < Wombert> where did you live 21:58 < Wombert> how long 21:58 < Wombert> etc 21:58 < shoan> no 21:58 < shoan> I was born here 21:59 < shoan> lived in germany from the time I was 1yr old to about 7yr 21:59 < Wombert> :) 22:11 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:18 -!- shoan_ [n=shoan@59.92.129.220] has joined #agavi 22:36 -!- shoan [n=shoan@59.92.190.181] has quit [Read error: 110 (Connection timed out)] 22:41 < horros_> Wombert: Boss' iBook died :I 22:41 < horros_> Apple told us it costs 650e to fix 22:41 < horros_> sorry 22:41 < horros_> 640 22:41 < Wombert> horros_: yeah, the usual stuff 22:42 < Wombert> how old is it 22:42 < horros_> 2 years 22:42 < horros_> some chip or the other died 22:42 < horros_> but he called them and yelled at them face red saying he understands if harddrives break or things like that, but not this 22:42 < horros_> and yelled that if he has to pay 640 euros to fix it, he'll never ever ever buy a mac again 22:43 < horros_> so they agreed to only charge us for the work, 140e :D 22:43 < Wombert> what I don't like about apple 22:43 < Wombert> is their support policy 22:43 < Wombert> their entire guarantee stuff 22:43 < Wombert> the EU law guarantees me two years of warranty 22:43 < Wombert> but you get 1y apple care with a mac 22:43 < Wombert> and you can FORGET getting anything repaired after that even on warranty 22:44 < Wombert> the first thing is that you have only 30 days of phone support 22:44 < Wombert> after that, they wnat your credit card number before they even listen to your problem 22:44 < Wombert> and they'll charge 54eur (IIRC) if it's not covered by your apple care or if it has run out 22:44 < Wombert> pathetic 22:45 < horros_> ugh 22:45 < horros_> that's just retarded 22:45 < Wombert> well 22:45 < Wombert> you _can_ go to a Gravis store (no apple stores in germany yet) and talk to them 22:45 < Wombert> and they'll help you and all of course 22:45 < Wombert> they gave me a new "n" key the other day because I had broken mine off 22:45 < horros_> hehe 22:46 < Wombert> I have 33 days of AppleCare left 22:46 < Wombert> and within that time frame, I gotta get the display replaced, the PCMCIA slot fixed and maybe the keyboard reparied 22:46 < v-dogg> 34 days 'till your mac EXPLODES 22:46 < horros_> haha 22:46 < Wombert> but they probably won't fix the keyboard 22:46 < horros_> Apple Quality (tm) 22:46 < Wombert> well 22:47 < Wombert> I'm not sure if the keyboard is okay or not 22:47 < Wombert> the keys are not all ligned up perfectly... they're all flush etc and all work properly 22:47 < Wombert> but they're not 100% on the same tilt etc 22:47 < Wombert> no idea if they'd fix that, it's rather cosmetic 22:47 < Wombert> haven't checked what other books look like 22:47 < Wombert> my pcmcia slot ejector knob is broken 22:48 < Wombert> I guess I played around with it a bit too often ^_° 22:48 < Wombert> it's now stuck inside 22:48 < Wombert> and the screen... it's some samsung TFT panel where the odd pixel lines are a bit darker than the even lines, and from what I heard, the replacement panels are brighter, so it would be a good idea to have it replaced 22:49 < horros_> hehe 22:49 < horros_> sounds like a real quality machine :D 22:49 < Wombert> I thought it was a rather annoying problem but I've seen the same on two friends's other laptops (non-apple) 22:49 < Wombert> despite the problems 22:49 < horros_> this FS laptop of mine hasn't ever had any problems, and it's been rather abused :) 22:49 < Wombert> the quality really, really is top notch 22:50 < Wombert> you can feel that it's properly built, and, more importantly, properly designed 22:50 < Wombert> I like how there's not a single LED shining or blinking when it's on 22:50 < Wombert> the display hinges are just... a lot cooler 22:50 < Wombert> and then there's the details such as the power supply 22:51 < horros_> "And that all weighs up the fact that it keeps breaking all the time" 22:51 < horros_> :P 22:51 * horros_ ducks 22:51 < horros_> "Oooh, shiny plastic! Cool display hinges! No lights!" :D 22:52 < Wombert> basically, you can easily see why mac laptops aren't among the cheapest (in fact, my opinion is that the new MacBook Pros are way too expensive given that the comparably equipped MacBooks aren't any more expensive than comparable windows laptops, but have a lot more features) 22:52 < Wombert> mine hasn't let me down a single time so far 22:52 < Wombert> okay, the battery was dead on arrival 22:52 < Wombert> I have no clue why they don't test them 22:53 < Wombert> but then, they probably don't because otherwise, people would see how many cycles it had before, and would complain about it... 22:53 < Wombert> and since they get their batteries from the Sony idiots 22:53 < Wombert> they are dead or blow up all the time apparently 22:53 < Wombert> :) 22:54 < horros_> what I like most is the fact that Mac Fanboys usually compare apple computers to ALL other Intel/AMD -laptops :) 22:54 < horros_> that's a bit like comparing apples and oranges 22:54 < horros_> (pun intended) 23:06 < Wombert> re 23:06 < Wombert> well why not compare it to others, horros_ ? 23:16 < horros_> Wombert: compare one brand to 1058295 brands of varying quality? 23:16 < Wombert> ah 23:16 < Wombert> I see what you mean 23:16 < Wombert> well 23:17 < Wombert> if you take an average laptop 23:17 < v-dogg> I think there are 1058298 different brands 23:17 < Wombert> of similar price 23:17 < v-dogg> not sure, though 23:17 < Wombert> let's say 23:17 < Wombert> Samsung 23:17 < horros_> Wombert: like I said, I've had this FS laptop for a year and a half, and not one glitch. nothing. 23:17 < Wombert> they often can't offer the same set of features 23:17 < Wombert> for instance, only high end windows laptops have DVI out 23:18 < Wombert> bluetooth is still not common among windows laptops either 23:18 < v-dogg> it isn't? 23:18 < Wombert> not for 1000 euros 23:18 < v-dogg> I've seen only business models then 23:19 < Wombert> many have a separate spdif out jack instead of combining them with the headphone out, for example 23:19 < Wombert> (macs have digital in, too) 23:20 < v-dogg> off to bed, have to get up at 5 am :( 23:20 < v-dogg> see ya 23:20 < horros_> I just did a quick survey. checking laptops in the range of 800-1200e, most of them had bluetooth :I 23:21 < Wombert> horros_: yeah it fortunately is changing 23:21 < Wombert> but yet, you don't get bluetooth mice, for instance 23:21 < Wombert> only stupid "notebook" mini mice with a usb stick etc 23:21 < Wombert> because many many comsumer laptops haven't had bt for a very long time 23:21 < horros_> you don't get bluetooth mice? 23:22 < horros_> I distinctly remember friend of mine using a bluetooth mouse. 23:23 < Wombert> yeah, yeah, sure 23:24 < horros_> http://www.radtech.us/Products/BT500.aspx 23:24 < horros_> Oooh 23:24 < horros_> I want one of those 23:24 < horros_> this trackpad is hideous 23:27 < Wombert> horros_: these are way too rare unfortunately 23:27 < Wombert> most usb mice you can buy here come with a bluetooth dongle 23:27 < Wombert> sucks 23:27 < Wombert> still 23:27 < Wombert> there are some things you can say about a mac whilst comparing it to _all_ other brands 23:28 < Wombert> the design, for instance 23:28 < Wombert> there is _no_ pc laptop 23:28 < Wombert> where the front 23:28 < Wombert> back 23:28 < Wombert> top 23:28 < Wombert> and bottom 23:28 < Wombert> and all sides 23:28 < Wombert> are totally flush 23:28 < Wombert> with connectors layed out resonably, and only on the left and right 23:30 < horros_> it all boils down to this: 23:30 < horros_> there's not one single type of computer and not a single operating system I really *LIKE* to use. 23:30 < horros_> they ALL suck 23:30 < horros_> one way or the other 23:30 < horros_> ALL of them 23:30 < horros_> :( 23:31 < horros_> I think I'm going to buy a Sun workstation next time, and see how much I hate that :) 23:37 < Wombert> how abou 23:37 < Wombert> t 23:37 < Wombert> a mac :) and parallels :) 23:37 -!- Kador [n=koen_van@d54C1EC26.access.telenet.be] has joined #agavi 23:38 < Wombert> hi Kador 23:38 < Wombert> thanks for the .po file 23:38 < Kador> hi 23:38 < Wombert> I'm committing it right now 23:38 < Kador> Had some spare time 23:38 < Wombert> is belgian dutch different? 23:39 < Wombert> well I'll probably use nl_BE anyway 23:39 < Kador> a little bit 23:39 < Wombert> number formatting or anything? 23:39 < Wombert> mh let me have a look :) 23:39 < Kador> Someone from the Netherlands might do it different 23:40 < Kador> Belgium uses a komma for decimal separation 23:40 < Wombert> ha! 23:40 < Wombert> true 23:40 < Wombert> cool! 23:40 < Kador> Not sure what The Netherlands use 23:40 < Wombert> they use the same 23:40 < Wombert> BUT 23:40 < Wombert> currencies are different 23:40 < Wombert> belgium puts the currency symbol after the amount 23:40 < Kador> We also use Azerty keyboards (not that that's got anthing to do with this) 23:41 < Wombert> netherlands put it in front 23:41 < Kador> They do? 23:41 < Wombert> yep 23:41 < Kador> You learn something new every day 23:41 < Wombert> with a space character 23:41 < Wombert> at least that's what the CLDR data tells me 23:41 < Kador> And Germany? 23:41 < Wombert> we do it like you 23:41 < Wombert> U.S. and UK put it in front, too, but without a space char 23:42 < Wombert> so what's the full language description then 23:42 < Kador> BTW, in Belgium there are three languages (Dutch/Flemish, French and German) 23:42 < Wombert> yeah I know that ;) 23:42 < Kador> Not many people do 23:42 < Wombert> Nederlands (Belgie) ? 23:42 < Kador> Most seem to think we speak french 23:42 < Wombert> with two dots over the e ? 23:43 < Kador> Yes, that's it. 23:43 < Wombert> okay 23:43 < Kador> I blame Hercule Poirot 23:43 < Kador> So, how many languages have you got then? 4? 23:45 < Wombert> four 23:45 < Wombert> chinese is translated already but I don't have the .po file yet 23:45 < Wombert> splatch` can probably translate to polish 23:45 < Wombert> Kubicek to czech 23:45 < Wombert> dunno where EleRas is from 23:45 < EleRas> germany 23:45 < Wombert> raidman is from iran, he speaks farsi and armenian I believe 23:46 < Kador> Never heard of Farsi 23:46 < Wombert> that's what they speak in Iran, for example :) 23:46 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 23:46 < Wombert> devosc was from the US, if I'm not mistaken 23:46 < Wombert> Macca is from Down Under, he could probably translate it to australian english 23:46 < Wombert> which involves tons of "bloody" and "fuckin" :) 23:47 < Wombert> (see also: http://www.youtube.com/watch?v=3pMOBVX88Kg ) 23:47 < Kador> I thought about trying french, but it's just been too long 23:47 < Kador> Most difficult word to translate to dutch was disabled 23:49 < Wombert> Kador: how many plural forms does Dutch have? 23:49 < Wombert> one car, two cars, three cars 23:49 < Wombert> anything else? 23:49 < Wombert> no, right? 23:50 < Kador> een wagen, twee wagens, drie wagens 23:50 < Wombert> okay 23:50 < Wombert> some languages have special forms 23:51 < Kador> I saw something in the de and fi versions about plural but didn't get the syntax 23:52 < Wombert> I don't understand it either 23:53 < Wombert> it apaprently defines conditional expressions that then determine the index for the plural msgstr array 23:54 < Kador> btw, I used poedit under winXp for the translation and it had problems with "Alternative language(s):" 23:54 < Wombert> yeah 23:54 < Wombert> it sucks 23:54 < Wombert> how did you do it? 23:54 < Kador> had to edit the file manually in vim 23:55 < Wombert> I think you have to do open catalogue from POT..., then pick messages.pot, then enter your language info 23:55 < Wombert> or so 23:55 < Kador> yeah, that went allright, except for the alternative language string 23:56 < Kador> doesn't like plural or something 23:56 < Wombert> I had it working once 23:56 < Wombert> when I opened the _de file 23:56 < Wombert> I _think_ 23:56 < Wombert> you have to enter a rule string in this dialog 23:56 < Wombert> for plural forms 23:56 < Wombert> I'll try that later 23:56 < Wombert> really stupid 23:57 < Wombert> it should come packaged with rules for the languages 23:57 < Wombert> hah! 23:57 < Wombert> hit a problem 23:57 < Wombert> time to write a routing callback, it seems 23:59 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] --- Day changed Sat Oct 14 2006 00:00 < Wombert> as you probably all saw, the index page is untranslated 00:01 < Wombert> I'll add translated templates support later 00:02 < Kador> I'm looking at the code for the sample app right now 00:03 < CIA-11> david * r1126 /trunk/samples/ (5 files in 4 dirs): dutch (belgium) translation for sample app, thanks Koen 00:04 < Wombert> oooh man 00:04 < Wombert> this will be a _perfect_ routing callback 00:04 < Wombert> it's even gonna showcase onGenerate :) 00:05 < Wombert> Kador: I'll assume your dutch translation is okay for the netherlands, too, just for example's sake 00:05 < Wombert> and then set up to versions 00:05 < Kador> I think so, most differences are in pronunciation 00:05 < Wombert> yeah 00:05 < Wombert> it's just gonna show 00:05 < Wombert> how to have "optimal" urls 00:05 < Kador> And a few different words here and there 00:05 < Wombert> e.g. /en/ 00:06 < Wombert> but /nl_NL/ 00:06 < Wombert> and /nl_BE/ 00:06 < Wombert> with different number formatting, too 00:06 < Wombert> and the routing callback will choose the shortest version 00:06 < Kador> I'll really have to look into all that routing stuff and the internationalisation too 00:07 < Kador> it all sounds intruiging 00:07 < Wombert> the sample app is XMLRPC capable, too 00:07 < Wombert> you know the irc bot, right? 00:07 < Kador> With xlmrpc.php instead of index.php? 00:07 < Wombert> yep 00:08 < Kador> yep, i've met the bot 00:08 < Kador> Is there a list of stuff it does? 00:09 < Wombert> the bot? 00:09 < Wombert> or the XMLRPC interface? 00:09 < Wombert> or agavi? 00:09 < Wombert> :> 00:09 < Kador> the bot 00:09 < Wombert> W 00:09 < Wombert> T 00:09 < Wombert> F 00:10 < Wombert> "You have no permission to post here (suspected spam). If this is not right, please send your post to the administration so the filters can be adjusted." 00:10 < Wombert> on pastebin.ca 00:10 < Wombert> it doesn't do much 00:10 < Kador> what were you trying to post? 00:10 < Wombert> the code isn't public (yet) either 00:10 < Wombert> I think it's much rather my ISP's IP range that's banned 00:10 < Wombert> an XMLRPC client sample for you 00:10 < Wombert> so you can test it 00:11 < Kador> right now I don't have access to a php environment, just using my wife's laptop 00:11 < Wombert> http://pastie.caboo.se/17546 00:11 < Wombert> do you know XMLRPC a bit? 00:12 < Wombert> you call a method on the remote server 00:12 < Wombert> pass it arguments 00:12 < Wombert> and it returns data 00:12 < Kador> i've used the SoapClient extension 00:12 < Wombert> the nice thing here is that without the routing, you use method names like that: ModuleName:Sub.Action 00:12 < Wombert> with routing on, you use the routing to map method names to actions 00:14 < Kador> something you would normally do on the server with mod_rewrite? 00:14 < Wombert> no, you can't do that with mod_rewrite 00:14 < Wombert> the method name is in the XMLRPC request envelope 00:14 < Wombert> inside the XML submitted as POST data 00:14 < Wombert> but for normal web apps, you can use the routing to do stuff similar to mod_rewrite 00:14 < Wombert> BUT 00:14 < Wombert> it's a lot more powerful 00:15 < Wombert> because you give routes a name 00:15 < Wombert> and with that name, you can generate a URL in your template (or view) code 00:15 < Wombert> and it's more flexible, too 00:15 < Wombert> because you can use callbacks, for example 00:16 < Wombert> I'm writing a callback that will check if the language in the URL is an available locale 00:16 < Kador> are those the $r->gen('secure') calls in the Master.php template 00:16 < Wombert> and it will also check cookis etc to see if you had set a locale on the last visit 00:16 < Wombert> yes, exactly 00:16 < Wombert> these are very basic routes, though 00:16 < Wombert> the main difference about our routing is that you can use regular expressions inside them 00:17 < Wombert> something many other frameworks don't allow 00:17 < Wombert> also, our routes can be nested 00:17 < Wombert> and used to match other things than just the URL 00:17 < Wombert> <route pattern="application/xhtml+xml" source="_SERVER[HTTP_ACCEPT]" output_type="xhtml" stop="false" /> 00:17 < Wombert> that's a bad example, tho 00:17 < Kador> sounds like it can get quite complex 00:18 < Wombert> let's say your app supports AJAX via JSON 00:18 < Wombert> <route pattern="text/javascript" source="_SERVER[HTTP_ACCEPT]" output_type="json" stop="false" /> 00:18 < Kador> So, right now I always had to do $ctrl->genurl(null, $parameters); 00:18 < Kador> to gen a link to another action 00:18 < Wombert> now you use the routing 00:18 < Wombert> and you get back a nice URL 00:19 < Wombert> or, if routing is disabled, an oldschool URL 00:19 < Kador> now I can just define a route to that action and get it? 00:19 < Wombert> note that you still have to use mod_rewrite and friends to remove index.php from the URL 00:19 < Wombert> yep 00:19 < Wombert> and... if you change the route, you don't have to change the code 00:19 < Wombert> <route name="search_engine_spam" pattern="^/products(/buy-cheap-{name:[\S\s]+}-at-agavi-dot-org)?/(id:\d+)" module="Default" action="SearchEngineSpam"> 00:19 < Kador> that's cool 00:19 < Wombert> see the curly braces? 00:20 < Kador> right now i have some classes to do the generating of those urls based on a config file 00:20 < Wombert> inside the curly braces, that's the actual value that will be matched 00:20 < Wombert> the rest are prefixes and postfixes 00:20 < Wombert> because that part of the URL is optional (? after the closing brace) 00:20 < Wombert> http://127.0.0.1/~dzuelke/_projects/agavi/trunk/samples/pub/index.php/de_DE/products/buy-cheap-viagra-at-agavi-dot-org/4815162342 00:20 < Wombert> gets matched 00:20 < Wombert> and 00:21 < Wombert> http://127.0.0.1/~dzuelke/_projects/agavi/trunk/samples/pub/index.php/de_DE/products/4815162342 00:21 < Wombert> too 00:21 < Kador> impressive 00:21 < Kador> You are going to need a very good tutorial or manual for all of this though 00:22 < Wombert> yes 00:22 < Kador> Otherwise it's just going to sit there and not be used 00:22 < Wombert> word 00:23 < Wombert> that's why we won't change anything after 0.11 00:23 < Wombert> except for tests and documentation 00:23 < Kador> I think you might also want to do a bigger sample app 00:23 < Wombert> we will 00:23 < Wombert> the IRC Bot is gonna be one 00:23 < Wombert> and we thought about adding a bookshop 00:23 < Kador> something wich explains forwarding and how to use it 00:24 < Wombert> based on Propel 00:24 < horros_> mmm 00:24 < horros_> propel 00:24 < Wombert> that uses propel's bookstore 00:24 < horros_> <3 00:27 < Wombert> awww 00:27 < Wombert> the routing is broken 00:27 < Wombert> :S 00:27 < Wombert> ah 00:27 < Wombert> that's better 00:27 < Wombert> :) 00:28 < Wombert> Specified ambigious locale identifier nl@currency=GBP which has matches: nl_BE, nl_NL 00:28 < Wombert> ewwwww 00:28 < Wombert> nice! 00:28 < Wombert> :> 00:28 < Wombert> now ze callback 00:41 < Wombert> HAH! 00:41 < Wombert> a /nl/ causes 404 00:41 < Wombert> and /nl_BE/ works 00:41 < Wombert> sweet 00:48 < Kador> is there some action/view in the sample app where output from multiple actions is combined? 00:48 < Wombert> no 00:49 < Wombert> there's no slot in the sample app 00:49 < Wombert> but it uses decorators 00:49 < Wombert> slots work the same as in 0.10, but you can now pass arguments to them, too 00:49 < Wombert> they'll be merged into the request parameters for that slot 00:49 < Kador> i never quite got the whole decorator thing 00:50 < Wombert> it's easy 00:50 < Wombert> the action is run, the template in the view rendered 00:50 < Kador> it's usefull for simple views 00:50 < Wombert> then that output is given to the decorator template, which is then rendered 00:50 < Wombert> you can have slots, these are actions that will be run, too 00:50 < Wombert> their output is available in the decoratot template as well 00:51 < CIA-11> david * r1127 /trunk/src/translation/AgaviTranslationManager.class.php: made getClosestMatchingLocale public 00:51 < CIA-11> david * r1128 /trunk/samples/app/lib/translation/: removed AgaviSampleAppTranslator 00:51 < Kador> I could follow as long as it was about the output for one action 00:54 < Wombert> in the view 00:54 < Wombert> you define "slots" 00:54 < Wombert> $this->setSlot('slotname', 'ModuleName', 'ActionName'); 00:54 < Wombert> this action will be run after the template is rendered 00:54 < Wombert> it's just a normal action 00:54 < Wombert> its output will be put into the template variable "slotname" 00:55 < Wombert> and is available for output in the decorator template 00:55 < Kador> yes, I think I got that. 00:55 < Wombert> I'll see if I can add a slot to the sample app 00:56 < Kador> Problem I had was this: 00:56 < Kador> One action showed a list of people 00:56 < Kador> Other action showed individual people 00:56 < Kador> Other action showed a list of organisations 00:57 < Kador> And another one showed individual organisations 00:57 < Kador> Each of them used the decorator in the view for the master template 00:58 < Kador> Now, an individual organisations contains a list of people 00:58 < Kador> I wanted to somehow reuse the code for the list of all people, but never quite managed it within the framework itself 00:59 < Wombert> and you wanted to have all these actions on one page? 00:59 < Kador> So I wrote some helper classs for that 00:59 < Kador> No, there are 4 pages 01:00 < Kador> 1 = all People 01:00 < Wombert> yeah okay 01:00 < Wombert> but 01:00 < Kador> 2 = One Person 01:00 < Wombert> why reuse the list of code for all people 01:00 < Wombert> it's only done on one page, right? 01:00 < Kador> 3 = All Organisations 01:00 < Kador> 4 = One org + all it's people 01:01 < Wombert> aaah 01:01 < Wombert> okay :) 01:01 < Kador> It's basically the same collection, just with a different filter 01:01 < Wombert> yes 01:01 < Wombert> in 0.11, you would have done it this way: 01:01 < Wombert> or 01:01 < Wombert> hmm 01:01 < Wombert> actually, 0.11 can't do that properly either 01:01 < Wombert> you would use a different master template 01:02 < Wombert> and then pass an argument to the slot in case 4 that tells it not to set up a decorator itself 01:02 < Wombert> in essence, the entire execution flow and layout system is pretty fucked up 01:02 < Kador> And then i might have a project with a list of all the people who worked on it 01:02 < Wombert> one of the things we want to change for 2.0 01:02 < Kador> saw the ticket 01:03 < Kador> Most of my app consistst of list pages and then pages for the individuals wich in term might have lists for subitems themselves 01:05 < Kador> So in the end I wrote a class that takes a DomainItem and a config array and renders it and another one that takes a Collection of DomainObjets and renders a list. 01:06 < Kador> anyway, thanks for all the info 01:07 < Kador> I'm starting to see where 0.11 is going and I think it's looking good 01:07 < Kador> Bye 01:07 -!- Kador [n=koen_van@d54C1EC26.access.telenet.be] has left #agavi [] 01:40 < CIA-11> david * r1129 /trunk/samples/app/config/autoload.xml: oops 01:58 < CIA-11> david * r1130 /trunk/samples/ (4 files in 2 dirs): dutch and finnish translation update 02:21 -!- Wombert [n=Wombert@dslb-088-064-020-126.pools.arcor-ip.net] has quit [] 03:15 -!- horros_ [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)] 05:15 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.wa.comcast.net] has joined #agavi 05:42 -!- [1]eremit [n=eremit@p5490CF17.dip.t-dialin.net] has joined #agavi 05:49 -!- eremit [n=eremit@p5490C6C4.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 05:49 -!- [1]eremit is now known as eremit 08:03 -!- shoan [n=shoan@59.92.129.220] has joined #agavi 08:19 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:22 -!- shoan_ [n=shoan@59.92.129.220] has quit [Read error: 110 (Connection timed out)] 08:54 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:07 -!- Wombert [n=Wombert@dslb-088-064-024-078.pools.arcor-ip.net] has joined #agavi 09:09 < raidman> mornin' 09:12 < Wombert> hi raidman 09:12 < Wombert> wanna translate the sample app, too? 09:14 < raidman> hmm? 09:14 < raidman> to farsi? 09:14 < Wombert> yeah, why not 09:14 < raidman> surely :) 09:15 < raidman> I'll start to translate it today at home 09:20 < Wombert> cool 09:20 < Wombert> I'm just working on adding two chinese translations :) 09:21 < raidman> nice 09:24 < Wombert> yeah 09:24 < Wombert> it is 09:24 < Wombert> looks cool :) 09:25 < Wombert> gotta change some things, the list is growing too fast 09:30 < Wombert> but first 09:30 < Wombert> a shower 09:30 < Wombert> coffee 09:30 < Wombert> and 09:30 < Wombert> some toast 09:30 < Wombert> :) 09:44 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 09:45 < Wombert> epaulin: thanks for the translations! 09:45 < Wombert> the variant wasn't necessary, agavi handles that automatically ;) 09:46 < epaulin> Wombert: :-) happy to 09:46 < Wombert> I'm currently writing a routing callback that stores the last language in a cookie and so on 09:46 < Wombert> and also picks the shortest version of the locale name 09:46 < epaulin> that's nice 09:47 < Wombert> i.e. it uses "de" for "de_DE", but "zh_CN" for "zh_CN", because that's ambiguous 09:47 < Wombert> is traditional chinese more difficult to read? 09:47 < epaulin> not difficult for who familiar, just symbols :-) 09:48 < epaulin> actully, traditional more pictorial 09:50 < Wombert> oh and... from what I understand, simplified chinese is used in China and Singapore, while traditional is used in Hongong, Macao and the ROC, right? 09:50 < Wombert> now let's say I add zh_CN and zh_TW, and these are used in the URL, too 09:51 < Wombert> would someone from Hongkong be annoyed, because he has zh_TW in the URL, and not zh_HK ? 09:51 < Wombert> because, say, he doesn't like how Taiwan wants to be independent 09:52 < Wombert> I understand this whole Taiwan thing is a bit problematic, right? 09:52 < Wombert> would it be better to have zh_Hans and zh_Hant ? for simplified and traditional? 09:52 < Wombert> agavi supports that, too ;) 09:52 < epaulin> problematic for politician, not me. 09:53 < Wombert> okay :) 09:53 < Wombert> that's what I wanted to now 09:53 < Wombert> know 09:53 < epaulin> i think most HK people support that too. 09:53 < Wombert> heh yeah probably 09:59 < Wombert> this simplified vs tradtional thing, epaulin 09:59 < Wombert> is simplified the reason why many people these days have trouble understanding a newspaper? 10:00 < Wombert> are the characters more ambiguous? 10:00 < Wombert> I heard that in order to reach a large audience, newspapers etc must reduce the characters they use to something around 2000 10:00 < Wombert> because otherwise, many people would have to look up words all the time 10:00 < Wombert> but that leads to many misunderstandings 10:03 < epaulin> Wombert: from what i can see, simplified isn't a reason. 10:03 < Wombert> so it's just the fact that many people don't know a lot of words? 10:05 < epaulin> people who know it well probably don't read newspaper anymore, 10:06 < Wombert> just the internet? 10:06 < epaulin> and most young people educated well, I think well to understand most newspaper. 10:06 < Wombert> yeah 10:07 < Wombert> where exactly are you from? 10:07 < epaulin> hmm, newspaper sucks, internet sucks too. 10:07 < Wombert> I heard the Wikipedia is accessible from China again? 10:07 < epaulin> Wombert: china 10:07 < Wombert> since yesterday or so 10:07 < Wombert> yeah I know 10:07 < epaulin> just en. not zh 10:07 < Wombert> but where in china :) 10:10 < epaulin> middle china, HeFei, AnHui province 10:11 < Wombert> man 10:12 < Wombert> these chinese cities 10:12 < Wombert> are just soooooo large 10:12 < epaulin> The newspaper and internet all censored, so for me, rarely read anymore 10:12 < epaulin> hehe, so many poeple. 10:13 < Wombert> I never heard of Hefei before, and it has 4m people (including the area) 10:13 < Wombert> I'm from Munich (where BMW etc are from, the Oktoberfest is here, too, maybe you heard of it), it's one of three cities with over 1 million people... 10:14 < epaulin> including the countryside, 2m urban probably 10:14 < Wombert> yeah 10:14 < Wombert> it's so amazing... whatever city you look up in china, there seems to be at least 1m people in each :) 10:14 < Wombert> I have to go visit china soon 10:14 < epaulin> yeah, i known, nice place. 10:14 < epaulin> Oh, that's nice 10:14 < Wombert> a friend of mine is from Guangzhou and he said I'll have to come with him and he'll show me around 10:15 < Wombert> I once sent him some amazing landscape photos from china and he said "ooooh I have to go and see all that before it's all gone" :) 10:15 < Wombert> you said the stuff is all censored, but how do you get information then? 10:15 < Wombert> satellite tv? 10:16 < epaulin> satellite tv illegal here, 10:17 < Wombert> hmm 10:17 < Wombert> I think it'll get better over time. 10:17 < epaulin> some sites hosted overseas, for me through tor get them. 10:17 < Wombert> yeah 10:18 < epaulin> I think so too, but maybe a long time. 10:18 < Wombert> I can understand why the government thinks a censored press is better for the country 10:18 < Wombert> it certainly is more stable this way, and the stability is needed to keep up the economic growth 10:19 < Wombert> but trust me, they'll one day understand that a free press is a chance, not a threat 10:20 < Wombert> and I guess you can't talk about it too much without risking to get in trouble either ;) 10:21 < epaulin> rational talk is ok, just don't do anything stupid, like i want revolution. 10:22 < epaulin> no one want to see it, including me. 10:22 < Wombert> I think that's not needed either 10:22 < Wombert> yeah exactly 10:22 < Wombert> you know 10:22 < Wombert> as a european, you find these stories often worrying 10:22 < Wombert> especially from russia 10:23 < Wombert> where the situation is now getting worse each day 10:23 < Wombert> journalists are shot etc 10:23 < epaulin> i hear of that, terrible 10:24 < Wombert> and I'm sure, the situation for you will change 10:25 < Wombert> china is catching up very fast 10:25 < Wombert> and once you have catched up 10:25 < Wombert> the government will decide that it's now time to address these other issues, such as censorship and so on 10:26 < Wombert> the quick economic growth brings a lot of problems, such as unequality of wealth, worker's rights, or environmental pollution 10:26 < Wombert> but all growing economies have that 10:26 < Wombert> and had that 10:26 < Wombert> and they all solved it 10:27 < Wombert> in china, it's just on a way bigger scale 10:27 < Wombert> but you're a smart enough people to solve that :) 10:27 < Wombert> a lot of people use an example when talking about such stuff in general, and about china's situation in particular: 10:28 < Wombert> the symbol for "risk" also means "opportunity", right? 10:28 < Wombert> :) 10:28 < Wombert> I love that. It's a very cool attitude. Something we Europeans sure can learn from 10:28 < epaulin> Hehe, maybe, 10:30 < epaulin> The most big opportunity ever is Six.Four, and everyone messed it up. 10:31 < Wombert> ? 10:32 < Wombert> I didn't understand that :) 10:32 < epaulin> now, these days, economic seems growth well, but environmental pollution/corruption/worker's rights problem coming. 10:32 < epaulin> Tiananmen (square), did't known that? 10:32 < Wombert> ah 10:33 < Wombert> that was on June 4 ? 10:33 < Wombert> yeah I know about it, I just didn't know that acronym for it 10:33 < Wombert> yeah it's one of these situations I think where the government got panic 10:33 < Wombert> but see 10:33 < epaulin> tragical day. 10:33 < Wombert> that's what I mean 10:34 < Wombert> your country is growing so fast 10:34 < Wombert> and one day 10:34 < Wombert> there is the point 10:34 < Wombert> where it's better to talk about things openly 10:34 < Wombert> instead of suppressing them 10:34 < Wombert> I'm very sure about that 10:35 < Wombert> right now, it's not a problem that things are censored, or that a lot of stuff isn't talked about openly (I understand environmental pollution _is_ something people talk about a lot, right? I often hear about the government official for the environment complaining how the situation is getting worse and worse) 10:35 < Wombert> but one day, when a lot of people have access to information, when a lot of problems get more urgent 10:35 < epaulin> Yeah, will see, things getting better, definitely 10:36 < Wombert> the risk of revolts or so becomes too high, and they'll ease the restrictions 10:37 < Wombert> I think the government does what they think is best for the country in order to grow and get closer to the west, become a economical superpower 10:37 < Wombert> if they decide that censorship is bad for the growth (and they will one day decide that), they'll just abandon it 10:38 < epaulin> just in economical, but not political. 10:38 < Wombert> you mean a superpower? 10:38 < epaulin> i mean getting closer to the west. 10:39 < Wombert> ah 10:39 < Wombert> I think that will change, too 10:39 < Wombert> there comes a certain point where they just can't grow more without political change 10:39 < epaulin> political, them want to more closer to the North Korea 10:39 < Wombert> are you sure? 10:40 < epaulin> these assholes 10:40 < Wombert> just think about how many people are travelling these days 10:40 < epaulin> so we need to keep pushing them 10:40 < Wombert> yeah 10:40 < epaulin> to sure they don't getting to that way 10:40 < Wombert> North Korea... I don't understand why the world doesn't do anything about it 10:40 < Wombert> and I don't understand why China's government is putting more pressure on them 10:40 < epaulin> beacuse us? 10:41 < Wombert> thousands of people die there every month because they don't have anything to eat 10:41 < epaulin> I think them did, 10:41 < epaulin> bu just not work. 10:41 < Wombert> and all the regime does is build nuclear bombs 10:41 < Wombert> yeah 10:41 < epaulin> these communism assholes, 10:41 < Wombert> it really is sad 10:42 < Wombert> the people in NK are suffering a lot 10:42 < Wombert> all because of some weird people in the government 10:42 < epaulin> I known a liitle bit od that, 10:42 < epaulin> HK people fight for they right everyday. 10:43 < epaulin> rights 10:43 < epaulin> Oops, you mean NK 10:43 < Wombert> ah 10:43 < Wombert> yeah 10:44 < Wombert> well Hong Kong is the same 10:44 < epaulin> Yeah, they suffering everyday, 10:44 < Wombert> okay 10:44 < Wombert> not the same 10:44 < Wombert> but they're fighting, too, and they should 10:44 < Wombert> they're guaranteed independency for 50 years 10:44 < Wombert> and I understand that China's trying to undermine that autonomy 10:44 < Wombert> trying to change things 10:44 < Wombert> but it's good that people are opposing it and go on the streets 10:45 < ttj> My god... Some small furry creature must've crawled into my mouth and died there last night. :-/ 10:45 < epaulin> they should, 10:45 < Wombert> ttj: LOL 10:46 < ttj> At least the taste in my mouth right now supports that idea. 10:46 < Wombert> yeah I had a sore throat too, this morning 10:46 < Wombert> you can feel how it's getting winter already 10:46 < Wombert> what's the weather like in finland? 10:46 < Wombert> you guys need spike tyres already? :) 10:46 < ttj> Rainy. 10:46 < ttj> Oh, no. 10:47 < ttj> Luckily I don't need to worry about winter tires; no car. :P 10:47 < Wombert> yeah they're horribly expensive aren't they 10:47 < Wombert> man that would annoy me 10:47 < ttj> Car's? Yeah. :-( 10:47 < ttj> -' 10:47 < Wombert> just like this 10:47 < Wombert> errr 10:48 < Wombert> what are the shops called where you buy alcohol 10:48 < ttj> Alko for anything stronger than beer. 10:48 < Wombert> right 10:48 < Wombert> that's so weird 10:48 < ttj> Yeah, sort of sucks. A monopoly. 10:52 < epaulin> >> would it be better to have zh_Hans and zh_Hant ? for simplified and traditional? 10:52 < epaulin> not necessary, in Liunx, if there is no such locale, then will looking into to the LANGUAGES setting 10:52 < epaulin> eg: LANGUAGE"zh_HK:zh_TW:zh_CN", it these failed, back to C, 10:52 < epaulin> and zh_Hans and zh_Hant not in common use. 10:53 < epaulin> mostly just zh_CN zh_HK, zh_TW. 10:53 < epaulin> should we leave these to the developer? 10:53 < Wombert> yeah 10:54 < Wombert> well... 10:54 < Wombert> we don't use system locales 10:54 < Wombert> so it's not a problem 10:54 < Wombert> for example, we also support stuff like sr_Latn_YU_REVISED@currency=EUR 10:55 < Wombert> that's Serbian, Latin script, Yugoslavia, with revisted orthography and currency set to EURO 10:55 < Wombert> :) 10:55 < Wombert> look at src/translation/data/ :) 11:10 < epaulin> hm, I didn't understand it totallly, my english sucks 11:10 < Wombert> your english is good! 11:10 < Wombert> and much better than my chinese could ever be ;) 11:11 < epaulin> he, sure. 11:11 < Wombert> I once wanted to learn chinese but 11:11 < Wombert> it's just a lot too difficult 11:11 < Wombert> anyway 11:11 < Wombert> uhm 11:11 < Wombert> hmm 11:11 < Wombert> well we don't use system locales, and therefor no LANGUAGE etc 11:12 < epaulin> I known that, 11:12 < Wombert> the CLDR data defines fallbacks already if I'm not mistaken 11:13 < epaulin> hmm, didn't say we use LANGUAGE, but maybe the way linux handle this we can learn from. 11:14 < epaulin> And the zh_Hans/zh_Hant thing looks ugly. 11:19 < epaulin> fallbacks works well, and i still think zh_CN / zh_TW enough for people who use Hans. 11:22 < epaulin> If someone need zh_HK or zh_MO, etc, just add they owen definition 11:24 < raidman> Wombert, I have a problem 11:25 < Wombert> epaulin: these are all defined anyway 11:25 < raidman> Wombert, I need to change direction in there too 11:25 < Wombert> raidman: ? 11:25 < Wombert> raidman: ah 11:25 < Wombert> yeah 11:25 < Wombert> edit it in UTF8 11:25 < Wombert> just enter your stuff 11:25 < Wombert> I'll take care of text direction in the template 11:25 < Wombert> (at least I hope I'll be able to) 11:26 < Wombert> raidman: or is it a problem to edit right to left in the .po file? 11:27 < raidman> no 11:27 < Wombert> okay :) 11:27 < raidman> you know I'll do it if you ask me how to get current languege direction 11:27 < Wombert> I don't know yet 11:28 < raidman> okey 11:28 < Wombert> I'll add that to the sample app once I have your trnslation file so I can test it etc 11:29 < raidman> or I can make RTLed one for you, it's very simple for me 11:29 < raidman> I'll sent patch 11:34 < Wombert> it shouldn't be a problem 11:34 < Wombert> I think I only need the .po file 11:35 < raidman> okey 11:36 < Wombert> be sure to add a plural forms info in the .po 11:36 < Wombert> if your editor doesn't add one 11:37 < raidman> okey 11:50 < raidman> Wombert, I just want to test it, it formated to mo with fa name and it's in i18n now 11:50 < raidman> then what to do? 11:50 < Wombert> best idea would probably be to send me the .po file 11:50 < Wombert> because I'm changing a lot right now 11:50 < Wombert> or do you mean how to activate the language? 11:51 < Wombert> just a new entry in translation.xml 11:51 < Wombert> for fa_IR 11:51 < raidman> yes I mean that, okey 11:55 < raidman> hmm, It's still in en what's wrong? 11:57 < Wombert> mo file in the right place? 11:58 < Wombert> HA 11:58 < Wombert> the cookie works! 11:58 < Wombert> :>>> 11:58 < Wombert> mmh 11:58 < Wombert> almost 12:01 < raidman> data/i18n/ 12:01 < raidman> fa.mo 12:01 < raidman> let me clear cache 12:04 < raidman> it was in routing 12:04 < raidman> yeah it works :>>>>>>>>>>>>> 12:04 < raidman> perfect, nice :) 12:05 < Wombert> very cool 12:05 < Wombert> once dominik is finished with the date stuff 12:05 < Wombert> I'll also add a small sample for that 12:05 < Wombert> so you can see how each locale has their own date formatting 12:05 < raidman> coooooooooooool 12:05 < Wombert> you'll get persian calendar formatting then for fa_IR 12:06 < raidman> I love agavi and you guys, great work 12:06 < Wombert> note how the number formatting in SearchEngineSpam is correct for your locale 12:06 < Wombert> is it? 12:06 < Wombert> everything okay there? 12:06 < Wombert> , and . for separation? 12:06 < Wombert> and is the currency symbol in the right place? 12:06 < Wombert> (it should be the pound sign for all locales, that's a bug) 12:07 < raidman> currency is correct but I can't tel any thing about place because every thing is ltr, after rtlizing I'll ask you 12:08 < Wombert> k 12:09 < Wombert> hmm 12:09 < Wombert> there's another bug in the routing 12:09 < Wombert> I gotta fix that later 12:09 < Wombert> the routing callback for cookies etc is almost done 12:09 < Wombert> can you email me the .po file? 12:09 < Wombert> dz@bitxtender.com 12:10 < Wombert> I'll do some shopping now 12:10 < Wombert> talk to you later 12:19 < raidman> back 12:19 < raidman> let me fix some problems in that translation 12:45 < raidman> Wombert, done! check your mail 12:50 < raidman> :)] 14:08 -!- raidman is now known as AmirGadgetMohamm 14:08 -!- AmirGadgetMohamm is now known as Armen[N] 14:09 -!- Armen[N] is now known as Arme[N] 15:15 < Arme[N]> I have to go guys 15:15 < Arme[N]> I'll catch you later :) 15:15 -!- Arme[N] [n=raidman@62.60.194.3] has quit ["Leaving"] 16:38 -!- Wombert [n=Wombert@dslb-088-064-024-078.pools.arcor-ip.net] has quit [Nick collision from services.] 16:38 -!- Wombert [n=Wombert@dslb-088-064-025-117.pools.arcor-ip.net] has joined #agavi 17:15 < Wombert> lol 17:15 < Wombert> http://devzone.zend.com/node/view/id/949 17:20 -!- epaulin [n=epaulin@218.22.2.93] has quit [Read error: 104 (Connection reset by peer)] 17:24 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 18:32 -!- epaulin [n=epaulin@218.22.2.93] has quit [Read error: 145 (Connection timed out)] 20:12 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 21:44 -!- shoan [n=shoan@59.92.129.220] has quit [] 22:09 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:11 < jake> the zend framework _sucks_ 22:11 < jake> It's just unbelievable 22:13 < Wombert> :) 22:14 < Wombert> will check in chinese simplified, chinese traditional and farsi translations for the sample app later 22:15 < raidman> hi all :) 22:20 < raidman> Wombert, did you recive my email? 22:21 < Wombert> yes! 22:21 < Wombert> [21:11] jake: the zend framework _sucks_ 22:21 < Wombert> [21:11] jake: It's just unbelievable 22:22 < Wombert> [21:13] Wombert: 22:22 < Wombert> [21:14] Wombert: will check in chinese simplified, chinese traditional and farsi translations for the sample app later 22:22 < Wombert> :) 22:24 < jake> who did you get to do a frasi translation? :) 22:25 < Wombert> raidman did it :) 22:25 < Wombert> he's from iran 22:32 < jake> oh nice 22:39 < Wombert> yeah very cool he can test the calender stuff etc 22:39 < Wombert> (they use the persian calendar there) 22:42 < raidman> do you have any plan for handling text direction for Agavi? 22:42 < Wombert> do we need to handle it? 22:43 < Wombert> the locale exposes the text orientation 22:43 < Wombert> anything else needed? 22:44 < raidman> then I can make multi direction template files? 22:44 < Wombert> I think so, yes 22:44 < Wombert> I mean... 22:44 < raidman> you know in sample app menu should be in right for farsi 22:44 < raidman> etc.. 22:44 < Wombert> you ahve a lot more experience than I do 22:44 < Wombert> yep, I know 22:45 < jake> who ended up doing the Chinese? 22:46 < raidman> may be this is a smart question, How to get current lang direction in tpl files? 22:46 < Wombert> $locale->getCharacterOrientation() 22:47 < Wombert> raidman: I'll check in the new templates etc soon 22:47 < Wombert> then you can see it 22:47 < Wombert> jake: epaulin did, he's from china 22:47 < raidman> okey 22:48 < jake> excellent. I can do the English translation :) 22:49 < Wombert> haha 22:49 < Wombert> xD 22:51 < raidman> :D 22:52 < jake> heh 22:52 < jake> I think I'm going to go to the zoo today 22:53 < Wombert> oO 22:53 < Wombert> did you get a chance to look at the xmlrpc sutff yet? 22:53 < jake> I'm doing that tonight, it's on my list of code to review :) 23:02 < impl> Symfony users are retarded. :| 23:02 < Wombert> why 23:02 < Wombert> I mean 23:02 < Wombert> yes you're right 23:02 < Wombert> but what did remind you of it yet again 23:02 < impl> Look in #symfony 23:03 < Wombert> l 23:03 < Wombert> o 23:03 < Wombert> l 23:03 < Wombert> ... 23:03 < raidman> :) 23:03 < Wombert> you guys remember the design? 23:03 < impl> Sure 23:04 < Wombert> that diagonal banner in the upper right 23:04 < Wombert> we'll put "not for feckin newbs" in there 23:04 < impl> haha 23:04 < impl> And make it link to Symfony 23:04 < impl> :X 23:04 < Wombert> ggg 23:04 < raidman> lol 23:05 < Wombert> btw guys 23:05 < Wombert> we're workin gon moving the site to a new server 23:05 < Wombert> in our control 23:05 < Wombert> bob said it's okay 23:05 < Wombert> should we add forums again? 23:05 < Wombert> I'm not really sure 23:05 < Wombert> forums are very problematic in terms of support quality 23:06 < impl> I never liked forums much 23:06 < impl> I'm more of a mailing lists/IRC person 23:08 < Wombert> I'll explain my thougts in a minute 23:08 < Wombert> brb 23:18 < raidman> night 23:18 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] --- Day changed Sun Oct 15 2006 01:14 < CIA-11> david * r1131 /trunk/ (11 files in 6 dirs): Routing, Routing Callbacks and Controller expect Response to initialize() now, that's the global response instance. 01:15 < CIA-11> david * r1132 /trunk/src/routing/AgaviWebRouting.class.php: fixed foobar'd original input parameter storing for same-route generation in routing 01:17 < CIA-11> david * r1133 /trunk/samples/ (13 files in 5 dirs): traditional chinese, simplified chinese and farsi translations, hooray! added routing callback that now handles language cookies and stuff. templates are a bit more RTL-friendly now. 01:17 < CIA-11> david * r1134 /trunk/src/routing/AgaviWebRouting.class.php: oops, removed var_dump 01:36 -!- Wombert [n=Wombert@dslb-088-064-025-117.pools.arcor-ip.net] has quit [] 02:18 < CIA-11> dominik * r1135 /trunk/src/translation/AgaviGettextTranslator.class.php: made the gettext translator obey the Plural-Forms header 02:27 < CIA-11> dominik * r1136 /trunk/ (2 files in 2 dirs): fixed overwriting of options for locales requested by the user 03:15 -!- kaos [n=kaos@ppp-62-245-162-239.dynamic.mnet-online.de] has joined #agavi 05:03 -!- kaos [n=kaos@ppp-62-245-162-239.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 05:41 -!- [1]eremit [n=eremit@p5490C533.dip.t-dialin.net] has joined #agavi 05:59 -!- eremit [n=eremit@p5490CF17.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:59 -!- [1]eremit is now known as eremit 06:56 -!- shoan [n=shoan@59.92.159.105] has joined #agavi 08:55 -!- Wombert [n=Wombert@dslb-088-064-025-117.pools.arcor-ip.net] has joined #agavi 08:58 < Wombert> ^re 08:59 < impl> Uh oh, Wombert is up 08:59 < impl> That means I stayed up too late 08:59 < impl> :< 08:59 < Wombert> haha 08:59 < Wombert> :) 08:59 < Wombert> well 08:59 < Wombert> I woke up 08:59 < Wombert> I have a _very_ sore throat all the time since yesterday 08:59 < Wombert> and a rather big cold in general 09:00 < impl> Aw :( 09:01 < Wombert> and since gulping hurts so much 09:01 < Wombert> my brain decides "uuh don't do it" while I'm asleep 09:01 < Wombert> which means 09:01 < Wombert> I got some feckin huge heartburn now, too 09:01 < Wombert> :S 09:01 < impl> Ouch :\ 09:01 < Wombert> yes 09:02 < Wombert> it's rather disgusting, so I'Ll better stop talking about it ;) 09:02 < impl> :P 09:02 < Wombert> yeah and the tea is so hot I'll suffer for another five minutes before I'll finally experience some migitation 09:02 < Wombert> eh 09:02 < Wombert> mitigation 09:02 < Wombert> ? 09:02 < impl> I guess that's right 09:03 < impl> I'd just say 'relief' myself 09:03 < Wombert> :) okay 09:03 < impl> Oh well, it's really quite late now and I should be getting to bed 09:03 < impl> Night :P 09:04 < Wombert> see ya man 09:04 < Wombert> jake: did you see some bears in the zoo 09:04 * Wombert <3 bears 09:17 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:56 -!- Wombert changed the topic of #agavi to: http://www.agavi.org/ :: DO NOT use 0.10.2 anymore :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: AGAVI.ORG DISK FULL, NO TICKETS/COMMITS/ANYTHING PLEASE! :: http://trac.agavi.org/trac.cgi/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 09:57 < eremit> oO 09:57 < eremit> morning 09:57 < Wombert> hi 10:00 < Wombert> aaand the site is down 10:00 < Wombert> uuuuh 10:00 < Wombert> the disk is totally full 10:01 < Wombert> even though I deleted around 10M already 10:01 < Wombert> awwwww 10:01 < Wombert> wtf 10:02 < Wombert> I try to delete some /tmp stuff 10:02 < Wombert> ... 10:02 < Wombert> argument list too long oO 10:07 < eremit> are you using rm * 10:07 < eremit> ? 10:07 < Wombert> yes 10:07 < Wombert> but I don't have permission to touch most files anyway 10:07 < eremit> your temp is really huge ... 10:07 < Wombert> it's not mine 10:07 < Wombert> bob's box 10:07 < eremit> ok agavi's 10:09 < eremit> and bob's not reacting ? 10:09 < Wombert> I emailed him five minutes ago 10:09 < Wombert> he's likely in bed already 10:10 < Wombert> or visiting friends with his wife/gf 10:10 < Wombert> or at a bar, drinking 10:10 < Wombert> or whatever xD 10:10 < eremit> hmm ... xD 10:10 < eremit> how far is the progress on the cc stuff ? 10:10 < Wombert> if we're lucky, he'll check his email in 12hrs, read mine and do something about it 10:11 < Wombert> dominik is looking into options for proper sandboxes 10:11 < Wombert> seLinux, or grsecurity etc 10:11 < Wombert> it'll be a piece of cake to set everything I up I reckon 10:11 < Wombert> it's just that the new SVN isn't in testing yet 10:11 < Wombert> so there's no backports 10:11 < Wombert> fuckin debian 10:11 < Wombert> such a retarded OS 10:12 < eremit> use either gentoo or ubuntu ... 10:12 < Wombert> well we can migrate it later if necessary 10:12 < eremit> but ubuntu is too stuck at 1.0.3 10:12 < eremit> if you want a bleeding edge debian ^^ i recommend use ubuntu server installs ;) 10:13 < eremit> that's what i'm using here ... after really getting sick with debian ... 10:13 < Wombert> well we definitely need some free disk space so I can switch off all lights, backup the SVN repos and copy it to the new machine ;) 10:13 < Wombert> or can I hot-copy directly via scp? 10:13 < Wombert> e.g. mount a remote drive or so? 10:13 < eremit> shfs 10:14 < eremit> for mounting drives over sftp/ssh 10:14 < Wombert> okay 10:14 < Wombert> how do I do it 10:14 < eremit> depends on what exactly do you want to archieve ... 10:15 < eremit> do you only want to mirror the svn to another machine ? 10:15 < Wombert> mount a remote directory via ssh 10:15 < Wombert> no 10:15 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 10:15 < eremit> mount it remotely ... 10:15 < Wombert> I want to to a hot-copy of the svn repos 10:15 < Wombert> and I can't do that locally and then SCP because uhm... the disk is full ^_° 10:15 < Wombert> and how do I do that? xD 10:15 < eremit> mom pls ... 10:15 < Wombert> zy 10:15 < Wombert> ty 10:16 < Wombert> hi raidman 10:16 < raidman> hi Wombert :) 10:16 < raidman> hi all :) 10:16 < Wombert> raidman: farsi translation is now in SVN 10:16 < Wombert> but I have some questions 10:16 < raidman> really, cool :) 10:16 < raidman> go ahead 10:17 < Wombert> can you do an "svn up" and have a look at it maybe? 10:17 < Wombert> so you know what I'm talking about :) 10:17 < raidman> okey 10:18 < raidman> what happend to svn? 10:18 < Wombert> ewww 10:18 < Wombert> is it broken? 10:18 < Wombert> :S 10:18 < raidman> svn: Can't find a temporary directory! 10:18 < Wombert> yeah 10:18 < Wombert> so everything's broken now 10:18 < Wombert> uncool 10:18 < raidman> ( 10:18 < Wombert> the disk on agavi.org is full 10:18 < raidman> ah 10:21 < raidman> I think time has come to moving to new server, right? 10:21 < Wombert> yes 10:21 < Wombert> we're working on that already :) 10:21 < Wombert> very bad timing ;) 10:21 < raidman> nice 10:22 < raidman> :) 10:25 < Wombert> btw 10:25 < Wombert> I think the new site should _not_ have a forum 10:25 < eremit> yay ^^ 10:25 < raidman> agree 10:25 < Wombert> cool! 10:26 < Wombert> forums are so problematic... they are "pull", you have to look for new threads 10:26 < Wombert> whereas a mailing list is "push"... the mail comes to you, and you read it regularly 10:26 < Wombert> a lot easier 10:26 < Wombert> because... the more experienced users become, the less often they'll visit a forum 10:26 < Wombert> because they don't need help 10:26 < Wombert> so they're not gonna be around and support people 10:26 < raidman> mailing lists, IRC, wiki should be enough IMHO 10:27 < Wombert> the forum ends up as a newbs-help-newbs place 10:27 < Wombert> which sucks 10:27 < Wombert> because nobody gets smarter that way 10:42 < raidman> We will move to Agavi framework at version 0.5 of our CMS :) 10:43 < raidman> it's at 0.3 now 10:43 < Wombert> :) 10:44 < raidman> I think it will be first CMS with Agavi, I'm not sure 10:47 < raidman> I'll catch you latar guys 10:48 < Wombert> cu 10:57 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 11:16 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 13:32 < shoan> Wombert: 13:37 < Wombert> yeah shoan ? 13:42 < shoan> need help packaging an application 13:42 < shoan> how do you generally package an application built using agavi/propel? 13:43 < shoan> hmm 13:43 < shoan> i guess package is the wrong word. Where do I place the files? 13:44 < Wombert> I usually add a libs/ folder into the project root 13:44 < Wombert> in there, I put agavi/src as "agavi" 13:44 < Wombert> propel-runtime/classes/propel as "propel-runtime" 13:44 < Wombert> propel-generator/ as "propel-generator" 13:44 < Wombert> aaand... creole/classes/creole as "creole" 13:45 < Wombert> then I add that dir (libs/) to the include path in config.php 13:55 < shoan> hmm 13:55 < shoan> you mean like app/libs? 14:39 < Wombert> no 14:39 < Wombert> project/libs 15:30 < Wombert> oooooh 15:30 < Wombert> whenever I'm down 15:30 < Wombert> just like now 15:30 < Wombert> because I have a cold 15:30 < Wombert> all it takes to cheer me up is a look at the symfony forums 15:30 < Wombert> http://www.symfony-project.com/forum/index.php/t/3304/ 15:30 < Wombert> m00000h 15:30 < Wombert> ha 15:30 < Wombert> ha 15:30 < Wombert> ha 15:31 -!- kaos [n=kaos@ppp-62-245-162-239.dynamic.mnet-online.de] has joined #agavi 15:35 < epaulin> Fabien answerd this questin few days ago at the maillisting, the lastest alpha does support that like : 15:35 < epaulin> showpath: 15:35 < epaulin> url: /show_my_file/:path_to_file 15:35 < epaulin> param: { module: filemanager, action: returnfile } 15:35 < epaulin> requirements: .+ 15:35 < Wombert> pathetic 15:35 < kaos> uhm 15:36 < kaos> i wonder when i will complete his ICU parser 15:36 < epaulin> but he also said, not tested. 15:36 < kaos> need something to laugh 15:36 < Wombert> I guess he can't steal our code because he doesn't understand a single line of it 15:36 < kaos> :D 15:36 < epaulin> :-) 15:37 < Wombert> http://www.symfony-project.com/forum/index.php/m/2392/?srch=agavi#msg_2392 15:37 < Wombert> ... 15:38 < epaulin> probably that just take him more time, sure they will take this code. 15:38 < Wombert> so you can't even configure it 15:38 < Wombert> duuuuuude they suck xD 15:42 < epaulin> absolutely, I hate the sf_ thing, 15:44 < epaulin> Wombert: you say that there is a way fo filtering user input, I also noticed there is a closed ticket, http://trac.agavi.org/trac.cgi/ticket/281 15:45 < epaulin> so, filter input duing validation, is that bad? 15:49 < epaulin> hmm, trac is down, hd full again? 15:49 < kaos> yup 15:49 < kaos> gonna move it to a new server 15:49 < kaos> or moving already 15:49 < kaos> depends on the viewport ;) 15:51 < epaulin> that's good, :-) 15:52 < Wombert> epaulin: it works like this 15:52 < Wombert> the request parameters 15:53 < Wombert> are not accessed via $request anymore 15:53 < Wombert> but instead, a ParameterHolder is passed to execeute() of your action and yoir view 15:53 < Wombert> this data will be validated if you have validation set up 15:53 < Wombert> validators can also modify this data 15:53 < Wombert> the nice aspect is that the original data remains unaltered 15:53 < Wombert> this way, the form population works 15:54 < Wombert> the validation system has three modes 15:54 < Wombert> normal, where all request params are handed to the action 15:54 < Wombert> tainted, where only those validation params are forwarded that have been validated 15:54 < Wombert> IF the action has validation set up 15:54 < Wombert> and strict, where you can only access parameters that have been validated 15:57 < epaulin> hmm, but can I do some input filter things during the validation, is that bad smell? Or should I doing this stuff in UserInputFilter which is customed? 15:58 < Wombert> no, validation IS also for filtering! 15:59 < Wombert> for instance, one thing you could do in your validation config is set up a validator that takes three fields for month, day and year, validates that date, and then sets it in the request as a unix timestamp 15:59 < Wombert> only this unix timestamp will be available to the action then 15:59 < Wombert> sorry, not "in the request", but "in the request data for the action and the view" 16:00 < epaulin> maybe sanitize is more correct for what i need. 16:00 < kaos> yes, that ofc belongs to the validation as well 16:00 < epaulin> Like AgaviXssprotectionFilter 16:00 < epaulin> ofc? 16:00 < kaos> of couse 16:00 < kaos> course 16:00 < kaos> sorry 16:02 < kaos> it very much depends on your use case ofc how you would do it in the best way 16:03 < Wombert> that said, nothing is stopping you from setting up generic filters such as XSS protection as a global filter, for instance 16:04 < kaos> which would make more sense then in the validation actually (if its really generic) 16:04 < kaos> since the validation is quite limited to the "current action scope" 16:05 < epaulin> So, I can definitely migrate my user input filter stuff to validation, that's nice, 16:11 < epaulin> just aware there is a export method in AgaviValidator, great 16:17 < kaos> what do you think does it do ? (since its actually for exporting request parameters into the ParameterHolder instance if i remember correctly) 16:17 < kaos> (which is rather confusing when thinking about it) 16:20 < Wombert> yeah I believe that's what it does 16:20 < epaulin> I just did't known it was there. 16:20 < Wombert> IIRC the purpose was to add new parameters to the request 16:20 < Wombert> while the existing ones can just be overwritten 16:20 < Wombert> or something 16:21 < Wombert> rather confusing ain't it 16:21 < Wombert> anyway 16:21 < Wombert> coffee break 16:30 -!- Wombert [n=Wombert@dslb-088-064-025-117.pools.arcor-ip.net] has quit [Nick collision from services.] 16:30 -!- Wombert [n=Wombert@dslb-088-064-006-127.pools.arcor-ip.net] has joined #agavi 16:30 -!- firmanw [n=firmanw@125.163.14.17] has joined #agavi 17:33 -!- Wombert changed the topic of #agavi to: *.agavi.org DOWN, MOVING TO NEW SERVER :: DO NOT use 0.10.2 anymore :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/trac.cgi/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 18:24 < kaos> hmm 18:24 < kaos> you should add: if you want speed, don't use the translation 18:24 < kaos> :p 18:25 < kaos> (i just benchmarked revision 1000 against the current rev ... the results are rather worrying 18:25 < kaos> revision 1000 managed to get 60 req/s with apc enabled on my box (~20 req/s w/o apc) 18:26 < kaos> HEAD only manages to get 20 req/s with apc enabled 18:26 < kaos> and about 8-9 req/s with apc disabled 18:27 < kaos> and i don't wanna know to what this will drop 18:27 < kaos> when i include the 6k lines of the icu calendar port 18:27 < kaos> \o/ 19:01 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 19:02 < digitarald> hello @ll 19:04 < Wombert> hi 19:13 < digitarald> when will agavi.org will be back online? 19:19 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 19:24 < splatch`> hello :) 19:24 < Wombert> hi! 19:24 < Wombert> :) 19:24 < Wombert> how are you doing 19:25 < splatch`> hmm 19:25 < splatch`> now, i drinkin' tea 19:25 < Wombert> me too 19:25 < Wombert> I'm ill :( 19:26 < splatch`> ill, what for? 19:27 < Wombert> mmh 19:27 < Wombert> just a cold 19:27 < kaos> when i include the 6k lines of the icu calendar port 19:27 < kaos> err 19:27 < kaos> wrong keyboard :] 19:27 < Wombert> x 19:27 < Wombert> D 19:28 < Wombert> D 19:28 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 19:28 < kaos> (that happens when you want to repeat your last console command ;D) 19:29 < kaos> and wtf xdebug 19:29 < kaos> no profile created 19:29 < kaos> :s 19:29 < raidman> Hi folks 19:30 < kaos> hi 19:30 < Wombert> i18n sample app is ~10 times slower w/APC for me 19:30 < Wombert> there's something wrong 19:30 < Wombert> probably that whole unpack thing 19:30 < kaos> nah 19:30 < kaos> there is no other way 19:31 < kaos> prados i18n uses unpack as well 19:31 < Wombert> couldn't we compile the .mo files to php 19:31 < kaos> yes 19:31 < kaos> thought about that too 19:31 < Wombert> right 19:31 < Wombert> I'll do that then ;) 19:31 < kaos> do a proper cache system first 19:31 < kaos> :P 19:32 < Wombert> my profiling run shows how $tm->_() eats up massive CPU time 19:32 < Wombert> most of that for loadDomainData 19:32 < kaos> as expected 19:32 < Wombert> which does readFile 19:32 < Wombert> which does getString 19:32 < kaos> yes 19:32 < kaos> but if you'd do that in userland 19:32 < kaos> it'd be even slower 19:33 < Wombert> there seems to be quite some overhead in getString() because unpack and substr only account for ~7% 19:34 < Wombert> uuh 19:34 < Wombert> the entire method doesn't contain much else 19:34 < Wombert> prolly the static call then 19:34 < kaos> shouldn't be really 19:35 < kaos> i blame your mac 19:35 < Wombert> :< 19:35 < kaos> and big endianess 19:35 < kaos> :P 19:36 -!- splatch [i=splatch@kazad.be] has joined #agavi 19:36 < splatch> blah 19:36 < splatch> i'll kill my ISP 19:37 < splatch> Wombert: agavi.org was broken? 19:37 < Wombert> it still is 19:37 < Wombert> isn't it 19:37 < Wombert> yeah 19:37 < Wombert> see channel topic 19:39 < splatch> Wombert: sorry :) 19:39 < Wombert> np :) 19:39 < splatch> Wombert: i don't know ill = sick 19:39 < Wombert> aaah 19:39 < Wombert> heh you learn something new every day :) 19:39 < splatch> ill = evail :) 19:39 < splatch> *evil 19:40 < Wombert> I have a cold 19:40 < Wombert> you know what that is? 19:40 < Wombert> if the nose is runny all the time 19:40 < Wombert> and you have to cough 19:40 < Wombert> and the throat hurts 19:40 < Wombert> and your head is all dizzy 19:41 < Wombert> and you have to sneeze 19:41 * splatch eating mum's cake :) 19:42 < splatch> Wombert: we're living in europe, we'll have winter 19:42 < Wombert> yeah 19:42 < Wombert> :( 19:42 < Wombert> I was really looking forward to the winter actually 19:42 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 19:42 * splatch loves winter :) 19:42 < Wombert> because we get snow 19:42 < Wombert> and you can go ice skating 19:43 < kaos> i HATE winter 19:43 < kaos> but love snow 19:43 < Wombert> and then it's christmas time 19:43 < splatch> hehe :) 19:43 < kaos> (if it'd be 20 i'd be fine :D) 19:43 < impl> Water has an unfortunate melting point, then 19:43 < splatch> Wombert: christmas = marketing and, spend much money 19:43 < Wombert> and you can buy roasted almond 19:43 < Wombert> splatch: I don't mean the commerce around it 19:43 < Wombert> I mean... the feeling 19:43 < impl> Christmas is music and food 19:44 < Wombert> yep 19:44 < Wombert> and atmosphere 19:44 < Wombert> I couldn't care less about presents and all that shit 19:44 < impl> I wish people wouldn't buy presents, it kinda ruins it imo 19:44 < Wombert> mmmh 19:44 < Wombert> let's say 19:44 < Wombert> the scale 19:44 < Wombert> ruins it 19:44 < kaos> hmm 19:44 < kaos> loadCurrentLocale 19:44 < kaos> only 10% 19:44 < kaos> wtf 19:44 < kaos> \o/ 19:45 * Wombert whistles some 007 tune 19:45 < kaos> yeah 19:45 < kaos> heh 19:45 < kaos> 13 calls to php::file_get:contents 19:45 < Wombert> doesn'it it call readfile every time? 19:45 < kaos> it does 19:45 < Wombert> haha 19:45 < kaos> for some reason 19:46 < Wombert> so we figured that out at the same time 19:46 < kaos> (no wonder its THAT slow) 19:46 < Wombert> brilliant 19:46 < Wombert> see 19:46 < kaos> but 19:46 < Wombert> two of ze germans working on the same issue 19:46 < kaos> my kcachegrind 19:46 < Wombert> and no faster than one alone 19:46 < kaos> works properly 19:46 < kaos> (i can see the source lines, etc) 19:46 < Wombert> yeah me too 19:46 < Wombert> still getString() is rather slow as well 19:46 < kaos> and its at reasonable speed on that celeron 19:46 < Wombert> I'll try to speed it up a little 19:46 < kaos> compared to either our 128mb ram server 19:46 < kaos> or compared to my 192mb ram router (:D) 19:47 < Wombert> you know what annoys me 19:47 < Wombert> that arrays aren't objects 19:47 < Wombert> and that you can't dereference them 19:47 < Wombert> MAÖSDJASKLHDASUKI 19:47 < Wombert> feckin 19:47 < Wombert> stupid 19:47 < Wombert> php 19:47 < kaos> what would need to dereference in an array?! 19:47 < splatch`> ach ill = sick 19:47 < splatch> yyy 19:47 < Wombert> dereferencing of calls 19:47 < Wombert> I mean 19:48 < Wombert> unpack(...)[0] 19:48 < kaos> ah 19:48 < kaos> yeh 19:48 < splatch> does my irrsi go crazy? 19:48 < Wombert> (I always wondered why _that_ is called dereferencing) 19:48 < kaos> public function loadDomainData($domain) 19:48 < kaos> $this->domainData[$domain] = array('headers' => $headers, 'msgs' => $data); 19:48 < kaos> but an isset($this->domainData[$domain]) fails 19:48 < kaos> wtc 19:48 < kaos> wtf?! 19:49 < kaos> ok, time for the great uber komodo (piece of python shit) ide 19:49 < kaos> :p 19:50 < kaos> btw 19:50 < kaos> Wombert 19:51 < kaos> did you remove the default locale in the sample app? 19:51 < Wombert> errr 19:51 < Wombert> nah 19:51 < kaos> or is something broken there ? 19:51 < Wombert> should I ? 19:51 < kaos> no 19:51 < kaos> but try calling the sample app 19:51 < kaos> w/o any parameters 19:51 < Wombert> might be an issue with that callback thing 19:51 < kaos> will get you invalid locale 19:51 < kaos> you probably overwrite the proper default 19:51 < Wombert> probably 19:52 < kaos> oh 19:52 < kaos> and index.php/de 19:52 < kaos> gives me a error 19:52 < kaos> that the page couldn't be found 19:52 < kaos> (if i add the trailing / it works again) 19:53 < kaos> errm 19:53 < kaos> wtf 19:54 < Wombert> hey stop these swear words :( this is a channel of love :( 19:54 < Wombert> you'll scare off v-dogg and his friends from finland otherwise 19:54 < Wombert> speaking of which 19:55 < Wombert> ttj: did you find the remains of that flurry animal 19:55 < Wombert> xD 19:55 < impl> "wtf" 19:55 < kaos> WTF WTF WTF WTF WTF WTF! :D 19:55 < Wombert> :< 19:55 < kaos> WTF FTW! 19:55 < kaos> ;) 19:55 < Wombert> kaos: yeah the trailing slash thing is normal 19:56 < kaos> zomg 19:56 < kaos> i just did an error 19:56 < kaos> a big one 19:56 < kaos> like usual 19:56 < Wombert> mistake? 19:56 < Wombert> you mean 19:56 < Wombert> ewww 19:56 < kaos> nah 19:56 < kaos> :p 19:56 < kaos> well 19:56 < kaos> we NEED that debugging console 19:56 < kaos> really :s 19:56 < Wombert> yeah I'll write one for 1.0 19:56 < kaos> i am waiting for apache to complete that request from 5 minutes ago 19:56 < Wombert> speaking of which 19:56 < kaos> where i accidently 19:57 < kaos> "accidently" *gg* 19:57 < kaos> put a var_dump before every translation 19:57 < Wombert> splatch or splatch`: we're moving the server, and creating a dummy page until the main site is done... how far along is kazek with the logo and all? 19:57 < kaos> so it tries to dump the context 19:57 < kaos> probalby a quadzillion times 19:57 < Wombert> yeah haha I had that yesterday 19:58 < kaos> haha 19:58 < kaos> i have this every day 19:58 < kaos> ffs 19:58 < kaos> ok 19:58 < kaos> maybe i should really reduce my usage of swear words *g* 19:59 < Wombert> yeah 19:59 < Wombert> some sort of anger management would do miracles 19:59 < kaos> pfft :D 19:59 < Wombert> did you see Bad Boys 2? 19:59 < kaos> thats why i buy microsoft keyboards 19:59 < Wombert> rub your ears and say "woooooozaaahhhhh" 19:59 < kaos> they can handle my anger 19:59 < Wombert> anyway 19:59 < kaos> :D 19:59 < Wombert> I'm gonna grab something for lunch 20:00 < splatch> Wombert: ... askin.. 20:00 < Wombert> HA! 20:00 < Wombert> and _how_ the method call eats up time! 20:00 < kaos> hmm 20:00 < Wombert> $leni = unpack($longPackChar, substr($content, $originalOffsetPos, 4)); 20:00 < Wombert> $offseti = unpack($longPackChar, substr($content, $originalOffsetPos + 4, 4)); 20:00 < Wombert> $lenv = unpack($longPackChar, substr($content, $translatedOffsetPos, 4)); 20:00 < Wombert> $offsetv = unpack($longPackChar, substr($content, $translatedOffsetPos + 4, 4)); 20:00 < Wombert> $strings[substr($content, $offseti[1], $leni[1])] = substr($content, $offsetv[1], $lenv[1]); 20:00 < Wombert> use that while you're at it 20:01 < Wombert> be back soon 20:01 < kaos> hu ? 20:01 < kaos> thats not the issue right now 20:01 < kaos> and i will not change that 20:01 < kaos> i rather need to find out 20:01 < kaos> why it even loads every locale 20:01 < kaos> again 20:01 < kaos> and again 20:01 < kaos> ;) 20:03 < splatch> Wombert: kazek's gone 20:04 < splatch> he's away ;) 20:09 -!- splatch [i=splatch@kazad.be] has quit ["leaving"] 20:17 < kaos> ok 20:17 < kaos> down to 2 calls to GettextMoReader::readFile 20:20 < Wombert> splatch`: okay <: 20:20 < Wombert> kaos: any faster that way? 20:20 < kaos> havent tested 20:20 < kaos> mom 20:20 < Wombert> can you check it in 20:20 < Wombert> uuuh still gotta relocate the repos :S 20:20 < kaos> it is checked in :P 20:53 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 21:54 -!- firmanw [n=firmanw@125.163.14.17] has quit [Read error: 113 (No route to host)] 22:00 < ttj> Wombert: Nope, but a similar furry animal slept in my mouth last night again. 22:00 < Wombert> xDDD 22:00 < ttj> And I lost my wallet. 22:00 < Wombert> ewwwww 22:00 < ttj> Sort of sucks. 22:00 < Wombert> in a bar or something? 22:00 < Wombert> yeah it sure does 22:00 < ttj> On my way home, most likely. Can't remember. 22:01 < Wombert> haha 22:01 < Wombert> mmh 22:01 < Wombert> :| 22:01 < ttj> Imust've had it in the bar since someone told me that I had bought shots to many people. Multiple times. 22:02 < Wombert> :>>>> 22:02 < Wombert> did you have anything to celebrate? 22:02 < ttj> Nope. 22:02 < ttj> Except that it was weekend. :-) 22:03 < impl> Yhey for drunkenness 22:04 < ttj> The police guy laughed at me when I called them. :P 22:04 < Wombert> :) 22:11 < splatch`> Wombert: kazek will give some stuff tomorrow 22:11 < splatch`> btw where i can put own config variables? 22:11 < Wombert> excellent 22:11 < Wombert> what config variables? 22:12 < splatch`> i've image resizer and i must got widt/height 22:12 < splatch`> *width 22:12 < splatch`> in Mojavi and Agavi 0.11 i put that to settings.ini 22:13 < impl> 0.10*? 22:13 < impl> Wombert: We're still aiming for a November 6 release date for 0.11 right? 22:13 < Wombert> yes 22:14 < splatch`> och, 0.10 22:14 < splatch`> Wombert: can i put this to settings.xml? 22:18 < Wombert> usually, you'd create a dedicated configuration file 22:19 < Wombert> 0.10 had the ReturnArrayConfigHandler, it works the same in 0.11 22:19 < splatch`> i used return array 22:19 < splatch`> but settings ini was better 22:19 < Wombert> I beg to differ 22:19 < splatch`> all from settings.ini was constant :] 22:20 < splatch`> [image] 22:20 < splatch`> width=100 22:20 < splatch`> and i had IMAGE_WIDTH constant 22:20 < splatch`> ready to use :) 22:21 < Wombert> didn't v-dogg write a config handler for that the other day 22:23 < splatch`> Wombert: i can use own config handler 22:23 < splatch`> that isnt' problem :) 22:23 < splatch`> *isn't 22:23 < splatch`> don't drink any more 22:28 < splatch`> return array config handler working with XML/INI? 22:28 < kaos> only with xml 22:28 < kaos> we don't support .ini anywhere anymore 22:28 < kaos> (but you can in theory reenable it quite simple) 22:28 < Wombert> we could, in theory, yeah 22:28 < Wombert> it's rather that we can't be bothered 22:29 < Wombert> unlike certain other frameworks (*cough*) our users can drop in their own format support 22:29 < Wombert> if they're so inclined 22:29 < Wombert> not that we recommend it, of course 22:30 < kaos> well 22:30 < kaos> its actually even no problem having xml for the agavi config 22:30 < kaos> and .ini for your own 22:31 < splatch`> ok, i've mapped configuration 22:31 < splatch`> and how can i use this? 22:31 < splatch`> AgaviConfigCache:: ? 22:32 < kaos> AgaviConfigCache::checkConfig('full path to your config.file'); 22:32 < Wombert> well 22:32 < Wombert> actually, you have to include it 22:33 < splatch`> ...? 22:33 < Wombert> $config = include(AgaviConfigCache::checkConfig('full path to your config.file')); 22:33 < Wombert> if you want context-specific configuration, too, you have to pass the context as the second argument 22:33 < splatch`> ach 22:34 < splatch`> var_export 22:34 < splatch`> that's very slow 22:34 < Wombert> not really 22:34 < splatch`> unserialize+file_get_contents are really faster 22:34 < splatch`> i check it 22:34 < Wombert> but we're looking into adding unserialize support 22:34 < Wombert> which is faster since 5.1 22:34 < Wombert> yes 22:34 < Wombert> we know 22:35 < splatch`> so.. in future that will be unserialize, not include? :) 22:35 < kaos> in future you wont have to do either 22:35 < kaos> it will simply do it internal 22:38 < splatch`> hm 22:39 < splatch`> XSD Validation of configuration file "E:\localhost\shop\project/config/config_handlers.xml" 22:39 < splatch`> failed, errors reported by DOM: 22:39 < splatch`> Element 'handler': Character content is not allowed, because the content type is empty. 22:41 < ttj> Found my wallet. 22:41 < ttj> It was in the fridge. Behind some beer bottles. 22:41 < Wombert> ROOOOOOOOOOOOOOOOFL 22:41 < Wombert> :>>>>>>>>>>>> 22:41 * Wombert hugs ttj 22:42 < Wombert> you're just too funny, man 22:42 < Wombert> haha 22:42 < ttj> Well, I can actually see the logic now. 22:42 < ttj> When I got home at around 5 AM, I decided to have more beer. I'd been drinking at the bar the entire night, so naturally I wanted to pay for that beer too. 22:42 < splatch`> i found my wallet at the morning 22:42 < splatch`> it was empty :| 22:44 < ttj> Well, this wallet isn't empty. 22:44 < ttj> It's full of receipts. 22:44 < splatch`> not taxes? :) 22:44 < ttj> 5x Salmari. 5x Salmari. 7x Campari. 22:45 < ttj> Ok, this is too painful. 22:45 < Wombert> lol 22:45 < splatch`> [1.5l beer, 1.5l beer, 1.5l beer]/3 people 22:46 < splatch`> next was 2 beers, 50mg vodka 22:47 < splatch`> and at last "warka strong", strong beer [9% ] 22:47 < splatch`> my head at morning told me, you're stupid ;) 22:48 < splatch`> and i said yes 22:48 < ttj> I recall having beer drinking competitions too, last night. 22:49 < Wombert> you guys know what's weird 22:49 < Wombert> some friends of mine were utterly drunk, too 22:49 < splatch`> hm 22:49 < Wombert> and my brother told me he came home at 7 or so in the morning and still felt drunk this evening 22:49 < Wombert> too bad I'm ill and couldn't do any partying as well :S 22:50 < splatch`> i remember all 22:50 < ttj> I'm never going to drink again. 22:50 < splatch`> ttj: i'm too :) 22:50 < splatch`> *i too 22:51 < splatch`> i feel regret money 22:52 < splatch`> btw i'm going to buy nez wnotebook 22:52 < splatch`> *new notebook 22:52 < Wombert> buy a MacBook 22:52 < ttj> ThinkPad! 22:52 < Wombert> no! 22:52 < ttj> :P 22:52 < Wombert> MacBook! 22:53 < Wombert> more affordable, too 22:53 < Wombert> :> 22:53 < splatch`> macbook're so dear 22:53 < ttj> My ThinkPad was cheaper than a MacBook! 22:53 < impl> ThinkPads suck now that they're made by Lenovo 22:53 < splatch`> i can't but MB 22:53 < ttj> impl: No they don't. 22:53 < splatch`> that's 8k z, i've only 5 22:53 < Wombert> look 22:53 < Wombert> macbooks suck 22:53 < impl> They do too. They don't have the IBM logo in colour, and they look funny 22:53 < impl> and I don't like them 22:53 < impl> :( 22:53 < Wombert> each model looks different 22:53 < Wombert> some ports on the left 22:53 < Wombert> some on the right 22:53 < Wombert> some on the back 22:54 < Wombert> weird bumps in the casing where the vga out is (vga out... come on) 22:54 < splatch`> i thought about Asus 22:54 < Wombert> all that stuff 22:54 < Wombert> makes mac >>>>> anything else 22:54 < Wombert> splatch`: they suck... they have very very bad support 22:54 < splatch`> Wombert: hm.. in poland was good 22:54 < Wombert> splatch`: really... I recommend that you save more money and wait until you can afford a MacBook 22:54 < Wombert> they cost 1000 euros here for students 22:54 < Wombert> you won't regret it 22:55 < splatch`> in previous work they change hdd in my chief notebook 22:55 < splatch`> without problems 22:55 < splatch`> four, five days 22:56 < Kubicek> ibm even repaired my x40 with a lot of cocacola inside for free :) 22:56 < splatch`> Wombert: maybe in next year :) 22:56 < splatch`> currently i've LG GS50 and this stuff are good.. but old 22:57 < Kubicek> i wish apple would have something like x40, but they have everythink only with cdrom and it is fucking big 22:57 < splatch`> and hdd goning to died 22:58 < splatch`> thinkpad're ugly ;> 22:58 < Kubicek> but very small 22:59 < Wombert> there are other small notebooks 22:59 < Wombert> some vaios, for isntance 22:59 < Wombert> but you guys are missing the point 22:59 < Wombert> it's not only about size 22:59 < Wombert> you only get OS X and the entire experience with a mac :) 22:59 < Wombert> slot-in drive, perfect wifi and bluetooth integration, INSTANT(!) wakeup 22:59 < Kubicek> Wombert: i have mac mini on the table ... :) 22:59 < Wombert> windows xp needs 30 seconds to wake up from hibernate 23:00 < Wombert> if it doesn't crash due to some crappy driver 23:00 < Wombert> I open my powerbook, and bam, there's the desktop 23:00 < Kubicek> Wombert: i never close my notebook, so i don't care about hibernation :) 23:00 < ttj> splatch`: Thinkpads may not be trendy. But they're far from ugly. 23:00 < ttj> An analogy can be found from clothing. 23:01 < Wombert> oh I'm curious to hear that 23:01 < Kubicek> i really would like to have mac notebook, but size matter. x40 is unbeatable 23:01 < ttj> Buy trendy and hip clothes, buy an Apple. Buy a properly made, traditional suit, buy a Thinkpad. 23:01 < Wombert> I find my 15" PB rather portable 23:01 < Wombert> ttj: my aluminium PB is the most elegant laptop I've seen so far 23:01 < Wombert> one of the reasons why I bought it 23:01 < Wombert> I saw it next to the iBook in the store 23:01 < Wombert> and I new... PB all the way 23:02 < Wombert> I thought the 15" would be too big and all, but I'm glad I took it over the 12" 23:02 < Kubicek> i also heard pb are too hot 23:03 < Kubicek> i work from bed 4-5 hours a day, so size and temperature are very importatnt for me :) 23:03 < splatch`> thinkpad are too dear 23:03 < splatch`> with the same money 23:03 < splatch`> i'll got better asus 23:04 < Wombert> no heat issues here 23:04 < Wombert> the battery is good for four hours typically 23:04 < Wombert> besides the fact that two months after I bought it, they released the intel macbooks which are about 718236 times faster AND run windows 23:04 < Kubicek> Wombert: good to hear. i'll go to apple shop and look for it :) 23:04 < Wombert> it's the single best decision I have made regarding computers ever 23:04 < Wombert> no kidding 23:05 < splatch`> Wombert: just as i said, maybe in next year 23:05 < Kubicek> Wombert: i fully believe you. i'm also happy i bought intel mac mini 23:05 < Wombert> and one of the better decisions of my life, too, because I now don't get mad at windows all the time 23:05 < Wombert> you know, these "YES, I'LL SHOW THIS RESTART DIALOG EVERY FIFTEEN MINUTES" bullshit 23:05 < splatch`> now i need good, fast and cheap notebook 23:05 < Wombert> anyway 23:06 < Wombert> I'll watch a movie 23:06 < Wombert> and then be back 23:06 < Wombert> hope the nameservers got the domain names by then 23:06 < Wombert> so I can test if the website works 23:06 < Wombert> svn and trac are working already on the new box 23:06 < Wombert> see you in ~80 minutes 23:06 < Kubicek> you should decrease ttl before any dns changes to avoid dns problems while migrating ... --- Day changed Mon Oct 16 2006 00:37 -!- Wombert changed the topic of #agavi to: www.agavi.bitxtender.net while we're waiting for agavi.org to move :: DO NOT use 0.10.2 anymore :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/trac.cgi/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 00:38 < Wombert> there ya go guys 00:38 < Wombert> svn and trac moved there, too 00:38 < Wombert> don't use the old domain for now 00:38 < Wombert> we're waiting for bob to change the nameserver entries for agavi.org so it points to the new machine 00:49 -!- Wombert [n=Wombert@dslb-088-064-006-127.pools.arcor-ip.net] has quit [] 01:43 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 02:39 -!- kaos- [n=kaos@ppp-82-135-1-176.dynamic.mnet-online.de] has joined #agavi 02:43 -!- Macca` [i=brendanm@maccasoft.com.au] has quit ["Leaving"] 02:50 -!- kaos [n=kaos@ppp-62-245-162-239.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)] 03:21 -!- kaos [n=kaos@ppp-82-135-1-29.dynamic.mnet-online.de] has joined #agavi 03:27 -!- kaos- [n=kaos@ppp-82-135-1-176.dynamic.mnet-online.de] has quit [Read error: 113 (No route to host)] 03:46 -!- kaos- [n=kaos@ppp-62-245-160-70.dynamic.mnet-online.de] has joined #agavi 04:01 -!- kaos [n=kaos@ppp-82-135-1-29.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 05:06 -!- Wombert [n=Wombert@dslb-088-064-006-127.pools.arcor-ip.net] has joined #agavi 05:07 < impl> This time, Wombert is up early! :P 05:11 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:44 -!- [1]eremit [n=eremit@p5490CCCF.dip.t-dialin.net] has joined #agavi 05:51 -!- eremit [n=eremit@p5490C533.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 05:51 -!- [1]eremit is now known as eremit 06:52 -!- shoan_ [n=shoan@59.92.162.19] has joined #agavi 07:10 -!- shoan [n=shoan@59.92.159.105] has quit [Read error: 110 (Connection timed out)] 07:17 < v-dogg> huomenta 07:17 < ttj> Huomen. 07:26 < shoan_> huomenta 07:26 -!- shoan_ is now known as shoan 08:34 < Wombert> ewww 08:35 < v-dogg> woot 08:35 < Wombert> something woke up the laptop oO 08:35 < v-dogg> macs <3 08:35 < Wombert> at 4am 08:41 < Wombert> Oct 16 04:04:47 Wombook kernel[0]: IOBluetoothHCIController::restartShutdownWL this is a wake from sleep 08:41 < Wombert> Oct 16 04:04:47 Wombook kernel[0]: System Wake 08:41 < Wombert> Oct 16 04:04:47 Wombook kernel[0]: Wake event 0020 08:41 < Wombert> wtf 08:43 < Wombert> hm 08:43 < Wombert> gonna restart 08:43 -!- Wombert [n=Wombert@dslb-088-064-006-127.pools.arcor-ip.net] has quit [] 08:48 < v-dogg> it takes that long? 08:48 -!- Wombert [n=Wombert@dslb-088-064-006-127.pools.arcor-ip.net] has joined #agavi 08:49 < v-dogg> Wombert: 08:49 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:49 < v-dogg> http://veikkomakinen.com/temp/agavi.bitxtender.png 08:49 < Wombert> ewww 08:49 < Wombert> ie? 08:50 < v-dogg> firefox 08:50 < v-dogg> 1.5.0.7, WinXP 08:51 < raidman> morning folks :) 08:52 < v-dogg> morning raidman 08:52 < raidman> agavi.org is up :) 08:55 < Wombert> yes 08:55 < Wombert> gotta take it down somehow 08:56 < raidman> Wombert, what about SVN? 08:56 < Wombert> all moved 08:56 < v-dogg> you've been busy :) 08:57 < Wombert> v-dogg: I'm uploading a new page with fixed line height... 08:58 < raidman> yeah I can see farsi translation in repos :) 08:58 < v-dogg> oh man... I need coffee 08:58 < Wombert> v-dogg: reload 08:58 < v-dogg> tons 08:58 < Wombert> better? 08:58 < v-dogg> yeah, works now 08:58 < Wombert> good 09:01 < raidman> Invalid locale identifier () specified? 09:03 < Wombert> yeah that's possible 09:04 < raidman> How can I fix it? 09:04 < Wombert> I'll have to fix it 09:04 < Wombert> just use /en/ for now 09:04 < raidman> okey 09:08 -!- Wombert changed the topic of #agavi to: www.agavi.bitxtender.net while we're waiting for agavi.org to move :: DO NOT use 0.10.2 anymore:: http://svn.agavi.bitxtender.net/ :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.bitxtender.net/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 09:09 < raidman> I have an idea for agavi, I think it will be perfect to have AMR (Agavi Modules Repository), ACR(Agavi Components Repository) (for agavi 2.0), AEFR (Agavi Extensions and Filters Repository) and etc.. 09:18 < Wombert> well I guess some kind of AgaviForce will be enough won't it 09:18 < raidman> AgaviForce? 09:19 < raidman> AgaviForge? 09:19 < Wombert> yes 09:19 < Wombert> sorry 09:20 < raidman> yes of course :) 09:20 < raidman> but it's important to be IMHO 09:21 < v-dogg> hehe, AgaviForce 09:21 < v-dogg> like Thunderbirds :) 09:22 < digitarald> Morning fellows :) 09:22 < raidman> motning digitarald 09:22 < raidman> ah 09:23 < raidman> s/motning/morning/ 09:28 < Wombert> teh polls again 09:29 < Wombert> so far, everyone has voted IN FAVOR of getting rid of the forums 09:29 < Wombert> does anyone object 09:30 < Wombert> I beiieve impl, raidman and epaulin have voted for it so far, as well as me, of course 09:30 < Wombert> eremit ? 09:30 < Wombert> digitarald? 09:30 < Wombert> ttj? 09:30 < Wombert> v-dogg? 09:30 < Wombert> Kubicek? 09:30 < Wombert> shoan? 09:30 < Wombert> EleRas? 09:30 < Wombert> splatch`? 09:30 < eremit> morning, Wombert, aye? 09:30 < shoan> 'sup? 09:32 < eremit> the forums ? and if we should get rid of them ? 09:33 < shoan> get rid of it 09:33 < digitarald> the forum like now ... get rid of them, yes, but archive it and create a new one :) 09:34 < shoan> but make the mailing list/irc archives more accessible 09:34 < eremit> yeah ... as i already voted yesterday ... discard it 09:34 < digitarald> i know people that cant even login or register 09:34 < Wombert> no 09:34 < Wombert> no new forum 09:34 < Wombert> at least that's the plan 09:35 < Wombert> shoan: yes you bet we'll do that 09:35 < digitarald> if anybody has 30min to look at oop-language on 50Mhz 1992 ... http://jaortega.wordpress.com/2006/10/13/the-object-oriented-cake/ ... what we been doing the last 14 years :D 09:38 < Wombert> digitarald: I can tell you 09:38 < Wombert> ever wondered why even Gran Turismo 4 looks better than most PC racing games? 09:39 < Wombert> that's the simple answer 09:39 < Wombert> moron coders don't have to adapt as the hardware gets faster 09:39 < Wombert> they can continue to write their crap and nobody notices how slow it is 09:40 < Wombert> dude 09:40 < Wombert> that SO is Mac OS X 09:40 < Wombert> :> 09:40 < Wombert> I love that comment about how it would take a mac or pc the entire week to redraw the windows :D 09:53 < v-dogg> Wombert: forums away? for good? 09:53 < Wombert> I would say so, yes 09:53 < Wombert> what's your opinion 09:53 < v-dogg> not sure 09:53 -!- AgaviBot [n=dzuelke@dslb-088-064-006-127.pools.arcor-ip.net] has joined #agavi 09:54 < v-dogg> forum has some advantages over irc 09:54 < v-dogg> no client needed, clear threads and so on 09:54 < Wombert> well 09:54 < Wombert> we'd set up mailing lists 09:55 < Wombert> mailing lists are a push system... the stuff comes to you, you don't have to do anything 09:55 < Wombert> you just read it and if you feel like it, you reply 09:55 < Wombert> forums... you have to go there, look around and see which threads are new etc 09:55 < Wombert> looking at symfony (and other projects), in the end, only the noobs populate the forums 09:56 < Wombert> because the more experienced people don't need them anymore over time 09:56 < Wombert> so they stay away 09:56 < v-dogg> that's true 09:56 < Wombert> so they're not there to help new users either 09:56 < Wombert> then, there's only total newbs and people with few experience there which help the novices 09:56 < Wombert> that leads to misunderstandings and, most importantly, to wrong answers 09:57 < Wombert> so newbs learn things the wrong way 09:57 < v-dogg> possible 09:57 < Wombert> get frustrated 09:57 < Wombert> run away 09:57 < Wombert> that's my experience with other projects, too, such as smarty 09:57 < Wombert> the more skilled people alway read the mailing lists, most importantly because it's convenient 09:58 < Wombert> I can say for sure that I, and most of the people here, won't have the time to "maintain" the forums 09:58 < Wombert> give good support etc 09:58 < Wombert> it's just way too time comsuming 09:59 < v-dogg> but what you just said about mailing list vs. forums, some might argue is a point for forums, not against them :) (ie. you don't get mails that get lost in your overcrowded mails but you can read the forum when it suits you) 09:59 < Wombert> we decided not to add forums to Propel, for example, for the very same reasons 09:59 < Wombert> you can read emails whenever you want, too... it's just a matter of setting up a filter to put them into a folder ;) 09:59 < v-dogg> that's not the point (and you know it) 09:59 < Wombert> look at how many threads on the symfony forums have 0 replies 10:00 < Wombert> now let's say a week has passed without an answer 10:00 < v-dogg> yes, I am aware of the problems with forums 10:00 < Wombert> the person adds a *bump* and.. still no reply 10:00 < v-dogg> and I don't have a strong opinion for them 10:00 < Wombert> at leaast he's more likely to get one on mailing lists 10:01 < v-dogg> don't know if that's true 10:02 < Wombert> hmh 10:04 < v-dogg> but I have nothing against removing the forum 10:04 < v-dogg> just wanted to discuss it 10:05 < Wombert> yeah sure 10:05 < Wombert> I mean I realize that a forum is easier and all 10:05 < Wombert> but then, if someone can't manage to subscribe to a mailing list... :) 10:05 < Wombert> if we have nice archives, why not!? 10:06 < eremit> there is imho only one thing in count for a forum ... 10:06 < Wombert> I know _I_ would forget to look at the forums all the time because it's too time consuming 10:06 < Wombert> I tried that with Smarty back when I was a contributor but... it was too much work 10:06 < eremit> searching is much easier ... 10:06 < Wombert> that's true 10:07 < Wombert> but if we have a good archive of the lists 10:09 < splatch`> Wombert? 10:10 < Wombert> yes? 10:20 < splatch`> 08:30:33 < Wombert> splatch`? 10:20 < Wombert> right 10:20 < Wombert> and I asked a question before that :) 10:21 < Wombert> [08:28] Wombert: teh polls again 10:21 < Wombert> [08:29] Wombert: so far, everyone has voted IN FAVOR of getting rid of the forums 10:21 < Wombert> [08:29] Wombert: does anyone object 10:34 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 10:34 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1143 : Changeset [1143]: fixed default locale not getting set 10:35 < shoan> Wombert: the irc archives aren't really useful to new comers 10:36 < v-dogg> yep, no structure or threads 10:36 < Wombert> yeah that's why we'd have mailing lists, they are threaded 10:36 < Wombert> plus documentation, tutorials, screencasts 10:36 < Wombert> I'm not sure how much of an idea a new user could get of the framework by looking at the firums 10:36 < Wombert> forums 10:36 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 10:36 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1145 : Changeset [1145]: set locale cookie for 30 days instead of only for the session 10:37 < AgaviBot> 2) http://trac.agavi.bitxtender.net/changeset/1144 : Changeset [1144]: bringing back pounds sterling as the currency for all locales 10:37 < shoan> Wombert: the mailing list is dead 10:37 < Wombert> shoan: because nobody knows about it and because it's just a developers mailing list and because agavi has very, very few users 10:38 < Wombert> I realize that forums have a huge bling factor and all but I believe that in the long term, they'll only have a negative effect 10:38 < Wombert> brb 11:01 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 11:02 < Wombert> hey Macca` 11:02 < Macca`> hello 11:03 < digitarald> forums have negative effects? ... thats the first meeting point for new people asking questions ... ok ... many dump questions ... i think there should be a forum-like discussion, not only in a mailing list 11:04 < Wombert> we could embed a java irc client or whatever 11:04 < Wombert> we'll have FAQ, an intro vid, the intro manual 11:04 < Wombert> comprehensive docmentation 11:04 < Wombert> tutorials 11:04 < Wombert> a list of features with many details 11:04 < Wombert> seriously 11:05 < Wombert> I'm sure they won't get properly good answers on a forum 11:05 < Wombert> because the first ones to reply are those who are hanging around there a lot 11:05 < Wombert> and that's people who are _also_ new 11:06 < Wombert> and I really don't want the situation where a user asks a question, and another user doesn't know about it either, and thus replies "I don't think that's possible" 11:06 < Wombert> I have limited time, and so has anyone else 11:06 < Wombert> and if I'm having a 15 minute break from work 11:06 < Wombert> I can skim through the mailing list 11:06 < Wombert> quickly looking over the subjects of the messages 11:07 < Wombert> and write a couply of replies 11:07 < Wombert> on the forums, I need to paginate, and I need to look into several sub-forums 11:07 < Wombert> and I don't have time for that 11:07 < Wombert> so I won't do it 11:07 < Wombert> and so won't other busy people 11:07 < Wombert> so the forums will be a place of average support quality, if any 11:08 < Wombert> bug reports - trac 11:08 < Wombert> feature requests - a feature request system (where people can propose things and then vote etc) 11:09 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Remote closed the connection] 11:09 < Wombert> support - mailing lists or IRC 11:09 < Wombert> we cna have nice archives of the mailing lists people can look at 11:09 < digitarald> ... forums are needed for the community ... have to go to work ... 11:09 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:09 < Wombert> I'll even add a live IRC viewer so you can read the channel without being connected 11:10 < eremit> but please don't make it able to chat ^^ 11:10 < Wombert> of course not 11:10 < Wombert> and I don't think we need forums for a community 11:10 < Wombert> it's always a subset of people there 11:10 < Wombert> a specific group of the user base 11:10 < Wombert> and that's not good 11:11 < eremit> i share your point of view ... :) ... if the community thinks they need a forum, they should create one ... but it should not be part of agavi's infrastructure 11:13 -!- shoan [n=shoan@59.92.162.19] has left #agavi [] 11:13 < Wombert> eremit: not necessarily 11:13 < Wombert> if the community desperately wants a forum 11:13 < Wombert> we'll create one 11:14 < Wombert> because I'd much rather have one in my "control" where the "old" users are listened to and respected 11:14 < Wombert> you know what I mean? 11:14 < eremit> yes i know what you mean ... 11:14 < Wombert> in a community, they do their own stuff, and you could walk in, and add in your thoughts, but it would be different 11:14 < Wombert> I'm not talking about "respect" because they contribute but 11:14 < Wombert> mmmh how to say 11:15 < Wombert> "in a community" = "in external forums set up by John Doe" 11:15 < eremit> yep got it ... 11:15 < Wombert> what I mean is that... it's also better for the users if the people behind the framework run the forums 11:15 < Wombert> because they have people they can 100% rely on 11:16 < Wombert> when they tell them their opinion or give advice or so 11:16 < eremit> even if i dont share your opinion ... ;) 11:16 < Wombert> then tell me yours 11:16 < Wombert> :) 11:16 < eremit> it's quite simple ... i have a huge hatred against forums of opensource software projects ... 11:16 < Wombert> me too 11:17 < eremit> and i would never run one if i have the choice :P 11:17 < Wombert> well not really hatred 11:17 < Wombert> but 11:17 < Wombert> I don't like them because... yeah... people don't get good support there 11:17 < eremit> as i told above... if somebody thinks he needs a forum, he should create one ... 11:18 < Wombert> it's also my experience from open source software I use 11:18 < Wombert> if you ask basic questions, 1000 people will jump in and give an answer 11:18 < Wombert> ask something complicated... you _never_ get a reply 11:18 < Wombert> happened just hte other day with VideoLan, and many others before that 11:19 < Wombert> and that's because the developers and experienced people, over time, can't be bothered to participate anymore 11:19 < Wombert> and that's very bad for the beginners because they're left alone 11:19 < eremit> hmm ... or you ask a silly dump question because you are a little bit beside yourself ... and get a RTFM n00b answer 11:19 < Wombert> yeah or that 11:19 < eremit> you know i was a project leader of syscp ?... the forums nearly killed the whole project ... 11:20 < Wombert> yeha 11:20 < eremit> :/ .. and the forums are one of the main reasons for this: http://blog.syscp.org/archives/3-Team-changes-and-introduction-of-blog.syscp.org.html 11:21 < Wombert> :| 11:21 < eremit> haha ... why :| ?... 11:21 < Wombert> well okay 11:21 < Wombert> you seem happy 11:21 < Wombert> :) 11:21 < Wombert> abou tit 11:21 < Wombert> :) 11:22 < eremit> take a look at our forums ... and you see ... nothing usefull ... only flames or questions like ... How do i start a daemon in linux? 11:22 < Wombert> waits for v-dogg to say "haha wombert said TIT" xDDDD 11:22 * Wombert waits for v-dogg to say "haha wombert said TIT" xDDDD 11:22 < Wombert> better 11:22 < eremit> hrhr 11:23 < Wombert> eremit: yes and that's a nice side effect 11:23 < Wombert> people must be serious about it 11:23 < Wombert> symfony forums are FLOODED with shit like "how do I make an ajax call" 11:23 < eremit> or another good example against forums .. take a deep look into the history of rootforum.de ... 11:23 < Wombert> in the end, that means that those with actual questions regarding the framework don't get any answers 11:23 < v-dogg> wombie said "tit" *giggle* 11:23 < eremit> i dont know about the symf forums, i once took a look and thought ... wtf just a bunch of stupid kids trying to be hype ... 11:24 * Wombert hugs v-dogg 11:24 < Wombert> :>>>>> 11:24 < Wombert> oooh man these finns always cheer me up 11:24 < Wombert> v-dogg: did you read about ttj's drinking escapades and the wallet story 11:24 < Wombert> eremit: yep 11:25 < Wombert> what I was trying to say regarding "people must be serious about it"... 11:25 < Wombert> they have to subscribe to the mailing list 11:25 < Wombert> which means they'll proably look into the archives 11:25 < Wombert> that might scare off people who bought a PHP book the day before 11:25 < Wombert> and that might not be bad, I guess 11:26 < Wombert> because it doesn't help us if they try agavi 11:26 < Wombert> and most importantly it doesn't help them 11:26 < Wombert> if they try agavi 11:26 < eremit> exactly the arguments i used ^^ :D 11:26 < Wombert> or any framework for that matter 11:26 < Wombert> it's one of the problems symfony has 11:26 < v-dogg> can I wrap every php error in an exception? 11:26 < Wombert> v-dogg: yeah 11:26 < Wombert> set up an error handler 11:27 < Wombert> (see also http://trac.agavi.bitxtender.net/ticket/36) 11:27 < Wombert> btw that's trac 0.10 11:27 < Wombert> which means we'll open anonymous access again 11:27 < Wombert> it has antispam stuff 11:28 < eremit> be very carefull about the antispam stuff 11:28 < Wombert> it uses askimet afaik 11:28 < eremit> and talk to eleras ... he set up the antispam for trac.syscp.org 11:28 < Wombert> anyway, I hope there's a CAPTCHA plugin too 11:28 < eremit> they had a bunch of problems ... 11:28 < eremit> afaik there isn't yet 11:29 < eremit> syscp had the problem normal tickets get denied because of askimet ... 11:29 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has joined #agavi 11:29 < digitarald> ... back 11:30 < Wombert> welcome back :) 11:30 < Wombert> read the logs for the last minutes please 11:30 < Wombert> eremit pointed out some stuff against forums there 11:30 < eremit> @wombert: http://lists.syscp.org/pipermail/devel/2006-October/000120.html 11:30 < Wombert> and I absolutely agrtee 11:30 < Wombert> eremit: aaaah yeah right 11:31 < Wombert> I actually had the same problem with the Adium trac 11:31 < Wombert> where I couldn't add any attachments 11:31 < Wombert> that suckd 11:32 < eremit> yes ... 11:32 < eremit> but as i said, talk to eleras, he even setup a badword filter, being configurable from the trac wiki 11:32 < eremit> (dont know if thats trac standard way of doing it) 11:33 < eremit> http://trac.syscp.org/wiki/BadContent 11:35 < v-dogg> ehm.. I get "Fatal error: Class 'AgaviCompileConfigHandler' not found ... " when I add set_error_handler('error2Exception'); in config.php 11:36 < Wombert> uh wtf 11:36 < Wombert> try to do it after the bootstrap 11:37 < v-dogg> that works 11:42 < EleRas> just read the log of this channel, trac 0.10 has a build-in badwords-filter if you install the spamfilter-plugin, just edit the content of trac<install>/wiki/BadContent (for example: http://www.syscp.org/wiki/BadContent) 11:43 < v-dogg> does it block out Wombert when he writes abou tit? 11:43 * v-dogg giggles 11:43 < EleRas> *g 11:43 < EleRas> not if he is logged in to trac 11:43 < Wombert> ROFL 11:43 < Wombert> :>>>>> 11:43 < Wombert> nice one, v-dogg 11:44 < Wombert> you just put the benchmark a lot higher ;) 11:44 < EleRas> anyway, have to go now, but setting up the antispam in trac is rather simple, docu is okay 11:45 < Wombert> :) 11:45 < Wombert> thanks for the input! 11:48 < Wombert> mmmmh dominik did a great job with that translation stuff 11:48 < Wombert> just look at this changeset there 11:48 < Wombert> so cool 11:51 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 11:51 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1146 : Changeset [1146]: set Pounds Sterling as the currency for the default locale, too 11:53 < v-dogg> enviroment/context sensitive error_handler setting would really make my day now... 11:54 < Wombert> env... maybe 11:55 < Wombert> context probably not, it's started too late I think 11:55 < Wombert> raidman: are you there? 12:02 < raidman> Wombert, yep :) 12:02 < Wombert> cool 12:02 < Wombert> could you update from (the new) svn please 12:02 < Wombert> I have some questions regarding the right-to-left stuff 12:03 < raidman> sure 12:03 < raidman> done 12:04 < Wombert> okay 12:04 < Wombert> this list of other languages 12:04 < Wombert> is it in the right order? 12:05 < raidman> you know there is a some problems in there 12:05 < Wombert> shouldn't be Deutsch to the very right, then English to the left of it, then Soumi next etc? 12:05 < Wombert> and aren't the commas in the wrong order? 12:05 < raidman> letme check 12:05 < Wombert> what should it look like in farsi 12:06 < raidman> If you want to correct it ... 12:06 < Wombert> yeah sure I want to have it properly 12:06 < raidman> 1) Menu should be at right 12:06 < Wombert> yep already working on that 12:07 < raidman> 2) after language bar we have a tilte, that is in wrong place 12:07 < Wombert> it must be on the right? okay 12:07 < raidman> it should be at right and bottom of that lang bar 12:07 < Wombert> yeah I want to move the language bar into the header anyway 12:08 < raidman> you know there is simple rule 12:08 < raidman> in RTL every left alignment in english should be right 12:08 < raidman> and every right should be left 12:08 < Wombert> okay 12:08 < raidman> :) 12:08 < Wombert> so the text on the start page 12:09 < Wombert> in english (we'll change that too, soon) 12:09 < Wombert> is correct? 12:09 < Wombert> ".NOTE: It's ok to manually delete all files and sub directories in your Agavi cache directory" 12:09 < Wombert> is that right? with the period on the very left? 12:10 < raidman> letmesee 12:11 < raidman> Wombert, text in header? 12:12 < raidman> one mor thing what happend to *Alternative language*? I mean plural issue? 12:12 < raidman> more* 12:13 < Wombert> yeah that's a bug 12:13 < raidman> okey 12:13 < Wombert> hvae to look into that 12:13 < Wombert> once that is fixed 12:13 < Wombert> the translation will be to the right of the list, correct? 12:13 < Wombert> good, we'll talk about it then 12:13 < Wombert> let me fix the other stuff 12:13 < raidman> yes exactly 12:14 < raidman> after current lang 12:15 < raidman> Wombert, I'm just away from keyboard, just ask me if you have another question 12:15 < Wombert> kk 12:16 < raidman> :) 12:59 -!- kaos [n=kaos@ppp-62-245-160-70.dynamic.mnet-online.de] has joined #agavi 12:59 -!- kaos- [n=kaos@ppp-62-245-160-70.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 13:02 < Wombert> raidman: is that better? 13:03 < Wombert> I still have to fix that gettext reader problem 13:03 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:03 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1147 : Changeset [1147]: right-to-left fixes for sample app 13:03 < Wombert> it seems to be a php 5.1 bug 13:03 < Wombert> or a 5.2 one (works for dominik, he's on 5.2) 13:05 < raidman> letmesee 13:06 < Wombert> is it correct to put the languages on the left? and try to log in... the logged in box is on the left then, too 13:06 < Wombert> is that correct? 13:06 < raidman> hmm, login box on left 13:07 < raidman> ... 13:07 < raidman> wait 13:07 < raidman> I thing it's better to be in right like menu 13:10 < raidman> see Wombert 13:10 < raidman> |-------------------------------------------------------------------| 13:10 < raidman> | LANG BAR HEADER | 13:10 < raidman> |-------------------------------------------------------------------| 13:10 < raidman> | |--Login--| |--Menu---| | 13:10 < raidman> | | | | | | 13:10 < raidman> | |---------| |---------| | 13:10 < raidman> and ... 13:11 < raidman> |-------------------------------------------------------------------| 13:11 < raidman> | LANG BAR HEADER | 13:11 < raidman> |-------------------------------------------------------------------| 13:11 < raidman> | Welcome msg |--Menu---| | 13:11 < raidman> | dfgdfgdfgdfgdfgdfgdfgdfgdfgdfgdfgdfgdfg | | | 13:11 < raidman> | gdfgdfgdfgdfgdfgdfgdfgdfgdfgd |---------| | 13:16 < Wombert> do you think it's better do to that in general 13:16 < Wombert> meaing that we should also move the login box from right to left for LTR scripts 13:16 < Wombert> ? 13:17 < raidman> no it LTR it should be like this.... 13:17 < raidman> |-------------------------------------------------------------------| 13:17 < raidman> | LANG BAR HEADER | 13:17 < raidman> |-------------------------------------------------------------------| 13:17 < raidman> | |--Login--| |--Menu-- | | 13:17 < raidman> | | | | | | 13:17 < raidman> | |---------| |---------| | 13:17 < raidman> just swutch menu and login 13:17 < raidman> switch 13:19 < raidman> I think it should be like this, what you think? 13:20 < Wombert> so you think that for LTR languages, the login box shouldn't be on the right side either 13:20 < Wombert> correct? 13:20 < v-dogg> hmm... php segfaults.. 13:20 < Wombert> and in both RTL and LTR, it should be next to the menu 13:20 < Wombert> or above it 13:20 < Wombert> or so 13:20 < Wombert> v-dogg: when/where 13:20 < v-dogg> not sure 13:20 < Wombert> form population? 13:20 < v-dogg> probably not 13:21 < v-dogg> might be redirect or something 13:22 < raidman> Wombert, yes exactly, it could be above of menu too, as you saied 13:22 < raidman> said 13:22 < raidman> i think it's better, IMHO 13:24 < Wombert> hm 13:25 < Wombert> I always expect a menu on the left 13:25 < Wombert> and login stuff on the right 13:28 < raidman> you know menu because of its stuff (I mean links) should be at right 13:29 < raidman> but login box could be every where 13:29 < raidman> you know I'm talking about RTL not LTR 13:29 < Wombert> yeah yeah 13:29 < raidman> :) 13:30 < raidman> Wombert, http://www.giveme5.ir/ 13:43 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 13:45 < Wombert> raidman: found the plural problem 13:45 < v-dogg> any ideas how to track down the line causing php to seg fault? 13:48 < Wombert> maybe xdebug helps 13:48 < Wombert> doubt it tho 13:49 < Wombert> can you reproduce the problem? 13:49 < v-dogg> occasionally, not every time 13:49 < Wombert> then stop execution at some point and move it further until the segfault occurs 13:49 < Wombert> uuuh 13:52 < raidman> ah perfect :) 13:53 < Wombert> not really 13:53 < Wombert> array_merge doesn't handle keys with null bytes correctly 13:56 < Wombert> fixed it :) 13:57 < Wombert> okay... raidman can you update again and call the page 13:57 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:57 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1148 : Changeset [1148]: fixed gettext plural translations 14:02 < raidman> Wombert, okey 14:02 < Wombert> raidman: the list of alternative languages 14:02 < Wombert> in what order do you read them? 14:03 < Wombert> do you read "Deutsch" first? or the chinese one first? 14:03 < Wombert> because text direction changes there all of a sudden 14:03 < raidman> letmesee 14:04 < raidman> Wombert, did you commit it? 14:04 < Wombert> yeah it's in 14:04 < Wombert> does it work for you? 14:04 < Wombert> maybe you have production env on 14:04 < raidman> my revision is still 1136 14:04 < Wombert> you probably have; development is veeery slow 14:04 < Wombert> ah 14:04 < Wombert> new svn! 14:04 < Wombert> see title 14:04 < raidman> oh 14:04 < Wombert> and www.agavi.bitxtender.net 14:04 < Wombert> go to the repos 14:04 < Wombert> and type 14:05 < Wombert> svn switch --relocate svn://svn.agavi.org/agavi/ http://svn.agavi.bitxtender.net/ 14:05 < Wombert> that _should_ work 14:05 < raidman> svn switch right? 14:05 < Wombert> yes but with relocate 14:05 < raidman> yeah okey 14:05 < Wombert> not sure if you have to add /trunk to both at the end 14:06 < raidman> okey done 14:06 < Wombert> svn up 14:06 < Wombert> :) 14:06 < raidman> perfect 14:06 < raidman> every thing is in right place 14:07 < Wombert> okay 14:07 < raidman> cool 14:07 < Wombert> could you read (out loud) 14:07 < Wombert> the alternative languages 14:07 < raidman> :>>>>>>>>>>>>>>> 14:07 < Wombert> including the label 14:07 < Wombert> how do you read it 14:07 < Wombert> as a human, I mean 14:07 < Wombert> زبانهای دیگر 14:07 < Wombert> comes first 14:07 < raidman> yes 14:07 < Wombert> and then? do you first look at the first chinese symbol, then at the second, then at nederlands? 14:07 < raidman> it's correct 14:08 < Wombert> or do you read detusch, then english, then suomi 14:08 < Wombert> after you read the label 14:08 < raidman> yes 14:08 < Wombert> which 14:08 < raidman> no china first 14:08 < Wombert> uuuh 14:08 < Wombert> :S 14:08 < Wombert> hmm 14:08 < raidman> then second china 14:08 < raidman> then Nederlands 14:08 < Wombert> hmm hmm hmm 14:08 < raidman> etc.. 14:09 < raidman> Wombert, body should not be translated? 14:09 < raidman> body text I mean 14:09 < Wombert> yes, it will be, but I want to add template translation support for that 14:09 < Wombert> so you can have per-language templates, too 14:10 < Wombert> raidman: hmm the thing is... that list of alternative languages is _supposed_ to be in the order german -> english -> finnish etc 14:10 < Wombert> it's ordered by the locale id (de_DE, en_US etc) 14:10 < Wombert> hmmmmmm 14:18 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 14:21 < Wombert> guys 14:21 < Wombert> I'm considering the removal of output type fallbacks 14:21 < Wombert> I believe some here use that already 14:21 < Wombert> not sure... digitarald or eremit... 14:22 < eremit> uh 14:22 < eremit> i use it already ... why do you considering it ? 14:22 < Wombert> because it's rather complicated and creates tons of chicken and egg situations 14:22 < Wombert> plus 14:23 < Wombert> I want to add per-language template support now and 14:23 < Wombert> _that_ is gonna be... ultra complicated then 14:23 < Wombert> you could still "emulate" the behavior, though 14:23 < Wombert> by doing a check if the template exists in initialize() 14:23 < Wombert> I can help you write the necessary base view 14:23 < Wombert> may I also ask the use case? 14:24 < Wombert> I'd be curious to hear that :) 14:24 < eremit> for me it's only fallback for half-implemented things ... 14:25 < eremit> like no ajax views while using the ajax frontend ... falling back to classic html ... 14:25 < Wombert> yeah but that foobars the output anyway doesn't it? 14:25 < eremit> no ... the js on the client side handles it 14:26 < eremit> and changes to classic back 14:26 < eremit> something really ugly you don't wanna know how i've done it ;) 14:26 < eremit> $('html').innerHMTL = response.body --- *covers* 14:27 < Wombert> ah 14:27 < Wombert> xDDDDD 14:27 < Wombert> haha 14:27 < Wombert> <: 14:27 < eremit> but feel free to remove it ;) 14:27 < Wombert> yeah but that won't trigger onload etc so you'll end up with a broken site 14:27 < Wombert> good 14:27 < Wombert> any other objections? 14:28 < Wombert> I'm not 100% sure yet, mind you, folks 14:28 < eremit> our whole ajax thinggies are gonna get removed anyway ... 14:28 < Wombert> but it sure would make my life easier esp wrt caching 14:40 < raidman> Wombert, I dont use .htaccess then link of invalid URL is broken 14:40 < Wombert> yeah 14:40 < Wombert> it's invalid ;) 14:40 < raidman> no 14:40 < raidman> it should be ask me 404 etc 14:41 < raidman> but not 14:41 < Wombert> no 14:41 < Wombert> it's correct the way it is 14:41 < raidman> oh okey :) 14:41 < Wombert> it can't find a route with that name, so it uses the route name as the url 14:42 < raidman> currency is incorect! 14:42 < Wombert> pounds? 14:42 < raidman> incorrect* 14:42 < Wombert> that's intentional, too :) 14:42 < Wombert> look at routing.xml 14:42 < Wombert> how it's done 14:42 < raidman> £ 14:42 < Wombert> the default currency is overridden 14:42 < Wombert> yses 14:42 < Wombert> yes 14:43 < Wombert> that's the symbol for British Pounds Sterling :) 14:43 < raidman> okey 14:43 < raidman> I just ask this because it was rial :) 14:45 < raidman> everything is in right place, good work Wombert ;) 14:45 -!- kaos- [n=kaos@ppp-82-135-69-124.dynamic.mnet-online.de] has joined #agavi 14:45 < Wombert> good to hear that :) 14:46 < raidman> do you remember you asked me about component, you ask a guy working on it, who was that guy and the tech name of that method which he works on it? 14:47 < Wombert> uh 14:47 < Wombert> do you mean this dependency injection stuff? 14:47 < Wombert> it was some guy from switzerland 14:47 < Wombert> can't remember his name 14:48 < raidman> yeah it is 14:48 < raidman> thanks 14:49 < Wombert> ah 14:49 < Wombert> zimba was his name 14:49 < Wombert> but he doesn't do any php anymore it seems 14:49 < Wombert> http://zimba.oree.ch/ 14:49 < raidman> oh thanks 14:49 < raidman> I wonder how you understand what I'm saying with my horrible english :P 14:52 < Wombert> haha :) 14:52 < Wombert> actually, it's not difficult at all 14:52 < Wombert> your english is good man 14:57 < raidman> :) 14:57 -!- kaos [n=kaos@ppp-62-245-160-70.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)] 15:05 -!- kaos [n=kaos@ppp-82-135-69-124.dynamic.mnet-online.de] has joined #agavi 15:05 -!- kaos- [n=kaos@ppp-82-135-69-124.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 15:06 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has joined #agavi 15:06 < Wombert> digitarald: are you using output type fallbacks? 15:08 < digitarald> only for my ajax actions ;) 15:08 < Wombert> and how 15:11 < digitarald> json as output type has a special renderer for json-data, fallback outputs the same data as xhtml including decorators 15:11 < Wombert> are you actually using the fallbacks 15:11 < digitarald> for non-ajax browsers ... and google 15:11 < Wombert> or is that just for development 15:11 < digitarald> development, i think ... 15:12 < digitarald> why, do u want to discard them? 15:13 < Wombert> yes 15:13 < digitarald> and what is the execute* when executeJson is missing but output type is json? 15:14 < Wombert> no, that will be run anyway 15:14 < Wombert> fallbacks are only for templates 15:14 < Wombert> didn't you know that? oO 15:14 < Wombert> we have too many chicken and egg situations already where we have to resort to hacks such as onFallback 15:14 < Wombert> and it's very complicated to handle that stuff in the caching 15:14 < Wombert> AND 15:14 < Wombert> I want to add per language template support now but that's gonna be a nightmare to implement 15:15 < Wombert> and make things even slower 15:16 < digitarald> ok ... thought u mean fallbacks in views ... 15:17 < digitarald> outtypestypes and fallbacks ... i use them, yes 15:18 < digitarald> in development && in live stage 15:24 < Wombert> in what way 15:43 < v-dogg> uuh... I still haven't figured out what causes these seg faults 15:47 < Wombert> do they occur with an older revision 15:48 < v-dogg> I haven't seen them before today 15:48 < Wombert> did you update today? :) 15:49 < Wombert> are you using translation? 15:49 < Wombert> does it occur without FPF? 15:52 < v-dogg> I'm using agavi #1108 15:52 < v-dogg> and disabling fpf might make a difference... hmm... 15:54 < Wombert> what PHP version, libxml version, PCRE version 15:54 < Wombert> are you using an external PCRE 15:57 < raidman> I'll catch yo later guys 15:57 < raidman> bye 15:57 < Wombert> bye 15:57 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 15:57 < v-dogg> php 5.1.6, libxml 2.6.16 15:57 < v-dogg> pcre 6.6 06-Feb-2006 15:58 < Wombert> identical to my config 15:58 < Wombert> :S 16:06 < v-dogg> it seems to be fpf 16:07 < Wombert> f 16:07 < Wombert> u 16:07 < Wombert> c 16:07 < Wombert> k 16:07 < v-dogg> I can't say for sure because it happens so randomly, but it happened zero time when fpf was disabled 16:09 < Wombert> is it a large form? 16:09 < Wombert> can you try to create a reproduce case 16:09 < Wombert> the html passed to the FPF should be enough 16:09 < Wombert> you usually don't need to provide a populate attribute 16:09 < Wombert> gosh this suck man 16:10 < v-dogg> no, it's not a big form 16:10 < Wombert> dominik and I spent days trying to figure out why FPF was segfaulting in 5.0.x and in the end we gave up and moved to 5.1 as the minimum version 16:10 < Wombert> :( 16:10 < Wombert> yeah it was a small form back then, too 16:10 < v-dogg> and it happened at least with three different forms 16:10 < Wombert> awwww gdamnit 16:10 < Wombert> that is _so_ uncool 16:11 < v-dogg> :( 16:11 < Wombert> seriously 16:11 < Wombert> that ruined my day :( 16:11 < Wombert> I so hoped we'd never run into a problem like that again 16:11 < Wombert> it's almost impossible to fix 16:13 < Wombert> can you please upgrade to HEAD first? 16:14 < Wombert> we only did i18n stuff since 1108 16:14 < Wombert> and one or two routing fixes 16:14 < Wombert> http://svn.agavi.bitxtender.net/ , mind you 16:14 < Wombert> with /trunk 16:17 < Wombert> digitarald, eremit: you guys use FPF a lot, right? 16:17 < Wombert> did you run into any issues 16:17 < digitarald> right 16:17 < Wombert> what webserver, PHP, pecl, libxml versions 16:17 < digitarald> no unsolved issues 16:18 < digitarald> php 5.1.4 ... the rest i can't say from here, i'm can not access the dev-server right now 16:19 < Wombert> k 16:21 < eremit> right ... 16:25 -!- kaos- [n=kaos@ppp-82-135-9-245.dynamic.mnet-online.de] has joined #agavi 16:27 < v-dogg> Wombert: did you get it to seg fault with all combinations (xhtml, <?xml..., html)? 16:27 < Wombert> v-dogg: I think so yes 16:27 < Wombert> it was alittle weird 16:28 < Wombert> often when I changed something 16:28 < Wombert> it would work for very long 16:28 < Wombert> and just when you thought yeaaaaah that was it 16:28 < Wombert> BAM 16:28 < Wombert> segfault again 16:28 < v-dogg> just like this 16:28 < v-dogg> there's no rule 16:30 < v-dogg> now it works again.. 16:31 -!- Wombert [n=Wombert@dslb-088-064-006-127.pools.arcor-ip.net] has quit [Nick collision from services.] 16:31 -!- Wombert [n=Wombert@dslb-088-064-014-049.pools.arcor-ip.net] has joined #agavi 16:32 < v-dogg> 16:30 < v-dogg> now it works again.. 16:32 < Wombert> yeah I read that 16:32 < Wombert> but I'm sure it'll come back 16:32 < Wombert> or did you change anything 16:32 < Wombert> it's most likely some memory corruption caused by a third party lib 16:32 < v-dogg> yep 16:32 < Wombert> nothing we can do, and nothing PHP can do about it 16:33 < v-dogg> sucks 16:33 < v-dogg> big time 16:33 < Wombert> I'm 99% sure the problem back then was libxml2 or pcre 16:33 < Wombert> because they had some bugs in their database etc that came... let's say close 16:33 < v-dogg> there, it happened again 16:33 < Wombert> uuuh 16:33 < Wombert> feck 16:33 < Wombert> you can try to use a newer php version 16:33 < Wombert> or compile 5.1.6 but use the latest libxml2 16:33 < v-dogg> fuck.. 16:34 < v-dogg> really don't have time for this... 16:34 < v-dogg> but gotta get home now 16:34 < Wombert> ttyl 16:34 < v-dogg> thanks for your help 16:34 < Wombert> sure man 16:34 < v-dogg> later 16:38 < eremit> PHP 5.1.2-1ubuntu3 (security patches as of 5.1.6), libxml 2.6.24, pecl 1.4.6? you meant pcre 6.4.1 16:38 < Wombert> yes pcre 16:39 < Wombert> sorry 16:39 < Wombert> might well be libxml 16:39 < Wombert> they fixed some memleaks etc since 16:44 -!- AgaviBot [n=dzuelke@dslb-088-064-006-127.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 16:45 -!- AgaviBot [n=dzuelke@dslb-088-064-014-049.pools.arcor-ip.net] has joined #agavi 16:47 -!- kaos [n=kaos@ppp-82-135-69-124.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)] 16:51 -!- kaos- [n=kaos@ppp-82-135-9-245.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)] 16:55 < Wombert> splatch`: you there? 17:47 < splatch`> Wombert: yes 18:04 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 18:05 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 18:06 < splatch`> Wombert: http://www.kazek.pl/fotka.png < that's kazek :) 18:08 < Wombert> :) 18:08 < Wombert> you wanna translate the sample app to polish? 18:08 < splatch`> Wombert: yes! 18:08 < Wombert> you have many plural forms I heard 18:09 < Wombert> that will be a good test for the plural gettext functionality 18:09 < splatch`> ok :) 18:09 < splatch`> Wombert: I must, you must, in polish "ja musz", "ty musisz" 18:10 < Wombert> ah 18:10 < Wombert> no 18:10 < Wombert> that's something else ;) 18:10 < Wombert> I mean.. .one car, two cars, three cars 18:10 < splatch`> ach 18:10 < splatch`> jeden dwa trzy cztery piec 18:10 < splatch`> pierwszy drugi trzeci 18:10 < splatch`> first, second etc 18:11 < Wombert> "Plural-Forms: nplurals=3; plural=n==1 ? 0 : %10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" 18:11 < splatch`> omg ;) 18:11 < Wombert> that's the rule for polish afaik 18:11 < Wombert> gettext .po plural form header ;) 18:11 < splatch`> i don't know ;) 18:11 < Wombert> 1 plik 18:11 < Wombert> 2 pliki 18:11 < Wombert> 5 plikow 18:11 < Wombert> right? 18:12 < splatch`> yes 18:12 < Wombert> see :) english only has "car" for 1, and "cars" for anything else ;) 18:12 < splatch`> ach 18:12 < splatch`> :] 18:12 < Wombert> 0 cars, 2 cars, 4 cars, 5 cars 18:12 < Wombert> we added support for that some days ago 18:12 < Wombert> but now we have to test it 18:13 < Wombert> I'll check in a basic .po file for you 18:13 < Wombert> so you only have to enter the strings 18:13 < Wombert> www.poedit.org 18:13 < Wombert> or KBabel 18:13 < Wombert> is what you need 18:15 < splatch`> ok.. what i can translate? :) 18:16 < Wombert> I'm checking in an empty file for you 18:17 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 18:17 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1149 : Changeset [1149]: polish .po template 18:17 < Wombert> if you use poedit, you have three variants for "Alternative languages:" 18:18 < Wombert> the first (0) is for value "1" 18:19 < Wombert> err 18:19 < Wombert> wait 18:19 < Wombert> aaaah 18:19 < Wombert> okay I have to fix it :) 18:19 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 18:19 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1150 : Changeset [1150]: fixed polish .po template 18:19 < Wombert> yes now it works and poEdit also shows example numbers for each variant 18:22 < splatch`> ok 18:23 < Wombert> dont forget svn switch --relocate svn://svn.agavi.org/agavi/ http://svn.agavi.bitxtender.net/ 18:23 < Wombert> before you do svn up 18:30 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 18:31 < digitarald> a friend asked me when agavi.org is back online? 18:31 < splatch`> Wombert: i've messages_pl.po 18:32 < splatch`> Wombert: and what i must do with poedit? ;) 18:33 < splatch`> just write polish sentences? 18:37 < Wombert> open it with poedit 18:37 < Wombert> and translate the messages, yeah 18:37 < Wombert> pay attention to : and . etc 18:37 < Wombert> and for "Alternative languages:" you have to enter three plural forms :) 18:38 < splatch`> 404 Not Found also? ;) 18:39 < raidman> excelent we will be have pl too :) 18:40 < splatch`> 404 nie znaleziono ;) 18:41 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 18:41 < raidman> Wombert, for farsi I just remove 404 code, it's important to be in there? 18:41 < splatch`> #1 place > first place? 18:41 < raidman> removed* 18:41 < splatch`> #1 place > one place? 18:43 < digitarald> first 18:43 < Wombert> splatch`: first place 18:43 < Wombert> best place 18:43 < Wombert> raidman: 404? 18:43 < Wombert> uuuh 18:43 < Wombert> huuuh? 18:43 < Wombert> :> 18:43 < raidman> I just translate it w/o 404 18:44 < splatch`> Wombert: the most cheaper place? 18:44 < Wombert> splatch`: the best place to buy cheap <blah> 18:44 < splatch`> what for #1? :) 18:46 < Wombert> #1 place = best place 18:46 < Wombert> many search engine spammers use that 18:46 < Wombert> it''s for the SearchEngineSpamAction 18:46 < Wombert> which demoes optional URL parts etc 18:47 < Wombert> raidman: I don't understnad what you mean... 18:47 < Wombert> #: ../app/modules/Default/views/Error404SuccessView.class.php:33 18:47 < Wombert> msgid "404 Not Found" 18:47 < Wombert> msgstr "یافت نشد" 18:47 < Wombert> it's there !? 18:48 < raidman> I just escape 404 code in translation 18:48 < raidman> 404 18:49 < raidman> there is no 404 in there, makes sense? 18:50 < Wombert> aaah 18:50 < raidman> nevermind, I think that's not important :) 18:50 < Wombert> you mean you omitted the number "404" in there? 18:50 < Wombert> should it be in? you know the language, not me ;) 18:50 < raidman> yeah 18:50 < raidman> lol 18:50 < Wombert> tell me where to put it 18:50 < Wombert> on the very left? 18:50 < Wombert> on the right? 18:51 < Wombert> or in the middle 18:51 < raidman> right is better 18:51 < raidman> yes right is correct 18:51 < Wombert> haha ^^ 18:51 < Wombert> textmate won't allow me to enter text on the right 18:51 < Wombert> uuuuuh 18:52 < Wombert> 404 یافت نشد 18:52 < Wombert> waaah 18:52 < Wombert> that's wrong isn't it 18:52 < splatch`> Wombert: i send mail to you 18:52 < Wombert> 404یافت نشد 18:52 < Wombert> 404 یافت نشد 18:52 < splatch`> Wombert: with translated .po 18:52 < Wombert> m00h 18:52 < Wombert> splatch`: thanks! 18:52 < splatch`> Wombert: you got my mail? 18:53 < Wombert> splatch`: yep! 18:53 < Wombert> oh 18:53 < splatch`> ..? 18:53 < Wombert> jezyki in both cases ;) 18:53 < raidman> lol 18:53 < raidman> Wombert, see . is on right 18:53 < splatch`> jeden jzyk, dwa jzyki, trzy jzyki 18:53 < splatch`> 10 jzykow 18:54 < Wombert> 404یافت نشد 18:54 < raidman> but in rtl msg is in left 18:54 * Wombert scratches his head 18:54 < raidman> Wombert, I'll do that, wait 18:54 < splatch`> Wombert: you use cp1250 ;) 18:54 < Wombert> nah I use utf8 :( 18:55 < Wombert> splatch`: but... hmm 18:55 < Wombert> msgstr[0] "Inny język:" 18:55 < Wombert> msgstr[1] "Inne języki:" 18:55 < Wombert> msgstr[2] "Inne języki:" 18:55 < Wombert> that's wrong then!? 18:55 < splatch`> Wombert: in orginal format was "Another languages:" 18:55 < Wombert> or is my plural string wrong 18:55 < Wombert> what is it for 5 ? 18:55 < splatch`> in single form "inny jzyk", in plural always "inne jzyki" 18:56 < Wombert> but 10 jezykoow ? 18:56 < splatch`> Wombert: in this context we've only two forms 18:56 < splatch`> single and prular 18:57 < Wombert> ah 18:57 < Wombert> and what is jezykoow ? 18:58 < splatch`> Wombert: if you count you must use ordinal and substantive in good form 18:58 < splatch`> ordinal + noun 18:59 < Wombert> one jezyki 18:59 < splatch`> Wombert: you sentence is: 18:59 < Wombert> two jezyki 18:59 < Wombert> three jezyki 18:59 < splatch`> Another language, Another languages 18:59 < Wombert> five jezyki 18:59 < Wombert> ten jezyki 18:59 < Kubicek> Wombert: looks like plural genitiv form from hedgehog 18:59 < splatch`> without ordinal 18:59 < Wombert> yes 18:59 < Wombert> aaaaaaaaaaaaaaaaaaaah 18:59 < Wombert> so 19:00 < Wombert> aaaaaaah 19:00 < Wombert> aaaah 19:00 < Wombert> aaah! 19:00 < Wombert> :> 19:00 < Kubicek> one jezek, two jezci, three jezci, five jezku, ten jezku in czech :) 19:00 < Wombert> so if I also wanted to print the NUMBER of languages there 19:00 < Wombert> I'd have to use alternative forms 19:00 < Wombert> is that right? 19:00 < Wombert> Kubicek: wanna translate it to czech? :) 19:00 < Kubicek> oh shit :) i have mixed jezek and jazyk :) 19:00 < splatch`> jzyk :D 19:01 < Kubicek> splatch sure means language and not hedgehog :) 19:01 < Kubicek> splatch`: we have language = jazyk, hedgehog = jezek :) 19:01 < splatch`> Kubicek: jazyk'is russian form also :) 19:02 < splatch`> in polish jzyk = language and tongue :) 19:02 < Kubicek> one jazyk, two jazyky, three jazyky, five jazyku, ten jazyku in czech :) 19:02 < Kubicek> splatch`: tongue here too :) 19:02 < splatch`> Wombert: yes, with numbers we've other forms 19:02 < Wombert> aaah okay 19:02 < Wombert> now I get it 19:02 < Wombert> I'm stupid 19:02 < Wombert> I should have listened 19:02 < Wombert> sorry :) 19:03 < splatch`> n/p =] 19:03 < splatch`> you'll repair config_handlers.xml! ;] 19:03 < Wombert> is it broken? 19:03 < Wombert> :( 19:04 < raidman> Wombert, sorry, what was your email? 19:04 < splatch`> yes, when i added own handler 19:04 < Wombert> splatch`: "Polski" was the native name of your language, right? 19:04 < splatch`> i got exception 19:04 < Wombert> raidman: try to paste it here I can copy and paste it then 19:04 < splatch`> Wombert: yes 19:04 < Wombert> if possible 19:04 < Wombert> if not, dz@bitxtender.com 19:04 < Wombert> thanks :) 19:04 < raidman> email is better, np :) 19:05 < splatch`> Wombert: i'll agavi polish consult! 19:05 < splatch`> *polish agavi consult 19:06 < Wombert> :) 19:08 < raidman> Wombert, okey, done :) 19:08 < splatch`> Wombert: I thought about this 19:08 < splatch`> Wombert: Agavi support in polish :) 19:09 < splatch`> in Poland 19:09 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 19:09 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1151 : Changeset [1151]: Polish translation, thanks Lukasz 19:09 < splatch`> thangs AgaviBot ;) 19:10 < Kubicek> :) 19:10 < epaulin> :-D 19:13 < digitarald> can i become spanish agavi consult? ;) 19:13 < digitarald> *gettingouthissombreroandguitar* 19:14 < raidman> lol 19:18 < epaulin> me epaulin want to join the consult club 19:19 < epaulin> is this billionary's club? 19:19 < epaulin> http://www.youtube.com/watch?v=QCVxQ_3Ejkg 19:19 < epaulin> :- ) 19:22 < raidman> http://www.plinko.net/404/ 19:27 < Wombert> I find this youtube video rather disgusting 19:27 < Wombert> can you see how they have to grin all the time 19:27 < Wombert> and how they don't mean what they're saying? 19:27 < Wombert> how you can clearly see "haha thanks you morons for making us so rich we can't spend that money, ever?" :p 19:29 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 19:30 < splatch`> morons :D 19:30 < Wombert> btw epaulin what's your name? 19:30 < epaulin> HaiMing Yin :-) 19:30 < Wombert> okay :) 19:31 < epaulin> ok, David 19:31 < Wombert> ok, haiming :) 19:31 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 19:32 < Wombert> oO wtf 19:32 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 19:32 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1152 : Changeset [1152]: '404' code for farsi 19:32 < raidman> :) 19:32 < raidman> 404040404040 19:32 < raidman> :) 19:32 < Wombert> hah 19:32 < Wombert> bug, it seems 19:33 < Wombert> onNotMatched is never calle 19:33 < Wombert> d 19:33 < Wombert> hmm 19:33 < Wombert> WAAAH 19:33 < Wombert> WTF 19:33 < Wombert> :SSSS 19:33 < Wombert> err 19:33 < Wombert> xDDD 19:36 < splatch`> Wombert: hmm 19:36 < splatch`> i've the water_mark_name field in form 19:37 < splatch`> but i don't got that in parameters 19:37 < Wombert> validation mode? 19:37 < Wombert> "strict" or "tainted"? 19:37 < splatch`> i don't use validation 19:37 < Wombert> you never know ;) 19:37 < Wombert> look at factories.xml 19:37 < splatch`> tainted 19:37 < Wombert> for validator manager 19:37 < Wombert> hmm 19:38 < Wombert> and is there an ActionName.xml parameter? 19:38 < Wombert> err 19:38 < Wombert> -parameter+file 19:38 < Wombert> in modules/Modulename/validate/ 19:38 < Wombert> ? 19:38 < splatch`> no 19:38 < Wombert> does it have any validate() method or so? 19:38 < Wombert> hmm 19:38 < splatch`> don't use validation yet 19:38 < Wombert> okay 19:38 < Wombert> does the data arrive? 19:38 < Wombert> check $_POST in index.php 19:39 < splatch`> yeno :| 19:39 < splatch`> no :| 19:40 < Wombert> then it's a problem in your form ;) 19:40 < splatch`> thats sick ;) 19:40 < splatch`> why ff don't send input!? 19:41 < Wombert> I have no idea 19:42 < splatch`> hidden was sent 19:42 < splatch`> but text no 19:42 < splatch`> <input type="text" name="water_mark_name" id="water_mark_name" 19:42 < splatch`> value="{$template.mark->getWaterMarkName()}" 19:42 < splatch`> /> 19:43 < splatch`> does this code's good? 19:43 < Wombert> no 19:43 < Wombert> id and name share the same namespace 19:43 < Wombert> you're not allowed to give them the same identifier in both fields 19:43 < Wombert> I usually use fe-<name> as the id 19:43 < Wombert> why do you insert a value? :( 19:44 < splatch`> i don;t know "fe-<name>" 19:44 < Wombert> ? 19:45 < Wombert> <input type="text" name="foobar" id="fe-foobar" /> 19:45 < Wombert> you're not allowed to put "foobar" in both name and id 19:45 < splatch`> ok, but that still not workin' :) 19:45 < digitarald> xml validator does not throw exceptions because of that id/name namespace conflict ... which validator does validate that strange conflict?? 19:45 < Wombert> it's an html dtd constraint 19:46 < Wombert> (how could it be xml anyway) 19:46 < Wombert> splatch`: did you re-load the form and enter the data again? 19:46 < Wombert> pressing f5 won't help ;) 19:46 < splatch`> http://phpfi.com/164371 19:46 < Wombert> any still. why do you do value="{$template.mark->getWaterMarkName()}" ? 19:47 < splatch`> thats my form 19:47 < splatch`> Wombert: that's form with smarty and propel 19:47 < Wombert> errrr 19:47 * Wombert sighs 19:47 < Wombert> okay 19:47 < splatch`> $template.mark is an objects 19:47 < Wombert> let me fix that for you :) 19:47 < splatch`> :) 19:48 * splatch` listen 19:48 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 19:50 < splatch`> Wombert: You know what's wrong in my template? 19:50 < Wombert> yes 19:50 < Wombert> I'm fixing it 19:51 < splatch`> Wombert: il/li? 19:52 < Wombert> just one second please 19:54 < epaulin> time to sleep, bye you guys 19:54 < Wombert> bye epaulin 19:54 < splatch`> bye 19:54 < epaulin> part 19:54 -!- epaulin [n=epaulin@218.22.2.93] has left #agavi ["Leaving"] 19:54 < Wombert> a) go to output_types.xml and add a parameter "extract_vars" with value true for the renderer (not the output type itself!), and set slots to no-extract and give that variable a name, see sample app 19:54 < Wombert> b) don't use value="...", use the form population filter instead, it's easier and also automatically escapes your input so you don't get any security problems! $req->setAttribute('populate', new AgaviParameterHolder(array('fieldname' => $value1, 'fieldname2' => $value2)), 'org.agavi.filter.FormPopulationFilter'); that's also in the sample app 19:54 < Wombert> http://phpfi.com/164372 19:55 < Wombert> and most importantly!!!!! 19:55 < Wombert> use the gen() method of the routing! 19:55 < splatch`> Wombert: form populartion filter broken my ajax support :( 19:55 < Wombert> really? 19:55 < Wombert> oO 19:55 < splatch`> yes 19:55 < Wombert> well 19:55 < Wombert> why don't you tell me that then 19:55 < splatch`> they're add headers 19:55 < Wombert> so I can fix it 19:55 < splatch`> and DTD 19:55 < Wombert> you have a dedicated output type for ajax, right? 19:56 < Wombert> you need that 19:56 < Wombert> anyway 19:56 < splatch`> i've 19:56 < Wombert> and then you can set the form population filter to only run for html! 19:56 < splatch`> really? :) 19:56 < Wombert> of course :) 19:56 < Wombert> so... 19:56 < splatch`> how i can do that? 19:56 < Wombert> in the first line 19:56 < Wombert> use gen(), okay? 19:56 < Wombert> edit_watermark is the name of the route 19:57 < Wombert> it will generate the url then 19:57 < Wombert> and if you change the route 19:57 < splatch`> i know, but i use generic routes 19:57 < Wombert> all urls in the templates change 19:57 < splatch`> but, i can change this :] 19:57 < Wombert> yeah it's just a suggestion 19:57 < Wombert> I removed $template. 19:58 < Wombert> ah wait actually that's not in the sample app 19:58 < Wombert> you're using smarty? 19:58 < splatch`> yes 19:58 < splatch`> that's habit :] 19:58 < Wombert> no problem just a question 19:58 < Wombert> mom 19:59 < Wombert> http://phpfi.com/164376 19:59 < Wombert> something like that 19:59 < Wombert> this way, $template will always be extracted 19:59 < Wombert> so it's $mark, not $template.mark 19:59 < Wombert> saves you a lot of typing :) 20:00 < Wombert> did you see the problem why the form wasn't working? your <input type="file" /> used "water_mark_name" as the name! 20:00 < Wombert> so it overwrote that 20:00 < Wombert> by the way the form needs enctype="multipart/form-data" for files 20:01 < splatch`> omg, i so stupid 20:01 < splatch`> *i'm 20:01 < Wombert> ;) 20:01 < Wombert> it's the usual mistake every developer makes 20:01 < Wombert> so 20:01 < Wombert> switch the FPF on again 20:01 < Wombert> and then 20:01 < Wombert> use 20:02 < Wombert> <parameters> 20:02 < Wombert> <parameter name="output_types">html</parameter> 20:02 < Wombert> </parameters> 20:02 < Wombert> for it 20:02 < Wombert> so it only runs for the html output type 20:02 < Wombert> not for the ajax one 20:04 < splatch`> cool! 20:09 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 20:12 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit [Read error: 104 (Connection reset by peer)] 20:13 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 20:25 < Wombert> splatch`: does it work? 20:26 < splatch`> Wombert: give me a moment 20:26 < splatch`> my notebook is so slow .. 20:28 < Wombert> np 20:37 < splatch`> Wombert: http://phpfi.com/164385 that's my population parameters 20:38 < Wombert> you can't populate an object!? 20:38 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 20:38 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1154 : Changeset [1154]: run onNotMatched() if onMatched() decided we didn't match xD 20:38 < AgaviBot> 2) http://trac.agavi.bitxtender.net/changeset/1153 : Changeset [1153]: whitespace fixes 20:39 < splatch`> Wombert: i'll don't do that :) 20:40 < splatch`> http://phpfi.com/164387 20:40 < splatch`> that's new population attribute 20:40 < Wombert> what's validation_failures ? 20:40 < Wombert> hm okay 20:40 < Wombert> and this doesn't work? 20:40 < Wombert> or what? 20:40 < splatch`> no :) 20:40 < splatch`> doesn't work 20:41 < splatch`> i set methods for filter 20:41 < splatch`> write, post 20:41 < splatch`> back 20:41 < Wombert> show me the global_filters.xml 20:41 < splatch`> write, read 20:41 < Wombert> and the code in the view that sets the parameters 20:41 < splatch`> http://phpfi.com/164388 20:42 < Wombert> okay 20:42 < splatch`> http://phpfi.com/164389 20:42 < splatch`> view code 20:42 < Wombert> remove "read" again! 20:43 < splatch`> why? 20:43 < splatch`> get > show form 20:43 < splatch`> post > save form 20:43 < Wombert> yes 20:43 < Wombert> but 20:43 < Wombert> you want _automatic_ re-population only on "write" 20:43 < Wombert> not always on read 20:43 < Wombert> that's not a good idea 20:43 < Wombert> people can inject values into forms via foo?bar then 20:43 < Wombert> or so 20:43 < Wombert> and 20:43 < Wombert> $this->getContext()->getRequest()->setAttribute('populate', $helper->extract($mark)); 20:43 < Wombert> is wrong :) 20:44 < Wombert> $this->getContext()->getRequest()->setAttribute('populate', $helper->extract($mark), 'org.agavi.filter.FormPopulationFilter'); 20:44 < Wombert> but 20:44 < Wombert> keep in mind that you cannot set values for <input type="file"> 20:44 < Wombert> and 20:44 < Wombert> $propel = $this->getContext()->getDatabaseManager()->getDatabase('Sheep'); 20:44 < Wombert> $propel->connect(); 20:44 < Wombert> 20:44 < Wombert> that's not needed! 20:44 < splatch`> Wombert: that's automatic 20:45 < Wombert> wbat is automatic 20:45 < splatch`> helper->extract 20:45 < splatch`> looking for getters 20:45 < splatch`> and put value into parameter holder 20:45 < Wombert> yes but the namespace is missing! 20:45 < Wombert> look at it again! 20:45 < Wombert> [19:43] Wombert: $this->getContext()->getRequest()->setAttribute('populate', $helper->extract($mark)); 20:45 < Wombert> [19:43] Wombert: is wrong 20:45 < Wombert> [19:44] Wombert: $this->getContext()->getRequest()->setAttribute('populate', $helper->extract($mark), 'org.agavi.filter.FormPopulationFilter'); 20:45 < splatch`> i saw that :] 20:46 < Wombert> 'org.agavi.filter.FormPopulationFilter' as the third argument 20:46 < Wombert> and you don't have to initialize propel! 20:46 < Wombert> or call connect! 20:47 < splatch`> without this Propel::include doesn't works 20:48 < splatch`> i've classes in autoload 20:48 < splatch`> but propel is not work's without that lines 20:49 < Wombert> then you're doing something wrong :( 20:49 < Wombert> what does your database.xml look like 20:49 < Wombert> is it propel 1.2? 20:49 < Wombert> doesn't work with 1.1 20:49 < splatch`> yes that's propel 1.2 20:49 < splatch`> but i turned off use_autoload :) 20:50 < Wombert> uuuh 20:50 < Wombert> why? 20:50 < splatch`> that was broke something 20:50 < splatch`> but.. 20:50 < splatch`> hm 20:50 < Wombert> try again :) 20:50 < Wombert> it works, we're using that in all our projects 20:50 < Wombert> I'll help you 20:50 < splatch`> now works fine :] 20:51 < Wombert> hah 20:51 < Wombert> see :) 20:51 < splatch`> ok, now i need form population filter in read method ;> 20:52 < splatch`> Wombert: I can use orginal objects 20:52 < splatch`> in read method 20:57 < splatch`> Wombert: does that will good? 20:58 < Wombert> read method? 20:58 < Wombert> errrrrr 20:58 < splatch`> yes, in read i'll use only objects from database 20:58 < splatch`> btw in that way i can't use population for ajax :] 20:59 < splatch`> but.. hm, i can change my ajax support 20:59 < Wombert> uh 20:59 < Wombert> okay 20:59 < Wombert> wait 20:59 < splatch`> because now, i'm using $(el).innerHTML 20:59 < Wombert> you mean 20:59 < Wombert> that setAttribute('populate') should only be done on read, right? 20:59 < Wombert> right now, it's done in both cases 21:00 < splatch`> yes 21:00 < Wombert> right 21:00 < Wombert> wrap everything 21:00 < Wombert> except the template assignments 21:00 < Wombert> into if($req->getMethod() == 'read') 21:00 < Wombert> that way, on the initial load of the edit form the data will be there 21:00 < splatch`> FPF using input parameters? 21:01 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 21:01 < Wombert> fpf will use the input parameters on write 21:01 < splatch`> minds post/get variables 21:01 < Wombert> if the form is submitted via POST and displayed again 21:01 < Wombert> the FPF will insert the data the user has entered 21:04 < splatch`> doesn't works 21:04 < Wombert> show me all the code 21:04 < splatch`> $req->setAttribute( 21:04 < splatch`> 'populate', $in, 21:04 < splatch`> 'org.agavi.filter.FormPopulationFilter' 21:04 < splatch`> ); 21:04 < splatch`> where is in is right parameter holder 21:04 < Wombert> view code please 21:05 < splatch`> http://phpfi.com/164396 21:06 < splatch`> there's getPrimaryKey 21:06 < splatch`> but in text field still i haven't value 21:08 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 21:11 -!- raidman [i=armen@unaffiliated/raidman] has quit [Client Quit] 21:14 < splatch`> does fpf adding also info about errors? 21:18 < splatch`> hm 21:20 < splatch`> Wombert: line 188 in fpf 21:21 < splatch`> after continue fpf going out 21:22 < splatch`> ha 21:22 < splatch`> without continue in line 188 works fine :] 21:22 < Wombert> yes 21:23 < Wombert> becasue the url is wrong 21:23 < Wombert> simple 21:23 < Wombert> watermark_edit 21:23 < Wombert> points to the wrong url 21:23 < Wombert> it's not the same as the url in the current location 21:23 < Wombert> splatch`: you still have errors 21:23 < Wombert> <input type="file" name="water_mark_name" /> 21:23 < Wombert> 21:23 < Wombert> still wrong 21:23 < splatch`> Wombert: dont watch this 21:24 < splatch`> thats stuff for javascript 21:24 < Wombert> yes bust you have duplicate names 21:24 < Wombert> that might cause problems 21:24 < Wombert> you should change it 21:24 < splatch`> Wombert: now i havn't this 21:24 < splatch`> Wombert: i've two routes 21:25 < splatch`> /Watermark, and subroute /Edit 21:26 < Wombert> fpf will add error info, yes 21:26 < Wombert> splatch`: maybe you should try it with the sample app first? 21:27 < splatch`> http://phpfi.com/164405 21:27 < splatch`> my routes 21:27 < Wombert> <route pattern="(.*?)" source="_SERVER[HTTP_ACCEPT]" output_type="xhtml" stop="false" /> 21:27 < Wombert> 21:27 < Wombert> not necessary if xhtml is the default anyway 21:27 < Wombert> <route name="logout" pattern="/logout" module="%actions.login_module%" action="Logout" /> 21:27 < Wombert> 21:27 < Wombert> module etc are inherited from parent 21:28 < Wombert> <route name="watermark" pattern="(?i)/Watermark/" module="Watermark"> 21:28 < Wombert> 21:28 < Wombert> I'm not sure if that is supported 21:29 < Wombert> dominik says that's not possible 21:29 < splatch`> ignore case 21:29 < Wombert> yes but the routing can't handle that afaik 21:29 < Wombert> btw 21:29 < Wombert> URLs are case sensitive per spec by the way 21:30 < splatch`> Wombert: that's works 21:30 < splatch`> (?i) 21:34 < Wombert> splatch`: open the sample app first 21:34 < Wombert> try to login 21:34 < Wombert> do you see how the values you entered are re-inserted (execpt for the password) 21:35 < splatch`> yes 21:35 < splatch`> and red label 21:35 < Wombert> okay 21:35 < Wombert> now open the view for that 21:35 < splatch`> i found bug 21:36 < splatch`> one of the conditions in if 21:36 < splatch`> returns http://sklep/http://sklep/Watermark/Edit/ 21:36 < splatch`> so thats not my request uri 21:36 < splatch`> and FPF doesn works 21:36 < splatch`> preg_replace(array('#/./#', '#/.$#', '#[^\./]+/\.\.(/|\z)#'), array('/', '/', ''), $baseHref . $action) 21:36 < Wombert> okay 21:37 < splatch`> my request uri are /Watermark/Edit/1 21:37 < Wombert> aaah! 21:37 < splatch`> and that's not equal 21:37 < Wombert> see 21:37 < Wombert> that's the problem there :) 21:38 < Wombert> so 21:38 < Wombert> what you need 21:38 < Wombert> is 21:38 < splatch`> .... [waitn'] 21:38 < splatch`> ;) 21:38 < Wombert> $r->gen('watermark_edit', array('id' => $id); 21:38 < Wombert> :) 21:39 < Wombert> I hope you can do that with smarty :p 21:39 < Wombert> if not... do it in the view and assign it as a variable 21:39 < Wombert> the URLs must be equal 21:39 < splatch`> Wombert: but that's code in other template 21:39 < splatch`> ach, moment 21:39 < splatch`> request uri 21:39 < Wombert> another way would be to override the form to populate in the view based on it's id but that's a bad idea because that would only work on read, not on write 21:39 < Wombert> in the form! 21:39 < splatch`> i see 21:39 < splatch`> i can't wrote own address ! 21:40 < Wombert> <form class="edit_form" 21:40 < Wombert> method="post" action="{$r->gen('watermark_edit', array('id' => $template.mark->getPrimaryKey())}" 21:40 < Wombert> enctype="multipart/form-data" > 21:40 < Wombert> tadaaaa... there's your #1 argument against smarty :) 21:42 < splatch`> och fuck, 21:43 < splatch`> syntax error: unrecognized tag: $r->gen('watermark_edit', array('id' => $mark->getPrimaryKey() (Smarty_Compiler.class.php, line 439) in 21:44 < splatch`> $r->gen('watermark_edit', array('id' => $mark->getPrimaryKey()) 21:44 < Wombert> yeah 21:44 < Wombert> smarty 21:44 < Wombert> sucks :) 21:45 < Wombert> build the url in the view and assign it as a template var 21:45 < splatch`> yes, bad habits 21:45 < Wombert> :) 21:45 < Wombert> certainly not your fault 21:47 < splatch`> i can't use assign =| 21:47 < splatch`> i've this in foreach loop 21:47 < splatch`> in previous page (index) 21:47 < splatch`> i'll wrote function 21:47 < splatch`> smarty sucks 21:49 < splatch`> Wombert: are you used php tal before? 21:49 < Wombert> yes 21:49 < Wombert> it sucks 21:49 < splatch`> phptal sucks? 21:49 < Wombert> yeah 21:50 < splatch`> why? :) 21:50 < Wombert> you can't call methods with arguments 21:51 < Wombert> the original TAL (for zope/python) had that feature 21:51 < Wombert> tal:content="var/callMethod()" 21:51 < Wombert> and tal:content="var/callMethod(argument)" 21:51 < Wombert> but PHPTAL doesn't allow () 21:52 < splatch`> oO 21:52 < splatch`> that's worst than smarty :] 21:52 < Wombert> and tries to check if tal:content="var/callMethod" means a method, or a property, or an array index 21:52 < Wombert> yeah PHPTAL has many good ideas but I quickly realized that it's too complicated to use in daily life 21:52 < Wombert> a few changes, and it would be sooooo cool 21:53 < splatch`> maybe in 3.0? 21:54 < Wombert> yeah ^^ 21:57 < splatch`> i have urls generated by AgaviRoutes 21:57 < splatch`> but fpf still doesn't works ;) 21:59 < splatch`> $req->getUrl() - http://sklep/Watermark/Edit/1 that's good value right? 22:00 < Wombert> yes and what does genUrl() gneerate 22:00 < Wombert> look at the source 22:00 < Wombert> for the form action 22:02 < splatch`> i don;t got any idea why that's not works 22:04 < Wombert> go back to the sample app 22:04 < Wombert> and in the view 22:04 < Wombert> add this 22:04 < Wombert> if($this->getContext()->getRequest()->getMethod() == 'read') { 22:05 < Wombert> $this->getContext()->getRequest()->setAttribute('populate', new AgaviFormPopulationFilter(array('username' => 'hello test')), 'org.agavi.filter.FormPopulationFilter'); 22:05 < Wombert> } 22:05 < Wombert> then click the login menu item 22:05 < Wombert> "hello test" will show up in the input field 22:05 < Wombert> delete that and overwrite it with something else 22:05 < Wombert> then click submit to login 22:06 < Wombert> what you entered will appear this time, because the method was not "read" (so the if is not run) but "write" (so the FPF will run as configured in global_filters.xml) 22:07 < splatch`> does FPF worin only in one mode? 22:07 < Wombert> no 22:07 < Wombert> it will automatically do it's work in the mode you tell it to 22:07 < Wombert> in our case, that's "write" 22:08 < Wombert> and in most other cases, too 22:08 < Wombert> even in your case 22:08 < Wombert> you don't want to always run it on "read" ! 22:08 < Wombert> that's a security risk 22:08 < splatch`> i want FPF in read mode 22:08 < Wombert> no 22:08 < Wombert> you want to populate using FPF in read mode 22:08 < Wombert> that's something different 22:08 < splatch`> because i give him variables 22:08 < Wombert> for methods where it's not configured to run automatically, you set the "populate" attribute 22:09 < Wombert> please, splatch` 22:09 < Wombert> [21:04] Wombert: if($this->getContext()->getRequest()->getMethod() == 'read') { 22:09 < Wombert> [21:05] Wombert: $this->getContext()->getRequest()->setAttribute('populate', new AgaviFormPopulationFilter(array('username' => 'hello test')), 'org.agavi.filter.FormPopulationFilter'); 22:09 < Wombert> [21:05] Wombert: } 22:09 < Wombert> add that to the LoginInputView and see for yourself :) 22:10 < Wombert> look at global_filters.xml in the sample app then 22:10 < Wombert> do you understand how it works now? :) 22:11 < splatch`> hm.. rather yes ;) 22:25 < v-dogg> Wombert: you sure that's correct? 22:25 < Wombert> tested it, worksforme 22:25 < Wombert> :) 22:25 < v-dogg> new AgaviFormPopulationFilter(array... 22:25 < Wombert> why not? 22:25 < Wombert> whoa 22:25 < Wombert> ROFL 22:25 < Wombert> and it still works 22:25 < Wombert> lol 22:25 < Wombert> :>>> 22:26 < Wombert> yeah it's not entirely correct but it works xDDDD 22:26 < Wombert> the filter is a parameterholder <: 22:26 < Wombert> haha 22:26 < Wombert> thanks :) 22:26 < Wombert> that would be new AgaviParmeterHolder, of course 22:26 < Wombert> thanks man 22:33 < splatch`> hmm 22:33 < splatch`> <input type="file" name="water_mark_name"> 22:33 < splatch`> after FPF 22:34 < splatch`> must i set parse_xhtml_as_xml? 22:34 < v-dogg> <input ... /> 22:34 < Wombert> if the document is declared as xhtml 22:34 < Wombert> via doctype 22:34 < Wombert> the FPF will parse it as XML 22:34 < Wombert> so it must be well-formed 22:35 < splatch`> it is 22:35 < splatch`> but after fps it isn't 22:35 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:35 < Wombert> then you don't have an XHTML doctype 22:36 < splatch`> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 22:36 < Wombert> do you have a doctype 22:36 < splatch`> <!DOCTYPE html .. 22:36 < Wombert> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 22:36 < Wombert> yeah 22:36 < Wombert> and what does it say 22:37 < Wombert> what does it look like 22:37 < Wombert> ? 22:37 < splatch`> like html 3.0 :) 22:37 < splatch`> give me a moment 22:38 < Wombert> :D 22:48 < splatch`> http://phpfi.com/164431 22:48 < splatch`> that's output 22:49 < splatch`> Wombert: in read thats works 22:49 < Wombert> and in post 22:49 < Wombert> it's empty 22:49 < Wombert> right? 22:50 < Wombert> please 22:50 < Wombert> please 22:50 < Wombert> please 22:50 < Wombert> <input type="file" name="water_mark_name" 22:50 < Wombert> try to change that first 22:50 < Wombert> to water_mark_file 22:50 < Wombert> and remember... label reference ids, not names 22:50 < splatch`> yes, yes 22:51 < splatch`> Wombert: still the same output 22:52 < splatch`> <input type="file" name="water_mark_file" id="fe-water_mark_file" /> 22:53 < Wombert> your global_filters.xml? 22:53 < splatch`> methods - write, methods - xhtml 22:54 < Wombert> methods? 22:54 < splatch`> output_types 22:57 < Wombert> hmmm 22:57 < splatch`> moment .. :) 22:58 < Wombert> can you show me the view code again? :) 22:58 < splatch`> one moment, eclipse crash my windows ;) 22:59 < splatch`> Wombert: how to create optional validator rule? 22:59 < Wombert> severity="none" but kaos must fix that first 22:59 < Wombert> I think 23:00 < Wombert> it's not really 100% done yet this optional stuff 23:00 < Wombert> but that can't be the problem here 23:00 < Wombert> even with validation or broken validation the population would work 23:01 * kaos throws a large pillow at Wombert 23:01 < kaos> you'r off in icq 23:03 < splatch`> Wombert: i'm return 'Error' in executeWrite 23:03 < Wombert> aaaaaaaaaah 23:03 < Wombert> okay 23:03 < splatch`> ...? :] 23:03 < Wombert> so we're getting closer :p 23:03 < Wombert> now show me inputview and errorview please 23:05 < splatch`> edit input http://phpfi.com/164438, edit error http://phpfi.com/164439 23:05 * Wombert starts to cry 23:06 < Wombert> [20:00] Wombert: wrap everything 23:06 < Wombert> [20:00] Wombert: except the template assignments 23:06 < Wombert> [20:00] Wombert: into if($req->getMethod() == 'read') 23:06 < Wombert> :( 23:07 < splatch`> input view it's always read 23:07 < Wombert> ehm 23:07 < splatch`> error it's write 23:07 < Wombert> isn't errorview broken 23:07 < Wombert> it's the wrong way around 23:07 < Wombert> yes, and on write, you shouldn't populate! 23:07 < Wombert> you don't need the data from propel etc in the error view 23:07 < splatch`> without populate still not work :] 23:07 < Wombert> you just want to show the form again 23:07 < Wombert> $this->setTemplate(AgaviConfig::get('core.template_dir') . '/success'); 23:07 < Wombert> $this->setDecoratorTemplate('EditInput'); 23:07 < Wombert> isn't that wrong? 23:08 < splatch`> Wombert: kill me, that's wrong 23:08 < splatch`> but with admin template still not works 23:09 < Wombert> decorator and template are the wrong way round 23:09 < Wombert> $this->setTemplate('EditInput'); 23:09 < Wombert> $this->setDecoratorTemplate(AgaviConfig::get('core.template_dir') . '/admin'); 23:09 < Wombert> that should work 23:09 < Wombert> and now 23:09 < Wombert> remove 23:09 < Wombert> $this->getContext()->getRequest()->setAttribute( 23:09 < Wombert> 'populate', $in, 'org.agavi.filter.FormPopulationFilter' 23:09 < Wombert> ); 23:09 < Wombert> from error view 23:10 < splatch`> still nothing :| 23:10 < Wombert> by the way, I don't think you need the propel helper 23:10 < Wombert> you can just call ->toArray() on objects 23:10 < splatch`> Wombert: i'm need in error view object :] 23:10 < splatch`> i'm using object name 23:11 < splatch`> hm 23:11 < splatch`> array.. 23:14 * splatch` is smashing up the head against the table 23:14 < Wombert> does it work? 23:14 < splatch`> my helper isn't problem 23:14 < Wombert> yes I know 23:14 < Wombert> show me both views again please :) 23:15 < splatch`> uff 23:15 < splatch`> i got 23:17 < splatch`> just another slip-up and I'll hang myself 23:18 < splatch`> sorry Wombert, don't understood you messages, that's start of all my problems 23:18 < Wombert> yeah we hit the language barrier here ;) 23:18 < Wombert> can you show me the code for both views again please 23:18 < Wombert> and maybe also the action code 23:20 < splatch`> works 23:20 < splatch`> the problem was my mistake in values 23:20 < Wombert> :S 23:20 < splatch`> DecoratorTempalte isn't EditInput 23:21 < splatch`> and Template isn't /admin 23:21 < Wombert> I said that all the time!!!!!! 23:21 < Wombert> :( 23:21 < Wombert> [22:09] Wombert: $this->setTemplate('EditInput'); 23:21 < Wombert> [22:09] Wombert: $this->setDecoratorTemplate(AgaviConfig::get('core.template_dir') . '/admin'); 23:21 < Wombert> [22:09] Wombert: that should work 23:21 < Wombert> :( 23:22 < splatch`> Wombert: kill me and my stupid mind now, that'll the best service for me and world 23:22 < Wombert> hah 23:22 < Wombert> no :) 23:22 < Wombert> so everything works now? 23:22 < Wombert> let me know if you have any more problems 23:23 < splatch`> yes, only labels aren'red 23:23 < Wombert> yep 23:23 < Wombert> because 23:23 < Wombert> you don't use fe-elementname 23:23 < splatch`> structure :] 23:23 < Wombert> :) 23:23 < Wombert> no 23:23 < Wombert> as I said, labels must refer to the ids of an element, not to the name! 23:23 < splatch`> no noe mr Womber! :] 23:23 < Wombert> <label for="fe-username">Username</label> 23:23 < splatch`> i'm using labels in span 23:24 < Wombert> <input type="text" name="username" id="fe-username" /> 23:24 < Wombert> that doesn't matter 23:24 < impl> hehe 23:24 < Wombert> the FPF will detect the label and make it red if it's coupled to the element this way 23:24 < Wombert> BUT 23:24 < Wombert> you have to add css for that of course! 23:24 < Wombert> it's not gonna be red by itself 23:24 < Wombert> FPF only adds a class "error" to the form element and the label 23:24 < Wombert> (if there is a validation error for the field) 23:33 * splatch` destroing own notebook ... 23:33 < splatch`> Wombert: my view http://phpfi.com/164449 :_ 23:33 < splatch`> :) 23:33 < splatch`> <label for="fe-water_mark_name"> 23:34 < Wombert> okay 23:34 < Wombert> any problems with that? 23:34 < splatch`> me :) 23:34 < splatch`> I am the problem 23:35 < Wombert> do you need them red on error? 23:35 < Wombert> input.error, textarea.error { 23:35 < Wombert> background-color: #FFE0E0; 23:35 < Wombert> } 23:35 < Wombert> label.error { 23:35 < Wombert> color: #D00; 23:35 < Wombert> } 23:35 < Wombert> for your css 23:35 < Wombert> :) 23:37 < splatch`> ok.. can i add error messages before/after field? 23:37 < Wombert> that's currently not possible 23:37 < Wombert> but I will add that as a feature for 1.0 23:38 < Wombert> you can do it by hand, of course 23:38 < Wombert> but not automated 23:44 -!- benny`work [n=benny@p54AC2997.dip0.t-ipconnect.de] has joined #agavi 23:45 < splatch`> Wombert: can i add simple span to FPF? 23:45 < splatch`> element->parentNode->appendChild 23:46 < Wombert> no 23:46 < Wombert> not yet 23:46 < Wombert> I'll add that feature 23:46 < Wombert> where you can define an xpath expression to determine a location 23:46 < Wombert> and then insert custom xhtml 23:46 < Wombert> it's a bit complicated, but I already have an idea how it can work 23:47 < Wombert> I'll do that for 1.0, promised :) 23:47 < splatch`> ok :] 23:47 < Wombert> maybe even for 0.11 23:47 < Wombert> shouödn't take too long 23:47 < splatch`> - polish mark :] 23:52 < Wombert> speaking of which? 23:53 < Wombert> did you hear from kazek? 23:53 < Wombert> bob already switched agavi.org over to the new server :) 23:53 < Wombert> will take some time before the namesevers see the change, though 23:53 < splatch`> Wombert: yes, kazek are currently online 23:53 < Wombert> splatch`: if he doesn't have time right now, no problem 23:53 < Wombert> or if he has other things to do 23:54 < Wombert> I was just wondering :) 23:54 < splatch`> he's doing something with agavi now 23:54 < splatch`> he told me this :) 23:55 < Wombert> oh cool 23:55 < Wombert> heh then I won't go to bet soon today :) and stay up instead :) 23:56 < Wombert> "go to bed" of course :) 23:58 < splatch`> Wombert: kazek will send link[s] to after 2AM by mail 23:58 < Wombert> oh 23:58 < Wombert> okay then :) 23:58 < Wombert> I'll be in bed by then because I'm still a little ill and I hope if I go to bed early today, I'll feel good tomorrow 23:59 < Wombert> so I will wait until the morning :) 23:59 < Wombert> say thanks to him, and remind him that he doesn't have to stay up all night or so! 23:59 < Wombert> if he is tired, or if he has no time right now, I can also wait until tomorrow :) --- Day changed Tue Oct 17 2006 00:00 < splatch`> Wombert: even i didn't worsen the mood for you? :) 00:01 < Wombert> no :) 00:01 < Wombert> it was just complicated because we had a hard time understanding each other 00:01 < Wombert> but hey 00:01 < Wombert> I'm here to help! 00:02 < Wombert> and you#re always welcome to ask questions 00:02 < Wombert> however stupid you may think they are 00:02 < Wombert> there are no stupid questions, only stupid answers 00:02 < Wombert> or so I heard ;) 00:04 < splatch`> Wombert: there are stupid questions 00:04 < splatch`> Wombert: that sentence doesn't make any sense 00:05 < splatch`> Wombert: i can wrote "asdf12?" to you - thats stupid question 00:05 < splatch`> and you can't give me an answer 00:05 < Wombert> hmm 00:05 < Wombert> I would think your cat walked over your keyboard :) 00:05 < Wombert> do you have a cat? 00:05 < Wombert> :) 00:05 < splatch`> no :] 00:05 < Wombert> that sentence is from "Forrest Gump" actually 00:05 < Wombert> about stupid questions and stupid answers 00:06 < splatch`> Forrest was a good boy 00:06 < Wombert> did you see forrest gump? 00:06 < Wombert> see 00:06 < Wombert> :)= 00:06 < splatch`> but that been a long time ago 00:06 < Wombert> and he said "there are no stupid questions, only stupid answers" 00:06 < Wombert> at least I think it was in that movie 00:06 < impl> I prefer "There's no such thing as stupid questions, only stupid people" 00:07 < impl> :X 00:07 < splatch`> impl: exactly! 00:07 < Wombert> oO 00:07 < splatch`> impl: you've next example - just look me! :) 00:08 < Wombert> seriously 00:08 < Wombert> it's not you 00:08 < Wombert> it's much rather that you didn't understand me 00:08 < splatch`> it's me 00:08 < Wombert> and I didn't understand you ;) 00:09 < Wombert> no... not your intellect or anything 00:09 < Wombert> maybe your english skills 00:09 < impl> I don't think the ability to speak a language determines intelligence, yeah 00:09 < impl> hehe 00:09 < impl> I mean, if I tried to speak Polish 00:09 < Wombert> but not your brain and your knowledge and your programming skills 00:09 < impl> I'd be like wyxyzyzyvyfifjkjksz 00:09 < impl> That's how Polish looks to me 00:09 < splatch`> Wombert: no, i'm know me, on #php.pl at ircnet, i'll gave ban for himself 00:09 < impl> splatch`: Do you know Trancer? 00:10 < splatch`> impl: we use "wsad" keybords :] 00:10 < splatch`> impl: no 00:10 < impl> Oh 00:10 < impl> okay. 00:10 < Wombert> oO 00:10 < impl> What's the advantage of a wsad keyboard? 00:10 < Wombert> we use qwertz/asdf keyboards 00:11 < impl> qwertyuiop 00:11 < impl> asdfghjkl 00:11 < impl> zxcvbnm 00:11 < splatch`> qwertyuiop 00:11 < splatch`> asdfghjkl 00:11 < splatch`> zxcvbnm 00:11 < splatch`> the same 00:11 < splatch`> qwertz are ba :] 00:12 < splatch`> In Win 98 i had qwertz :] 00:15 < splatch`> before you send any message check it two times 00:15 < splatch`> Wombert: today i don't do that 00:16 < Wombert> hey 00:16 < Wombert> lukasz 00:16 < Wombert> it's no problem 00:16 < Wombert> really 00:17 < splatch`> Wombert: that's problem 00:18 < splatch`> let me explain you 00:18 < splatch`> *lets 00:18 < splatch`> let's 00:19 < splatch`> I'm an operator at ircnet channel and many times I banned other users because they have wrong questions 00:19 < splatch`> like "what does minds perrmission denied" and something like this 00:19 < splatch`> today i was just like this user 00:20 < splatch`> zero ideas, zero invention 00:20 < Wombert> no 00:20 < Wombert> because a) english is difficult for you 00:20 < Wombert> and b) we have no documentation 00:21 < Wombert> I can't expect you to know everything! 00:21 < Wombert> you have to ask 00:21 < Wombert> because you can't look it up anywhere 00:21 < splatch`> "you require from different, require also from yourself" 00:21 < splatch`> that's my point 00:32 < Wombert> yes and that would be true 00:32 < Wombert> if the circumstances were the same 00:32 < Wombert> I don't think there is any way you could have figured this all out by yourself 00:32 < Wombert> by looking at the FPF code etc 00:32 < Wombert> it's sooo complicated it even confuses ME! 00:32 < Wombert> and I wrote it 00:33 < splatch`> Wombert: i added own, litte support for error appending :) 00:33 < Wombert> good! : 00:33 < Wombert> ) 00:33 < splatch`> hehe 00:34 < Wombert> I wanted to add something simple first, too 00:34 < Wombert> but I realized that many people will ahve different needs 00:34 < Wombert> and different html the FPF must be able to work with 00:34 < Wombert> so I have to take some time and sit down and implement something flexible 00:34 < Wombert> but if your solution works for you in the meantime, that's good ;) 00:34 < splatch`> framework must be flexible 00:44 < splatch`> i've screenshots :] 00:45 < splatch`> Wombert: do you want see 4h our work and stress? :) 00:57 < splatch`> http://img.dywicki.pl/sklep/1.png 01:00 < Wombert> ha! 01:00 < Wombert> :) 01:05 < splatch`> heh, now only add js binding and i've ajax form :) 01:14 < splatch`> ok, i'm going to sleep 01:14 < splatch`> good night everyone 01:14 < Wombert> good night 01:14 < splatch`> Wombert :* 01:14 < splatch`> ;) 01:15 < Wombert> :)) 01:29 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 01:29 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1155 : Changeset [1155]: proper margins in RTL mode 01:32 -!- benny`work [n=benny@p54AC2997.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:41 -!- Wombert [n=Wombert@dslb-088-064-014-049.pools.arcor-ip.net] has quit [] 01:56 -!- AgaviBot [n=dzuelke@dslb-088-064-014-049.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 04:10 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 05:26 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:42 -!- [1]eremit [n=eremit@p5490C363.dip.t-dialin.net] has joined #agavi 06:00 -!- eremit [n=eremit@p5490CCCF.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 06:00 -!- [1]eremit is now known as eremit 07:01 -!- shoan_ [n=shoan@59.92.163.201] has joined #agavi 08:18 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:19 < raidman> morning 08:20 < v-dogg> huomenta 08:20 < epaulin> morning 09:17 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 09:22 -!- Wombert [n=Wombert@dslb-088-064-014-049.pools.arcor-ip.net] has joined #agavi 09:24 < v-dogg> morning Wombert & horros 09:24 < horros> hi 09:25 < v-dogg> Wombert: I have news on fpf & segfaults 09:25 < Wombert> shoot 09:25 < splatch`> helllo 09:26 < v-dogg> I commented out unset($xpath) and unset($doc) and so far it haven't segfault 09:27 < v-dogg> but two times it gave me this shit: http://pastebin.ca/206065 09:27 < splatch`> Wombert: Do you got mail? 09:28 < Wombert> splatch`: yep! 09:28 < v-dogg> Wombert: so it might be preg_replace causing all this 09:28 < Wombert> v-dogg: that soooo looks like a libxml problem 09:28 < splatch`> Wombert: share your link :) 09:28 < Wombert> hm 09:28 < Wombert> splatch`: it's an attachment ;) 09:28 < Wombert> give me some time to wake up and everything 09:28 < Wombert> I'll upload it then or so 09:28 < Wombert> v-dogg: hmmm 09:28 < splatch`> Wombert: use you power, Luke 09:28 < Wombert> :D 09:29 < Wombert> v-dogg: and that occurs randomly? 09:29 < Wombert> any chance you can compile php with debug flags on so we can look at a backtrace? 09:31 < v-dogg> Wombert: yes, it happens randomly and output is also random. first time the first 10 lines or so were normal but then started that <style...<[CDATA... mess 09:32 < Wombert> v-dogg: I saw that,too 09:32 < Wombert> back then 09:32 < v-dogg> ok 09:32 < Wombert> well not the same 09:32 < Wombert> but also preg errors 09:32 < v-dogg> I'll start compiling... *sigh* 09:32 < Wombert> I believe libxml causes memory corruption and that messes up everything 09:32 < Wombert> not only pcre 09:32 < Wombert> :S 09:32 < Wombert> v-dogg: try compilingin the latest libxml2 first 09:33 < Wombert> they fixed a lot of leaks etc especially in xpath 09:33 < v-dogg> ok 09:34 -!- Wombert changed the topic of #agavi to: www.agavi.org :: DO NOT use 0.10.2 anymore:: http://svn.agavi.org/ :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 09:35 < Wombert> :) 09:36 < v-dogg> I have 3 huuuge and 2 smaller customers waiting for their test accounts... 09:36 < v-dogg> I promised that they could start testing some day this week 09:37 < horros> v-dogg: luckily I stopped updating agavi at some point when I decided it's stable and feature rich enough for our app :) 09:38 < v-dogg> I don't think that's the problem 09:40 < Wombert> yes that's not the problem 09:41 < Wombert> it's some kind of problem with PHP or a library 09:41 < splatch`> Wombert: ...link? :) 09:41 < Wombert> not yet 09:42 < Wombert> give me some time :) 09:42 < Wombert> I just made myself a tea 09:42 < Wombert> reading the news right now 09:42 < Wombert> then I'll have a shower 09:42 < Wombert> then upload :) 09:42 < Wombert> 30 minutes 09:47 < splatch`> today i had 5 minutes to up and go to work 09:48 < splatch`> ;) 10:14 < v-dogg> how does php use libxml? is it compiled in or just used as some runtime lib? 10:15 < v-dogg> ie. do I have to re-compile php after upgrading libxml? 10:19 -!- shoan_ [n=shoan@59.92.163.201] has quit [] 10:24 < Wombert> not sure 10:24 < Wombert> phpinfo() should tell you 10:25 -!- [1]eremit [n=eremit@193.175.183.152] has joined #agavi 10:25 -!- [1]eremit is now known as eremit_ 10:25 < eremit_> heyja 10:32 < epaulin> v-dogg: libxml2 default compiled as shared lib 10:33 < epaulin> if API didn't change, i thnk there is no need to recompile 10:33 < epaulin> think 10:38 -!- digitarald| [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has joined #agavi 10:39 < v-dogg> hmm... 10:39 < v-dogg> should I remove php (installed via apt) before recompiling & installing? 10:40 < eremit_> yap 10:40 < eremit_> otherwise php will break if the apt repos changes 10:41 < digitarald|> morning fellows 10:41 < digitarald|> ah ... my ghostnick is creeping around 10:41 < v-dogg> eremit_: apt-get remove (package) ? 10:42 < v-dogg> or --purge remove ? 10:42 < eremit_> i would suggest the second 10:43 < eremit_> but purge only removes config files, which should be overwritten by your custom installation anyways 10:43 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit ["leaving"] 10:44 < v-dogg> how do I see what is installed on the system? 10:44 < v-dogg> via apt, that is 10:45 < epaulin> dpkg -l | grep pkgName 10:45 < epaulin> or apt-cache show pkgName 11:06 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 11:10 -!- digitarald| [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 11:10 -!- digitarald| [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has joined #agavi 11:11 < Wombert> problem fixed, v-dogg ? 11:12 < v-dogg> a few more tests... 11:14 < v-dogg> looks good 11:15 < Wombert> yay! 11:15 < v-dogg> libxml Version 2.6.26 and no problems so far 11:16 < v-dogg> very very cool 11:17 < v-dogg> lunch time 11:18 < Wombert> enjoy thy meal 11:19 < v-dogg> I will 11:19 < v-dogg> when I first decide where and what to eat 11:26 < digitarald|> all the day the same questions ;) 11:26 < digitarald|> italian food :) 11:26 < v-dogg> I was thinking about pizza 11:26 < v-dogg> + extra garlic 11:26 < v-dogg> :p~ 11:27 < digitarald|> i was thinking about gazpacho ... with extra garlic ;) 11:28 < digitarald|> garlic is helping me to work more efficient ... less people come to me, aksing dump questions ;) 11:29 < Wombert> v-dogg: you better call the missus then and tell her to eat the same ^_° 11:30 < splatch`> Wombert: link? :) 11:30 < Wombert> ah 11:30 < Wombert> right 11:30 < Wombert> I'll do that in a minute 11:31 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:31 -!- shoan [n=shoan@61.95.206.107] has quit [Remote closed the connection] 11:32 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:45 < splatch`> Wombert: link :) 12:10 -!- eremit_ [n=eremit@193.175.183.152] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 12:13 < Wombert> splatch`: I forwarded it to you 12:14 < Wombert> he didn't change much 12:14 < splatch`> ok 12:16 < v-dogg> oh fuck... 12:18 < v-dogg> just had my double garlic pizza and now one of our business partner called that he'll be here in 10 minutes :) 12:20 < splatch`> v-dogg: you will eat with client :) 12:20 < Wombert> haha 12:20 < Wombert> :> 12:21 < Wombert> yeah suggest you guys go and eat one of these delicious garlic pizzas 12:21 < Wombert> xD 12:36 < splatch`> Wombert: https://www.server4you.de/de/d/showplan.php?products=0 12:36 < splatch`> what do you thing about this offer? 12:37 < Wombert> hmm 12:37 < Wombert> relatively expensive I think 12:37 < Wombert> the problem is 12:37 < Wombert> server4u is not good 12:37 < Wombert> they don't use racks etc 12:37 < Wombert> they buy cheat metal shelves 12:37 < Wombert> and put normal desktop minitowers in that 12:38 < Wombert> that's the servers you get there 12:39 < splatch`> Wombert: another offer in germany? 12:40 < Wombert> http://www.strato.de/server/highend/index.html 12:42 < Wombert> we have servers by strato, they are good 12:42 < splatch`> Wombert: Do you have account on strato? 12:43 < Wombert> they have many features you have to pay for with other companies 12:43 < Wombert> for example the FTP backup space 12:46 < splatch`> hm.. currently i've servet in ovh.. but he's expensive 12:47 < splatch`> *server 12:47 < splatch`> and i'm going to go out :) 12:56 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 14:28 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 14:32 < v-dogg> do I need XSL support for something? 14:34 < EleRas> on 1.2: no 14:34 < EleRas> oh 14:34 < EleRas> sry 14:34 < EleRas> wrong chan 14:34 < EleRas> *g* 14:35 < eremit> rofl ^^ 14:35 < EleRas> forget what I said 14:35 < v-dogg> 1.2 what?-) 14:35 < eremit> nothing .. EleRas accidently missed this is #agavi and not #syscp :PP 14:36 < EleRas> exactly 14:36 < EleRas> *g* 15:01 < v-dogg> uh.. wtf.. 15:02 < v-dogg> php gzips output but apparently some headers are missing 15:02 < v-dogg> because firefox shows the gzip'd output :) 16:30 -!- Wombert [n=Wombert@dslb-088-064-014-049.pools.arcor-ip.net] has quit [Nick collision from services.] 16:30 -!- Wombert [n=Wombert@dslb-088-064-011-242.pools.arcor-ip.net] has joined #agavi 17:20 -!- shoan [n=shoan@61.95.206.107] has quit [] 18:33 < v-dogg> evening folks 18:34 < ttj> Evening. 18:35 -!- AgaviBot [n=dzuelke@dslb-088-064-011-242.pools.arcor-ip.net] has joined #agavi 18:36 * v-dogg slaps AgaviBot around a bit with a huge pink dildo 18:40 < Wombert> HEYYY MAAAN DONTYA SLAP MY BOT MAAAN ARE YA CRAZY OR WHAAT MAAAAN 18:40 < v-dogg> wombie zombie 18:40 < v-dogg> I was just going to need ya 18:41 < v-dogg> like 18:41 < v-dogg> now 18:42 < v-dogg> Wombert: me wants to restrict modules based on user settings 18:42 < v-dogg> what do me have to do 18:42 < v-dogg> does 18:47 < v-dogg> overriding <handler pattern="%core.module_dir%/*/config/module.xml" should be enough, right? 19:00 < Wombert> v-dogg: re 19:00 < Wombert> uuuh? 19:00 < Wombert> oO 19:10 < v-dogg> hmm.. $context is null in cache/config/...modules_MyModule... 19:10 < v-dogg> when is that included? 19:11 < v-dogg> hphm... stupid me 19:19 < v-dogg> hmm.. 19:23 < v-dogg> heh.. it works :) 19:23 < v-dogg> man this framework rocks :) 19:29 < Wombert> lol 19:29 < Wombert> :) 19:29 < Wombert> what did you do 19:29 < Wombert> btw we got a KILLER idea for 1.0 19:30 < v-dogg> shoot 19:31 < Wombert> we use strem wrappers 19:31 < Wombert> for all file accesses 19:31 < Wombert> that means 19:31 < Wombert> your config files can be in a daabase 19:31 < Wombert> and 19:31 < Wombert> your configs can be compiled so shm/memcached 19:31 < Wombert> same for content cache etc 19:31 < Wombert> that will be uber fast 19:31 < Wombert> we hope 19:31 < Wombert> :) 19:32 < v-dogg> sounds cool 19:32 < Wombert> stream wrappers 19:32 < Wombert> of course 19:32 < Wombert> streams are SUCH a good php feature 19:32 < Wombert> the problem is to find use cases for them ;) 19:32 < v-dogg> now, wanna see how I did these dynamic module restrictions?-) 19:33 < v-dogg> $enabled_code = 'AgaviConfig::set(\''.$prefix.'enabled\', AgaviContext::getInstance($context)->getUser()->hasCredential(\''.$name.'\'));'; 19:33 < Wombert> yes 19:33 < Wombert> please 19:34 < Wombert> oO 19:34 < Wombert> so you restrict access to the entire module based on whether or not the user has the credentials specified in module.xml? 19:35 < Wombert> that rocks man 19:35 < Wombert> haha :> 19:38 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 19:49 * digitarald| slaps digitarald around a bit with a large trout 19:52 -!- shoan [n=shoan@59.92.188.179] has joined #agavi 19:58 -!- benny`work [n=benny@p54AC2D52.dip0.t-ipconnect.de] has joined #agavi 20:01 < splatch`> Wombert: rights in module.xml? 20:01 < splatch`> hello everyone! :) 20:02 < v-dogg> splatch`: yes, in a way 20:02 < v-dogg> with my custom moduleconfighandler I can set module.enable dynamically based on user credentials 20:03 < splatch`> module will be disabled if credentials will to small? 20:03 < v-dogg> yep 20:03 < splatch`> Is that good idea? 20:04 < v-dogg> well in my case not all users are allowed to do everything and this way I can disable whole modules easily 20:04 < splatch`> Didin'y module config should be read only? 20:05 < splatch`> *didn't 20:05 < Wombert> another reason why this entire module/action structure has to be re-done in 2.0 20:05 < splatch`> that work can do front controller 20:05 < v-dogg> didn't get that, what you mean splatch`? 20:06 < Wombert> he said you could do that in the front controller 20:06 < Wombert> BUT 20:06 < Wombert> basically, that's what he's doing 20:06 < Wombert> because 20:06 < Wombert> module.xml is just code when compiled 20:06 < Wombert> it's a very clever solution actually 20:06 < shoan> need help 20:07 < shoan> how do I update from the repo now? 20:07 < Wombert> y0 shoan 20:07 < Wombert> switch it first 20:07 < shoan> how? 20:07 < Wombert> svn switch --relocate svn://svn.agavi.org/agavi/ http://svn.agavi.org/ 20:07 < Wombert> in the root checkout 20:07 < Wombert> then svn up : 20:07 < Wombert> ) 20:09 < shoan> hmm 20:09 < shoan> didn't work 20:09 < shoan> i got this error 20:10 < v-dogg> shoan: can't you just re-checkout? 20:10 < Wombert> switching is easier and faster 20:10 < Wombert> :) 20:10 < v-dogg> yeah, we can all see that :) 20:10 < shoan> :) 20:10 < Wombert> :( 20:11 < shoan> i want to try and switch 20:11 < Wombert> maybe 20:11 < Wombert> svn switch --relocate svn://svn.agavi.org/agavi/trunk http://svn.agavi.org/trunk 20:12 < Wombert> localhost:~/Sites/_projects/agavi/trunk dzuelke$ svn info 20:12 < Wombert> Path: . 20:12 < Wombert> URL: http://svn.agavi.bitxtender.net/trunk 20:12 < Wombert> localhost:~/Sites/_projects/agavi/trunk dzuelke$ svn switch --relocate http://svn.agavi.bitxtender.net/trunk http://svn.agavi.org/trunk 20:12 < Wombert> localhost:~/Sites/_projects/agavi/trunk dzuelke$ svn up 20:12 < Wombert> At revision 1156. 20:13 < Wombert> :S 20:13 < Wombert> doesn't work for you, shoan ? 20:14 < shoan> shoan@papad ~/public_html/sandbox/agavi $ svn switch --relocate http://svn.agavi.bitxtender.net/trunk http://svn.agavi.org/trunk 20:14 < shoan> svn: Relocate can only change the repository part of an URL 20:15 < Wombert> then don't use /trunk :) 20:15 < Wombert> hm but weird it worked for me 20:15 < Wombert> hm 20:15 < Wombert> what does svn info say 20:15 < Wombert> for the current 20:15 < Wombert> URL? 20:15 < shoan> URL: http://svn.agavi.org/agavi/trunk 20:15 < shoan> Repository Root: http://svn.agavi.org 20:16 < Wombert> ewww 20:16 < Wombert> wtf? 20:16 < shoan> shoan@papad ~/public_html/sandbox/agavi $ svn up 20:16 < shoan> svn: REPORT request failed on '/!svn/vcc/default' 20:16 < shoan> svn: Cannot replace a directory from within 20:16 < Wombert> oO 20:16 < Wombert> what svn version is that 20:16 < shoan> 1.3.2 20:17 < Wombert> okay 20:17 < Wombert> now 20:17 < Wombert> inside agavi/ is there a trunk/ ? 20:17 < shoan> no 20:17 < Wombert> k 20:17 < Wombert> err but 20:17 < Wombert> oO 20:17 < Wombert> okay 20:17 < Wombert> try 20:18 < Wombert> svn switch --relocate http://svn.agavi.org/agavi http://svn.agavi.org 20:18 < Wombert> svn info should then give the correct URL 20:18 < shoan> ~/public_html/sandbox/agavi $ svn switch --relocate http://svn.agavi.org/agavi http://svn.agavi.org 20:18 < shoan> svn: Relocate can only change the repository part of an URL 20:18 < Wombert> yeah but it seems it still did it! 20:18 < Wombert> svn info now? 20:19 < shoan> URL: http://svn.agavi.org/agavi/trunk 20:19 < Wombert> svn switch --relocate http://svn.agavi.org/agavi/trunk http://svn.agavi.org/trunk 20:19 < shoan> ~/public_html/sandbox/agavi $ svn up 20:19 < shoan> svn: REPORT request failed on '/!svn/vcc/default' 20:19 < shoan> svn: Cannot replace a directory from within 20:19 < Wombert> as a last resort 20:20 < shoan> same error 20:20 < shoan> i will co again 20:20 < Wombert> sorry :( 20:20 < splatch`> cleanup? 20:23 < Wombert> that might help yeah 20:24 -!- shoan [n=shoan@59.92.188.179] has quit [Read error: 104 (Connection reset by peer)] 20:26 -!- shoan [n=shoan@59.92.188.179] has joined #agavi 20:26 < shoan> sorry got dc 20:27 -!- sho[a]n [n=shoan@59.92.188.179] has joined #agavi 20:28 < splatch`> Wombert: i set "force_output_mode" parameter and FPF works fine with my ajax toolkit :) 20:28 < Wombert> <: 20:29 < Wombert> so you're delivering forms as document fragments there? and want them populated? 20:29 < Wombert> hmm 20:29 < Wombert> interesting 20:29 < splatch`> output_types+force_output_mode 20:29 < Wombert> yeah the FPF would usually complain about that because the document is not valid html 20:29 < Wombert> OR it would insert html stuff or so 20:30 < shoan> damn battery 20:30 < shoan> :( 20:30 < splatch`> output type doesn't works or i doing something wrong 20:30 < Wombert> awwww 20:30 < Wombert> shit 20:30 < Wombert> I still gotta calibrate mine! 20:30 < Wombert> damn 20:30 < Wombert> and I need to be mobile all day tomorrow 20:30 < Wombert> argh 20:30 < Wombert> splatch`: hmm? 20:30 < shoan> conference? 20:30 < Wombert> university ;) 20:31 < splatch`> Wombert: i set output_types=xhtml 20:31 < Wombert> splatch`: okay 20:31 < splatch`> and i'm trying to get /Photos/Index/json 20:31 < splatch`> the end /json sets output type to json 20:32 < splatch`> json output type don't using slots 20:32 < splatch`> he's returns only body 20:32 < splatch`> of content slot 20:33 < splatch`> but, if i try to get /json i got xml prolog 20:33 < splatch`> thats prolog added FPF 20:34 < splatch`> question - why for that output type? 20:36 < splatch`> can i use FPF for input type="file" ? 20:36 < splatch`> minds, got a error message 20:36 < splatch`> and red label 20:42 < digitarald|> you can enable fpf for specific output types, or not? 20:42 < digitarald|> json sends only the body of the content? not a json string? 20:42 < splatch`> only html body 20:43 < splatch`> for json data i can create other output type 20:43 < Wombert> that's not really json ;) 20:43 < Wombert> yeah 20:43 < splatch`> but now i don't need this 20:44 < splatch`> now 20:44 < Wombert> you can set the output type to ignore slots btw 20:44 < digitarald|> globalfilters, parameter for fpf: 20:44 < digitarald|> <parameter name="output_types"> 20:44 < digitarald|> <parameters> 20:44 < digitarald|> <parameter>html</parameter> 20:44 < digitarald|> <parameter>xhtml</parameter> 20:44 < digitarald|> <parameter>xml</parameter> 20:44 < digitarald|> <parameter>ajax</parameter> 20:44 < digitarald|> </parameters 20:44 < Wombert> the FPF currently cannot handle fragments of documents 20:45 < splatch`> Wombert: that's not problem, really 20:45 < digitarald|> i have written an 10 line renderer for output the given attributes as json data 20:45 < splatch`> digitarald|: can you show it? :) 20:45 < digitarald|> splatch, just disable the fpf for json output type 20:45 < Wombert> errrrr 20:45 < Wombert> stop 20:45 < Wombert> json should be set in the response directly as content 20:45 < Wombert> look at the sample app 20:45 < Wombert> SearchEngineSpamSuccessView 20:45 < splatch`> digitarald|: i do that 20:46 < Wombert> executeXmlrpc() 20:46 < digitarald|> removed the comments, dont wanted to pastebin ;) 20:46 < digitarald|> class JsonRenderer extends AgaviRenderer 20:46 < digitarald|> { 20:46 < digitarald|> public function getEngine() 20:46 < digitarald|> { 20:46 < digitarald|> } 20:46 < digitarald|> public function render() 20:46 < digitarald|> { 20:46 < digitarald|> $json = new Json(Json::JSON_IN_OBJ); 20:46 < Wombert> the problem is that you then need a dedicated response instance which means you need a new renderer which means... uncool 20:46 < digitarald|> $this->response->setContent($json->encode($this->view->getAttributes() ) ); 20:46 < Wombert> ah 20:46 < Wombert> RENDERER 20:46 < digitarald|> } 20:46 < Wombert> sorry 20:46 < Wombert> xD 20:46 < digitarald|> public function preRenderCheck() 20:47 < digitarald|> { 20:47 < Wombert> okay my bad 20:47 < digitarald|> $this->view->setTemplate(''); 20:47 < digitarald|> } 20:47 < digitarald|> } 20:47 < Wombert> you could do that directly in the view tho, too 20:47 < digitarald|> its using the json class from json.org ... updated to php5 ... from prado i think 20:47 < Wombert> a matter of taste :) 20:49 < digitarald|> oh, no ... its the pear class, converted to php5 from prado 20:49 < shoan> did a checkout 20:50 < digitarald|> http://trac.pradosoft.com/browser/trunk/framework/Web/Javascripts/TJSON.php 20:50 < digitarald|> why a checkout? ;) 20:51 < shoan> digitarald: read the logs :p 20:52 < digitarald|> logs are for people with time 20:53 < digitarald|> people who are not sitting 12 hours at their workdesk ... actually it are 12 hours ... ... 12:01 now 20:53 < digitarald|> ... *dreamingfromhome* 20:55 < digitarald|> splatch ... is that json stuff useful for purpose? 20:57 < splatch`> digitarald|: now itsn't, but maybe in future i'll use 20:58 < splatch`> i've 4 days delay in project 21:01 < splatch`> Wombert: hm.. severity attribute don't work as i need 21:01 < Wombert> because it still marks the fields red, right? 21:01 < Wombert> we have to fix that 21:02 < splatch`> with that option my form getting .exe files 21:02 < splatch`> but in validation i set only graphic formats 21:02 < splatch`> (png,gif,jpg,jpeg) 21:02 < Wombert> uuuuh 21:02 < Wombert> what severity did you set 21:02 < splatch`> none 21:02 < Wombert> yeah that means no error checking is performed 21:03 < splatch`> can i set another value 21:04 < splatch`> my parameter is optional 21:05 < Wombert> let me check 21:05 < splatch`> Wombert: show you my validation xml? :) 21:05 < Wombert> yeah why not 21:05 < Wombert> I'm asking dominik right now 21:06 < splatch`> http://phpfi.com/164761 21:06 < splatch`> heh i've required :] 21:07 < splatch`> btw are required attribute it's allowed in schema for validators? 21:09 < Wombert> yes the schema is not very good 21:09 < Wombert> required="false" is not possible 21:09 < Wombert> BUT 21:09 < Wombert> dominik is on the phone right now 21:10 < Wombert> and he says he'll add it now 21:10 < splatch`> now minds today? :] 21:11 < kaos> yes ;) 21:11 < kaos> <-- dominik ^^ 21:11 < splatch`> wow, thats really community-driven development process! 21:12 < splatch`> Wombert: i added one attribute to FPF 21:12 < Wombert> which 21:12 < splatch`> include_file_inputs, add error message for file inputs 21:12 < Wombert> ah! 21:12 < Wombert> good catch 21:12 < Wombert> I'll fix that 21:12 < Wombert> thanks 21:12 < splatch`> :) 21:13 < Wombert> they are only skipped because you cannot populate them 21:13 < Wombert> but you're right, errors must be shown! 21:13 < splatch`> Wombert: i thought about error lists 21:14 < splatch`> error messages will not shown before/after field 21:14 < splatch`> but in one place 21:14 < Wombert> yeah that's easy! 21:14 < Wombert> the sample app does that 21:14 < Wombert> look at master.php 21:14 < Wombert> <?php if($req->hasErrors()): foreach($req->getErrorMessages() as $error): ?> 21:14 < Wombert> <p class="error"><?php echo $error['message']; ?></p> 21:14 < Wombert> <?php endforeach; endif; ?> 21:14 < splatch`> but they've in master template :) 21:14 < Wombert> before the content 21:15 < splatch`> Wombert: if you've two forms at one page you'll got list before first if you've errors in second 21:15 < Wombert> splatch`: that's true 21:16 < splatch`> FPF can use <form> tag 21:16 < splatch`> to insert error list 21:16 < splatch`> or custom xpath expression in form context 21:17 < splatch`> to put for example in fieldset 21:17 < splatch`> or make fieldset red 21:17 < splatch`> but that's many configuration directives 21:17 < Wombert> exactly :) 21:17 < Wombert> that's why this is scheduled for 1.0 21:18 < splatch`> or use two filters 21:18 < splatch`> baset an one 21:18 < splatch`> *based 21:18 < splatch`> *at 21:18 < Wombert> http://trac.agavi.org/ticket/303 21:18 < splatch`> to populate and show error messages 21:18 < Wombert> we talked about that yesterday, you remember? :) 21:18 < splatch`> i don't want remember yesterday ;) 21:20 < splatch`> Wombert: what do you think about abstract filter and two strategies? 21:27 < splatch`> http://www.youtube.com/watch?v=iYhCn0jf46U 21:27 < splatch`> omg! 21:28 -!- digitarald| [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 21:44 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 21:46 < splatch`> kaos: can you commit you validato fix today? :) 21:47 < Wombert> splatch`: he will 21:47 < Wombert> he also changes the syntax for arguments 21:47 < Wombert> it takes some time 21:47 < Wombert> http://www.youtube.com/watch?v=kE7aLqYf94s 21:48 < Wombert> http://www.2spare.com/item_50221.aspx 21:49 < splatch`> Wombert: hahaha 21:50 < splatch`> funny video 21:51 < splatch`> i've that everyday :] 22:24 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 22:24 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1157 : Changeset [1157]: include file inputs in the list of elements to work on so they get error … 22:53 < Wombert> ttj: http://crunchgear.com/2006/10/17/lenovo-and-apple-most-reliable-laptops-report-says/ 22:53 < Wombert> :) 22:53 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 22:53 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1158 : Changeset [1158]: hasValue certainly doesn't need a default value :) 22:53 < ttj> Wombert: :-) 22:55 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:55 < Wombert> impl: http://crunchgear.com/2006/10/17/lenovo-and-apple-most-reliable-laptops-report-says/ 22:55 < Wombert> :) 22:55 < impl> Lenovo and Apple go boom 22:55 < splatch`> propaganda! :) 22:55 < impl> I can accept Apple, but I don't like Lenovo 22:56 < impl> I just don't think they're as good as IBM 22:56 < impl> Of course my dad works for IBM, so I have a little bias :P 22:56 < ttj> Ok, impl's opinion officially doesn't count any more. :P 22:56 < Wombert> and I thought you don't like em because these bloody chinks bought good ol' american technology 22:56 < Wombert> HAH 22:56 < Wombert> I SAID IT 22:56 < Wombert> :> 22:56 < Wombert> errr 22:56 < Wombert> I KNEW IT 22:56 < impl> That's a bad word! 22:56 < impl> :P 22:56 < Wombert> errr 22:56 < Wombert> WHATEVER! 22:56 < Wombert> :> 22:56 * Wombert hugs impl 22:58 < splatch`> I waitin' for cash to buy new notebook :) 23:01 < splatch`> Wombert: config handlers schema is wrong 23:01 < splatch`> XSD Validation of configuration file "config_handlers.xml" failed, errors reported by DOM: 23:01 < splatch`> Element 'handler': The attribute 'class' is required but missing. 23:01 < splatch`> Element 'handler': Character content is not allowed, because the content type is empty. 23:01 < Wombert> I'd rather say your config is wrong :p 23:02 < splatch`> that's config from trunk ;) 23:03 < Wombert> uh 23:03 < Wombert> works for me!? 23:03 < splatch`> can't works 23:03 < splatch`> in example config_handlers 23:04 < Wombert> ah 23:04 < Wombert> I see 23:04 < Wombert> yeah 23:05 < splatch`> i've <handler pattern="%core.config_dir%/Sheep.xml" class="AgaviReturnArrayConfigHandler" /> 23:05 < splatch`> but i've got error 23:07 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 23:07 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1159 : Changeset [1159]: BREAKING CHANGE: goodybe output type fallbacks, refs #141. if you need em, … 23:10 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 23:10 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1160 : Changeset [1160]: fixed sample config_handlers.xml 23:11 < splatch`> handlers without parameters? 23:13 < Wombert> you can give it parameters of course 23:14 < splatch`> how? :) 23:16 < Wombert> ... 23:16 < Wombert> <handler ...> 23:16 < Wombert> <parameters> 23:16 < Wombert> <parameter name="...">...</parameter> 23:17 < splatch`> the current schema don't allow this :) 23:18 < kaos> thats true indeed O_o 23:20 < splatch`> :) 23:24 < splatch`> Fatal error: Argument 1 passed to AgaviConfigHandler::orderConfigurations() must not be null, called in AgaviReturnArrayConfigHandler.class.php on line 40 and defined in AgaviConfigHandler.class.php on line 238 23:24 < Wombert> mmmh 23:24 * Wombert looks at kaos 23:25 * Wombert decides it must be his fault 23:25 < Wombert> xD 23:27 < splatch`> hm, i don't know whose fault it's, but i need this, and this doesn't work :( 23:27 < splatch`> or.. 23:27 < splatch`> hm 23:28 < splatch`> i can use modpub! 23:28 * kaos throws a large pillow at AgaviBot 23:28 < kaos> you'r slow mate ;p 23:29 < impl> FASTAR 23:29 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 23:29 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1161 : Changeset [1161]: allow parameters in handlers definition 23:29 < kaos> aaah 23:29 < kaos> ; 23:29 < kaos> ) 23:29 < impl> Clearly it only listens to me 23:30 < impl> :< 23:31 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 23:31 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1162 : Changeset [1162]: getParts for the virtual array path 23:44 < impl> Is CIA dead? 23:48 < ttj> Long live the FBI! 23:48 < impl> D: 23:49 < Wombert> cia is looking at the wrong repos 23:49 < Wombert> gotta wait for bob to send me the key so I can tell it the new URL 23:49 < Wombert> we have moved servers :) 23:49 < impl> ahh right 23:57 < splatch`> Wombert: can you change "login" to "logowanie" in messages_pl.po? 23:58 < impl> What a cool word... 23:58 < impl> ;x 23:58 < splatch`> och 23:58 < Wombert> splatch`: line 35? 23:58 < splatch`> Wombert: i'll send better version --- Day changed Wed Oct 18 2006 00:00 < splatch`> hm 00:00 < splatch`> Thank you for logging out! - can be "good bye sweet user?" ;) 00:00 < splatch`> idon't know how translate Thank you for logging out! 00:01 < Wombert> mmh maybe not "sweet user" 00:01 < splatch`> in polish we don't use that constructions 00:01 < Wombert> "Thank you for using this website and goodbye" 00:01 < Wombert> something like that 00:01 < splatch`> good bye dear user? 00:04 < Wombert> something like that 00:11 < splatch`> Wombert: check mail, please 00:16 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 00:16 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1163 : Changeset [1163]: improved polish translation, thx lukasz 00:21 < splatch`> "We sorry all polish people for this translation" 00:21 < splatch`> tak bedzie lepiej :) 00:21 < splatch`> ops 00:21 < splatch`> that message will better 00:28 < splatch`> anyone drunk everyday energy drinks like red bull? 00:28 < Wombert> mmh 00:28 < Wombert> I sometimes drink red bull 00:28 < Wombert> but not very often 00:29 < splatch`> my friend drunk 2 in work 00:29 < splatch`> and 2 at night 00:29 < splatch`> they're can sleep 3,4 h 00:30 < splatch`> and go work 00:31 < Wombert> that's not healthy 00:31 < Wombert> a better idea is to pay close attention to sleep cycles 00:31 < Wombert> they are 90 minutes long 00:31 < Wombert> go to bed at about 23:30 00:31 < Wombert> so you sleep in at 00:00 00:31 < Wombert> set the alarm to 06:00 00:31 < Wombert> and you're absolutely in shape 00:32 < Wombert> sleep until 7am... no way you get out of bed 00:32 < Wombert> 3 hrs sleep, 4,5 hrs sleep, 6hrs sleep, 7,5 hrs sleep 00:32 < Wombert> that's good 00:32 < Wombert> not longer! bad for the body 00:32 < Wombert> and 00:32 < Wombert> go to bed before 01:00 00:32 < Wombert> I'll do that now :) 00:32 < Wombert> see you tomorrow 00:33 < splatch`> wait! :) 00:33 < Wombert> okay 00:33 < splatch`> goo slep at 23PM and wake up at 01? 00:33 < splatch`> 1AM 00:33 < Wombert> no 00:34 < Wombert> go to bed ad 23:30, for example 00:34 < Wombert> so you are asleep at 00:00 okay? 00:34 < splatch`> yes 00:34 < Wombert> and set the alarm to 6 or 7,5 (not 6,5 or 7 or 8!) hours after 00:00 00:34 < Wombert> for example 6am 00:34 < Wombert> you'll wake up very easy 00:34 < Wombert> because you're not in deep sleep 00:35 < Wombert> every 90 minutes your brain is in REM phase 00:35 < Wombert> that's where you dream 00:35 < Wombert> and that#s where you easily wake up 00:35 < Wombert> it's all about the timing 00:35 < splatch`> ach, is see 00:35 < Wombert> and it works best if you go to bed at around midnight 00:35 < Wombert> 1am... difficult 00:35 < Wombert> 2am...doesn't work anymore 00:36 < splatch`> Wombert: i'll check it tomorrow :) 00:36 < Wombert> okay :) 00:37 < Wombert> good night folks 00:37 < splatch`> bye 00:37 -!- Wombert [n=Wombert@dslb-088-064-011-242.pools.arcor-ip.net] has quit [] 00:56 -!- AgaviBot [n=dzuelke@dslb-088-064-011-242.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 01:18 < kaos> splatch`: i've added the required attribute to the <validator> tag 01:18 < splatch`> cool :) 01:18 < kaos> http://trac.agavi.org/changeset/1164 01:18 < splatch`> i've next idea 01:18 < kaos> but note, i've changed the syntax for errors and arguments 01:18 < splatch`> the return array config handler it's broken 01:18 < kaos> (what was the "param" attribute/parameter earlier 01:18 < kaos> whats wrong there ? 01:19 < splatch`> line 40 01:19 < splatch`> ->configuration ? 01:19 < splatch`> thats null 01:19 < splatch`> and that's problem 01:20 < kaos> show me the config you want to include with it 01:20 < kaos> that needs to have the <configurations><configuration> block too iirc 01:20 < splatch`> i've that block 01:21 < splatch`> but there is still null 01:21 < splatch`> the configuration are root element 01:21 < kaos> you need to wrap that into <configurations> 01:22 < splatch`> <configuration> 01:22 < splatch`> <setting name="image_width">200</setting> 01:22 < splatch`> <setting name="image_height">250</setting> 01:22 < splatch`> </configuration> 01:22 < kaos> yeah, you need to do 01:22 < kaos> <configurations> 01:22 < splatch`> ["image_width"]=> string(3) "200" ["image_height"]=> string(3) "250" 01:22 < kaos> <configuration> 01:22 < kaos> <setting ... 01:23 < splatch`> och 01:23 < kaos> thats so you can use the returnArrayConfigHandler to define different values for different contexts 01:23 < kaos> or environments 01:24 < splatch`> i don't need thah feature, i must store some configuration constants :) 01:24 -!- benny`work [n=benny@p54AC2D52.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:25 < kaos> well, its just 2 more lines ;) 01:28 < splatch`> kasthank you very much - works :) 01:30 < splatch`> kaos: thank you :) 01:30 < kaos> np :) 04:53 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:41 -!- [1]eremit [n=eremit@p5490D38A.dip.t-dialin.net] has joined #agavi 05:59 -!- eremit [n=eremit@p5490C363.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:59 -!- [1]eremit is now known as eremit 06:06 -!- kaos- [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 06:06 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 07:03 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 07:23 -!- v-dogg_ [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 07:25 -!- kaos- [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 07:34 -!- Wombert [n=Wombert@dslb-088-064-011-242.pools.arcor-ip.net] has joined #agavi 07:39 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit [Read error: 110 (Connection timed out)] 07:59 -!- Wombert [n=Wombert@dslb-088-064-011-242.pools.arcor-ip.net] has quit [] 08:48 < v-dogg_> huomenta 09:05 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:05 < raidman> morn' 09:17 -!- shoan_ [n=shoan@59.92.148.29] has joined #agavi 09:25 -!- sho[a]n_ [n=shoan@59.92.148.29] has joined #agavi 09:34 -!- sho[a]n [n=shoan@59.92.188.179] has quit [Read error: 110 (Connection timed out)] 09:35 -!- shoan [n=shoan@59.92.188.179] has quit [Read error: 110 (Connection timed out)] 09:58 < splatch`> hello 09:58 < v-dogg_> morning 10:08 -!- v-dogg_ is now known as v-dogg 10:24 < raidman> v-dogg, lol 10:24 < raidman> v-dogg, I just looking in #symfony and stolen codes issues :P 10:31 < raidman> ;) 10:40 < eremit> v-dogg, they will ignore your concerns ... or at least they don't care about it ... 10:40 < eremit> i guess until you get a lawyer of your choice ^^ :P 10:40 < raidman> lol 10:41 < v-dogg> hehe :) 10:42 < v-dogg> fabien apparently is never in #symfony anymore 10:42 < eremit> try to contact gpl-violations.org .. maybe they are handling lgpl cases too :P 10:42 < eremit> i guess he knows why :P 10:55 -!- shoan_ [n=shoan@59.92.148.29] has quit [] 11:36 -!- shoan_ [n=shoan@61.95.206.107] has joined #agavi 11:39 -!- shoan_ [n=shoan@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 11:40 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:41 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has joined #agavi 11:42 < digitarald> Mrning fellows 11:43 < raidman> digitarald, morn 11:43 < raidman> ah, life is easy with beagle :) 12:36 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 13:33 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 13:35 -!- sho[a]n_ [n=shoan@59.92.148.29] has quit [Read error: 60 (Operation timed out)] 13:41 -!- Wombert [n=Wombert@e094.tum.vpn.lrz-muenchen.de] has joined #agavi 13:43 < Wombert> y0y0y0? 13:43 < Wombert> :) 13:44 < v-dogg> hey wombie man 13:45 < Wombert> hi there 13:45 < Wombert> darn wifi totally overloaded 13:45 < Wombert> and VPN is down all the time too 13:46 < v-dogg> hey, what happened to us getting ops in this channel? 13:47 < eremit> hi Wombert 13:47 < eremit> v-dogg ? 13:55 < v-dogg> we need someone to have an operator status here 13:56 < v-dogg> but the channel is registered by bob 13:56 < eremit> ah ... 14:12 -!- Wombert [n=Wombert@e094.tum.vpn.lrz-muenchen.de] has quit [Read error: 110 (Connection timed out)] 14:15 < digitarald> is everything registered on bob? ;) 14:17 < v-dogg> pretty much 14:18 < v-dogg> heh, #symfony is getting annoyed with me bashing Symfony 14:18 < v-dogg> maybe I should shut up 14:22 < eremit> lol, maybe we should merge the two channels :P nearly everybody here showed up there ^^ *hrhr* 14:30 < digitarald> :D 14:30 < digitarald> no, they are using ajax actions ... dont want to stay there ;) 14:32 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has quit [] 14:32 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has joined #agavi 14:59 -!- pookey [n=pookey@is.paranoid.org.uk] has joined #agavi 14:59 < pookey> v-dogg: presumably this routing XML file is parsed and cached somewhere ? 15:01 -!- adonis [n=user@210.4.34.47] has joined #agavi 15:01 < pookey> infact, it seems XML is used for all of the configs, so I assume you're caching the parsed configs 15:01 < v-dogg> yes 15:01 < pookey> can routing be made aware of the hostname? 15:02 < v-dogg> yes, you can use all $_SERVER -variables 15:03 < pookey> the routing page doens't show any examples of that - symfony can't do that currently 15:04 < pookey> http://trac.agavi.org/ticket/291 that's a wonderfully pointless ticket :) 15:05 < pookey> Rename "Controller" to "Dispatcher" and "Action" to "Controller" <=- that's bugged me for a while in other things 15:05 < v-dogg> heh 15:06 < pookey> v-dogg: what's better about agavi's routing system over symfonys? 15:08 -!- HRN [n=jonny@nl105-252-221.student.uu.se] has joined #agavi 15:12 < pookey> and waht other areas do you feel agavi improves upon symfony 15:13 -!- notjosh [n=Miranda@203-217-61-106.perm.iinet.net.au] has joined #agavi 15:14 < v-dogg> pookey: I'm a bit busy now. can I get back to you a bit later? 15:14 < pookey> v-dogg: you sure can - I'm not attacking btw, I'm genuinly interested - I might be a symfony dev, but I'm not a bigot :) 15:14 < v-dogg> and wombert is the best guy to tell all the fancy features agavi's routing has 15:15 < pookey> I know you and wombert from elsewhere.. perhaps #php 15:15 < v-dogg> custom callbacks, multiple sources ($_SERVER etc.) very versatile parameter handling and so on 15:17 < pookey> I'm not sure waht you mean by custom callback, the docs mention nothing about it, but I'll quiz wombert later :) 15:20 < v-dogg> are you reading trac's wiki? 15:20 < pookey> yeah 15:21 < v-dogg> that's just a brief introduction 15:21 < pookey> what else is there to read? 15:22 < pookey> planet.avavi.org is a holding page, the API docs area 404... ;) 15:23 < v-dogg> wombert is just moving stuff to a new server 15:23 < v-dogg> svn has some docs in docbook xml 15:24 < v-dogg> like I said, our documentation is close to non-existing at the moment 15:29 < digitarald> pookey: take a look at the routing in the sample app after checkout and u see the improvements. take another look at the validation and the i18n 15:31 < digitarald> just take a look over the sample app in the svn trunk ... documentation is till now one of the underbellies ;) 15:31 < v-dogg> agavi is able to have 1 action - 1 view - N output types 15:32 -!- skr68 [n=skr@212.80.234.11] has joined #agavi 15:32 < v-dogg> the same action for html, console, ajax and xml-rpc for example 15:32 < v-dogg> MVC - truly :) 15:33 < pookey> I'll check out the sample app then next week 15:36 < v-dogg> pookey: routing callback can have extra processing of routing rules/patterns 15:37 < v-dogg> for example I wrote a simple db admin tool that can handle multiple db's 15:37 < v-dogg> and I have a route /(dbname:\S+) with a custom callback that checks whether that db exists really 15:38 < v-dogg> foo.com/mydb -> ok 15:38 < v-dogg> foo.com/anotherdb -> not ok 15:43 < v-dogg> and of course "not ok" means 404 :) 15:45 < v-dogg> and pretty much everything is "plugable" 16:25 < digitarald> u really used the \S syntax for an expression for a databasename? 16:25 < v-dogg> yes, why? 16:31 < digitarald> just ... foo.com/.:?!:. is not a real database name :) 16:32 < digitarald> isn't \w better ... i choose my routingexpressions so, that i dont have to check the given vars again in the validation 16:32 < digitarald> not against the next expression 16:41 -!- adonis [n=user@210.4.34.47] has quit ["Leaving"] 16:42 < digitarald> can't describe it ... need coffee ... its so fuckn sticky ... hope its thunderstorming soon 16:50 < pookey> v-dogg: I'm out of here, I should have more time next week to look at agavi, untill then.. I'm gone:) 16:50 -!- pookey [n=pookey@is.paranoid.org.uk] has left #agavi [] 17:04 < shoan> is the mailing list broken? I don't seem to be getting any emails from trac/svn anymore :( 17:12 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:15 -!- skr68 [n=skr@212.80.234.11] has quit [Read error: 113 (No route to host)] 17:21 -!- skr68 [n=skr@212.80.234.11] has joined #agavi 17:47 < digitarald> its broken, yes 17:47 < digitarald> ;) 18:10 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 18:11 < kaos> hello folks 18:14 -!- skr68 [n=skr@212.80.234.11] has quit [] 18:33 < digitarald> hi kaos 18:33 < kaos> omg ... i just checked the size of my calendar port so far 18:34 < kaos> 10000 lines (ok, 70% are comments ... but still!) 18:34 < kaos> thats actually 1/3 of the size agavi currently has 18:35 < digitarald> calendar port? 18:35 < kaos> yep 18:35 < kaos> porting the ICU calendar stuff to php 18:35 < digitarald> 10000 lines ... ouch 18:36 < kaos> yeah, but luckily the port itself is quite straightforward 18:36 < kaos> its only a bit tricky with all those function overloads from c++ 18:37 < kaos> i'm actually quite much finished already(as long as you only care about the gregorian calendar) 18:37 < kaos> ported the basic calendar tests from icu too 18:37 < kaos> and they actually work :) 18:42 < kaos> 0.10: lines: 19310 18:42 < kaos> head: lines: 28145 18:42 < kaos> my working copy lines:37153 18:49 < digitarald> after refactoring: 2000? ;) 18:50 < kaos> hehe 18:51 -!- Wombert [n=Wombert@dslb-088-064-019-178.pools.arcor-ip.net] has joined #agavi 18:51 < digitarald> i actually try to refactor all my prototype javascript classes 18:52 < Wombert> re 18:52 * Wombert yawns 18:52 < Wombert> v-dogg: I emailed bob he's working on giving us channel ownership 19:03 < kaos> Total Estimated Cost to Develop = $ 465,483 <-- so who is gonna pay us now ? :D 19:07 -!- AgaviBot [n=dzuelke@dslb-088-064-019-178.pools.arcor-ip.net] has joined #agavi 19:08 < splatch`> thello everyone 19:09 < Wombert> hi 19:10 < splatch`> Wombert: I oevrslept today ;) 19:11 < splatch`> at 6AM my alarm clock was arouse me 19:11 < splatch`> i set new alarm at 7AM 19:11 < splatch`> and go sleep 19:11 < splatch`> *went 19:12 < splatch`> 8:50 AM, my PM call me and askin - Do you sleep? 19:18 < splatch`> i don't commit new alarm 19:18 < splatch`> alarm clock was set to 6PM :) 19:18 < Wombert> :D 19:18 < Wombert> :S 19:18 < Wombert> :( 19:18 < Wombert> what's a PM? 19:27 < splatch`> Project Manager 19:30 < splatch`> Wombert: thank you for mail :) 19:30 < Wombert> splatch`: yeah I had written that in the morning but I didn't have internet connectivity all day 19:31 < Wombert> so it was sent a couple of minutes ago when I plugged the laptop back in 19:31 < splatch`> Wombert: no problem i makin' problems afternoon :) 19:32 < splatch`> hm 19:32 < splatch`> that's not correct 19:32 < splatch`> blah, i don't know how say this 19:33 < splatch`> Wombert: can i use binary output with agavi? 19:33 < splatch`> for example i've image stream from imagepng* 19:38 < splatch`> kaos: new validator structure is cool ") 19:38 < splatch`> :) 19:39 < Wombert> of course you can send back binary data 19:39 < Wombert> just set it in the view 19:39 < kaos> :) 19:39 < Wombert> $this->getResponse()->setContent('imagedata'); 19:39 < Wombert> of course, you should add a new output type 19:39 < Wombert> and disable stuff like execution time filter for that output type 19:42 < digitarald> all this breaking changes stuff is breaking my deadlines ... and my evenings ... 19:44 < Wombert> does it help if we say we're sorry? xD 19:46 < splatch`> hehe 19:47 < splatch`> "we sorry all Polish people for that translation" - Womber, next time gave this message for messages_po :) 19:48 < splatch`> how to organize validation 19:48 < splatch`> i've two actions 19:49 < splatch`> add, edit 19:49 < splatch`> they're have the same validation rules 19:49 < splatch`> but add action require file 19:53 < Wombert> you could use xinclude! 19:54 < splatch`> hmm and include body to validator element? 19:54 < splatch`> or xinclude + xpointer 19:59 < Wombert> do xpointers work? 19:59 < Wombert> hmm 20:00 < splatch`> i'll check :) 20:07 < kaos> oh man 20:07 < kaos> this localized date pattern stuff 20:08 < kaos> just makes everything even more complicated =) 20:08 < splatch`> Wombert: validator name it's not name1 or name2, how to use XPath to do this? 20:08 < Wombert> errrrrr 20:08 < splatch`> //validator[@name] 20:08 < Wombert> xpath? 20:08 < Wombert> oO 20:08 < Wombert> is that for an xpointer? 20:08 < Wombert> never used it 20:08 < splatch`> yes 20:08 < Wombert> can you show me the entire line? 20:09 < splatch`> Wombert: don't think about XPointer :) 20:09 < splatch`> http://phpfi.com/165100 20:10 < splatch`> include all validators, but skip primary key and water mark file 20:10 < Wombert> I mean the xinclude 20:10 < splatch`> href="source.xml" xpointer="xpointer()" 20:10 < Wombert> and where does the xpath go? 20:10 < Wombert> like xpointer="xpointer(//validator)" ? 20:10 < Wombert> w 20:10 < Wombert> o 20:10 < Wombert> w 20:10 < splatch`> yes 20:11 < Wombert> php supports that? 20:11 < Wombert> maan that is AWESOME 20:11 < Wombert> hahahaha 20:11 < Wombert> :> 20:11 < Wombert> now look at symfony and their RETARDED YAML 20:11 < Wombert> WUHAHAHA 20:11 < Wombert> :> 20:11 < splatch`> :) 20:11 < splatch`> yaml sucks 20:12 < Wombert> let me try to build that xpath 20:12 < splatch`> Wombert: works good 20:12 < splatch`> but help me with XP :) 20:12 < Wombert> yep 20:12 < Wombert> one minute 20:13 -!- shoan [n=shoan@59.92.154.235] has joined #agavi 20:13 < splatch`> Wombert: i'll try to use @name attribute 20:13 < Wombert> I tried that but that's not enough 20:13 < Wombert> moment 20:15 -!- shoan_ [n=shoan@59.92.154.235] has joined #agavi 20:15 -!- shoan [n=shoan@59.92.154.235] has quit [Read error: 104 (Connection reset by peer)] 20:16 < Wombert> I thinkl /validator[not(//arguments="primary_key" || //arguments="water_mark_file")] should work 20:17 < Wombert> wait only one | not two 20:17 < Wombert> yeah 20:17 < Wombert> like this: /validator[not(//arguments="primary_key" or //arguments="water_mark_file")] should work 20:17 < Wombert> better 20:17 < Wombert> does that work? 20:17 < Wombert> :) 20:17 < Wombert> oh wait 20:17 < splatch`> doesn't work :) 20:17 < Wombert> now: /validator[not(//argument="primary_key" or //argument="water_mark_file")] should work 20:18 < splatch`> //validator 20:18 < splatch`> ? 20:18 < Wombert> you can try but / selects from the root 20:18 -!- digitarald [n=Miranda@140.Red-83-55-62.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 20:18 < Wombert> oh wait 20:18 < Wombert> hmm 20:18 < Wombert> let me think 20:18 < Wombert> try this: //validator[not(argument="primary_key" or argument="water_mark_file")] 20:20 < splatch`> moment 20:20 < splatch`> i've //validator[not(@name="primary_key" or @name="water_mark_file")]) 20:20 < Wombert> that doesn't work 20:20 < splatch`> but argument wi'll btter 20:20 < Wombert> because @name is for the validator node 20:20 < splatch`> Wombert: work :) 20:20 < splatch`> Wombert: my exptession works 20:20 < Wombert> oO 20:20 < Wombert> really? 20:21 < splatch`> but my code it's not works 20:21 < Wombert> aaah 20:21 < splatch`> give me second 20:21 < Wombert> man of course yeah because they have names 20:21 < Wombert> wait 20:21 < Wombert> this is better 20:21 < Wombert> what you do 20:21 < Wombert> @name="bad_id" 20:21 < Wombert> and @name="file_is_bad" 20:22 < splatch`> Wombert: my rule doesn't works 20:23 < Wombert> show me the other file 20:23 < Wombert> where you use the xinclude 20:23 -!- benny`work [n=benny@p54AC3DAF.dip0.t-ipconnect.de] has joined #agavi 20:24 < splatch`> in <validators> 20:28 < splatch`> Wombert: i'll use names 20:28 < splatch`> and 3 includes 20:29 < splatch`> http://phpfi.com/165104 20:29 < splatch`> works great :) 20:30 < Wombert> hmmm 20:30 < Wombert> but that's not the ideal solution :( 20:31 < splatch`> yes 20:31 < splatch`> it isn't ideal 20:34 < splatch`> i'll start using XML as tempaltes ;) 21:09 < splatch`> gm 21:10 < splatch`> i've problem 21:10 < splatch`> with upload files 21:10 < splatch`> the input value for water_mark_file are graphic format 21:10 < splatch`> i set extension parameter 21:10 < splatch`> and submit form 21:11 < splatch`> in edit form - works fine 21:11 < splatch`> but in add form - i got error 21:11 < splatch`> no messages, no exceptions 21:11 < splatch`> just red label 21:11 < splatch`> like required 21:12 < splatch`> btw can i set error message for requited field? :) 21:21 < splatch`> hm, return array config handler accept parameters? 21:21 < splatch`> i thnk about some list 21:43 < splatch`> hey!, are anyone is here? ;) 21:57 -!- benny`work [n=benny@p54AC3DAF.dip0.t-ipconnect.de] has quit ["unset($this);"] 22:02 < splatch`> ignore slots = don't use decorator template? 22:07 < splatch`> For security reasons, Request Parameters cannot be accessed directly. Please use the ParameterHolder object passed to your Action or View execute method to access Request Parameters. 22:08 < Wombert> no 22:08 < Wombert> ignore_decorators skips the decorator template 22:08 < Wombert> ignore_slots only skips slot execution 22:08 < Wombert> yes you can't do that 22:09 < Wombert> use $parameters 22:09 < Wombert> they are validated 22:09 < Wombert> and filtered 22:09 < Wombert> and therefor safe! 22:10 < splatch`> doesn't works or i again doinf wrogn 22:10 < splatch`> *doing 22:11 < splatch`> Wombert: Can i describe my problem? 22:11 < Wombert> sure! 22:12 < splatch`> my route: /(target:\w+)/Menu 22:12 < splatch`> output type = menu, ignore slots and decorators 22:13 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:13 < splatch`> output type renderer it's smarty and they're using .tpl extension 22:13 < splatch`> route works fine 22:13 < splatch`> now, i'm going to use the same action to set slot for default (xhtml) output type 22:14 < splatch`> so, in my view i set slot 22:14 < splatch`> and parameter in holder 22:14 < splatch`> $this->setSlot('admin_menu', 'Menu', 'Index'); 22:15 < splatch`> $parameters->setParameter('target', 'Photo'); 22:15 < splatch`> that should render menu for photo module 22:15 < splatch`> but don't return good value 22:16 < splatch`> Wombert: you got that? :): 22:16 < splatch`> two output types, one module, one template 22:16 < Wombert> eh 22:16 < Wombert> no 22:16 < Wombert> that doesn't work 22:16 < Wombert> the output type is valid for the request 22:16 < Wombert> why output type menu? 22:17 < splatch`> for ajax :) 22:17 < Wombert> output type should be "html", "json"; "pdf" or so 22:17 < Wombert> don't use it to hack in stuff 22:17 < Wombert> you can pass arguments to slots 22:17 < Wombert> $this->setSlot('slotname', 'Module', 'Action', array('foo' => 'bar'); 22:18 < Wombert> $this->setSlot('admin_menu', 'Menu', 'Index'. array('target' => 'Photo'); 22:19 < splatch`> yeah! 22:19 < splatch`> Wombert: i must rename that type 22:19 < splatch`> to hm.. 22:19 < splatch`> body? :) 22:23 < Wombert> splatch`: no! 22:23 < Wombert> you cannot use multiple output types in the same request 22:23 < Wombert> only one 22:24 < Wombert> and you shouldn't use output types for that 22:24 < splatch`> Wombert: i know 22:24 < splatch`> Wombert: body it's type for ajax request - no slots, no decorators 22:26 < splatch`> that's my previous json output type 23:03 -!- benny`work [n=benny@p54AC3DAF.dip0.t-ipconnect.de] has joined #agavi 23:40 < splatch`> after().cup().coffe().do().work() 23:48 < ttj> Too.much().java().you().written().have() 23:48 < impl> You.call(Too.many().methods()) 23:59 < splatch`> ttj: right ;), to much java, 8h peer day ;) --- Day changed Thu Oct 19 2006 01:01 < splatch`> hm 01:02 < splatch`> don't use forward in view? 01:03 < kaos> you shouldn't really use forward at all 01:03 < kaos> but redirect instead 01:09 < impl> What's wrong with using forward? 01:15 < splatch`> i don't want send next code etc, 01:15 < splatch`> forward are good 01:16 < splatch`> they works like redirect but without additional response, right? :) 01:28 -!- benny`work [n=benny@p54AC3DAF.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:28 < Wombert> return the forward info from the view 01:30 < splatch`> *_* < that's I am 01:30 < splatch`> bye! 01:31 < Wombert> good night 01:54 -!- firmanw [n=firmanw@125.163.24.3] has joined #agavi 02:22 -!- AgaviBot [n=dzuelke@dslb-088-064-019-178.pools.arcor-ip.net] has quit [Remote closed the connection] 02:24 -!- Wombert [n=Wombert@dslb-088-064-019-178.pools.arcor-ip.net] has quit [] 03:14 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 03:51 -!- notjosh [n=Miranda@203-217-61-106.perm.iinet.net.au] has quit [Read error: 113 (No route to host)] 04:42 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit [Connection reset by peer] 04:43 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: jake, EleRas, impl, Kubicek 04:44 -!- kaos- [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 04:45 -!- Netsplit over, joins: Kubicek, EleRas 04:46 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 04:46 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.wa.comcast.net] has joined #agavi 04:49 -!- kaos- is now known as kaos 05:30 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:42 -!- [1]eremit [n=eremit@p5490C037.dip.t-dialin.net] has joined #agavi 06:00 -!- eremit [n=eremit@p5490D38A.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 06:00 -!- [1]eremit is now known as eremit 06:17 < kaos> yay!!!!!!!!!!!!!1111111111111111 \o/ 06:17 < kaos> we have a date *gg* 06:51 -!- shoan [n=shoan@59.92.206.123] has joined #agavi 07:09 -!- shoan_ [n=shoan@59.92.154.235] has quit [Read error: 110 (Connection timed out)] 07:40 < shoan> kaos: so the calendar is all done? 07:40 < kaos> not all done 07:40 < kaos> but you can actually format dates 07:40 < kaos> calculate (with the gregorian calendar) 07:41 < kaos> timezone stuff should work too (currently porting tests there) 07:41 < shoan> nice :) 07:44 < kaos> yeah, had to spend some nights debugging that stuff 07:45 < kaos> but i'm like uber happy the basic calendar tests work w/o failure 08:08 < kaos> and now to something really funny 08:08 < kaos> the olson time zone database 08:50 < v-dogg> huomenta 08:51 < epaulin> morning 09:06 < splatch`> hello 10:04 < splatch`> [09:02:52] <mp> Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders 10:04 < splatch`> hahaha 10:05 -!- epaulin [n=epaulin@61.191.26.228] has quit [Read error: 104 (Connection reset by peer)] 10:10 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 10:17 -!- shoan_ [n=shoan@59.92.206.123] has joined #agavi 10:17 -!- shoan [n=shoan@59.92.206.123] has quit [Read error: 104 (Connection reset by peer)] 11:43 -!- Wombert [n=Wombert@dslb-088-064-019-178.pools.arcor-ip.net] has joined #agavi 12:07 -!- EleRas [n=EleRas@neteraser.de] has left #agavi ["Time makes no sense"] 12:18 -!- theoden[pl] [n=theod@ckc91.neoplus.adsl.tpnet.pl] has joined #agavi 12:19 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 12:36 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 12:43 -!- shoan_ [n=shoan@59.92.206.123] has quit [] 13:05 -!- shoan [n=shoan@59.92.206.123] has joined #agavi 13:26 -!- shoan [n=shoan@59.92.206.123] has quit [] 13:49 < v-dogg> hmm.. any ideas what might case sessions to die? every now and then the user's session just disappears and the login screen is showed 13:49 < v-dogg> I don't know (yet) if the session id also changes 13:55 < eremit> that's one of the problems i had ... 13:55 < eremit> does it only appear on special browser ? do the sessions timeout ? 13:56 < v-dogg> don't know yet 14:03 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 14:08 -!- codecop [n=tty1@85.206.205.1] has joined #agavi 14:10 < digitarald> i have a question for the sample app routing ... anywhere here? 14:10 < digitarald> somebody ... someone :D 14:10 < Wombert> yes 14:11 < v-dogg> no 14:11 < digitarald> :D 14:11 < digitarald> the locale-routing ... 14:12 < digitarald> ... pattern="^/({locale:[a-z]{2}(_[A-Z]{2})?})" ... but in the ignores list is <ignore>language</ignore>, shouldn't it be locale? 14:13 < Wombert> eww 14:13 < Wombert> yeah 14:14 < digitarald> ok ;) 14:14 -!- AgaviBot [n=dzuelke@dslb-088-064-019-178.pools.arcor-ip.net] has joined #agavi 14:15 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 14:18 -!- shoan [n=shoan@61.95.206.107] has quit [Client Quit] 14:21 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 14:38 < codecop> mojavi.org completly dead? 14:38 < Wombert> yeah 14:38 < codecop> and mojavi project? 14:38 < Wombert> dead, too 14:39 < codecop> why they dont starting from zero again? 14:40 < Wombert> uh 14:40 < Wombert> well 14:40 < codecop> i am using mojavi 2, universal distr in 4.0 ant 5. PHP 14:40 < Wombert> mojavi 3 was built by one person, but never released 14:40 < Wombert> he "opened up" development by handing the project over to another person 14:40 < Wombert> who abandoned mojavi3 and started mojavi4 on his own 14:41 < Wombert> then the servers crashed and he said he has no interest in continuing development 14:41 < Wombert> use agavi :) 14:41 < codecop> :) 14:43 < codecop> i just started big project, already 3 month job, 70% finished, moving to agavi i think would be hardddd :( 14:43 < codecop> but in future agavi is in my mind 14:45 < codecop> thnx for info Wombert 14:58 < Wombert> sure, you're welcome 15:03 < v-dogg> codecop: your current project is done with m2? 15:19 < digitarald> the caching.xml in the sample app is fake, or not? 15:20 < Wombert> ewww 15:20 < Wombert> yeah 15:20 < Wombert> pobably 15:20 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 15:20 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1165 : Changeset [1165]: fixed ignore for locale parameter in sample app routing 16:31 -!- Wombert [n=Wombert@dslb-088-064-019-178.pools.arcor-ip.net] has quit [Nick collision from services.] 16:32 -!- Wombert [n=Wombert@dslb-088-064-027-016.pools.arcor-ip.net] has joined #agavi 16:32 < digitarald> Can i generate a url with the actual matched route(s)? 16:33 < digitarald> just overwrite some parameters but using the existing routes and parameters 16:35 < digitarald> is there an access to the matchedRoutes? 16:39 < digitarald> ah ... saw the solution ... attributes org.agavi.routing 16:40 < v-dogg> $request->getAttribute('matchedRoutes', 'org.agavi.routing'); 16:40 < digitarald> what is this 8002453778b01bbfc in the first slot? 16:40 < v-dogg> but there was some way to generate a route to the current page/route/action 16:40 < v-dogg> I think... 16:40 < digitarald> its the xml/xhtml route 16:44 < digitarald> i found the solution ... hopefully ... gen(null) 16:44 * v-dogg hugs agavi routing 16:45 < v-dogg> this is so awesome :) 16:45 < digitarald> did u try it? :D 16:46 < digitarald> ... may be we need some documentation for agavi :D 16:46 < digitarald> ;) 16:46 < v-dogg> no no, I've been using it from the start 16:46 -!- AgaviBot [n=dzuelke@dslb-088-064-019-178.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 16:46 < v-dogg> I'm just fixing some things here and these routing rules are so complex and cool that I think I'm going to cry :p 16:48 < digitarald> same with me :D ... really complex ... really ... 16:49 < digitarald> but i have to do some documentation for mootools, very easy for everyone because its a wiki ... i'll hope the documentation for agavi will be easier instead of editing the docbook 16:50 < digitarald> its awesome how fast many people adding things to an wiki, examples, own code ... because they like to share their ideas ... 16:50 < digitarald> ok ... lets clean my app from BREAKING CHANGES :D 17:03 < v-dogg> we could have some wiki scrapbook for stuff like that 17:03 < v-dogg> but official documentation cannot be in wiki 17:20 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:24 -!- benny`work [n=benny@p54AC3C35.dip0.t-ipconnect.de] has joined #agavi 17:38 < codecop> v-dogg, no, just 70% done 17:39 < v-dogg> but done with m2? 17:39 < codecop> yes 17:39 < v-dogg> ok 17:39 < codecop> works in php4 and php5 17:40 < v-dogg> that's bad if you ask me :) 17:40 -!- theoden[pl] [n=theod@ckc91.neoplus.adsl.tpnet.pl] has quit [] 17:40 < v-dogg> no new project should support php4 anymore 17:41 < codecop> :) who could know that 17:41 < v-dogg> us developers should do everything we can to make php4 disappear 17:42 < codecop> 4 years mojavi2 was ok and then just BUM! 17:44 < codecop> when project will be finished / next step will be move to agavi/ but i think it will take more time 17:44 -!- benny`work [n=benny@p54AC3C35.dip0.t-ipconnect.de] has quit [Remote closed the connection] 17:44 < v-dogg> you can make the change easier if you plan your models well now 17:45 < v-dogg> php5 compatible (as much as you can) and strictly presentation/enviroment independent 17:47 -!- Fastly [n=Fastly@81-86-145-67.dsl.pipex.com] has joined #agavi 17:48 < Fastly> hey guys.. just saw the message on agavi.org... has the new site already been designed? 17:48 < v-dogg> afaik, yes 17:48 < Fastly> cool, when is it going live? 17:48 < Wombert> it's still a couple of days away 17:48 < Wombert> maybe next week 17:49 < Wombert> definitely in time for the nov 5 0.11 rc1 release 17:49 < Wombert> digitarald: yes, gen(null) is the solution 17:49 < Fastly> sweet - can i take a peek ? ;-) 17:49 < Wombert> 5acb4ad5dd3244bd4a5f etc are routes without names 17:50 < Wombert> Fastly: http://www.kazek.pl/agavi/agavi3_1.png is an older mockup 17:50 < Wombert> not the final logo etc 17:51 < Wombert> wtf 17:51 < Wombert> something is weird here today 17:51 < v-dogg> here? 17:51 < v-dogg> there? 17:51 < v-dogg> where? 17:52 < codecop> how download newest agavi svn etc? 17:52 < v-dogg> svn checkout 17:52 < Wombert> codecop: www.agavi.org tells you :) 17:52 < Wombert> v-dogg: my box woke up from sleep for the second time 17:53 < Wombert> this week 17:53 < Wombert> the system log says it was a USB wakeup... mmhmmm 17:53 < Wombert> and 17:53 < Wombert> dunno 17:53 < Wombert> virus? xD 17:53 < Wombert> awww not on a mac! 17:53 < Wombert> <: 17:53 < v-dogg> codecop: I can check it out and send it as a tar.gz if you really really (really really) don't want to install svn 17:54 < codecop> svn cool 17:54 < codecop> no need 17:54 < codecop> thanx 17:54 < Wombert> gonna resync ISDN and DSL lines and reboot 17:54 < Wombert> brb 17:55 < v-dogg> happy syncing! 17:55 < Fastly> the site looks excellent btw.. 17:55 -!- Wombert [n=Wombert@dslb-088-064-027-016.pools.arcor-ip.net] has quit [] 18:00 -!- Wombert [n=Wombert@dslb-088-064-027-148.pools.arcor-ip.net] has joined #agavi 18:29 < splatch`> hello 18:29 < v-dogg> hi 18:29 < splatch`> how are you v-dogg? 18:30 < v-dogg> busy getting my project ready :) 18:31 < splatch`> Are you project based on Agavi 0.10 or 0.11? 18:31 < v-dogg> the bleeding edge 0.11 :) 18:32 < v-dogg> well not the very edge, currently I'm using #1148 18:35 < splatch`> i'm using trunk version 18:35 < splatch`> but my project are so slowly, 10 days and i've only one module 18:35 < v-dogg> way to go :) 18:36 < splatch`> yes, time to go :) 18:36 < v-dogg> my project speeded up last week when we promised that a few of our customers can start testing this week 18:37 < v-dogg> and today a huge client told today that they'll test by using it in production :D 18:37 < splatch`> hahaha 18:37 < v-dogg> but I don't mind 18:38 < v-dogg> just a bit more rough testing and they'll pay for it :) 18:38 -!- firmanw [n=firmanw@125.163.24.3] has quit ["Leaving"] 19:01 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 19:55 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 20:00 -!- codecop [n=tty1@85.206.205.1] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 20:06 -!- shoan [n=shoan@59.92.180.167] has joined #agavi 20:49 -!- benny`work [n=benny@p54AC3C35.dip0.t-ipconnect.de] has joined #agavi 20:49 -!- shoan [n=shoan@59.92.180.167] has quit [] 21:08 < Wombert> splatch`: did you hear from kazek? :) 21:15 -!- AgaviBot [n=dzuelke@dslb-088-064-027-148.pools.arcor-ip.net] has joined #agavi 21:21 -!- shoan [n=shoan@59.92.180.167] has joined #agavi 21:42 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 22:04 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 22:04 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1166 : Changeset [1166]: BREAKING CHANGE: output_tyes.xml syntax changed, assigns are now just … 22:20 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:41 < digitarald> yeah ... more breaking changes ;) 22:42 < impl> b0rk b0rk b0rk 22:42 < Wombert> as you may have noticed 22:42 < kaos> yeah, you see, release is coming closer ;) 22:42 < Wombert> it's only the config file syntax 22:59 < splatch`> Wombert: kazek is currently offline 23:00 < splatch`> Wombert: he ISP is very poor 23:57 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 23:57 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1167 : Changeset [1167]: added ICU license and copyright information in preparation for the … 23:58 < impl> Oh boy! It's coming, it's coming! --- Day changed Fri Oct 20 2006 00:00 < splatch`> what it's coming? 00:07 < splatch`> Wombert: translate index to polish? :) 00:18 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 00:18 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1168 : Changeset [1168]: fix routing tests 00:21 < Wombert> splatch`: yes, please! 00:23 < splatch`> Wombert: check your email, please 00:24 < splatch`> Wombert: you'll store an video from agavi presentation on phpconf? 00:29 < splatch`> Wombert: you got my mail? 00:29 < splatch`> *Do you 00:35 < Wombert> yep got it, splatch` 00:35 < Wombert> thank you! 00:35 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 00:35 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1169 : Changeset [1169]: added polish version of IndexSuccess?.php 00:35 < splatch`> no problem :) 00:37 < Wombert> splatch`: "Login" is still "Login"? 00:38 < Wombert> in messages_pl.po 00:38 < splatch`> in form yes 00:38 < Wombert> in the menu 00:38 < splatch`> should be "Logowanie" 00:39 < splatch`> Wombert: what's my fault, i forgot about this 00:39 < splatch`> *that's 00:41 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 00:41 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1170 : Changeset [1170]: fixed polish translation 00:42 < Wombert> splatch`: no problem :) 00:44 < splatch`> Wombert: you'll store an video from agavi presentation on phpconf? 00:44 < Wombert> ah 00:44 < Wombert> sorry 00:44 < Wombert> no! :) 00:44 < Wombert> I won't present it in a session at the conference 00:44 < Wombert> but I'll show it to as many people as I can 00:45 < Wombert> http://phpconference.com/konferenzen/psecom,id,470,nodeid,470,_language,uk.html 00:45 < Wombert> these are the offical sessions 00:45 < Wombert> but of course people are always sitting together dicussing etc 00:45 < Wombert> and I'll bring it up to anyone who's interested 00:45 < Wombert> I'll also put up a note on my blog and on the agavi site a couple of days before the conference begins 00:46 < splatch`> Agavi - orange power :) 00:46 < Wombert> I'll meet with Hans Lellelid (the Propel founder) the day before the conference begins and show him the framework, too (he started using it this week) 00:46 < Wombert> I hope he will spread the word, too :) 00:46 < Wombert> dominik is almost finished with the date stuff 00:47 < Wombert> looks like we will really make it on or before november 5 hooray 00:47 < splatch`> i can give some feedback on my blog 00:47 < Wombert> :) 00:47 < Wombert> but! 00:47 < Wombert> don't do it before we have a website 00:47 < splatch`> Wombert: sure 00:48 < splatch`> Wombert: i'll wrote a big post about changes and new stuff 00:48 < Wombert> :) 00:49 < splatch`> we'll fought and we'll won! 00:50 < splatch`> no more cakes and symfonies, orange power! :] 00:51 < Wombert> yeah 00:51 < splatch`> Wombert: orange revolution 00:51 < Wombert> we'll _so_ rock them 00:51 < Wombert> haha :) 00:55 < splatch`> Wombert: Do you thought about commercial support for agavi 00:55 < Wombert> I did, yes 00:55 < splatch`> trainings? 00:55 < Wombert> I didn't have time yet to sit down with dominik and discuss it 00:55 < Wombert> yeah trainings and maybe email support... but that is very time intensive and yoiu need skilled people 00:56 < Wombert> who do the support 00:56 < Wombert> trainings are easier 00:56 < splatch`> i can do support in poland :) 00:56 < Wombert> :) 00:56 < splatch`> but you'll must stay on irc 00:57 < Wombert> yes 00:57 < Wombert> of course 00:57 < Wombert> :) 00:58 < splatch`> Wombert: i'm sure, after my current project i can do commercial and non-commercial support in Poland 00:58 < Wombert> if you like, sure :) 00:58 < Wombert> that's all up to you 01:01 < splatch`> Wombert: but you can make a small not on the foot "if you're looking for .. :)" 01:01 < splatch`> very, very small :] 01:02 < Wombert> splatch`: we'll likely have a "commercial support" page on the website 01:02 < splatch`> Wombert: inflector in Propel 1.2 sucks 01:02 < Wombert> in the "getting help" document 01:02 < Wombert> splatch`: it doesn't have inflection 01:02 < Wombert> propel2 _might_ get it 01:03 < Wombert> propel always adds "s" to the end 01:03 < splatch`> yes, thats sux ;] 01:03 < splatch`> getPhotoss 01:03 < splatch`> getWaterMarkss 01:03 < splatch`> blah 01:03 < splatch`> Wombert: why propel doesn't have an bigger commit? 01:04 < Wombert> splatch`: Hans and I are usually very busy and don't have much time 01:04 < Wombert> splatch`: aah no! 01:04 < Wombert> you have to use singular form for tables! 01:04 < Wombert> $book = new Book() 01:04 < Wombert> see? 01:04 < Wombert> $book = new Books() that doesn't make sense 01:04 < splatch`> Wombert: no i don't do that 01:04 < Wombert> splatch`: yes you have to do that 01:05 < Wombert> splatch`: you can override the php class name if you want your table in plural form! 01:05 < Wombert> <table name="photos" phpName="Photo" 01:05 < splatch`> polish school says: 01:05 < splatch`> entity: prular 01:05 < splatch`> attributes: singular 01:06 < Wombert> yes okay 01:06 < Wombert> for the table name 01:06 < Wombert> BUT 01:06 < Wombert> then give it a singular php name 01:06 < splatch`> not for object :] 01:06 < Wombert> $book = new Book(); 01:06 < Wombert> that makes sense 01:06 < Wombert> no, that's clearly wrong 01:06 < Wombert> $book = new Books()... you create one book, not many books! 01:07 < splatch`> Wombert: yes, but i using creole target 01:07 < splatch`> and don;t using schema as is 01:07 < splatch`> *dont use 01:07 < Wombert> splatch`: then edit the schema and add phpNames for it 01:07 < splatch`> maybe in next week :) 01:07 < splatch`> now, i must back to work 01:08 < Wombert> and I'll hit the sack now 01:08 < Wombert> good night 01:08 < splatch`> kazek will show logo today :] 01:09 < Wombert> splatch`: oh! cool 01:09 < Wombert> splatch`: please ask him to email it to me 01:09 < Wombert> I'll reply as soon as I can in the morning 01:10 < splatch`> Wombert: done, you'll got logo 01:11 < Wombert> splatch`: perfect! 01:11 < Wombert> thanks 01:11 < Wombert> good night 01:11 < splatch`> night! 01:12 -!- AgaviBot [n=dzuelke@dslb-088-064-027-148.pools.arcor-ip.net] has quit [Remote closed the connection] 01:12 -!- Wombert [n=Wombert@dslb-088-064-027-148.pools.arcor-ip.net] has quit [] 02:43 -!- benny`work [n=benny@p54AC3C35.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:13 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 05:44 -!- [1]eremit [n=eremit@p5490C359.dip.t-dialin.net] has joined #agavi 06:02 -!- eremit [n=eremit@p5490C037.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 06:02 -!- [1]eremit is now known as eremit 06:42 < v-dogg> huomenta 07:25 -!- Wombert [n=Wombert@dslb-088-064-027-148.pools.arcor-ip.net] has joined #agavi 07:27 < Wombert> duuudes? 07:27 < Wombert> :) 07:27 < Wombert> http://kazek.pl/_logo1.png 07:27 < Wombert> kazek likes the second from the right best, and I agree 07:28 < Wombert> he also says the middle white logo thing is a specialversion for documentation or so and I think it'd be nice to have this one somewhere sometimes :) 07:40 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:16 < shoan> Wombert: I like the black one 08:16 < shoan> the white one looks very osx inspired 08:17 < Wombert> the white one is for "special" occasions 08:17 < Wombert> such as on promo material or so 08:17 < Wombert> we'll use the black version 99% of the time 08:17 < Wombert> (but as white on orange, or orange on white, I guess) 08:17 < Wombert> which font version do you like best, shoan ? 08:17 < shoan> let me check 08:18 < Wombert> to make it simple for you, it's either gonna be second or third from right :) 08:18 < Wombert> the others suck a bit 08:18 < shoan> yeah 08:18 < Wombert> he like the second from right best 08:18 < Wombert> I'm not sure 08:18 < shoan> you just echoed me 08:18 < Wombert> really can't decide 08:19 < Wombert> the second one is pretty narrow... hmm 08:19 < Wombert> but it doesn't look as "average" as the one to the left, does it 08:26 < shoan> i think we need more alternatives :) 08:29 < Wombert> so you don't like either much? 08:30 < shoan> not really, I can't decide between the too 08:30 < shoan> *two 08:38 < Wombert> heh okay :) 08:38 < Wombert> gotta run, must hit the autobahn before traffic gets too nasty 08:38 < Wombert> bbl 08:38 -!- Wombert [n=Wombert@dslb-088-064-027-148.pools.arcor-ip.net] has quit [] 09:31 -!- eremit [n=eremit@p5490C359.dip.t-dialin.net] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"] 09:40 -!- raidman [n=raidman@213.207.212.209] has joined #agavi 09:40 -!- raidman is now known as raidman|Tehran 09:41 < raidman|Tehran> morning :) 09:45 < digitarald> Morning fellows ... 09:45 -!- digitarald is now known as digitarald|Spain 09:46 < digitarald|Spain> ;) 09:52 -!- eremit [n=eremit@server1.adm1n.de] has joined #agavi 10:05 -!- digitarald|Spain is now known as digitarald 10:05 -!- raidman [n=raidman@213.207.212.209] has joined #agavi 10:06 < shoan> morn 10:16 -!- raidman|Tehran [n=raidman@213.207.212.209] has quit [Read error: 110 (Connection timed out)] 10:23 -!- raidman is now known as raidman|Tehran 10:26 < raidman|Tehran> _ 10:26 < raidman|Tehran> /\ (_) 10:26 < raidman|Tehran> / \ __ _ __ ___ ___ 10:26 < raidman|Tehran> / /\ \ / _` |/ _` \ \ / / | 10:26 < raidman|Tehran> / ____ \ (_| | (_| |\ V /| | 10:27 < raidman|Tehran> __/ | 10:27 < raidman|Tehran> |___/ 10:27 < raidman|Tehran> ------------------ 10:27 < raidman|Tehran> __ ___ __ _ _ ____ 10:27 < raidman|Tehran> /__\ / __) /__\( \/ )(_ _) 10:27 < raidman|Tehran> /(__)\( (_-. /(__)\\ / _)(_ 10:27 < raidman|Tehran> (__)(__)\___/(__)(__)\/ (____) 10:27 < raidman|Tehran> ------------------ 10:27 < raidman|Tehran> wow --> http://www.network-science.de/ascii/ 10:27 < eremit> yeah ... 10:28 < eremit> didn't knew ascii art or that site ? 10:29 < raidman|Tehran> no I found it a couple of minutes ago 10:30 < eremit> there are several of these sites in the net ^^ 10:30 < eremit> even gif -> ascii converters 10:31 < raidman|Tehran> cool 10:32 < raidman|Tehran> let me guess, you are ascii artist :) 10:32 < eremit> lol i was some years ago ... during the shiny bbs times ... where normal user internet connections where not existant 10:33 < eremit> and fido + usenet was the best you could archive 10:35 < raidman|Tehran> really, Can I ask a question? 10:35 < raidman|Tehran> what's your age? 10:35 < raidman|Tehran> I'm 24 10:35 < eremit> 29 ... 10:35 < eremit> had the first modem about 16 yrs ago :) 10:35 < digitarald> oh 10:35 < digitarald> my 10:35 < digitarald> god 10:35 < digitarald> ;) 10:36 < eremit> it was a 2400bps ibm modem .. 10:36 < eremit> you had to dial by hand and press a key on the phone to hand out the connection you made to the modem :D 10:36 < raidman|Tehran> interesting 10:36 < eremit> was funny 10:38 < digitarald> somebody here ... can i use $routing->gen(null) and delete some parameters? 10:38 < eremit> raidman .. you know this kind of modems? http://en.wikipedia.org/wiki/Image:Acoustic_coupler_20041015_175456_1.jpg 10:38 < digitarald> he is using always all parameters 10:38 < eremit> :P 10:38 < eremit> digitarald, ? what do you wanna archive ? 10:40 < raidman|Tehran> eremit: :>>>>>>>>>>>>>> 10:40 < digitarald> i have a pagination-class ... i want to delete the select-page parameter when creating the link for change-items-per-page 10:41 < eremit> but what do you expect $routing->gen(null) to return ? 10:43 < digitarald> gen(null) takes the matchedRoutes and all request parameters ... so actually its generating the requestes url (incl. all post vars) 10:43 < digitarald> so gen(null, array('gotoPage' => 1) ) overwrites the eventually given gotoPage request parameter 10:44 < digitarald> i just discovered the gen(null) feature yesterday :D 10:45 < digitarald> the problem is, i want to delete the eventually given gotoPage from the generated url and dont want to set him new 10:46 < eremit> uh ... 10:46 < eremit> sorry, there i can't help :/ 10:47 < v-dogg> digitarald: you can delete parameters with ->get('name', array('param1'=>null)); 10:48 < digitarald> null, ok 10:48 < digitarald> an option would be cool that can disable the appending of given parameters 10:48 < digitarald> AgaviWebRouting.php#199 10:50 < digitarald> pros/cons? 10:52 < v-dogg> I have never had use for such a feature 10:54 < digitarald> thats so cool ... routing ... i love it ... my link-generating-whore :D 10:55 -!- Wombert [n=Wombert@e062.tum.vpn.lrz-muenchen.de] has joined #agavi 10:55 < shoan> Wombieeeeee 10:57 < Wombert> shoaaaaan 10:57 < Wombert> sup 10:57 < shoan> diwali :) 10:58 < Wombert> what's that 10:58 < Wombert> digitarald: 'param' => null 10:58 < Wombert> explicitly deletes it 10:59 < Wombert> the whole point of gen(null) is that it even includes query string arguments 11:00 < shoan> Wombert: http://en.wikipedia.org/wiki/Diwali 11:01 < Wombert> oO 11:01 < Wombert> :) 11:01 < Wombert> well, happy diwali then :D 11:02 < shoan> Thank you. Wish you the same :) 11:02 < Wombert> :D 11:08 * Wombert yawns 11:08 < Wombert> right uhm... 11:08 < Wombert> see you guys later :) 11:09 < Wombert> eremit, digitarald, v-dogg: your thoughts on the logo font please 11:09 < digitarald> 2th or 3th from left 11:09 < Wombert> second or third from the right, that's the question 11:09 < Wombert> from left? 11:09 < digitarald> ;) 11:09 < digitarald> right 11:09 < Wombert> k 11:09 < Wombert> I can't decide either, and I'd like to tell kazek our decision as soon as I can 11:09 < digitarald> can u repost the url, plz? 11:10 < Wombert> so we should settle for one tonight if possible 11:10 < Wombert> mmh 11:10 < Wombert> NOOOOOOO 11:10 < Wombert> I didn't press control-c before I closed the browser 11:10 < Wombert> ahah 11:10 < Wombert> well 11:10 < Wombert> I can't be arsed to open the logs again 11:11 < digitarald> i can search it in history ;) 11:11 < Wombert> do it yoirself please 11:11 < Wombert> thanks 11:11 < Wombert> see ya later 11:11 < digitarald> http://kazek.pl/_logo1.png 11:11 < digitarald> 3th from right has my vote 11:12 < digitarald> more space between chars looks better 11:12 < digitarald> eremit, v-dogg, your thoughts ;) 11:15 < eremit> 2nd from the left i would like if the G wouldn'T be that big ... 11:16 < digitarald> thats a good point ... its really a little bit outstanding 11:25 < v-dogg> 2nd from the left would be my choice too 11:25 < digitarald> 2nd from the right for me by now ;) 11:26 -!- Wombert [n=Wombert@e062.tum.vpn.lrz-muenchen.de] has quit [Read error: 110 (Connection timed out)] 11:28 < raidman|Tehran> shoan: happy diwali :) 11:38 < shoan> raidman|Tehran: wish you the same :) 11:40 < digitarald> anybody tried the new ie7 and like him? 11:54 -!- raidman|Tehran [n=raidman@213.207.212.209] has quit [Read error: 110 (Connection timed out)] 11:54 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:55 -!- raidman|Tehran [n=raidman@213.207.212.209] has joined #agavi 11:58 -!- Wombert [n=Wombert@129.187.51.23] has joined #agavi 12:12 -!- Wombert [n=Wombert@129.187.51.23] has quit [] 12:18 -!- raidman|Tehran [n=raidman@213.207.212.209] has quit [Read error: 110 (Connection timed out)] 12:21 -!- raidman|Tehran [n=raidman@213.207.212.209] has joined #agavi 12:31 -!- epaulin [n=epaulin@61.191.26.228] has left #agavi ["Leaving"] 12:35 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 13:11 -!- codecop [n=tty1@85.206.207.104] has joined #agavi 13:15 -!- Wombert [n=Wombert@e211.tum.vpn.lrz-muenchen.de] has joined #agavi 13:23 < digitarald> Wombert, all voted 2nd from the right 13:23 < Wombert> k 13:23 < Wombert> so the one with the narrow font? 13:23 < digitarald> yes ... the G in the 3th is too big 13:24 < Wombert> okay 13:24 < Wombert> I 13:25 < Wombert> I'll tell kazek 13:26 < Wombert> everyone please test http://trac.agavi.org/changeset/1172 13:26 < Wombert> bbl 13:26 -!- Wombert [n=Wombert@e211.tum.vpn.lrz-muenchen.de] has quit [] 13:27 -!- raidman|Tehran [n=raidman@213.207.212.209] has quit [Read error: 110 (Connection timed out)] 13:28 -!- raidman [n=raidman@213.207.212.209] has joined #agavi 13:47 < digitarald> i'm using 1.2 ... is 1.3 a useable trunk? 13:52 < shoan> 1.3 didn't work for me 13:52 < shoan> atleast the generator part of it was broken 13:53 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 13:57 < digitarald> same for me 13:58 -!- raidman [n=raidman@213.207.212.209] has quit [Read error: 110 (Connection timed out)] 14:02 -!- raidman [n=raidman@213.207.212.209] has joined #agavi 14:35 -!- Wombert [n=Wombert@dslb-088-064-027-148.pools.arcor-ip.net] has joined #agavi 14:35 < Wombert> re fellas 14:35 < Wombert> 'sup 14:35 < Wombert> anyone tried the new AgaviPropelDatabase yet? 14:47 < splatch`> new? 14:47 < Wombert> yeah I changed it quite a lot 14:47 < Wombert> now supports propel 1.3 etc 14:47 < Wombert> digitarald, shoan: if possible I'd also like to hear if you have any trouble with it in combination with 1.2 14:52 < digitarald> is propel trunk 1.3 still broken? 14:53 < Wombert> broken... is relative 14:53 < Wombert> it works 14:53 < Wombert> but it uses pdo 14:53 < Wombert> and columns are always returned as strings right now IIRC 15:00 < digitarald> tested ... no problems 15:02 < Wombert> great 15:15 -!- raidman is now known as raidman|Away 15:47 < splatch`> Wombert: agavi sets include path to lib 15:47 < splatch`> modules/foo/lib 15:49 -!- raidman|Away [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 15:52 -!- splatch [i=splatch@kazad.be] has joined #agavi 15:52 -!- raidman|Away [n=raidman@213.207.212.209] has joined #agavi 15:52 < splatch> sorry wombert, my session was crashed 15:53 < Wombert> splatch: where does it set that? :( 15:54 < splatch> in modules are the lib directory 15:54 < digitarald> agavi is setting an include path? 15:55 < splatch> no 15:55 < splatch> include_once AgaviConfig::get('core.app_dir') .'/modules/Position/lib/BaseInputView.class.php'; 15:55 < splatch> the currently path 15:56 < splatch> with include path can be "BaseInputView.class.php" 15:58 -!- firmanw [n=firmanw@125.163.36.13] has joined #agavi 15:59 < splatch> does FPF supports select fields? 15:59 < v-dogg> yes 16:03 < splatch> hm, for add actions it works 16:03 < splatch> but with edit 16:03 < splatch> where I set parameters for FPF 16:03 < splatch> i haven't slected options 16:04 < splatch> <select name="water_mark_position_option_two" id="fe-water_mark_position_option_two"> 16:04 < splatch> and after this options 16:04 < splatch> <option value="0">blabla</options> 16:04 < splatch> and others 16:04 < splatch> they're setting errors 16:05 < splatch> but doesn't set the selected attribute 16:05 -!- epaulin [n=epaulin@218.22.2.93] has quit [Read error: 104 (Connection reset by peer)] 16:05 < splatch> any ideas? :) 16:07 < splatch> http://phpfi.com/165738?lang=html my template 16:07 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:15 -!- splatch [i=splatch@kazad.be] has quit ["leaving"] 16:16 -!- splatch [i=splatch@kazad.be] has joined #agavi 16:16 -!- splatch` [i=splatch@kazad.be] has quit ["leaving"] 16:22 < Wombert> splatch: hmm maybe a bug 16:22 < splatch> i'll check it 16:23 < splatch> ach 16:24 < splatch> descendant::html:option 16:25 < splatch> /html:option[@value=$val] ? 16:27 < Wombert> no 16:27 < Wombert> the code seems correct 16:27 < Wombert> I'll have a look 16:28 < splatch> string(1) "0" int(1) bool(false) 16:28 < splatch> string(1) "8" int(1) bool(false) 16:28 < splatch> string(1) "7" int(1) bool(false) 16:28 < splatch> string(1) "2" int(1) bool(false) 16:28 < splatch> string(1) "3" int(1) bool(false) 16:28 < splatch> string(1) "5" int(1) bool(false) 16:28 < splatch> string(1) "0" int(2) bool(false) 16:28 < splatch> string(1) "9" int(2) bool(false) 16:28 < splatch> string(2) "10" int(2) bool(false) 16:28 < splatch> string(1) "4" int(2) bool(false) 16:28 < splatch> string(1) "1" int(2) bool(false) 16:29 < splatch> string(1) "6" int(2) bool(false) 16:29 < splatch> option value, parameter value, condition result 16:29 < splatch> i've two selects 16:29 < splatch> omg 16:29 < splatch> i so stupid 16:30 < Wombert> ? 16:30 < Wombert> in the template they have different names 16:30 < splatch> yes 16:30 < splatch> http://phpfi.com/165738?lang=html 16:30 < splatch> the template 16:31 < splatch> hm 16:31 < splatch> maybe my mistake 16:31 < splatch> replaced values and selects 17:19 -!- benny`work [n=benny@p54AC3C14.dip0.t-ipconnect.de] has joined #agavi 17:25 < shoan> looks like we are getting pretty popular 17:26 < shoan> lots of new ppl in here today 17:26 < splatch> Total of 18 nicks :) 17:33 < epaulin> yeah, Agavi rocks, 17:34 < Wombert> :) 17:35 < raidman|Away> hey firmanw, what's up :) 17:35 < raidman|Away> hi guys 17:35 < raidman|Away> hi Wombert :) 17:35 < epaulin> hi 17:35 < raidman|Away> epaulin: :) 17:35 -!- raidman|Away is now known as raidman 17:36 -!- raidman is now known as raidman|Tehran 17:36 < raidman|Tehran> yeah yeah agavi rocks :) 17:36 < splatch> hello world! 17:37 < raidman|Tehran> splatch: hi :) 17:38 < splatch> oi raidman|Tehran! 17:38 < splatch> where's tehran? ;> 17:38 < raidman|Tehran> :>>>>>>>>>>>>>>>>>> 17:38 -!- shoan_ [n=shoan@59.92.148.165] has joined #agavi 17:42 -!- HRN [n=jonny@nl105-252-221.student.uu.se] has left #agavi [] 17:44 -!- raidman|Tehran is now known as raidman|Away 17:44 < splatch> raidman|Away: look out, bomb! :) 17:44 < raidman|Away> heh :) 17:48 -!- shoan [n=shoan@59.92.180.167] has quit [Read error: 110 (Connection timed out)] 17:50 < Wombert> benny`work, codecop, digitarald, epaulin, eremit, Fastly, firmanw, jake, kaos, Kubicek, raidman|Away, shoan_, splatch, ttj and v-dogg 17:50 < Wombert> vote please 17:50 < Wombert> http://kazek.pl/_logo1.png 17:50 < Wombert> which font style do you prefer 17:50 < Wombert> tell me the number starting from the LEFT 17:50 < Wombert> 1, 2, 3, 4 or 5 17:51 < epaulin> second from left 17:51 < splatch> 2 17:51 < eremit> 2 (with a smaller G) || 5 17:51 < epaulin> Ooops, 3 17:51 -!- firmanw [n=firmanw@125.163.36.13] has quit ["Leaving to the mars"] 17:51 -!- raidman|Away [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 17:52 < ttj> Is 2 just a scaled down version of 1? 17:52 < Wombert> yes I think so 17:52 < Wombert> I must say I don't like this font much 17:53 < ttj> 1 or 5. 17:53 < Wombert> eww 17:53 < ttj> Well, you wanted us to vote. ;-) 17:54 < Wombert> yeah 17:54 < Wombert> sure :) 17:55 < ttj> With 3 and 4 the font is too "tight", cramped. 17:56 < ttj> IMO. 17:56 < Wombert> true 17:56 < Wombert> I don't like 1 and 2 because... well the font stinks 17:56 < Wombert> 5 would be okay if it wasn't for that fugly "G" 17:57 < ttj> Who did these? 17:57 < Wombert> kazek, splatch's designer friend 17:58 < ttj> Oh, cool. 17:59 -!- Wombert [n=Wombert@dslb-088-064-027-148.pools.arcor-ip.net] has quit [Nick collision from services.] 17:59 -!- Wombert [n=Wombert@dslb-088-064-024-021.pools.arcor-ip.net] has joined #agavi 18:07 < splatch> hm.. can validators throw exceptions 18:07 < splatch> when xinclude fails? 18:07 < Wombert> it's intentional that they don't throw errors 18:08 < splatch> any parameter to do this? :] 18:08 < Wombert> no 18:08 < Wombert> they never throw errors 18:08 < Wombert> you can use a failure tag and insert an invalid tag or so 18:08 < splatch> :) 18:08 < splatch> prothesis 18:09 < Wombert> <xi:fallback> 18:09 < Wombert> hmmm 18:09 < Wombert> but 18:09 < Wombert> you might be right 18:09 < Wombert> let me check something 18:13 < Wombert> splatch: I'm fixing this 18:14 < splatch> Wombert: minds - exceptions? :) 18:32 -!- AgaviBot [n=dzuelke@dslb-088-064-024-021.pools.arcor-ip.net] has joined #agavi 18:36 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 18:36 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1173 : Changeset [1173]: E_STRICT fixes for gettext .mo reader 18:38 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 18:38 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1174 : Changeset [1174]: XInclude fatal errors (XInclude fails and no xi:fallback tag present) now … 18:38 < Wombert> there you go, splatch 18:39 < splatch> thank you Wombert :* 18:40 < Wombert> you're welcome 18:42 < v-dogg> Wombert: wrt logo, second from the _left_ (wight maybe slightly smaller G), solid black flower for normal use, fancy flower for special cases 18:43 < Wombert> yes that was the idea, fancy flower for special occasions only (I understand it's a work in progress, he mentioned that the leave still suck etc) 18:43 < Wombert> but I must say I really, really don't like the font 18:43 < v-dogg> second from the right is ok too, but little too tight/narrow 18:43 < Wombert> it's too curvy and all don't you think 18:43 < Wombert> doesn't look any professional or whatever 18:44 < Wombert> it much rather looks like we got a decent logo and then someone fired up MS paint and chose the font his girlfriend found "cutest" or whatever 18:44 < Wombert> know what I'm saying? 18:44 < v-dogg> second from the right looks like ARIAL squeezed ;) 18:44 < v-dogg> but it's ok too 18:45 < Wombert> I guess I gotta ask him for more alternatives 18:45 < v-dogg> gotta go now, see you next week 18:45 < Wombert> uuuh 18:45 < Wombert> okay 18:45 < splatch> cU 18:53 -!- splatch [i=splatch@kazad.be] has quit ["Lost terminal"] 18:59 < benny`work> Wombert, 2 19:12 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 19:33 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 19:33 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1175 : Changeset [1175]: bugfixes, E_STRICT fixes, tests fixes (they are now run in E_STRICT). … 19:57 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 19:57 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1176 : Changeset [1176]: fixed tests for good 20:12 -!- splatch [i=splatch@kazad.be] has joined #agavi 20:29 -!- codecop [n=tty1@85.206.207.104] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 22:16 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 23:05 -!- raidman [n=raidman@213.207.212.209] has joined #agavi 23:32 -!- raidman [n=raidman@213.207.212.209] has quit [Read error: 110 (Connection timed out)] --- Day changed Sat Oct 21 2006 01:02 < Wombert> re 01:19 < ttj> gards 01:20 < ttj> Didn't lose my wallet! /o/ 01:20 < Wombert> yeah it was in the fridge wasn't it 01:21 < ttj> Not even. 01:21 < ttj> It was in my pocket. And I put it onto the table. 01:22 < Wombert> and that took you a week to figure out? :D 01:22 < Wombert> or did you lose it again 01:22 < ttj> Nope. 01:22 < ttj> Come on, you silly middle-European. 01:24 < Wombert> so it wasn't in the fridge? :( 01:24 < ttj> Not this time. 01:25 < ttj> As said, I never lost it a second time. \o\ 01:25 < Wombert> uh 01:25 < Wombert> uuuuh? 01:25 < Wombert> oO 01:25 < ttj> I'm going to be all responsible and shit. :P 01:27 * Wombert scratches head 01:28 < Wombert> responsible for what? oO 01:28 < Wombert> what are you talking about man :D 01:29 < ttj> Oh right, I've had too little to drink. 01:29 < ttj> Have to rectify that. 01:44 < impl> Wombert: How 'come AgaviPropelDatabase doesn't use Creole anymore? 01:45 < Wombert> it does 01:45 < Wombert> but it doesn't extend CreoleDatabase anymore 01:45 < Wombert> because Propel 1.3 uses PDO 01:45 < Wombert> so I had to re-do it 01:45 < impl> Ahhh 01:45 < impl> Gotcha 01:45 < Wombert> and I must say I love the way I tricked PHP into autoloading Propel's stuff via it's own autoloader 01:46 < Wombert> (for 1.3) 01:46 < Wombert> but I'm motherfucking depressed right now 01:47 < impl> Why's that? 01:47 < Wombert> I'm not sure yet 01:47 < Wombert> the evening started rather good 01:47 < Wombert> buuuuut 01:47 < Wombert> the party sucke 01:47 < Wombert> d 01:47 < Wombert> which is why I was back home before midnight 01:47 < Wombert> imagine that 01:47 < Wombert> wanna know why? 01:48 < Wombert> because I'm studying at Nerd University 01:48 < Wombert> and it was a university party 01:48 < Wombert> ewwwww 01:48 < impl> Aww... :P 01:48 < Wombert> why the fuck am I studying Computer Sciences anyway 01:48 < impl> I was always under the impression CS was a dying field 01:48 < ttj> Haha. 01:48 < Wombert> no 01:48 < ttj> No chanc.e 01:48 < ttj> Wombert: What you study doesn't really affect anything. 01:49 < Wombert> pardon? 01:49 < Wombert> you must be joking 01:49 < ttj> 01:48 < Wombert> because I'm studying at Nerd University 01:49 < ttj> What should that have to do with partying? 01:50 < Wombert> nothing 01:50 < Wombert> unless the party is a university party 01:50 < Wombert> I'm studying http://en.wikipedia.org/wiki/Technical_University_of_Munich there 01:50 < Wombert> the other university in munich is http://en.wikipedia.org/wiki/Ludwig_Maximilians_University_of_Munich 01:51 < Wombert> 32% vs 62% females 01:51 < Wombert> go figure 01:51 < ttj> When I was a freshman, the total amount of freshmen for the comp.sci. dept. was 140. Guess how many females? 01:51 < Wombert> 2? 01:51 < ttj> 4. 01:52 < ttj> One quit right away. 01:52 < Wombert> yeah that would be about the ratio we get there 01:52 < ttj> One I never saw. 01:52 < Wombert> it's not just about the girls either 01:52 < ttj> One I dated for a while. 01:52 < Wombert> it's about this entire.. CS... thing 01:52 < ttj> And don't really know about the fourth one. 01:52 < Wombert> a lot of the guys are just weird or sociopathic 01:53 < Wombert> + low girls ratio 01:53 < ttj> So? We have those here, too. 01:53 < Wombert> + > 1hr to go there 01:53 < Wombert> + the f***ing maths 01:53 < Wombert> => I'm not exactly happy with the overall situation 01:53 < Wombert> it's not like I'm saying "uuuh these guys are fucking nerds I hate em they suck" 01:53 < Wombert> it's not like that at all 01:53 < Wombert> after all, I'm a CS student, too 01:53 < Wombert> it's... 01:54 < ttj> So any specific thing except for the lack of girls, the amount of sociopaths, and the math courses? 01:54 < Wombert> how should I explain that 01:54 < Wombert> look 01:55 < Wombert> I used to be what you could describe as an average nerd 01:55 < Wombert> geek 01:55 < Wombert> computer guy type of person 01:55 < Wombert> okay wait 01:55 < Wombert> not a nerd 01:55 < Wombert> anyway 01:56 < splatch> aff 01:56 < Wombert> I find it rather difficult to... you know... find people on my wavelength 01:56 < splatch> You are trying to overwrite a route but are not staying in the same hierarchy 01:56 < Wombert> among these CS students 01:56 < splatch> help me, please! :| 01:56 < Wombert> splatch: huuuuh? oO is that an error message 01:56 < splatch> yes 01:56 < ttj> Wombert: I know precisely what you mean. 01:56 < splatch> from routing 01:56 < Wombert> ttj: what I'm saying is that... differenc circumstances would motivate me a lot more 01:56 < Wombert> splatch: what is causing this? 01:57 < ttj> What I do is just keep various different types of friends. 01:57 < Wombert> ttj: I need to be among... social people 01:57 < splatch> at exception origin 01:57 < splatch> in core.agavi_dir/routing/AgaviRouting.class.php line 197 01:57 < Wombert> splatch: the code that causes it I mean 01:57 < splatch> at exception origin 01:57 < splatch> in core.agavi_dir/routing/AgaviRouting.class.php line 197 01:57 < ttj> The guys at the school for school related stuff, then the guys at work, then the people who I've known forever, etc. 01:57 < ttj> Nice balance. 01:57 < Wombert> ttj: yeah sure 01:58 < splatch> Wombert: i moved my project from local disc to server 01:58 < impl> I guess it's kinda sad when you think and you can say you really don't have one true friend 01:58 < Wombert> I do! 01:58 < Wombert> that's not the matter 01:58 < splatch> and routing give me that exception 01:58 < impl> Oh, well, I don't :( 01:58 < impl> You're one up on me there, pal 01:58 < impl> ;p 01:58 < Wombert> I mean 01:59 < Wombert> I used to think I have one _true_ friend 01:59 < Wombert> but if you think about it... it's not always and forever the same person 01:59 < ttj> Yeah. I don't have that problem. I'm a cynic. :P 01:59 < Wombert> my "best" friend is someone I've known for a long, long time 01:59 < Wombert> but recently I didn't see him very often or whatever 01:59 < Wombert> and so... you know 01:59 < splatch> This is an internal Agavi exception. Please consult the documentation for assistance with solving this issue. 01:59 < splatch> :) 01:59 < Wombert> he's not the #1 person I talk to about everything 02:00 < Wombert> splatch: show me your routing.xml please 02:00 < ttj> Sounds like you need an SO or something to boss you around. :P 02:00 < Wombert> SO? 02:01 < ttj> Significant Other. 02:01 < Wombert> you know what I _desperately_ need? 02:01 < Wombert> a girlfriend 02:01 < Wombert> oh 02:01 < Wombert> yes 02:01 < Wombert> you bet 02:01 < splatch> Wombert: standard routing file 02:01 < splatch> in one place works, in another doesn't works 02:01 < splatch> project are in root dir 02:01 < Wombert> splatch: debug mode etc? 02:01 < splatch> debug=on 02:01 < Wombert> ttj: that's another issue 02:02 < Wombert> I don't have that "balance" a relationship gives you 02:02 < splatch> Wombert: here's my routing http://phpfi.com/165927 02:02 < ttj> I don't either. But that's usually because of my general cynicism that tends to drive people away. When I'm not dating, I just work more. :P 02:02 < ttj> I know, that may not be healthy, but works for me. :P 02:02 < Wombert> I try that, too 02:03 < Wombert> I can't even say what exactly drags me down right now 02:03 < ttj> When's the last time you've had a vacation? 02:03 < Wombert> you should become a shrink dude 02:04 < Wombert> rather long ago 02:04 < Wombert> I realize that's one of the problems 02:04 < ttj> Well, this is sort of easy. You're not that different from me. ;-) 02:04 < Wombert> heh :) 02:04 < ttj> And I spent a year a couple of years back wondering WTF I was doing. :-) 02:04 < Wombert> splatch: hmm this is very, very weird. your file works for me 02:05 < splatch> for me too 02:05 < splatch> // throw AgaviException 02:05 < splatch> and works 02:06 < Wombert> ttj: don't wanna do that really ;) 02:06 < ttj> Yeah, I know. But it helped me figure stuff out and sometimes you just have to do that. 02:08 < splatch> Wombert: that's very strange exception 02:08 < splatch> that's like like routes conflict 02:08 < Wombert> splatch: it must be something about the php version or so 02:08 < Wombert> yes, exactly 02:08 < splatch> maybe / and ^/ 02:08 < Wombert> it would happen when you have to <configuration> blocks with routes 02:08 < Wombert> and you re-define a route by giving it the same name 02:09 < Wombert> but without the same tree structure 02:09 < Wombert> ttj: oh well 02:09 < splatch> Wombert: not today, not tommorow 02:11 < Wombert> anyway 02:11 < Wombert> I'll go have a beer or so with a mate 02:11 < Wombert> catch ya later 02:11 < Wombert> thanks for the conversation, ttj 02:11 < ttj> Yeah, no problem. 02:11 < ttj> You know, you can just /msg me if you want to talk. 02:12 < ttj> Since the situation sounds spookily familiar. 02:12 < Wombert> ttj: thanks, will do if I need it :) 02:12 < Wombert> I'm glad that I don't feel like that every day tbh 02:12 < Wombert> gotta figure out first what exactly annoyed me so much today 02:13 < ttj> Yeah. Anyway, I have to crash. Have to get up in 6 hours anyway. 02:13 < ttj> Later. 02:13 < Wombert> nn 02:17 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 02:19 -!- shoan_ [n=shoan@59.92.148.165] has quit [] 02:48 < splatch> done 02:48 < splatch> at lest my application works 03:16 < splatch> Wombert: i got error with upload file validato 03:16 < splatch> +r 03:17 < splatch> Wombert: no message, only red field 03:17 < splatch> i set required attribute to false 03:17 < splatch> and i got correct file 03:17 < splatch> with good extension etc 03:17 < splatch> i removed required, and i got error 03:36 -!- benny`work [n=benny@p54AC3C14.dip0.t-ipconnect.de] has quit ["unset($this);"] 04:59 -!- AgaviBot [n=dzuelke@dslb-088-064-024-021.pools.arcor-ip.net] has quit [Remote closed the connection] 05:09 -!- Wombert [n=Wombert@dslb-088-064-024-021.pools.arcor-ip.net] has quit [] 08:01 -!- raidman [n=raidman@85.15.32.51] has joined #agavi 08:02 < raidman> morning 08:12 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: raidman, v-dogg 08:13 -!- Netsplit over, joins: raidman, v-dogg 08:14 < raidman> Welcome Back guys :D 08:54 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 09:12 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 10:22 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: v-dogg, raidman, epaulin 10:25 -!- Netsplit over, joins: epaulin, raidman, v-dogg 11:06 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 11:21 < splatch> morning 11:27 < raidman> morn' :) 11:28 < splatch> that wi'll be har day 11:28 < splatch> *hard 12:06 < eremit> http://www.phpdeveloper.org/news/6538 12:07 < eremit> morning ... 12:07 < eremit> maybe wombert should do his blog post ? :P 12:13 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 113 (No route to host)] 12:14 -!- raidman [n=raidman@85.15.32.51] has joined #agavi 12:38 -!- raidman [n=raidman@85.15.32.51] has quit [Read error: 110 (Connection timed out)] 12:40 -!- raidman [n=raidman@85.15.32.51] has joined #agavi 14:22 -!- benny`work [n=benny@p54AC0BD5.dip0.t-ipconnect.de] has joined #agavi 14:45 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 15:15 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 15:32 -!- raidman [n=raidman@85.15.32.51] has quit [Read error: 104 (Connection reset by peer)] 16:01 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 16:03 < v-dogg> eremit: I think I've figured out what causes sessions to vanish 16:03 < v-dogg> or not what causes them, but when it happens :) 16:04 < v-dogg> I have session timeout set to 15 mins and for some reason php doesn't update the session timeout data 16:05 < v-dogg> so the user gets logged out after 15 mins whether or not he has used the system during that time 16:06 < v-dogg> I'm on gprs connection now so I'm not going to start searchin for a solution now 16:09 < v-dogg> hmm.. or is it the browser that causess the timeout... 16:23 -!- Wombert [n=Wombert@dslb-088-064-024-021.pools.arcor-ip.net] has joined #agavi 16:24 < v-dogg> g'day womb 16:27 < Wombert> hi 16:28 < v-dogg> can you read the last 5 lines from the log before you joined 16:29 < v-dogg> it seems that the sessions timeout doesn't update (session cookie expires) even if the user reloads the page 16:30 < Wombert> hmmm 16:30 < Wombert> okay I can look into it 16:30 < Wombert> but first 16:30 < Wombert> gotta cure that headache 16:30 < v-dogg> oh :( 16:31 < v-dogg> I'm just installing live httpheaders to see what's going on 16:37 < v-dogg> the session cookie is never re-sent 16:38 < v-dogg> so it expires after 15 mins from the "first contact" 16:44 < v-dogg> it might have something to do with dbsessionstorage 16:46 < v-dogg> how many bytes is agavi trunk checkout? 16:47 < Wombert> a lot 16:47 < Wombert> too much for gprs 16:47 < Wombert> 5megs or something 16:49 < v-dogg> I have time :) 16:49 < Wombert> v-dogg: could the reason be this code 16:49 < Wombert> public function startup() 16:49 < Wombert> { 16:49 < Wombert> // session_id is checked to ensure that a session has not been started already. 16:49 < Wombert> // This can happen if a class inheriting SessionStorage starts it in initialize method. 16:49 < Wombert> if($this->getParameter('auto_start', true) && session_id() == '') { 16:49 < Wombert> session_start(); 16:49 < v-dogg> very likely 16:50 < v-dogg> because that, I think, sends the session cookie 16:50 < Wombert> yes 16:50 < Wombert> how urgent is that for you 16:50 < v-dogg> and now it's only sent if there is no session on already 16:50 < Wombert> I'd like to do some testing 16:50 < Wombert> set session timeout to 30 seconds or so 16:51 < v-dogg> have to sort this out by tuesday :) 16:51 < Wombert> plenty time 16:51 < v-dogg> yeah 16:51 < Wombert> where are you anyway? 16:51 < v-dogg> at a friends cottage middle of nowhere :) 16:52 < Wombert> oO 16:52 < v-dogg> I'll test that now 16:52 < Wombert> the point of that would probably be NOT to surf the internet or would it :D 16:52 < Wombert> http://feeds.autoblog.com/~r/weblogsinc/autoblog/~3/39633174/ 16:52 < Wombert> haha 16:53 < v-dogg> gprs works really nicely here 16:53 < v-dogg> now umts ofcourse 16:58 < Wombert> Note: If you are using cookie-based sessions, you must call session_start() before anything is outputted to the browser. 16:58 < Wombert> yeah thta's it 16:59 -!- AgaviBot [n=dzuelke@dslb-088-064-024-021.pools.arcor-ip.net] has joined #agavi 17:00 < Wombert> v-dogg: the only reason we had startup() was because of call order, right 17:00 < Wombert> hmm 17:00 < v-dogg> because everything must be initialized before startup 17:00 < Wombert> yeah 17:03 < v-dogg> I commented out the if clause but it's still not set 17:03 < Wombert> uh? 17:04 < Wombert> but it's set to use cookies, right 17:04 < Wombert> v-dogg: ah got it 17:04 < Wombert> http://de2.php.net/session_set_cookie_params 17:04 < Wombert> no 17:04 < Wombert> no that's not the problem either 17:04 < Wombert> uuuuh 17:07 < v-dogg> is sessionstorage:startup even called... 17:07 < Wombert> yes 17:08 < Wombert> $this->storage = new AgaviSessionStorage(); 17:08 < Wombert> $this->storage->initialize($this, array ( 17:08 < Wombert> )); 17:08 < Wombert> compiled factories.xml 17:08 < Wombert> $this->storage->startup(); 17:09 < v-dogg> I write a log line there but nothing shows up into my log 17:13 < v-dogg> something weird going on here 17:13 < Wombert> look at the compiled factories.xml 17:13 < v-dogg> that method is not called 17:13 < Wombert> the call must be there!? 17:13 < Wombert> I got 17:13 < Wombert> $this->storage = new AgaviSessionStorage(); 17:13 < Wombert> $this->storage->initialize($this, array ( 17:13 < Wombert> )); 17:13 < Wombert> $this->storage->startup(); 17:13 < Wombert> $this->validatorManager = new AgaviValidatorManager(); 17:14 < Wombert> $data['storage_code'] = '$this->storage = new ' . $data['storage']['class'] . '();' . "\n" . 17:14 < Wombert> '$this->storage->initialize($this, ' . var_export($data['storage']['params'], true) . ');' . "\n" . 17:14 < Wombert> '$this->storage->startup();'; 17:18 < v-dogg> I don't get it 17:23 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi 17:25 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 17:25 < toby_swe> Hi, anything wrong with svn? 17:26 < Wombert> www.agavi.org 17:26 < Wombert> or 17:26 < Wombert> channel topic 17:26 < Wombert> :p 17:29 < toby_swe> I only get: "Error * Can't connect to host 'svn.agavi.org': No connection could be made because the target machine actively refused it." Using tortoise on win. 17:29 < toby_swe> trying to update... 17:33 < Wombert> localhost:~/Sites/_projects/agavi/trunk dzuelke$ svn up 17:33 < Wombert> At revision 1176. 17:33 < Wombert> please note that servers have moved and we now use http instead of svnserve 17:33 < Wombert> you have to relocate the repository for your checkout 17:37 < toby_swe> ok, thanks. Works fine. 17:37 < Wombert> sweet 18:00 -!- Wombert [n=Wombert@dslb-088-064-024-021.pools.arcor-ip.net] has quit [Nick collision from services.] 18:00 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has joined #agavi 18:14 -!- AgaviBot [n=dzuelke@dslb-088-064-024-021.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:20 -!- AgaviBot [n=dzuelke@dslb-088-064-030-113.pools.arcor-ip.net] has joined #agavi 18:34 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:35 < Wombert> v-dogg: I'm trying to reproduce the problem 18:35 < Wombert> I set session lifetime to 30 seconds 18:35 < Wombert> that works 18:35 < Wombert> and after that 30 seconds, I get a new session ID 18:35 < Wombert> but I remain logged in 19:16 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 20:14 < v-dogg> uh.. I have fever 20:36 -!- epaulin [n=epaulin@218.22.2.93] has quit [Read error: 54 (Connection reset by peer)] 20:42 < v-dogg> womb: did you use a db sessionstorage? 20:43 < Wombert> v-dogg: nope 20:43 < v-dogg> because if the id changes, all data is lost 20:44 < Wombert> yeah that might be the reason 20:44 < Wombert> I guess PHP's own session handler is able to handle that situation 20:44 < Wombert> after all, you can also change the sess id at runtime 20:44 < v-dogg> yep, but not with our db ses strorages 20:45 < Wombert> yeah 20:45 < Wombert> we gotta look into that 20:45 < Wombert> we'll find a solution in time for ya 20:46 < Wombert> in the meantime, if you're catching a fever, you should hit the sack 20:46 < Wombert> drink some vick medi night 20:46 < v-dogg> bugger.. have to re-think these db sesstorages 20:47 < Wombert> v-dogg: not necessarily 20:48 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has left #agavi [] 20:48 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has joined #agavi 20:48 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has left #agavi [] 20:48 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has joined #agavi 20:48 < Wombert> oops 20:49 < v-dogg> :) 20:50 < v-dogg> yeah, maybe i'll stop thinking about this and start getting well :) 20:50 < v-dogg> see ya later 20:51 < Wombert> you should man 20:51 < Wombert> getting sick doesn't help 21:09 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 21:53 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 22:06 < Wombert> v-dogg: found the problem 22:06 < Wombert> session.cookie_lifetime integer 22:06 < Wombert> session.cookie_lifetime specifies the lifetime of the cookie in seconds which is sent to the browser. The value 0 means "until the browser is closed." Defaults to 0. See also session_get_cookie_params() and session_set_cookie_params(). Since the cookie is returned by the browser, it is not prolonged to suffice the lifetime. It must be sent manually by setcookie(). 22:24 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 22:24 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1177 : Changeset [1177]: a fix for SessionStorage? that fixes PHP's fucking retarded behavior NOT to … 22:56 < splatch> hello :) 22:56 < digitarald> hi 23:00 < Wombert> hi 23:30 < ttj> Woah. 23:32 < Wombert> hmh? 23:32 < ttj> Home! 23:36 < digitarald> i really like that conversations :D 23:36 < ttj> Which one? 23:38 < Wombert> clubbing time 23:38 < Wombert> catch ya later guys 23:38 < ttj> Later. 23:39 < v-dogg> haha 23:40 < Wombert> v-dogg: your bug should be fixed 23:40 < v-dogg> yeah, read your commit msg 23:40 < v-dogg> thanks 23:41 < v-dogg> php <3 23:44 < Wombert> :D 23:44 < Wombert> gotta hurry now 23:44 < Wombert> l8rs 23:45 < v-dogg> time to go to bed 23:46 < v-dogg> night --- Day changed Sun Oct 22 2006 03:07 -!- benny`work [n=benny@p54AC0BD5.dip0.t-ipconnect.de] has quit ["unset($this);"] 05:29 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 06:23 -!- splatch_ [i=splatch@kazad.be] has joined #agavi 06:23 -!- splatch [i=splatch@kazad.be] has quit [Read error: 104 (Connection reset by peer)] 06:32 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 07:43 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 07:45 -!- AgaviBot [n=dzuelke@dslb-088-064-030-113.pools.arcor-ip.net] has quit [Remote closed the connection] 07:46 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has quit [] 10:43 < v-dogg> huomenta 10:47 < v-dogg> did someone figure out routing w/o index.php on lighttp? 10:53 < eremit> somehow yes 10:53 < eremit> there a topic in the cookbook about it 10:57 < v-dogg> ok 11:09 -!- codecop [n=tty1@85.206.207.241] has joined #agavi 11:21 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 13:08 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi 13:34 -!- benny`work [n=benny@p54AC4C99.dip0.t-ipconnect.de] has joined #agavi 13:55 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: splatch_, CIA-11 13:55 -!- Netsplit over, joins: splatch_, CIA-11 13:55 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: jake, eremit, Fastly, kaos, toby_swe, digitarald, Kubicek, epaulin, codecop 13:55 -!- Netsplit over, joins: toby_swe, epaulin, digitarald, eremit, kaos, Fastly, jake, Kubicek 14:01 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has joined #agavi 14:02 < Wombert> re 14:02 < Wombert> uuuug 14:02 < Wombert> ttj: the brother of that flurry animal that died in your mouth the other day 14:02 < Wombert> died in mine last night 14:18 < ttj> Oh, hmm... I wonder if they migrate... 14:30 -!- codecop [n=tty1@85.206.207.241] has joined #agavi 14:49 < splatch_> hello 14:49 -!- splatch_ is now known as splatch` 14:56 < Wombert> hi splatch` 14:56 < Wombert> mmmmh I drank lots of vodka last night 14:56 < Wombert> and whiskey 14:56 < Wombert> and beer 15:02 < splatch`> Wombert: so, how are you? :) 15:04 < Wombert> mmmh 15:04 < Wombert> not as destroyed as I thought I would be 15:09 < splatch`> dam, that whiskey is been bad idea ;) 15:09 < Wombert> actually 15:10 < Wombert> I'm pretty fine right now 15:10 < Wombert> don't even have a headache or so 15:10 < Wombert> (only a very small one) 15:10 < splatch`> Wombert: free like bird? :) 15:10 < Wombert> and I had soooo much fun 15:10 < Wombert> it was great :) 15:10 < splatch`> for me the worst moment is vodka after beer 15:10 < splatch`> i thought about 15:11 < splatch`> i got vodka and i have to drank after vodka 15:12 < splatch`> vodka and tipple :) 15:13 < splatch`> that's this word 15:14 < splatch`> Are you tripple vodka? :) 15:17 < splatch`> Wombert: ? 16:27 < epaulin> hi, guys, need some help of the routing configuration 16:28 < epaulin> can I disabled the routing and back to PATH_INFO like agavi 0.10? 16:29 < Wombert> like /module/action/name/value/name2/value2 ? 16:29 < epaulin> yeah 16:29 -!- codecop [n=tty1@85.206.207.241] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 16:29 < Wombert> sure :) 16:29 < Wombert> set up this rule: 16:29 * epaulin listing 16:30 < epaulin> I setup one :<route name='global' pattern="^/module/(module:\S+)/action/(action:\S+)" cut="true" module="${module}" action="${action}"> 16:30 < epaulin> but didn't work 16:31 < epaulin> didn't know how to stop the action match, when met the slash, 16:33 < Wombert> <route name="all" pattern="^/(module:[^/]+)/(action:[^/]+)(values:/{.*})" module="$module" action="$action" callback="InsertValues"> 16:33 < Wombert> <ignores> 16:33 < Wombert> <ignore>module</ignore> 16:33 < Wombert> <ignore>action</ignore> 16:33 < Wombert> <ignore>values</ignore> 16:33 < Wombert> </ignores> 16:33 < Wombert> <defaults> 16:33 < Wombert> <default for="values">/{}</default> 16:33 < Wombert> </defaults> 16:33 < Wombert> </route> 16:33 < Wombert> then you have to write the InsertValues callback 16:33 < Wombert> that sets the values from the rest of the path 16:33 < Wombert> and re-inserts them on generate() 16:35 < Wombert> I'm a bit too dizzy to write that callback right now 16:35 < epaulin> :-) 16:35 < epaulin> thanks, Wombert, I'll try 16:35 < Wombert> it's not really trivial, you have to trick it into thinking that the values passed to gen() are in the route so it won't append them using ?foo=bar 16:38 < epaulin> Wombert: I did't need to use gen() to generate url, can i ignoring doing this, just want to migrating legacy stuff to agavi0.11 16:38 < Wombert> ah! 16:38 < Wombert> okay 16:38 < Wombert> well you could also just disable routing and overwrite the WebRequest 16:38 < Wombert> that would be easaier then 16:38 < Wombert> eaasier 16:39 < epaulin> hmm. I noticed PATH_INFO didn't work anymoe. overwrite seems much more eaasier,Ok 16:39 < Wombert> yes we threw that possibility out 16:40 < Wombert> because now there's the routing for that 18:00 -!- Wombert [n=Wombert@dslb-088-064-030-113.pools.arcor-ip.net] has quit [Nick collision from services.] 18:00 -!- Wombert [n=Wombert@dslb-088-064-002-145.pools.arcor-ip.net] has joined #agavi 19:54 -!- epaulin [n=epaulin@218.22.2.93] has quit ["zZ~"] 20:12 < splatch`> Wombert: Are > module="$module" action="$action" callback="InsertValues"> < is new option in 0.11? 20:19 < kaos> callback ? 20:19 < kaos> the entire routing is new in 0.11 ? 20:19 < kaos> ! 20:19 < kaos> -? 21:22 < digitarald> entire routing is new, yes 21:22 < digitarald> powerful ... scary powerfil, full of options 21:24 < digitarald> -i+u 21:56 -!- raidman [n=raidman@213.207.212.209] has joined #agavi 21:56 < raidman> Hi guys 22:02 < raidman> Wombert: I'm late, but I like 4th logo :) 22:11 < digitarald> :D 22:11 < raidman> digitarald: what's funny? :) 22:13 < digitarald> u're really late ;) 22:13 < raidman> ah :P 22:50 -!- raidman [n=raidman@213.207.212.209] has quit ["Leaving"] --- Day changed Mon Oct 23 2006 00:03 -!- AgaviBot [n=dzuelke@dslb-088-064-002-145.pools.arcor-ip.net] has joined #agavi 00:20 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 00:20 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1178 : Changeset [1178]: POSSIBLE BREAKING CHANGE: SessionStorage::startup() is now only called if … 00:41 -!- AgaviBot [n=dzuelke@dslb-088-064-002-145.pools.arcor-ip.net] has quit [Remote closed the connection] 00:42 -!- Wombert [n=Wombert@dslb-088-064-002-145.pools.arcor-ip.net] has quit [] 01:04 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 02:57 -!- benny`work [n=benny@p54AC4C99.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:50 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 04:13 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 07:15 -!- Wombert [n=Wombert@dslb-088-064-002-145.pools.arcor-ip.net] has joined #agavi 07:15 < Wombert> yooo 08:25 -!- Wombert [n=Wombert@dslb-088-064-002-145.pools.arcor-ip.net] has quit [] 09:47 -!- Wombert [n=Wombert@e113.tum.vpn.lrz-muenchen.de] has joined #agavi 09:48 < Wombert> y0000 09:48 < Wombert> xD 09:48 * Wombert slaps v-dogg 09:48 < Wombert> how are you buddy 10:02 -!- Wombert [n=Wombert@e113.tum.vpn.lrz-muenchen.de] has quit [] 10:36 < v-dogg> huomenta 10:58 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 11:51 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit [Read error: 131 (Connection reset by peer)] 11:58 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 11:58 -!- Wombert [n=Wombert@dslb-088-064-002-145.pools.arcor-ip.net] has joined #agavi 11:59 < digitarald> Morning fellows 12:00 < v-dogg> huomenta 12:03 < Wombert> hi 12:03 < Wombert> you're feeling better, v-dogg ? 12:04 < v-dogg> yes, a bit anyway 12:06 < Wombert> glad to hear that 12:07 < Wombert> let me know if you're still having trouble with session lifetimes 12:07 < Wombert> digitarald: I started re-writing the CEF this morning 12:07 < Wombert> if you're lucky, I won't procrastinate today and it is finished by tonight ;) 12:08 < v-dogg> this new iTunes with an ability to browse album covers is nice :) 12:09 < Wombert> yeah except it sucks on windows xD 12:09 < v-dogg> how come? 12:09 < Wombert> dunno 12:09 < Wombert> it just stinks IMO 12:09 < Wombert> before I had a Mac, I hated iTunes like there was no tomorrow 12:10 < Wombert> feels ugly, behaves ugly, looks ugly, performs ugly 12:10 < Wombert> just like quicktime on windows 12:11 < v-dogg> it doesn't feel, behave, look or perform ugly 12:11 < Wombert> hm 12:11 < Wombert> okay xD 12:11 < v-dogg> quicktime does 12:12 < v-dogg> need to take the dog out 12:12 < v-dogg> and after that maybe get some work done 12:13 < digitarald> CEF today ... christmas seems to be today ;) 12:14 < v-dogg> I didn't hear womb say that it would be ready today :) 12:15 < digitarald> ... then is christmas today and tomorrow ... :P 12:16 < digitarald> or today christmas and tomorrow easter ... i'm someone with positive thoughts ;) 12:37 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 12:38 < v-dogg> can svn checkouts be copied from place A to place B? 12:40 < v-dogg> I checked out a copy to my laptop. can I now copy that directory to another machine, work on it and copy the working copy back to my laptop when I'm done? 13:05 < digitarald> yes 13:28 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has joined #agavi 13:53 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.wa.comcast.net] has quit [Read error: 60 (Operation timed out)] 14:29 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit [Read error: 145 (Connection timed out)] 14:37 < splatch`> hello 14:37 -!- Fastly [n=Fastly@81-86-145-67.dsl.pipex.com] has quit [] 14:39 * splatch` is ill :| 14:40 < v-dogg> join the club 14:40 < splatch`> i'm sick after drunk :( 14:40 < v-dogg> heh, ok :) 14:42 < splatch`> my head is working fine, but my stomach doesn't works 14:51 < splatch`> I've problem with image uploading and validation 14:52 < splatch`> Does anyone can help me? 14:53 < v-dogg> probably not, but ask anyway 14:56 < splatch`> i've field "photo_file" and i using one template for add and edit 14:56 < splatch`> with edit validation works fine (bad extension=error_ 14:57 < splatch`> but with add validation fails with good extension 14:57 < splatch`> and i don't know why 14:58 < splatch`> v-dogg: you got that? :) 14:59 < v-dogg> I get the problem but I have no idea what might cause it 15:01 < splatch`> that's very strange 15:01 < splatch`> validation fails, the field is red, but i haven't an message 15:11 < v-dogg> hey, who broke cygwin's repositories? 15:57 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 16:00 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:27 < splatch`> hmm 16:28 < splatch`> {$ctl->getModuleName()|lower}_{$ctl->getActionName()|lower}.js 16:29 < splatch`> i got names from decorator! :| 16:31 < splatch`> Wombert.. 16:31 < Wombert> ? 16:32 < splatch`> Does getModuleName return the request module? 16:32 < Wombert> no, the current one 16:32 < Wombert> {$ctl->getModuleName()|lower}_{$ctl->getActionName()|lower}.js 16:32 < Wombert> that's a bit hacky 16:33 < Wombert> you should assign an attribute in the view that contains the name of the javascript file 16:34 < splatch`> that's excess, i can check - file_exists and include by names 16:34 < Wombert> _that_ is slower 16:34 < splatch`> that's backend 16:35 < Wombert> so you need the name of the current action? 16:35 < Wombert> $actionStack->firstEntry() has it 16:35 < Wombert> (current = the one that was requested= 16:35 < splatch`> yes, i need this 16:36 < digitarald> Wombert: would u use propel 1.3 for development or still 1.2? 16:36 < Wombert> I'm using 1.2 16:36 < Wombert> I know others are using 1.3 already without much trouble 16:36 < Wombert> 1.3 is a lot faster 16:42 < digitarald> mmhh ... then i use 1.2 till 1.3 makes less troubles 16:48 < v-dogg> what makes it faster? 17:07 < Wombert> PDO, autoloading 17:08 < v-dogg> no more creole? 17:12 < Wombert> exactly 17:12 < Wombert> for the runtime, of course 17:12 -!- EleRas [n=EleRas@neteraser.de] has joined #agavi 17:15 -!- JamieWolf [n=JamieWol@T2912.t.pppool.de] has joined #agavi 17:15 < JamieWolf> Hello everyone 17:15 < Wombert> hi JamieWolf 17:15 < Wombert> what's up 17:15 < Wombert> welcome to agavi :) 17:15 < Wombert> in case you haven't been here before 17:15 < JamieWolf> Getting started again with agavi 17:15 < Wombert> good to hear 17:15 < Wombert> BUT 17:15 < JamieWolf> Wombert has been a while ... 17:15 < Wombert> use trunk 17:15 < JamieWolf> i do. eremit recomended it 17:16 < Wombert> did you use the same nickname back then? 17:16 < JamieWolf> yes 17:16 < Wombert> odd 17:16 < Wombert> can't remember you I'm afraid 17:16 < JamieWolf> im using my nickname for ages now 17:16 < JamieWolf> doesnt matter, just be ready to answer some noob questions ;) 17:17 < Wombert> with pleasure 17:18 < JamieWolf> Great! But I'll read through the example app first :) 17:18 -!- AgaviBot [n=dzuelke@dslb-088-064-002-145.pools.arcor-ip.net] has joined #agavi 17:24 * digitarald slaps AgaviBot around a bit with a large trout 17:45 -!- shoan [n=shoan@59.92.129.71] has joined #agavi 17:59 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit [Read error: 110 (Connection timed out)] 18:02 -!- Wombert [n=Wombert@dslb-088-064-002-145.pools.arcor-ip.net] has quit [Nick collision from services.] 18:02 -!- Wombert [n=Wombert@dslb-088-064-024-233.pools.arcor-ip.net] has joined #agavi 18:07 -!- AgaviBot [n=dzuelke@dslb-088-064-002-145.pools.arcor-ip.net] has quit [Read error: 145 (Connection timed out)] 18:09 -!- AgaviBot [n=dzuelke@dslb-088-064-024-233.pools.arcor-ip.net] has joined #agavi 18:30 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 131 (Connection reset by peer)] 18:31 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 18:31 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1183 : Changeset [1183]: phpdoc fixes 19:01 < digitarald> Wombert: is there a tutorial for isTree in propel? 19:02 < digitarald> for me it looks pretty senseless for now? 19:21 < epaulin> digitarald: maybe this will help: http://propel.phpdb.org/trac/wiki/Development/NestedSet 19:23 < digitarald> agavi trunk is broken? 19:23 < epaulin> when using isTree, set table attr isTree="true" 19:23 < epaulin> and add node_path, <column name="node_path" nodeKey="true" type="VARCHAR" size="255" required="true" default="" /> 19:23 < digitarald> thats cool. thx 19:23 < digitarald> the problem is, he ignores all other fields 19:24 < digitarald> i generated my config with node_path, but there are other fields, that where ignored 19:24 < epaulin> nope, agavi svn works fine 19:24 < digitarald> agavi autoload has this entry which is not in the trunk: 19:24 < digitarald> %core.agavi_dir%/date/AgaviCalendar.class.php 19:25 < epaulin> Oh, i got is wrong 19:26 < digitarald> help ... somebody commit please this calendar *grmpf* 19:26 < digitarald> ;) 19:27 < digitarald> there sre 5 other files in autoload that target date/ files, but only 1 file in date ... who did break this? 19:27 < Wombert> ... 19:28 < epaulin> we have some other fields too, and we init that data manually 19:29 < digitarald> but thats ... i define fields and propel ignore them because its only supplying tree-access functions ... strange 19:29 < digitarald> very strange 19:30 < digitarald> Wombert: did u take a look at it? 19:30 < Wombert> ? 19:31 < digitarald> in the agavi autoload.xml are 6 files assigned which are supposed to be in date/ ... in date/ is only 1 file 19:32 < kaos> yeah 19:32 < kaos> blame me 19:32 < kaos> i totally forgot the framework complains when the files don't exist :/ 19:32 < digitarald> ... i knew that ... blame on you ;) 19:33 < epaulin> digitarald: u mean XxxNode and XxxNodePeer 19:33 < epaulin> ? 19:33 < digitarald> yes 19:33 < digitarald> it forgot all my other fields :( 19:34 < digitarald> kaos, can u comment them out and commit the new autoload? 19:34 < kaos> no 19:34 < kaos> i will commit the date stuff ;p 19:34 < digitarald> can u commit the files? 19:34 < digitarald> ;) 19:34 < digitarald> thats ok, too :P 19:34 < Wombert> dude 19:34 < Wombert> easy 19:34 < Wombert> patience is the key to happiness 19:35 < Wombert> if I may quote from the topic 19:35 < epaulin> :-) 19:35 < digitarald> i was just an that cool ajax stuff, all fancy effects, drag and drop and all things things that make happy, too ... and then ... update ... and then ... exceptions ... *cry* 19:35 < digitarald> ;) 19:37 < epaulin> digitarald: the TableName class should work normallly. not the TableNameNode one. 19:37 < digitarald> ok .... how long kaos, i have to synchronize my patience with my gant chart 19:38 < kaos> 5 minutes 19:38 < kaos> max ;o 19:38 < digitarald> it generated me no other files than the node files 19:39 < epaulin> strange, it should generated normal one and the Node. 19:39 < digitarald> ok ... deleted them. new generation 19:41 < digitarald> epaulin: do u use 1.2? 19:41 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 19:41 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1184 : Changeset [1184]: - Date stuff. This is still very much work in progress NOTE: the timezone … 19:41 < epaulin> en, 19:41 < epaulin> 1.2, using isTree almost 1 year 19:43 < splatch`> *yawn* 19:43 < digitarald> nodeKey is not defined for coumn elements :( 19:43 < epaulin> :( 19:44 < digitarald> only an eclipse error ... no errors from propel 19:45 < digitarald> it generated both ... *yawn* ;) ... thx 19:46 < epaulin> great, :-) 19:47 < splatch`> Wombert: when 0.11 will be stable? 19:47 < Wombert> RC1 will be out on November 5 19:48 < Wombert> everyone may then propose changes and point out drawbacks we should address 19:48 < Wombert> if there is consensus to change something, it will happen 19:48 < digitarald> kaos: thx, great job :) 19:48 < Wombert> otherwise, we'll release an RC2 if necessary 19:49 < splatch`> date stuff 19:50 < splatch`> date stuff was in Mojavi4 :) 19:50 < digitarald> date stuff is in symfony, too ;) 19:50 < Wombert> ... 19:50 < digitarald> ;) 19:50 < Wombert> their stuff is stolen from prado 19:50 < Wombert> and sucks 19:51 < Wombert> splatch`: try 19:51 < Wombert> $cal = $tm->createCalendar(); 19:51 < Wombert> $cal->set(2006, AgaviDateDefinitions::OCTOBER, 19, 21, 54); 19:51 < Wombert> echo ($tm->_d($cal)); 19:51 < Wombert> with p locale 19:51 < Wombert> you'll get polish month names 19:51 < digitarald> just waited for the wombert-echo ;) 19:51 < splatch`> digitarald: me too :) 19:51 < splatch`> Wombert: new page will be relased 5.11 also? 19:51 < digitarald> thats too cool ... 19:52 < Wombert> splatch`: I hope 19:52 < Wombert> splatch`: if kazek will be finished in time :) 19:52 < splatch`> ;) 19:53 < kaos> now i "just" need to do that &%/$$%&" olson timezone stuff 19:56 -!- Fastly [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi 19:57 < splatch`> Wombert: maybe after next month kazek'll go to another job! :) 19:57 < Fastly> how's the new site coming along? 19:58 < splatch`> 5.11 20:00 -!- epaulin [n=epaulin@218.22.2.93] has quit ["zZ~"] 20:01 < digitarald> kaos: you have var_dump's in AgaviDateFormatter ;) 20:02 < digitarald> i think i stop developing for today and start ... mmmhh ... drinking cool beer 20:05 * splatch` no more drinkin' 20:07 < digitarald> tapas and beer ;) 20:08 < splatch`> tapas? 20:08 < digitarald> spanish snacks ... 20:08 < splatch`> aaa :) 20:10 < splatch`> today i had some turns 20:11 < digitarald> turns? 20:11 < splatch`> digitarald: you now, you eat, drink and after vodka you return all 20:11 < digitarald> :D ... turn ... ok ;) 20:12 < splatch`> digitarald: i don't know name for that operation in english ;) 20:13 < digitarald> to puke ;) 20:13 < splatch`> yes! that's puke ;) 20:14 -!- Fastly [n=alex@81-86-145-67.dsl.pipex.com] has quit ["Leaving"] 20:18 < digitarald> but i didnt know that neither ... 20:18 < digitarald> vale ... venga ... haste luego ;) 20:19 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 20:20 -!- fast1 [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi 20:21 -!- fast1 is now known as Fastly 20:25 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 20:25 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1185 : Changeset [1185]: remove debug stuff 20:46 -!- Fastly [n=alex@81-86-145-67.dsl.pipex.com] has quit ["Leaving"] 22:14 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 22:26 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 23:35 -!- benny`work [n=benny@p54AC2A96.dip0.t-ipconnect.de] has joined #agavi --- Day changed Tue Oct 24 2006 00:06 < JamieWolf> Is there a possibility to see the Quickstartmovie? 00:08 < Wombert> no 00:08 < Wombert> it's outdated 00:20 < JamieWolf> I just were courious about it 00:48 < Wombert> I'll probably do a new one for 0.11 00:50 < splatch`> Wombert: only one? :) 00:50 < Wombert> for 0.11, yes 00:50 < Wombert> at least for RC1 00:50 < Wombert> if I'll have the time at all 00:50 < Wombert> it's gonna be close with november 5 anyway 00:51 < splatch`> Wombert: 0.11 have many features, one movie will be not 2 minutes bud 20 :) 00:51 < Wombert> yes 00:51 < impl> It took us 4 hours to get through the explanation on IRC 00:51 < impl> That could be a problem 00:52 < impl> I think we should do a series :P 00:52 < Wombert> that explanation wasn't representative 00:52 < splatch`> 20 minutes video to world dominatuin :) 00:52 < Wombert> we'll have different defaults, at least for 1.0 00:52 < Wombert> e.g. default assigns 00:53 < Wombert> and maybe some filters enabled right away 00:53 < impl> Sounds useful 00:53 < Wombert> you know, where $ro is the routing in all templates by default etc 00:53 < impl> Hmm.... 00:53 < Wombert> $ro, $rq, $ct, $tm, $us 00:53 < impl> None of our other renderers support those do they? 00:54 < Wombert> they all support it 00:54 < impl> Not the XSL one... 00:54 < Wombert> I designed it so it works with all of em 00:54 < Wombert> it sure does! 00:54 < impl> zomg. 00:54 < impl> How? 00:54 < Wombert> you can do php calls from within XSL 00:54 < Wombert> not exactly sure 00:54 < impl> Ah... 00:54 < Wombert> the php conference will have a talk on XSL I want to attend ;) 00:54 < impl> :) XSL is really amazing stuff 00:55 < splatch`> but not in php ;) 00:55 < splatch`> try to assing object from php to XSLT 00:55 < splatch`> there's no way to do this 00:55 < Wombert> oh 00:55 < Wombert> well bad luck for the XSL blokes then I guess xD 00:55 < Wombert> anyway 00:56 < Wombert> first things first 00:56 < splatch`> XSLTProcessor::setParameter(string key, string value); 00:56 < Wombert> we gotta concentrate on having RC1, the site and a minimum of docs ready 00:56 < Wombert> at least a rough translation guide 00:56 < Wombert> I'm fairly certain you can assign arrays at least 00:59 < splatch`> setParameter ( string namespace, array options ) 01:00 < splatch`> An array of name => value pairs. This syntax is available since PHP 5.1.0. 01:00 < splatch`> :] 01:01 < splatch`> Wombert: but you can do this with foreach 01:02 < splatch`> Wombert: i can't do $proc->setParameter('', 'colors', array(foo, bar, baz)); 01:02 < Wombert> yeah maybe, I don't know XSL 01:02 < Wombert> impl wrote the renderer 01:05 < splatch`> sleep time 01:05 < splatch`> bye! 01:25 -!- Wombert [n=Wombert@dslb-088-064-024-233.pools.arcor-ip.net] has quit [] 01:35 -!- AgaviBot [n=dzuelke@dslb-088-064-024-233.pools.arcor-ip.net] has quit [Read error: 145 (Connection timed out)] 01:39 -!- JamieWolf [n=JamieWol@T2912.t.pppool.de] has quit ["Gone for a Drink"] 01:49 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 104 (Connection reset by peer)] 02:20 -!- benny`work [n=benny@p54AC2A96.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:31 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 03:02 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: EleRas, shoan, eremit, Kubicek 03:02 -!- Netsplit over, joins: shoan, EleRas, eremit, Kubicek 03:15 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 04:51 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 06:13 < shoan> morning :) 06:47 < ttj> Morning. 07:35 -!- shoan_ [n=shoan@59.92.165.56] has joined #agavi 07:53 -!- shoan [n=shoan@59.92.129.71] has quit [Read error: 110 (Connection timed out)] 08:05 -!- Wombert [n=Wombert@dslb-088-064-024-233.pools.arcor-ip.net] has joined #agavi 09:07 -!- shoan_ [n=shoan@59.92.165.56] has quit [] 09:09 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has joined #agavi 09:14 < splatch`> morning! 09:16 < v-dogg> huomenta 09:18 < Wombert> y0 09:37 < v-dogg> my home computer got hacked :( 09:39 < Wombert> uuuh? 09:39 < Wombert> uncool 09:39 < v-dogg> very 09:43 < Wombert> buy a hardware router ;) 09:43 < Wombert> less hassle anyway 09:49 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:05 < v-dogg> "The requested URL /irclogs was not found on this server." 10:29 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:57 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Remote closed the connection] 10:57 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:21 < eremit> heyja 11:23 < raidman> hi 11:23 < EleRas> hiho 11:26 < digitarald> hi 12:25 < splatch`> oi! :) 12:34 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 12:40 -!- shoan_ [n=shoan@61.95.206.107] has joined #agavi 12:49 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 145 (Connection timed out)] 13:03 < v-dogg> ok... updating to #1187 13:20 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 13:39 -!- shoan_ [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 13:40 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 13:52 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 13:53 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 14:10 < eremit> yay ... just updating my project from 1066 to 1087 ... 14:10 < eremit> wtf ... isn't there any possibility to remove all these pluralizations from the xml ? 14:14 < eremit> gna wombert, why changeset:1164 ? 14:14 < v-dogg> hmm.. is value exporting/normalizing in validator broken... 14:14 < v-dogg> eremit: just working on that :) 14:14 < Wombert> eremit: :) 14:14 < eremit> yeah ... and 1164 ist the reason why i stop upgrading at 1163 ... 14:15 < Wombert> whatever makes you happy 14:15 < eremit> for now 14:15 < eremit> dont wanna change dozens of custom validators and validation xml files *gg* 14:15 < v-dogg> eremit: surely you can hack away a little script that converts your validation xml ;) 14:16 < eremit> uhm ... would mean i really have to think today ? ... sorry, to much alcohol yesterday for this today :P 14:16 < v-dogg> hehe 14:16 < Wombert> v-dogg: I'm not sure if that would work 14:16 < Wombert> but either way, I really believe that the new syntax is 1000 times better 14:16 < Wombert> btw, "base" for arguments has been moved into <arguments> 14:17 < eremit> i simply dont understand the reason for all these pluralisations ... 14:17 < v-dogg> what about export? 14:22 < v-dogg> hey, this is not nice... what has happened to exporting data from validation... :( 14:25 -!- JamieWolf [n=JamieWol@T11f5.t.pppool.de] has joined #agavi 14:32 < eremit> wombert are there more pending BC breaking changes atm ? 14:36 < digitarald> Wombert: In propel before or after saving modifications in a model, can i get all modified fields? 14:45 < Wombert> no 14:45 < Wombert> and 14:45 < Wombert> isColumnModified() 14:48 < digitarald> i want a list of modified columns, for the log 14:48 < digitarald> i know there is a protected or private array, there should be a getter :) 14:48 < Wombert> write it 14:48 < Wombert> it's open source, you know... 14:49 < digitarald> that means everybody can contribute? 14:49 < digitarald> is agavi open source, too ;) 14:49 < epaulin> :-) 14:49 < digitarald> my name is already in agavi ... may be i write the ajax action for agavi ;) 14:50 < digitarald> ... *duckandrun* 14:50 < eremit> haha good one ^^ :P 14:52 < eremit> maybe i'm missing something but there is no agavi handler to check if 2 form fields are equal ? 14:53 < digitarald> it is 14:53 < digitarald> i had this right now :D 14:53 < digitarald> password-input 14:53 < digitarald> AgaviEqualValidator 14:53 < digitarald> just give 2 arguments 14:53 < digitarald> and no value parameter 14:53 < eremit> and an error 14:54 < eremit> and at least i get some fancy foreach error 14:54 < digitarald> ah ... uh ... no ;) update agavi ;) 14:54 < digitarald> cant talk with you, outdated agavi user :P 14:54 < eremit> uh? 14:54 < digitarald> do u have the updated validators with <arguments>? 14:55 < eremit> yes a most recent trunk co 14:55 < v-dogg> pre #1187 users are not supported, you have to start using symfony 14:55 < digitarald> :D 14:56 < digitarald> u are evail, v-dogg ... if somebody read the logs in future ... tze ;) 14:56 < digitarald> evil 14:56 < digitarald> eremit: wait, i test this with my form 14:56 < digitarald> when i stepped through the dependencies 14:56 < eremit> haha ... 14:56 < eremit> update to latest and test :P 14:57 < eremit> i gues it wont work either ... 14:57 < digitarald> i see why ;) 14:57 < digitarald> foreach($this->getArguments as $key => $argument) 14:57 < eremit> jepp ... 14:57 < digitarald> thats senseless 14:58 < v-dogg> () missing 14:58 < digitarald> i would contribute a patch to this open source framework ... but ... mmmhh 14:58 < digitarald> ;) 14:58 < digitarald> give a svn access ;) 14:58 < eremit> are svn accounts revoked recently ? 14:59 < Wombert> they are gone 14:59 < v-dogg> the server has moved 14:59 < Wombert> we moved servers 14:59 < eremit> yeah ... i already thought that ... 15:01 -!- KarlKoch [n=Karl@p548620DF.dip0.t-ipconnect.de] has joined #agavi 15:01 < digitarald> dependency ... there no argument in the xsd ... do i have to add it to the parameters? 15:01 -!- AgaviBot [n=dzuelke@dslb-088-064-024-233.pools.arcor-ip.net] has joined #agavi 15:01 < Wombert> welcome KarlKoch 15:02 < KarlKoch> hi there.. 15:02 < eremit> digitarald, you mean the depends in the validators ? 15:02 < eremit> hi KarlKoch 15:02 < digitarald> hi KarlKoch ... interested in cool php5 stuff ;) 15:02 < KarlKoch> hi .. yes really interested ;).. 15:02 < KarlKoch> can u show me some examples ? 15:02 < digitarald> eremit: yes 15:02 < Wombert> the sample app 15:02 < KarlKoch> the page seems to be under construction ;).. 15:03 < v-dogg> <?php echo 'Hello World'; ?> 15:03 < eremit> digitarald, i have them in the validator line ... 15:03 < KarlKoch> *lol* 15:03 < v-dogg> there, now you can go on and code a framework 15:03 < eremit> ... <validator class=".." name=".." depends=".." provides=".." 15:03 < v-dogg> or a forum 15:03 < digitarald> v-dogg: thats cool ... gimme more examples ;) 15:03 < eremit> v-dogg dont forget to suggest a cms ^^ 15:04 < v-dogg> ah, that too 15:04 < digitarald> eremit: thx ... they werent declared in validators.xsd 15:04 < eremit> np 15:04 < Wombert> KarlKoch: the sample app, as I said 15:04 < v-dogg> digitarald: $link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password') 15:04 < Wombert> in svn 15:04 < eremit> yay... 30 validator xml's to go 15:05 < Wombert> need 15:05 < Wombert> coffee 15:05 < KarlKoch> ok -- where can i download the actual release ? 15:05 < digitarald> svn ;) 15:05 < digitarald> checkout via your favorite svn client 15:05 < KarlKoch> mkay.. 15:05 < KarlKoch> i'll do 15:06 < digitarald> 5th of november there will be the great relaunch ... with real downloads and all that newbee stuff (documentation and so on) 15:06 < digitarald> right, wombie ;) 15:06 < KarlKoch> sounds nice.. 15:07 < digitarald> bot for now take a look at the sample app its really cool stuff 15:07 < digitarald> the code, not the design ;) 15:08 < KarlKoch> yes i'll do .. 15:08 < digitarald> i think agavi will have a really hype if we put ajax in the sample app? or not? ;) 15:08 < eremit> uh ... question is there a mass required form field validator ? 15:08 < eremit> or a nice solution without having to hack about 20 validators into the xml ? 15:08 < digitarald> isset? 15:08 < eremit> not isset^^ 15:08 < eremit> isset evals to true on empty input text 15:09 < digitarald> yes ... and that to masses of fields? ;) 15:09 < eremit> yes string with min would work ... but only on one field per validator ... 15:10 < eremit> hmm i guess i gotta hack a RequiredInputValidator with many fields support 15:10 < digitarald> what does this validator check? 15:10 < v-dogg> non-empty values? 15:11 < eremit> yes ... i have in a form about 20 input type="text" fields which are required to have a value ... 15:11 < digitarald> may be its better to update the validators to handle multiple arguments 15:11 < eremit> and currently i have 20 validators each one class="string" ... and min = 1 15:11 < digitarald> isset can handle multiple arguments, but i.e. not the string validator?! 15:12 < digitarald> me too 15:12 < eremit> the problem on the string one are the error messages 15:12 < eremit> i want an error message per field ... 15:12 < eremit> like "Username required!" on username, "Firstname required!" on firstname etc ... 15:13 < eremit> and string cannot handle it because the errors depend of the type of check min/max 15:13 < digitarald> then it should take multiple error messages ... or the RequiredValidator ;) 15:13 < digitarald> NonEmptyValidator? 15:13 < eremit> uh ... 15:13 < digitarald> NotEmpty 15:14 < eremit> i gotta write one ... uhm ... at least for those fields which dont provide dependencies ... 15:14 < eremit> brb ^^ 15:30 < eremit> xsd validation of the modules validation xml's is broken :/ 15:31 < digitarald> attributes are missing? 15:32 < eremit> no change your <arguments>....</arguments> to <arguments>...</argument> and you get a php error 15:32 < eremit> saying something cannot be called with null 15:45 < digitarald> how does that required="false" validation works ... its only for strict validation, or not? 15:47 < eremit> uh my mass validation idea doesn'T work :/ 15:48 < digitarald> why? 15:49 < eremit> i cannot set a dependency between an error and the field ... 15:51 < eremit> uh maybe some advanced hacking solves the problem ..but wombert surely would kill me 16:00 < eremit> hmm i give up ... 16:06 < eremit> ahh ... got it ... silly hacking and will most likely break some things ... but for me it's working 16:11 < digitarald> :D 16:13 -!- shoan [n=shoan@59.92.159.216] has joined #agavi 16:16 < eremit> digitarald, maybe this is of interest for you: http://phpfi.com/167176 16:16 < eremit> please note the license i used :P 16:18 < shoan> eremit: i think it makes it lgpl incompatible 16:20 < eremit> shoan that's a good point ... maybe i should find another solution .. like dual licensing ... 16:20 < eremit> :P 16:22 < shoan> might be easier to go and bash sf instead :p 16:22 < eremit> they are silly bash resistant i fear :P 16:22 < shoan> :) 16:32 < eremit> shoan what about @license Dual Licensed, Symfony you may not use this, the rest use the LGPL pls. :P 16:33 < shoan> eremit: that doesn't work either cause its no longer lgpl. It becomes more of a EULA. 16:33 < shoan> You really can't prevent them from using it 16:33 < shoan> its not in the spirit of open source :) 16:34 < shoan> but you should explicitly mention that it should carry the credits as well as a copy of the license 16:34 < eremit> that's redudant ... as it's already stated inthe lgpl :P 16:34 < shoan> sf doesn't read the lgpl :p 16:35 < eremit> i dont care if they do or not :P they better should 16:44 < v-dogg> home -> 16:44 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has quit ["Quit"] 16:58 < digitarald> eremit: ok, nice license ;) 16:59 < eremit> ;) 17:34 -!- codecop [n=tty1@85.206.207.241] has joined #agavi 17:46 < Wombert> the LGPL _does_ indeed prevent them from using it 17:46 < Wombert> at least in theory 17:47 < splatch`> oi! :) 17:48 < eremit> in theory ... 17:48 -!- shoan [n=shoan@59.92.159.216] has quit [Read error: 104 (Connection reset by peer)] 17:49 -!- shoan [n=shoan@59.92.159.216] has joined #agavi 17:53 -!- Fastly [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi 17:56 < Fastly> any progress with the new website? 18:01 -!- Wombert [n=Wombert@dslb-088-064-024-233.pools.arcor-ip.net] has quit [Nick collision from services.] 18:01 -!- Wombert [n=Wombert@dslb-088-064-015-185.pools.arcor-ip.net] has joined #agavi 18:02 < Fastly> hey Wombert 18:02 < Fastly> how's the new website coming along? 18:05 < Wombert> still witing for the design 18:05 < Wombert> if ya wanna contribute content or anything, let me know 18:06 -!- AgaviBot [n=dzuelke@dslb-088-064-024-233.pools.arcor-ip.net] has quit [Read error: 145 (Connection timed out)] 18:07 < Wombert> *waiting 18:09 < shoan> Wombert: i thought the design was frozen. what happened to the logo? 18:09 < Wombert> ? 18:09 < Wombert> there is still work to do on the design 18:09 < Wombert> the menu isn't done yet 18:09 < Wombert> and we gotta wait for new logo alternatives 18:09 < Wombert> with a "better" font 18:10 < Wombert> I emailed darek, splatch`'s designer mate 18:10 < splatch`> yes, he's working with logo :) 18:10 < Wombert> great 18:10 < Wombert> I asked him if he could finish everything this weekend 18:11 < Wombert> so we can build the website next week 18:11 < Wombert> anyway, I really gotta run now 18:11 < Wombert> catch you guys later 18:11 -!- Wombert [n=Wombert@dslb-088-064-015-185.pools.arcor-ip.net] has quit [] 18:26 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 18:49 < eremit> umpf ... 18:50 < eremit> how can i map an error to a custom name ? 18:54 < kaos> ? 18:54 < kaos> do what ? 18:54 < eremit> uh how to descripte 18:54 < kaos> i guess 18:54 < kaos> give several validators the same error msg 18:54 < eremit> i had somethink like birthday_Day, birthday_Month, birthday_Year ... 18:54 < eremit> no ... 18:55 < kaos> no O_o 18:55 < kaos> ok :D 18:55 < kaos> then try your luck ;) 18:55 < eremit> and they were connected via an and operator ... putting it's result in birthday ... 18:55 < eremit> so i only had to check if there are errors on birthday ... 18:55 < eremit> but got it ... 18:56 < eremit> <validator class="and"><arguments><argument>birthday</argument><errors>....</errors><subvalidators here... /> 18:56 < eremit> uh hope you got it :D 18:57 < kaos> ah 18:57 < kaos> yeah 18:57 < kaos> this was more clear with the old syntax :/ 18:57 < eremit> yep ... 18:57 < eremit> and please is there really no way to disable this pluralization ? *begs* 18:58 < kaos> not currently really 18:58 < kaos> can look into it after rc1 18:58 < eremit> tyvm :) ... but since i write my xml markups with a normal texteditor ... it's somewhat silly to have dozens of tabs *Gg* 18:58 < kaos> yeah 18:59 < kaos> that nested <parameters> stuff 18:59 < kaos> is quite ugly 18:59 < kaos> i know :s 18:59 < eremit> i dont get the reason why it's there ... 18:59 < eremit> cant you simply nest e.g. argument to validator ... ? 18:59 < kaos> the nested parameters stuff works in all configs 19:00 < kaos> hmm 19:00 < kaos> argument to validator ... hmm 19:00 < eremit> was only an example ... 19:00 < kaos> yah 19:01 < kaos> well, i am not happy at all with the validation config ... but i can't find anything really better too ^^ 19:01 < eremit> but all these pluralizations make it nearly impossible for a normal minded person to read the config fluent ... 19:02 < eremit> i start to like the new syntax ... afaik it's in most cases clearer ... 19:02 < kaos> yeah, but changing that would mean that you would have to internally convert every node into an array when it occures multiple times in the same level 19:02 < kaos> which would make checking the data even harder 19:02 < kaos> (or simply switch all nodes to be array, but thats rather senseless too) 19:03 < kaos> it is actually there for a reason 19:03 < eremit> i would switch everything to an array ... like node['childs'][tagname] = array() 19:03 < eremit> and simply push elements in the array 19:04 < kaos> this would work yes, but one would need to change every config handler to reflect that change 19:04 < eremit> sure this wouldn't be a glorious one liner :P 19:05 < kaos> well, i think in most cases it would just be changing from $configs->childNode to $config->childNode[0] 19:05 < kaos> and loop the node itself instead of the parent 19:06 < kaos> but thats not as important as some other stuff on my list, so this has to wait after the rc 19:06 < eremit> i must admit i haven't looked that deep into the code ... 19:06 < eremit> i'm currently converting two dozen of my custom validators ... 19:06 < eremit> :) 19:07 < kaos> well, i found the validator converting rather simple ;) 19:07 < eremit> if they aren't that complex yes ... 19:07 < eremit> and converting the xml's is a pain too :P 19:07 < kaos> its just tedious work 19:08 < eremit> one of my custom validator had about 20 params and 5 input vars being processed in relation to each other ... 19:08 < eremit> that one was a pain ... :P 19:08 < kaos> but probably still more fun the parsing the Olson timezone data (which is btw the same data *nix uses ... just that they already have a tool for converting it into binary format, but i need something similar to ICU ... arghs :s) 19:09 < kaos> outch ^^ 19:09 < eremit> yes probably more fun ... 19:09 < eremit> :) ah, as i got you ... is there any progress regarding testing actions and views ? 19:09 < eremit> wombert told me you had some ideas regarding this ... 19:09 < kaos> i did ? O_o 19:10 < kaos> well, we wanted to change the entire testing system anyways 19:10 < kaos> and probably integrate that web testthing (of which i always forget the name) 19:10 < eremit> if not i will take a deep look, coz currently it's quite mezzy here without tests and several hundreds of upcoming changes to our system :D 19:11 < kaos> well, the test stuff is on the list for 1.0 19:11 < eremit> uh web testing sounds like testing actions + views at the same time Oo 19:11 < kaos> we really need a release soon 19:11 < eremit> sure we do ^^ ... 19:11 < eremit> that's why we currently pay some students to test our software the traditional way :P 19:12 < kaos> well, i was thinking about building some stuff with the mock objects from phpunit 3 19:12 < kaos> :D 19:12 < kaos> but that needs to be well thought out etc 19:12 < kaos> but we wanted to have the tests work a little different anyways 19:13 < kaos> because its quite a pita currently with all tests running with the same context etc 19:13 < eremit> yeah ... i thought about implementing a test controller which can be controlled via testcases and dispatches an action ... 19:13 < eremit> afterwards i would only need to test the state of the action ... in most cases the view is of no interest for me :D 19:14 -!- KarlKoch [n=Karl@p548620DF.dip0.t-ipconnect.de] has quit ["Verlassend"] 19:14 < kaos> well, the view shouldn't do anything which needs to be tested anyways ;) 19:15 < eremit> most likely not ... 19:15 < eremit> so my idea would be the rails way ... call the action with a predefined set of information and observe the state of the action afterwards ... 19:16 < kaos> well, using mock objects 19:17 < kaos> you could actually test db calls made 19:17 < kaos> if using context->getDatabase 19:18 < eremit> wtf an action doing db calls ? 19:20 < kaos> indirectly ;) 19:20 < kaos> so you would probably just test if it calls the right methods in your orm/whatever 19:21 < eremit> yea, but i would do it by replacing the original model with some kind of test model ... 19:28 < kaos> thats exactly what mock objects do ;) 19:49 -!- codecop [n=tty1@85.206.207.241] has quit [Read error: 110 (Connection timed out)] 20:03 -!- v-dogg [n=v-dogg@gprs-internet.mobile.sonera.net] has joined #agavi 20:12 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 20:16 -!- benny`work [n=benny@p54AC2B7C.dip0.t-ipconnect.de] has joined #agavi 21:13 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 22:10 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:28 -!- v-dogg [n=v-dogg@gprs-internet.mobile.sonera.net] has quit ["Quit"] 23:32 < splatch`> getDatabaseManager()->getDatabase('name'); 23:32 < splatch`> kaos: PHP Unit 3 rox ;] 23:33 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 23:33 < splatch`> in work i using the JMock and JUnit - they're so sux.. PHP Unit 3 is very good "port" with better features 23:33 < splatch`> for example JMock can't create mock from interface 23:33 < splatch`> back, from an class 23:33 < splatch`> only interfaces 23:34 < splatch`> in JUnit 4 expected exception = annotation 23:42 -!- Wombert [n=Wombert@dslb-088-064-015-185.pools.arcor-ip.net] has joined #agavi 23:42 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] --- Day changed Wed Oct 25 2006 01:22 -!- Fastly_ [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi 01:48 -!- JamieWolf [n=JamieWol@T11f5.t.pppool.de] has quit ["Gone for a Drink"] 02:01 -!- Fastly_ [n=alex@81-86-145-67.dsl.pipex.com] has quit ["Leaving"] 02:48 -!- benny`work [n=benny@p54AC2B7C.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:31 < Wombert> http://kazek.pl/_logo2.png 03:32 < impl> Wow, that's awesome. 03:32 < impl> I love them 03:32 < Wombert> except for the font, I'd say, but he said he'll try different ones 03:33 < impl> I rather like the font in the third one over 03:33 < Wombert> the TYPO3 logo fon't isn't too bad 03:33 < Wombert> or http://framework.zend.com 03:56 -!- Wombert [n=Wombert@dslb-088-064-015-185.pools.arcor-ip.net] has quit [] 03:58 -!- Fastly [n=alex@81-86-145-67.dsl.pipex.com] has quit ["Leaving"] 05:42 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 06:28 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit [Read error: 110 (Connection timed out)] 08:23 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 08:55 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has joined #agavi 09:00 < v-dogg> huomenta 09:01 < shoan> morning 09:04 < v-dogg> what's going down in India 09:13 < shoan> diwali and ramzan just went down 09:17 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 09:42 < digitarald> Morning fellows, anybody here? 09:42 < splatch`> oi! 09:42 < splatch`> digitarald: only bots :) 09:43 < digitarald> ;) 09:43 < digitarald> morning splatch`: do u know an open-source forge script. like sourceforge, but not so big 09:44 < splatch`> e-collab? :) 09:46 < digitarald> uh ... this is not open-source? or not? 09:47 < v-dogg> hmm... 09:48 < v-dogg> what happened to propel loading? 09:48 < digitarald> propel loading ... why? did not use it because i have 1.2 09:48 < splatch`> digitarald: http://gforge.org/ ? 09:49 < splatch`> v-dogg: tigris.org are down 09:50 < v-dogg> splatch`: so? 09:50 < splatch`> forge-scirpt :) 09:50 < v-dogg> hmm... #1172 broke my database class 09:51 < v-dogg> bugger... 09:51 < splatch`> v-dogg: mamboforge.net was based on gforge 09:51 < v-dogg> splatch`: I wasn't the one asking about those :) 09:52 < digitarald> :D 09:52 < digitarald> thx splatch` 09:52 < splatch`> v-dogg: sorry :) 09:52 < digitarald> i think gforge is a nice solution 09:52 < splatch`> i don't know... maybe with nice (agavi) skin will be better? 09:52 < splatch`> :] 09:53 < digitarald> i know ;) its for another project ;) 10:08 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 10:21 -!- KarlKoch [n=Karl@p5486112D.dip0.t-ipconnect.de] has joined #agavi 11:03 -!- Wombert [n=Wombert@dslb-088-064-015-185.pools.arcor-ip.net] has joined #agavi 11:04 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 11:04 < Wombert> hi guys 11:04 < v-dogg> Wombert: zomg h3lp plz lol lol 11:04 < Wombert> shoan: thanks for the mail 11:04 < horros> hai 11:04 < Wombert> v-dogg: cheers 11:04 < Wombert> http://www.fontshop.com/fontfeed/archives/web-20-logos.cfm 11:04 < v-dogg> hi 11:04 < Wombert> you have to go to this URL twice 11:04 < Wombert> i.e. enter it, then you get redirected, then enter it again in the same window 11:05 < Wombert> do you guys like any of these fonts 11:05 < Wombert> I'm thinking Bell Gothic Black would be pretty nice, costs only 21 dollars 11:05 < horros> Wombert: what is this font for? 11:06 < shoan> Wombert: you are welcome :) 11:06 < Wombert> we need a font for the logo 11:06 < shoan> i was hoping it would help for the font in the logo 11:06 < Wombert> horros: http://kazek.pl/_logo2.png 11:07 < horros> ooh 11:07 < horros> pretty :) 11:07 < eremit> why using a comercial font ? 11:07 < eremit> morning all 11:07 < eremit> :D 11:07 < v-dogg> Wombert: I'm having problems with my propel db implementation again 11:07 < KarlKoch> mornin 11:07 < Wombert> eremit: they are, usually, nicer 11:07 < Wombert> v-dogg: eww 11:07 < KarlKoch> looks like a lamp ;) 11:07 < KarlKoch> ;) 11:08 < Wombert> v-dogg: shoot 11:09 < horros> hah 11:09 < horros> Zwei Boxkmpfer jagen Eva durch 11:09 < horros> I somehow like FF Cocon Bold 11:11 < Wombert> hmmm 40 bucks 11:11 < Wombert> yeah 11:11 < Wombert> don't like it tho :S 11:12 < Wombert> the technorati one is nice 11:12 < Wombert> FF Meta Bold 11:12 < horros> yeah 11:12 < shoan> i like the news gator one 11:12 < Wombert> they're all so rounded :\ 11:12 < Wombert> Frutiger Bold is <3333 11:13 < horros> Wombert: base 9 11:13 < Wombert> DropSend for example uses it 11:13 < horros> at least that's not "round" :) 11:13 < Wombert> but ugly xD 11:13 < horros> agreed :) 11:13 < Wombert> what about frutiger? 11:13 < Wombert> rather cheap 11:14 < Wombert> 30 dollars, I'll donate that ;) 11:14 < horros> that doesn't really tickle my fancy, tbh :I 11:14 < Wombert> no problem 11:14 < Wombert> we're here to discuss 11:14 < Wombert> I gotta run now 11:14 < Wombert> but 11:14 < Wombert> eremit will upload a list of free fonts for me later 11:14 < Wombert> and 11:14 < horros> I'll take a donation of 3845873 more hours per day 11:14 < horros> kthx 11:15 < Wombert> I'll do some example mockups with various fonts 11:15 < horros> I've been so busy lately it's not even remotely funny :( 11:15 < Wombert> so we can decide easier 11:15 < Wombert> :S 11:27 -!- shoan [n=shoan@59.92.159.216] has quit [Read error: 104 (Connection reset by peer)] 11:36 -!- shoan [n=shoan@59.92.196.7] has joined #agavi 11:45 < shoan> how do I pass module and action to the console controller? 12:08 < v-dogg> Wombert: (a) release Teh Source of the Bot :) 12:08 < v-dogg> (b) do you have time to help me with this db issue 12:10 < horros> v-dogg: what issue? 12:11 < v-dogg> after updating agavi, my search_path is not set 12:12 < v-dogg> it should be set in MyDb extends PropelDb ::connect 13:35 < Wombert> re 13:35 < Wombert> search path? 13:35 < Wombert> oO 13:36 < v-dogg> yes, search_path :) 13:36 < v-dogg> something that crappy mysql doesn't have 13:36 < v-dogg> (because it doesn't have schemas) 13:37 * Wombert scratches head 13:38 < v-dogg> but the problem is solved for now 13:38 < v-dogg> with a nasty hack, but anyways 13:40 < v-dogg> I need to figure out what's going on with the dbs 13:41 < v-dogg> I think agavi now has two db connections when it only should use one 13:41 < v-dogg> using* 13:44 < Wombert> v-dogg: http://trac.agavi.org/changeset/1172 13:44 < v-dogg> yes, noticed that 13:44 < Wombert> I'm wondering what broke the search_path stuff!? 13:45 < v-dogg> me too :) 13:45 < v-dogg> I'll update to propel1.3 shortly 13:45 < Wombert> nah 13:45 < Wombert> not necessary 13:46 < Wombert> it's also not 100% stable yet I guess 13:46 < v-dogg> no, not because of this 13:46 < v-dogg> ok 13:46 < Wombert> I wouldn't really recommend using 1.3 yet 13:46 < v-dogg> I was going to create a branch for it 13:46 < Wombert> there's been some talk about breaking BC here and there on the dev list IIRC 13:46 < v-dogg> because I can't break things now 13:57 -!- KarlKoch [n=Karl@p5486112D.dip0.t-ipconnect.de] has quit [Read error: 131 (Connection reset by peer)] 13:59 < Wombert> [12:41] v-dogg: I think agavi now has two db connections when it only should use one 14:00 < Wombert> do you use a creole connection via agavi? 14:00 < v-dogg> yes 14:02 < Wombert> and use_autoload is on 14:02 < v-dogg> yes 14:03 < v-dogg> I also use AgaviCreoleSessionStorage 14:03 < Wombert> you use getConnection, right? 14:04 -!- KarlKoch [n=Karl@p5486112D.dip0.t-ipconnect.de] has joined #agavi 14:04 < v-dogg> yes 14:04 < v-dogg> or wait, where? 14:07 < Wombert> hmh 14:09 < Wombert> hmmmmmh 14:09 < horros> stupid ford dealers 14:09 < horros> #(#% 14:09 < Wombert> what makes you think there's more than one connection? 14:09 < Wombert> horros: why 14:09 < Wombert> did you sell the 306? 14:10 < horros> Wombert: they seem to have big problems understanding that I need two exhaust valves for a 2001 focus ST170. 14:10 < horros> Wombert: no, I didn't, I'm hunting for these for a friend of mine. 14:10 < Wombert> oh 14:10 < Wombert> too bad 14:10 < horros> agreed. 14:11 < Wombert> shall I write to my dealer and ask him what they cost? 14:12 < horros> the german ones are apparently even worse, they refuse to talk to you without the VIN :) 14:12 < Wombert> uuuh? 14:13 < Wombert> v-dogg: how does this search path stuff work? 14:14 < horros> Wombert: said friend of mine had a german friend of his ask his ford dealer, they didn't tell him ANYTHING without the VIN 14:14 < horros> which I find rather odd 14:14 < horros> given the economic state ford is in, you'd think they'd want to sell anything to anyone :D 14:15 < Wombert> actually 14:15 -!- theoden[pl] [n=theod@ckt109.neoplus.adsl.tpnet.pl] has joined #agavi 14:15 < Wombert> Ford Germany is the division with the highest proft margins ;) 14:15 -!- theoden[pl] [n=theod@ckt109.neoplus.adsl.tpnet.pl] has left #agavi [] 14:15 < Wombert> (AFAIK) 14:15 < horros> sigh 14:15 < horros> now the damn parts dealer doesn't answer the phone 14:15 < horros> :( 14:16 < Wombert> and given how they sell decent (but boring) cars here in yurop and piles of crap over in the states 14:16 < Wombert> ford europe probably couldn't care less 14:16 < Wombert> should I try to call my dealer? 14:16 < horros> please do 14:16 < Wombert> k 14:16 < horros> focus ST170, 2001. two exhaust valves. 14:16 < Wombert> exhaust valves, right? 14:16 < horros> aye. 14:16 < Wombert> do you have a part number or anything 14:16 < Wombert> what does an exhaust valve do anyway 14:16 < Wombert> is that for regulating backpressure 14:17 < horros> there's only one version of the ST170, so don't let them tell you the parts for the normal 2-litre zetec engine :) 14:17 < horros> Wombert: well, no. 14:17 < horros> Wombert: the engine has 16 valves, right? 14:17 < Wombert> yes 14:17 < horros> 8 are inlet valves, 8 are outlet/exhaust valves 14:17 < Wombert> ah 14:17 < Wombert> outlet valves 14:17 < Wombert> okay 14:17 < Wombert> and you need two of em 14:17 < horros> yeah 14:17 < Wombert> roger 14:18 < horros> if they ask for the VIN, just tell them it's a rally car project and it doesn't have a VIN 14:18 < Wombert> I'll tell them to go fuck themselves because it's none of their business if you ask me 14:18 < horros> hehe, this is also true :) 14:19 < Wombert> he's looking for the price 14:19 < Wombert> "200 horsepower, right?" 14:19 < Wombert> omg 14:19 < Wombert> ... 14:19 < horros> no, 170 14:19 < horros> hence, ST170 :) 14:19 < Wombert> yes but he asked that 14:19 < horros> that's exactly what they asked me too 14:19 < horros> haha 14:20 < Wombert> there's two versions 14:20 < Wombert> he says 14:20 < horros> no, there aren't 14:20 < Wombert> okay 14:20 < horros> there is only one version of the ST170 14:20 < Wombert> ah he found em I thin 14:20 < Wombert> k 14:20 < horros> which is 170bhp 14:20 < horros> he's confusing it with the normal ST which has a 5 cylinder 2.something engine 14:21 < horros> 5 cyl. 225bhp 2.5 liter, to be specific. 14:21 < Wombert> 28 euros per piece 14:21 < horros> but that is not what we want, we want the 2l 170bhp ST170 :) 14:21 < Wombert> 1143057 is the order no 14:21 < horros> ok, thanks a billion :) 14:21 < Wombert> I can order them for you 14:22 < Wombert> they'd be here tomorrow if I order before 5pm 14:22 < horros> they're not for me, they're for a brit friend of mine :I 14:22 < Wombert> I could ship them to britain, of course ;) 14:22 < horros> there is not a single exhaust valve in the whole of UK, apparently 14:22 < horros> hmm, yeah 14:22 < Wombert> ("for you" = "for that guy") 14:23 < horros> yes 14:23 < Wombert> they're not large or heavy, are they, so shipping should be cheap 14:23 < horros> also, stu is a top bloke and I'd trust him with my firstborn baby :) 14:23 < horros> they should be about 300 grams 14:23 < horros> and size maybe 120x70x35mm 14:23 < horros> (both of them) 14:25 < Wombert> let me look up the shipping costs for that 14:25 < Wombert> btw any UK dealer should be able to order from the Cologne factory 14:25 < Wombert> which is what my dealer would d 14:25 < Wombert> do 14:27 < horros> he said he'd gone through every single dealer in the UK, and not a single valve anywhere in sight 14:27 < horros> and shipping 2-3 days from canada or us would cost about 50 :) 14:29 < horros> cig brb 14:32 < Wombert> from what I can tell, shipping is EUR 4.50 14:32 < horros> Wombert: how many days? 14:32 < Wombert> don't know 14:33 < horros> Wombert: btw, his project is pretty interesting; he's putting the head of a ST170 onto some engine or the other, and is putting the enigne into a fiesta :D 14:33 < horros> ~200bhp + nitro :D 14:33 < Wombert> oO 14:33 < Wombert> into a fiesta? 14:33 < horros> aye :) 14:33 < Wombert> so basically 14:33 < Wombert> he ruins the engine 14:33 < Wombert> :D 14:34 < horros> not really :) 14:34 < horros> it's a race car :) 14:34 < horros> that thing is going to positively *FLY* :) 14:34 < Wombert> it will go to the UK by air I believe 14:34 < horros> so it should be like 2-or-so days 14:34 < Wombert> I could also send a packet w/ priority air mail 14:35 < Wombert> but that would be ~15 euros 14:35 < horros> that's fine 14:35 < Wombert> :) 14:35 < Wombert> ask him 14:35 < horros> I found priority package here, 2-3 days, 10.50e 14:35 < Wombert> www.deutschepost.de 14:35 < horros> he gave green lights to that :) 14:35 < horros> he said he needs the valves yesterday :) 14:35 < Wombert> but it's only in german I think 14:36 * horros finds portokalukator 14:36 < Wombert> http://www.deutschepost.de/dpag/mapp?xmlFile=1004909 14:37 < horros> yeah, that's where I was :) 14:37 < Wombert> http://www.deutschepost.de/dpag?skin=hi&check=yes&lang=de_DE&xmlFile=900424 14:37 < Wombert> "Maxibrief International" 14:37 < Wombert> -> 500g max 14:37 < Wombert> -> europe 14:37 < Wombert> -> 4,50 14:38 < horros> 14:30 <@horros> 28e/piece, shipping with priority air mail ~15e 14:38 < horros> 14:30 <@stu> definately st170 exhaust valves yeah? 14:38 < horros> 14:30 <@stu> hi drollie 14:38 < horros> 14:31 <@stu> and genuine ford.. 14:38 < horros> 14:31 <@horros> yes 14:38 < horros> 14:31 <@stu> yes that would be excellent 14:39 < Wombert> http://www.deutschepost.de/dpag?tab=1&skin=hi&check=yes&lang=de_DE&xmlFile=842 14:39 < horros> 14:32 <@stu> how can i pay 14:39 < Wombert> I could add that to the shipping 14:39 < Wombert> it's an express thingie 14:39 < horros> like "pay when you go get it"? 14:40 < Wombert> that would be 10 euros then if I ship it in an envelope 14:40 < Wombert> yeah you say you trust him 14:40 < Wombert> ask him if he can transfer the money to my bank account then 14:40 < Wombert> shouldn't cost him extra with an IBAN and a SWIFT code 14:42 < horros> Wombert: did you order them already? 14:43 < horros> 14:36 <stu> i'm going to call my bank quickly and check 14:44 < Wombert> hang on a second 14:44 < horros> Wombert: he said he actually needs only one of them 14:44 < Wombert> oh 14:44 < Wombert> good 14:44 < Wombert> and 14:45 < Wombert> I think he could send me money via paypal 14:45 < horros> he's got paypal, yeah 14:45 < horros> 14:38 <stu> ha 14:45 < horros> 14:39 <stu> 14 charge 14:45 < horros> 14:39 <stu> fuck that 14:45 < Wombert> haha 14:45 < horros> jeez the banks in UK are ripping you off 14:45 < horros> :D 14:46 < horros> 14:40 <stu> ok one valve 14:46 < Wombert> he won't need to pay customs will he? 14:46 < horros> 14:40 <stu> genuine ford st170 exhaust valve 14:46 < horros> 14:40 <stu> 28 euro + 15e shipping + drink 14:46 < horros> 14:40 <stu> paid via paypal 14:46 < horros> 14:40 <stu> sound good? 14:47 < Wombert> yes 14:47 < Wombert> I'll order it now 14:47 < horros> sec 14:47 < v-dogg> how do you buy drinks via pay pal?-) 14:47 < horros> 14:40 <stu> not if he marks it as a 10e gift :O) 14:47 < horros> hehe 14:47 < Wombert> will do 14:47 < Wombert> but it's EU, right? 14:47 < Wombert> shouldn't matter then anyway 14:48 < Wombert> oh wait ze brits are sitting on their isle saying "fuck teh krauts and frogs we'll charge money for the wienerschnitzels and the fromage" 14:48 < horros> ahahaha 14:49 < horros> Wombert: gimme your paypal address and he'll pay immediately 14:49 < Wombert> ordered 14:49 < horros> only one, yes? 14:49 < Wombert> yes 14:49 < Wombert> they said it'll be there tomorrow noon 14:49 < Wombert> I'll be at the Systems fair tomorrow BUT 14:50 < Wombert> I'll go earlier and leave at 3p or so 14:50 < Wombert> and drive by the dealer after that 14:50 < Wombert> and then ship it 14:50 < horros> good stuff 14:50 < Wombert> I hope they'll get it in time 14:50 < Wombert> he didn't even need my name or anything xD 14:50 < horros> Wombert: paypal address? 14:50 * Wombert scratches head 14:50 < Wombert> my email address is dzuelke@gmail.com 14:50 < horros> 14:43 <stu> get his paypal addy before my session times out :) 14:50 < horros> :D 14:50 < Wombert> I think I could create a payment request for him 14:51 < Wombert> can he just send me money like that with paypal? 14:51 < horros> fuck if I know 14:51 < Wombert> haha 14:51 < horros> I've never used paypal :) 14:51 * Wombert hugs horros 14:51 < Wombert> ah yeah it's possible 14:51 < Wombert> cool 14:51 < horros> Wombert: so your paypal address is dzuelke@gmail.com? 14:52 < Wombert> 15 euros will be more than enough for shipping 14:52 < Wombert> yes 14:52 < horros> 14:45 <stu> the money is in his paypal account 14:52 < horros> 14:45 <stu> with a little on top 14:52 < Wombert> oO the money already arrived 14:52 < Wombert> a little? 14:52 < Wombert> oO 14:52 < Wombert> say thanks to him and 14:52 < Wombert> I'll see if I can add insured shipping 14:52 < Wombert> I'll send it via air mail 14:52 < Wombert> give me his email address please 14:53 < horros> 14:46 <stu> no the thanks are all his! 14:53 < Wombert> ah I have it 14:53 < horros> 14:46 <stu> just send it the fastest way within budget :D 14:53 < Wombert> will do 14:53 < horros> 14:47 <stu> speed > insurance 14:53 < horros> :D 14:53 < eremit> bad idea with "deutsche post" :P 14:54 < Wombert> I'll send via DHL ;) 14:54 < eremit> another bad idea :P make a good insurance on it ... 14:55 < eremit> i sent a contract via express delivery with dhl some days ago ... i isn't there yet :( 14:55 < Wombert> I never had trouble with them 14:55 < Wombert> oO wtf 14:55 < eremit> they first said, wrong adress ... 14:55 < Wombert> well it can't be worse than the US Postal Service can it 14:55 < horros> hardly :) 14:55 < eremit> then suddently it disapeared in their system ... and now it's lost :P 14:55 < eremit> and the contract was worth about 15k euro for me :/ 14:56 < horros> ouch 14:56 < horros> send it again?-) 14:56 < v-dogg> oooooooh fuck 14:57 < v-dogg> argh.. 14:57 < eremit> so i had to drove from here to nrnberg by car, signed the contract and drove back ... about 1600km only for a contract :P 14:57 < horros> jeez 14:58 < Wombert> "here" is some weird place in Prussia, right? 14:58 < Wombert> no wonder it didn't arrive in nuremberg 14:58 < eremit> pff :P 14:58 < Wombert> border controls etc xD 14:58 < eremit> most likely here is nearer to v-dogg than to you :P 14:59 < horros> hmm 14:59 < horros> this is strange 14:59 < eremit> border controls ? ... Oo ... a that's why bavaria is called free state :P 14:59 < eremit> they dont wanna be part of germany 14:59 < horros> a query with A < X AND (B > X OR B IS NULL) isn't using indexes :I 15:00 < Wombert> it is not? 15:00 < Wombert> mm 15:00 < horros> it's friggen 300 000 rows, and it decides a sequental scan is faster :I 15:00 < Wombert> maybe it is! 15:00 < horros> it isn't 15:00 < horros> I got it to use the index a few times 15:04 < horros> stupid friggen... 15:04 < horros> grumble 15:04 < eremit> *cry* somebody's going to borrow me some bandwith? uploading all the previews of the fonts is taking too long :( 15:05 < horros> using indexes: Total runtime: 477.472 ms when index on (a,b), Total runtime: 498.131 ms when a and b are separately indexed 15:05 < horros> sequental scan: Total runtime: 1212.910 ms 15:05 < horros> )#(%)(# 15:05 < Wombert> how exactly do you "make it use indices" 15:05 < Wombert> what does EXPLAIN sy 15:05 < Wombert> say 15:05 < horros> explain says it's using a sequental scan. 15:06 < horros> Seq Scan on medication_course (cost=0.00..9654.90 rows=116225 width=18) (actual time=0.055..1031.820 rows=110016 loops=1) 15:06 < horros> Filter: ((start_date < now()) AND ((end_date > now()) OR (end_date IS NULL))) 15:06 < horros> Total runtime: 1212.910 ms 15:06 < shoan> Wombert: need help 15:06 < Wombert> shoan: sure 15:06 < shoan> how do I pass module and action to the console controller? 15:07 < Wombert> wtf... it takes SEVEN business days to transfer money from paypal to my bank account? are they nuts? 15:07 < Wombert> shoan: errr 15:07 < Wombert> ah 15:07 < Wombert> dispatch() 15:07 < shoan> btw using 0.10.2 15:08 < Wombert> oh 15:08 < Wombert> errr 15:08 < Wombert> ah you gotta set constants IIRC 15:08 < Wombert> let me have a look 15:08 < shoan> ok 15:09 < KarlKoch> hi there.. i want to test the sample app.. do i need to set up an database for this ? 15:09 < Wombert> no 15:10 < KarlKoch> and how can i login to the app? 15:10 < Wombert> checkout SVN, call pub/ in the browser, understand the error message, fix it, reload, next error message, fix that, and b000m it works 15:10 < Wombert> "Chuck Norris" 15:10 < Wombert> "kick" 15:10 < Wombert> shoan: http://trac.agavi.org/browser/tags/0.10.2a/src/controller/ConsoleController.class.php#L61 15:11 < KarlKoch> is it normal that all action last some time ? - nearly 5-10 seconds.. 15:12 < Wombert> yeah, debug mode 15:12 < Wombert> it re-compiles the LDML data on each request 15:12 < KarlKoch> a okay.. 15:12 < Wombert> i18n is not _too_ fast (but not really slow either) 15:13 < KarlKoch> is there a console or sth like this to few debug messages ? 15:13 < Wombert> 1.0 will also see performance improvements over 0.11, but 0.11 isn't slow by any means 15:13 < Wombert> no, but I wanted to write a web debug console filter thing for 1.0 15:13 < KarlKoch> okay.. 15:13 < Wombert> first things first ;) 15:14 < Wombert> http://secunia.com/advisories/22542 15:14 < Wombert> ... 15:20 < v-dogg> KarlKoch: I use logging for debugging 15:20 < KarlKoch> ok 15:20 < v-dogg> with rotating file appender 15:21 < KarlKoch> another, maybe stupid question, how can i read the docbook files with Formatting under windows ? 15:21 < Wombert> btw 15:21 < v-dogg> and a helper method that wraps my debug string into a log message with a proper level 15:21 < Wombert> I'll drop CachingExecutionFilter 15:21 < v-dogg> noooooooo 15:21 < Wombert> and 15:21 < Wombert> make it ExecutionFilter 15:21 < Wombert> with optional caching you can enable 15:21 < v-dogg> yyyyyeeees 15:21 < Wombert> can 15:21 < v-dogg> can can 15:21 < Wombert> can't be arsed to maintain that code twice 15:21 < Wombert> nightmarish 15:21 < Wombert> KarlKoch: www.xmlmind.com/xmleditor 15:21 < Wombert> for example 15:22 < KarlKoch> ok thx.. i'll try 15:22 < Wombert> once the website is out we'll have nightly html snapshots 15:22 < v-dogg> when when when 15:22 < v-dogg> 5th nov? 15:22 < KarlKoch> :) .. 15:23 < v-dogg> (too much coffee, sorry :) 15:24 < Wombert> yay 15:25 < Wombert> our street now has fibre optic cables 15:25 < Wombert> that means... 15:25 < Wombert> what do you guys guess, eh? 15:25 < Wombert> how many MBits is that gonna be 15:25 < Wombert> they call it VDSL 15:25 < KarlKoch> not bad.. 15:25 < Wombert> you'll laugh at the max bandwidth 15:25 < Wombert> KarlKoch: pssst you know it 15:25 < Wombert> don't tell 15:25 < Wombert> let's hear the finns 15:25 < v-dogg> 10 mbs 15:25 < Wombert> and the others 15:25 < KarlKoch> hehe 15:26 < Wombert> nnnnah you can get that with DSL 15:26 < Wombert> DSL is 16mbits 15:26 < Wombert> max 15:26 < Wombert> so what do you guess 15:26 < v-dogg> but not both ways 15:26 < Wombert> true 15:26 < Wombert> well 15:26 < Wombert> actually 15:27 < Wombert> 6mbits is what you get symmetrically here IIRC 15:27 < Wombert> anyway 15:27 < Wombert> 50MBit/s max!? 15:27 < Wombert> wtf 15:28 < Wombert> http://gigaom.com/2006/10/16/gigabit-dsl-yes-it-will-happen/ 15:29 < horros> yeah, VDSL has a theoretical max speed of a bit over 50 mbps 15:29 < Wombert> the thing is 15:29 < Wombert> they're digging holes into EVERY street in EVERY large city in germany 15:29 < Wombert> to put in their fibre lines 15:29 < Wombert> for 50 mbits? 15:29 < Wombert> come ooon 15:30 < horros> well, 50mbps * a million or fifteen... 15:31 < horros> what would you have them do? renovate all the houses and pull the fiber optic to your apartment?-) 15:31 < horros> need new cabling in the house == expensive :) 15:31 < Wombert> the thing is 15:31 < v-dogg> we got a fibre line installed to our office 15:31 < Wombert> I don't quite understand how 15:31 < Wombert> they ever want to make money of this 15:32 < v-dogg> it already came to the house, now it comes all the way 15:32 < Wombert> it's also for this triple play shit where you'd have phone and TV over the same lione 15:32 < horros> I bet parts of it is government funded :) 15:32 < horros> spekaing of which, I need to call my ISP 15:32 < horros> I'm supposed to pay bills once a month 15:33 < horros> I got one that had the date when I must pay 09.10 15:33 < horros> then I got anotherone with the "must pay" date 19.10 15:33 < horros> :I 15:33 < horros> let the yelling commence! 15:33 * Wombert yells 15:34 < Wombert> horros: actually, no, it's not government funded 15:34 < Wombert> the opposite! 15:34 < Wombert> the competitors want the right to use the lines, too 15:34 < Wombert> pretty weird 15:34 < horros> ze germans... 15:34 < Wombert> yes 15:34 * horros shrugs 15:34 < horros> :) 15:34 < horros> I just wish I had better upstream 15:34 < horros> :( 15:35 < horros> stupid ADSL and it's 1mbit upstream :( 15:35 < horros> hmm 15:35 < Wombert> I have 640kbits 15:36 < horros> I needz to shut down computer and remove cd-rom 15:36 < horros> also, I think I'm going home too. 15:36 < v-dogg> btw Wombert, what's the average price of an average home adsl there? (say 1/512) 15:37 < v-dogg> or 512/512 15:37 < Wombert> you don't get such bandwidths 15:37 < v-dogg> woot 15:38 < horros> I pay 42e (more or less, can't remember) per month for 8/1 15:38 < Wombert> the smallest bandwidth is 2mbits down 15:38 < Wombert> with 192kbit up for example 15:38 < v-dogg> ok 15:38 < Wombert> there's a special offer right now 15:38 < Wombert> ISDN line 15:38 < Wombert> DSL line (2mbits / 384kbits) 15:38 < Wombert> + DSL flatrate 15:39 < Wombert> + phone flatrate 15:39 < Wombert> 44.85 EUR 15:39 < horros> I'm off 15:39 < horros> see you tomorrow 15:39 < Wombert> bye 15:39 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit ["adieu"] 15:40 < Wombert> 1^6mbits would be 52,85 EUR 15:41 < Wombert> 16 15:41 < Wombert> always includes a wifi router 15:43 < v-dogg> they've started to offer wifi routers here too 15:43 < v-dogg> a zillion open and unsecured wlans in town :) 15:43 < Wombert> :D yeah 15:45 < KarlKoch> @wombert.. why don't u use cable - 10 MBits / 420 kBits - 29,90 € + 9,90 € Cable TV Fee.. (Kabelcom/ Kabel Deutschland) 15:45 < Wombert> <- Kabel Medien Service 15:45 < Wombert> you don't even get proper digital cable from them 15:46 < Wombert> from what I know 15:46 < Wombert> and since the TV signal collapses about 10 times an hour... 15:46 < Wombert> I don't even wanna know what the internet connection would be like 15:46 < KarlKoch> hmm - my connection @home is okay.. 15:46 < KarlKoch> no brakes. everything works fine.. 15:47 < v-dogg> how do you stop it if it ain't got no brakes?! 15:47 < v-dogg> ;p 15:47 < Wombert> haha 15:47 < Wombert> xD 15:47 < KarlKoch> *lol* 15:49 < eremit> wombert, a friend of mine has the cable connection too, and hasnt any problems ... 15:49 < Wombert> as I said 15:50 < Wombert> I'm not a direct Kabel Deutschland customer 15:52 < KarlKoch> ok - than it could be a little difficult.. 15:53 < KarlKoch> hmm - is it better to develop with mvc structure ? - for me (as a mvc newbie) it looks more complex 15:54 < v-dogg> it is 15:54 < Wombert> see sample app 15:54 < Wombert> which has an XMLRPC interface 15:54 < Wombert> that's where MVC pays of 15:54 < v-dogg> no matter what situation you are in 15:54 < KarlKoch> hmm - yes i see - i also understand it.. 15:54 < Wombert> I guess it's time to show off teh bot xD 15:55 < Wombert> ah 15:55 < Wombert> v-dogg 15:55 < Wombert> any news on the propel thing 15:55 < KarlKoch> i'll need a good introduction in all the mvc stuff.. do u know a goof one? 15:55 < KarlKoch> good one.. 15:55 < Wombert> no need for an intro 15:55 < Wombert> action does the logic 15:55 < Wombert> view does the presentation 15:55 -!- AgaviBot [n=dzuelke@dslb-088-064-015-185.pools.arcor-ip.net] has joined #agavi 15:55 < Wombert> :) 15:55 < KarlKoch> okay - 15:56 < v-dogg> heh 15:56 < v-dogg> I have a brilliant book about enterprise design patterns 15:57 < Wombert> see that bot, KarlKoch? 15:57 < v-dogg> hmm... can't remember the name of the book 15:57 < KarlKoch> i see. . 15:57 < Wombert> he's written in agavi 15:57 < Wombert> !seen horros 15:57 < AgaviBot> Wombert: horros was last seen on Thu Oct 12 19:04:56 2006 saying "level 4 :)" (joined Thu Oct 12 14:53:37 2006, left Thu Oct 12 23:55:37 2006) 15:57 < Wombert> !info 15:57 < AgaviBot> Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 15:57 < KarlKoch> okay.. 15:57 < Wombert> so the LastSeenAction 15:57 < v-dogg> !hug 15:57 < KarlKoch> not bad.. 15:57 < v-dogg> hey! I deserve one! 15:57 < Wombert> handles a "last seen" request for a user name 15:58 < Wombert> and the view 15:58 < Wombert> handles the specific output 15:58 < Wombert> for the web site 15:58 < KarlKoch> i understand.. 15:58 < Wombert> or the IRC part 15:58 < Wombert> that's what _proper_ MVC gives you 15:58 < Wombert> symfony, for example doesn't have that 15:58 < Wombert> you set cookies in the action there etc 15:58 < Wombert> -> bad 15:59 < Wombert> plus they have stuff that depends on GET and POST etc etc 15:59 < KarlKoch> okay... i have our application in mind and think of building them up using a framework .. 15:59 < v-dogg> KarlKoch: this all applies to Ajax, XML-RPC, SOAP, PDF whatever-ouput 15:59 < Wombert> hey it's not checking the bloody feeds :( wtf :S 15:59 < v-dogg> one action - multiple presentations 15:59 < Wombert> anyway, I gotta add a feature there 15:59 -!- AgaviBot [n=dzuelke@dslb-088-064-015-185.pools.arcor-ip.net] has quit [Remote closed the connection] 16:00 < v-dogg> symfony has taken a path that means they will never be able to separate business logic and presentation 16:01 < KarlKoch> ok.. 16:01 < KarlKoch> and what about the models ? how do i use them ? 16:02 < KarlKoch> it looks like a data store ( in case of the samplepricefindermodel) 16:02 < v-dogg> that varies a little 16:03 < v-dogg> some use them as data models and manipulate the data in actions 16:03 < v-dogg> some then again use them as "pure" models that handle all business logic (and actions are only there to call the right model) 16:03 < v-dogg> some, like me, mix that a bit 16:04 < v-dogg> I have models for business logic that is needed by several actions 16:04 < v-dogg> but I have business logic in actions too (mainly because I'm so lazy) 16:04 < KarlKoch> *g* 16:05 < v-dogg> BUT I never (well, almost never) have business logic in Action::execute* 16:06 < v-dogg> so my execute just calls a model or a function 16:07 < v-dogg> keeping things in their own functions makes it easier to refactor business logic from an action to a model easier 16:07 < KarlKoch> ok .. hm oh sorry.. .. i have to run out for a meeting - think i'll be online tommorow again.. 16:07 < v-dogg> sure 16:07 < KarlKoch> thx for your explanations .. 16:07 < v-dogg> no problem 16:07 < v-dogg> glad to help 16:08 -!- KarlKoch [n=Karl@p5486112D.dip0.t-ipconnect.de] has quit ["Verlassend"] 16:14 -!- AgaviBot [n=dzuelke@dslb-088-064-015-185.pools.arcor-ip.net] has joined #agavi 16:14 < Wombert> let see :) 16:14 < Wombert> !hug v-dogg 16:14 < Wombert> :S 16:15 < Wombert> !hug 16:15 < Wombert> awww 16:15 < v-dogg> lol 16:16 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:16 -!- AgaviBot [n=dzuelke@dslb-088-064-015-185.pools.arcor-ip.net] has quit [Remote closed the connection] 16:17 < v-dogg> hurry now, gotta go soon and I need that hug :D 16:17 < Wombert> eww that was so my fault 16:18 -!- AgaviBot [n=dzuelke@dslb-088-064-015-185.pools.arcor-ip.net] has joined #agavi 16:19 < Wombert> !hug v-dogg 16:19 < AgaviBot> hugs v-dogg 16:19 < Wombert> :>>>>> 16:19 < Wombert> !hug 16:19 < AgaviBot> hugs v-dogg 16:19 < Wombert> eyyyyy 16:19 < v-dogg> :D 16:19 < Wombert> bugger 16:19 < v-dogg> haha 16:19 < Wombert> I want him to hug me 16:19 < v-dogg> thanks mate, gotta go now 16:19 * Wombert kicks AgaviBot 16:19 < v-dogg> he don't wanna :D 16:19 < Wombert> eww he should say "ouch" now :| 16:19 < v-dogg> later 16:19 < Wombert> l8rs man 16:19 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has quit ["quit"] 16:19 * Wombert slaps AgaviBot 17:21 -!- shoan [n=shoan@59.92.196.7] has quit [Read error: 145 (Connection timed out)] 17:21 < eremit> uh i need some help with a validator 17:21 -!- codecop [n=tty1@85.206.216.69] has joined #agavi 17:22 < eremit> http://phpfi.com/167584 17:22 -!- shoan [n=shoan@59.92.192.154] has joined #agavi 17:22 < eremit> where's the logical difference, between the old syntax and the new one ? 17:23 < eremit> the template at the end worked with the old syntax flawless, the errors.birthday got filled, but with the new one it doesn't 17:23 < eremit> kaos, that'S the example i meant yesterday :P 18:00 -!- Wombert_ [n=Wombert@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 18:00 -!- Wombert [n=Wombert@dslb-088-064-015-185.pools.arcor-ip.net] has quit [Nick collision from services.] 18:11 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 18:14 -!- AgaviBot [n=dzuelke@dslb-088-064-015-185.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:16 < eremit> haha ... wtf ... 18:16 < eremit> the operator validators don't react on getName() ? 18:24 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 18:25 -!- v-dogg [n=Miranda@mcinen-dsl.utu.fi] has joined #agavi 18:27 < eremit> v-dogg you have experimented with export in validators havn't you ? 18:27 < v-dogg> well... I use it :) 18:27 < v-dogg> but I'm no expert 18:28 < eremit> uhm, well what actually does it ? 18:30 < v-dogg> a validator can export a normalized value so that an action don't have to care about that anymore 18:30 < eremit> hmpf ... that's not what i'm looking for :/ 18:30 < v-dogg> for example my float validator normalises 1,1 to (float) 1.1 18:30 < v-dogg> or date 12.12.2006 into a php time 18:31 < v-dogg> what are you looking for? 18:31 -!- v-dogg [n=Miranda@mcinen-dsl.utu.fi] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 18:32 -!- v-dogg [n=Miranda@mcinen-dsl.utu.fi] has joined #agavi 18:32 < v-dogg> woot was that :) 18:32 < eremit> hrhr 18:32 < eremit> i need a way to map errors to non existant fields ... 18:33 < eremit> like having birthday_Day, .._Month, .._Year ... and if one of this fails, the error should appear to come from birthday 18:34 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 18:34 < Whisller> Hi 18:35 < v-dogg> evening 18:39 < eremit> hah ... got it ... it's the affects parameter .. which must be supplied in every child validator, because it's ignored in the parent container ... 18:45 < v-dogg> Whisller: what brings you here? 18:45 < Whisller> hmm 18:46 < Whisller> nothing :) 18:47 < Wombert_> welcome, Whisller 18:47 < Whisller> Hi Wombert_ 18:48 < v-dogg> can't this Miranda client thingy handle more than one server... 18:48 < v-dogg> piece of crap... 18:48 < Wombert_> haha 18:48 -!- Wombert_ is now known as Wombert 18:49 * v-dogg misses irssi 18:49 < v-dogg> -es 18:50 < v-dogg> perhaps 18:50 < v-dogg> dunno 18:52 -!- benny`work [n=benny@p54AC31AD.dip0.t-ipconnect.de] has joined #agavi 18:53 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 18:54 < Wombert> !hug v-dogg 18:54 * AgaviBot hugs Wombert 18:54 < Wombert> no 18:54 < Wombert> you stupid idiot 18:54 < Wombert> !hug 18:54 * AgaviBot hugs Wombert 18:54 < Wombert> zomg 18:54 < Wombert> !hug v-dogg 18:54 * AgaviBot hugs Wombert 18:54 < Wombert> awwww 18:54 < Wombert> !seen horros 18:54 < AgaviBot> Wombert: horros was last seen on Thu Oct 12 19:04:56 2006 saying "level 4 :)" (joined Thu Oct 12 14:53:37 2006, left Thu Oct 12 23:55:37 2006) 18:54 < Wombert> hm 18:55 * Wombert slaps AgaviBot 18:55 < Wombert> slaps AgaviBot 18:55 < Wombert> hm hm hm 18:55 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Remote closed the connection] 18:56 < Wombert> aah 18:56 < Wombert> see? 18:56 < Wombert> :> 18:57 < splatch`> oi! :] 19:00 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 19:00 < Wombert> !hug 19:01 < Wombert> :S 19:01 < Wombert> !hug v-dogg 19:01 < Wombert> EYYY 19:01 < Wombert> arrrrgh 19:01 * Wombert kicks AgaviBot 19:01 < AgaviBot> Wombert: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( 19:01 < Wombert> haha :> 19:02 * ttj kicks Wombert 19:02 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 19:02 < Wombert> hey will ya stop kicking me 19:03 < splatch`> AgaviBot: opme 19:06 < eremit> Wombert, your bot needs some love :P 19:06 < eremit> does ist support 19:06 < eremit> !trac #123 19:06 < eremit> no :( 19:32 < Whisller> ale sie nawpierdalalem :D 19:32 < Whisller> ups not this channel ;) 19:32 < v-dogg> hehe, "Shortly in english: We do not provide shells to foreign customers." 19:38 -!- v-dogg [n=Miranda@mcinen-dsl.utu.fi] has quit ["don't like this client"] 19:39 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has joined #agavi 19:40 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 19:56 < splatch`> Whisller? ;) 19:56 < splatch`> Whisller: what are you doing here? :D 19:56 < Wombert> http://www.fontshop.com/index.cfm?fuseaction=catalog.fontpackage&startrow=1&records=&currpage=1&totalrecords=12&displayfontid=C.117386.0.0&fontRendererText=Agavi 19:56 < Whisller> splatch`, hmm 19:56 < Whisller> I'm looking you...ucze sie anglika ;D 19:56 < Wombert> Neo Sans Medium Italic? 19:57 < splatch`> Whisller: just like me :) 19:58 < Wombert> http://www.fontshop.com/index.cfm?fuseaction=catalog.fontdetail&displayfontid=LH.120906.0.25&attributes.sampleSize=74&sampleText=Agavi&sampleSize=74 19:58 < Wombert> mmmh 19:58 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 19:58 < Wombert> or http://www.fontshop.com/index.cfm?fuseaction=catalog.fontpackage&startrow=1&records=&currpage=1&totalrecords=15&displayfontid=FF.9467.0.0&fontRendererText=Agavi 19:59 < v-dogg> Wombert: all those Neo Sans fonts are nice. I prefer non-italics but they are fine too 19:59 < codecop> second i like 20:00 < Wombert> http://www.fontshop.com/index.cfm?fuseaction=catalog.fontpackage&startrow=1&records=&currpage=1&totalrecords=5&displayfontid=LH.121015.0.0&fontRendererText=AGAVI imagine that with the first A larger 20:00 < Whisller> splatch`, English with Crocodile ;) -> http://www.azk.pl/ 20:00 < Wombert> I think the first thing we should decide on is whether we want all caps or not 20:00 < digitarald> i like the last font, bold 20:01 < digitarald> all caps 20:01 < v-dogg> I don't :) 20:01 < Wombert> the issue with lowercase letters after the A is that the g does below the baseline 20:01 < digitarald> ;) ... just my 2c ;) 20:02 < Wombert> you can click on each font at http://www.fontshop.com/fontfeed/archives/web-20-logos.cfm 20:02 < Wombert> and enter sample text 20:02 < Wombert> feel free to play around and make suggestions 20:02 < splatch`> Wombert: cool :] 20:02 < Wombert> I'll send an email to Darek later and show him the list 20:02 < Wombert> I'll also tell him that he can use a commercial font, I'll pay for it 20:02 < Wombert> (or maybe everybody throws a buck or two into the hat, we'll see) 20:03 < splatch`> Wombert: us secret are open? ;))) 20:03 < Wombert> ? 20:03 < splatch`> you know, the "new" design 20:03 < Wombert> well 20:04 < Wombert> it's not like we'll show it to everyone because that takes out all the suspense ;) 20:04 < Wombert> but we have to discuss the logo font 20:04 < v-dogg> uh... I ordered a shell account from a finnish web hosting company 20:04 < v-dogg> made the order in the WWW of course 20:04 < Wombert> I don't want to just decide on something nobody else agrees to 20:05 < v-dogg> and now... they'll send a paper invoice to me and the account get activated when I have paid the bill 20:05 < Wombert> ... 20:05 < Wombert> zomg 20:06 < v-dogg> these are modern times we live in 20:06 < v-dogg> morons... 20:07 < Wombert> mmmh a lot of these fonts have wide "A"s which makes them unsuitable 20:07 < digitarald> thats like customers that send faxs :D 20:07 < Wombert> http://www.fontshop.com/index.cfm?fuseaction=verity.search&startrow=1&records=20&currpage=1&totalrecords=15&searchby=&searchID=&searchletter=&searchstr=interstate&font_categories_checkbox=font_name_search&fontRendererText=Agavi this one? 20:08 < Wombert> oh fuck that's a pricey one 20:08 < digitarald> i hate that ... 'we still need that huge text for that section' ... 'the fax is coming ... ' ... *argh* 20:09 < Wombert> I got an idea 20:09 < Wombert> everybody who wants a place in heaven 20:09 < Wombert> shall go to http://www.fontshop.com/fontfeed/archives/web-20-logos.cfm 20:09 < Wombert> and tell me three fonts he likes (please click them and generate sample text to make sure the "A" or "g" doesn't suck) 20:09 < digitarald> thats a place in heaven? fontheaven may be ;) 20:09 < Wombert> kthx 20:09 < Wombert> :> 20:11 < digitarald> u dont want a rounded font? 20:13 -!- codecop [n=tty1@85.206.216.69] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 20:13 < splatch`> times new roman rox ;) 20:54 < v-dogg> Wombert: I think it's easiest if you just pick a font that looks good to you 20:55 < v-dogg> we are so few that there's really no point voting for it 20:55 < v-dogg> five people votes for five different font :) 21:07 < splatch`> we wanna see new Agavi site! ;) 21:14 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 21:14 -!- kaos- [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 21:42 < Wombert> digitarald: the question is what _you_ want 21:42 < Wombert> that's why I'm asking 21:47 -!- ElGatito [n=ttsuchi@c-24-6-199-220.hsd1.ca.comcast.net] has joined #Agavi 21:49 -!- lukoko [n=kosher@88.118.50.137] has joined #agavi 21:56 < ElGatito> hello 21:57 < ElGatito> does anyone here know what happened to mojavi.org? (I saw on google caches that there was a talk about merging agavi and mojavi so) 21:58 < splatch`> ElGatito: i know 21:58 < splatch`> ElGatito: the Mojavi is down and project is dead 21:58 < lukoko> how long is it dead? 21:59 < ElGatito> mmm so it IS dead 21:59 < splatch`> hm.. a few months 21:59 < splatch`> ElGatito: from september? 22:00 < lukoko> what is agavi then? 22:00 < splatch`> lukoko: agavi is framework based on Mojavi 3 ideas 22:00 < ElGatito> well. my friend just got a job at a company, and apparently mojavi is the framework they use there.. :( i wonder if the people at the company even know 22:01 < lukoko> ElGatito, which company? 22:01 < ElGatito> it's some Japanese company 22:01 < splatch`> ElGatito: They use Mojavi 3 or 4? 22:02 < ElGatito> but so she's trying to learn how to use the framework, but there are not that many detailed tutorials etc on the web... 22:02 < ElGatito> 3 22:02 < splatch`> ElGatito: Mojavi 3 is good.. but very old 22:03 < splatch`> ElGatito: my suggestion is "try to use Agavi 0.11" 22:03 < ElGatito> well. she told me her coworker told her mojavi *2* was good... mojavi *3* is what they migrated to, though, this September. lol 22:03 < lukoko> i also going to start working in a compamy which is using mojavi.. i wonder where could i get sources and docs? 22:03 < splatch`> ElGatito: M3 was closed years ago 22:04 < ElGatito> i see... 22:04 < ElGatito> well, sources are easy to get, there are some mirrors that are still alive 22:04 < splatch`> Mojavi always had better code documentation than "user" 22:05 < ElGatito> i see. so for someone who tries to learn, it's a matter of digging through the code ultimately... 22:05 < splatch`> the only one tutorial to Mojavi it's.. the 3 steep tutorial for Mojavi 2.0 22:06 < ElGatito> and 3.0 is a bit different from 2.0 too, right? 22:06 < splatch`> ElGatito: a litte 22:06 < splatch`> the most difference is PHP version 22:07 < ElGatito> would Agavi something that you would recommend instead of Mojavi (if you had a say in the migration path?) 22:07 < ElGatito> lukoko: let's see. Last night I went to the wayback machine and downloaded from there, but 22:08 < splatch`> ElGatito: Agavi is good stuff, i've one application based on 22:08 < splatch`> m3 22:08 < ElGatito> http://mojavi.net/ 22:08 < splatch`> the rest it's Agavi :) 22:08 < Wombert> re 22:08 < Wombert> welcome ElGatito 22:09 < ElGatito> the above is a Japanese site but they have downloads for the things 22:09 < Wombert> welcome lukoko 22:09 < ElGatito> thanks 22:09 < splatch`> Wombert: hello :) 22:09 < Wombert> we suggest you use Agavi 22:09 < splatch`> yes! :) 22:09 < Wombert> the mojavi project is dead 22:09 < splatch`> yes! :( 22:09 < Wombert> awwww 22:09 < ElGatito> yes, if I had a say in such a thing :) after all, it's my friend's company's decision, and she's just a new coder there :-p 22:10 < Wombert> that company migrated to mojavi _3_ this year? 22:10 < lukoko> is agavi compatible with php 4 ? 22:10 < ElGatito> yeah, so after googling and collecting info... 22:10 < Wombert> M3 hasn't been updated for almost two years now! 22:10 < Wombert> agavi is php 5.1+ 22:10 < splatch`> lukoko: no, only PHP 5.1 22:10 < ElGatito> it seems like a really strange decision 22:10 < Wombert> they probably didn't know about the project status etc 22:10 < Wombert> I'd recommend Agavi especially for larger companies 22:10 < ElGatito> but since it's a Japanese company.. maybe it's still popular in Japan? who knows... 22:10 < Wombert> it has a strong enterprise focus 22:11 < Wombert> yes, very popular 22:11 < ElGatito> i see 22:11 < Wombert> where are you from? 22:11 < ElGatito> well, i live in cali 22:11 < ElGatito> my friend got a job at a Japanese company in the area as well 22:11 < Wombert> ah 22:12 < Wombert> yeah they seemed to have been all crazy about mojavi3 22:12 < lukoko> there's one Lithuanian company using mojavi aswell 22:12 < Wombert> the focus shifted to symfony a bit, for whatever reason 22:12 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:12 < Wombert> and to rails, of course 22:12 < ElGatito> i see. 22:12 < Wombert> at least that's what I understand from reading some of these japanese blogs that mention mojavi or agavi 22:12 < Wombert> btw, we'll launch a new website and release on Nov 5 22:13 < ElGatito> well, I'm a java coder and recently started w/ RoR but I have no exposure to the PHP scene so, that's good to know 22:13 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit [Read error: 110 (Connection timed out)] 22:13 < splatch`> ok, i must back to my project 22:13 < splatch`> bye everyone! 22:13 < Wombert> bye splatch 22:14 < ElGatito> so. basically, mojavi is dead so the company / my friend is on their own... 22:14 < ElGatito> at least the src is there so they could hack it i guess 22:14 < ElGatito> thanks for the info / help everyone! 22:15 < Wombert> of course 22:15 < Wombert> BUT 22:15 < Wombert> hang on 22:15 < ElGatito> yeah? 22:15 < Wombert> agavi is based on mojavi 3 22:15 < Wombert> so if they have experience with that, migration wouldn't be _too_ difficult 22:15 < ElGatito> so that should be a good migration path right? 22:15 < ElGatito> ok 22:15 < Wombert> we (my company) also offer commercial support on request 22:15 < Wombert> if needed 22:16 < Wombert> remember, nov 5 brings a new release with frozen API 22:16 < Wombert> after that, there's only more documentation and performance improvements on our way to v1.0 22:16 < splatch`> Agavi will have support also in Poland ;)) 22:17 < ElGatito> oh ok. just as a curiosity, though, how similar is it to mojavi? is it easy to migrate existing mojavi app to agavi, or is it only conceptually similar? 22:17 < splatch`> ElGatito: yes and no.. 22:17 < Wombert> it's a lot of search-and-replace you can automate 22:18 < Wombert> the basic structure, concepts, execution flow is similar 22:18 < ElGatito> i see 22:18 < Wombert> of course, it would be good to invest a little more time to really leverage the new capabilities 22:18 < Wombert> it depends a lot of what your applicaiton looks like 22:18 < Wombert> for instance, whether or not it uses validation 22:19 < Wombert> feel free to ask your friend to come here to the channel and have a chat with us if she needs more information 22:19 < ElGatito> ok. well, I am mainly looking for learning resources for her, but 22:19 < Wombert> mmmh that would be a strong argument in favor of agavi, of course 22:19 < ElGatito> perhaps she could learn agavi and "back-port" that knowledge to mojavi at her company? 22:20 < Wombert> since M3 won't ever have docs, being abandoned... 22:20 < ElGatito> yeah... 22:20 < Wombert> yes, she'd get the basic idea, for sure 22:20 < Wombert> even more, she _could_ suggest migrating to agavi 22:20 < v-dogg> night, night 22:20 < Wombert> given that they only recently started using M3... 22:20 < Wombert> nn v-dogg 22:20 < impl> v-dogg: Night 22:20 < v-dogg> missus took over the keyboard! 22:20 < Wombert> I guess the reason why they used M3 was that there are books on it in japan 22:20 < Wombert> hi missus! 22:21 < splatch`> v-dogg: :* 22:21 < impl> pix! 22:21 < Wombert> -japan+japanese 22:21 < Wombert> impl: she's a lot too old for ya buddy 22:21 * Wombert laughs 22:21 < impl> I can pretend if I want :( 22:21 < Wombert> haha 22:21 < Wombert> she found a nice guy already, mind you 22:21 < impl> If I were European I wouldn't touch anyone from the States anyway 22:22 < ElGatito> ok. yeah, i see some ads for the books on that mojavi.net site. not sure if it's available here in the US but. :-p 22:22 < ElGatito> lol 22:22 < Wombert> (he's a bit bald, but who cares) 22:22 < v-dogg> haha 22:22 < Wombert> impl: I beg to differ 22:22 < impl> "It's just a little airborne! It's still good! It's still good!" 22:22 < Wombert> LOL 22:35 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:38 < splatch`> *yawn* 22:39 < splatch`> anyone have simple tree (id/parent_id)? 22:56 -!- lukoko [n=kosher@88.118.50.137] has quit ["He believes in beauty, he's Venus as a boy."] 23:06 < splatch`> Wombert: you've an tutorials to 0.11? 23:06 < splatch`> *Do you 23:10 < kaos-> i think if we had we wouldn't hide it from you :D 23:10 < kaos-> so you would have to ask for it ^^ 23:11 < splatch`> :] 23:48 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Remote closed the connection] 23:48 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 23:51 < Wombert> !hug kaos- 23:51 < Wombert> bah 23:51 < Wombert> !hug 23:52 < Wombert> mh 23:52 * kaos- throws a large pillow at AgaviBot 23:52 * Wombert slaps AgaviBot around with a large trout 23:52 < AgaviBot> Wombert: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( 23:52 < raidman> lol 23:54 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Remote closed the connection] 23:54 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 23:54 < Wombert> !hug raidman 23:55 * Wombert kicks AgaviBot 23:55 < AgaviBot> Wombert: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( 23:55 < Wombert> ffs 23:55 < raidman> :) 23:55 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Remote closed the connection] 23:56 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 23:57 < Wombert> !hug 23:57 < raidman> night 23:57 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 23:57 < Wombert> !hug raidman 23:57 < Wombert> WAAAH 23:57 < impl> Wombert: Ever seen that German forklift training video? 23:58 < Wombert> Stapelfahrer Klaus? 23:58 < Wombert> yeah 23:58 < Wombert> awesome 23:58 < Wombert> is there an english version of it, too? 23:58 < impl> I wish I could understand it :P 23:58 < impl> No, but it's hilarious even without knowing what they're saying 23:58 < Wombert> it's in this 1980s teaching video style 23:58 < Wombert> they're saying "always wear your helmet" 23:59 < Wombert> and "hey, Klaus, careful, you shouldn't be standing on the lift" etc 23:59 < impl> haha 23:59 < Wombert> !hug 23:59 < Wombert> !hug test 23:59 < Wombert> arrrgh 23:59 * impl kicks AgaviBot 23:59 < AgaviBot> impl: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( --- Day changed Thu Oct 26 2006 00:00 < kaos-> i told you 00:00 < kaos-> use a proper irc library 00:00 < kaos-> :P 00:00 < Wombert> uh wtf? 00:00 < Wombert> uh 00:00 < Wombert> xDDD 00:00 < impl> kaos-: I hope you don't mean Net_SmartIRC 00:00 < kaos-> nope 00:00 < impl> Okay. 00:00 < Wombert> ah 00:00 < Wombert> no 00:00 < impl> You're cool then 00:00 < Wombert> totally my fault 00:00 < Wombert> !seen impl 00:00 < kaos-> i would have had a simple one he could have used 00:01 < Wombert> see, that don't work anymore either 00:01 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Remote closed the connection] 00:01 < kaos-> i've started some years ago ^^ 00:01 < kaos-> that at least worked :P 00:02 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 00:02 < Wombert> I wonder if it is possible to XInclude chunks of the same document 00:02 < Wombert> that'd be pretty cool 00:02 < Wombert> !hug impl 00:02 * AgaviBot hugs impl 00:02 < Wombert> :>>>>> 00:02 < impl> Er 00:02 < Wombert> see, he likes you 00:02 < impl> Slight lag! 00:02 < Wombert> !hug 00:02 * AgaviBot hugs impl 00:02 < Wombert> ALÖSDJALKSD 00:02 < Wombert> duh 00:03 < impl> !hug 00:03 * AgaviBot hugs impl 00:03 < Wombert> I want him to hug ME 00:03 < Wombert> :S 00:03 < Wombert> !hug Whisller 00:03 * AgaviBot hugs Whisller 00:03 < impl> lol 00:03 < Wombert> !hug 00:03 * AgaviBot hugs Whisller 00:03 < impl> He remembers 00:03 < Wombert> no, no 00:03 < Wombert> HE 00:03 < Wombert> KNOWS 00:03 < Wombert> TO 00:03 < Wombert> MUCH 00:03 < Wombert> MUST 00:03 < Wombert> KILL 00:03 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Remote closed the connection] 00:03 < impl> rofl 00:03 < Wombert> xD 00:03 < Wombert> yeah that's that crap about it running all the time 00:04 < Wombert> I gotta clear the state after each received message 00:04 < Wombert> I added 00:04 < Wombert> $this->getContext()->getRequest()->clearAttributes(); 00:04 < Wombert> but forgot the params 00:05 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 00:33 < kaos-> this mister olson ... really could have used a format which is easier to process ... 00:33 < kaos-> FFS 00:34 < Whisller> Wombert, :> 00:34 < Wombert> !hug Whisller 00:34 * AgaviBot hugs Whisller 00:34 < Wombert> !hug 00:35 * AgaviBot hugs Whisller 00:35 < Wombert> ALKSdölajsd 00:35 < Whisller> ? 00:35 < Wombert> why are you doing this to me, AgaviBot :( 00:35 * Wombert kicks AgaviBot 00:35 < AgaviBot> Wombert: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( 00:36 < Whisller> ok, supper... 00:36 < Wombert> a bit late, ain't it 00:36 < Wombert> which reminds me 00:36 < Wombert> I wanted to try that new tea flavor 00:36 < Wombert> and some butter cookies 00:36 < Wombert> <3 01:24 < splatch`> hehe 01:24 * splatch` kicks AgaviBot 01:24 < AgaviBot> splatch`: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( 01:25 * splatch` slaps AgaviBot 01:25 < AgaviBot> splatch`: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( 01:25 * Wombert throws a large pillow at AgaviBot 01:25 < Wombert> HEY! 01:25 < Wombert> WTF 01:25 < Wombert> :< 01:25 < Wombert> :<<<< 01:25 < Wombert> !hug kaos- 01:25 * AgaviBot hugs kaos- 01:25 < Wombert> <: 01:25 < splatch`> my query was slow.. two indexes and now he's faster more than 100 times 01:27 < splatch`> explain is the best optimization tool :) 01:27 < Wombert> <: 01:27 < Wombert> yep 01:27 < splatch`> but that's nothing 01:27 < splatch`> "Seq Scan on category c (cost=0.00..3097.00 rows=529 width=118)" 01:28 < splatch`> "Seq Scan on category c (cost=0.00..8.80 rows=7 width=118)" 01:28 < splatch`> small difference? ;) 01:29 < splatch`> Wombert: do you use mysql or postgres? 01:29 < Wombert> mostly mysql 01:29 < splatch`> hm.. mysql are faster than postgres but... 01:30 < splatch`> stored procedures in postgres are better 01:30 < Wombert> raw performance should never be the #1 consideration when doing software projects 01:30 < Wombert> postgresql has triggers, stored procedures, geometric selects etc etc etc 01:30 < Wombert> much more extensible 01:30 < Wombert> much more stable 01:30 < Wombert> take agavi, for example 01:31 < Wombert> agavi isn't fast by any stretch of the imagination 01:31 < splatch`> the stability of database = mostly hardware 01:31 < Wombert> but 01:31 < Wombert> agavi makes your code structured 01:31 < Wombert> it makes your code extensible 01:31 < Wombert> if you want to change something, you can do it without trouble 01:33 < splatch`> Wombert: my friends at work uses postgres with python :) 01:34 < splatch`> Wombert: geometric types in postgres are cool stuff 01:34 < splatch`> and many, many modules 01:34 < splatch`> for example tree-algorithm implementation 01:34 < Wombert> yep 01:35 < splatch`> but i've own implementation the simplest algorithm (parent_id+depth) based on pgsql 01:36 < splatch`> my left/right tree works, but only for selects ;) 01:36 < splatch`> the problem is changes in nodes, when one node moved into second 01:37 < splatch`> thats terrible 01:37 < splatch`> *that's 01:37 < Wombert> yeah I know that stuff ;) 01:37 < splatch`> i can't write queries to do this :| 01:38 < splatch`> Wombert: Do you have left/right tree? :] 01:38 < Wombert> yeah with leftId and rightId 01:39 < splatch`> Wombert: can you move nodes? 01:39 < Wombert> yes 01:39 < Wombert> with propel 01:40 < splatch`> propel it's optional stuff :) 01:40 < Wombert> ah 01:40 < Wombert> no 01:40 < Wombert> I wrote my own tree stuff for propel 01:40 < Wombert> not this 1.3.2.1 stuff 01:40 < Wombert> really with leftId and rightId etc 01:40 < splatch`> "depesz" or ip-trees 01:41 < splatch`> Wombert: so, you tree dosn't works without propel? 01:41 < Wombert> sure it does but 01:41 < Wombert> with propel, it's easy ;) 01:42 < Wombert> $node1 = CategoryPeer::retrieveByPK(16); 01:42 < Wombert> $node2 = $node1 = CategoryPeer::retrieveByPK(17); 01:42 < Wombert> $node1->moveTo($node2, CategoryPeer::MOVE_INTO); 01:42 < Wombert> etc 01:42 < Wombert> if I delete a node, it deletes all children etc 01:42 < splatch`> Wombert: i thoughtt about that, but after tree structure and queries implementation 01:43 < Wombert> it was very difficult 01:43 < Wombert> but in the end I got it working 01:43 < splatch`> Wombert: you use PHP to get intersection? 01:44 < splatch`> *do you 01:44 < Wombert> you mean a subtree or so? 01:44 < splatch`> yes 01:44 < Wombert> no, it's all SQL 01:44 < splatch`> with like? :) 01:44 < Wombert> uuuh 01:44 < Wombert> no!? 01:44 < splatch`> substring? 01:45 < Wombert> SELECT * FROM table WHERE leftId >= 13 AND rightId <= 26 01:45 < splatch`> aaa 01:45 < Wombert> simple nested sets 01:45 < splatch`> i forgot about 01:45 < Wombert> like is slow 01:46 < splatch`> Wombert: my procedures can get all data from update, but i haven't all queries 01:46 < splatch`> so, if you do update tree set parent_id = 0 where id = 11 01:46 < splatch`> procedues will do all work 01:46 < Wombert> parent_id is bad! 01:47 < Wombert> that is very very slow 01:47 < splatch`> Wombert: parent_id is additional information 01:47 < splatch`> used only to moving 01:47 < splatch`> the rest i'ts left/right 01:47 < Wombert> ah you don't need that ;) 01:47 < Wombert> http://www.develnet.org/36.html 01:48 < Wombert> but it's in german 01:48 < splatch`> Wombert: yes, i don't need, but that update it's cleaner ;) 01:48 < Wombert> http://www.develnet.org/244.html maybe 01:48 < splatch`> Wombert: i know Daniel 01:49 < splatch`> they're PHROOT developer :) 01:49 < splatch`> Wombert: thank you for that stuff! 01:49 < Wombert> you're welcome 01:50 < splatch`> [babelfish.altavista.com] :) 01:50 < splatch`> Wombert: you saw phroot? 01:50 < Wombert> no 01:51 < splatch`> http://phroot.org 01:51 < splatch`> that's PHP framework based on Java/J2EE ideas 01:53 < splatch`> blah, time to sleep 01:54 < splatch`> bye 01:54 < splatch`> AgaviBot: :* 01:54 < Wombert> good night 01:54 < splatch`> [d] 01:54 < Whisller> cya 02:22 -!- ElGatito [n=ttsuchi@c-24-6-199-220.hsd1.ca.comcast.net] has quit ["ircII EPIC4-2.2 -- Are we there yet?"] 02:33 -!- benny`work [n=benny@p54AC31AD.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:47 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Remote closed the connection] 03:31 -!- Wombert [n=Wombert@dslb-088-064-018-001.pools.arcor-ip.net] has quit [] 03:36 < Whisller> Good night :) 03:36 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- The future of IRC"] 04:03 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 04:34 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 04:35 < pressureman> umm.... is svn.agavi.org only using http now? 04:36 < pressureman> it's refusing svn connections 04:38 < pressureman> anyone? 04:48 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 06:47 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has quit ["Lähdössä"] 06:57 -!- shoan_ [n=shoan@59.92.165.101] has joined #agavi 07:06 -!- shoan [n=shoan@59.92.192.154] has quit [Read error: 145 (Connection timed out)] 07:38 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has joined #agavi 10:01 < v-dogg> 'agavi project' has issues 10:02 < v-dogg> someone should remind me to fix it (I can't create a ticket) 10:02 < eremit> morning 10:06 < v-dogg> build.xml line 273 {module.login} should be ${module.secure} 10:07 * eremit makes a note about reminding v-dogg 10:43 -!- KarlKoch [n=Karl@p54863008.dip0.t-ipconnect.de] has joined #agavi 10:44 < eremit> gna, why cant this retarded zend ppl create an ide, which doesn't crash all the time :/ 11:00 -!- digitarald [n=Miranda@244.Red-83-55-57.dynamicIP.rima-tde.net] has joined #agavi 11:00 -!- digitarald [n=Miranda@244.Red-83-55-57.dynamicIP.rima-tde.net] has quit [Client Quit] 11:00 -!- digitarald [n=Miranda@244.Red-83-55-57.dynamicIP.rima-tde.net] has joined #agavi 11:07 < digitarald> Morning fellows 11:22 < eremit> hjelp ... is wombert the only one who knows routing well enough to answer a complex question ? 11:23 < digitarald> mmhh ... maybe ;) 11:24 < eremit> ok, i'm running lighttp and used the german engineered cookbook rules ... 11:24 < eremit> but ... 11:24 < eremit> after the first link everything again has index.php prependet in the url 11:24 < eremit> how to disable that :P 11:24 < digitarald> ok ... Wooooombert ;) 11:25 < eremit> ;) 11:25 < digitarald> too complex ... this is ... oh no ... nono 11:26 < eremit> haha ... uhm the validators drove me crazy yesterday... even dreamt the night of'em ... :/ 11:39 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 11:43 -!- codecop [n=tty1@85.206.204.27] has joined #agavi 11:46 -!- shoan_ [n=shoan@59.92.165.101] has quit [] 11:48 < digitarald> :D 12:01 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 12:22 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 12:38 < v-dogg> haha 12:38 < v-dogg> eremit: did you get them sorted? 12:40 < horros> yay 12:40 < horros> I got my SIP phone finally 12:42 < v-dogg> one that doesn't need a computer? 12:43 < horros> aye 12:43 < horros> v-dogg: I can whole-heartedly recommend nettipuhelin.fi 12:43 < v-dogg> nice 12:43 < horros> excellent service 12:43 < horros> top bloke at the tech dept 12:45 < v-dogg> alright 12:45 -!- Wombert [n=Wombert@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 13:14 < v-dogg> wombii 13:14 < Wombert> y0 13:14 < v-dogg> found a little copy-paste bug in build.xml 13:15 < v-dogg> would have fixed it but I don't have a user account :) 13:15 < horros> hai Wombert 13:15 < Wombert> yeah right dominik needs to set up grsecurity or something on that box first 13:15 < v-dogg> ok 13:15 < Wombert> then we can add user accounts again 13:15 < Wombert> sorry for that 13:16 < v-dogg> no problem 13:16 < v-dogg> I'm quite happy to pass these things to others 13:16 < v-dogg> to you :) 13:16 < v-dogg> fixit fixit fixit 13:16 < Wombert> :p 13:17 < Wombert> uh yes but 13:17 < Wombert> where is the bug?= :D 13:18 < v-dogg> yeah... well... I would have opened a ticket but... :D 13:18 < v-dogg> build.xml line 273 {module.login} should be ${module.secure} 13:18 < Wombert> right 13:18 < Wombert> ah 13:18 < Wombert> k 13:19 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has joined #agavi 13:19 < digitarald> did u choose a font yesterday? 13:20 < Wombert> no 13:20 < Wombert> I told darek that he can choose a commercial font and I'd pay the license then 13:22 < v-dogg> hmm.. what do I have to do get propel 1.3 working 13:27 < v-dogg> I still need to add all my classes to autoload.xml, right? 13:27 < v-dogg> but anything else? 13:29 < Wombert> no, not necessary 13:30 < v-dogg> hm... 13:30 < Wombert> only databases.xml for 1.3 13:30 < v-dogg> ok 13:30 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 13:30 < pressureman> hi Wombert 13:30 < Wombert> hi pressureman 13:30 < v-dogg> hi there 13:31 < pressureman> sorry i haven't sent that tarball of code to you yet... work has been crazy like u wouldn't believe 13:31 < pressureman> i tried it with the latest svn today just for kicks, but the problem is still there 13:31 < Wombert> mmmmh 13:31 < Wombert> help me remember the issue quickly plz 13:32 < pressureman> i'll try to suss out what broke between 1066 and 1067 13:32 < pressureman> uhm, the <textarea> fields were not populating on forms 13:32 < pressureman> but everything else was 13:32 < Wombert> ah 13:32 < Wombert> right 13:33 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:33 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1191 : Changeset [1191]: fixed build.xml 13:33 * kaos- throws a large pillow at Wombert 13:35 < kaos-> i'm ready ^^ :p 13:35 < pressureman> is svn over http only now? 13:35 < Wombert> kaos-: I'm not xD 13:35 < v-dogg> yes 13:35 < kaos-> for now yes 13:35 < Wombert> yes 13:35 < kaos-> will change when i could be bothered making a cert 13:35 < kaos-> ;) 13:35 < pressureman> change to...? https? 13:35 < Wombert> svn switch --relocate svn://svn.agavi.org/agavi/trunk http://svn.agavi.org/trunk 13:35 < pressureman> i meant is it no longer raw svn protocol 13:35 < v-dogg> kaos-: yeah, all those four lines of text 13:35 < Wombert> or "reloacte..." with tortoise 13:35 < kaos-> v-dogg: yah! 13:35 < kaos-> you have to renew it every year 13:35 < kaos-> WAY to much work 13:35 < kaos-> *g* 13:36 < pressureman> self-signed cert for 99 years 13:36 < kaos-> thats kind of useless 13:36 < kaos-> imho ^^ 13:36 < pressureman> probably won't be your problem to renew it though ;-) 13:36 < v-dogg> are you going to get a signed cert? 13:36 < pressureman> hey, if you have a proper cert revocation setup, any length of time is sensible 13:37 < kaos-> <v-dogg> are you going to get a signed cert? <-- would make sense imho 13:37 < kaos-> but costs money ^^ 13:37 < v-dogg> yes 13:37 < pressureman> not worth it, if all you're trying to do is ensure logins/passwords are encrypted 13:37 < kaos-> well, have thought about a signed one 13:39 < kaos-> but need to talk with david about it first 13:39 < kaos-> well, it would kinda ensure that you are really downloading the agavi source 13:39 < v-dogg> we could start with a self-signed one 13:39 < kaos-> and not something someone tells to you is the agavi source ;o 13:39 < v-dogg> to get the encryption 13:39 < pressureman> i doubt that agavi will be the target of any high profile hackers trying to spoof its identity in the near term 13:40 < kaos-> yeah 13:40 < pressureman> and u could do something like GPG-sign the code if you're worried about authenticity 13:40 < Wombert> pah 13:40 < kaos-> thats why we don't need ssl at all imho 13:40 < Wombert> fuck encryption 13:40 < Wombert> who needs that anway 13:40 < kaos-> at least right now ;) 13:41 < Wombert> we only need it for authed svn access 13:41 < Wombert> and maybe trac 13:41 < pressureman> how about svn+ssh? 13:41 < Wombert> anon checkouts can be http 13:41 < Wombert> yeah we had that before, svn+ssh 13:41 < v-dogg> can someone plz tell me how to configure propel 1.3 :) 13:41 < Wombert> the thing is that svnserve doesn't allow for fine grained access controls 13:41 < Wombert> v-dogg: it's not any different! 13:41 < kaos-> it does 13:41 < kaos-> Wombert 13:41 < v-dogg> Wombert: ok :) 13:41 < Wombert> yeah whatever 13:41 < kaos-> it just didn't earlier 13:41 < Wombert> v-dogg: are you having trouble 13:41 < Wombert> I see 13:41 < kaos-> but i still like the apache2 integration more 13:41 < v-dogg> how do I set the autoload? 13:41 < pressureman> you mean svnserve has more than just RO and RW now? 13:42 < Wombert> v-dogg: it's the same except you don't have to add all the classes to your autoload 13:42 < Wombert> not at all, it's automatic, v-dogg 13:42 < kaos-> pressureman: yes ... 13:42 < kaos-> you can limit to sub directories etc too now iirc 13:42 < v-dogg> Wombert: I get class not found 13:42 < Wombert> v-dogg: uh? 13:42 < Wombert> errr 13:42 < v-dogg> my own class 13:42 < Wombert> latest 1.3? 13:42 < v-dogg> yep 13:42 < pressureman> i must check that out... err, checkout that ;-) 13:43 < Wombert> is there a list of autoloads in your runtime-conf.php? 13:43 < Wombert> v-dogg: ah did you set the include path? 13:44 < v-dogg> yes, to lib/propel/classes 13:44 < v-dogg> but no list 13:44 < Wombert> uuh? 13:44 < Wombert> ah 13:44 < Wombert> xD 13:44 < v-dogg> what does it look like? should it be there automatically? 13:44 < Wombert> but did you also rebuild your stuff? 13:44 < v-dogg> sure 13:44 < v-dogg> it's a fresh project 13:44 < Wombert> errr 13:46 < Wombert> v-dogg: http://www.phpfi.com/167901 13:46 < Wombert> as you can see, you have to add the path where the "bookstore" (or whatever the package is called) folder is to the autoload, too 13:47 < Wombert> I usually put the "bookstore" folder into "app/lib" and add that to the include path 13:47 < Wombert> errr 13:47 < Wombert> -"to the autoload" +"to the include path" 13:48 < Wombert> !hug v-dogg 13:48 * AgaviBot hugs v-dogg 13:48 < v-dogg> hihi 13:48 < v-dogg> hmm.. 13:49 < v-dogg> propel doesn't generate runtime-conf.php at all 13:49 < splatch`> hello 13:49 < v-dogg> just build/conf/runtime-conf.xml 13:50 < Wombert> uh? 13:50 < Wombert> wtf 13:50 < v-dogg> does it use xslt or something to do that? 13:50 < Wombert> yeah 13:50 < Wombert> but you should get an error then 13:51 < Wombert> (maybe xslt I dunno) 13:51 < Wombert> you run phing -Dproject=bookstore, right? 13:51 < v-dogg> no, propel-gen 13:52 < Wombert> eee 13:52 < Wombert> how does that work? 13:52 < Wombert> that's the pear command 13:52 < Wombert> it likely uses the 1.2 installed via PEAR :DD 13:53 < v-dogg> no, I have my PATH set correctly 13:53 < v-dogg> and pear directory renamed to pear.hide 13:53 < Wombert> hm 13:53 < Wombert> but still 13:53 < Wombert> go to propel/generator 13:54 < Wombert> run phing -Dproject=projectname from there 13:55 < v-dogg> I'm positive it uses the right version 13:55 < v-dogg> because it tells that it uses the right build.xml 13:56 < Wombert> try that anyway please :) 13:56 < Wombert> propel-gen is for pear and that stuff might be broken 13:59 < v-dogg> but it's just a wrapper for phing call 13:59 < v-dogg> anyways, it made no difference if I ran it without it 14:00 < v-dogg> it just copies my runtim-conf.xml to build/conf/ 14:01 < Wombert> that's strange 14:17 < horros> ARGH 14:17 < horros> cold coffee! 14:17 * horros runs around waving arms 14:17 < horros> eww eww eww! 14:23 < Wombert> xDD 14:24 < pressureman> have you written tests for FPF wombert? 14:24 < Wombert> nope 14:25 < pressureman> i've just found another broken form, and this one doesn't have any <textarea> 14:25 < Wombert> the current testing infrastructure doesn't support functional tests 14:25 < Wombert> we'll have that in 1.0 14:25 < Wombert> pressureman: please create test cases for me 14:25 < pressureman> ok, something in svn 1067 broken forms handling 14:26 < pressureman> i must be the only one using it, for nobody else to notice by now 14:26 < horros> I've not updated agavi in ages :) 14:26 < horros> my fpf works, and that's all I need at the moment :) 14:27 < pressureman> you'll have a lot of work on your hands, come release day 14:27 < Wombert> plenty people use it 14:27 < horros> pressureman: pardon? 14:27 < horros> release day came and went 14:27 < horros> :) 14:27 < pressureman> 0.11? 14:28 < horros> no, the app we're writing 14:28 < pressureman> Wombert, this other broken form has a <select> and a <checkbox> 14:28 < horros> It's built on agavi 0.10.2 plus then some :) 14:29 < pressureman> wondering if FPF only likes <input> text and password fields 14:29 < pressureman> the funny thing is, it doesn't populate any of the other fields on the form either 14:29 < pressureman> but a form with only text and password input fields is fine 14:30 < v-dogg> pressureman: I have no problems with textarea and others 14:30 < v-dogg> select, input 14:30 < v-dogg> everything goes :) 14:31 < pressureman> it must be my older code then 14:31 < pressureman> are the examples in the sample app for pre-populating forms? 14:31 < pressureman> (ie, DB record retrieval) 14:31 < v-dogg> dunno 14:31 < v-dogg> but show us the line that you use to populate 14:32 -!- KarlKoch [n=Karl@p54863008.dip0.t-ipconnect.de] has quit ["Verlassend"] 14:32 < pressureman> if ($this->getContext()->getRequest()->getMethod() == 'read') { 14:32 < pressureman> $this->getContext()->getRequest()->setAttribute('populate', 14:32 < pressureman> new AgaviParameterHolder(array( 14:32 < pressureman> 'user_id' => $dbRecord['user_id'], 14:32 < pressureman> 'username' => $dbRecord['login'], 14:32 < pressureman> 'role' => $dbRecord['role'], 14:32 < pressureman> 'disabled' => $dbRecord['disabled'] 14:32 < pressureman> )), 14:32 < pressureman> 'org.agavi.filter.FormPopulationFilter'); 14:32 < pressureman> } 14:33 < v-dogg> there's your problem 14:33 < v-dogg> hang on a sec 14:33 < Wombert> uh? 14:33 < Wombert> looks fine to me!? 14:34 < pressureman> que? 14:34 < pressureman> i'm using pretty much that same line of code on other forms that are working 14:34 < Wombert> maybe it can't detect the form due to the action having an argument appended or so? 14:34 < v-dogg> hmm... 14:34 < v-dogg> no, sorry, that is correct 14:35 < Wombert> e.g. the URL to the form is /users/add, but <form action="/users/add?blah" /> or so? 14:35 < v-dogg> should you try using form id 14:35 < pressureman> the thing is, it worked on 1066, then stopped working in 1067 onwards 14:35 < Wombert> odd 14:35 < Wombert> but might be related to the form detection I changed there 14:35 < pressureman> i've looked at the diffs between 1066 and 1067, and i can't see how it broke 14:35 < Wombert> the problem is I really gotta run now 14:36 < Wombert> v-dogg: can you help him a bit, e.g. show him to use the form id and see if that works, if yes, it's the action detection 14:42 < pressureman> i'm off to bed anyway i'll try to put together a tarball that demonstrates the problem 14:42 < Wombert> kk 14:42 -!- Wombert [n=Wombert@dslb-088-064-018-001.pools.arcor-ip.net] has quit [] 14:42 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 14:58 -!- AgaviBot [n=dzuelke@dslb-088-064-018-001.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 15:05 -!- codecop [n=tty1@85.206.204.27] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 15:10 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has joined #agavi 15:21 < shoan> http://googleblog.blogspot.com/2006/10/do-you-google.html 15:21 < shoan> :) 15:27 < toby_swe> is there any php-package that does the same thing as e.g. majordomo or other mail list handlers? 15:36 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 15:36 < Whisller> hi 15:45 < splatch`> google = evil ;> 15:47 < Whisller> splatch`, check this out http://www.di.com.pl/news/15042,Naloty_policji_-_zabraklo_Windowsow_w_Stalowej_Woli.html :D 15:47 < splatch`> hello Whisller 15:47 < splatch`> Whisller: pff, Stalowa Wola is country ;) 15:48 < Whisller> I like polish policemaans ;D realy 15:49 < splatch`> mobilization, pirates, mobilization, pirates 15:49 < Whisller> I waiting when they come to me ;) 15:50 < Whisller> But my Xp is good :] 15:50 < Whisller> ...english not ;D 15:51 < splatch`> back to work 15:51 < Whisller> :) 15:58 < horros> ~/ but it's hard to get by, when your arse is the size of a small countryyyyyyy ~/ 15:58 < horros> lalala 16:17 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:26 -!- Whisller is now known as Whisller[a] 16:27 < eremit> wombert? 16:28 < eremit> gna :/ 16:42 -!- KarlKoch [n=Karl@p54863008.dip0.t-ipconnect.de] has joined #agavi 17:30 < KarlKoch> anybody online ? 17:30 < KarlKoch> is it normal that the sample app shows an 404, wenn you call an invalid url ? 17:31 < KarlKoch> i thought the framework can handle those errors.. 17:32 < v-dogg> what's the url you called? 17:32 < v-dogg> and do you have .htaccess in use? 17:33 < KarlKoch> i called the url of the sample app 17:33 < KarlKoch> and htaccess is turned on .. 17:33 < v-dogg> agavi should handle 404 but if you get an actual 404 from the server then agavi wasn't called 17:34 < v-dogg> do your links have index.php? 17:35 < KarlKoch> yes.. 17:35 < v-dogg> then you don't have rewrite enabled 17:35 < KarlKoch> but calls like http://localhost/_agavi/samples/pub/asdjashdasd? are taken to a standard 404 17:35 < v-dogg> ofcourse because agavi is never called 17:35 < KarlKoch> but the sample app works.. 17:36 < v-dogg> sure, when you call index.php 17:36 < KarlKoch> yes.. i tried http://localhost/_agavi/samples/pub/index.php/asdjashdasd? this works fine for me.. 17:37 < KarlKoch> it seems to be a little error in the sample app 17:43 < v-dogg> what? 17:43 < v-dogg> that agavi doesn't handle 404? 17:45 < v-dogg> there is no way agavi can handle urls without index.php if mod_rewrite is not used 17:45 < v-dogg> and if your links have index.php in them, mod_write is not used 17:48 < KarlKoch> my links look like this: samples/pub/index.php/en/secure 17:49 < v-dogg> so there's something wrong with your .htaccess or mod_write or apache's config 17:52 < KarlKoch> hmm i fixed the server settings.. but now i cannot access the sample app ;( 17:52 -!- Whisller[a] [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC for those that like to be different"] 17:52 < v-dogg> KarlKoch: why is that? 17:53 < KarlKoch> when i click the pub dir - i'll get a 404 17:53 < v-dogg> hmm? 17:53 < KarlKoch> ok -- i forgot to set the rewrite base.. sry.. 17:53 < v-dogg> what server are you using? 17:53 < v-dogg> ah, ok 17:54 < KarlKoch> xampp @winxp -- but now it's working for me .. 17:54 < v-dogg> good 17:55 < splatch`> *yawn* 17:56 < KarlKoch> kanotix would be better - but i need some windows based programs that are not available under kanotix 17:58 < KarlKoch> okay-- i'll leave now -- weather is nice today ;).. may be i'll go for a coffee or some more ;:-) 17:58 -!- KarlKoch [n=Karl@p54863008.dip0.t-ipconnect.de] has quit ["Verlassend"] 18:21 < digitarald> will i get money for getting KarlKoch as member ... we need a spreadagavi.org ;) 18:34 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 131 (Connection reset by peer)] 18:42 < v-dogg> digitarald: sure, but you also have to pay $1 for every question he has and you are not here to answer :p 18:42 < splatch`> hm.. what CLA will do? 18:46 -!- lukoko [n=kosher@88.118.23.190] has joined #agavi 18:51 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has quit ["Quit"] 19:00 -!- Wombert [n=Wombert@dslb-088-064-026-218.pools.arcor-ip.net] has joined #agavi 19:17 -!- epaulin [n=epaulin@218.22.2.93] has left #agavi ["Leaving"] 19:25 < splatch`> hello Wombert! :) 19:26 -!- shoan [n=shoan@59.92.165.101] has joined #agavi 19:30 < splatch`> where is Agavi Bot? :) 19:30 < shoan> Wombert lost it 19:46 < lukoko> hi 19:47 < splatch`> Wombert: You must give us AgaviBot back! :) 19:48 -!- AgaviBot [n=dzuelke@dslb-088-064-026-218.pools.arcor-ip.net] has joined #agavi 19:49 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 19:57 -!- EleRas [n=EleRas@neteraser.de] has quit [Nick collision from services.] 19:58 -!- EleRas [n=EleRas@neteraser.de] has joined #agavi 20:14 -!- codecop [n=tty1@85.206.204.27] has joined #agavi 20:17 -!- codecop [n=tty1@85.206.204.27] has quit [Remote closed the connection] 20:44 -!- digitarald [n=Miranda@244.Red-83-55-57.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 20:56 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["quit"] 20:58 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 21:03 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 21:06 -!- KarlKoch_ [i=karlk0ch@91.64.16.173] has joined #agavi 21:06 -!- KarlKoch_ [i=karlk0ch@91.64.16.173] has quit [Remote closed the connection] 21:22 -!- lukoko [n=kosher@88.118.23.190] has quit [Read error: 110 (Connection timed out)] 21:25 -!- lukoko [n=kosher@85.206.147.51] has joined #agavi 22:03 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["Ex-Chat"] 22:05 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has joined #agavi 22:19 -!- benny`work [n=benny@p54AC2F11.dip0.t-ipconnect.de] has joined #agavi 22:35 -!- lukoko [n=kosher@85.206.147.51] has quit ["He believes in beauty, he's Venus as a boy."] 23:11 < splatch`> Wombert: do you know how to get depth from left/right columns? 23:13 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has quit ["Lhdss"] 23:32 -!- EleRas [n=EleRas@neteraser.de] has quit [Nick collision from services.] 23:40 < splatch`> count where left < current left, right > current right 23:41 < Wombert> select count(*) from table where leftId between <left> and <right> 23:41 < Wombert> yes 23:41 < Wombert> :> 23:42 < splatch`> Wombert: i forgot ;) 23:47 < splatch`> that's my 3 attempt 23:47 < splatch`> :] --- Day changed Fri Oct 27 2006 00:13 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 00:13 < MrJeep> Hi 00:14 < MrJeep> so, how the next update's going ? 00:16 < Wombert> MrJeep: www.agavi.org :) 00:16 < Wombert> and welcome to agavi 00:16 < Wombert> have you been here before? 00:16 < MrJeep> of couse 00:16 < Wombert> canada, eh? 00:16 < Wombert> cool :> 00:16 < MrJeep> yeah hehe 00:16 < Wombert> same nick? 00:16 < Wombert> I'm afraid I can't remember you 00:16 < MrJeep> never been on this channel before 00:16 < Wombert> ah 00:17 < Wombert> I CALLED IT!!!! TADAAAAA 00:17 < Wombert> ;) 00:17 < MrJeep> heheh 00:17 < Wombert> lets give you a hug 00:17 < Wombert> !hug MrJeep 00:17 * AgaviBot hugs MrJeep 00:17 < MrJeep> man the next update is going to be so nice 00:17 < MrJeep> :D 00:17 < Wombert> did you have a look at trunk yet? 00:17 < splatch`> MrJeep: Will you drunk one beer with us? :) 00:17 < Wombert> mmmh it seems there's actually a couple more users than just those few hanging around here... 00:18 < MrJeep> no beer for me today, had too much yesterday :S 00:20 < MrJeep> are you guys working on agavi or juste hanging around ? 00:21 * Wombert is a developer 00:21 < Wombert> kaos, too 00:21 < Wombert> we're doing most of the stuff, but luckily, everyone contributes stuff 00:21 < Wombert> v-dogg, for instance, and horros, have contributed code 00:21 < Wombert> others provided translation stuff etc 00:22 < Wombert> if you'd like to help out (documentation is #1 priority until 1.0), let me know ;) 00:22 * splatch` is ugly user ;) 00:22 < Wombert> but! 00:23 < Wombert> you arranged contact to darek 00:23 < Wombert> who's doing the new logo and website design 00:23 < MrJeep> well, maybe someday I could help 00:23 < Wombert> which is wayyyy cool 00:23 < Wombert> !hug splatch` 00:23 * AgaviBot hugs splatch` 00:23 < splatch`> !hug Wombert 00:23 * AgaviBot hugs Wombert 00:23 < MrJeep> this framework has done so much for me 00:23 < splatch`> ;) 00:23 < Wombert> MrJeep: I'm glad to hear that 00:23 < Wombert> MrJeep: so did you check out trunk already? 00:23 < MrJeep> yeah I did 00:23 < Wombert> or did you just follow the changesets and so 00:23 < Wombert> cool 00:24 < Wombert> noticed the translation? and the form re-population in the sample app login? 00:24 < Wombert> hope you like it 00:24 < Wombert> if you're missing anything 00:24 < Wombert> let me know 00:24 < Wombert> we want to get things "frozen" asap 00:24 < MrJeep> and I was going to ask.. my main website is using... an older version.. I think I'll have a lot of work juste 00:24 < MrJeep> just to make my website compatible with .11 00:24 < Wombert> yeah but it will be worth it 00:24 < MrJeep> hell yhea 00:25 < Wombert> did you see the XMLRPC interface to the sample app? 00:25 < MrJeep> the translation stuff. finally 00:25 < Wombert> and then there's the bot, of course ;) 00:25 < Wombert> !info 00:25 < AgaviBot> Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < splatch`> !info 00:25 < AgaviBot> splatch`: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < splatch`> !info 00:25 < AgaviBot> splatch`: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < splatch`> !info 00:25 < AgaviBot> splatch`: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < splatch`> !info 00:25 < splatch`> !info 00:25 < AgaviBot> splatch`: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < AgaviBot> splatch`: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < splatch`> !info 00:25 < AgaviBot> splatch`: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < splatch`> !info 00:25 < AgaviBot> splatch`: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure! 00:25 < splatch`> hehe ;] 00:25 < Wombert> hey stop that :( 00:25 < splatch`> Wombert: spam fulter doesn't works! :) 00:25 < splatch`> *filter 00:26 < MrJeep> I'm waiting for the next update to translate this : www.pokeramateurleagues.com 00:26 < splatch`> Wombert: I know, that was stupid 00:26 < Wombert> :D 00:26 < Wombert> MrJeep: cool 00:26 < MrJeep> ty 00:27 < MrJeep> there is something I'm wondering... 00:27 < MrJeep> about an ActionChain 00:28 < splatch`> MrJeep: in poland we said: if you want produce wedge you mast use wedge 00:28 < MrJeep> now, I've taken this class from Mojavi and I use it in some Views to execute modules and get the result 00:28 < MrJeep> I'm wondering if something like that will be directly implented in the next milestone 00:28 < splatch`> MrJeep: so, you can drink :) 00:28 < MrJeep> and I'm not talking about decorators 00:29 < Wombert> MrJeep: hm 00:29 < Wombert> so no slots, right? 00:29 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 00:29 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1192 : Changeset [1192]: Added Javascript alert with explanation when clicking the 'Invalid URL' … 00:29 < splatch`> MrJeep: wizzards? 00:30 < splatch`> MrJeep: just like M4 true? 00:30 < Wombert> the problem is 00:30 < Wombert> we really don't want to get rid of decorators because that would be such a huuuuuuge change 00:30 < MrJeep> no no of course not 00:30 < Wombert> I strongly dislike the entire execution flow 00:30 < Wombert> and the separation of actions and modules 00:30 < Wombert> all that 00:31 < splatch`> Wombert: java have "spring web flow" 00:31 < Wombert> we'll come up with something better in v 2.0 00:31 < splatch`> that's great tool 00:31 < MrJeep> well, then, what's the proper way to get the "result" of a module inside another module ? 00:31 < Wombert> splatch`: yeah we have to look into all the options 00:31 < Wombert> MrJeep: slots, I guess... 00:31 < Wombert> aren't they sufficient for what you're trying to achieve? 00:31 < MrJeep> to decorate, yes 00:31 < Wombert> maybe if you describe your use case a bit, I can help our 00:31 < MrJeep> ok I explain 00:31 < splatch`> or render-var :) 00:32 < MrJeep> by the way, I speak french and my english is a little rusty :S 00:32 < MrJeep> anyway, here I goes 00:32 < MrJeep> go 00:33 < splatch`> MrJeep: you english is pretty good, my english is the wors on freenode ;) 00:33 < splatch`> *worst 00:33 < KarlKoch> rusty.. explain - what could be rusty in case of speaking a language ? 00:33 < Wombert> MrJeep: oh really, I wouldn't have noticed to be honest 00:33 < KarlKoch> me too 00:34 < MrJeep> on my website, I have a module which only display the upcomming games for a league 00:34 < MrJeep> this modules don't have decorators, juste a simple php view 00:34 < Wombert> okay 00:35 < MrJeep> on my Default module, the index page, which use decorators, I want to display this module 00:35 < MrJeep> now, I use an action chain, I add the module and fetch the result 00:35 < MrJeep> simple, works great, but this is not the "agavi" way 00:36 < Wombert> why don't you use a slot for that? 00:36 < MrJeep> I'd rather use the good way. I understand the uses of decorator, but, however, decorators can't help me in this case 00:36 < MrJeep> I use slots for modules that are displayed on every page 00:36 < MrJeep> like the adds, the login box ... 00:36 < Wombert> yeah, you could use a special decorator template in this case, for example 00:37 < Wombert> the problem is that you can't use slots inside your actual template, for instance 00:37 < Wombert> one of the drawbacks 00:37 < Wombert> that would make it a lot easier to begin with 00:37 < MrJeep> yep, this is why the ActionChain is the easiest way to achieve waht I want 00:38 < MrJeep> but I wish something like that could be implementend officially into agavi 00:38 < Wombert> I'm willing to do what ever it takes to make this entire decorators/actionstack/chain/blah stuff suck less 00:39 < Wombert> the thing is that I'd very much like to say "nope, no changes anymore" at this point, because we never get a release out otherweise 00:39 < Wombert> -e 00:39 < MrJeep> yeah I understand 00:39 < MrJeep> I wasent really asking to add something right now or anything. Actually, I was wondering if I was using a good way to do that 00:39 < MrJeep> if not, is there a better solution 00:40 < MrJeep> and please, don't change the release date 00:40 < MrJeep> D: 00:40 < MrJeep> :D 00:40 < Wombert> :D sure 00:40 < MrJeep> of course, If I really want that action chain feature implemented into the view, I could do it myself :) 00:41 < Wombert> I have to admit I'm not familiar with M2 and, therefor, the whole action chain stuff 00:41 < Wombert> someone was nice enough to explain it to me a bit the other day 00:42 < MrJeep> I don't really know how it's working inside the mojavi 2 framework, however, I've read a tutorial on a forum on how I can use it for my purposes 00:43 < MrJeep> by the way, is .11 going back to the old Renderer stuff like M2 ? 00:43 < Wombert> well, we decoupled the rendering from the views again 00:43 < MrJeep> I'm not saying "old" in a bad way btw 00:44 < Wombert> it was necessary for the output types concept to work 00:44 < Wombert> so you can generate the RSS with XSL, and the HTML with Smarty etc 00:44 < Wombert> within the same view 00:45 < MrJeep> so on the next milestone, we'll have to create a Renderer object within the execute view's method ? 00:45 < Wombert> no, no, of course not! 00:45 < Wombert> have a look at the sample app 00:45 < Wombert> it works just like before 00:46 < Wombert> except that you define which renderer to use for which output type 00:46 < Wombert> and then you just extend AgaviView 00:46 < Wombert> the rest is the same (and you don't use file extensions in setTemplate anymore) 00:46 < Wombert> but yes, you can return a renderer instance from the view if you like 00:46 < Wombert> certainly good for maximum control and flexibility in edge cases 00:47 < Wombert> btw the output types aren't demoed very well in the sample app 00:48 < Wombert> this xhtml stuff is utter nonsense, and since xmlrpc doesn't use templates, it's difficult to show what output types are really for 00:48 < MrJeep> oh i see, nice :D 00:48 < Wombert> the basic idea is that you have that ViewProductAction 00:48 < Wombert> and you write that ONCE 00:48 < Wombert> and you have ONE view 00:48 < Wombert> that can generate PDF, HTML and... uhm... a print HTML 00:49 < Wombert> let's assume your shop uses ajax, so you want to send the product data via JSON 00:49 < MrJeep> oh I see 00:49 < Wombert> you could set up a rule in the routing 00:49 < Wombert> that checks the Accept: HTTP header 00:49 < MrJeep> what's JSON ? 00:49 < Wombert> mmmh 00:49 < Wombert> http://json.org/ 00:49 < MrJeep> keep going, i look on google 00:50 < Wombert> JSON is essentially a javascript expression you can eval() into a variable on the browser 00:50 < Wombert> let's assume the ajax interface needs a JSON object with the html to insert and some other info 00:50 < Wombert> you could add /json to each URL to trigger that output type 00:50 < Wombert> or you could read an HTTP header 00:50 < Wombert> etc etc 00:51 < MrJeep> wow 00:51 < Wombert> not the best example, really 00:51 < Wombert> a better one 00:51 < Wombert> LatestProductsAction, okay? 00:51 < Wombert> you already wrote the HTML version 00:51 < Wombert> now you want it as RSS 00:51 < Wombert> piece of cake :) 00:51 < Wombert> define a new output type 00:51 < Wombert> throw in one new template file 00:51 < Wombert> done! 00:51 < Wombert> :> 00:51 -!- KarlKoch [i=user@91.64.16.173] has quit ["Client Exiting"] 00:52 < Wombert> but 00:52 < Wombert> of course, the framework must decide which output type to serve 00:52 < Wombert> the most convenient way is the routing 00:52 < Wombert> <route name="rss" pattern="/rss$" cut="true" stop="false" output_type="rss" /> 00:52 < Wombert> at the top of routing.xml 00:52 < MrJeep> jeez, there is so much new stuff ! 00:53 < Wombert> and tadaaa.... if the URL ends on /rss, the output type is set to "rss" (and that part is removed from the pattern for following rules, and processing doesn't stop) 00:53 < Wombert> <route pattern="application/xhtml+xml" source="_SERVER[HTTP_ACCEPT]" output_type="xhtml" stop="false" /> 00:53 < Wombert> that's from the sample app 00:53 < Wombert> technically, it's nonsense... not necessary, at all 00:53 < Wombert> it's just to show that it's possible 00:55 < MrJeep> the action directory is gone ? (I'm looking at the sample right now) 00:55 < Wombert> action directory? 00:55 < MrJeep> err 00:55 < MrJeep> nevermind, 00:56 < MrJeep> i thought for a second I was in a module directory lol 00:57 < MrJeep> by the way, I'm not sure if I'm using the model properly 00:57 < MrJeep> i explain 00:58 < MrJeep> I made a DatabaseModel class which extends the default module and I hadded a couple of methods like hasData and getData 00:58 < MrJeep> then, in each module which loads data from the db, I create a model, extended from my DatabaseModel 00:58 < MrJeep> then whever I need, I can use getData to get my model data 00:59 < MrJeep> is is a proper way to use models ? 01:00 < Wombert> models represent business logic 01:00 < Wombert> interface to your database etc 01:00 < Wombert> for instance, you could have a model for products 01:00 < Wombert> to add a product 01:00 < Wombert> or modify it 01:01 < Wombert> I mostly use Propel instead of Agavi models 01:01 < Wombert> the sample app has a (very basic) PriceFinderModel 01:02 < MrJeep> ok 01:04 < MrJeep> where exacly do you store your words for the translation object 01:04 < MrJeep> sorry for asking so much question, I juste find the next update very interesting 01:04 < Wombert> no problem :) 01:05 < Wombert> you can write your own translators, it's very easy 01:05 < Wombert> right now, we bundle a GettextTranslator that can read gettext .mo files 01:05 < Wombert> you can define which translator to use per domain 01:05 < Wombert> $tm->_('This is a message', 'default.menu'); 01:05 < Wombert> $tm->_('This is a message', 'default.categories'); 01:06 < Wombert> the former could be read from a gettext file 01:06 < Wombert> the latter from the database 01:08 < MrJeep> sooo much new stuff 01:08 < MrJeep> this .11 is a giant step 01:08 < Wombert> yes, we added a lot of stuff 01:09 < Wombert> and we changed behavior often to guarantee consistency 01:09 < Wombert> I'm sure a lot of people won't like it 01:09 < Wombert> it's not as easy as symfony etc 01:09 < Wombert> but it really, really has so many advanced features now 01:09 < Wombert> what other framework allows you to just drop an XMLRPC interface onto an existing application 01:09 < MrJeep> 1 min.. googeling xmlrpc 01:10 < Wombert> web services 01:10 < Wombert> it's a server to server language 01:10 < Wombert> so your web application can talk to my web application 01:10 < Wombert> and get the price for a product or so 01:11 < MrJeep> oh ok now I understand hehe 01:11 < Wombert> or write an IRC bot that shares code with the web interface 01:11 < Wombert> ;) 01:12 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 01:12 < AgaviBot> 1) http://trac.agavi.bitxtender.net/ticket/333 : Ticket #333 (defect created): Number formatting is broken for Farsi (might be a RTL or CLDR issue) 01:14 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 01:14 < AgaviBot> 1) http://trac.agavi.bitxtender.net/ticket/335 : Ticket #335 (enhancement created): Add filtering capabilities to translators 01:14 < AgaviBot> 2) http://trac.agavi.bitxtender.net/ticket/334 : Ticket #334 (task created): Change affects/depends/provides syntax in validators 01:15 < Wombert> but 01:15 < Wombert> I'm headed to bed now :) 01:15 < Wombert> see you tomorrow 01:15 -!- AgaviBot [n=dzuelke@dslb-088-064-026-218.pools.arcor-ip.net] has quit [Remote closed the connection] 01:15 < MrJeep> see you 01:15 < MrJeep> thanks a lot 01:15 -!- Wombert [n=Wombert@dslb-088-064-026-218.pools.arcor-ip.net] has quit [] 01:39 -!- benny`work [n=benny@p54AC2F11.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:49 < splatch`> MrJeep: Do you used Mojavi before? :) 01:59 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 02:41 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 03:03 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 03:04 < MrJeep> hi 03:04 < MrJeep> I'm wondering how I can get the current version with snv ? 03:04 < MrJeep> svn* 03:06 < MrJeep> how can I download the source.. & 03:10 < kaos-> are you on windows? 03:11 < kaos-> then i would advise you to get tortoisesvn (tortoisesvn.tigris.org) 03:12 < kaos-> in *nix you need the subversion client to be installed 03:12 < kaos-> then checkout http://svn.agavi.org/trunk 03:29 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 04:04 -!- horros_ [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 04:21 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 04:22 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 05:04 -!- kaos- [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 05:26 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 05:26 < MrJeep> hi again 05:33 -!- Mr_Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 05:33 < Mr_Jeep> hi.. what's the svn command to download everything in the trunk ? 05:37 < Mr_Jeep> got it 05:43 -!- Mr_Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 05:48 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 07:04 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 07:07 -!- shoan_ [n=shoan@59.92.150.70] has joined #agavi 07:16 -!- shoan [n=shoan@59.92.165.101] has quit [Read error: 110 (Connection timed out)] 07:40 < pressureman> argh... this FPF stuff is driving me nuts 07:41 < pressureman> where did i put that copy of zend framework... 07:47 -!- Wombert [n=Wombert@dslb-088-064-026-218.pools.arcor-ip.net] has joined #agavi 07:52 < pressureman> hey wombert 07:52 < pressureman> i'm tearing my hair out over this one 07:53 < pressureman> i can't even get parameters working trying to put together a sample for ya 07:54 < pressureman> Wombert? 08:01 < pressureman> i can even pinpoint the exact lines of code, in the exact svn revision that broke my forms 08:06 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 08:06 < Wombert> pressureman: I still think it's the action detection 08:06 < Wombert> give the form an id 08:07 < pressureman> it's in the second block of changes to AgaviFormPopulationFilter.class.php in svn 1067 08:07 < Wombert> then, instead of new AgaviparameterHolder, use array('formid' => new AgaviParameterHolder(...)) as the value 08:07 < pressureman> but it works fine for other forms! 08:07 < Wombert> yes,possibl 08:07 < Wombert> y 08:08 < pressureman> none of my other forms use form ids 08:09 < pressureman> humour me, just take a look at http://trac.agavi.org/changeset/1067 08:09 < Wombert> yes, it's not related to form ids 08:09 < Wombert> I just want to rule out that Agavi cannot detect the form 08:09 < pressureman> see the second block of changes, there are significant changes to that big if() statement 08:09 < Wombert> can you paste the code for the form 08:10 < Wombert> yes, that is exactly what I'm talking about 08:10 < pressureman> the html code or the php code? 08:11 < Wombert> the php template for the form 08:11 < Wombert> or smarty if it's smarty 08:13 < pressureman> http://pastebin.ca/223972 08:13 < Wombert> okay 08:13 < Wombert> now please the URL in the location bar for that form 08:13 < Wombert> and 08:13 < Wombert> the <form action="..."> line that is being generated 08:13 < Wombert> you should use $routing->gen() there btw 08:14 < pressureman> http://talk2-dev.btg.co.nz/admin/user/edit/6 08:14 < pressureman> <form action="/admin/user/edit/6" method="post"> 08:15 < Wombert> now try that id thing 08:15 < pressureman> run that by me again 08:16 < Wombert> <form id="test123" ... 08:16 < Wombert> and 08:16 < Wombert> array('test123' => new AgaviParameterHolder(...)) 08:16 < Wombert> as the value inthe view 08:16 < Wombert> hurry, I gotta hit the road soon ;) 08:17 < pressureman> you mean in the setAttribute('populate',.... 08:17 < pressureman> ? 08:17 < Wombert> yes 08:18 < pressureman> seems to work 08:18 < pressureman> why?!? why do the other forms without ids work ok, and not this one? 08:20 < pressureman> i take it this is what you mean: http://pastebin.ca/223979 08:20 < pressureman> (for form id="fubar" 08:22 < Wombert> yes, exactly 08:23 < pressureman> so why has this only affected some forms? 08:23 < Wombert> it seems agavi cannot detect that the current URL and the URL in the form action are identical 08:23 < Wombert> good question 08:23 < pressureman> i mean, it's cool that it works now, but i'm baffled by this one 08:23 < pressureman> it is beer o'clock on a friday afternoon, and i could rather easily forget this ever happened, if need be ;-) 08:24 < pressureman> so it's obviously preferable to assign the form ids 08:24 < Wombert> mmmmh 08:24 < Wombert> no,no,no 08:24 < Wombert> it's probably a bug 08:24 < Wombert> does it re-populate properly on POST? 08:24 < Wombert> or don't you use any validation or so 08:24 < pressureman> aha... no it doesn't 08:25 < Wombert> see 08:25 < pressureman> yeah, i use validation 08:26 < pressureman> well, if it's a bug, it was introduced in 1067. 08:26 < pressureman> if that helps. 08:26 < Wombert> do you have a <base href> in the head? 08:27 < pressureman> yes 08:27 < pressureman> <base href="http://talk2-dev.btg.co.nz/" /> 08:27 < Wombert> mmmh maybe the double slash 08:27 < Wombert> hmm 08:27 < Wombert> but it checks $action and $req->getUrl.... mmmmmmh 08:27 < pressureman> but another form is working with exactly the same base href 08:28 < pressureman> including repopulate 08:29 < Wombert> is there whitespace at the end or anything 08:29 < Wombert> of the form action 08:29 < pressureman> no 08:30 < pressureman> but yeah, i'm clutching at straws too now ;-) 08:31 < pressureman> don't worry about it right now... i'm satisfied that you suspect it's a bug 08:35 < Wombert> aaah 08:35 < Wombert> wait a minute 08:35 < Wombert> maybe I got it 08:35 < pressureman> sure hope so 08:36 < Wombert> mmmh 08:37 < Wombert> ... 08:37 < Wombert> holy crap 08:40 < pressureman> ? 08:40 -!- AgaviBot [n=dzuelke@dslb-088-064-026-218.pools.arcor-ip.net] has joined #agavi 08:45 < Wombert> okay try that update there 08:45 < pressureman> my agavi is 1066 - is that likely to depend on anything else? like can i just update that one file? 08:46 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 08:46 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1196 : Changeset [1196]: (hopefully) improved form action detection a bit 08:46 < pressureman> otherwise i need to update my content-types.xml 08:46 < pressureman> output types i mean 08:46 < pressureman> hmm, ok 08:46 < pressureman> just updated AgaviFormPopulationFilter 08:46 < pressureman> works 08:47 < pressureman> repopulation works 08:47 < pressureman> all without form ids 08:47 < Wombert> YESSSS 08:47 < Wombert> :> 08:47 < pressureman> so what was the cause? 08:47 < Wombert> not sure why it didn't work 08:48 < pressureman> just took another hit on the crackpipe and rewrote it? 08:48 < Wombert> you say form action="..." was /blah ? 08:48 < Wombert> yes :D 08:48 < Wombert> http://trac.agavi.bitxtender.net/changeset/1196 08:48 < pressureman> mmm regexes 08:48 < pressureman> fun 08:48 < Wombert> might have been the last comparison there 08:48 < Wombert> double slashes and all 08:49 < pressureman> ok i'll try updating my whole agavi dist to HEAD then... 08:49 < pressureman> hopefully won't find any more bugs 08:50 < pressureman> wowee look at all those locales 08:51 < pressureman> ok, the prepoplation works with agavi HEAD 08:51 < Wombert> :D 08:51 < Wombert> look at the timeline 08:52 < Wombert> watch out for BREAKING CHANGE notices 08:52 < Wombert> validation syntax changed a bit 08:52 < pressureman> even the big old <textarea> fields 08:52 < pressureman> yeah, all my validators are broken... 08:52 < pressureman> but now that the forms are working, i can move forward again 08:52 < pressureman> time to update my validators 08:53 -!- AgaviBot [n=dzuelke@dslb-088-064-026-218.pools.arcor-ip.net] has quit [Remote closed the connection] 08:55 < pressureman> what exactly is the syntax change in validators? 08:55 < pressureman> parameters change to arguments? 08:57 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has joined #agavi 08:58 < Wombert> pressureman: yes 08:58 < Wombert> v-dogg: can you help pressureman with the changed validators syntax 08:58 < Wombert> I really gotta hurry now 08:58 < Wombert> catch you in half an hour or so 08:58 < Wombert> if there is no traffic jam 08:58 < pressureman> go go... thanks for your help 08:58 < Wombert> and if the wifi works :D 08:58 < Wombert> sure 08:58 < Wombert> see ya later man 08:58 < pressureman> cya 08:58 < Wombert> stay online if you can I'llbe back as soon as I can 08:59 < pressureman> ok 08:59 -!- Wombert [n=Wombert@dslb-088-064-026-218.pools.arcor-ip.net] has quit [] 08:59 < v-dogg> Wombert, pressureman: sure 08:59 < v-dogg> how far have you got? 08:59 < pressureman> i've just done a search and replace on "parameter" to "argument" 09:00 < pressureman> at least the xml validates now, but the form seems to think it hasn't validated 09:00 < pressureman> are there any sample of a validator you could point me to? 09:02 < v-dogg> just a sec, I'll paste one of my .xml 09:03 < v-dogg> pastebin.ca/224035 09:04 < v-dogg> what doesn't get validated? do you have required attributes? 09:04 < pressureman> wow that's really different syntax 09:04 < v-dogg> note that there are inner validators 09:05 < pressureman> maybe if i paste my current validator... you can point out what needs to change 09:05 < pressureman> then i can apply that technique to all my others 09:05 < v-dogg> I'll go make some coffee 09:06 < pressureman> heh 09:06 < pressureman> http://pastebin.ca/224043 09:06 < pressureman> don't worry, it's tiny 09:09 < v-dogg> <parameter name="param">username</... to <arguments><argument>username</argument>... 09:09 < v-dogg> <parameter name="error" ... to <errors><error [for="min|max|foo]>Error message</error ... 09:10 < v-dogg> other parameters (min, max and so on) untouched 09:10 < v-dogg> and <validator .. required="false"> if it's not required 09:11 < v-dogg> required="true" is now implied 09:11 < v-dogg> (but in the end it's up to the validator to handle it) 09:12 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 09:14 < pressureman> how doees http://pastebin.ca/224058 look? 09:15 < v-dogg> ok 09:15 < pressureman> hmm, can't be write, getting a php error 09:16 < v-dogg> what error? 09:16 < pressureman> Fatal error: Argument 1 passed to AgaviConfigHandler::orderConfigurations() must not be null, called in /usr/share/php/agavi/config/AgaviValidatorConfigHandler.class.php on line 75 and defined in /usr/share/php/agavi/config/AgaviConfigHandler.class.php on line 238 09:16 < v-dogg> huh... 09:17 < pressureman> typo 09:17 < pressureman> several in fact ;-) 09:17 < v-dogg> heh 09:17 < pressureman> umm, the error for a regex should be <error for="pattern"> ? 09:18 < v-dogg> let's see.. 09:18 < v-dogg> it's up to the validator 09:18 < v-dogg> no 09:18 < pressureman> just <error>blah</error> 09:19 < pressureman> seems to do what i intend 09:19 < v-dogg> if you look at the source of string validator and regexp validator you'll see that regexp validator uses only one "anonym" error message whereas string validator uses 'min' and 'max' 09:20 < v-dogg> one day... we'll have documentation for these things... 09:20 < v-dogg> and what a beautiful day that will be :) 09:21 < splatch`> hello 09:21 < pressureman> API has to stabilise first 09:21 < splatch`> & *yawn*^n! 09:21 < pressureman> i owe a great deal to david and you guys, so once the API does settle, i'll repay my debt by writing some tutorials 09:22 < pressureman> then you guys can poke holes in my tutorial and say how it really should be done ;-) 09:23 < v-dogg> hehe 09:26 < codecop> :) 09:28 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."] 09:28 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 09:29 < horros_> morning 09:31 < codecop> windy morning 09:32 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Client Quit] 09:35 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 10:00 -!- Wombert [n=Wombert@e059.tum.vpn.lrz-muenchen.de] has joined #agavi 10:03 < Wombert> re 10:03 < v-dogg> re 10:03 < pressureman> it's alllll good 10:03 < horros_> re 10:03 < eremit> morning 10:03 < v-dogg> splendid 10:03 < pressureman> i'm just nuking some braincells rewriting my validators 10:04 < eremit> Wombert, are you there and have time for a routing question ? 10:05 < Wombert> eremit: quickly 10:05 < eremit> i have a lighttp + rewrite (from cookbook) setup ... 10:05 < eremit> but how can i prevent the index.php from being parsed into the url by gen() ? 10:06 < Wombert> the rewrite is in place? 10:07 < eremit> yeah and works ... 10:08 < Wombert> that would be a bug then 10:08 < eremit> but after the first link (generated by gen() ) the index.php is reparsed 10:08 < Wombert> did you use the same rewrite rule as described in the cookbook 10:08 < Wombert> I tested that with fastcgi and normal cgi I think and it worked for me (see test case) 10:09 < eremit> yeah i used exactly the same 10:09 < Wombert> with an alias or anything? 10:10 < eremit> nop 10:12 -!- Kador [n=koen@d54C1EC26.access.telenet.be] has joined #agavi 10:13 < Wombert> I just tested it again 10:13 < Wombert> works without any problems here 10:13 < Wombert> must be something about your config :( 10:13 < eremit> hmm ... kk i'll try it again ... 10:13 < Wombert> not much I can do 10:14 < Wombert> I can send you my lighty config if you want 10:14 < eremit> i don't think the problem lies within lighty ... 10:15 < eremit> because it works like a charm ... only gen() generates the index.php in the routes 10:15 < eremit> (my custom routes i used hardcoded are working) 10:15 < Wombert> http://www.phpfi.com/168183 10:15 < Wombert> good luck 10:15 < Wombert> ... yes that means the request URI is wrong or something 10:15 < Wombert> it's not a gen() problem 10:16 < Wombert> l8rs 10:16 -!- Wombert [n=Wombert@e059.tum.vpn.lrz-muenchen.de] has quit [] 10:19 -!- shoan_ [n=shoan@59.92.150.70] has quit [] 10:21 < pressureman> i'm off... thanks for the validator help v-dogg... just gotta plod my way through them now 10:21 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 10:27 -!- Wombert [n=Wombert@e111.tum.vpn.lrz-muenchen.de] has joined #agavi 10:36 * Wombert slaps v-dogg 10:36 < Wombert> #propel! 10:44 -!- KarlKoch [n=Karl@p54861F08.dip0.t-ipconnect.de] has joined #agavi 10:44 < KarlKoch> good morning from Braunschweig, Germany ;) 10:47 < eremit> uh ... good morning ^^ ... stormy day isn't it ? :) 10:49 < KarlKoch> yes really.. i nearly flow away on my bike.. (on my way to work ) 10:50 < eremit> yeah ... i gladly can work at home today ;) ... but the night was a horror over here 10:51 < Wombert> stormy 10:51 < Wombert> haha 10:51 < Wombert> wrong part of the country,folks 10:51 < Wombert> move to bavaria ;) 10:51 < Wombert> the girls are nicer 10:51 < Wombert> the accent doesn#t suck as much 10:51 < Wombert> the weather is good 10:51 < Wombert> the wages are higher 10:51 < Wombert> and it's not all flat and boring 10:51 < horros_> haha 10:52 < Wombert> I'm serious 10:52 < Wombert> whenever I'm up there in the north 10:52 < Wombert> I get seriously depressed 10:52 < horros_> apparently we're getting a bit of snow this weekend 10:52 < Wombert> nice 10:52 < horros_> that'll be interesting 10:52 < Wombert> time for the spike tires ;) 10:52 < KarlKoch> bavaria - the land out of germany ?? i heard of it.. 10:52 < horros_> last year when the first snow came, there were about 30-or-so crashes where I live :) 10:52 < KarlKoch> some time ago ;) 10:53 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:53 < Wombert> v-dogg: 1.3 branch better? 10:56 < v-dogg> didn't try it yet 10:56 < eremit> haha the mountain folk is losing ground against the northern ones :P 10:57 < Wombert> ... 10:58 < Wombert> there's no need for me to argue 10:58 < Wombert> the statistics prove me right 10:58 < Wombert> munich is #1 in terms of overall living quality 10:58 < Wombert> the playboy once determined that munich has the most beautiful girls 10:58 < Wombert> the economic statistics... you know them ;) 10:58 < splatch`> propel is dead :| 10:59 < Wombert> the weather... 10:59 < Wombert> and did I mention we suck less than the rest of germany? :DDD 10:59 < Wombert> splatch`: yes I hear it suffered from cardiac arrest 10:59 < Wombert> http://propel.phpdb.org/trac/changeset/384 works for me 11:00 < eremit> :P ... for me it's quite simple, i'm 50:50 northern/southern ... lived in both areas and like the north more 11:00 < splatch`> Wombert: does developers going to commit an changes? :) 11:01 < Wombert> splatch`: yes, when I have the time 11:01 < Wombert> I'm a bit busy with agavi, you know 11:01 < Wombert> anyway 11:01 < splatch`> one commit per week ;) 11:01 < Wombert> bbl 11:01 -!- Wombert [n=Wombert@e111.tum.vpn.lrz-muenchen.de] has quit [] 11:09 -!- Wombert [n=Wombert@e172.tum.vpn.lrz-muenchen.de] has joined #agavi 11:26 < KarlKoch> how can i create the .po (language files) on my windows system ? 11:26 < KarlKoch> i can't find a tool like kbabel for win.. 11:27 < eremit> http://www.google.de/search?hl=de&q=windows+po+file+editor&btnG=Suche&meta= 11:27 < eremit> -> http://www.poedit.org/ 11:28 < KarlKoch> okay -- thx.. 11:35 -!- Wombert [n=Wombert@e172.tum.vpn.lrz-muenchen.de] has quit [Read error: 110 (Connection timed out)] 11:43 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."] 11:47 -!- KarlKoch [n=Karl@p54861F08.dip0.t-ipconnect.de] has quit [Read error: 104 (Connection reset by peer)] 11:59 -!- codecop [n=tty1@85.206.204.149] has joined #agavi 12:08 -!- KarlKoch [n=Karl@p54861F08.dip0.t-ipconnect.de] has joined #agavi 12:08 < KarlKoch> is the pear installer working for agavi ? 12:08 < KarlKoch> i tried it but got an install failed error.. 12:12 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 12:16 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 12:19 -!- Wombert [n=Wombert@e142.tum.vpn.lrz-muenchen.de] has joined #agavi 12:19 < Wombert> re 12:22 < KarlKoch> i've a question about the pear installer.. 12:22 < KarlKoch> for me it is not working .. 12:22 < KarlKoch> it breaks with the error - missing remote packages for agavi 12:23 < Wombert> yes 12:23 < Wombert> probably 12:24 < KarlKoch> how can i start with the quickstart tutorial - which files to i need to copy? 12:24 < KarlKoch> ups... to = do 12:31 < Wombert> quickstart tutorial? 12:31 < Wombert> uuuh 12:34 -!- AgaviBot [n=dzuelke@e142.tum.vpn.lrz-muenchen.de] has joined #agavi 12:35 < KarlKoch> this one http://trac.agavi.org/wiki/QuickStart 12:36 < Wombert> uh 12:36 < Wombert> read the manual instead 12:40 < horros_> Wombert: 12:33 <@stu> horros_: can you check with your friend is mission is accomplished :) 12:40 < Wombert> horros_: didn't he get my email? 12:41 < Wombert> the part didn't arrive at the dealer yesterday 12:41 < horros_> :( 12:41 < Wombert> I wanted to call them later and check if it arrived today, as they promised 12:41 < Wombert> I actually sent him two emails!? 12:41 < Wombert> gonna call them now 12:42 < Wombert> okay they have it 12:42 < horros_> good stuff 12:42 < KarlKoch> okay.. i'll try with the manual -- thx.. 12:43 < Wombert> horros_: so did he get my emails? 12:43 < horros_> apparently not 12:43 < horros_> he says he's been losing a lot of email lately 12:43 < Wombert> horros_: I'll pick it up at the dealer at about 3pm 12:43 < Wombert> does he have another email address 12:43 < horros_> I'll ask 12:45 -!- horros_ is now known as horros 13:00 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:00 < AgaviBot> 1) http://trac.agavi.bitxtender.net/wiki/CachingExecutionFilter : CachingExecutionFilter edited by david 13:00 < AgaviBot> 2) http://trac.agavi.bitxtender.net/wiki/FormPopulationFilter : FormPopulationFilter edited by david 13:02 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:02 < AgaviBot> 1) http://trac.agavi.bitxtender.net/wiki/EnvironmentsAndContexts : EnvironmentsAndContexts edited by david 13:02 < AgaviBot> 2) http://trac.agavi.bitxtender.net/wiki/DeveloperInfo : DeveloperInfo edited by david 13:02 < AgaviBot> 3) http://trac.agavi.bitxtender.net/wiki/BuildingAgaviPearPackage : BuildingAgaviPearPackage edited by david 13:04 -!- EleRas [n=EleRas@neteraser.de] has joined #agavi 13:06 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:06 < AgaviBot> 1) http://trac.agavi.bitxtender.net/wiki/PropelIntegration : PropelIntegration edited by david 13:06 < AgaviBot> 2) http://trac.agavi.bitxtender.net/wiki/Logging : Logging edited by david 13:06 < AgaviBot> 3) http://trac.agavi.bitxtender.net/wiki/HowToSetupBasicAuthentication : HowToSetupBasicAuthentication edited by david 13:08 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:08 < AgaviBot> 1) http://trac.agavi.bitxtender.net/wiki/ReleasePlans : ReleasePlans edited by david 13:10 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:10 < AgaviBot> 1) http://trac.agavi.bitxtender.net/wiki/YourConfigFile : YourConfigFile edited by david 13:10 < AgaviBot> 2) http://trac.agavi.bitxtender.net/wiki/YourConfigFileRedux : YourConfigFileRedux edited by david 13:10 < AgaviBot> 3) http://trac.agavi.bitxtender.net/wiki/YourFirstModule : YourFirstModule edited by david 13:10 < AgaviBot> 4) http://trac.agavi.bitxtender.net/wiki/Toots : Toots edited by david 13:10 < AgaviBot> 5) http://trac.agavi.bitxtender.net/wiki/TheBasics : TheBasics edited by david 13:11 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 13:13 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 13:13 < AgaviBot> 1) http://trac.agavi.bitxtender.net/wiki/UML : UML edited by david 13:13 < AgaviBot> 2) http://trac.agavi.bitxtender.net/wiki/UnitTested : UnitTested edited by david 13:13 < AgaviBot> 3) http://trac.agavi.bitxtender.net/wiki/UnitTests : UnitTests edited by david 13:13 < AgaviBot> 4) http://trac.agavi.bitxtender.net/wiki/UsingDecorators : UsingDecorators edited by david 13:13 < AgaviBot> 5) http://trac.agavi.bitxtender.net/wiki/UsingPropel : UsingPropel edited by david 13:13 < KarlKoch> thx for the trac update.. 13:13 < Wombert> I cleaned up the wiki and removed a lot of very outdated pages 13:13 < Wombert> l8rs guys 13:13 -!- AgaviBot [n=dzuelke@e142.tum.vpn.lrz-muenchen.de] has quit [Remote closed the connection] 13:14 -!- Wombert [n=Wombert@e142.tum.vpn.lrz-muenchen.de] has quit [] 13:25 -!- shoan [n=shoan@61.95.206.107] has quit [] 13:28 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 13:44 < KarlKoch> is it possible to use a template system like fasttemplate with agavi ? 13:45 < KarlKoch> i don't want to mix up php/ html code 13:46 < v-dogg> currently there are smarty, phptal and XSL renderers (I have no idea how well phptal and XSL work) 13:46 -!- Wombert [n=Wombert@e244.tum.vpn.lrz-muenchen.de] has joined #agavi 13:47 < v-dogg> BUT you can easily (well, quite easily :) write your own renderer 13:47 < v-dogg> so the answer to your question is yes, but you have to implement the renderer yourself 13:48 < KarlKoch> okay.. for the beginning for me to complex - but later maybe 13:48 < v-dogg> use smarty 13:48 < KarlKoch> okay.. 13:48 < v-dogg> or just php :) 13:49 < KarlKoch> *fg* - for the first steps i'll do with php . 13:49 < v-dogg> and you'll probably notice that it's not that bad 13:50 < KarlKoch> yes maybe - normally i use the rfasttemplate class 13:52 < v-dogg> Wombert: propel 1.3 w/ autoloading works 13:52 < v-dogg> really nice 13:52 < Wombert> sweet 13:53 < Wombert> php is okay for templates if you use the alternative syntax 13:53 < v-dogg> but what's going on with propel now? is 1.3 still being developed or only 2.0? 13:53 < Wombert> <?php foreach($foo as $bar): ... endforeach; ?> 13:53 < Wombert> both, v-dogg 13:53 < v-dogg> good 13:54 < v-dogg> I need to start two smaller in-house projects and I'm going to use 1.3 & PDO for them 13:54 < v-dogg> and if everything goes well, I'll update the "main" project to 1.3 soon 14:03 < Wombert> :> 14:03 < Wombert> remember that currently, all columns are returned as strings 14:04 < v-dogg> hmm... ok 14:04 < v-dogg> are dates returned as "int" or "YYYY-DD-MM ..." ? 14:05 < Wombert> no idea 14:05 < Wombert> try :> 14:05 < Wombert> I liked the fact how Propel used to return casted values 14:06 < Wombert> and I'd like to see that back 14:06 < v-dogg> me too 14:06 < Wombert> good for JSON and XMLRPC,too 14:06 < Wombert> there is a thread on the dev maling list 14:06 < Wombert> maybe you wanna chime in and say "I want that back for 1.3" 14:06 < Wombert> I can sit downat the php conf then with hans and build it 14:07 < v-dogg> it might stay like that? so it's not just a development version issue but a planned feature? 14:09 < v-dogg> woot... ddl generated by propel doesn't have primary keys 14:09 < v-dogg> only in one table where the primary key is an autoincrement integer 14:13 < Wombert> ewww? 14:13 < Wombert> :S 14:14 < Wombert> good news btw, basic caching works again 14:14 < v-dogg> have I ever told you that you rock?-) 14:14 < Wombert> including headers, status code, cookies etc already! woot! 14:14 < Wombert> :> 14:14 < Wombert> heh yeah I think so 14:14 < Wombert> thanks 14:14 < Wombert> you need a hug, my friend 14:14 < v-dogg> what about session cookies? they can't be cached 14:15 < Wombert> and they won't ;) 14:15 < Wombert> because we have these modular responses 14:15 < v-dogg> only cookies set in response? 14:15 < Wombert> in the current response, yes 14:15 < Wombert> it's cached entirely 14:15 < v-dogg> nice 14:15 -!- AgaviBot [n=dzuelke@e244.tum.vpn.lrz-muenchen.de] has joined #agavi 14:15 < Wombert> cookies have a lifetime, not an expiry date, in agavi, so even that works 14:16 < Wombert> !hug v-dogg 14:16 * AgaviBot hugs v-dogg 14:17 < v-dogg> :) 14:18 * splatch` kicks AgaviBot 14:18 < AgaviBot> splatch`: ouch! That hurt! What the hell is wrong with you man, I'm checking feeds right now, stop bothering me :( 14:18 < splatch`> ;_ 14:18 < splatch`> ;) 14:18 < splatch`> !hug AgaviBot 14:18 * AgaviBot hugs AgaviBot 14:18 < splatch`> " 14:18 < splatch`> :] 14:18 < v-dogg> now now, let's not over-do this :) 14:18 < Wombert> bbl 14:19 -!- Wombert [n=Wombert@e244.tum.vpn.lrz-muenchen.de] has quit [] 14:42 -!- AgaviBot [n=dzuelke@e244.tum.vpn.lrz-muenchen.de] has quit [Read error: 110 (Connection timed out)] 15:37 < KarlKoch> can anybody explain me how to include a database like mysql in the sample app.. am i right when i edit the AgaviSampleAppUser.class.php for this purpose ? 15:42 -!- KarlKoch [n=Karl@p54861F08.dip0.t-ipconnect.de] has quit ["Verlassend"] 15:50 -!- codecop [n=tty1@85.206.204.149] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 16:17 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has joined #agavi 16:31 < horros> hooray for friday afternoon fuckups! 16:31 * horros just broke the whole domain 16:32 < horros> :( 16:32 < v-dogg> have a nice weekend :) 16:33 < horros> shush 16:35 < horros> k, works again 16:35 < horros> this is so strange 16:35 < horros> I can add an IN A -record just fine 16:35 < horros> but if I add a MX 0 server.name.here. -line, everything breaks :( 16:38 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:56 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 17:02 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has quit ["Quit"] 17:04 -!- codecop [n=tty1@85.206.204.149] has joined #agavi 17:04 -!- Wombert [n=Wombert@dslb-088-064-026-218.pools.arcor-ip.net] has joined #agavi 17:05 < Wombert> horros: ping 17:06 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 17:06 < splatch`> horros: pong 17:06 -!- AgaviBot [n=dzuelke@dslb-088-064-026-218.pools.arcor-ip.net] has joined #agavi 17:31 -!- Kador [n=koen@d54C1EC26.access.telenet.be] has quit ["Ex-Chat"] 17:37 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 17:37 -!- KarlKoch is now known as Karl_Koch 17:57 -!- codecop [n=tty1@85.206.204.149] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 17:57 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 17:58 < Whisller> hi 18:01 -!- Wombert [n=Wombert@dslb-088-064-026-218.pools.arcor-ip.net] has quit [Nick collision from services.] 18:01 -!- Wombert [n=Wombert@dslb-088-064-026-112.pools.arcor-ip.net] has joined #agavi 18:07 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 18:07 < MrJeep> hi again 18:15 < MrJeep> is there a way to read the manual except a code editor ? 18:16 -!- AgaviBot [n=dzuelke@dslb-088-064-026-218.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:29 < MrJeep> nevermind ;P 18:44 < Karl_Koch> anybody using outlook 2000 - 18:45 < Karl_Koch> i have to test a newsletter script, which seems to work well on all other clients 18:58 < Wombert> http://www.forgetfoo.com/?blogid=7356 19:28 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 19:55 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 20:00 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 20:02 -!- JamieWolf [n=JamieWol@T12de.t.pppool.de] has joined #agavi 20:07 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 21:11 -!- shoan [n=shoan@59.92.144.195] has joined #agavi 21:13 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 21:14 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 21:15 < Wombert> test 21:16 < splatch`> !hug Wombert 21:16 < splatch`> Where's AgaviBot? :( 21:22 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 22:10 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:20 < MrJeep> questoin 22:21 < MrJeep> is the current code good enough to start develop with ? 22:21 < raidman> MrJeep, as what Wombert saied, yes 22:21 -!- lukoko [n=kosher@85.206.72.230] has joined #agavi 22:23 < MrJeep> oh srry, didnt see that 22:23 < MrJeep> then I have some question about the action :D 22:24 < MrJeep> is executeWrite only called when there is a POST request and executeRead when there is a get request ? 22:24 < raidman> right 22:25 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:25 < raidman> you can drop all logics for POST request in executeWrite and etc 22:25 < MrJeep> so there is no need anymore to specify a request method 22:25 < raidman> impl, wb :) 22:25 < raidman> no 22:25 < impl> Hey 22:26 < impl> Unnhh, what a week 22:26 < Wombert> MrJeep: yes but you can customize that 22:26 * impl looks at Wombert apologetically 22:26 < Wombert> impl: hmmh? 22:26 < Wombert> impl: how were your midterms 22:26 < impl> I never got to downloading all those songs you sent me, and I lost all the links 22:26 < Wombert> or whatever they are called 22:26 < Wombert> xD 22:26 < Wombert> query 22:26 < impl> k :P 22:26 < impl> My midterms were hellish 22:26 < raidman> hey Wombert :) 22:26 < impl> I stayed after school to finish them 22:27 < raidman> MrJeep, you know I'm newbie then you can ask your questions to Wombert :) 22:27 < MrJeep> hehe, I would'nt want to overload him with all my questions 22:28 < Wombert> no problem, I'm happy to help 22:28 < Wombert> after all, it probably makes you guys excited 22:28 < Wombert> so you run out and spread the word :) 22:28 < Wombert> fine with me 22:28 < Wombert> anyways 22:29 < lukoko> is there built-in smarty renderer in agavi? 22:29 < Wombert> yes, POST is mapped to "write" and GET to "read" by default 22:29 < Wombert> lukoko: of course 22:29 < MrJeep> yhea, I've allready done taht, spreading the words 22:29 < Wombert> MrJeep: as you already noted, there's no more getRequestMethods() 22:29 < Wombert> it now works a little different 22:30 < Wombert> an execute() method indicates that the action serves ALL request methods 22:30 < MrJeep> yhea i've noticed that (I downloaded the code yesterday) 22:30 < Wombert> and executeWrite delcares that the action serves write etc 22:30 < Wombert> note that you're free to change the names 22:30 < Wombert> e.g. "CRUD" is a common term (create, retrieve, update, delete) 22:30 < Wombert> so you could map POST to "update" etc 22:30 < Wombert> whatever you like 22:31 < MrJeep> which config file ? 22:31 < Wombert> the reason for that is that on the console, you have neither GET nor POST 22:31 < Wombert> and XMLRPC is always POST 22:31 < Wombert> etc 22:31 < Wombert> so we needed to abstract that stuff 22:31 < MrJeep> good idea 22:31 < Wombert> (we're the first framework I know to do that by the way) 22:31 < Wombert> you can tell the request implementation to use different names 22:33 < Wombert> <request class="AgaviWebRequest"> 22:33 < Wombert> <parameters> 22:33 < Wombert> <parameter name="method_names"> 22:33 < Wombert> <parameters> 22:33 < Wombert> <parameter name="GET">retrieve</parameter> 22:33 < Wombert> <parameter name="POST">update</parameter> 22:36 < MrJeep> I see 22:36 < Wombert> I will change the web request so it is capable of dealing with RESTful stuff, too 22:36 < Wombert> i.e. HTTP PUT and HTTP DELETE 22:37 < raidman> Wombert, <parameter name="DELETE">delete</ .... too? 22:37 < raidman> you mean? 22:38 < Wombert> yes but there will, of course, be defaults for that again 22:38 < Wombert> this configuration stuff is optional 22:40 < MrJeep> what's http put and delete ? 22:40 < Wombert> http://en.wikipedia.org/wiki/REST 22:41 < Wombert> http://en.wikipedia.org/wiki/HTTP#Request_methods 22:42 < MrJeep> in other words... <form method="put" ?? 22:45 < MrJeep> there is so much new stuff I have to learn... 22:45 < MrJeep> jeez.. 22:45 < MrJeep> where do you guys gets all those idea when you'r building a framework 22:46 < MrJeep> a web request, a rest request 22:47 < kaos> most of these ideas come from specific needs 22:49 < MrJeep> once again, all I think of is "wow" 22:51 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 22:52 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:57 -!- JamieWolf [n=JamieWol@T12de.t.pppool.de] has quit [Read error: 113 (No route to host)] 23:01 -!- raidman is now known as Arme[N] 23:05 -!- Arme[N] is now known as raidman 23:05 -!- raidman [i=armen@unaffiliated/raidman] has left #agavi [] 23:05 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 23:05 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 23:05 -!- KarlKoch is now known as Karl_Koch 23:11 < Wombert> MrJeep: no no no! 23:12 < Wombert> <form method="POST" 23:12 < Wombert> as usual 23:12 -!- benny`work [n=benny@p54AC2E62.dip0.t-ipconnect.de] has joined #agavi 23:12 < Wombert> but an http request method POST is mapped to the internal identifier "write" 23:12 < Wombert> so you can build an XMLRPC interface (remember, XMLRPC is always an HTTP request via POST with instructrions on what to run in the body) and your stuff still works 23:18 < splatch`> hmm 23:18 < splatch`> Wombert: do you going to add support for soap in Agavi? :) 23:19 < Wombert> yes 23:19 < Wombert> there is a ticket for it 23:19 < Wombert> ... 23:19 < splatch`> Wombert: Are you need help? :] 23:20 < Wombert> nope, I just didn't have time yet 23:20 < Wombert> I actually started on it already 23:20 < Wombert> I also have the REST stuff lying around, I just need a free minute or so 23:20 < Wombert> maybe tomorrow 23:20 < Wombert> thanks :) 23:20 < splatch`> splatch is needless :| 23:20 < splatch`> ;((( 23:21 * splatch` depression 23:21 < Wombert> ewww 23:21 < Wombert> gotta run 23:21 < Wombert> l8rs 23:21 < MrJeep> I guess I'll have to study this REST think to really know what exacly this is.. there is so much stuff in the web today hehe 23:21 < MrJeep> cya 23:25 < splatch`> MrJeep: what's rest? That only query string and xml response :) 23:33 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 23:46 -!- benny`gentoo [n=benny@p54AC2E62.dip0.t-ipconnect.de] has joined #agavi 23:46 -!- benny`gentoo [n=benny@p54AC2E62.dip0.t-ipconnect.de] has quit [Client Quit] 23:51 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 23:55 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 23:58 < Wombert> re 23:58 < splatch`> er :) --- Day changed Sat Oct 28 2006 00:10 -!- lukoko [n=kosher@85.206.72.230] has quit [Read error: 145 (Connection timed out)] 00:35 * Wombert slaps impl 00:35 < impl> OW! 00:35 < Wombert> ! 00:35 < impl> oh, sorry :P 00:35 < Wombert> :> 00:38 < splatch`> blah 00:38 < splatch`> kazek drinkin' now 00:38 < splatch`> again? ;) 03:12 -!- benny`work [n=benny@p54AC2E62.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:35 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 03:57 -!- Wombert [n=Wombert@dslb-088-064-026-112.pools.arcor-ip.net] has quit [] 04:58 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" good night"] 07:03 -!- shoan [n=shoan@59.92.144.195] has quit [] 08:38 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 10:59 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 10:59 -!- KarlKoch is now known as Karl_Koch 11:45 -!- sho[a]n [n=shoan@59.92.144.195] has joined #agavi 11:48 < sho[a]n> wtf...did the agavi mailserver all of sudden wake up? 11:48 < sho[a]n> got 108 mails today 11:51 < Karl_Koch> omg .. that's a lot .. 12:15 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 12:20 < sho[a]n> v-dogg: hows it going? 12:34 -!- Wombert [n=Wombert@dslb-088-064-026-112.pools.arcor-ip.net] has joined #agavi 12:40 < v-dogg> huomenta 12:40 < v-dogg> sho[a]n: ok, thanks 12:40 < v-dogg> what's going down in India 12:41 * Wombert yawns 12:42 < v-dogg> morning Wombert 12:42 < v-dogg> what's going down in Germany 12:42 < Wombert> uh 12:42 < Wombert> holy crap 12:42 < Wombert> did dominik do the mailing lists or what!? 12:42 < Wombert> nice 12:43 < Wombert> or 12:43 < Wombert> hmm 12:43 < Wombert> noooo 12:43 * Wombert scratches head 12:44 < sho[a]n> Wombert: got 108 (trac+commits) mails 12:45 < Wombert> yes 12:45 < Wombert> trac mails are very recent 12:45 < Wombert> svn aren't 12:46 < sho[a]n> my last mail was on 22/9 12:47 < Wombert> oO 12:49 < sho[a]n> Wombert: nope the commit mail on 22/9 was r1059 12:49 < sho[a]n> the first mail today is r1060 12:50 < sho[a]n> the last trac mail was for #327 12:50 < sho[a]n> the first one today was for #329 12:50 < Wombert> mine was for 336 12:51 < Wombert> from bob's server! 12:51 < Wombert> wtf!? 12:56 < v-dogg> why doesn't this piece of junk let me access my windows partition 12:56 < Wombert> the good linux? 12:56 < Wombert> whaahha 12:56 < Wombert> www.apple.com/getamac/works.html 12:57 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["boot"] 13:18 -!- JamieWolf [n=JamieWol@T12de.t.pppool.de] has joined #agavi 13:18 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has joined #agavi 13:51 < sho[a]n> v-dogg: what error do you get? 13:51 < sho[a]n> ntfs? 13:59 -!- JamieWolf_ [n=JamieWol@L5c98.l.pppool.de] has joined #agavi 14:16 -!- JamieWolf [n=JamieWol@T12de.t.pppool.de] has quit [Read error: 113 (No route to host)] 14:32 -!- lukoko [n=kosher@85.206.47.237] has joined #agavi 14:39 -!- codecop [n=tty1@85.206.204.149] has joined #agavi 14:45 < v-dogg> sho[a]n: yes, ntfs 15:11 < codecop> hi all 15:11 < codecop> u are using uml2php5 export? 15:11 < codecop> in DIA uml 15:52 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 16:01 -!- codecop [n=tty1@85.206.204.149] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 16:12 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 16:31 < sho[a]n> v-dogg: did you get it working? 17:05 -!- JamieWolf_ [n=JamieWol@L5c98.l.pppool.de] has quit [Read error: 113 (No route to host)] 17:45 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi 18:00 -!- Wombert [n=Wombert@dslb-088-064-026-112.pools.arcor-ip.net] has quit [Nick collision from services.] 18:00 -!- Wombert [n=Wombert@dslb-088-064-008-141.pools.arcor-ip.net] has joined #agavi 18:32 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 18:32 < Whisller> Hi :) 18:51 < v-dogg> evening 19:01 -!- JamieWolf [n=JamieWol@L5c98.l.pppool.de] has joined #agavi 19:01 -!- JamieWolf [n=JamieWol@L5c98.l.pppool.de] has quit [Remote closed the connection] 19:22 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 19:26 -!- lukoko [n=kosher@85.206.47.237] has quit [Read error: 145 (Connection timed out)] 19:34 -!- lukoko [n=kosher@85.206.158.68] has joined #agavi 19:48 < epaulin> http://www.symfony-project.com/weblog/2006/10/28/yahoo-bookmarks-uses-symfony.html 19:51 < Whisller> o 19:55 < epaulin> not unobtrusive, yahoo bookmark sucks. xD 19:55 < Whisller> hmm 20:07 -!- epaulin [n=epaulin@218.22.2.93] has left #agavi ["Leaving"] 20:11 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)] 20:31 -!- benny`work [n=benny@p54AC0B8D.dip0.t-ipconnect.de] has joined #agavi 20:37 -!- sho[a]n [n=shoan@59.92.144.195] has quit [Read error: 110 (Connection timed out)] 20:37 -!- benny`work [n=benny@p54AC0B8D.dip0.t-ipconnect.de] has quit ["unset($this);"] 20:38 -!- sho[a]n [n=shoan@59.92.151.224] has joined #agavi 20:51 -!- benny`work [n=benny@p54AC0B8D.dip0.t-ipconnect.de] has joined #agavi 21:19 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 22:10 < Wombert> mmmh nice 22:10 < Wombert> v-dogg: you should sue yahoo 22:10 < Wombert> xD 22:56 -!- EleRas [n=EleRas@neteraser.de] has quit [Nick collision from services.] 22:56 < splatch`> omg, my head 22:56 -!- EleRas [n=EleRas@neteraser.de] has joined #agavi 22:56 < ttj> OMG, my school work is going to hell. 22:58 < splatch`> ttj: why? :) 22:58 < ttj> One word: work. 22:58 < splatch`> time? 22:58 < ttj> I've been putting work ahead of my studies and now it's starting to bite me in the arse. 23:00 < splatch`> ttj: i've school and work too. 23:00 < ttj> What's your secret? How do you balance things? 23:01 < splatch`> i don't balance, monday-friday work 23:02 < splatch`> saturday and sunday school 23:02 < ttj> Ouch. 23:03 < splatch`> twice per month 23:03 < ttj> What're you studying? 23:03 < splatch`> computer science, first year 23:04 < ttj> Ok. 23:04 < splatch`> ttj: and you? 23:04 < splatch`> :) 23:05 < ttj> Majoring in computer science (focusing on software business), 3rd year. 23:06 < ttj> And this whole Bologna process is biting me in the arse too. 23:07 < ttj> The change from Finnish ov (study credits) to ECTS conversion set me back a bit. 23:10 < ttj> Anyway, time to go read more Kotler & Keller. 23:11 < splatch`> must back to work 23:11 < splatch`> *I must 23:17 < Wombert> ttj: oh, putting work ahead of studies bit you in the arse 23:17 < Wombert> good to know 23:17 < Wombert> since that's what I do :D 23:18 < ttj> Wombert: Well, it's ok as long as you find a balance, I would guess. 23:18 < ttj> But right now I've been blatantly disregarding my studies. 23:18 < Wombert> just like me 23:20 < ttj> :-) 23:30 -!- lukoko [n=kosher@85.206.158.68] has quit [Read error: 145 (Connection timed out)] 23:39 -!- lukoko [n=kosher@85.206.157.177] has joined #agavi 23:58 -!- JamieWolf [n=JamieWol@L5c98.l.pppool.de] has joined #agavi 23:59 < splatch`> Warning: DOMDocument::loadXML() Entity 'nbsp' not defined --- Day changed Sun Oct 29 2006 00:10 -!- lukoko [n=kosher@85.206.157.177] has quit [Read error: 145 (Connection timed out)] 00:18 -!- lukoko [n=kosher@85.206.148.197] has joined #agavi 00:30 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has quit [Read error: 145 (Connection timed out)] 02:09 -!- lukoko [n=kosher@85.206.148.197] has quit [Remote closed the connection] 03:13 -!- benny`work [n=benny@p54AC0B8D.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:37 -!- JamieWolf [n=JamieWol@L5c98.l.pppool.de] has quit ["Gone for a Drink"] 03:38 -!- JamieWolf [n=JamieWol@L5c98.l.pppool.de] has joined #agavi 03:54 < Wombert> splatch`: yes, of course 03:40 -!- JamieWolf [n=JamieWol@L5c98.l.pppool.de] has quit ["Gone for a Drink"] 04:11 -!- Wombert [n=Wombert@dslb-088-064-008-141.pools.arcor-ip.net] has quit [] 05:25 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.mn.comcast.net] has joined #agavi 07:51 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 07:52 < v-dogg> huomenta 08:42 -!- lukoko [n=kosher@85.206.72.121] has joined #agavi 08:51 < v-dogg> morning lukoko 08:51 < lukoko> hi 08:51 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 08:54 < v-dogg> what's up 08:54 < impl> Too... early/late... 08:55 < lukoko> What does it mean "couple" in English? 08:56 < lukoko> Say "Agavi took a couple of days off." in agavi.org.. 08:57 < v-dogg> a few days, but apparently it took longer than anyone expected :) 08:57 < lukoko> ok 09:04 < v-dogg> what OS do you guys use? 09:08 < lukoko> i use linux and windows 09:09 < v-dogg> what do you use for development on linux? 09:09 < lukoko> scite 09:10 < impl> Mm, scite is nice 09:11 < lukoko> some people say that nusphere is good for php developing. 09:11 < lukoko> i have never tried it.. 09:11 < impl> If you're looking for a big IDE, I highly recommend Eclipse + Zend's PHPIDE 09:12 < v-dogg> I use Zend Studio on Windows 09:12 < impl> Does Zend still look like ass? 09:12 < impl> I haven't used it since like 2.6 09:12 < v-dogg> I've also tried nusphere but there was something that I didn't like about it 09:13 < impl> Mm 09:14 < impl> Zend doesn't look too bad 09:14 < impl> Would look better if it used SWT though 09:18 < v-dogg> uhm... I'm so lost with this ubuntu :) 09:19 < eremit> morning 09:19 < eremit> can i help you v-dogg ? 09:19 < kaos> <v-dogg> uhm... I'm so lost with this ubuntu :) <-- you remember that url wombert posted yesterday ? :D 09:19 < kaos> i can only agree (sadly, but i have to) 09:19 < kaos> this fcuking ubuntu shit 09:19 < eremit> oO 09:20 < kaos> doesn't even let me run 1680x1050 09:20 < kaos> stupid "frickelscheisse" 09:20 < kaos> :D 09:20 < eremit> kaos you're doing something wrong ... 09:20 < v-dogg> hehe 09:20 < kaos> nop 09:20 < kaos> es 09:20 < kaos> if you look at the amount of threads 09:20 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:21 < kaos> regarding widescreen and intel i8xx or i9xx chipsets 09:21 < kaos> you can definitly see that something is severely broken there ;D 09:21 < eremit> uh ... maybe consider buying a real graphics card ? 09:21 < kaos> no 09:21 < kaos> thats a dell pc 09:21 < kaos> its quiet 09:21 < eremit> yeah, here too ... 09:21 < kaos> and it shall stay so ;) 09:21 < epaulin> Debian SID + ZDE 09:22 < eremit> and i have an i9x chipset too ... but bought a ati x600 together with the comp 09:22 < kaos> well, i have debian (from stable to unstable) everywhere 09:22 < kaos> where i don't have to "work" 09:23 < kaos> i'm just not a linux desktop fan 09:23 < eremit> uh ... i just removed debian everywhere :P ...even the servers ... 09:23 < kaos> lol :D 09:23 < kaos> and replaced it with ? 09:23 < kaos> mac os X server ? 09:23 < kaos> :P 09:23 < epaulin> I use debian everywhere too, including my desktop, xD 09:23 < eremit> servers with ubuntu 6.06 lts ... 09:23 < kaos> omg ^^ 09:23 < eremit> which basically is debian ... 09:23 < kaos> yah 09:23 < kaos> basicly ;) 09:24 < eremit> hey ... runs smooth ... 09:24 < kaos> thats what my debian does too ;) 09:24 < eremit> ah in the server installations the only difference is in the packages ... :P 09:24 < kaos> i guess my router would be running for 3 or 4 years now 09:24 < epaulin> I only have one ubuntu installed for my friends, cause i can;t find a debian install CD, :-) 09:24 < kaos> if i wouldn't have been in holidays in between 09:24 < kaos> and thats debian unstable 09:24 < kaos> (which is really unstable ... because it fucks up with kinda everything on almopst every update :D) 09:25 < kaos> lol epaulin :] 09:25 < eremit> yeah and that's the reason for me leaving debian ... 09:25 < eremit> gentoo was nice (tried it on 2 servers) but it's a time sink ... 09:25 < epaulin> why not use stable for server? 09:25 < kaos> <epaulin> why not use stable for server? <-- thats what i do 09:25 < eremit> no php5 ... epaulin ? 09:25 < kaos> eremit: agavi.org 09:25 < kaos> runs on debian stable 09:25 < epaulin> build you self 09:25 < kaos> nope 09:25 < v-dogg> I can't even remember how to switch between desktops anymore :) 09:26 < kaos> dotdeb.org 09:26 < epaulin> nice 09:26 < kaos> backports.org 09:26 < kaos> all you need ;) 09:26 < epaulin> yeah, i use backports.org for my test server 09:26 < eremit> yea ... but our internal firm policy says ... servers are required to have clean repositories ... 09:26 < kaos> (ok, i had to install trac per hand ... but i can really live with that :D) 09:26 < eremit> only distribution ones allowed :P 09:26 < kaos> nice company :D 09:26 < eremit> that's why i went to ubuntu :P 09:26 < kaos> well, backports.org 09:26 < kaos> are official packets 09:27 < kaos> just recompiled 09:27 < kaos> (in the most basic sense ;o) 09:27 < kaos> or whatever 09:27 < eremit> basically yes ... but it's not an official repository :P 09:27 < kaos> (did i mention, that i just got home from partying ? :D) 09:27 < epaulin> :-) 09:27 < eremit> and backporting myself ? ... omg then i could also install gentoo :P 09:27 < kaos> :D 09:27 < kaos> definitly 09:27 < eremit> loool ... it's 8.3o am ... nice party huh? 09:28 < kaos> yah 09:28 < kaos> normal stuff 09:28 < kaos> techno/electro ^^ 09:28 < eremit> Oo 09:28 < kaos> if you'd be crazy 09:28 < kaos> you'd go to the afterhour now 09:28 < kaos> and for the completely crazy 09:28 < kaos> we had an after after hour in munich during summer 09:28 < kaos> sunday 6pm- monday open end 09:29 < kaos> thats how you party! \o/ 09:29 < eremit> omfg ... 09:29 < kaos> its just insane 09:29 < kaos> ppl stuff their bodies with drugs 09:29 < kaos> just to be able to handle that ^^ 09:29 < eremit> bah ... 09:30 < kaos> yup 09:30 < kaos> thats why i am at home now :D 09:30 < kaos> my body just doesn't want to move anymore 09:30 < kaos> not a single step 09:30 < kaos> (i wonder if i even will make it to bed from my pc :D) 09:30 < eremit> hrhr ... you lucky one .. i had to get up at 6am just to ensure our sms daemon works correctly after the time change :/ 09:31 < kaos> :s 09:31 < v-dogg> hehe 09:31 < kaos> well, almost as good as me once 09:31 < kaos> waiting for the sysadmin 09:31 < v-dogg> guys.. how do I switch between desktops?-) 09:31 < kaos> at 1 at night 09:31 < kaos> you mean between ttys ? 09:31 < eremit> v-dogg ... alt+f X ? 09:32 < eremit> kaos: 1 at night ... definately to early for a sysadmin to work :P 09:32 < kaos> yah 09:32 < eremit> <-- night shift starts at 3 am 09:32 < kaos> and quite funny waiting 3 hours 09:32 < v-dogg> no, not ttys, workspaces 09:32 < kaos> for nobody to show up ^^ 09:32 < eremit> v-dogg: at least for me alt + f-key works in the desktop env ... 09:32 < eremit> ah ... try strg + f-key 09:33 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["Ex-Chat"] 09:33 < eremit> ups wrong key :P 09:33 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 09:33 < kaos> www.apple.com/getamac/works.html 09:33 < kaos> ! 09:33 < kaos> :p 09:33 < v-dogg> dammit... 09:33 < kaos> that remembers of those bad quakenet jokes 09:33 < kaos> press alt-f4 to get some cheat in counterstrike 09:34 < kaos> \ooo/ 09:34 < eremit> kaos: i would like to buy a mac ... but's atm it's a bit to expensive for me ... 09:34 < kaos> same for me 09:34 < kaos> i would have bought one 09:34 < eremit> and working with a hacked mac os is nothing really funny ... even if my hardware is fully supported (thx dell) 09:35 < kaos> but for now 09:35 < kaos> i'm stuck to xp 09:35 < kaos> "stuck" 09:36 < eremit> :( ... i was stuck to it last semester ... because our university software only worked on mac or windows :/ 09:36 < kaos> you see, your university knows whats good for you :P 09:37 < eremit> :P ... buying a mac without money is not good ... 09:37 < kaos> well, a mac mini 09:37 < kaos> is actually really affordable 09:37 < eremit> and their decision to remove the fully working hpux installation and installing a windows network was senseless 09:37 < kaos> but i just don't have any money for pc upgrades (which i don't need anyways) 09:37 < eremit> sure but why should i trade my superior dell pc with a slow mac mini ? 09:38 < kaos> because IT JUST WORKS 09:38 < kaos> :D 09:38 < eremit> :D ... i had to decide between buying a mac on my own ... 09:38 < kaos> ^^ 09:38 < kaos> btw 09:39 < eremit> or to get 2x dell dimension 5150c (p4-3.4, 2gig ram each) from my firm :P 09:39 < kaos> compiling the timezone data 09:39 < kaos> ONLY takes 2.5 minutes 09:39 < eremit> the decision was made easy 09:39 < kaos> should be recompile those files when debug is on ? :P 09:40 < kaos> (which is the way i am currently working \o/) 09:40 < kaos> this feels even worse then c++ at times :D 09:40 < v-dogg> so far I haven't seen any proofs that mac's wouldn't cost a hell of a lot more than a pc laptop with the same hardware 09:40 < kaos> there i at least have precompiled headers and shit *gg* 09:41 < eremit> v-dogg: there is no proof because a mac isn't really more expensive ... 09:41 < kaos> (oh, and if i'd put all the timezone data in 1 file 09:41 < kaos> that file would be > 1 mb) 09:42 < eremit> Oo 09:42 < kaos> yah 09:42 < kaos> all nice stuff for speed 09:42 < kaos> \o/ 09:42 < kaos> well, i will compile the timezone data a little bit different 09:42 < kaos> a) it will be made a phing task 09:42 < kaos> (since the data is quite static and adding your own rules is quite senseless ^^) 09:43 < kaos> which will compile a single file for each timezone (since you'd usually only use 1 timezone at all that is quite ok i think) 09:44 < kaos> (well, i know the reason why its so slow too :D it uses the calendar ;) 09:44 < kaos> and i think it has to calculate 09:44 < kaos> uhm 09:44 < kaos> i dunno 09:44 < kaos> but definitly a few 10k different dates 09:50 < kaos> i will be so damn happy when this olson stuff is finished 09:51 < kaos> thats the last big thing which would hold back the release until not finished 09:51 < kaos> and this entire i18n stuff is really getting on my nerves slowly 09:51 < kaos> haven't been doing ANYTHING else but this "shit" the last 2 months 09:55 < kaos> .oO(what a monologue :D) 09:55 * epaulin listening 09:56 < kaos> :] 09:56 < kaos> well, 05.11 will be marked with many big X in my calendar (or at least in my head :D) 09:57 < kaos> finally a little less stress (hahaha ... now the fun only begins, since that means back to customer work instead of agavi \o/) 09:59 < epaulin> hmmm. why customer work make more fun? 09:59 < kaos> i was kidding :D 09:59 < epaulin> xD 09:59 < kaos> well, the problem is that i am simply overly bored with the i18n stuff right now 09:59 < v-dogg> can I somehow disable the extremely annoying pc beep when I'm trying to complete something in the terminal? 10:00 < kaos> yes, cut the wire to your pc beep 10:00 < kaos> :p 10:01 < epaulin> v-dogg: which desktop env do you use? GNOME or KDE 10:01 < v-dogg> gnome 10:03 < v-dogg> http://doc.gwos.org/index.php/TurnOffBeep 10:03 < epaulin> you can edit your profiles 10:03 < epaulin> :-) 10:04 < v-dogg> aahh... silence... 10:40 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["Ex-Chat"] 10:56 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has joined #agavi 11:00 -!- v-dogg [n=v-dogg@mcinen-dsl.utu.fi] has quit [Client Quit] 11:05 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 11:30 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 11:30 -!- KarlKoch is now known as Karl_Koch 11:32 < v-dogg> morning Karl_Koch 11:51 < Karl_Koch> morning.. 11:52 < Karl_Koch> really stormy day today.. ;( .. autumn is coming 11:54 < lukoko> i have mojavi application, and i want to import it to eclipse phpide, i am new to eclipse, how could i do this? 12:05 < Karl_Koch> you can create a new project an specify the existing application in this project.. 12:06 < Karl_Koch> when u use mojavi u should install aptana - this IDE also supports some javascript frameworks.. 12:06 < Karl_Koch> you can get it here http://aptana.org/ 12:16 < digitarald> Abd if u use agavi u can automate tasks in eclipse with Ant ;) 12:17 * v-dogg is downloading eclipse 12:19 -!- horros [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has joined #agavi 12:20 < v-dogg> but what plugin to use? 12:20 < horros> <- cried and laughs at the same time 12:20 < horros> cries too 12:20 < v-dogg> what's up 12:21 < horros> v-dogg: remember my friday afternoon fuckup? 12:21 < horros> it was worse than anticipated 12:21 < horros> apparently clicking "no, you do not maintain our mail servers" in the DNS-settings page for the hosting provider... 12:21 < horros> ...deleted all our mail accounts and denied access to the mail admin page 12:22 < horros> even if I re-enabled said setting in the page 12:22 < horros> one would think they'd mention something about it on the page though. 12:22 < v-dogg> f... sounds nice 12:23 < horros> since it's a DNS-zone setting, you'd reckon it only removes the MXes from the DNS zone 12:23 < horros> which it did. but also a shitload of other stuff I really really didn't want it to 12:23 < horros> also, nobody answers the phone there :( 12:26 -!- codecop [n=tty1@85.206.199.3] has joined #agavi 12:29 < v-dogg> digitarald: you use Eclipse, right? 12:31 < horros> v-dogg: I do too 12:31 < horros> where the smeg has my home directory gone? 12:32 < v-dogg> with what plugin? 12:32 < horros> v-dogg: xored's trustudio 12:32 < v-dogg> ah, that's right 12:40 < Karl_Koch> in comparison to phpeclipse - is xored studio better or not ? 12:42 -!- EleRas [n=EleRas@neteraser.de] has quit [Remote closed the connection] 12:43 < digitarald> v-dogg: eclipse, right 12:44 < horros> gah 12:45 < horros> stupid debian 12:45 < horros> #)¤(% 12:45 < horros> Karl_Koch: I've not used phpeclipse for a while, but last time I used it (6 months ago or so) it was a buggy heap of dung 12:45 < horros> Karl_Koch: you couldn't even turn off short_open_tags anywhere 12:46 < Karl_Koch> is xored studio also free ? 12:47 -!- EleRas [n=EleRas@neteraser.de] has joined #agavi 12:47 < horros> the base version of it. not proffessional. 12:47 < horros> although they've stopped developing it because they have a deal or the other with zend 12:47 < horros> so zend now produces the php plugin for eclipse, and xored makes the tcl/python plugins 12:48 < Karl_Koch> sometimes it's messy to work with phpeclipse.. 12:48 < horros> or rather the "dynamic languages framework doohickey" 12:48 < Karl_Koch> ah - that's new to me.. 12:49 < v-dogg> what's the status of the Zend plugin? 12:50 < horros> v-dogg: works, but falls over like small animals in strong wind 12:50 < horros> :) 12:51 < v-dogg> "works" in the sense of "works like anything build by Zend" 12:52 < Karl_Koch> ;) 12:52 < v-dogg> although I know I will regret this I'm going to try it 12:53 < horros> v-dogg: instead of wasting your time with that, go put on my winter tyres for me :) 12:56 < v-dogg> uh... two things that really annoy me in firefox: (1) the default download destination is _Desktop_, (2) the default searching method is Google's Feeling Lucky 12:57 < v-dogg> and you have to hack some userpref.js to alter the second one 12:57 < v-dogg> I have _never_ found this feelingluckynonsense to be usefull 12:57 < splatch`> hello 12:57 < splatch`> Karl_Koch: Are you ski jumber? :) 13:00 < toby_swe> hi, is there a way to validate two or more input fields of the same type with the same validator definition, to avoid having to write validator parameters and errors loads of times when they should be the same for all fields? 13:01 < toby_swe> some kind of outer wrapping for a group of validators 13:01 < splatch`> toby_swe: use <arguments> 13:01 < v-dogg> don't know if that helps 13:01 < v-dogg> because the validator then has to support validating the fields one by one 13:01 < splatch`> toby_swe: you can use xinclude too 13:03 < v-dogg> hmm... I wonder if it would be possible to write a IteratingValidator or something that would validate all fields using a validator given in parameters... 13:04 < toby_swe> <arguments> kind of worked, but all fields got "errored", even those that were right 13:11 < toby_swe> would be nice if it was possible just to write 13:11 < toby_swe> <validators class="date"> 13:11 < toby_swe> <validator name="invalid_start"> 13:11 < toby_swe> <arguments> 13:11 < toby_swe> <argument>startdate</argument> 13:11 < toby_swe> </argument> 13:11 < toby_swe> </validator> 13:11 < toby_swe> <validator name="invalid_end"> 13:11 < toby_swe> <arguments> 13:11 < toby_swe> <argument>enddate</argument> 13:11 < toby_swe> </arguments> 13:11 < toby_swe> </validator> 13:11 < toby_swe> </validators> 13:12 < toby_swe> or some similar construction with an outer wrapper 13:16 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 13:16 < Whisller> Hi :) 13:17 -!- benny`work [n=benny@p54AC0E83.dip0.t-ipconnect.de] has joined #agavi 13:29 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["quit"] 13:32 < codecop> hi 13:36 -!- lukoko [n=kosher@85.206.72.121] has quit [Read error: 145 (Connection timed out)] 13:43 -!- lukoko [n=kosher@85.206.153.23] has joined #agavi 13:50 -!- Wombert [n=Wombert@dslb-088-064-008-141.pools.arcor-ip.net] has joined #agavi 14:15 < toby_swe> I'm using phprenderer and want to have some custom functions that should be available in all templates. What would be the best way to include such functions? 14:50 < Wombert> simple functions? 14:50 < Wombert> you could include them whereever you like 14:50 < Wombert> e.g. in config.php 14:57 < digitarald> create a static class to wrap them, like HtmlHelper or something like that. Than put all your helpers in that static class 15:04 * sho[a]n yawns 15:08 < Wombert> or extend PHPRenderer so you can do $this->blah (you have the context and everything then) 15:08 < horros> errm, can anyone access www.tenue.fi? 15:10 < toby_swe> wombert: can I do the $this->blah() stuff from the template i I extend the renderer? 15:11 < toby_swe> ..if I.. 15:11 < Wombert> yes 15:11 < Wombert> you could also add the method to the view 15:11 < Wombert> and do 15:11 < Wombert> $this->getView()->method() 15:11 < toby_swe> ok, both options sounds good to me 15:12 < toby_swe> another question, I can't get <validator required=false> to work. I get an error on empty input field 15:13 < Wombert> latest SVN? 15:13 < toby_swe> updated 2 mins ago 15:18 < toby_swe> the same happens if I set password validator required=false in the sample app 15:36 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 15:48 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 15:55 -!- codecop [n=tty1@85.206.199.3] has quit ["ArchLinux 0.7 ....rulezzz ... www.archlinux.org"] 16:00 < splatch`> hello 16:00 < splatch`> i've problem with validators 16:01 < splatch`> i've two fields (boolean), validator manager mode=tainted 16:01 < splatch`> the fields aren't validated 16:01 < splatch`> i can cast value to boolean 16:02 < splatch`> but.. i don't got this parameters 16:02 < splatch`> anyone got my problem? :) 16:04 < splatch`> validator manager has two modes - strict and tainted, right Wombert? 16:16 < splatch`> :| 16:37 < digitarald> right, imho 16:46 -!- Whisller is now known as Whisller[a] 16:50 < Wombert> normal, tainted and strict 16:51 < Wombert> jake: ping? 16:57 < horros> ugh 16:57 < horros> so exhausted 16:57 < horros> :( 16:57 < Wombert> why 16:57 < horros> changed winter tyres 16:57 < horros> == carried two sets of tyres five floors down and up :( 17:01 -!- Wombert [n=Wombert@dslb-088-064-008-141.pools.arcor-ip.net] has quit [Nick collision from services.] 17:01 -!- Wombert [n=Wombert@dslb-088-064-018-194.pools.arcor-ip.net] has joined #agavi 17:05 < splatch`> Wombert :) 17:05 < splatch`> Wombert: normal, tainted and strict doesn't pass non-validate parameters 17:06 < splatch`> (svn version_ 17:06 < splatch`> *) 17:06 < splatch`> btw, Wombert i'm looking for new server, some time ago you gave me an links but i lost it 17:08 < splatch`> Wombert: can you give me this links? :) 17:08 < Wombert> uh 17:08 < Wombert> www.strato.de or so 17:08 < Wombert> www.server4u.de 17:08 < Wombert> maybe 17:08 < Wombert> no 17:08 < Wombert> www.server4you.de 17:09 < eremit> omg ... 17:09 < Wombert> ... 17:09 < Wombert> he was looking for something affordable IIRC 17:09 < eremit> www.hetzner.de 17:09 < Wombert> yes 17:09 < Wombert> except they suck and charge too much money 17:09 < Wombert> strato actually has excellent features 17:09 < Wombert> like free backup space 17:09 < eremit> how do they suck ? and what's too much money ? 17:12 < Wombert> because you have to pay extra for everything 17:12 < Wombert> you get backup space at strato 17:12 < Wombert> and a serial remote console, too 17:12 < Wombert> and other stuff I can't remember you usually have to pay for with other companies 17:13 < eremit> maybe you should take a look what they give out :P 17:13 < eremit> ok, there's no serial console ... but nobody needs a serial console :P 17:13 < Wombert> oh 17:13 < Wombert> really 17:13 < Wombert> and what if your server doesn't boot anymore 17:13 < Wombert> .. 17:14 < splatch`> hmm 17:14 < eremit> start the rescue mode ? 17:14 < splatch`> http://www.strato.de/server/highend/index.html 17:14 < splatch`> MR3 17:14 < Wombert> eremit: look at their traffic "flatrate" 17:14 < Wombert> ... 17:15 < Wombert> oooh, 50GB backup space... mmmhmmmh 17:15 < Wombert> etc etc 17:15 < eremit> wombert, i know about their traffic flatrate ... since i have 2 dozens of server there :P 17:15 < Wombert> it sucks 17:15 < eremit> and better being polite and tell about how they do their "flatrate" than having strato, which suddenly turns of your computer :P 17:16 < Wombert> they don't, we never had any trouble :p 17:16 < eremit> i had 2 strato servers and 3 server4you servers ... 17:16 < eremit> and they all have been migrated to hetzner ... since we tested all major distributors ... 17:17 < eremit> and hetzner was the only one which had (1) support (2) support which knows what they talk about and (3) good prices 17:21 < splatch`> ok, so .. who is better? 17:25 < eremit> i would go to hetzner :P ... but it's a philosophical question 17:27 -!- ociu [n=wojtek@saturn.czajen.pl] has joined #agavi 17:27 < ociu> hi 17:27 < splatch`> ho :) 17:27 < Wombert> welcome to agavi, ociu 17:27 < ociu> splatch :P 17:27 < splatch`> next agavi user from poland! :) 17:28 < ociu> :) 17:29 < ociu> only me and you are online ? 17:29 < splatch`> eremit: i'm need server cheeper than 55 euro 17:29 < splatch`> cheaper 17:30 < eremit> womby gave you 2 links and i gave you one ... 17:30 < eremit> the decision is up to you ... 17:30 < Wombert> http://www.hetzner.de/rootserver.html maybe the DS 3000 17:30 < Wombert> but 17:30 < Wombert> 99 euro setup 17:31 < splatch`> Wombert: i thought about this 17:31 < ociu> hehe, i was wrong :P 17:31 < splatch`> but 99 euro is to much 17:31 < eremit> yes Wombert and 30days to end the contract .. instead of being 1 year bound ... 17:31 < splatch`> Wombert: 140 euro at start 17:32 < eremit> so they're mainly even 17:52 -!- horro1 [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has joined #agavi 17:54 < ociu> :/ 17:54 < ociu> i must back to my homework :/ 17:54 < ociu> see you 17:54 -!- ociu [n=wojtek@saturn.czajen.pl] has left #agavi [] 18:06 < splatch`> what does minds "Inclusive Domains" 18:07 -!- horros [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 18:07 < Wombert> that number of domains are included in the price 18:07 < Wombert> "means" by the way 18:07 < splatch`> can i register more domains? 18:07 < Wombert> you can 18:07 < Wombert> ... 18:08 < Wombert> that many domains are included in the price 18:08 < Wombert> you don't have to pay for these 18:10 < splatch`> Wombert: i don't see connection speed 18:10 < Wombert> usually 100MBit/s 18:10 < Wombert> I don't know 18:11 < splatch`> Wombert: are you sure - 100 MBit?! 18:11 < Wombert> as I said 18:11 < Wombert> I don't know 18:11 < splatch`> that's normal connection speed in germany? :) 18:12 < Wombert> uhm 18:12 < Wombert> for servers, yes 18:13 < splatch`> What does means: "Preis/Monat, Zahlweise monatlich" 18:13 < Wombert> http://hetzner.de/rootserver.html 18:13 < Wombert> has 100MBit connection 18:13 < Wombert> price per month 18:13 < Wombert> montly payment 18:13 < Wombert> monthly 18:14 < Wombert> but 18:14 < Wombert> I suggest you look for hosters in poland again 18:14 < Wombert> I'm not sure if you can order from outside germany 18:15 < Wombert> I think hetzner allows it 18:15 < splatch`> we'll see, but in poland servers are more expensive than in germany, france and others 18:15 < Wombert> not sure 18:16 < Whisller[a]> that's true 18:16 < splatch`> " it 18:16 < Whisller[a]> tak :) 18:16 < Whisller[a]> yes ;) 18:16 < splatch`> Wombert: and.. "Vertragslaufzeiten wahlweise 12 oder 18 Monate"? 18:17 < Wombert> contract duration 18:17 < Wombert> still 18:17 < Wombert> I suggest you rent a server in poland 18:17 < Wombert> it's a bit dangerous otherwise, because you don't understand half of the stuff 18:17 < Wombert> you know what I mean? 18:18 < splatch`> Wombert: yes 18:24 -!- Wombert [n=Wombert@dslb-088-064-018-194.pools.arcor-ip.net] has quit [] 18:26 -!- eremit [n=eremit@server1.adm1n.de] has quit [Excess Flood] 18:35 -!- Wombert [n=Wombert@dslb-088-064-018-194.pools.arcor-ip.net] has joined #agavi 18:42 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 18:46 < v-dogg> evening 18:46 < v-dogg> any linux gurus awake?-) 18:54 -!- lukoko [n=kosher@85.206.153.23] has quit [Read error: 131 (Connection reset by peer)] 19:03 < jake> Wombert: pong 19:03 < Wombert> jake, we need better names for the validation modes 19:04 < Wombert> are you familiar with them 19:04 < jake> I'm not. I could be though :) 19:05 < Wombert> "normal" mode just makes all request params available in the action 19:05 < Wombert> "tainted" only forwards those that have been validated IF there was a validation xml for that action 19:05 < Wombert> strict always only forwards validated params no matter if a validation.xml was there or not 19:06 < jake> okay. Those are actually good names so far 19:06 < v-dogg> exept tainted is not good 19:07 < Wombert> yeah or is it? 19:07 < Wombert> we'll let the native speaker decide ;) 19:07 < Wombert> and there is a param for the routing 19:07 < jake> I think it's okay. Although I would argue that perhaps tainted implies that validation occured and you allowed the forward anyhow 19:07 < Wombert> <routing ... constraint="write" /> restricts the rule to be tested only when the request method is write 19:07 < Wombert> I'm not overly happy with that either I think 19:08 < jake> Instead of 'normal', 'tainted' and 'strict' I might use 'none', 'normal' and 'strict' 19:08 < Wombert> good idea 19:08 < jake> Although I think there actually is a 'tainted', which might be; Allow forward, even if validation fails 19:08 < jake> THEN you have tainted data 19:09 -!- lukoko [n=kosher@88.118.50.46] has joined #agavi 19:09 < v-dogg> but tainted comes from perl (afaik) where the data is tainted unless validated 19:09 < v-dogg> and that is not really how it works in agavi, is it? 19:11 < jake> That's true (the first statement), I think. However tainted can also mean that although validation has occured and failed, you are electing to continue with 'tainted' data 19:12 < jake> perhaps 'invalid' data is a more appropriate term :) 19:12 < v-dogg> mode="invalid" sounds... well... not good :) 19:13 * horro1 delurkifies 19:13 < horro1> I vote "fubar" 19:13 * horro1 lurkifies 19:14 < v-dogg> lurkers don't have a say 19:14 * horro1 delurkifies 19:14 < horro1> I concur. 19:14 * horro1 lurkifies 19:15 < v-dogg> did you sorted your domains and dns already? 19:15 < v-dogg> -ed 19:17 < v-dogg> I have an old PII 466 machine and I started erasing a 15Gb hard disk with it this morning (using dd) 19:17 < jake> heh, true :) 19:17 < v-dogg> it's still doing it after 8 hours 19:17 < v-dogg> should I worry? 19:17 < horro1> well, not really. I ended up with a warning: problem talking to service rewrite: Success 19:17 < horro1> so I thought screw this, I'll fix it tomorrow :D 19:18 < v-dogg> heh, that error message sounds like something that windows would tell you 19:18 < horro1> well, it's in fact postfix 19:19 * v-dogg rewinds 19:19 < v-dogg> heh, that error message sounds like something that linux would tell you 19:19 < horro1> well, it is, in fact, a bsd box. 19:19 < horro1> ok, it's not. 19:19 < horro1> :D 19:20 < v-dogg> same shit, different label 19:20 < v-dogg> but if it was a MAC! then not only would it "just work", it would give good error message AND look cool! 19:21 < v-dogg> and ofcourse it would make you look cool, too 19:21 < horro1> whereafter the keyboard and display would break 19:21 < horro1> :) 19:23 < v-dogg> heh, our living rooms clock is still an hour ahead and I almost got fooled by it 19:23 -!- sho[a]n_ [n=shoan@59.92.193.95] has joined #agavi 19:24 < v-dogg> hey sho[a]n, we were just talking about macs and how crappy they are 19:24 < v-dogg> join our happy discussion group 19:26 -!- ociu [n=wojtek@saturn.czajen.pl] has joined #agavi 19:27 < ociu> hello 19:32 < Wombert> so 19:32 < Wombert> what do we name the validation methods now 19:32 < Wombert> "none" might be a bit misleading as in no validation will occur or so I guess 19:33 < Wombert> we could also rename the "tainted" to "development" mode because that's primarily what it's for 19:34 < jake> Isn't that what the first one meant? All request params are always available in the action, does validation occur or does it just allow failures? 19:35 < v-dogg> development is not good either in my opinion. misleading and un-informative 19:35 -!- sho[a]n [n=shoan@59.92.151.224] has quit [Read error: 110 (Connection timed out)] 19:35 < Wombert> it allows failures 19:35 < jake> ahh, I see 19:35 < Wombert> tainted and strict only forward values that didn't fail 19:36 < Wombert> AND 19:36 < Wombert> only those which have a validator 19:36 < Wombert> so you have to validate all params in order to access them 19:37 < jake> Okay. Well, the appropriate modes then might be 'accept', 'conditional' and 'deny' ? 19:38 < jake> In the first you accept all data. In the second you conditionally accept it. And in the third you deny all that is bad.? 19:38 < v-dogg> conditional is ok 19:38 < Wombert> be back in ten 19:38 < jake> By using those terms too, they are consistent in that they always describe how the data is treated based on the validation 19:38 < ociu> ok, i've a question 19:38 < v-dogg> ociu: shoot 19:38 < ociu> how to: forms and their validation in agavi 19:39 < ociu> it will be nice when to give me some examples :) 19:39 < v-dogg> ociu: how much do you know about that now? 19:39 < v-dogg> have you checked out the sample app? 19:39 < ociu> v-dogg: in agavi, nothing 19:40 < v-dogg> I'll descrive the basic idea and then you can check out the sample app, ok? 19:40 < v-dogg> describe, even 19:40 < ociu> yeah 19:41 < v-dogg> there are three ways to validate your input (normally form fields) 19:41 < ociu> mhm 19:41 < v-dogg> (i) define validators in modules/MyModule/validate/MyAction.xml 19:42 < v-dogg> (ii) define validators in MyAction::register[Write|Read]Validators (not sure about the function name) 19:42 < v-dogg> (iii) manually validate the data in MyAction::validate (again, not sure about the function name) 19:43 < v-dogg> for i and ii you have to have a validator class that does the validation (and also normalizes the data should you wish that too) 19:44 < ociu> and forms ? i've just create on template ? 19:44 < v-dogg> agavi ships with a few validators and you can write your own easily 19:44 < v-dogg> yes, you write your forms yourself 19:45 < v-dogg> but you don't have to output the field values, there's the FormPopulationFilter that can do that for you 19:47 < v-dogg> validators are quite flexible. you can have validators depending on others, you can normalize the data during the validation (ie. normalize date fields into int timestamp), you can have nested validators and so on and so on... 19:48 < v-dogg> s/ie/eg/ 19:49 < ociu> mhm 19:49 < v-dogg> because our documentation is still under development the best way to get to know all this is to play aroung with the sample app and ask when you don't understand something 19:54 < ociu> ok, so tell me, for what in ./samples/app/ is dir. models, when in modules is directory models too ? 19:54 < ociu> that dir. is for every module ? 19:54 < v-dogg> that's for global models used by more than one module 19:55 < v-dogg> and modules can have models of their own, too 19:55 < ociu> yea, ./app/modules/models 19:56 < ociu> so, how to appeal to global model ? 19:58 -!- Whisller[a] [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"] 19:59 < v-dogg> ociu: didn't get that 19:59 < v-dogg> do you mean how do you call a global model? 19:59 < ociu> yes, sory ;) 19:59 < ociu> i am still learning 20:00 < v-dogg> $this->getContext()->getModel(ModelName, [ModuleName]) 20:00 < v-dogg> agavi handles loading and initializing the class 20:01 < v-dogg> if you leave ModuleName blank, it tries to load a global model 20:01 < jake> v-dogg, can you have a singleton model? I can't remember.... 20:02 < v-dogg> you can, but I'm not sure how... I think you only have to implement SingletonModel interface 20:02 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 20:02 -!- KarlKoch is now known as Karl_Koch 20:03 < jake> ahh, that's right 20:04 < v-dogg> bbl -> 20:04 < ociu> bbl ? 20:05 < jake> be back later 20:12 -!- eremit [n=eremit@server1.adm1n.de] has joined #agavi 20:13 < Wombert> yep, implements AgaviISingletonModel is enough 20:26 < ociu> hm... execute, executeRead ? 20:26 < ociu> what is that ? 20:26 < Wombert> it's documented in the phpdoc for the mehtod 20:28 < ociu> is it online ? 20:31 < Wombert> no 20:31 < Wombert> in the method declaration in the sample app 20:31 < Wombert> = phpdoc 20:31 < ociu> :) 21:14 < splatch`> btw Wombert, Agavi doesn't support file inputs with array name 21:14 < splatch`> image[] 21:37 -!- horro1 [n=mle@83-102-24-195.tampere.customers.dnainternet.fi] has left #agavi [] 21:42 -!- lukoko [n=kosher@88.118.50.46] has quit ["He believes in beauty, he's Venus as a boy."] 21:47 -!- ociu [n=wojtek@saturn.czajen.pl] has left #agavi [] 21:52 < Wombert> splatch`: you there? 21:52 < Wombert> hello? 21:52 < Wombert> uuuh 21:58 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 22:03 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 22:36 < splatch`> Wombert: yes, I am 23:32 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit [Read error: 110 (Connection timed out)] 23:55 < Wombert> re 23:55 < Wombert> splatch`: yes that's possible! 23:55 < Wombert> <arguments base="image"> 23:55 < Wombert> and then... I think one empty argument, right, kaos ? 23:56 < Wombert> <arguments base="image"> 23:56 < Wombert> <argument></argument> 23:56 < Wombert> </arguments> 23:56 < kaos> yes 23:56 < splatch`> base attribute are available for array values? 23:56 < kaos> should work that way 23:56 < Wombert> yes, it will then validate all image files 23:57 < Wombert> <arguments base="image"> 23:57 < Wombert> <argument>foo</argument> 23:57 < Wombert> </arguments> 23:57 < kaos> well, that base stuff is quite hard to get 23:57 < Wombert> that will only validate image[foo] 23:57 < Wombert> if you have image[foo][], you must do 23:57 < Wombert> <arguments base="image[foo]"> 23:57 < Wombert> <argument></argument> 23:57 < Wombert> </arguments> 23:58 < Wombert> aaaah 23:59 < Wombert> wait 23:59 < Wombert> it doesn't work because the file validators still use $_FILE 23:59 < Wombert> I think --- Day changed Mon Oct 30 2006 00:18 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: toby_swe 00:18 -!- Netsplit over, joins: toby_swe 00:19 < kaos> only the isuploadedimagevalidator 00:22 < Wombert> but does isUploadedImage work with [] ? 00:33 < splatch`> Wombert: (Do/Are) you have new design? 00:33 < Wombert> yep 00:33 < Wombert> I'm waiting for darek to talk to me in ICQ ;) 00:33 < Wombert> there are no changes right now 00:33 < splatch`> Does ICQ have transport to jabber? 00:35 < Wombert> no but he has an icq account 00:35 < splatch`> kzk666? ;) 00:35 < Wombert> don't know 00:35 < Wombert> adium displays what I enter 00:36 < splatch`> that's he default login ;) 00:36 < splatch`> anyway, i must write OPT Renderer 00:36 < Wombert> :> 00:37 < toby_swe> if I play around with sample app and set password and username validators to required=false, I still can't get past validation with empty fields. Is that the way it's supposed to work? 00:37 < toby_swe> or am I misunderstanding somehing? (quite possible ;) 00:38 < splatch`> Wombert: are validation modes works? 00:39 < splatch`> normal/strict and tainted works same 00:39 < splatch`> doesn't pass not validated values 00:40 < kaos> toby_swe: required means that the validator will not fail when the value is not set at all 00:40 < kaos> an empty value is still a set value 00:40 < kaos> so it passes the required test 00:40 < kaos> and gets handled by the validator 00:40 < kaos> which decides that an empty string is a little to less input ;) 00:41 < kaos> and hence throws an error 00:41 < Wombert> uhm 00:41 < Wombert> hang on a second 00:41 < splatch`> hmm 00:41 < Wombert> on the web, empty fields are always an empty string 00:41 < splatch`> required msg error? 00:41 < Wombert> (except checkboxes) 00:41 < Wombert> so required="false" should skip on "" 00:41 < kaos> no 00:41 < Wombert> yes 00:41 < kaos> no! 00:41 < splatch`> yno! 00:41 < kaos> thats the job of the validator 00:42 < splatch`> :) 00:42 < toby_swe> ? 00:43 < splatch`> toby_swe: hold on, we have a small discussion 00:43 < toby_swe> yep 00:43 < splatch`> so what for isset validator exists? 00:44 < splatch`> for conditions 00:44 < splatch`> required in Mojavi 3 = "" empty string, value not set 00:46 < splatch`> Doest severity attribute works? 00:52 -!- AgaviBot [n=dzuelke@dslb-088-064-018-194.pools.arcor-ip.net] has joined #agavi 01:16 < splatch`> q 01:17 < Wombert> won the discussion 01:17 < Wombert> :> 01:19 -!- benny`work [n=benny@p54AC0E83.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:19 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 01:19 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1201 : Changeset [1201]: treat empty strings for params as argument not present. use isset … 01:38 < Wombert> toby_swe: fixed 01:42 < toby_swe> so, now the sample app should say it's ok to have an empty username if I just do <validator class="string" name="username_too_short" required="false"> (as an example)? 01:42 < Wombert> yeah 01:42 < Wombert> BUT I think the code sets a validation error if the username doesn't match 01:42 < Wombert> so you might still see an error 01:43 < toby_swe> hmm, true 01:46 < toby_swe> if username is empty, I get the too_few_char-error, if username is more than five chars but doesn't match I get the wrong_username-error 01:47 < toby_swe> should I really get the to_few_chars-error with required=false? 01:48 < toby_swe> shouldn't it be the wrong_username-error if the parameter got through validation? 02:07 < Wombert> hm 02:07 < Wombert> you shouldn't get that error 02:07 < Wombert> hmh 02:09 < toby_swe> no 02:09 < Wombert> errr wait a minute 02:09 < Wombert> I messed something up there 02:11 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 02:11 < Wombert> crrrrrap 02:11 < impl> Wombert: I quite enjoyed that music btw :) 02:11 < Wombert> impl: good to hear 02:12 < Wombert> let me know if you need an album or so 02:12 < impl> I'll have to listen to them again, but sure 02:12 * impl runs the garbage outside 02:15 -!- MrJeep [n=Jeep@24.122.39.195] has joined #agavi 02:17 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 02:17 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1202 : Changeset [1202]: ewww I messed this up pretty bad last time, sorry 02:17 < impl> Lovely commit message there :P 02:39 < toby_swe> bedtime... 02:39 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has quit ["quit"] 03:41 -!- MrJeep [n=Jeep@24.122.39.195] has quit [Read error: 113 (No route to host)] 03:43 < Wombert> mmmh yes that's better 03:46 -!- MrJeep [n=Jeep@24.122.39.195] has joined #agavi 03:46 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 03:46 < AgaviBot> 1) http://trac.agavi.bitxtender.net/changeset/1203 : Changeset [1203]: here we go again 03:47 < MrJeep> why is it considered unsafe to user the request parameter ? 03:49 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 03:49 < Wombert> it's not unsafe to use them 03:51 < MrJeep> what's the difference between the request->getParameter and the $parameters->getParameter function ? 03:51 < MrJeep> value slashing ? 03:51 < Wombert> by default, the values are identical 03:51 < MrJeep> ok 03:51 < Wombert> but 03:51 < Wombert> you could write a global filter that strips possible XSS stuff from all parameters 03:51 < Wombert> and 03:52 < Wombert> validation can validate and, possibly, modify arguments 03:52 < MrJeep> kk 03:52 < MrJeep> thnx 03:52 < Wombert> also, assuming validation is set to "strict" 03:52 < Wombert> only those parameters you validated will arrive 03:52 < Wombert> which is good if you want to write secure apps 03:53 < Wombert> another example... let's say you have three fields for month, day and year 03:53 < Wombert> you'd write a small validator that validates this date and then only sets a unix timestamp in the parameters 03:53 < Wombert> so if you change the form field from three separate ones to a large one (e.g. used by a date picker widget), you don't have to change your action 03:54 < Wombert> or... you could cast values to integers or floats right away 03:54 < Wombert> or think about how americans enter 123.45, while germans write 123,45 03:54 < Wombert> all that stuff 04:11 -!- MrJeep [n=Jeep@24.122.39.195] has quit [Read error: 113 (No route to host)] 04:24 -!- AgaviBot [n=dzuelke@dslb-088-064-018-194.pools.arcor-ip.net] has quit [Remote closed the connection] 04:26 -!- Wombert [n=Wombert@dslb-088-064-018-194.pools.arcor-ip.net] has quit [] 05:22 -!- um [n=um@noc.cavokintl.com] has joined #agavi 05:36 -!- MrJeep [n=Jeep@24.122.39.195] has joined #agavi 06:03 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 06:42 -!- MrJeep [n=Jeep@24.122.39.195] has quit [Read error: 110 (Connection timed out)] 08:04 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 08:09 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["Ex-Chat"] 08:39 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has joined #agavi 08:43 < v-dogg> hla 08:47 < epaulin> moin 10:00 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 10:00 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi 10:00 -!- toby_swe [n=Miranda@nl109-140-176.student.uu.se] has quit [Client Quit] 10:18 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 10:41 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has joined #agavi 11:00 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Leaving"] 11:01 -!- Wombert [n=Wombert@dslb-088-064-018-194.pools.arcor-ip.net] has joined #agavi 11:03 < Wombert> re 11:03 < Wombert> pear.agavi.org channel moved to new server 11:04 < Wombert> mailing lists should be operational tomorrow or so 11:05 < Wombert> toby_swe: the required="false" problem is fixed 11:06 < Wombert> let me know if you have any further problems 11:08 < toby_swe> yeah I saw that. Thanks Wombert! 11:08 < v-dogg> morning wonbert 11:09 < Wombert> hi v-dogg 11:09 -!- KarlKoch [n=Karl@p5486094E.dip0.t-ipconnect.de] has joined #agavi 11:09 < Wombert> toby_swe: it now works like this 11:09 < Wombert> an error withour "for" is the "generic" message 11:09 < v-dogg> ubuntu live cd just made my day 11:09 < Wombert> and an error with "min" is for the case the message is too short 11:10 < Wombert> so it's now possible to have a field optional, but with min length 11:10 < Wombert> v-dogg: why 11:12 < v-dogg> I was able to rescue some important files from a computer with a crashed hard drive 11:13 < v-dogg> saved me the trouble of getting that computer from our machine room and pluging that hard drive to another machine 11:13 < Wombert> oO 11:13 < Wombert> nice 11:24 < horros> friggen postfix+postgres+courier-imap 11:24 < horros> :( 11:25 < Wombert> mmmh? 11:25 < Wombert> :S 11:34 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has quit [Read error: 104 (Connection reset by peer)] 11:38 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has joined #agavi 11:52 < KarlKoch> mornin ;).. 11:53 < v-dogg> morning 11:54 < KarlKoch> i want to include mysql in the sample app - how can i include it in the AgaviSampleAppUser.class.php 11:58 < KarlKoch> i already changed settings in the config files - but don't know how to setup the database"stuff" for the app 12:02 < Wombert> $context->getDatabaseConnection() 12:02 < Wombert> getResource() on that probably if you want to use mysql 12:02 < Wombert> but I recommend you use PDO 12:02 < Wombert> or some other layer 12:02 < Wombert> v-dogg: didn't you have some trouble with propel and duplicate connections or somethign 12:03 < KarlKoch> hmm-never used pdo before.. 12:03 < KarlKoch> that's maybe a problem ;( 12:04 < Wombert> learn it 12:04 < Wombert> ... 12:05 < KarlKoch> ;) i know 12:06 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)] 12:07 < KarlKoch> hmm seems to be not so complex - when i look at the wikipage.. 12:10 < KarlKoch> how do i include a Connection Class ? i inserted a new entry in the databases.xml with the connection strings .. 12:10 < Wombert> yes 12:10 < Wombert> as I said 12:10 < Wombert> $context->getDatabaseConnection() 12:11 < Wombert> from that, you usually get the PDO connection with getConnection() 12:11 < KarlKoch> okay - but the sample app crashes with Class 'PDODatabase' not found 12:11 < Wombert> or $context->getDatabaseManager()->getConnection() 12:11 < Wombert> AgaviPdoDatabase 12:14 < KarlKoch> okay-- 12:46 < v-dogg> Wombert: that issue is still to be figured out 12:46 < v-dogg> something weird does happen there 12:56 < Wombert> v-dogg: we should try to sort that before the weekend 12:56 < v-dogg> uh.. ok :) 12:59 < Wombert> six days left until 0.11RC1 12:59 < Wombert> so if you don't have anything planned for the weekend yet... 12:59 < Wombert> tell the missus you gotta code and build a website and write documentation ;) 13:12 < v-dogg> oukey :) 13:12 < Wombert> it looks like the website design will be finished tomorrow 13:12 < Wombert> logo design... not 100% sure yet, we gotta decide on a font first 13:13 < Wombert> I want to put up the teaser page with the techno plant on friday 13:13 < Wombert> pear channel works, too, and it seems mailing lists are up and running as well, we just need a dns change for that 13:13 < Wombert> I gotta mail bob for irc channel admin, gmane access, and CIA 13:13 < digitarald> wow ... agavi is back ... soon 13:14 < Wombert> yes, it'll be a lot of work until sunday, but we'll make it 13:14 < Wombert> if anyone has some free time, please help out 13:14 < Wombert> for example, the config file comments are all outdated and still describe the ini format 13:14 < Wombert> and we sure could use a 0.11 migration guide ;) 13:15 < digitarald> its a must-have 13:15 < digitarald> framework 13:15 < Wombert> write it ;) 13:15 < digitarald> must have documentation 13:15 < digitarald> i would, if i had time ... but i'll fly tomorrow to germany 13:15 < Wombert> I'll work on all the trac hooks, nightly snapshot crons, documentation cron jobs etc 13:15 < Wombert> v-dogg: we have a phing task for building docs now, right? 13:15 < Wombert> (manual) 13:16 < v-dogg> we have a non-working phing task afaik 13:16 < Wombert> :S 13:17 < v-dogg> firstly it was made before the splitting of the books 13:17 < v-dogg> and also there was some problem with fetching the stylesheets from the net 13:17 < v-dogg> shouldn't be difficult to fix though 13:18 < Wombert> hm 13:18 < Wombert> I just did phing manual-html 13:18 < Wombert> worked 13:19 < v-dogg> ok then :) 13:20 < Wombert> the XSL needs some love tho 13:20 < Wombert> it doesn't handle "delete" tags 13:35 < Wombert> ewwwwww 13:47 < v-dogg> woot 13:52 < Wombert> wanna know a secret? 13:52 < Wombert> I am convinced that phing 13:52 < Wombert> is the worst piece of crap 13:52 < digitarald> me me me ;) 13:52 < Wombert> ever invented 13:52 < digitarald> tags? 13:52 < Wombert> or actually ant, which phing mimics 13:53 < Wombert> no, the entire concept 13:53 < Wombert> it sucks 13:53 < Wombert> I'm getting sick every time I look at a build.xml 13:53 < Wombert> it's all hacky, confusing and... just plain ugly 13:58 < Wombert> okay sports racers 13:58 < Wombert> it's time for some tickets 13:59 -!- AgaviBot [n=dzuelke@dslb-088-064-018-194.pools.arcor-ip.net] has joined #agavi 14:12 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 14:14 -!- JamieWolf [n=JamieWol@T306b.t.pppool.de] has joined #agavi 14:48 -!- ociu [n=wojtek@saturn.czajen.pl] has joined #agavi 14:48 < ociu> hi 15:00 < v-dogg> hello 15:04 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 15:04 < AgaviBot> 1) http://trac.agavi.bitxtender.net/ticket/337 : Ticket #337 (defect created): Launch new website 15:06 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 15:06 < AgaviBot> 1) http://trac.agavi.bitxtender.net/ticket/338 : Ticket #338 (task created): Add cron jobs for nightly snapshots 15:06 < ociu> hm.. 15:06 < v-dogg> Wombert: update bot's url template 15:07 < Wombert> v-dogg: yeah 15:07 < Wombert> actually I gotta change the URL of the RSS feed, because that's where the URLs are from 15:08 < v-dogg> ah 15:09 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.bitxtender.net/timeline : 15:09 < AgaviBot> 1) http://trac.agavi.bitxtender.net/ticket/340 : Ticket #340 (task created): Write 0.10 to 0.11 migration guide 15:09 < AgaviBot> 2) http://trac.agavi.bitxtender.net/ticket/339 : Ticket #339 (task created): Add cron jobs for nightly documentation snapshots 15:09 < Wombert> you know what's cool? 15:09 < Wombert> I can do this at runtime :D 15:09 < Wombert> changed the feeds.xml config (ReturnArrayConfigHandler) 15:10 < Wombert> and told the bot to read the file again in the query 15:10 < Wombert> let's see if that works :D 15:10 < Wombert> mh 15:10 < Wombert> no 15:10 < Wombert> it doesn't 15:10 < Wombert> didn't implement it yet xD 15:11 -!- AgaviBot [n=dzuelke@dslb-088-064-018-194.pools.arcor-ip.net] has quit [Remote closed the connection] 15:11 -!- AgaviBot [n=dzuelke@dslb-088-064-018-194.pools.arcor-ip.net] has joined #agavi 15:12 < ociu> Wombert: :))) 15:13 < ociu> request -> moveFile($name, $file, $fileMode = 0666, $create = true, $dirMode = 0777) 15:14 < ociu> hm.. 15:14 < ociu> ($InputName, './directory/to/upload/') ? 15:14 < Wombert> ... 15:14 < Wombert> * @param string A file name. 15:14 < Wombert> * @param string An absolute filesystem path to where you would like 15:14 < Wombert> * the file moved. This includes the new filename, too, 15:14 < Wombert> * since uploaded files are stored with random names. 15:14 < Wombert> * @param int The octal mode to use for the new file. 15:14 < Wombert> * @param bool Indicates that we should make the directory before 15:14 < Wombert> * moving the file. 15:14 < Wombert> * @param int The octal mode to use when creating the directory. 15:15 < Wombert> it's all in the docs, my friend ;) 15:16 < ociu> i see, i see 15:16 < ociu> now i see :P 15:28 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:28 < Wombert> 20 users! 15:28 < Wombert> :> 15:33 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/timeline : 15:33 < AgaviBot> 1) http://trac.agavi.org/ticket/342 : Ticket #342 (task created): Set up mailing lists 15:36 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/timeline : 15:36 < AgaviBot> 1) http://trac.agavi.org/ticket/344 : Ticket #344 (task created): Add SVN precommit hooks 15:36 < AgaviBot> 2) http://trac.agavi.org/ticket/343 : Ticket #343 (task created): Make CIA work again 15:43 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/timeline : 15:43 < AgaviBot> 1) http://trac.agavi.org/ticket/345 : Ticket #345 (task created): Add SVN postcommit hooks 15:45 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/timeline : 15:45 < AgaviBot> 1) http://trac.agavi.org/ticket/347 : Ticket #347 (task created): Enable notification emails for Trac changes 15:45 < AgaviBot> 2) http://trac.agavi.org/ticket/346 : Ticket #346 (task created): Enable notification emails for SVN commits 15:47 < v-dogg> slow down wonbie! tons of work... :) 15:48 < Wombert> it's all the stuff we need to finish by friday 15:48 < Wombert> and a bit more, actually 15:48 < Wombert> I have to finish CEF 15:48 < Wombert> and add the ability to specify filters for translators 15:49 < Wombert> I believe dominik has now set up a new kernel with grsecurity 15:49 < Wombert> so you'll all get your shell accounts (and thus svn and trac access) back 15:50 < v-dogg> grsecurity? 15:50 < Wombert> a linux kernel mod that allows rbac etc 15:50 < Wombert> finer grained security 15:51 < v-dogg> oh, never heard of such 15:52 < ociu> hm... setAttribute('redirect', $this->getContext()->getRequest()->getUrl(), 'org.agavi.SampleApp.login'); 15:52 < Wombert> yeah? 15:53 < ociu> that is reditect page to login action ? 15:53 < Wombert> no 15:53 < Wombert> it sets the URL of the current page in the session 15:53 < Wombert> if the login form wasn't called directly 15:54 < Wombert> so when you click on a link that requires login 15:54 < Wombert> the url of that page is stored, and the login box is shown 15:54 < Wombert> after a login, you're redirected back to that page 15:54 < Wombert> if you click login directly, that doesn't happen 15:54 < ociu> mhm, thanks 15:55 < Wombert> 'org.agavi.SampleApp.login' is just the namespace where the 'redirect' attribute is set 15:56 < ociu> what is SampleApp ? 15:57 < Wombert> ... 15:57 < Wombert> the sample application :p 15:57 < Wombert> 'com.Microsoft.Office2007.cliparts' could be a namespace, too 15:59 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 15:59 < ociu> ekhm, i mean, it can be org.agavi.somethingitdon'tknowwhatbecouseitunnecessary ? 16:00 < ociu> itisunnecessary :) 16:00 < Wombert> yes 16:00 < Wombert> a namespace :p 16:47 -!- ociu [n=wojtek@saturn.czajen.pl] has left #agavi [] 17:01 -!- Wombert [n=Wombert@dslb-088-064-018-194.pools.arcor-ip.net] has quit [Nick collision from services.] 17:01 -!- Wombert [n=Wombert@dslb-088-064-024-104.pools.arcor-ip.net] has joined #agavi 17:16 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has quit ["Quit"] 17:17 -!- AgaviBot [n=dzuelke@dslb-088-064-018-194.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 17:28 -!- AgaviBot [n=dzuelke@dslb-088-064-024-104.pools.arcor-ip.net] has joined #agavi 17:43 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 17:50 < v-dogg> evening agavians 17:57 < sho[a]n_> evening v-dogg 17:57 -!- sho[a]n_ is now known as sho[a]n 18:03 < splatch`> hello 18:08 -!- toby_swe [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 131 (Connection reset by peer)] 18:10 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 18:14 -!- jake [n=bmatheny@c-24-19-45-189.hsd1.mn.comcast.net] has quit [Remote closed the connection] 18:14 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 18:18 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 18:18 < Whisller> hi 18:27 -!- KarlKoch [n=Karl@p5486094E.dip0.t-ipconnect.de] has quit ["Verlassend"] 18:35 -!- Whisller is now known as Whisller[a] 18:41 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/timeline : 18:41 < AgaviBot> 1) http://trac.agavi.org/changeset/1204 : Changeset [1204]: strikethrough for docbook css 18:42 < splatch`> documentation! 18:45 -!- eremit [n=eremit@server1.adm1n.de] has quit [Remote closed the connection] 18:46 < Whisller[a]> :> 18:46 < Whisller[a]> where? 18:46 < splatch`> in your ass ;P 18:46 * splatch` is gone 18:47 < Whisller[a]> i to see only css style 18:47 < Whisller[a]> splatch`, :P 18:47 < Whisller[a]> go away ;) 18:48 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has joined #agavi 18:52 < CIA-11> david * r1205 /trunk/docs/docbook/manual.xml: some manual fixes 18:52 < Wombert> ah now it works 18:52 < Wombert> wonderful 18:54 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/timeline : 18:54 < AgaviBot> 1) http://trac.agavi.org/ticket/343#comment:1 : Ticket #343 (task closed): Make CIA work again 18:54 < AgaviBot> 2) http://trac.agavi.org/changeset/1205 : Changeset [1205]: some manual fixes 19:02 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 19:09 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 19:15 -!- benny`work [n=benny@p54AC3AF4.dip0.t-ipconnect.de] has joined #agavi 19:17 -!- lukoko [n=kosher@88.118.51.101] has joined #agavi 19:19 < splatch`> Wombert: i need help 19:20 < Wombert> just ask your question 19:21 < splatch`> IE downloading my pages, header with content type ? 19:21 < Wombert> ? 19:22 < splatch`> on IE my page are saved to disc 19:22 < Whisller[a]> I have a problem :/ My action name is AddSong. But agavi return a AgaviViewException 19:22 < Whisller[a]> Module "Songs" does not contain the view "AddSongErrorView" or the file "C:\Instalacje\VertrigoServ\www\teksty_piosenek\app/modules/Songs/views/AddSongErrorView.class.php" is unreadable 19:23 < Whisller[a]> tfu :/ 19:23 < Whisller[a]> sorry 19:23 < Whisller[a]> But when my action name is test everything is ok 19:24 < Wombert> splatch`: no idea, maybe a wrong content type header or IE problem 19:24 < Wombert> splatch`: it's certainly not agavi related 19:25 < Wombert> Whisller[a]: yes, because that view doesn't exist, but agavi tries to run the error view for some reason 19:25 < Whisller[a]> Wombert, exists :) 19:25 < Whisller[a]> I have AddSongView.class.php 19:25 < Wombert> no, it doesn't, or agavi wouldn't throw the error 19:26 < Wombert> yes, and that is wrong 19:26 < Wombert> look at the error message 19:27 < Whisller[a]> AddSongAction-> return 'Input'; In views, AddSongInputView.class.php 19:27 < splatch`> fucking smarty 19:28 < Whisller[a]> I still don't to understand 19:28 < Whisller[a]> heh 19:30 < splatch`> Whisller[a]: check prefix in class name 19:30 < splatch`> if file exists 19:30 < splatch`> Songs_AddSongErrorView 19:30 < Whisller[a]> class Songs_AddSongInputView 19:30 < splatch`> you see the difference? ;) 19:31 < Whisller[a]> no :> 19:31 < splatch`> handleWriteError(AgaviParameterHolder $e) { return 'Input'; } 19:31 < splatch`> add this method to you action 19:31 < splatch`> write/read = posg/get 19:31 < splatch`> *post 19:32 < Whisller[a]> nothing 19:33 < splatch`> handleReadError, handleError 19:33 -!- sho[a]n_ [n=shoan@59.92.142.69] has joined #agavi 19:34 < Whisller[a]> now agavi return a view 19:34 < Whisller[a]> handleReadError 19:34 < splatch`> if validation fail default view name/type is Error 19:34 < splatch`> you can override this in your action 19:35 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 19:35 < Whisller[a]> but where is error? i don't change enything. 19:35 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has joined #agavi 19:35 < Whisller[a]> when i change action name agavi don't return error 19:35 -!- sho[a]n [n=shoan@59.92.193.95] has quit [Read error: 110 (Connection timed out)] 19:35 < Whisller[a]> then is ok 19:36 < Whisller[a]> but with action AddSong are errors 19:37 < Whisller[a]> only with this action name are problems 19:37 < v-dogg> Whisller[a]: let's go over this step by step, ok? 19:37 < Whisller[a]> ok 19:37 < v-dogg> you have an action called AddSong 19:37 < Whisller[a]> Yes 19:38 < v-dogg> have you defined validators for it? 19:38 < Wombert> that dude needs a hug 19:38 < Wombert> !hug v-dogg 19:38 * AgaviBot hugs v-dogg 19:38 < Wombert> !hug v-dogg 19:38 * AgaviBot hugs v-dogg 19:38 < Wombert> :> 19:38 < v-dogg> grazy Germy 19:38 < splatch`> ;) 19:38 < Whisller[a]> and she(Songs_AddSongAction) return "return 'Input';" 19:38 < splatch`> !hug v-dogg 19:38 * AgaviBot hugs v-dogg 19:38 < splatch`> !hug v-dogg 19:38 * AgaviBot hugs v-dogg 19:38 < splatch`> v-dogg: and poland ;) 19:39 < v-dogg> ok, calm down boys 19:39 < v-dogg> Whisller[a]: still there? 19:39 < Whisller[a]> ? 19:39 < v-dogg> did you read my last line? 19:39 < v-dogg> have you defined validators for the action? 19:40 < Whisller[a]> validators? routing configuration? 19:40 < v-dogg> no, input validators 19:40 < Whisller[a]> no 19:41 < v-dogg> ok 19:41 < v-dogg> what functions do you have in you action? 19:41 < v-dogg> execute? executeRead? executeWrite? 19:41 < v-dogg> getDefaultView? 19:41 < v-dogg> handleError? 19:41 < Whisller[a]> execute and getDefaultViewName 19:41 < v-dogg> and what do they return? 19:41 < Whisller[a]> "Input" 19:42 < v-dogg> both of them? 19:42 < Whisller[a]> yes 19:43 < v-dogg> and you get "Module "Songs" does not contain the view "AddSongErrorView"" when calling that action? 19:43 < Whisller[a]> yes 19:43 < v-dogg> hmm.. 19:44 < Whisller[a]> but file AddSongInputView.class.php exist 19:44 < v-dogg> sure 19:44 < Wombert> yes, but it doesn't call that one 19:45 < v-dogg> and you are really really sure there's no validation enabled? no xml files in you app/modules/Songs/validate/ ? 19:45 < jake> morning all 19:45 < Wombert> morning jake 19:46 < v-dogg> Whisller[a]: define a method "handleError(AgaviParameterHolder $parameters)" and return "Input" from there 19:46 < Whisller[a]> v-dogg, i'm stupid, ooo i'm soo stupid 19:46 < Whisller[a]> heh 19:46 < Wombert> } else { 19:46 < Wombert> // validation failed 19:46 < Wombert> $handleErrorMethod = 'handle' . $method . 'Error'; 19:46 < Whisller[a]> yes there are AddSong 19:46 < Wombert> v-dogg: not the right approach 19:47 < v-dogg> Wombert: just want to now if that's what's returning the "Error" 19:47 < Wombert> :D okay 19:47 < Wombert> yeah it is, nothing else does that ;) 19:47 < Whisller[a]> validator is set :/ 19:47 < Whisller[a]> fuck 19:47 < splatch`> Whisller[a]: yes, you are! :) 19:47 < v-dogg> there :) 19:47 < Whisller[a]> splatch`, i'm know it ;) 19:47 < splatch`> Whisller[a]: just like me! 19:47 < Whisller[a]> now i'm know it ;) 19:48 < Whisller[a]> This is weariness ;) 19:49 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has quit [] 19:49 < Whisller[a]> Ok it's time to english :] 19:49 * Whisller[a] studing 19:50 < Whisller[a]> Thanking guys :) 19:51 < v-dogg> no problem 19:51 < splatch`> Whisller[a]: really, no problem, just next beer ;) 19:51 < Whisller[a]> splatch`, come and get it :D 19:52 < splatch`> Whisller[a]: no, you are my debtor 19:52 < Whisller[a]> o! that is good idea 19:52 < Whisller[a]> beer 19:52 < Whisller[a]> splatch`, ok :) 19:53 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 19:53 < Whisller[a]> What beer do you like :P 19:53 < impl> Wow, the channel population is shooting up! 19:53 * impl reproduces 19:55 -!- Whisller[a] [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <-"] 19:55 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has joined #agavi 19:56 < splatch`> Wombert: hm.. ubr! 20:00 < Wombert> ? 20:00 < splatch`> Wombert: sorry 20:01 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 20:08 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 20:08 -!- KarlKoch is now known as Karl_Koch 20:10 < raidman> wow .... 20! 20:12 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 20:13 < Wombert> !hug kaos 20:13 * AgaviBot hugs kaos 20:13 < kaos> :< 20:13 < kaos> !hug TEH GOOD LUNIX 20:13 * AgaviBot hugs TEH 20:14 < Wombert> eww 20:15 < raidman> !hug THE_GOOD_GNU/Linux 20:15 * AgaviBot hugs THE_GOOD_GNU/Lin 20:15 < raidman> another one 20:15 < kaos> well 20:15 < kaos> if this ubuntu shit 20:15 < kaos> still refuses to boot with a 2.4 kernel 20:16 < kaos> i will drive to mr. shuttleworth and chop of his damn head 20:16 < kaos> %$"&/($/"$ 20:16 < kaos> (and install debian on the box :P) 20:20 < raidman> yes debian rox 20:21 < raidman> os[Linux 2.6.8-2-386 i686] distro[Debian 3.1] cpu[1 x AMD Sempron(tm) 2200+ @ 1.50GHz] mem[Physical : 250MB, 8.2% free] disk[Total : 46.49GB/60.31GB Free] video[nVidia Corporation NV6 [Vanta/Vanta LT]] sound[] 20:21 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 20:21 < MrJeep> hi, I have another question about 0.11. Will the translation function create a .pot file ? 20:22 < MrJeep> or will I have to find all the words to translate in the code 20:24 < v-dogg> no, it won't. it doesn't help you translate, it helps you to use your translated resources 20:29 < Wombert> but 20:29 < Wombert> you can use xgettext of course 20:30 < Wombert> see samples/dev/createpot.sh 20:30 < MrJeep> ahh ok :) 20:30 < Wombert> after that, translate to .po files and compile them with msgfmt -c -v -o out.mo in.po 20:31 < Wombert> or 20:31 < Wombert> write your own translator that uses a database or something 20:31 < MrJeep> ok I'm taking a look 20:31 < Wombert> we'll likely add XLIFF support one day 20:48 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has quit [] 20:50 < MrJeep> I'm looking at the translation config file now and... well.. what's the text domain stuff ? 21:08 -!- lukoko [n=kosher@88.118.51.101] has quit ["He believes in beauty, he's Venus as a boy."] 21:08 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 21:09 < kaos> thats for gettext actually 21:10 < kaos> to define the location of the file which contains the translations for that text domain 21:11 < kaos> thats actually a gettext mechanism and doesn't really have anything to do with agavi 21:14 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has joined #agavi 21:25 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 21:26 < kaos> GOD DAMN OPEN SOURCE PILE OF CRAP (&$")/("&$)"$'# 21:59 -!- Mr_Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 22:05 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 145 (Connection timed out)] 22:09 -!- ociu [n=wojtek@saturn.czajen.pl] has joined #agavi 22:10 < ociu> hi 22:13 < Whisller> hi ociu 22:13 -!- Whisller is now known as Whisller[a] 22:14 -!- ociu [n=wojtek@saturn.czajen.pl] has left #agavi [] 22:22 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has quit [] 22:29 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 22:29 < MrJeep> hi 22:30 < MrJeep> how can I get a configuration... I mean, I used to use AG_TEMPLATE_DIR to get my global template directory 22:30 < MrJeep> but it looks like those constants are gone 22:32 < v-dogg> MrJeep: AgaviConfig::get('core. ... '); 22:32 < v-dogg> http://trac.agavi.org/wiki/ConfigurationDirectives 22:32 < MrJeep> oh nice there is a little doc online 22:37 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 22:45 -!- Mr_Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 23:04 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["Ex-Chat"] 23:31 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi --- Day changed Tue Oct 31 2006 00:25 -!- Whisller[a] [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 00:43 < MrJeep> anyone can explain me whats the use of the rbac_definition file ? 00:44 < MrJeep> it looks like a giant credential file 00:45 < Wombert> it defines credentials for groups 00:45 < Wombert> you then assign groups to users 00:45 < Wombert> and he gets the credentials 00:46 < MrJeep> ok, and.. hum.. how's the doc going ? 00:46 < MrJeep> hehehe 00:47 < MrJeep> ;P 00:49 < Wombert> :p 00:49 < Wombert> feel free to contribute 00:50 < MrJeep> I sure will once I understand it 01:08 -!- kaos [n=kaos@ppp-62-245-160-59.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 01:14 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 01:32 -!- benny`work [n=benny@p54AC3AF4.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:22 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 02:22 < Whisller> hi :) 02:43 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 02:59 -!- JamieWolf [n=JamieWol@T306b.t.pppool.de] has quit ["Gone for a Drink"] 03:09 -!- jake [n=jake@gg.internal.mixxer.com] has quit ["Leaving"] 04:23 < Whisller> Are here anyone? I've got problem with validator :) It dosen't work :) 04:27 < Whisller> *it's not working 04:37 < Whisller> Ok. everything is ok :) 04:54 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:03 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 06:46 -!- sho[a]n [n=shoan@59.92.150.103] has joined #agavi 07:00 -!- Wombert [n=Wombert@dslb-088-064-024-104.pools.arcor-ip.net] has quit [] 07:00 -!- sho[a]n_ [n=shoan@59.92.142.69] has quit [Read error: 110 (Connection timed out)] 07:02 -!- sho[a]n_ [n=shoan@59.92.201.82] has joined #agavi 07:06 -!- sho[a]n [n=shoan@59.92.150.103] has quit [Read error: 60 (Operation timed out)] 07:18 -!- AgaviBot [n=dzuelke@dslb-088-064-024-104.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 08:02 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 08:05 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has joined #agavi 08:05 -!- raidman [i=armen@unaffiliated/raidman] has quit [Client Quit] 08:31 < v-dogg> huomenta 08:32 < ttj> Huomen. 08:43 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 08:43 -!- KarlKoch is now known as Karl_Koch 08:49 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 08:53 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 09:32 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 10:20 -!- KarlKoch [n=Karl@p54862F1C.dip0.t-ipconnect.de] has joined #agavi 10:20 < raidman> morning 11:05 -!- KarlKoch [n=Karl@p54862F1C.dip0.t-ipconnect.de] has quit ["Verlassend"] 11:14 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 11:34 -!- epaulin [n=epaulin@61.191.26.228] has left #agavi ["Leaving"] 11:56 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 12:20 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 12:22 -!- raidman [i=armen@unaffiliated/raidman] has quit [Client Quit] 12:44 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 12:56 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)] 12:57 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 12:58 < horros> this is _so_ starting to piss me off :( 13:00 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has joined #agavi 13:00 -!- ociu [n=wojtek@saturn.czajen.pl] has joined #agavi 13:04 < ociu> hi 13:21 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi 13:35 -!- ociu [n=wojtek@saturn.czajen.pl] has left #agavi [] 13:38 -!- digitarald [n=Miranda@62-43-49-189.user.ono.com] has joined #agavi 13:39 * horros kicks courier-imap-ssl in the nuts 13:39 < horros> GRUMBLE 13:56 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 13:59 < shoan> hohoh 14:10 < v-dogg> hey hoy 14:35 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has quit [] 14:44 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has joined #agavi 15:08 < digitarald> huhu 15:08 < raidman> haha :P 15:19 < eremit> heyho 15:28 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 15:28 < Whisller> hi all :) 15:31 -!- Whisller is now known as Whisller[a] 15:40 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 16:04 -!- Whisller[a] [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- The future of IRC"] 16:12 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:23 -!- eremit_ [n=eremit@p5490D47B.dip.t-dialin.net] has joined #agavi 16:29 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Leaving"] 16:30 -!- eremit [n=eremit@p5490FE57.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 16:31 -!- eremit_ is now known as eremit 16:50 -!- KarlKoch [n=Karl@p54862F1C.dip0.t-ipconnect.de] has joined #agavi 16:50 -!- v-dogg [n=v-dogg@ecom-174.auriamail.net] has quit ["Quit"] 17:02 -!- MrJeep [n=mrjeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:15 -!- KarlKoch [n=Karl@p54862F1C.dip0.t-ipconnect.de] has quit ["Verlassend"] 17:21 < MrJeep> hi 17:22 < MrJeep> I'm currently porting my app on the next version 17:22 < MrJeep> so, I have a user class, extended from the agavi user class 17:22 < MrJeep> and I'm wondering, in this class, how I can set a cookie 17:23 < MrJeep> the cookies methods are in the response 17:23 < MrJeep> and the response is not in the context anymore... 17:23 < MrJeep> well, never been there anyway I guess 17:24 < eremit> hi 17:24 < MrJeep> :) 17:24 < eremit> simply use the set attributes in the user 17:25 < eremit> they are stored in the session 17:25 < MrJeep> ok, actually, I want to clear a cookie 17:25 < MrJeep> I'm not storing user data into the cookie 17:25 < MrJeep> just the autologin infos 17:25 < MrJeep> and, in the logout method, I looking to clear those cookies.. because I don't want the user to be automatically loged in again 17:27 < MrJeep> so, what's the correct way to proceed ? 17:28 < eremit> uh ... 17:28 < eremit> good question 17:30 < MrJeep> of course, I could use the php cookie function.. but the framework was not designed that way 17:31 < eremit> no definately not ... 17:31 < eremit> but cant you access the response object in the action ? ... 17:32 < eremit> (i'm not sure about it since it's some time ago i coded the cookie part of my app) 17:33 < MrJeep> nop, not in the action, only the view 17:34 < MrJeep> makes sense.. however, I can't totally encapsulate everything I need in my UserObject 17:35 < MrJeep> maybe it's better that way 17:36 < MrJeep> I have another similar problem 17:36 < MrJeep> i seems it's not safe to user the getParameter from the request 17:37 < MrJeep> only from the agavi parameter object 17:37 < MrJeep> that means, if I'm right, that only the action can user input parameters 17:37 < MrJeep> no custom classes 17:38 < MrJeep> use* 17:40 < eremit> what kind of custom classes du you want to use ? 17:41 < MrJeep> well, I used input parameter in the getCredential method 17:41 < MrJeep> www.pokeramateurleagues.com 17:41 < MrJeep> I have to know if given user can manage a given league 17:42 < eremit> this should be stored in the user as credential shouldn't it ? 17:43 < MrJeep> yes this is, but I have to compare a league's id with the user's manageable leagues ids 17:43 < MrJeep> and I get this id from the request 17:44 < MrJeep> I surely have to think about a better system, but still, this is a problem 17:44 -!- Fastly [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi 17:44 < MrJeep> accessing get or post variables 17:46 < MrJeep> should this league validation be put into the validate method ? 17:46 < MrJeep> and beat the crap out of the user if he tries to administer a league he should'nt 17:47 < eremit> i would suggest using a validator ... 17:47 < eremit> catch the error as early as possible 17:47 < MrJeep> ok, I agree with you 17:48 < MrJeep> oh by the way, did something change with the validate* method 17:48 < MrJeep> I mean.. in the "old" days, to set an error i used the request method to set it with setError 17:48 < MrJeep> something changed with this method ? 17:49 < eremit> yes it's still that way ... $request->setError(name, message) 17:49 < eremit> at least i hope ... my app relies on this behauviour ... Oo 17:50 < MrJeep> hehe ;O 17:52 < MrJeep> do you think agavi 0.11 will be online on november 5th ? 17:52 < MrJeep> i wish but ... 17:52 < eremit> i dont know ... 17:53 < eremit> i have missed about 3 days here ... 18:04 < MrJeep> ok 18:05 < eremit> and currently i'm fighting with a broken pear installation ... that's why i'm a little bind absent minded ... 18:06 < eremit> s/bind/bit 18:08 -!- KarlKoch [i=user@91.64.16.173] has joined #agavi 18:08 -!- KarlKoch is now known as Karl_Koch 18:23 -!- lukoko [n=kosher@88.118.50.56] has joined #agavi 18:43 -!- JamieWolf [n=JamieWol@T055d.t.pppool.de] has joined #agavi 18:43 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 18:50 < Whisller> I've got a question. When I have action AddSong(adding songs) with two others form, for users and administrators. Is good idea create one action with two others Views or two others actions(for users and administrators) :> 18:58 < lukoko> i think its better to keep actions separate 18:59 < lukoko> even if you save some lines of code, you would lose some explicisity 19:01 < Whisller> thank you :) 19:01 < lukoko> on the other hand agavi alloves to have several views to one action, but i would keep them separate if i were you 19:01 < MrJeep> I have yet another question.. what's execution order of execute(), executeRead, executeWrite and validate*() 19:03 < MrJeep> i mean, if I have the execute function, will executeRead and executeWrite will be executed ? 19:03 < eremit> only the first match 19:04 < eremit> e.g. executeWrite, executeRead, execute is the order 19:04 < eremit> this is not really correct, because agavi determines it another way, but the result is the same 19:04 < MrJeep> ok 19:05 < eremit> it's more logic like use execute if POST and no method executeWrite is found, use execute if GET and no method executeRead is found ... 19:06 < MrJeep> ok i see 19:06 < MrJeep> thankx 19:07 < MrJeep> anyone know if it's possible to get the module's title via AgaviConfig ? 19:43 < MrJeep> jeez, I can't user hte or ç tag in any xml files :S 19:50 < eremit> yes ... that was a point i was complaining about too ... 19:50 < eremit> and womberts answer was ... use utf-8 and no tags ... 19:51 -!- shoan [n=shoan@59.92.201.82] has joined #agavi 19:52 -!- Karl_Koch [i=user@91.64.16.173] has quit ["Client Exiting"] 19:54 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 19:55 < MrJeep> :S 20:20 < MrJeep> eremit, have you ever used an action chain to get the result of a module and put it into a template variable ? 20:31 < MrJeep> hum, problem here 20:31 < MrJeep> i can't use $controller->forward() anymore, I have an exception : "or security reasons, Request Parameters cannot be accessed directly. ..." 20:35 < raidman> MrJeep, action chain in agavi?! 20:36 < raidman> or mojavi? 20:36 < MrJeep> raidman, I imported the action into agavi from mojavi 20:37 < raidman> then you should convert your action chains to decorator an decoration... 20:37 < raidman> and* 20:39 < MrJeep> I don't think they are doing the same thing 20:39 < MrJeep> because, if I understand, with decorators, you only have the "content" variable 20:39 < raidman> no, you can have slots too 20:40 < MrJeep> lets say I have a new page which display a given new and the last news from the author 20:40 < raidman> $content is content of current module::action 20:40 < MrJeep> I make a simple module which only display the news from the author part 20:40 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 20:41 < raidman> v-dogg, wb :) 20:41 < v-dogg> evening 20:41 < raidman> evening 20:41 < v-dogg> what's up 20:41 < MrJeep> and, on my news module'S template, I display the new and the news from the author 20:41 < MrJeep> another example 20:42 < MrJeep> www.pokeramateurleagues.com 20:42 < MrJeep> the Default module is decorated 20:42 < MrJeep> decorated with my "global layout" decorator 20:42 < MrJeep> but on this page, I also want to display my news module, ads module ... 20:42 < raidman> v-dogg, nothing, but I have a news, I'll start a new project with agavi very soon :) 20:43 < raidman> MrJeep, I see... 20:43 < MrJeep> I don't know if you understand what I mean... 20:43 < raidman> MrJeep, you know you should do it with decorator 20:43 < MrJeep> I use decorators for my global layouts 20:44 < MrJeep> banner and stuff 20:44 < MrJeep> my problem is, I want to display slot inside the $content variable 20:44 < raidman> oh I got now 20:44 < MrJeep> is that possible 20:45 < raidman> somthin like multi layer decorator 20:45 < MrJeep> exacly 20:45 < raidman> v-dogg, is it possible? 20:45 < v-dogg> unfortunately no 20:45 < raidman> MrJeep, I thing you should write another view that extends agavi view 20:45 < MrJeep> allready done 20:46 < v-dogg> be right back -> 20:46 < MrJeep> I have my defaultView which setup the decorator and everything 20:47 < raidman> I have a ugly code for this situation for mojavi in PHP4 ..... wait... 20:47 < MrJeep> ok 20:47 < MrJeep> well, I plan to use the action chain again. or something similar. Maybe implement it in the view 20:47 < MrJeep> but the place which fails is on the forward method 20:49 -!- MrJeepLaptop [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 20:49 < raidman> then I'm not sure my code could be usefull, but just take a look at that... 20:49 < raidman> http://osc-dev.opensourceclub.ir/browser/trunk/webapp/engine/view/OSC_View.class.php 20:50 < MrJeepLaptop> I sure will 20:50 < raidman> se I have a decorator function and another one *decorateBlocks* 20:51 < raidman> decorateBlocks will decorate ads, etc 20:51 < MrJeepLaptop> i see 20:51 < MrJeepLaptop> however, I think this code would have the same problem I have 20:51 < raidman> exactly 20:52 < MrJeepLaptop> try the current agavi version and try this : $this->getContext()->getController()->redirect(...) 20:52 < raidman> this code is part of a CMS 20:52 < MrJeepLaptop> it will display an exception 20:52 < MrJeepLaptop> something about the request parameters not begin safe 20:52 < MrJeepLaptop> err 20:52 < MrJeepLaptop> not redirect 20:52 < MrJeepLaptop> but forward 20:53 < MrJeepLaptop> the web request parameters are locked so it display an exeption 20:53 < raidman> yes 20:54 < raidman> you right 20:54 < MrJeepLaptop> hehe, well, how can I use the forward method now is the big "?" 20:58 < MrJeepLaptop> :S 20:58 < raidman> did you search log files? 20:58 < MrJeepLaptop> good idea... no i did not 21:05 < MrJeepLaptop> didnt find anything good 21:07 < raidman> oh, sorry... I'll start a new project with agavi. I don't have any experience with agavi, but I know your problem is mine 21:07 < raidman> I'll program a wiki with agavi 21:08 < splatch`> hello 21:08 < raidman> splatch`, hi :) 21:08 < raidman> splatch`, what's up? 21:09 < splatch`> raidman: just another autumn evening when i coding some stuff ;) 21:09 < raidman> :) 21:10 < splatch`> raidman: and you? :] 21:10 * splatch` tea* 21:10 < raidman> I'm know just checking agavi src 21:11 < raidman> now 21:11 < splatch`> hehe, they're works, works fine ;) 21:12 < v-dogg> MrJeepLaptop: you forward by returning array('Module', 'Action' [, parameters]) from View::execute 21:13 < raidman> splatch`, I know :) 21:14 < MrJeepLaptop> :s 21:16 < MrJeepLaptop> .. i guess I need to rethink a way to make a multi-layer decorator... 21:16 < MrJeepLaptop> my old action chain won't work anymore, anyhow 21:17 < v-dogg> or rethink the whole thing and get rid of multi-layer decorators 21:19 < MrJeepLaptop> I don't think using a single "decorator" is a good way 21:19 < MrJeepLaptop> I currently have a lot of "block" modules 21:19 < MrJeepLaptop> and they are really usefull 21:20 < MrJeepLaptop> you would put all those block modules into the same thing ? 21:21 < MrJeepLaptop> and copy pasting everything when you need it ? i.e. a news module which is displayed into a lot of pages 21:21 < MrJeepLaptop> copy paste the module into each pages ? 21:21 < MrJeepLaptop> doesn't seem right 21:23 < v-dogg> I would have 1-n (where 1 < n < ~5) master templates with conditional slots 21:24 < raidman> then you have a master action too? 21:24 < v-dogg> <?php if(isset($slot['news']): ?> newsnewsnewsnews: <?= $slot['news']; ?> <?php endif; ?> 21:24 < MrJeepLaptop> however, how would you put a slot inside the $template['content'] variable 21:24 < v-dogg> you wouldn't 21:25 < MrJeepLaptop> sounds pretty messy 21:26 < v-dogg> I don't know your situation that well, but I'd say less messy than multi-level decorators 21:26 < MrJeepLaptop> with the last version of agavi 21:26 < MrJeepLaptop> i had an ActionChain, imported from Mojavi 21:26 < v-dogg> M2? 21:27 < MrJeepLaptop> yeah 21:27 < MrJeepLaptop> $chain->register('module', 'action', params...); 21:27 < MrJeepLaptop> $chain->execute($context); 21:27 < MrJeepLaptop> then 21:27 < MrJeepLaptop> $this->setAttribute('mymodule', $chain->fetch('module')); 21:27 < MrJeepLaptop> pretty clean 21:28 < v-dogg> I can't see why you couldn't do this with one master template with conditional slots 21:29 < v-dogg> you would just set the slots you want to be shown in view 21:30 < v-dogg> plus you'd be able to add a presentation layer for, say, xml-rpc that wouldn't get decorated 21:30 < MrJeepLaptop> i just don't think it would work 21:30 < MrJeepLaptop> I use decorators for my site layout 21:30 < MrJeepLaptop> the banner, the login box, the adds, stuff that are displayed on every page 21:30 < MrJeepLaptop> take a look, www.pokeramateurleagues.com 21:31 < MrJeepLaptop> the login box, the adds, the banner, navigation.. this is my decorator with the slots 21:31 < MrJeepLaptop> the news, the games and the results are Block modules and they are displayed in the Default module, which is decorated allready 21:32 < MrJeepLaptop> I don't know how I could use more than 1 decorator on a view 21:32 < v-dogg> the more I think about this (and now that I' 21:32 < v-dogg> (err) 21:33 < v-dogg> ..now that I've seen you site) the more convinced I am that this would be an easy task using normal agavi features 21:34 < MrJeepLaptop> hehe, I wish it could be 21:34 < MrJeepLaptop> maybe I just don't understand the Decorator well 21:34 < MrJeepLaptop> I have 4 View classes extended from the main AgaviView 21:34 < MrJeepLaptop> DefaultView uses this decorator 21:34 < MrJeepLaptop> MessageView which use another decorator 21:35 < MrJeepLaptop> ConfirmView 21:35 < MrJeepLaptop> BlankView used for Block module 21:36 < MrJeepLaptop> then my action is extended from one of those view 21:36 < MrJeepLaptop> the proper decorator is used and the content is placed in the middle 21:37 < v-dogg> take http://www.pokeramateurleagues.com/index.php?module=News_Index for example 21:37 < MrJeepLaptop> Whenever I see there is a module, or some stuff in a module I could use more than once, I make it a BlockModule 21:37 < MrJeepLaptop> yhea, those are 2 block module 21:37 < MrJeepLaptop> the Lastest news and the news list 21:38 < v-dogg> let me tell how I'd do that page with agavi 21:38 < MrJeepLaptop> ok 21:39 < v-dogg> action Index in module News is called, it load four news items and some archived news, returns 'Success' 21:41 < v-dogg> IndexSuccessView loads master template with conditional slots for login form, poll, menus and adds and sets those using $this->setSlot('mainmenu', 'Default', 'MainMenu');, $this->setSlot('loginform', 'Default', 'LoginForm') and so on; 21:42 < v-dogg> the master template can also have slots for some thing else but as you don't set them, they aren't showed 21:42 -!- eremit [n=eremit@p5490D47B.dip.t-dialin.net] has quit [] 21:42 < v-dogg> then the view set the actual template that shows the news 21:42 < v-dogg> and that's it 21:42 < v-dogg> not even extending AgaviView is needed 21:44 < MrJeepLaptop> don't you think there is a lot of code which will be copy / pasted on a large scale project programmed this way ? 21:44 < MrJeepLaptop> on the main page, I need to load all those slots again 21:44 < MrJeepLaptop> plus loading the lastest headlines 21:44 < v-dogg> the main page can use the same master template! 21:44 < v-dogg> all pages can 21:45 < v-dogg> and there's more! (wait a sec, I'm a slow writer when I'm writing English :) 21:45 < MrJeepLaptop> it's ok 21:46 < v-dogg> the beuty of all this really shows when you add another presentation to your app. lets take xml-rpc for an example. your xml-rpc client (another website, desktop clien, whatever) can request the news index (four most recent news) 21:47 < v-dogg> it can call the very same action (News.Index) 21:47 < v-dogg> you just tell agavi not to decorate for xmp-rpc output, and it won't 21:47 < v-dogg> write a simple xml template for listing the news and you are done 21:48 -!- Wombert [n=Wombert@dslb-088-064-020-056.pools.arcor-ip.net] has joined #agavi 21:48 < v-dogg> Wombert to the rescue! 21:48 < raidman> illusina has a method for this problem (I mean copy/paste) 21:48 < raidman> http://en.wikibooks.org/wiki/The_Mojavi_3_Book/Tutorials/Decorator_Profiling 21:49 < v-dogg> Wombert: read the last 25 mins of the back log and help me out here :) 21:49 < raidman> MrJeep, It is a method for reusing decorator stufff.... 21:49 < MrJeepLaptop> hehe 21:50 < raidman> I'm not sure this is right or not 21:50 < raidman> Wombert, wb :) 21:50 < MrJeepLaptop> well, I could use my old ActionChain, however, when I try to use the forward method, I have an exception... 21:50 < MrJeepLaptop> this is, i think, my problem 21:51 < raidman> v-dogg, what you think about that Decorator_Profiling? 21:52 < v-dogg> hm... not sure 21:53 < Wombert> re 21:53 < Wombert> will do, but I don't feel very well 21:53 < Wombert> give me some more time 21:53 < MrJeepLaptop> i'll be right back 21:54 < v-dogg> MrJeepLaptop: there are issues with current decorator/slot scheme but I think you still can easily accomplish what you need for now 21:57 -!- AgaviBot [n=dzuelke@dslb-088-064-020-056.pools.arcor-ip.net] has joined #agavi 21:59 < raidman> !hugs armen 21:59 * AgaviBot hugs raidman 22:00 < raidman> !hugs Armen Bghumian 22:00 * AgaviBot hugs raidman 22:00 < Wombert> !hug Armen 22:00 * AgaviBot hugs Armen 22:00 < raidman> o 22:00 < raidman> !hug Armen Bghumian 22:00 * AgaviBot hugs Armen 22:00 < raidman> !hug AgaviBot 22:00 * AgaviBot hugs AgaviBot 22:00 < raidman> :) 22:04 < v-dogg> come on now lads, lets not overdo it (again :) 22:07 < raidman> :P 22:09 * splatch` order new notebook 22:10 * Whisller is listening to 22. Chlopcy z Placu Broni - Kocham Wolnosc 22:10 < Whisller> great song 22:11 < Whisller> :] 22:11 < splatch`> Whisller: really, i never heard it ;) 22:11 < Whisller> pff 22:11 < Whisller> you don't know what is good 22:12 < splatch`> Whisller: that's only music, you can took that 22:12 < raidman> Shhhhhhhh! I'm listening to [Tatu - Gomenasai] length[3:42] 22:12 < splatch`> umc umc 22:13 < splatch`> raidman: tatu roxx :) 22:13 < Whisller> tatu... O.o 22:13 < raidman> splatch`, yeah :) 22:15 < Whisller> I also like tatu...two girls and I between them :D 22:16 -!- MrJeepLaptop [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 145 (Connection timed out)] 22:17 < raidman> Whisller, lol 22:17 < raidman> Whisller, err, me not you >:( 22:17 < splatch`> Whisller: yes, i see that too, two girls and you between.. with teddy-bear ;) 22:17 < raidman> lol 22:17 < Whisller> pfff 22:17 < Whisller> :) 22:18 < splatch`> Whisller: clean up you monitor ;) 22:18 < Whisller> hehe 22:19 < Wombert> behave guys :p 22:19 * Whisller to dreaming.....where are my tatu.... 22:20 < Wombert> MrJeep: good catch there with the response! 22:20 < Wombert> I'll fix that 22:20 < splatch`> Whisller: haha, that only dreams ;) 22:20 < Whisller> sorry if I "breaking" english .... 22:20 < Whisller> splatch`, hehe 22:21 < splatch`> yes, we're sorry! 22:21 < Whisller> but you can speaking in polish :D this will by nice ;) 22:21 < splatch`> no tak, zapomialem o tym ;) 22:22 < Wombert> MrJeep: you can simply type utf-8 in your config files 22:22 < Whisller> :) 22:22 < splatch`> [oh, yes, I forgot about this] 22:22 < splatch`> ok, i must back to work 22:22 < Wombert> if you don't want to use utf-8, set the encoding (e.g. iso-8859-1) in the xml prolog 22:22 < Wombert> agavi will then convert the encodings 22:24 < Wombert> raidman: kaos (Dominik) wrote a very simple wiki with agavi in about 30 minutes the other day 22:25 < Wombert> hmm 22:25 < raidman> really 22:25 < Wombert> I believe we _could_ make the slots available in the content template 22:26 < Wombert> re, v-dogg 22:27 < v-dogg> hey mate 22:27 < v-dogg> feeling any better? 22:27 < Wombert> mmh 22:27 < Wombert> a bit, yes 22:27 < Wombert> I woke up with a huuuuge headache this morning 22:27 < Wombert> and didn't get out of bed and take a painkiller 22:28 < Wombert> I woke up at 5pm or so then 22:28 < Wombert> with the worst headache I ever had in my life 22:28 < Wombert> and some sort of migraine I think because my stomach needed to be emptied several times 22:28 < raidman> :( 22:28 < Wombert> dude was I fucked up... 22:28 < Wombert> but I'm a lot better now, yeah 22:28 < Wombert> just gotta start it slow 22:29 < Wombert> btw, xmlrpc doesn't need templates 22:29 < Wombert> you simply set data in the response 22:30 -!- lukoko [n=kosher@88.118.50.56] has quit ["He believes in beauty, he's Venus as a boy."] 22:30 < raidman> btw, my wiki will be completly WYSIWYG, it will convert HTML directlly to Wiki markup, it will be powerd by lots of feature in agavi 22:32 < raidman> It will have anti spam, a User management with agavi role based access control stuff.... 22:32 < Wombert> btw 22:32 < Wombert> the agavi.org server has a faulty harddrive 22:32 < Wombert> we don't wanna risk restarting it or anything right now, it wouldn't boot again 22:32 < Wombert> tons of bad blocks 22:32 < Wombert> I'll try to get a replacement tomorrow 22:32 < Wombert> but yes, we have full backups 22:35 < v-dogg> the dog and and then to bed 22:36 < v-dogg> Wombert: I have a shit load of work to do so I'll be working sat-sun 22:36 < v-dogg> can't help you too much with the release but will be on-line and available for small tasks 22:36 < Wombert> okay :) 22:37 < v-dogg> I have to get two projects done by monday morning... 22:38 < v-dogg> already warned missus and she wasn't happy at all 22:38 < splatch`> Wombert: you need an account? ;) 22:38 < Wombert> hey man, no problem! :) 22:38 < Wombert> splatch`: ? 22:38 < splatch`> "tons of bad blocks", i can give account you, on server in france ;) 22:39 < MrJeep> back 22:39 < MrJeep> ok 22:39 < Wombert> splatch`: thanks for the offer, but that wouldn't help much ;) 22:39 < MrJeep> I've been thinking, would it be nice to add a "setInnerSlot" method to the view ? 22:39 < splatch`> Wombert: you remember the end of M4? ;) 22:39 < MrJeep> to assigne a slot in the module template 22:40 < Wombert> yes, splatch`, but we have backups ;) 22:40 < splatch`> Wombert: ach, right ;) 22:40 -!- Wombert [n=Wombert@dslb-088-064-020-056.pools.arcor-ip.net] has left #agavi [] 22:40 -!- Wombert [n=Wombert@dslb-088-064-020-056.pools.arcor-ip.net] has joined #agavi 22:40 -!- Wombert [n=Wombert@dslb-088-064-020-056.pools.arcor-ip.net] has left #agavi [] 22:40 -!- Wombert [n=Wombert@dslb-088-064-020-056.pools.arcor-ip.net] has joined #agavi 22:41 * splatch` *work 22:46 < MrJeep> "<Wombert> I believe we _could_ make the slots available in the content template" -> that would be great 22:46 < MrJeep> using block module saves a lot of development time 22:48 < MrJeep> and makes everything a lot more clean 22:54 < MrJeep> splatch`: So M4 is officially dead ? 22:54 < Wombert> yep it is 22:54 < MrJeep> :( 22:55 < Wombert> why? 22:55 -!- Kador [n=koen_van@d54C1EC26.access.telenet.be] has joined #agavi 22:55 < Wombert> there's agavi :) 22:57 < MrJeep> hehe 22:58 < MrJeep> well, I hope you'll add the slots variables into the content :D 23:29 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 23:42 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit ["Ex-Chat"] 23:47 -!- JamieWolf [n=JamieWol@T055d.t.pppool.de] has quit [Read error: 113 (No route to host)] --- Log closed Wed Nov 01 00:00:49 2006