--- Log opened Tue Aug 01 00:00:20 2006 01:03 < Wombert> v-dogg! 01:04 < Wombert> arrrgghhhh 01:04 < Wombert> you broke trunk :| 01:04 < Wombert> at least the tests 01:10 < CIA-6> david * r855 /trunk/ (3 files in 3 dirs): changed sample app, code templates and testing to supply names as arguments when initializing environments and contexts 01:11 < CIA-6> david * r856 /trunk/src/config/AgaviLoggingConfigHandler.class.php: use context directly instead of getter method in LoggingConfigHandler so test doesn't break 01:25 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 01:25 < CIA-6> david * r857 /trunk/tests2/ (4 files in 2 dirs): tests are working again 01:32 < CIA-6> david * r858 /trunk/tests2/ (19 files in 14 dirs): changed tests to use the 'test' context everywhere 01:43 < CIA-6> david * r859 /trunk/tests2/config/LoggingConfigHandlerTest.php: fixed LoggingConfigHandler tests 01:57 < CIA-6> david * r860 /trunk/ (4 files in 3 dirs): made passing of env/context names to Agavi::bootstrap()/AgaviContext::getInstance() mandatory. as an alternative, set 'core.environment'/'core.default_context' directives 02:17 * Macca ++ 03:13 < Macca> [Tue Aug 01 10:13:27 2006] [error] [client 203.206.205.212] PHP Fatal error: You must supply an environment name to AgaviContext::getInstance() or set the name of the default environment to be used in the configuration directive "core.default_context". in /var/www/agavi/src/core/AgaviContext.class.php on line 206, referer: https://development.maccasoft.com.au/lld/direct/www/client 03:13 < Macca> how do i fix? :D 03:15 < Wombert> getInstance('web') 03:37 -!- Wombert [n=Wombert@dslb-088-064-006-044.pools.arcor-ip.net] has quit [] 03:45 < Macca> right 06:21 -!- shoan_ [n=shoan@59.92.145.138] has joined #agavi 06:35 -!- shoan [n=shoan@59.92.158.11] has quit [Read error: 110 (Connection timed out)] 07:17 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 07:41 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 08:08 < v-dogg> woot 08:11 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:31 < Macca> i'm not meannt to forward in the action, am i? 08:31 < v-dogg> no 08:31 < v-dogg> you're not meant to forward anywhere anymore :) 08:32 < v-dogg> return array('module', 'action') from the view and you'll be forwarded 08:32 < v-dogg> and you probably should unset the template too 08:33 < v-dogg> don't know if that's necesarry 09:24 < CIA-6> v-dogg * r861 /trunk/ (3 files in 3 dirs): Added AgaviContext to AgaviLayout, fixed AgaviLoggingConfigHandler to initialize layouts correctly and also remembered to fix tests this time. 09:31 < CIA-6> v-dogg * r862 /trunk/src/logging/ (AgaviAppender.class.php AgaviLayout.class.php): To make commit statistics look better I make at least one typo per commit.... 09:44 < v-dogg> anyone has anything against it if I break AgaviLogger b/c ? 09:49 -!- shoan [n=shoan@59.92.145.138] has joined #agavi 09:55 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 10:02 -!- eremit [n=eremit@p5490D3B4.dip.t-dialin.net] has joined #agavi 10:02 < eremit> heya ... 10:02 < v-dogg> hey 10:02 -!- shoan_ [n=shoan@59.92.145.138] has quit [Read error: 110 (Connection timed out)] 10:02 < eremit> sorry for being absent such a long time ^^ ... 10:03 < eremit> i was in a rehabilitation hospital because of a heavy rsi attack :/ 10:05 -!- Wombert [n=Wombert@dslb-088-064-006-044.pools.arcor-ip.net] has joined #agavi 10:05 < eremit> v-dogg: anything really important happened the past 3 month ? 10:05 < eremit> heya Wombert 10:06 < v-dogg> eremit: not much 10:06 < v-dogg> just about everything has changed :) 10:06 < eremit> lol ... how stable is trunk atm ? 10:06 < v-dogg> pretty good 10:06 < eremit> kk... i'll check it out and test ... 10:06 < Wombert> validation is still in a branch 10:06 < v-dogg> check out the sample app 10:07 < Wombert> almost finished though 10:07 < Wombert> the rest is done 10:07 < Wombert> only CachingExecutionFilter is broken right now 10:07 -!- eremit [n=eremit@p5490D3B4.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 10:07 < v-dogg> and I'm about to break Logger :) 10:07 < Wombert> btw I just made it yesterday 10:07 < Wombert> 231 commits ;) 10:07 < v-dogg> yeah, saw that :) 10:07 < Wombert> yeah I fixed some tests and such... 10:08 < v-dogg> sorry about that :) 10:08 < Wombert> I say we rewrite (and I mean rewrite) tests between 0.11 and 1.0 10:08 < Wombert> no problem 10:08 -!- eremit [n=eremit@p5490D3B4.dip.t-dialin.net] has joined #agavi 10:08 < Wombert> the tests are _so_ messy 10:08 < eremit> dmn ... this computer is quite unstable :/ 10:10 < v-dogg> Wombert: is it ok if I: (a) rename Logger::priority to Logger::level (and everything that goes with that) 10:10 < v-dogg> (b) change priorities to bitwise levels 10:12 * Macca wants to do some dev :( 10:12 < Wombert> ? 10:12 < Macca> on agavi 10:12 * Macca feels left out 10:12 < Wombert> aaah 10:12 < Wombert> I read "Macca wants some dev" 10:12 < Wombert> +s 10:12 < Macca> please mr wombat sir let me do some devel! 10:12 < Macca> haha 10:12 * Wombert scratches head 10:12 < Wombert> well 10:12 < Wombert> what else is there 10:13 < Macca> the broken form filter? 10:13 < Macca> :) 10:13 < Wombert> v-dogg: hmmmh 10:13 < Wombert> v-dogg: yeah right change that 10:13 < Wombert> Macca: it's not broken!? 10:13 * Macca shrugs 10:13 < Macca> i just don't know how to use it 10:13 < Wombert> look at the sample 10:13 < Wombert> app 10:13 < Macca> that app sucks :( 10:13 < Wombert> put it in the global filters list, and you're done 10:14 < Wombert> also, tell it to run on "write" method 10:14 < Wombert> just copy that from sample app 10:15 < Macca> so what dev can i do? :D 10:15 -!- AgaviBot [n=dzuelke@dslb-088-064-006-044.pools.arcor-ip.net] has joined #agavi 10:16 < Wombert> !seeen eremit 10:16 < Wombert> !seen eremit 10:16 < AgaviBot> Wombert: I'm sorry, but eremit never spoke a single word here, he is online right now though 10:17 < shoan> !seen Wombert 10:17 < AgaviBot> shoan: Wombert is online right now, last message on Tue Aug 1 09:16:16 2006 saying "!seen eremit" (joined Fri Jul 7 21:04:19 2006 10:17 < shoan> ;) 10:19 < Wombert> !info 10:19 < 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:20 < Macca> how is it powered by agavi? 10:21 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 10:21 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/862: Changeset [862]: To make commit statistics look better I make at least one typo per ... 10:21 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/861: Changeset [861]: Added AgaviContext to AgaviLayout, fixed AgaviLoggingConfigHandler to ... 10:21 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/ticket/297: Ticket #297 (defect) created by v-dogg 10:21 < AgaviBot> 4) http://trac.agavi.org/trac.cgi/changeset/860: Changeset [860]: made passing of env/context names to ... 10:21 < AgaviBot> 5) http://trac.agavi.org/trac.cgi/changeset/859: Changeset [859]: fixed LoggingConfigHandler tests 10:21 < Macca> tf? 10:21 < Wombert> Macca: it's written in agavi 10:21 < Macca> you mean PHP? 10:21 < Wombert> PHP, and Agavi 10:22 < Wombert> the routing parses the messages 10:22 < Macca> well it'd be written in PHP for agavi? :) 10:22 < Wombert> there are routes setup like "!seen " 10:22 < Wombert> then it dispatches SeenAction 10:22 < Wombert> !seen Macca 10:22 < AgaviBot> Wombert: Macca is online right now, last message on Tue Aug 1 09:22:06 2006 saying "well it'd be written in PHP for agavi? :)" (joined Sun Jul 16 23:18:56 2006 10:22 < Wombert> the nice thing is that I can use SeenAction from the web interface, too 10:22 < Macca> oh noes 10:22 < Macca> there's no closing bracket! 10:23 < Macca> where's the sauce for that? 10:23 < Wombert> on my hard drive ;) 10:23 < Macca> i see. 10:23 < Wombert> it'll be a sample app once I finished it 10:24 < Macca> ooooooOOOOOOOoooooooo 10:24 < Macca> oo 10:24 < Macca> i like 2.0 10:24 < Macca> Get rid of decorators and slots and invent something biblically good to replace them 10:24 < Macca> :D 10:25 < Macca> Make it PHP6 only .. that seems a little odd tho 10:25 < Macca> :S 10:25 < Wombert> !seen Macca 10:25 < AgaviBot> Wombert: Macca is online right now, last message on Tue Aug 1 09:25:03 2006 saying ":S" (joined Sun Jul 16 23:18:56 2006) 10:25 < Macca> better. 10:25 < Macca> :) 10:27 < Wombert> well 10:27 < Wombert> we'll see what's up with that PHP6 thing then 10:27 < Macca> :) 10:37 < Macca> do you use many pear things? 10:45 < v-dogg> I try to avoid them 10:58 < ttj> Any specific reason? 10:59 < ttj> Technical or political? 11:00 < v-dogg> php4 mainly 11:10 -!- shoan [n=shoan@59.92.145.138] has quit [] 11:14 < v-dogg> Wombert and others 11:14 < v-dogg> log message _level_ or _type? 11:14 < v-dogg> FATAL, ERROR, WARN, INFO and DEBUG 11:17 < Wombert> iirc, you wanted to call it level, right? 11:17 < Wombert> leave large gaps between them, too, so users can add their own 11:17 < Wombert> bbiab 11:19 < v-dogg> I don't think we need gaps 11:20 < v-dogg> class AgaviLogger { const FATAL = 1; const ERROR = 2; const WARN = 4; const INFO = 8; const DEBUG = 16; const ALL = 31; 11:22 < v-dogg> ALL is the only thing that's a bit problematic 11:22 < v-dogg> because if you wanted something else, you could define MyLogger::FOO = 64 11:23 < v-dogg> and set level = AgaviLogger::INFO | MyLogger::FOO 11:23 < v-dogg> of course we could set ALL to be, say, 4096 11:24 < v-dogg> then you would have 7 "gaps" 11:25 < v-dogg> err, ALL = 4095 11:26 < v-dogg> yeah, that works 11:28 < v-dogg> lunch time 11:31 < v-dogg> Has anyone just cause to halt these log levels, speak now or forever hold your piece :) 11:32 < v-dogg> or before I get back from lunch 11:41 < Wombert> ? 11:42 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 11:42 < eremit> uh... the new router is nice ... 11:43 < v-dogg> Wombert: ?? 11:43 < Wombert> I didn't get that ahm 11:43 < Wombert> halt blah thing 11:44 < Wombert> ALL is a problem tho, that's right 11:44 < Wombert> why not make it 2^31 or whatever 11:45 < v-dogg> that was a jokethingy, you know when you get married and the priest ask "has anyone a just cause to halt this union, speak now..." :) 11:45 < Wombert> oO 11:46 < Wombert> lol :> 11:46 < v-dogg> but gotta run 11:46 < v-dogg> bbl 11:47 < Wombert> k 11:47 < eremit> uh ... maybe i'm some kind of stupid ... but how to setup a generic route like // ? 11:50 < Wombert> 11:50 < Wombert> but why do you want that? 11:50 < Wombert> or do you want 11:50 < Wombert> foo.com/Default/ShowProducts/id/123 11:50 < Wombert> ? 11:51 < eremit> no i just want for testing and development purposes things like foo.com/Guest/Register foo.com/User/Logout etc 11:52 < eremit> there are no get params used in the test setup ... 11:52 < Wombert> well 11:52 < Wombert> adding a new route is fairly easy 11:52 < eremit> ah your route does the trick ...ty 11:52 < Wombert> eremit: wait 11:53 < Wombert> if you have that route 11:53 < Wombert> you have to give it a name, too 11:53 < Wombert> and then do 11:53 < Wombert> $r->gen('blah', array('module' => 'Default', 'action' => 'Register')); 11:53 < Wombert> assuming that route's name is foo 11:53 < Wombert> err 11:53 < Wombert> blah 11:53 < Wombert> if you create a route 11:53 < Wombert> you do 11:54 < Wombert> $r->gen('guest.register'); or so 11:54 < Wombert> I'd do proper routes right away 11:54 < Wombert> you can keep the route names 11:54 < Wombert> but change the patterns 11:54 < Wombert> and it generates the correct stuff for you 11:54 < Wombert> always 11:54 < eremit> nice ^^... 11:54 < Wombert> if you want to have simple urls for testing, don't use that at all 11:54 < eremit> i really appreciate the work on this ... *happy dancing* 11:54 < Wombert> because you could just as well do index.php?module=Default&action=ajda 11:55 < eremit> which doesn't work for me 11:56 < eremit> if i try that, i get a 404 11:56 < Wombert> did you enable the .htacces? 11:57 < eremit> *thinking sound* 11:57 < Wombert> see ;) 11:57 < Wombert> don't do that 11:57 < Wombert> because it will rewrite then 11:57 < Wombert> leave it disabled 11:57 < eremit> there's no htaccess and mod rewrite is disabled ... atm 12:01 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 12:02 < digitarald> morning 12:06 < Wombert> hi 12:06 < Wombert> eremit: set use_routing to false then in settings.xml 12:07 < eremit> ah that's the trick ... 12:07 < eremit> ty ... 12:07 < eremit> missed that one ^^ 12:09 < Wombert> eremit: your routing.xml will still be parsed 12:09 < Wombert> and you can still gen() routes 12:10 < Wombert> the urls will then be like index.php?module=Default&action=ViewProduct&id=312 12:10 < eremit> really nice ... 12:36 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 12:37 < shoan> Wombert: is the trunk stable again? i thought there were some merge issues earlier? 12:38 < Wombert> no 12:38 < Wombert> no issues 12:38 < shoan> cool 12:38 < shoan> updating :) 12:38 < Wombert> some changes got lost when I merged changes from trunk to branches/dominik-validation_mods 12:38 < Wombert> trunk is fine ;) 12:51 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 13:00 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 13:14 < v-dogg> howdy 13:16 < Wombert> http://blog.bitxtender.com/ 13:16 < Wombert> :) 13:17 < Wombert> specifically: http://blog.bitxtender.com/2006/08/01/agavi-project-activity/ 13:19 < eremit> Wombert, at which moment is the renderer created? 13:19 < Wombert> after View::execute() returns 13:19 < Wombert> you can return a renderer instance from execute() if you like 13:20 < Wombert> but usually, that's not necessary 13:20 < Wombert> output types are a better idea 13:20 < eremit> hmm :/ ... 13:20 < Wombert> the last occasion to set an output type is in View::initialize() 13:20 < Wombert> but you typically set it in the routing 13:20 < eremit> i need to modify the smarty renderer instance 13:20 < Wombert> you could use a rendering filter 13:20 < Wombert> what do you need to modify 13:21 < eremit> i want to add customer plugins ... 13:21 < Wombert> are they always the same? 13:21 < Wombert> create a MySmartyRenderer extends AgaviSmartyRenderer 13:21 < eremit> basically yes .. it's a bunch of about 20 custom tags ... 13:21 < Wombert> and register them there 13:21 < Wombert> in getEngine 13:21 < Wombert> that's how I would do it 13:22 < Wombert> and 13:22 < Wombert> hey 13:22 < eremit> ok ... i only thought there could be a better way ... 13:22 < Wombert> surprise ;) 13:22 < Wombert> now that can be nested 13:22 < Wombert> you can specify the plugins to be loaded in the config file 13:23 < eremit> oO *rethings the way i understood the configs* 13:23 < Wombert> you define the renderer in output_types.xml 13:23 < Wombert> the renderer itself may have init parameters 13:23 < Wombert> for instance, you can specify the var name where the template vars are stored 13:23 < Wombert> default is $template 13:23 < Wombert> you can change that to $t 13:24 < Wombert> or you can tell the renderer to extract the vars 13:24 < Wombert> now you could have another parameter, called "plugins" 13:24 < Wombert> and then 13:24 < Wombert> in there 13:24 < Wombert> more parameters 13:24 < Wombert> each specifying plugin name and method 13:24 < Wombert> that's the way it works in smarty, iirc, right? 13:25 < eremit> yea 13:25 < Wombert> is that register_function? 13:25 < eremit> yes 13:26 < Wombert> I'm thinking about addind that to the default smarty renderer 13:26 < Wombert> -d+g 13:26 < eremit> hmmm ... 13:26 < Wombert> not that easy though, because it could be callbacks 13:26 < Wombert> to an object 13:27 < eremit> yeah thats the main problem ... 13:27 * Wombert scratches his head 13:27 < eremit> thats why i normally only define an additional plugin dir 13:27 < Wombert> I think I could work that out 13:27 < Wombert> all I need is dominik to change parameters to allow numerical indices 13:27 < Wombert> hang on a second 13:29 < Wombert> yeah I think it's possible 13:30 < Wombert> how do you typically load and organize your plugins? 13:30 < eremit> smahed into one directory like the plugins dir of smarty ... 13:30 < Wombert> ah 13:30 < eremit> one file per function ... 13:30 < Wombert> does it load them automatically? 13:31 < eremit> it should ... 13:31 < Wombert> long time since I used smarty ;) 13:31 < Wombert> what's the naming convention 13:31 < eremit> i'm currently checking my sources about this ... 13:31 < Wombert> I'll sit down later and put SmartyRenderer on steroids a bit 13:31 < eremit> haven't used smarty myself for some type 13:32 < eremit> mom ... i'll check that ^^ 13:34 < v-dogg> Wombert: 13:34 < v-dogg> Strict standards: Declaration of TRTestSampleView::initialize() should be compatible with that of AgaviView::initialize() 13:34 < Wombert> ty 13:34 < v-dogg> should I fix these or is dominik already on to it? 13:34 < eremit> hmm basically you only need to remove the hardcoded plugins_local directory ... in the renderer and put a config able path in... 13:37 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 13:48 < Wombert> I can fix it, or you, don't care 13:52 < v-dogg> I'll do it 13:52 < v-dogg> logging is almost done 13:52 < v-dogg> I think :) 13:53 < Wombert> very good work man 13:53 < Wombert> very good 14:07 < v-dogg> hmph 14:08 < v-dogg> Warning: file_get_contents(\log1391.tmp): failed to open stream: No such file or directory in C:\workspace\agavi-trunk\tests2\logging\LoggerManagerTest.php on line 74 14:09 < v-dogg> aa... my mistake 14:12 < v-dogg> these tests are a bit hard to figure out :) 14:16 < v-dogg> but they sure are nice to have when you change something 14:17 < Wombert> as I said 14:18 < Wombert> we'll have to re-write them for 1.0 14:18 < v-dogg> yep 14:23 -!- benny`work [n=benny@p54AC3CD4.dip0.t-ipconnect.de] has joined #agavi 14:28 < v-dogg> heads up 14:28 < v-dogg> I'm going to break trunk 14:28 < v-dogg> kidding... :) 14:28 < v-dogg> but I am going to break b/c 14:29 < v-dogg> does agavi.org use logging? 14:34 < eremit> oO, there's an error in WebRouting caused by usage of an uninstanciated variable ... 14:36 < v-dogg> eremit: where? 14:36 < eremit> WebRouting:210 ... i don't understand the whole routine starting at 191 not ... 14:37 < eremit> $defaults gets initialized using array(), $myDefaults gets not initialized, none of them both are used before ... but both are merged ... 14:38 < eremit> why merging $defaults and $myDefaults if $defaults is definately empty ... an mydefaults isnt event instanciated if the if's don't match ... 14:42 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 14:42 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/297: Ticket #297 (defect) closed by v-dogg 14:42 < eremit> anyway i will create a patch with all my changes later... 14:43 < eremit> is there any kind of registry in agavi to retrieve instanciated objects from ? 14:43 < CIA-6> v-dogg * r863 /trunk/ (9 files in 6 dirs): 14:43 < CIA-6> Re-wrote logging priority levels. They are now treated as n-bit integers so you 14:43 < CIA-6> can define e.g. AgaviLogger::ALL ^ AgaviLogger::DEBUG to log everything but 14:43 < CIA-6> debug messages, or AgaviLogger::INFO | AgaviLogger::WARN to log only info and 14:43 < CIA-6> warning messages. AgaviLogger::ALL is defined as 2^32-1 so you can define level 14:43 < eremit> i remember a discussion about it ... 14:43 < CIA-6> constants from 1 to 2^31. NOTE! This will break backwards compatibility! Sorry 14:43 < CIA-6> about that. closes #296. 14:45 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 14:45 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/296: Ticket #296 (enhancement) closed by v-dogg 14:45 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/863: Changeset [863]: Re-wrote logging priority levels. They are now treated as n-bit integers ... 14:51 < shoan> v-dogg: nice work with loggers :) 14:51 < shoan> will check it out tonight 14:51 < v-dogg> thanks, hope it works :) 14:51 < shoan> didn't you write any test cases? ;) 14:52 < v-dogg> there were a few already and I extended those a bit 14:53 < shoan> btw is there a way to edit a svn commit message? 14:54 < shoan> i just committed saying that it does not work 100% instead of saying that it did :| 14:54 < v-dogg> not that I know of 15:05 < eremit> shoan there is ... 15:05 < shoan> how? revert and commit again? 15:05 < Wombert> no 15:05 < Wombert> you can edit commit messages on the server, afaik 15:05 < eremit> i'm just searching for it ... 15:06 < shoan> ok 15:06 < Wombert> looking ;) 15:06 < shoan> its not really critical, but I prefer not looking stupid :D 15:06 < Wombert> http://subversion.tigris.org/faq.html#change-log-msg 15:07 < eremit> uhm wombert was faster ^^ 15:08 < shoan> :) 15:08 < shoan> thanks guys 15:11 < v-dogg> I can't get rid of all strict standars errors in tests 15:11 < v-dogg> without multiple inheritance :) 15:16 < CIA-6> v-dogg * r864 /trunk/tests2/ (3 files in 2 dirs): Strict standards fixes. 15:16 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 15:16 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/864: Changeset [864]: Strict standards fixes. 15:32 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 15:34 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 15:50 < Wombert> so... which tickets don't need to be finished for 0.11b1? 15:53 < v-dogg> wooot? waht this be: http://trac.agavi.org/trac.cgi/ticket/286 15:53 < Wombert> #65, #183, #78 (maybe), #107, #137, #184 (?), #34 15:54 < Wombert> http://forum.agavi.org/viewtopic.php?id=106 15:55 < v-dogg> lemme see... 15:55 < v-dogg> wtf... 15:55 < Wombert> does it work for you? 15:55 < v-dogg> no 15:55 < Wombert> I thought I'd push this back until we roll b1 15:55 < v-dogg> but what the f.. broke it 15:55 < Wombert> I have no idea 15:55 < Wombert> aaah hey 15:56 < Wombert> didn't we want to rename webapp to app? 15:56 < Wombert> and www to... pub? 15:56 < v-dogg> you did :) 15:57 < v-dogg> but yeah, we agreed that it's a go-go 15:57 < Wombert> so is "pub" good? 15:57 < Wombert> benny`work? digitarald? eremit? Macca? shoan? ttj? 15:57 < shoan> ? 15:57 < Wombert> rename "www" folder to... "pub" 15:57 < Wombert> purely cosmetic thing 15:57 < eremit> no 15:58 < Wombert> why :< 15:58 < shoan> no 15:58 < shoan> i like www and webapp :) 15:58 < Wombert> which are both wrong because you can build other things than web apps with agavi 15:58 < Wombert> also, you could just set core.app_dir and core.pub_dir to those 15:58 < Wombert> so you don't have to change everything 15:58 < Wombert> deal? 15:59 < shoan> +1 :) 15:59 < eremit> hehe ... i take back my no ... and say i dont care :P 15:59 < Wombert> is there anything else we forgot 15:59 < eremit> i'm changing most pathes anyway in my retail apps 15:59 < Wombert> aside from i18n 15:59 < Wombert> which we have a ticket for 16:01 < shoan> yay 16:01 < eremit> i havnt found anything yet ^^ 16:01 < Wombert> good 16:01 < Wombert> just to remind you guys 16:02 < Wombert> 0.11 betas are the last chance for you to step forward and say "there's something I want to do, but it's not possible with agavi" etc 16:02 < v-dogg> gaaah... 16:02 < v-dogg> wanna know who broke package building? 16:02 < Wombert> me? 16:02 < Wombert> :p 16:02 < v-dogg> yeah, you guessed it, PEAR did 16:02 < Wombert> ahahah 16:02 < Wombert> wtf 16:02 < Wombert> ah yeah I remember 16:03 < eremit> hmm i have a really really special issue , but i dont think it's solvable using agavi :P 16:03 < Wombert> back then I had to go back to an old package_fuck_pear_whatever_the_name_is version 16:03 < Wombert> to make it work 16:03 < v-dogg> release and api versions cannot have letters anymore 16:03 < Wombert> ahahahahaha 16:03 < Wombert> right 16:03 < Wombert> FUCK PEAR 16:03 < Wombert> seriously 16:03 < Wombert> such a bunch of morons 16:03 < v-dogg> so 0.11-DEV is now 0.11 16:03 < Wombert> they change stuff in between 2.1.1 and 2.1.2 16:03 < eremit> pear is crap ^^ 16:03 < Wombert> just break bc and... zomg 16:03 < Wombert> Z 16:03 < Wombert> O 16:03 < Wombert> M 16:03 < Wombert> G 16:04 < Wombert> aah no 16:04 < Wombert> v-dogg: wait 16:04 < Wombert> I think they only allow lowercase letters 16:04 < Wombert> but I could be wrong 16:04 < Wombert> I read something about this 16:04 < Wombert> not sure 16:04 < v-dogg> testing... 16:05 < v-dogg> Error: Version type is not a valid version (0.11-dev) 16:06 < CIA-6> dominik * r865 /trunk/src/config/ (AgaviConfigHandler.class.php xsd/default_tags.xsd): support for nested parameters without the name attribute (so the array created will be int indexed) 16:06 < Wombert> I read something about lowercase shit and all 16:06 < Wombert> I'm 100% sure 16:06 < Wombert> maybe it's the packages themselves or so 16:06 < v-dogg> 0.11dev works 16:07 < v-dogg> stupid piece of crap 16:07 < Wombert> indeed 16:07 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:07 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/865: Changeset [865]: support for nested parameters without the name attribute (so the array ... 16:08 < v-dogg> 0.11.DEV doesn't work 16:08 < Wombert> PEAR 16:08 < Wombert> SUCKS 16:08 < Wombert> MUST 16:08 < Wombert> SHOOT 16:08 < Wombert> SOMEONE 16:08 < Wombert> it just occured to me 16:08 < Wombert> you know 16:09 < Wombert> pear being shitty might be the #1 reason why php has such a "bad" image 16:09 < v-dogg> 0.11.dev doesn't work 16:09 < eremit> its one of the majors yes ^^ 16:09 < Wombert> besides the core dev's ignorance, of course 16:10 < eremit> ^^ --- that cant be called ignorance anymore 16:11 < v-dogg> 0.11.1b works... 16:11 < Wombert> b1? 16:11 < v-dogg> so what's teh current version? 16:11 < Wombert> I mean 16:11 < Wombert> WTF 16:11 < Wombert> current version is 0.11 dev 16:12 < Wombert> good question by the way 16:12 < Wombert> will we release 0.11.0 16:12 < Wombert> or 0.11 16:12 < Wombert> and then 0.11.1 16:12 < Wombert> (if necessary) 16:12 < v-dogg> Version type is not a valid version (0.11.b1) 16:12 < v-dogg> tragicomedy :) 16:13 < eremit> lol v-dogg try to find the regex ... and figure out what it allows instead of guessing ... 16:13 < eremit> :P 16:13 < v-dogg> can't be bothered :) 16:13 < v-dogg> we can use 0.11dev for now 16:14 < v-dogg> ok? 16:14 < Wombert> go 16:14 < eremit> preg_match('/^\d+(?:\.\d+)*(?:[a-zA-Z]+\d*)?$/' 16:17 < eremit> uh if i interpret this right 0.11.dev1 should work and 0.11-dev1 too 16:17 < v-dogg> nope 16:17 < v-dogg> - is not in [a-zA-Z] 16:17 < CIA-6> v-dogg * r866 /trunk/etc/phing/AgaviPackageTask.php: Fixed api and release version numbers to please Pear PackageManager (*sigh*). closes #286. 16:18 < eremit> ah right ... 16:19 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:19 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/286: Ticket #286 (defect) closed by v-dogg 16:19 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/866: Changeset [866]: Fixed api and release version numbers to please Pear PackageManager ... 16:25 < eremit> is there any way to tell agavi to autoload all files in a specific path ? 16:26 < eremit> or to add autoloading to all files in a path ? 16:26 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:26 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/292: Ticket #292 (enhancement) closed by dominik 16:26 < Wombert> no 16:26 < eremit> ty ^^ 16:27 < Wombert> use spl_autoload_register 16:27 < v-dogg> what's that sound... 16:27 < v-dogg> aaa... it's the lovely sound of tickets beeing closed 16:27 < v-dogg> *clickety click* 16:29 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:29 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/35: Ticket #35 (defect) closed by david 16:30 < eremit> Wombert, i know what i'm missing atm ... the possibility to change the include path of php using agavi config files :P 16:30 < Wombert> eremit: config.php is your friend 16:30 < Wombert> include path is none of agavi's business 16:31 < eremit> yeah but i would favor something like instead ;) 16:31 < eremit> but isnt necessary ^^ 16:32 < eremit> it's more a matter of taste ^^ 16:35 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:35 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/298: Ticket #298 (task) created by david 16:37 < eremit> oeh ... 16:37 < eremit> cant the Action::validate() method access the params anymore ? 16:38 < Wombert> uh 16:38 < Wombert> yes it can!? 16:38 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:38 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/299: Ticket #299 (enhancement) created by david 16:38 < Wombert> or did I break something there 16:38 < eremit> not using $this->getContext()->getRequest()->getParameter() 16:39 < Wombert> oh bloody hell 16:39 < Wombert> my pad 16:39 < Wombert> bad 16:39 < eremit> cant it be changed to be given to validate as $parameters ? like execute() gets'em ? 16:40 < Wombert> execute() gets filtered parameters 16:40 < Wombert> whereas validate() uses the original ones 16:40 < eremit> ah ok ^^ 16:41 < eremit> btw... the new exception screen is nice ... i really start to like it the more i see it :P 16:42 < eremit> ok, how to unlock the parameters ? 16:42 < Wombert> you don't unlock parameters 16:42 < Wombert> do not try 16:42 < Wombert> right now, you could do $this->getContext()->getRequest()->unlock(); 16:42 < eremit> yeah that sounds like a solution atm ... 16:42 < Wombert> I swear if I catch someone doing this I will make that impossible. I already know how, I just couldn't be bothered yet ;) don't try! 16:42 < Wombert> no 16:42 < Wombert> no 16:42 < Wombert> no 16:42 < Wombert> well 16:43 < Wombert> seems like it's time for plan b then 16:43 < eremit> ok, i ll take a look about how to get the parameters into the validate without using unlock directly :P 16:43 < v-dogg> Wombert: lock it and throw away to key! 16:43 < Wombert> [15:39] Wombert: oh bloody hell 16:43 < Wombert> [15:39] Wombert: my pad 16:43 < Wombert> [15:39] Wombert: bad 16:43 < Wombert> v-dogg: that's exactly what I had in mind 16:43 < Wombert> lock() returns a key 16:44 < Wombert> and you can only unlock it with that key 16:44 < Wombert> and the key is stored... well... I don't know yet, but I'll find a way ;) 16:46 < eremit> did i get it right ... you are locking the params, so nobody can change them ? ... 16:46 < Wombert> no 16:47 < Wombert> a) I'm fixing the issue where you can't access params in validate() right now, as I said, just give me a minute 16:47 < Wombert> b) locking is done so you can't use getParameter() on the request in an action or view 16:47 < eremit> sure i have all time of the world, i'm just trying to get back into the code and exspec. into the ideas behind it :P 16:51 < CIA-6> david * r867 /trunk/ (3 files in 3 dirs): Changed FormPopulationFilter to use list of parameters for the 'methods' parameter in the config. That should be it for now. Closes #79 16:52 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:52 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/79: Ticket #79 (enhancement) closed by david 16:52 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/867: Changeset [867]: Changed FormPopulationFilter to use list of parameters for the 'methods' ... 16:52 < v-dogg> *clickety click* 16:53 < CIA-6> david * r868 /trunk/src/filter/AgaviExecutionFilter.class.php: Fixed an issue where accessing original request parameters inside Action::validate() was not possible. Refs #281 16:55 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 16:55 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:55 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/868: Changeset [868]: Fixed an issue where accessing original request parameters inside ... 16:55 < eremit> yea ... ty 16:57 -!- shoan_ [n=shoan@61.95.206.107] has joined #agavi 16:58 * Wombert meanwhile continues to carry out his evil plan 17:01 < CIA-6> david * r869 /branches/dominik-validation_mods/src/request/AgaviRequest.class.php: made all parameter related methods in Request final. Refs #281 17:01 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 17:01 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/869: Changeset [869]: made all parameter related methods in Request final. Refs #281 17:01 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/ticket/280: Ticket #280 (enhancement) closed by dominik 17:02 < CIA-6> david * r870 /branches/dominik-validation_mods/src/buildtools/ (2 files in 2 dirs): WTF WENT WRONG WITH THESE MERGES.... ARRGH 17:03 < Wombert> I said FUCKING REFS #281 17:03 < Wombert> you stupid postcommit hook 17:03 < Wombert> ZOMG 17:03 < Wombert> wtf why is this listed at closed here 17:03 * Wombert kicks trac 17:03 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 17:03 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/870: Changeset [870]: WTF WENT WRONG WITH THESE MERGES.... ARRGH 17:04 < v-dogg> keep'em coming lads, http://cia.navi.cx/stats/project/Agavi :) 17:04 < Wombert> cia uses sunday as first day of the week 17:04 < Wombert> how... american 17:04 < v-dogg> how... stupid 17:08 < v-dogg> I'm off, catch (YouLater $e) { ; } 17:10 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 17:11 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 17:12 < digitarald> what about a deleteCookie() function ;) 17:14 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 17:14 < eremit> the FormPopulationFilter is broken too atm ? 17:14 < Wombert> no 17:15 < Wombert> or is it? 17:15 < Wombert> works for me 17:15 < eremit> do i only need to set enabled="true" in global_filters? ... 17:15 < eremit> if thats the only thing to do, it's broken ... because of the in_array check 17:17 < Wombert> ... 17:18 < Wombert> http://trac.agavi.org/trac.cgi/changeset/867 17:19 < eremit> i just made an svn update ^^ 17:21 < eremit> ah stupid me ... 17:26 < Wombert> hah! 17:26 < Wombert> there you go 17:26 < CIA-6> david * r871 /trunk/src/ (2 files in 2 dirs): made it impossible to unlock the Request without knowing the secret key :) 17:26 < Wombert> tadaaaa 17:26 * Wombert does the rain dance 17:27 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 17:27 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/871: Changeset [871]: made it impossible to unlock the Request without knowing the secret key :) 17:35 -!- Wombert_ [n=Wombert@dslb-088-064-013-061.pools.arcor-ip.net] has joined #agavi 17:35 -!- Wombert [n=Wombert@dslb-088-064-006-044.pools.arcor-ip.net] has quit [Nick collision from services.] 17:35 -!- Wombert_ is now known as Wombert 17:39 < eremit> Wombert, maybe i still stupid ... 17:39 < eremit> but changing the configs throws a parser exception 17:40 < Wombert> then fix your configs 17:40 < impl> Wombert: Did you fix the xsd to match your changes? 17:41 < eremit> ^^ 17:41 < Wombert> of course 17:42 * impl doesn't even see a schema for global_filters.xml 17:43 < impl> oh, just filters.xsd 17:44 * impl nods in agreement 17:44 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:50 < CIA-6> dominik * r873 /trunk/samples/webapp/config/compile.conf: removed unneeded compile.conf from sample app 17:50 < CIA-6> david * r872 /trunk/src/ (agavi.php core/Agavi.class.php): use spl_autoload_register() instead of __autoload() if possible, closes #299 17:50 -!- AgaviBot [n=dzuelke@dslb-088-064-006-044.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:00 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has joined #agavi 18:02 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 18:02 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/873: Changeset [873]: removed unneeded compile.conf from sample app 18:02 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/ticket/299: Ticket #299 (enhancement) closed by david 18:02 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/changeset/872: Changeset [872]: use spl_autoload_register() instead of __autoload() if possible, closes ... 18:02 < AgaviBot> 4) http://trac.agavi.org/trac.cgi/changeset/871: Changeset [871]: made it impossible to unlock the Request without knowing the secret key :) 18:02 < AgaviBot> 5) http://trac.agavi.org/trac.cgi/changeset/870: Changeset [870]: WTF WENT WRONG WITH THESE MERGES.... ARRGH 18:02 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has quit [Excess Flood] 18:02 < Wombert> haha 18:03 < Wombert> yeah 18:08 < impl> :x 18:09 -!- shoan_ [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 18:10 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has joined #agavi 19:15 < CIA-6> david * r874 /trunk/ (28 files in 14 dirs): changed core.webapp_dir to core.app_dir 19:17 < v-dogg> evening 19:18 < Wombert> hi brother 19:19 < v-dogg> hows it going 19:23 < raidman|Work> evening guys :) 19:24 < raidman|Work> s/guys/developers of agavi/ 19:24 < raidman|Work> :P 19:24 < raidman|Work> the best framework I ever seen befor 19:28 < CIA-6> v-dogg * r875 /trunk/etc/generate_package.php: Removed generate_package.php. It's all done in AgaviPackageTask now. Good riddance. 19:34 < v-dogg> guys... Warning: Channel validator warning: field "version" - A version number should have 3 decimals (x.y.z) 19:35 < impl> 0.11.0? 19:35 < Wombert> who are these morons to tell me how many digits my version number should have 19:36 < Wombert> if there was something else than pear I swear I'd be using it 19:36 < eremit> lol ... 19:36 < v-dogg> to ignore or not to ignore... 19:42 < v-dogg> why do I see closed tickets when I choose "Active tickets: ##" from milestone view? 19:43 < eremit> recently closed tickets ? 19:43 < Wombert> you reloaded 19:43 < Wombert> press the update button and they are gone 19:43 < v-dogg> roger 19:43 < Wombert> bold ones are new, italic ones are changed 19:45 < v-dogg> is #34 still valid? I mean didn't you Wombert get rid of most the &'s already? 19:45 < Wombert> some 19:45 < Wombert> not all 19:45 < v-dogg> ok 19:45 < Wombert> that's one of the post-beta1 tickets 19:46 < v-dogg> what about 184? 19:46 < Wombert> one minute 19:46 < Wombert> let me just quickly finish this checkin 19:46 < v-dogg> sure 19:46 < v-dogg> I'm in no hurry here 19:47 < v-dogg> maybe I'll get something to eat and a beer while you finish up that :) 19:47 < Wombert> do you have time later to work on #293 with me? 19:48 < Wombert> we'll then also fix the rewriting for your veikkomakinen.com box 19:49 < v-dogg> sure 19:49 < Wombert> you got plenty of time on your hands lately it seems 19:49 < Wombert> how come? 19:50 < v-dogg> no school work I suppose 19:51 < v-dogg> and less other things to do at work so I've had time to work on my webapp project 19:51 < Wombert> :) 19:51 < v-dogg> but this is about to change very soon :) 19:52 < Wombert> that's unfortunate 19:52 < Wombert> not tooooo soon I hope ;) 19:52 < v-dogg> I finally have to get first release of this webapp project ready 19:52 < v-dogg> +the 19:52 < v-dogg> and start prototyping the next stage 19:54 < CIA-6> david * r876 /trunk/ (20 files in 14 dirs): renamed webapp to app, www to pub. this breaks your app. I warned you. 19:59 < CIA-6> david * r877 /trunk/ (5 files in 3 dirs): last renames, that should close #298 19:59 < eremit> are there any plans using __Set and __get as generic setters ... to get rid of $this->getController()->getRequest() stuff and favor $this->Controller->Request ? 19:59 < Wombert> no 19:59 < Wombert> that sucks 19:59 < Wombert> come on 19:59 < eremit> just a question :P ... that was a thing i liked on prado ... 19:59 < eremit> less type work 20:00 < v-dogg> no no no! 20:00 < v-dogg> that'll screw up autocomplete 20:00 < Wombert> yes 20:00 < Wombert> for instance 20:00 < eremit> at least my autocomplete doesn't work anyway ... 20:00 < Wombert> we're not prado 20:00 < v-dogg> your autocomplete sucks then :) 20:00 < Wombert> prado, like many other frameworks, sacrificed reason for ease 20:00 < Wombert> which is a bad idea 20:00 < v-dogg> zend studio uses phpdoc @return 20:01 < eremit> :P ... i enforced using this framework in favor of prado ... because agavi != prado ... but still thats a pt i liked ... 20:01 < eremit> v-dogg my zend studio doesn't get the autocompletion ... :/ 20:01 < v-dogg> and even quite nicely, even $this->getContext()->getRequest()->getA ... works 20:02 < Wombert> eremit: maybe you have to enable it 20:02 < eremit> it is enabled ... 20:02 < Wombert> getters are getters for a reason 20:02 < Wombert> also 20:02 < eremit> :P ... sometimes it even works ... 20:02 < Wombert> now that we have the new structure 20:02 < Wombert> you usually don't need request etc anyway 20:02 < Wombert> did you get that eremit... how attribs are now set for the view? 20:03 < Wombert> no more setting attribs in the request and then importing them in the view 20:03 < eremit> $this->setAttribute afaik 20:03 < Wombert> in the action, do $this->setAttribute 20:03 < Wombert> and they are auto-imported in the view 20:03 < eremit> yeah got that ... 20:03 < Wombert> good 20:03 < Wombert> we discussed having $this->getUser() or so in actions but... well 20:03 < eremit> i only need the whole request stuff because of my fancy validators ... 20:04 < Wombert> there is no clean way of doing it, so we don't do it at all 20:04 < Wombert> instead of having a stupid compromise 20:04 < Wombert> $r = $this->getContext()->getRequest(); 20:04 < eremit> yes ^^ ... 20:04 < Wombert> or how about doing YourBaseAction extends Action 20:04 < Wombert> that sets $this->r in initialize() 20:04 < Wombert> that's even less to type than prado then 20:04 < Wombert> see 20:05 < Wombert> this is one of the areas where it's pretty much up to the taste of the individual developer 20:05 < eremit> that's what i'm thinking about ... but i don't wanna do that until i get a look at the validators ... 20:05 < Wombert> so 20:05 < Wombert> do it yourself ;) 20:05 < Wombert> it's easy 20:05 < eremit> i think most of my validation can be done with em too 20:05 < Wombert> yep 20:05 < Wombert> it will ;) 20:05 < Wombert> trust me 20:05 < Wombert> we're porting a pretty complicated project to 0.11 20:05 < eremit> i read the code in the repos ... looks really really nice ... 20:05 < Wombert> and dominik won't stop until everything works with agavi's validation 20:06 < eremit> and i started a pretty complicated project at least partwise in .11 20:07 < eremit> sadly there's a part in the project which cannot be written using agavi :/ 20:09 < Wombert> hm? 20:09 < Wombert> which 20:09 < Wombert> never say never 20:09 < eremit> it's a daemon written in php ... 20:09 < Wombert> and why not agavi? 20:09 < eremit> it would not make any sense to write a daemon application in agavi ... 20:09 < Wombert> the irc bot is written in agavi, too ;) 20:09 < Wombert> what does the daemon do 20:09 < eremit> have you ever tried to fork in php ? ... 20:10 < eremit> it checks every second a mysql table ... and if there are entries to process forks itself to proccess 50 entries per fork ... 20:10 < eremit> we approx will have about 20k entries /min ... 20:10 < Wombert> hm 20:10 < eremit> do you know what a bunch of several forked agavi cli apps means to the ram ? :P 20:11 < Wombert> well 20:11 < Wombert> the bot takes up about 15MB ;) 20:11 < Wombert> but hey, it doesn't leak at all! 20:11 < Wombert> http://trac.agavi.org/trac.cgi/roadmap 20:11 < Wombert> NINETY PERCENT 20:11 < Wombert> WOOOOOOOT 20:11 < Wombert> WOOOOOOOOOOT 20:11 < eremit> ^^ -- your action description is wrong in the source ... 20:12 < v-dogg> Wombert: :) 20:12 < eremit> and gratz Wombert 20:12 < Wombert> eremit: 20:12 < Wombert> ? 20:12 < eremit> The execution of these methods is not dependent ... bla ... validateWrite() will be run even if there is no executeWrite() 20:13 < Wombert> and that is wrong? 20:13 < Wombert> oO 20:13 < eremit> wrong ... i just sat here and wondered about 20mins why my validateWrite doesn't get executed 20:13 < Wombert> oh 20:16 < eremit> further the usage of the {debug} macro of smarty kills you repop filter 20:16 < eremit> but most likely it's the debug which isn't xhtml compat ... 20:16 < Wombert> yep 20:18 < eremit> w00 ... you have changed so much ... 20:18 < eremit> i detect myself thinking the old way of .10 all the time ... oO 20:18 -!- shoan [n=shoan@59.92.145.138] has joined #agavi 20:21 < v-dogg> wombiieee 20:22 < Wombert> y0 mate 20:22 < CIA-6> david * r878 /trunk/src/exception/templates/shiny.php: fixed shiny.php exception template where file path shortening was foobar'd if any of the constants used wasn't yet defined (e.g. when something really bad happened in bootstrap() or so 20:22 < Wombert> what's up 20:23 < v-dogg> wanna start fixing Teh Routing 20:23 * impl is still determined to figure out a better solution than decorators/slots 20:24 < CIA-6> david * r879 /trunk/src/core/ (Agavi.class.php AgaviContext.class.php): throwing exceptions instead of triggering errors when no env/context name given. it just looks nicer :D 20:24 < impl> I almost had it the other day, but the pieces just wouldn't fit into place 20:24 < Wombert> impl: you still got some time until 2.0 ;) 20:24 < impl> pssh :) 20:24 < v-dogg> what's up with uwe btw? 20:24 < Wombert> no clue 20:24 < Wombert> he just disappeared 20:24 < impl> http://trac.agavi.org/trac.cgi/ticket/287 hehe 20:26 < v-dogg> did he contribute something to validation? 20:26 < Wombert> we need 15 or 16 commits a day if we want our growth to continue ;) 20:26 < Wombert> (like http://blog.bitxtender.com/2006/08/01/agavi-project-activity/ ) 20:26 < Wombert> v-dogg: yes, you bet 20:26 < Wombert> he had a lot of excellent ideas 20:26 < Wombert> and implemented large parts 20:27 < Wombert> well there was stuff we didn't like and that didn't make sense, but all in all, it wasn't too bad 20:27 < Wombert> dominik rewrote quite a bit of it 20:27 < Wombert> dominik-validation_mods is a branch of uwe-validation ;) 20:27 < Wombert> anyways, we'll credit him first for the new validation 20:29 < Wombert> sighs 20:29 < raidman|Work> 90% yeah :) 20:29 < Wombert> let's have another look at the roadmap shall we 20:29 < v-dogg> let's 20:30 < v-dogg> I'm fine with leaving #65, #183, #78, #107, #137, #184 and #34 open untill post-beta1 era 20:31 < Wombert> I concur 20:31 < v-dogg> what do you want to do to sample app? it already uses a master template and slots, doesn't it? 20:32 < Wombert> I want to add german and finnish to it 20:32 < impl> What happened to kludgebox? 20:32 < Wombert> bob? 20:32 < v-dogg> too busy working 20:32 < Wombert> he doesn't have time anymore 20:32 < Wombert> neither does mike 20:32 < impl> Oh :( 20:33 < Wombert> bob declared me "captain of the ship" quite some time ago ;) 20:33 < v-dogg> Wombert: german and finnish? 20:33 < impl> I was looking at some old tickets and I realized that I hadn't seen him or agile around at all for a really long time 20:33 < impl> hmmph 20:33 < digitarald> routing question 20:33 < v-dogg> shoot 20:33 < digitarald> can i set the default values? 20:34 < v-dogg> sure 20:34 < v-dogg> http://trac.agavi.org/trac.cgi/wiki/Routing 20:34 < digitarald> in the application :) 20:34 < impl> digitarald: Take a look at the sample application 20:34 < v-dogg> at least if you have a callback class 20:34 < impl> 20:34 < digitarald> i have 20:34 < digitarald> e 20:35 < v-dogg> but what excatly do you need? 20:35 < Wombert> digitarald: do you want defaults for generating? or for incoming routes 20:35 < Wombert> v-dogg: german and finnish language versions 20:35 < v-dogg> ok :) 20:35 < v-dogg> swedish too? 20:35 < digitarald> 20:35 < digitarald> 20:35 < digitarald> 20:35 < digitarald> 20:35 < digitarald> 20:35 < Wombert> if you know swedish... sure 20:35 < v-dogg> ok :) 20:35 < Wombert> raidman speaks farsi and... what was the other one? 20:36 < v-dogg> (missus can help with it :) 20:36 < impl> digitarald: en ? 20:36 < raidman|Work> Wombert armenian :) 20:36 < Wombert> right 20:36 < Wombert> :) 20:36 < digitarald> no ... then its always /en/ .... 20:36 < impl> Wombert: How about Latin? ;p 20:36 < Wombert> omg 20:36 < eremit> old greek could i provide too ^^ 20:36 < Wombert> oO 20:36 < v-dogg> haha 20:37 < digitarald> i want to set lang-default not in the xml, i want to set it during the callback 20:37 < v-dogg> sample app is getting quite international 20:37 < Wombert> digitarald: then do it! 20:37 < eremit> sorry wombert had to make my latinum and small graecum at school :P 20:37 < digitarald> how can i access the default value in onNotMatched? 20:37 < Wombert> my condolences 20:37 < impl> Latin is a cool language 20:37 < impl> :P 20:37 < Wombert> digitarald: I wouldn't do it like that 20:38 < Wombert> store the language in a global place 20:38 < Wombert> e.g. as a request attribute 20:38 < Wombert> and read it in onGenerate 20:38 < raidman|Work> Wombert, farsi is a right to left language, I can help in i18n for farsi 20:38 < eremit> impl: latin is really cool, you can read nearly any roman based language newspaper :P 20:38 < digitarald> languages are stored in database ;) 20:38 < Wombert> in onMatched and onNotMatched, set it there 20:38 < Wombert> yes but the current language... 20:38 < impl> eremit: Indeed :D 20:38 < raidman|Work> Wombert, hyeren(armenian) is realy like english 20:38 < Wombert> really? 20:38 < Wombert> oO 20:38 < Wombert> yeah I knew farsi is rtl 20:39 < Wombert> shouldn't be a problem with utf8 :) 20:39 < impl> A lot of languages are a lot like English 20:39 < impl> Like... Estonian? I think 20:39 < impl> No 20:39 < impl> Romanian 20:39 < digitarald> how can i access it the default values? 20:39 < eremit> i could also provide platt german (doen't know the translation of platt :P ) 20:39 < eremit> frisian ? 20:39 < digitarald> nordic german ;) 20:39 < impl> http://www.php.net/manual/ro/introduction.php 20:40 < impl> Very similar to English :P 20:40 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Bye Bye"] 20:40 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 20:40 < digitarald> solution? 20:40 < digitarald> have to go ... cya tomorrow 20:40 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Client Quit] 20:41 < Wombert> uh 20:41 < Wombert> well that was quick 20:41 < Wombert> :D 20:41 < Wombert> impl: yeah well I understand most of the romanian text there 20:42 < Wombert> I do, to an extent, also understand dutch, danish, swedish 20:42 < Wombert> all pretty similar to german 20:42 < eremit> ^^ if you wait a year .. i'm currently learning swedish and norwegian ... 20:42 < impl> A lot of Swedish looks like English too 20:43 < Wombert> but understanding and writing/speaking are pretty different things ;) 20:43 < Wombert> the only thing where I really don't understand jack schitt is finnish 20:43 * Wombert hugs horros 20:43 < impl> haha 20:43 < Wombert> (who isn't there) 20:43 * Wombert hugs v-dogg 20:43 < Wombert> (who is there) 20:43 < impl> I speak a little Swedish... very little 20:46 < impl> Jag ar en Svenska person 20:46 < impl> or somesuch :P 20:49 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has quit ["Bye Wombert!"] 20:50 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has joined #agavi 20:51 * Wombert scratches his head 20:51 < Wombert> this is gonna get pretty nasty 20:51 < Wombert> with the way output types work right now 20:51 < Wombert> because you can't have parents 20:51 < Wombert> and we already have xhtml and html 20:51 < Wombert> and 20:51 * Wombert thinks 20:51 < Wombert> no, this is not gonna work 20:52 * Wombert concludes that we need i18n support inside the framework 20:52 < Wombert> well it _can_ work 20:52 < Wombert> but it's not really cool if we want per-language templates 21:01 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 21:01 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/164: Ticket #164 (task) closed by david 21:01 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/wiki/ConfigurationDirectives: ConfigurationDirectives edited by david 21:11 < v-dogg> what sort of i18n support? 21:11 < v-dogg> $this->getContext->getCulture() =P 21:13 < Wombert> I'd say from the controller 21:13 < Wombert> but yes, something along these lines 21:13 < Wombert> maybe with support for per-language templates 21:13 < Wombert> and some other stuff 21:14 < Wombert> translation service that can translate validation messages etc 21:38 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit ["#killall raidman"] 21:46 -!- [1]eremit [n=eremit@p5490D874.dip.t-dialin.net] has joined #agavi 22:03 -!- eremit [n=eremit@p5490D3B4.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 22:03 -!- [1]eremit is now known as eremit 22:06 < eremit> n8 all 22:06 -!- eremit [n=eremit@p5490D874.dip.t-dialin.net] has quit [" Try HydraIRC -> http://www.hydrairc.com <-"] 22:27 < CIA-6> david * r880 /trunk/src/routing/AgaviRouting.class.php: routing generator options are now passed as nested parameters to the 'generator' parameter 22:29 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 22:29 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/880: Changeset [880]: routing generator options are now passed as nested parameters to the ... 23:08 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 23:08 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/300: Ticket #300 (enhancement) created by david 23:32 < CIA-6> david * r881 /trunk/ (4 files in 2 dirs): 23:32 < CIA-6> cleaned up action code, removed some references nonsense, updated phpdocs, made 23:32 < CIA-6> private vars protected where feasible, changed ActionStackEntry::getMicrotime() 23:32 < CIA-6> to work with and return a proper float value. adapted tests. refs #65, #281, 23:32 < CIA-6> #107, #137 and #34; closes #300 23:33 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 23:33 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/300: Ticket #300 (enhancement) closed by david 23:33 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/881: Changeset [881]: cleaned up action code, removed some references nonsense, updated phpdocs, ... 23:36 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 23:36 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/302: Ticket #302 (enhancement) created by david 23:36 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/ticket/301: Ticket #301 (enhancement) created by david 23:39 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 23:39 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/303: Ticket #303 (enhancement) created by david --- Day changed Wed Aug 02 2006 00:02 < CIA-6> david * r882 /trunk/src/database/ (9 files): cleaned up database code, removed some references nonsense, updated phpdocs. refs #107 and #137 00:05 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 00:05 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/882: Changeset [882]: cleaned up database code, removed some references nonsense, updated ... 00:05 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has quit ["Bye Wombert!"] 00:28 * Macca waves 01:01 < Macca> what'd you change??? 01:20 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 02:03 -!- benny`work [n=benny@p54AC3CD4.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:19 -!- Wombert [n=Wombert@dslb-088-064-013-061.pools.arcor-ip.net] has quit [] 02:28 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 03:50 < Macca> [Wed Aug 02 10:50:11 2006] [error] [client 203.206.205.212] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1204948 bytes) in /var/www/agavi/src/renderer/AgaviPhpRenderer.class.php on line 77, referer: https://development.maccasoft.com.au/lld/direct/www/client/find-contractor 03:50 < Macca> doesn't sound good 03:53 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 03:54 < Macca> ... 04:46 < Macca> someone fix it!!! 04:49 < Macca> it occurs when i do: $this->getContext()->getRequest()->setAttribute('result', $ret); 04:49 < Macca> $ret -> $ret[0] fixed it 04:49 < Macca> so nm :D 06:16 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 06:22 -!- shoan_ [n=shoan@59.92.153.132] has joined #agavi 06:25 -!- shoan [n=shoan@59.92.145.138] has quit [Read error: 60 (Operation timed out)] 08:07 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:14 < v-dogg> huomenta 08:21 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 08:42 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 08:52 < ttj> Huomen'. 08:54 < v-dogg> huoment 08:59 < v-dogg> gaahh... we really have to do something to agavi.org 09:00 < v-dogg> it's driving people away 09:00 < ttj> :-) 09:03 < ttj> So, what do you want to do about it? 09:06 < v-dogg> first, remove that video and update api docs 09:29 -!- shoan_ [n=shoan@59.92.153.132] has quit [] 09:35 -!- shoan [n=shoan@59.92.153.132] has joined #agavi 10:54 < v-dogg> "the icons are still in PNG format, the SVG files will be relased once the support for the format improves in KDE" 10:55 < v-dogg> wtf? how stupid is that 10:55 < v-dogg> (Crystal SVG) 11:02 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:06 < digitarald> morning 11:11 -!- shoan [n=shoan@59.92.153.132] has quit [] 11:15 -!- Wombert [n=Wombert@dslb-088-064-013-061.pools.arcor-ip.net] has joined #agavi 11:15 < raidman|Work> huoment, morning 11:35 -!- eremit [n=eremit@p5490D874.dip.t-dialin.net] has joined #agavi 11:35 < eremit> heyja 11:57 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 12:03 < v-dogg> Wombert: do you have any good _svg_ icon sets? 12:03 < v-dogg> crystal icons are released only in png 12:03 < v-dogg> "the SVG files will be relased once the support for the format improves in KDE" 12:03 < eremit> is it intended handleWriteError() is always executed, even if there is no error in set in the request ... 12:04 < eremit> v-dogg ... try kde-look and the gnome-look pages ^^ i used to get some free svg's from there 12:04 < v-dogg> ... and that's the most ridiculous reason I've ever heard 12:08 < eremit> uhm ... i don't get the idea of current trunk ... 12:18 < digitarald> did u try tango icon set? 12:19 < v-dogg> yes 12:19 < v-dogg> http://commons.wikimedia.org/wiki/Category:Nuvola_SVG_icons 12:23 < Wombert> have have either nuvola or crystal as svg 12:23 < Wombert> can't remember which 12:23 < Wombert> tango.... 12:23 < Wombert> besides that... none 12:24 < digitarald> just a question ... why is webapp now app? because of clear seperation from context? 12:24 < Wombert> because it doesn't have to be a web app 12:24 < v-dogg> because agavi irc bot is not a webapp 12:24 < Wombert> could be a deamon, an irc bot, a console application, whatever 12:24 < v-dogg> and renaming webapp to ircapp would have been... silly ;) 12:24 < digitarald> my speech ;) 12:26 < v-dogg> hey Wombert, I'm updating pear packaging 12:27 < v-dogg> who do we want to list as devs? 12:27 < v-dogg> currently there are bob, mike, you and I 12:28 < Wombert> one second 12:37 < Wombert> [11:04] eremit: is it intended handleWriteError() is always executed, even if there is no error in set in the request ... 12:37 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has joined #agavi 12:37 < Wombert> sure? 12:37 < Wombert> :p 12:39 < Wombert> eremit: are you returning true from validate()? 12:39 < Wombert> also, there was another issue yesterday with validateWrite() and such, right? 12:39 < Wombert> I will fix these then 12:48 < digitarald> the loggers.xml from the buildtools is not up to date ... i have no sample for changing my invalide working copy :( 12:48 < CIA-6> dominik * r883 /trunk/src/routing/AgaviWebRouting.class.php: 12:48 < CIA-6> fix missing initialization of a variable 12:48 < CIA-6> closes #304 12:48 < Wombert> oh yeah and v-dogg the tests are broken for logging 12:49 < v-dogg> woot? 12:49 < v-dogg> how? 12:49 < Wombert> dunno 12:49 < Wombert> run it 12:49 < Wombert> bbiab 12:49 < v-dogg> php AllTests.php, like this? 12:50 < Wombert> phpunit AllTests 12:50 < Wombert> inside tests2/ 12:50 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 12:50 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/304: Ticket #304 (defect) closed by dominik 12:50 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/883: Changeset [883]: fix missing initialization of a variable closes #304 12:54 < v-dogg> what the hell has happened! 12:55 < eremit> anybody knows a good smtp enabled mail class besides the pear ones ? 12:55 < v-dogg> that php mailer or something 12:57 * v-dogg slaps Wombert around a bit with a huge pink dildo 12:58 < v-dogg> http://trac.agavi.org/trac.cgi/changeset/874#file20 12:58 < v-dogg> you broke it 12:59 < v-dogg> LoggingConfigHandlerTest.php must be reverted back to http://trac.agavi.org/trac.cgi/changeset/863 13:17 < eremit> the xsd of config_handlers.xsd doesn't match the example in the config_handlers.xml in code_templates ... fyi 13:18 < digitarald> patch day :( 13:20 < v-dogg> eremit: what's wrong? 13:21 < eremit> the whole example ... isn't allowed to have childs ... 13:22 < eremit> it must be 13:31 < eremit> uh ... is there any way to get a custom config file being parsed and inserted into AgaviConfig automatically ? 13:33 < v-dogg> not officially 13:33 < eremit> :/ 13:33 < v-dogg> I wrote a parser for that 13:34 < eremit> uh? - my problem is the config_handlers only get parsed after dispatch ... 13:34 < eremit> the only solution i'm aware of would be a customized filter but a bit heavy overhead only for some additional app specific config files 13:35 < v-dogg> my parser parses a simple xml config and sets the values into AgaviConfig 13:36 < v-dogg> I use it between bootstrap() and dispatch() 13:36 < eremit> yeah that's where i tried to use AgaviConfigCache ... but .... 13:39 < v-dogg> http://pastebin.ca/111482 13:40 < v-dogg> and a sample config: http://pastebin.ca/111483 13:40 < v-dogg> (note that there's a raw content download after the listing) 13:41 < eremit> ty^^ 13:49 < CIA-6> v-dogg * r884 /trunk/ (2 files in 2 dirs): Default logging configs should now work almost out-of-the-box (you only need to mkdir %core.app_dir%/log/ and enable logging in settings.xml). 13:52 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 13:52 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/884: Changeset [884]: Default logging configs should now work almost out-of-the-box (you only ... 13:54 < Wombert> [12:34] eremit: uh? - my problem is the config_handlers only get parsed after dispatch ... 13:54 < Wombert> wrong 13:54 < eremit> hm? 13:56 < eremit> i get a AgaviConfigurationException '.../application.xml' does not have a registered handler. 13:56 < eremit> and it is surely registered ... 13:56 < v-dogg> no it isn't :) 13:57 < eremit> ok it is in the config_handlers.xml :P 13:57 < v-dogg> 13:58 < eremit> ah i'm answering wombert^^ ... 13:59 < eremit> you thinggie is working nicely ... 13:59 < v-dogg> ok 13:59 < v-dogg> so what gives you AgaviConfigurationException '.../application.xml'... ? 13:59 < eremit> if i have the following: 14:00 < eremit> 14:00 < eremit> and do a AgaviConfigCache::import(AgaviConfig::get('core.config_dir').'/application.xml'); between bootstrap and dispatch 14:01 < eremit> oh .. anyhow i just see i have misunderstood the usage of import havent i ? 14:02 < Wombert> yes 14:02 < v-dogg> $array = include(AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/application.xml')); 14:02 < Wombert> $config = include(AgaviConfigCache::checkConfig( 14:02 < Wombert> he was faster ;) 14:02 < Wombert> just "application.xml" _should_ work too 14:02 < v-dogg> copy-paste, you see :) 14:02 < Wombert> not sure tho 14:02 < eremit> yes...ty ... 14:03 < v-dogg> Wombert: did you get my dildo-slapping? 14:03 < Wombert> is enough, too 14:03 < Wombert> v-dogg: still busy 14:03 < Wombert> sorry 14:03 < v-dogg> np 14:03 < Wombert> will have a look at the dildos you bought later 14:03 < Wombert> harhar 14:03 < Wombert> :> 14:05 < eremit> nooOOOo...pls kill my boss ... after having the solution to the config problem he came in ... saw xml and just said ... we dont wanna use xml for configuration ... 14:05 * eremit gets his gun having to clear some things up. 14:07 < v-dogg> I sure would like to hear why not xml 14:07 < eremit> his reason is quite simple ... our support and installation team will never understand it ... rofl ... 14:08 < v-dogg> yeah, go ahead and get the gun 14:08 < v-dogg> your support and installation team is going to need to be put down 14:08 < eremit> yep ... 14:08 < eremit> but that's not my problem :PP its another division ... 14:09 < Wombert> eremit: show him http://trac.agavi.org/trac.cgi/wiki/ConfigurationFormatsCompared 14:09 < Wombert> (outdated tho!) 14:10 < eremit> yeah but it's nice to compare all of them ... 14:10 < eremit> anyhow ... now i simply do a AgaviConfig::Import( parse_ini_file( ... ) ); *shrugs* 14:14 < CIA-6> dominik * r885 /branches/dominik-validation_mods/src/filter/AgaviFormPopulationFilter.class.php: fix bug in fpf when a checkbox didn't have a value set but the given value in the populate array was false (it would have set the chechbox to true then) 14:14 < CIA-6> dominik * r886 /branches/dominik-validation_mods/src/ (2 files in 2 dirs): new convenience functions 14:15 < CIA-6> dominik * r887 /branches/dominik-validation_mods/src/request/AgaviRequest.class.php: and another convenience function 14:17 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 14:17 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/887: Changeset [887]: and another convenience function 14:17 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/886: Changeset [886]: new convenience functions 14:17 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/changeset/885: Changeset [885]: fix bug in fpf when a checkbox didn't have a value set but the given value ... 14:28 < CIA-6> david * r888 /trunk/src/config/AgaviConfig.class.php: phpdoc fix 14:29 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 14:29 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/888: Changeset [888]: phpdoc fix 14:55 -!- shoan [n=shoan@61.95.206.107] has quit [] 14:56 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 14:58 -!- [1]eremit [n=eremit@p5490D874.dip.t-dialin.net] has joined #agavi 14:59 -!- AgaviBot [n=dzuelke@dslb-088-064-013-061.pools.arcor-ip.net] has quit ["Bye Wombert!"] 14:59 -!- Wombert [n=Wombert@dslb-088-064-013-061.pools.arcor-ip.net] has quit [] 15:00 -!- eremit [n=eremit@p5490D874.dip.t-dialin.net] has quit [Nick collision from services.] 15:01 -!- [1]eremit is now known as eremit 15:05 -!- Wombert [n=Wombert@dslb-088-064-013-061.pools.arcor-ip.net] has joined #agavi 15:07 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit ["#killall raidman"] 15:16 < Wombert> re 15:51 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 16:08 -!- brujahRg [n=brj@212.175.111.100] has joined #agavi 16:10 -!- benny`work [n=benny@p54AC42F7.dip0.t-ipconnect.de] has joined #agavi 16:38 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 16:44 < eremit> wombert you want the users to prevent having logic in getDefaultView()? 16:44 < Wombert> yes 16:44 < Wombert> does 16:44 < Wombert> not 16:44 < Wombert> belong 16:44 < Wombert> there 16:44 < Wombert> that's why it's called getDefaultViewName() now 16:44 < eremit> why not remove the function? and add a constant ? 16:44 < v-dogg> ? 16:44 < eremit> to the class 16:45 < Wombert> you can't overwrite constants in child classes 16:45 < v-dogg> how would that work? 16:45 < v-dogg> yeah 16:45 < Wombert> plus, getDefaultViewName() _could_ return array('module', 'viewname'); 16:45 < eremit> and a public var ? s.t. which cannot have logic ? 16:46 < eremit> it's senseless imho to have a function which does not is allowed to have logic ... 16:46 * Wombert sighs 16:46 < Wombert> if you need logic on the first request, either put it into the view if you like 16:46 < Wombert> or add an executeRead() 16:47 < eremit> sure ... i'm only complaining about a function without the usage of a function ... 16:48 < Wombert> it is a function 16:48 < Wombert> it could even include logic to determine what the default view is 16:48 < Wombert> the problem is 16:49 < Wombert> many people had their actions serve POST 16:49 < Wombert> and then in getDefaultView 16:49 < Wombert> they implemented logic to read stuff from the database etc 16:49 < eremit> yes but WHY do you use a function if YOU dont want to have logic there ... there are logic less solutions ... 16:50 < Wombert> maybe you need logic to determine what view to use 16:51 < eremit> which could be done in executeRead 16:51 < eremit> at least i'm doing it there ... 16:54 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:57 < v-dogg> fair point 17:12 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:24 < CIA-6> v-dogg * r889 /trunk/etc/phing/AgaviPackageTask.php: Updated pear package info 17:35 -!- Wombert_ [n=Wombert@dslb-088-064-012-112.pools.arcor-ip.net] has joined #agavi 17:35 -!- Wombert [n=Wombert@dslb-088-064-013-061.pools.arcor-ip.net] has quit [Nick collision from services.] 17:36 -!- Wombert_ is now known as Wombert 18:13 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:42 < Wombert> eremit: are you there 18:48 < eremit> Wombert yes 18:48 < Wombert> you said handlError is always executed 18:48 < Wombert> I can't reproduce that 18:48 < Wombert> also, you said validateWrite() isn't executed if there is no executeWrite() 18:48 < Wombert> can't reproduce that either 18:48 < eremit> i will try to produce that again ... 18:49 < eremit> and send you the exact code ... 18:49 < eremit> handleError is not always executed ... i recognized it as my fault ... 18:49 < Wombert> you are aware that if there is no execute method at all, it won't run validation, right? 18:49 < eremit> no ... 18:49 < Wombert> i.e. if your action has only executeWrite, it won't run validateRead 18:49 < eremit> maybe that was my fault 18:50 < Wombert> because the action doesn't serve the READ method 18:50 < Wombert> so it doesn't validate either 18:50 < Wombert> has always been like that, by the way 18:50 < Wombert> okay looks like we solved these problems then ;) 18:51 < eremit> yeah ... 18:51 < eremit> oh that late ... brb must do some shopping .oO 18:55 -!- brujahRg [n=brj@212.175.111.100] has quit [] 19:15 < v-dogg> can we make some sort of a policy what class variables are by default private and what are protected 19:16 < v-dogg> or is there any good reason to keep something private? 19:16 < v-dogg> context perhaps? 19:16 < v-dogg> I wanna close http://trac.agavi.org/trac.cgi/ticket/107 19:20 < impl> I've found fairly little use for private 19:20 * impl looks through SecurityUser 19:26 < digitarald> short question ... why can i set my modpub/ directory in config and its ot used anywhere? would be cool to have a function like getBaseHref() ... getModpub() ... 19:27 < Wombert> diy 19:27 < Wombert> I never used modpub 19:27 < v-dogg> AgaviConfig::get('core.modpub'); (or something) 19:27 < digitarald> its redundant? 19:28 < Wombert> pretty much yeah 19:28 < Wombert> at least I think so 19:28 < digitarald> agavi never used it but its in the main settings file ... ? 19:28 < Wombert> because modules aren't really modular 19:28 < digitarald> yes 19:28 < digitarald> i would not use it too, the getBaseHref is all i need 19:29 < digitarald> why should i put my images/css/js in modpub ... 19:29 < Wombert> modpub/Modulename/blah 19:29 < Wombert> but nonsense imho 19:30 < Wombert> should we throw away modpub? 19:30 < Wombert> v-dogg? 19:30 < Wombert> devosc? 19:30 < Wombert> digitarald? 19:30 < Wombert> impl? 19:30 < Wombert> Macca? 19:30 < impl> I always figured modpub was for static content not related to the internal workings of Agavi 19:30 < impl> That's what I used it for in M2 19:31 < impl> If you were to have your content on some other server modpub might be useful 19:31 < impl> e.g. modpub = http://content.mydomain.com/ 19:32 < digitarald> static content in an extra subdomain ... not the usual way ... the entry is redundant 19:33 < digitarald> static content is in my htdocs ... which is 'pub' in the sample app 19:33 < impl> If you have a lot of content, maybe you'd put it in a subdomain 19:33 < impl> Lots and lots of large sites use e.g. http://images.site.com/ 19:34 < v-dogg> or you might have some general css files there 19:34 < v-dogg> I can see it not beeing impossible :) 19:35 < digitarald> but i don't want to access AgaviConfig::get('core.modpub') ... in my templates??? 19:36 < digitarald> then there has to be another implementation like $r->getModpub() 19:36 < Wombert> impl: good example 19:37 < Wombert> however, you don't have all of your content there typically 19:37 < Wombert> so I still think it's redundant 19:37 < Wombert> v-dogg: there are occasions where private makes sense 19:37 < Wombert> e.g. all view and action members should be private, imho 19:38 < v-dogg> agreed 19:38 < Wombert> I already cleaned up action and database completely yesterday 19:39 < v-dogg> I'm cleaning up everything I can find :) 19:39 < v-dogg> but phpdocs only 19:40 < Wombert> hey should I make FPF an action filter again 19:40 < Wombert> dominik suggested that 19:40 < Wombert> he argued that you can't have it per module otherwise 19:44 < v-dogg> why did you make it global? 19:45 < CIA-6> david * r890 /trunk/src/filter/ (3 files): really really minor cosmetic things 19:45 < Wombert> main reason was 19:45 < Wombert> uh 19:45 < Wombert> two ^^ 19:45 < Wombert> a) can't run it twice 19:45 < Wombert> b) you're guaanteed output is complete by then 19:45 < Wombert> I realize that this should be the casae for an action filter, too, if it's the first one but... well 19:46 < Wombert> how about a method that indicates whether or not a filter has run already? 19:46 < Wombert> or, even better, how about execute() and executeOnce() 19:46 < Wombert> ? 19:46 < Wombert> you know this 19:46 < Wombert> static $run 19:46 < Wombert> blah is nonsense 19:46 < Wombert> and dangerous, too, if you run two contexts 19:47 < v-dogg> hey btw, I got strict warnins from.... uhm... 19:48 < v-dogg> somewhere :) 19:48 < v-dogg> storage::write 19:48 < v-dogg> write ($key, &$data) 19:48 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Bye Bye"] 19:49 < v-dogg> is that & really a good idea? 19:50 < Wombert> only very few &s are necessary 19:51 < Wombert> (cleaning up loggers right now) 19:54 < Wombert> ehm 19:54 < Wombert> what's up with FileAppender? 19:55 < Wombert> _getHandle() 19:55 < Wombert> wtf 19:57 < v-dogg> ? 19:59 < v-dogg> is something else wrong other that that underscore? 20:00 < v-dogg> have you touched something else than logging now? 20:00 < v-dogg> I'm about to commit phpdoc fixes into config, renderer and storage 20:01 < Wombert> go go go 20:02 < impl> goooo! 20:02 < Wombert> public function &format($message) 20:02 < Wombert> { 20:02 < Wombert> $return = sprintf('%s', $message->__toString()); 20:02 < Wombert> return $return; 20:02 < Wombert> } 20:02 < Wombert> this is _such_ a nonsense 20:02 < Wombert> I mean 20:02 < CIA-6> v-dogg * r891 /trunk/src/ (9 files in 3 dirs): phpdoc fixes. refs #137. 20:02 < Wombert> wtf 20:02 < Wombert> seriously 20:02 < Wombert> wtf 20:03 < v-dogg> just a redundant sprintf :) 20:03 < Wombert> I mean &format 20:03 < Wombert> yeah and the sprintf 20:03 < Wombert> lol 20:04 < Wombert> didn't pay attention to that ^^ 20:04 < v-dogg> & is also... uhm... not needed :) 20:04 < Wombert> the rotating appender is yours, right? 20:04 < Wombert> because the phpdoc says bob 20:05 < v-dogg> ah, I've missed that 20:05 < Wombert> np 20:05 < Wombert> fixed it 20:05 < v-dogg> thanks 20:05 < Wombert> don't mention it! 20:06 < v-dogg> already did! 20:06 < Wombert> even though I suffered freat privations and all 20:06 < Wombert> great even 20:06 -!- shoan [n=shoan@59.92.154.81] has joined #agavi 20:06 < Wombert> changing an @author phpdoc isn't easy, I tell ya 20:06 < Wombert> you need loads of skill and experience and 20:06 < Wombert> okay I'll shut up already 20:06 * impl grins 20:07 < impl> Wombert: I think the solution to decorators is nested actionstacks 20:07 < Wombert> and chaim 'em? 20:07 < impl> Well, let me show you what I was thinking 20:08 < v-dogg> action tree 20:08 < Wombert> go 20:08 < Wombert> anyone ever measured file_put_contents vs fwrite? 20:08 < Wombert> because in FileAppender you could just file_put_contents with FILE_APPEND flag 20:08 < Wombert> probably slower tho 20:08 < Wombert> open the file each time etc 20:16 < Wombert> we don't need &format, do we? 20:22 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 20:22 < Wombert> arrrrggghhhhh 20:22 * Wombert bangs head against wall 20:23 < Wombert> these tests 20:23 < Wombert> they have to go 20:23 < Wombert> they suck 20:23 < Wombert> suck 20:23 < Wombert> suck 20:27 < raidman> evening guys 20:27 < Wombert> hi 20:29 < raidman> hi :) 20:29 < shoan> what sucks? I thought it rocked ;) 20:33 * impl can't stand unit testing 20:34 < Wombert> it's much needed 20:34 < raidman> impl, but how you test your apps? 20:34 < Wombert> but it gets on my nerves 20:35 < Wombert> big time 20:35 < Wombert> I awear 20:35 < Wombert> swear 20:35 < Wombert> and I swear when I must use them ^^ 20:35 < impl> Wombert: Sorry it took me so long to make this (I had to go eat lunch): http://noelism.org/flow.txt 20:35 < Wombert> impl: hmmh 20:35 < Wombert> you got mad ascii art skillz brotha 20:35 < Wombert> :D 20:36 < impl> haha 20:36 < impl> :p 20:36 < Wombert> the thing is 20:36 < Wombert> if you forward in/after the action 20:36 < Wombert> you a) have the problem that the forwarded content comes before the action's 20:36 < Wombert> b) uh 20:36 < Wombert> what was that again 20:36 < Wombert> ah yeah 20:36 < Wombert> it's presentational 20:36 < Wombert> you know? 20:36 < Wombert> slots and such 20:37 < Wombert> ah I see a view there 20:37 < Wombert> hmmh 20:37 < impl> Yeah, the view would have to treat the result of the ActionStack->getLastEntry()->getPresentation() as a variable 20:40 < raidman> Wombert, that is why you want throw away current execution flow? 20:41 < raidman> you want do that in queue against stack? 20:41 < Wombert> there are some things 20:41 < Wombert> like the fact that you can't forward in slots 20:42 < Wombert> and, due to that, probably not use a decorator inside a decorator etc 20:42 < Wombert> so the current model has weaknesses 20:42 < Wombert> so we need a new one 20:42 < Wombert> many people don't like slots much either 20:42 < Wombert> which would be another reason 20:42 < Wombert> I guess we need some major out-of-the-box-thinking to come up with something better 20:42 < impl> The major problem I see with adding a whole nested ActionStack dealie is that it would probably seriously slow down execution time 20:43 < impl> Decorators are bad enough as is 20:43 < impl> Plus it sounds complicated :\ 20:44 * Wombert ponders what to do about this test bullshit 20:44 * Wombert concludes that if the test refuses to work, he's gonna throw it away 20:44 < impl> hehe 20:44 < raidman> you can decorate your components in a module, every components coulde be somthing like modules 20:44 < raidman> this is wath i'm thinking about 20:45 < Wombert> see 20:45 < impl> What is a "component" 20:45 < Wombert> I'd also rework the entire concept of modules, actions, components a little 20:46 < Wombert> yeah exactly 20:46 < Wombert> I think modules as they are now are pretty redundant 20:46 < Wombert> not entirely, but pretty 20:46 < impl> They're less a module and more of a group 20:47 < impl> So maybe we should just scratch modules altogether and go with a more flexible grouping system 20:47 < impl> these actions belong to this group, this group, and this group 20:47 < Wombert> consider a forum 20:47 < Wombert> a forum has a public interface 20:47 < impl> Sort of like UNIX users/groups 20:47 < Wombert> and an administration area 20:47 < Wombert> and a news engine 20:47 < Wombert> too has public interface and admin area 20:48 < Wombert> now you want to group both admin interfaces together 20:48 < Wombert> and both public interfaces 20:48 < Wombert> at least in a way 20:48 < Wombert> I dare to say 20:48 < Wombert> you can't achieve that 20:48 < impl> Not with the current system 20:48 < Wombert> you can achieve the separation 20:48 < Wombert> but not the drop-in functionality 20:48 < Wombert> where you take a forum... component, drop it into an existing app, and it works 20:48 < Wombert> there'll always be customization involved but... well 20:48 * raidman is wondered really what's a module? 20:49 < Wombert> we can work towards a structure to support it 20:49 < Wombert> raidman: that really depends 20:49 < raidman> Wombert, in a CMS case? 20:49 < Wombert> for example, my modules typically are "frontend" and "backend" for public part and administration part 20:49 < Wombert> and I use sub-actions to group stuff together 20:49 < raidman> Wombert, me too 20:49 < impl> Wombert: We could do it very much like UNIX permissions actually... for the grouping I mean 20:49 < Wombert> yeah in a cms I'd have "admin" or so and "rendering" modules 20:49 < Wombert> but see 20:49 < Wombert> that's just me and my taste 20:50 < Wombert> no idea what others do 20:50 < impl> It could have a primary group 20:50 < impl> and belong to other groups 20:50 < raidman> Wombert, somthing like News/actions/Admin/Blah 20:50 < raidman> Wombert, somthing like News/actions/Public/Blah 20:50 < impl> That way we could organize the filesystem by primary group but still allow participation/interaction in other groups 20:50 < impl> Would that provide drop-in functionality? 20:53 < raidman> Wombert, hmm, you have just two modules? 20:54 < Wombert> impl: we'll never have drop-in functionality 20:54 < Wombert> because you have to customize output 20:54 < impl> I don't see why not 20:54 < impl> hm 20:54 < Wombert> well 20:54 < Wombert> you at leaast have to define your decorators in all the forum's views etc 20:54 < Wombert> which makes it nasty to begin with 20:54 < Wombert> and then there are other things 20:54 < Wombert> such as routes 20:54 < Wombert> etc etc etc 20:54 < Wombert> that's whx the milestone is 2.0 ;) 20:55 < Wombert> but I was thinking about something where at least an entire package could be dropped in in one piece, and it provides functionality for the different parts, and... ah I don't know :| 20:55 < Wombert> afaik, zimba (from switzerland, disappeared long ago) had worked on an implementation of dependency injection or something to replace decorators, slots, and solve quite a lot of problems 20:55 < Wombert> don't have a clue what he did tho 20:56 < raidman> Wombert, check this out please: http://osc-dev.opensourceclub.org/browser/trunk/webapp/modules 20:57 < Wombert> raidman: yes I believe that's the way it is supposed to work 20:57 < Wombert> but 20:57 < Wombert> you then have the problem that you can't separate things, you know? 20:57 < Wombert> you have createnewsaction and displaynewsaction in the same place 20:58 < Wombert> that's why I suggested we change this completely in agavi 2 20:58 < Wombert> I just don't know how yet ;) 20:58 < raidman> hmm 20:58 < raidman> you mean it could be in different plase, but what's is benefit? 20:59 < raidman> place* 21:00 < eremit> Are you realling thinking about 2.0 already ? oO 21:00 < raidman> afaik, zimba implement dependency injection for agavi? 21:01 < impl> eremit: They have open tickets for it and everything 21:02 < eremit> yeah, but if you start thinking about 2.0 maybe i should write down a wishlist ... :P 21:03 < eremit> Wombert, how difficult would it be to create ONE agavi.php file which has all agavi classes included already ? 21:03 < Wombert> what for 21:03 < eremit> at least the elemental ones 21:03 < Wombert> that is massive overhead 21:03 < eremit> performance 21:03 < eremit> i dont care about ram ... :P ... ram is cheap and fast ... but io access is slow ... 21:04 < impl> Wombert: That's what M2 did 21:04 < eremit> i just thinking about where to get the last bit of performance out of the app ... 21:04 < impl> It had all the core classes in mojavi-classes.php or somesuch 21:04 < impl> And you just included it 21:05 < Wombert> right 21:05 < eremit> prado did the same ^^ they have a package with all core classes in one file ... 21:05 < Wombert> do it yourself? :p 21:05 < eremit> sure i will, i only ask if it's complicated ... are there more requires than the autoload and bootstrap requires 21:06 < Wombert> no 21:06 < Wombert> well compile.xml 21:06 < Wombert> but 21:06 < Wombert> that doesn't really matter much 21:06 < Wombert> it's just another file with many includes in it 21:10 < eremit> ty i will check it tomorrow and make a profiling about it ... 21:16 < raidman> Wombert, impl, shoan, eremit I have to go guys, night ;) 21:16 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 21:22 < v-dogg> doesn't compile.xml do just that? 21:22 < v-dogg> it parses all the core code into one file 21:23 < v-dogg> just add all classes you want 21:27 < Wombert> not all of them 21:27 < Wombert> some are included in Agavi::bootstrap(); 21:27 < v-dogg> but just a few 21:27 < Wombert> yeah 21:28 < Wombert> I don't get the point of it either 21:28 < v-dogg> so that's shouldn't be a problem 21:29 < v-dogg> I counted 6 21:30 < v-dogg> ah there's more 21:30 < CIA-6> david * r892 /trunk/ (17 files in 7 dirs): cleaned up logging and fixed the pile of stuff I broke in r874. Can't be bothered to write down the tickets this refs. 21:31 < Wombert> right 21:31 < Wombert> I deserve my pizza now 21:31 < Wombert> brb 21:45 -!- [1]eremit [n=eremit@p5490C758.dip.t-dialin.net] has joined #agavi 22:03 -!- eremit [n=eremit@p5490D874.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 22:03 -!- [1]eremit is now known as eremit 22:09 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 22:51 -!- shoan [n=shoan@59.92.154.81] has quit [] 22:52 -!- shoan [n=shoan@59.92.154.81] has joined #agavi --- Day changed Thu Aug 03 2006 00:35 < Macca> Wombert? 00:37 < Wombert> eah? 01:19 < Macca> hi :D 01:19 < Macca> [Wed Aug 02 10:50:11 2006] [error] [client 203.206.205.212] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1204948 bytes) in /var/www/agavi/src/renderer/AgaviPhpRenderer.class.php on line 77, referer: https://development.maccasoft.com.au/lld/direct/www/client/find-contractor 01:19 < Macca> got that last night 01:19 < Macca> err yesterday 01:23 < Macca> hmm.. i don't like how you have config.php and config/ in the same directory. 01:23 < Macca> auto complete always messes up 01:23 < Macca> can't you rename one to settings or something? 01:26 < Macca> Configuration directive "core.app_dir" not defined, terminating... 01:26 < Macca> ??? 01:27 * Macca pokes Wombert 01:28 < Wombert> 8MB is not quite enough nowadays 01:28 < Macca> is that a php.ini bit? 01:28 < Wombert> memory_limit 01:29 < Wombert> core.webapp_dir => core.app_dir 01:29 < Macca> right 01:30 < Macca> so that's just updating config.php ? 01:30 < Wombert> maybe configs, too 01:30 < Wombert> if you have autolaods etc defined 01:31 < Macca> nah 01:31 < Macca> so yeah, can we get config.php or config/ renamed? :) 01:32 < Wombert> rename it yourself ;) 01:32 < Wombert> init.php or so 01:32 < Macca> no :( 01:33 < Macca> hmm. what's the best way to write a database wrapper/layer? 01:33 < Macca> so i don't have to write the SQL throughout my views/actions ? 01:34 < Wombert> use propel 01:34 < Wombert> and/or put your stuff into models 01:34 < Wombert> that's what they are for 01:35 < Macca> models? 01:36 < Macca> i haven't seen any demos of models :( 01:36 < Macca> and propel is too hard :( 01:40 < Macca> oh man 01:40 < Macca> i have to write an XML describing my database 01:40 < Macca> ffs! 01:42 < Macca> my database is massive. (in a sense..) i cbf doing the XML fo rit 01:43 < Macca> surely there's another way? 02:13 < Wombert> propel ;) 02:13 < Wombert> it's not hard 02:13 < Wombert> plus you're a developer 02:13 < Wombert> an engineer 02:14 < Wombert> you can figure that out! 02:14 < Wombert> or use models 02:14 < Wombert> they encapsulate business logic 02:14 < Wombert> anyways, I really gotta go, sorry man 02:19 < Macca> i don't understand models :( 02:21 < Wombert> figure out the best way to use them 02:21 < Wombert> $usr = $this->getContext()->getModel('User')->loadById(134); 02:21 < Wombert> or so 02:21 < Wombert> ->create(); 02:21 < Wombert> ->save(), 02:21 < Wombert> whatever 02:21 < Wombert> I have no idea either, I don't use them 02:21 < Wombert> anyways, I really gotta go to bed now 02:32 -!- benny`work [n=benny@p54AC42F7.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:37 -!- Wombert [n=Wombert@dslb-088-064-012-112.pools.arcor-ip.net] has quit [] 02:39 < Macca> he has no idea how to use models.. but he created them? :S 02:40 < Macca> how do i even make models? :S 03:16 < Macca> v-dogg? 03:31 < Macca> IMPL 04:21 < Macca> how do i make route->gen() give a full URL (with domain) ? 05:35 < Macca> hmm 05:35 < Macca> it'd be so awesome if i could use quickform in agavi 07:02 < Macca> ................. 07:29 < v-dogg> huomenta 07:29 < v-dogg> Macca: gen('name', $params, array('relative'=>false) ); 07:30 < Macca> huomenta? 07:31 < Macca> can i start writing the docs for again? :D 07:31 < v-dogg> http://www.canuckabroad.com/language/finnish.shtml 07:32 < Macca> ? 07:32 < Macca> oh 07:32 < Macca> morning 07:32 < Macca> you're finnish? 07:33 < v-dogg> yep 07:34 < Macca> cool 07:34 < Macca> have you seen the pear HTML_QuickForm thingy? 07:35 < v-dogg> no 07:35 < Macca> it's pretty cool 07:35 < Macca> like a form generator 07:35 < v-dogg> but if it's pear, I probably don't want to either :) 07:35 < Macca> and there's HTML_QuickForm_Controller.. which handles multiple page forms 07:35 < Macca> and validation and stuff 07:35 < Macca> it's quite handy. it would be cool if something similar were available in agavi? :) 07:36 < v-dogg> is there a reason you cannot use it with agavi? 07:36 < Macca> i'm scared :( 07:37 < v-dogg> I need to head to work 07:38 < Macca> aww :( 07:38 < v-dogg> I'll be there within 20 mins 07:38 < Macca> woohoo 07:38 < Macca> see ya then :D 07:38 < v-dogg> see ya 07:42 < Macca> there yet? 07:42 < Macca> how bout now? 07:45 < Macca> wtf 07:45 < Macca> did someone break the exception page? 07:45 < Macca> some images aren't being drawn properlly :S 07:56 < Macca> back now 07:56 * Macca shrugs 07:56 < Macca> prob ff screwing up 07:56 < Macca> what's wrong with returning an array in an action's execute to redirect to another view? 07:59 < Macca> i gotta go to tafe :( 07:59 < Macca> cya 08:00 < Macca> meh 08:00 < Macca> no point 08:00 < Macca> still here :D 08:04 < v-dogg> tafe? 08:04 < v-dogg> < Macca> what's wrong with returning an array in an action's execute to redirect to another view? 08:04 < v-dogg> that doesn't work? 08:05 < Macca> it does 08:05 < Macca> but wombert always says "dont do that" 08:05 < Macca> he says to do it in a view 08:05 < Macca> why? 08:05 -!- Wombert [n=Wombert@dslb-088-064-012-112.pools.arcor-ip.net] has joined #agavi 08:05 * Macca hides 08:06 < v-dogg> it's a separation-of-logic thing 08:06 < v-dogg> I'm not sure if redirection to another _view_ is that bad 08:07 < v-dogg> are you sure Wombert wasn't talking about redirecting to another action? 08:08 < v-dogg> but yeah, maybe you shouldn't redirect to another actions views from an action 08:08 < Macca> not sure. 08:08 < Macca> :) 08:09 < v-dogg> but what's that HTML_QuickForm 08:10 < Macca> what about it? 08:10 < Macca> http://user.maccasoft.com.au/~brendanm/test/examples/qf/ 08:10 < Macca> it generates forms 08:10 < Macca> have a look at those examples 08:10 < Macca> (some don't work btw :) 08:10 < Macca> http://user.maccasoft.com.au/~brendanm/test/examples/qf/rules-builtin.php 08:13 < v-dogg> I can't see no reason why you couldn't use that (generation and client-side validation) with agavi 08:13 < Macca> yeah i know 08:13 < Macca> but it's the controller side 08:13 < Macca> sec 08:13 < Macca> http://user.maccasoft.com.au/~brendanm/test/examples/regWizard.php 08:13 < Macca> like that 08:14 < v-dogg> hmm... 08:14 < v-dogg> I still see no problem :) 08:14 < Macca> mmm 08:18 < Macca> and how do i create models? 08:19 < eremit> morning ... 08:19 < Macca> how's the rsi? 08:20 < eremit> better ^^ ... but working on the keyboard only with bandages with steel inlets on the hands :/ 08:20 < v-dogg> Macca: create as in code, or create at runtime? 08:20 < Macca> as in code 08:20 < Macca> wonderful. 08:21 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 08:23 < v-dogg> Macca: just code... you know... morning 08:24 < v-dogg> huomenta 08:24 < Macca> then what? 08:24 < Macca> how do i use it? 08:25 < v-dogg> just like a normal class or via $this->getContext()->getModel('MyModel'); 08:26 < Macca> how do i make sure it's loaded? 08:26 < Wombert> ? 08:27 < v-dogg> morn wombie 08:28 < Wombert> cheers man 08:28 < Macca> guten morgen wombert. 08:28 < eremit> morning raidman, morning wombert :P 08:30 < Macca> it's afternoon actually. 08:30 < Macca> Thursday, August 03rd 2006 15:30:58 GMT+10 08:36 < raidman|Work> eremit, :) 08:39 < v-dogg> Macca: in what part of Australia you live? 08:39 < v-dogg> you are +7 h from finland 08:39 < Macca> victoria 08:39 < v-dogg> ok 08:39 < Macca> i'm GMT+10 08:40 < Macca> AEST 08:40 < v-dogg> I was in NZ '98 08:41 < v-dogg> exchange student 08:41 < Macca> cool 08:41 < Macca> NZ != AU :D 08:42 < v-dogg> guess what, I knew that :) 08:42 < Macca> you'd be amazed how many people don't :S 08:43 < v-dogg> people are ignorant 08:43 < v-dogg> mostly just americans though 08:43 < Macca> yep 08:44 < Wombert> hey 08:44 < Wombert> did I mention 08:44 < Wombert> that I could become an australian citizen 08:44 < Wombert> I found that out the other day 08:44 < Macca> YAY 08:44 < Macca> GOOOOOOO WOMBERT 08:44 < Wombert> I just need the time to talk to a lawyer and figure out how NOT to lose the german one when I apply for the australian 08:45 < Macca> my brother gave up his US citizenship when he went to germany 08:45 < Wombert> this really sucks if you ask me 08:45 < Macca> what does? 08:45 < Wombert> germany and well... bulgaria or so are the only countries that actively ban you from having a dual citizenship 08:46 < Wombert> most countries just don't care at all 08:46 < Macca> one thing that shits me with PHP is if you have a function that returns an array you can't do my_func()[0] 08:46 < Macca> aww :( 08:46 < Wombert> list($foo) = my_func(); 08:46 < Macca> we had a german exchange student once 08:47 < eremit> isn't {my_func()}[0] possible ? 08:47 * Macca shrugs 08:47 < Wombert> nope 08:47 < Wombert> php can't do this kind of dereferencing 08:47 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 60 (Operation timed out)] 08:47 < Wombert> in fact, if a method returns an object, you can only dereference that since php5 08:48 < Macca> wow. 08:48 < Wombert> $this->getContext()->getRequest(); etc 08:48 < Macca> man you would die if you saw the code behind this, wombert. 08:48 < Wombert> if you say so ;) 08:49 < Macca> i'm ashamed of it :( 08:55 < eremit> gna ... anybody knows a good javascript calendar picker ? ... 08:58 < Wombert> you bet 08:58 < Wombert> http://www.dynarch.com/projects/calendar/ 09:00 < eremit> ty ... i'll try it ... 09:00 < eremit> :) 09:00 < Wombert> the best there is hands down 09:03 < Macca> can classes exist inside classes? 09:06 < Macca> i don't get it.. 09:06 < Macca> are templates part of a class? 09:09 < v-dogg> kinda 09:09 < v-dogg> they are included inside a renderer 09:09 < v-dogg> so you can use $this->getContext() for example 09:10 < Macca> yeah. 09:10 < Macca> which causes problems if i wanted a class inside my template :S 09:10 < v-dogg> you want to declare a class inside a template? 09:10 < v-dogg> wanna tell us why?-) 09:10 < Macca> .. quickform :) 09:11 < Macca> http://user.maccasoft.com.au/~brendanm/test/examples/regWizard.phps 09:11 < Macca> i need classes like that 09:12 < v-dogg> ok... 09:13 < Macca> =) 09:13 < Wombert> why are you using quickform again? 09:14 < Macca> makes forms easier? 09:14 < Wombert> forms _are_ easy with agavi! 09:14 < Macca> ... 09:14 < Macca> i still have to do the HTML, etc.. 09:14 < Macca> plus going back on forms 09:14 < Macca> changing stuff etc 09:14 < Macca> vlidation 09:14 < Macca> validation* 09:15 < Wombert> uh 09:15 < Macca> i know what you're going to say! 09:15 < Wombert> form population filter will mark erroneous forms and their labels 09:15 < Wombert> and insert values again 09:15 < Wombert> check checkboxes 09:15 < Macca> but it's too hard :( 09:15 < Wombert> select select fields etc etc etc 09:15 < Wombert> ?????? 09:16 < Wombert> it is _not_ too hard 09:16 < Wombert> v-dogg: wanna help him make fpf work? 09:16 < Wombert> I'm in a hurry 09:16 < Macca> hehe 09:23 < Macca> i need pages with states. 09:24 < Macca> for this one in particular i need: page1) input search criteria, page2) results from search, with option to select result and continue to page3 with that result, or return back to page1 (restoring defalt values), page3) action to take with selected result, leading on to page4a/4b, etc... 09:24 < Macca> quickforms using HTML_QuickForm_Controller seems ideal for this. 09:27 < Macca> feel free to convince me otherwise... 09:28 < Macca> ... 09:30 < Macca> ? 09:30 < Macca> fine :( 09:31 -!- v-dogg [n=vmakinen@130.232.39.52] has quit [Read error: 110 (Connection timed out)] 09:33 < Wombert> no time 09:33 < Wombert> sorry 09:33 < Wombert> ask v-dogg when he is bag 09:33 < Wombert> back 09:33 < Wombert> lol 09:33 < Wombert> cu tomorrow 09:33 -!- Wombert [n=Wombert@dslb-088-064-012-112.pools.arcor-ip.net] has quit [] 09:41 < Macca> :( 09:42 < Macca> this is to fkn hard! 09:42 * Macca cries 09:50 < Macca> someone make v-dogg come back! 10:02 -!- shoan [n=shoan@59.92.154.81] has quit [] 10:09 < Macca> nnnooooo 10:09 < Macca> come baaack 10:36 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:44 < ttj> A slightly off topic question, but anyone competent with XML Schemas here? 10:44 < ttj> http://phpfi.com/136840 12:01 < Macca> where's v-dogg ? :( 12:37 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 13:01 -!- eremit [n=eremit@p5490C758.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 13:01 -!- eremit [n=eremit@p5490C758.dip.t-dialin.net] has joined #agavi 13:38 -!- shoan [n=shoan@61.95.206.107] has quit [] 14:17 < eremit> oO it'S getting empty here ... 14:19 < Macca> uhoh :( 14:20 < eremit> gna ... where's wombert ... 14:20 < eremit> $this->getContext()->getController()->forward() throws an exception because of this bloody parameter locking 14:22 < Macca> parameter locking? 14:23 < Macca> where are you calling that? 14:23 < eremit> yes the $request parameters are locked ... so nobody can change them ... 14:23 < eremit> it's called automatically ... try a $this->getContext()->getRequest()->setParameter('module','foobar'); in an action 14:23 < eremit> and you see the exception :P 14:40 -!- shoan [n=shoan@59.92.154.81] has joined #agavi 15:28 -!- shoan_ [n=shoan@59.92.170.117] has joined #agavi 15:29 < shoan_> is this room quite or am I not connected? 15:29 < eremit> quiet 15:29 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 15:29 < shoan_> damn typo :) 15:29 < eremit> heh ... i guessed right ;) 15:30 < eremit> shoan_, are you actively using agavi atm ? 15:30 < shoan_> actively used 0.9/0.10 15:30 < eremit> hmm dmn ... 15:30 < shoan_> not the new one 15:30 < shoan_> not *yet* 15:30 < eremit> i have some problems using the forward() in the new one ... 15:30 < shoan_> starting a 2 projects next week using the new one 15:31 < shoan_> not sure if I can help you there :( 15:31 < eremit> oO ... nice ... started my current one last week and have to be finished with the first prototype at saturday :/ 15:32 < eremit> i don't think you can help with the redirect... i guess its a bug because of womberts lock request parameter paranoia 15:32 < shoan_> i don't use new technology for tight deadlines ;) 15:32 < eremit> heh ... i only had the choice of _new_ technology ... had an outtime of nearly 4 month ... 15:32 < eremit> why refreshing old knowledge when learning new is not really slower 15:32 < shoan_> point :) 15:33 -!- shoan [n=shoan@59.92.154.81] has quit [Read error: 60 (Operation timed out)] 15:33 -!- shoan_ is now known as shoan 15:33 < shoan> finally :) 17:12 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit ["#killall raidman"] 17:13 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 17:26 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:30 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 19:31 < raidman|Work> good night shoan impl eremit :) 19:31 < raidman|Work> good night agavi guys :) 19:31 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit ["#killall raidman"] 19:43 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 19:50 < eremit> hey v-dogg 19:50 < v-dogg> heya 19:50 < eremit> are you involved in the parameter lock toggle part of request ? 19:51 < eremit> there's a serious bug or an api change without any notification ... 19:51 < v-dogg> not really 19:51 < v-dogg> what's wrong? 19:51 < eremit> [13:18] $this->getContext()->getController()->forward() throws an exception because of this bloody parameter locking 19:51 < impl> I don't understand the purpose of parameter locking 19:51 < v-dogg> yep, that's intentional :) 19:51 < impl> What is it supposed to do? Prevent race conditions? 19:52 < eremit> and how should i forward ? 19:52 < impl> (But Agavi isn't threaded?) 19:52 < v-dogg> eremit: return array('module', 'action') from view::execute 19:52 < eremit> i want to change action in action ... 19:52 * impl blinks 19:52 < eremit> not in view 19:53 < eremit> impl, i dont understand it either, and i really dislike it ... 19:53 < v-dogg> impl: it prevents you from using un-validated parameters and forwarding from action 19:53 < impl> Why wouldn't you want to forward from the action? 19:53 < eremit> i want the freedom to use my data and change my data wherever i like ... 19:53 < v-dogg> because forwarding from action is where chaos lies 19:53 < v-dogg> :P 19:53 < impl> I forwarded from the action all the time in Mojavi 19:53 < eremit> and how should i do the following ... : 19:53 < impl> then I just returned VIEW_NONE 19:54 < impl> I don't want to make a whole separate view just to forward :\ 19:54 < eremit> ^^ exactly ... 19:54 < v-dogg> impl: it might be frustrating at times but forwarding is not part of actions responsibilities 19:55 < eremit> and i would to have business logic in the view 19:55 < eremit> huh? 19:55 < impl> Forwarding seems like action logic to me 19:55 < v-dogg> it's an extreme point of view but forwarding is view's job 19:55 < eremit> sorry, that's nonsense ... you want to enforce devs to write a view only to forward ? ... that's needless performance burning ... 19:56 < v-dogg> consider an AddProduct action 19:56 < eremit> consider an Index page different for User and Guests ... 19:56 < v-dogg> you make it for web use and on Success you forward to ShowPrdLIsting 19:56 < v-dogg> but then you'll add a, say, xmlrpc context 19:57 < v-dogg> and add products from a desktop app 19:57 < CIA-6> dominik * r893 /branches/dominik-validation_mods/src/ (3 files in 3 dirs): add file upload validator 19:57 < v-dogg> you don't want to forward to ShowPrdListing anymore 19:57 < v-dogg> because it's a presentational thing 19:57 < eremit> yes, but shouldn't it the developers choice and not the framework devs choice ? 19:58 < eremit> for me atm, it's like enforcing special version names :PP 19:58 < impl> v-dogg: I have to ponder that 19:59 < eremit> the problem should be mentioned in a documentation but please not be enforced ^^ 19:59 < v-dogg> I admit that it's an extremist's point of view (and I was against it myself first :) 19:59 < impl> It sort-of makes sense 20:00 < impl> However 20:00 < v-dogg> maybe it has to be discussed more 20:00 < eremit> sure, in some cases ... 20:00 < impl> Making View::execute() return an array to another module/action 20:00 < impl> That makes no sense to me 20:00 < v-dogg> that I have to agree with 20:00 < eremit> but at least there should be a way to unlock the parameters, because there are cases where forward in views in needless overhead 20:00 < eremit> or impl solution ... another nice way ^^ 20:00 < v-dogg> it's ambiguous 20:01 < impl> Yeah 20:01 < eremit> maybe returning a special actionforward object s.t. like that 20:01 < impl> How do actions work with different output types again? 20:02 < v-dogg> we'll have to discuss this when wombie gets back 20:02 < impl> Is there like an executeHTML() and executeXMLRPC()? 20:02 < v-dogg> no 20:02 < v-dogg> actions are supposed to be output-type-indifferent 20:02 < v-dogg> hence no forwarding too ;) 20:03 < eremit> hehe ... surely i will discuss it with him ... at the moment the whole locking is disabled in my installation 20:03 < impl> hmmmmf 20:04 < eremit> and the routing doesn't like complex regex too atm ^^ 20:04 < eremit> another point which took me a hour today *grin* 20:04 < impl> You have to complex regex inside parameter names 20:04 < impl> So it can figure out how to regenerate it 20:05 < eremit> i wanted something like this: ^/LostPassword(/(uid:[0-9]*)/(code:[0-9a-fA-F]*))?$ 20:05 < impl> Yeah but see then it doesn't know how to regenerate it 20:06 < eremit> i havent taken a deep look into the routines yet ... 20:07 < impl> You should make two routes probably 20:07 < impl> Or rather a route and a subroute 20:07 < v-dogg> that should be possible eremit 20:08 < v-dogg> but not with that syntax 20:08 < eremit> how then ? 20:08 < eremit> the problem was if i have LostPassword without params gen() produced LostPassword// which simply looked ugly 20:08 < eremit> impl, ty didn't knew subrouting is possible ... 20:09 < impl> :) 20:09 < impl> Take a look at the sample app routing config 20:11 < v-dogg> ^/LostPassword{/(uid:[0-9]+)} and subroute {/(code:... )} 20:11 < eremit> nice ... ty i'll try it ... 20:12 < eremit> would redunce another 6 actions down to 3 ... 20:13 < eremit> i have a bad wish for agavi 2.0 ... 20:13 < eremit> please make the view finding configurable ... 20:13 < impl> What do you mean? 20:13 < v-dogg> what do you mean? 20:13 < impl> hehe 20:13 < v-dogg> echo off 20:14 < eremit> hmm ... currently all views have to be in views/ ... i would be nice, if you can configure it more flexible ... like views// 20:14 < eremit> because this: LostPasswordConfirmErrorTimeoutView.class.php is really really painfull to type ;) 20:15 * impl blinks 20:15 < eremit> action: LostPasswordConfirm view: ErrorTimeout 20:15 < v-dogg> hmm... 20:16 < v-dogg> I have max 3 views per action and all named Input, Success or Error 20:16 < eremit> understand the problem ? ... you can really easily produce looong filenames if you have actions with 10 or 15 views ... 20:16 < v-dogg> are you sure you need all those views? 20:17 < eremit> hmm ... i could reduce them surely... because 7 of my 10 views are error views, but this would mean to have high logic in the ErrorView 20:17 < eremit> which i usually keep really low ... and do only output related conversions etc in there ... no consideration which template to load etc ... 20:18 < impl> Why don't you just have one error template that supports different messages as sent by $request? 20:19 < eremit> because our designer would never understand that ^^ .... 20:19 < impl> Just tell him not to touch it! 20:19 < eremit> he want's to open a smarty template and write the problem in there ... the possible solutions etc ... 20:19 < impl> :\ 20:20 < eremit> surely i could load the whole text from an external source ... and tell him ... but your text, description and solutions in there ... 20:20 < eremit> but that'S another file to load, another template to parse ... etc ... 20:21 < impl> Maybe your designer needs to learn some PHP ;) 20:21 < eremit> no ... 20:22 < eremit> i have bad experience with designers and php ... they tend to mess up the whole application ... 20:22 < eremit> they don't even have write access to php files :P only to .html and .tpl 20:22 < impl> haha 20:24 < eremit> that'S why i have so many views ... and there will be more as soon as i enable the xmlrpc and xul parts of the app 20:24 < impl> O_o 20:26 < eremit> :P yeah it's a complex app ... and i really hope agavi can manage the load it will produce ... 20:35 < eremit> and i really miss some basic scaffolding and crud support in agavi :P 20:35 < eremit> maybe i should write a code generator for it *thinking loud* 20:35 < impl> Scaffolding is for the weak! 20:36 < eremit> sure but if you boss comes in and tells you you only have of weeks to work it out ... it comes in handy 20:40 < v-dogg> what sort of scaffolding? 20:40 < impl> v-dogg: Like rails has 20:40 < v-dogg> I'm not that familiar with RoR 20:41 < impl> Basically, you tell it how your DB works and it automatically makes list/edit/add actions 20:41 < v-dogg> like 'agavi action|project|module' but better? 20:41 < v-dogg> ah 20:41 < v-dogg> you need propel :) 20:41 < eremit> you know symfony ? cake ? 20:41 < impl> Symfony is pathetic 20:42 < impl> Never used cake though 20:42 < eremit> propel is the right direction yes ... but the whole frontend part is missing ... 20:42 < eremit> cake is nice, but sticked too much with naming conventions and php4 support ... 20:42 < impl> Cake's naming conventions are _weird_ 20:42 < eremit> symfony is bloody overloaded but has some nice ideas for rad development ... 20:42 < impl> I'm looking at its class list right now and wtf'ing 20:43 < impl> http://api.cakephp.org/hierarchy.html 20:43 < v-dogg> eremit: I use visual db designer to create tables and just create a propel schema from and existing db 20:43 < eremit> yes they are ... really weird ... 20:43 < eremit> v-dogg: me too :P ... but i'm missing the frontend part for the crud operations ... 20:43 < v-dogg> crud operations beeing? 20:44 < eremit> basically creating the source for Create, Read, Update, Delete operations on every table ... 20:44 < impl> v-dogg: This is all WEB TWO POINT OH terminology ;) 20:44 < eremit> atm you have to create every action, view etc by yourself ... i assume you use propel for the models like i do ... 20:45 < v-dogg> yes 20:45 < eremit> if you really want to make rapid development the ror way is nice ... you just tell him, to create actions and views for these four operations on every table ... 20:45 < v-dogg> creating actions with agavi script is easy and manipulating data with propel is easy 20:45 < eremit> afterwards you only need to change the parts you really need ... 20:46 < v-dogg> easy + easy = very easy ;) 20:46 < eremit> yes but agavi can only create basic actions ... not full flavoured ... 20:46 < eremit> loool 20:46 < v-dogg> yeah, I know what you mean :) 20:47 < eremit> i had a podcast showing it in effect ... ;) ... nice if you boss stands on your tiptoes which usually every dev knows ... 21:00 < eremit> symfony shows in their admin generator screencast what i meant v-dogg ... 21:01 < eremit> and ruby in their 15-min blog tutorial ... but that's rather RoR specific 21:01 < impl> I can't stand the RoR guy 21:01 < impl> God 21:01 < impl> If he says "oops" one more time 21:01 < impl> I will stab him 21:01 < eremit> loool ... sorry i don'T have sound enabled for movies here :P 21:02 < eremit> would disturb my audio book :P 21:02 < impl> eremit: Think 19-year-old college geek (high-pitched voice, gay accent) 21:02 < eremit> i think it's the micro... and they have speed up the movie to get the 15min mark ... 21:05 < eremit> but anyhow the ror thing is impressive 21:11 < v-dogg> that sort of building is never going to be a part of agavi core 21:13 < v-dogg> but hopefully we'll have some agaviforge someday to share some agavi add-ons 21:13 < eremit> would be really nice ... the autogenerate code shouldn't be that problem using phing 21:14 < v-dogg> the whole thing should be fairly easy with propel and phing 21:15 < v-dogg> but I've had enough of computers for one day now 21:15 < eremit> yeah, currently i have no clue about how to parse the xml of propel within phing 21:15 < v-dogg> gonna go watch telly :) 21:15 < eremit> nice evening ^^ ... 21:15 < v-dogg> eremit: you have to write a task to do it 21:15 < eremit> :( ... 21:16 < v-dogg> that's simple 21:47 -!- [1]eremit [n=eremit@p5490DDFE.dip.t-dialin.net] has joined #agavi 22:04 -!- eremit [n=eremit@p5490C758.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 22:04 -!- [1]eremit is now known as eremit 22:36 -!- Wombert [n=Wombert@dslb-088-064-004-049.pools.arcor-ip.net] has joined #agavi 22:47 < v-dogg> heyyy Wombert 22:51 < v-dogg> I installed a small agavi app to another server with cgi/fastcgi setup 22:51 < v-dogg> and routing didn't work :) 22:52 < v-dogg> but that was easily fixed 22:53 < v-dogg> because routing just took reques uri ($ru) from the wrong variable 22:53 < v-dogg> but I'm off to bed now. we'll talk more tomorrow 22:53 < v-dogg> night 22:54 < v-dogg> (AgaviWebRouting.class.php:69 was to blame) 22:54 < v-dogg> night #2 22:55 * impl pokes Wombert 22:55 < impl> Wombert: I don't think I like how forwarding has changed :\ 22:55 < impl> With the parameter locking thingies --- Day changed Fri Aug 04 2006 01:01 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 01:13 -!- Macca [i=brendanm@maccasoft.com.au] has quit [Connection timed out] 01:15 < Wombert> re 01:15 < Wombert> hi impl 01:15 < impl> Hello Wombert 01:26 < Wombert> y000 01:26 < Wombert> what exactly don't you like about the new forwarding? :) 01:37 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 01:45 < impl> Wombert: I don't think it's necessary to require a whole view for it 02:13 < Wombert> it is! 02:13 < Wombert> forwarding is a presentational thing 02:23 -!- Wombert [n=Wombert@dslb-088-064-004-049.pools.arcor-ip.net] has quit [] 03:07 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 03:13 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 05:01 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 05:16 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 05:21 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 05:25 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 05:51 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 07:32 < v-dogg> huoemtna 07:41 -!- shoan_ [n=shoan@59.92.155.45] has joined #agavi 07:54 -!- shoan [n=shoan@59.92.170.117] has quit [Read error: 110 (Connection timed out)] 08:31 < eremit> morning 08:32 < eremit> ah as i see, the forward thing has been discussed ... 08:33 < eremit> v-dogg there ? 08:33 < v-dogg> _o/ 08:33 < eremit> [21:49] I installed a small agavi app to another server with cgi/fastcgi setup 08:33 < eremit> [21:49] and routing didn't work :) 08:33 < eremit> ^^ for me it works ... 08:33 < eremit> using fcgid here ... 08:33 < v-dogg> ok 08:34 < eremit> maybe it's cgi implementation dependant ? ... suPHP works too .. 08:37 < v-dogg> it depends on what env/server variables are used and what values they get 08:37 < v-dogg> but why and how that happens I have no clue 08:38 < eremit> which fastcgi setup have you used ..? 08:39 < eremit> there are several solutions out ... 08:40 < v-dogg> Server API: CGI/FastCGI 08:41 < eremit> ahaha ... :P the solution on the system level is interesting .. there are several api implementation out ... 08:41 < v-dogg> a few php.ini directives also make a difference 08:41 < eremit> fast-cgi fcgid and f-cgi are the ones i'm aware of ... 08:42 < eremit> and some of them behave special in php context ... 08:43 < v-dogg> but like I said, this time fixing was easy. agavirouting just used a wrong env variable 08:43 < eremit> hehe ... 08:44 < v-dogg> this just complicates things even more 08:45 < v-dogg> we have to find a way to decide what route parsing method to use 08:45 < v-dogg> route parsing itself is not difficult when you know what variables to use 08:45 < eremit> cant you sanity check the vars ? 08:46 < v-dogg> some sort of sanity check is probably necessary 08:47 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:04 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 09:12 -!- shoan_ [n=shoan@59.92.155.45] has quit [] 09:22 < CIA-6> v-dogg * r894 /trunk/src/ (2 files in 2 dirs): phpdoc embellishments 09:40 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 09:40 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 09:43 < v-dogg> mornign raidman 09:44 < eremit> morning raidman ^^ 09:45 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 09:46 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 09:46 -!- raidman_ is now known as raidman 09:47 < v-dogg> israel is bombing your network connections?-p 09:47 < raidman> lol 09:47 < eremit> O_o 09:48 < raidman> hi guys :) 09:48 < raidman> what's up? 09:49 < v-dogg> lazy friday at the office 09:49 < eremit> busy friday at the office ... tomorrow the first prototype of my current app has to be released :/ 09:50 < v-dogg> who releases prototypes on saturday?-) 09:50 < v-dogg> you weirdos ;) 09:50 < raidman> and normal holiday at home for me 09:50 < raidman> :) 09:50 < v-dogg> raidman: where were you again? Iran? 09:51 < raidman> yeah :) 09:51 < eremit> v-dogg: a company which works tightly on timeline ... and monday is the conference ... so i have sunday for fast debugging 09:51 < v-dogg> debuggin is for customers :) 09:52 < eremit> loool ... tell that the customers ... sadly there much money ingame ... and the most interesting parts are the follow up jobs ... 09:52 < eremit> that's why the first one has to be as clean as possible 09:53 < v-dogg> raidman: does that Israel vs. Hizbollah/Lebanon mess affect your daily life at Iran at all? 09:54 < eremit> O_o political discussions ... 09:54 < v-dogg> no, not political at all 09:54 < raidman> no here only one who interested about that is government, here no one interested about that 09:54 < eremit> you are at the edge ^^ v-dogg ;) 09:55 < v-dogg> but I'm not taking any sides :) 09:55 < eremit> hehe ... 09:55 < raidman> ahmadinejad (our stupid president) advertised about, but really no one interested about that :) 09:55 < v-dogg> just interested how the daily life goes on there 09:55 < v-dogg> you president is surely taking sides :) 09:56 < raidman> very normal :) 10:12 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 10:22 < raidman> I have to go guys, bye :) 10:22 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 10:48 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:30 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:30 < digitarald> morning 11:32 < eremit> heyja digitarald 11:33 < v-dogg> mornink 11:37 -!- kaos [n=kaos@ppp-82-135-69-182.dynamic.mnet-online.de] has joined #agavi 11:38 < digitarald> btw ... shiny.php uses still core.webapp_dir configuration enrtries 11:42 < CIA-6> dominik * r895 /trunk/src/exception/templates/shiny.php: 11:42 < kaos> thx 11:42 < CIA-6> webapp_dir => app_dir 11:42 < CIA-6> refs #298 11:44 < v-dogg> I was just about to... 11:44 < kaos> hihi 11:45 < kaos> btw, i am playing with the init of webrequest (once again) 11:45 < kaos> your cgi config is really a problem 11:45 < v-dogg> webrouting, you mean? 11:45 < kaos> i can either fix it in a way that it works with rewrite off 11:45 < kaos> yeah 11:45 < kaos> ofc 11:45 < kaos> or that it works with rewrite on 11:46 < digitarald> the logging xml from the trunk ... is it valid?? 11:46 < kaos> i couldn't find a single way to differentiate between them tho :< (so the user would have to supply the info whether the url was rewritten or not) 11:47 < digitarald> ... The attribute 'priority' is not allowed. 11:47 < v-dogg> wtf... I changed that... 11:49 < digitarald> in the xsd oder the xml? 11:50 < v-dogg> xml 11:50 < v-dogg> just a sec 11:50 < digitarald> put the priority to the parameters? 11:52 < CIA-6> v-dogg * r896 /trunk/ (3 files in 3 dirs): priority => level, somehow missed these last time, sorry for the inconvenience 11:54 < v-dogg> kaos: I just wrote a custom WebRouting that has a different parsing methods for different server setups 11:54 < v-dogg> it tries to guess the setup or you can force it via config parameter 11:55 < kaos> cool 11:55 < kaos> does it fix the tests ? 11:55 < v-dogg> haven't tried yet 11:56 < v-dogg> but it fixes my acute need for a routing system for veikkomakinen.com :) 11:58 < kaos> thats great :) 11:59 < v-dogg> time to get lunch 11:59 < v-dogg> bbl 12:22 -!- Wombert [n=Wombert@dslb-088-064-004-049.pools.arcor-ip.net] has joined #agavi 12:42 < eremit> hey wombert 12:43 < Wombert> houmenta! 12:43 < Wombert> 'sup 12:43 < Wombert> hey v-dogg 12:51 < eremit> Wombert is there any way to convince you to allow forward() in actions again ? 12:51 < Wombert> of course! 12:51 < Wombert> if the arguments are reasonable ;) 12:52 < Wombert> look, guys 12:52 < eremit> lool ... is performance a reasonable argument ? 12:52 < Wombert> I realize that it's slightly less convenient than the old behavior 12:52 < Wombert> however, I guarantee you that you will, one day, be glad we made that decision 12:52 < Wombert> because actions are your application's most valuable part 12:53 < eremit> the convenience is not that problem ... but creating a view which basically only implements logic to decide whereto forward() is senseless performance burning ... 12:53 < Wombert> you can't afford brokedness in them 12:53 < Wombert> therefor, we have to move as much stuff out of them as possible 12:53 < eremit> maybe we can find a way, to enforce some kind of unlocking ... so a dev needs to be aware what he is doing ... 12:54 < Wombert> eremit: the performance drawback is pretty much negligible 12:54 < Wombert> and just forward()ing somewhere else may not be the only thing you want to do there 12:54 < eremit> maybe it is ... but why should i accept any kind of drawback ... 12:54 < eremit> in my case it is the only thing ... 12:55 < Wombert> disallowing forward() wasn't intentional by the way 12:55 < eremit> if ( !$user->isAuthenticated() ) forward() else forward() 12:55 < Wombert> it was just an unforseen side effect of this request parameter locking 12:55 < Wombert> and then it occured to me it's actually a pretty good idea 12:55 < Wombert> may I ask where you are forwarding to there? 12:56 < eremit> ok some basics about the app ... it consists of three modules ... common, guest, user ... common implements action accessible by everyone, guest only by guest 12:56 < eremit> and user only by user ... 12:56 < eremit> there should be an action Index ... which decided which action to use ... the guests or the users one ... 12:57 < eremit> maybe i missed s.t. but afaik there's currently no other possibility ... 12:58 < eremit> than puttin it into common ... 12:58 < eremit> except the routing allows logic like authenticed checks ... 12:58 < eremit> authenticated* 13:08 < kaos> you could do that 13:09 < kaos> by adding the auth info to the sources array 13:09 < eremit> pardon? 13:09 < Wombert> or 13:09 < Wombert> by using two routes 13:09 < Wombert> and a callback 13:09 < kaos> yeah, but i think the sources array is way nicer 13:09 < Wombert> that decides whether or not to execute 13:09 < Wombert> yep 13:09 < Wombert> but maybe not as simple for him to implement ;) 13:10 < eremit> using two routes would force me two have logic wherever i have a link to /index wouldn't it ? 13:11 < Wombert> uh 13:11 < Wombert> well 13:11 < Wombert> what you want is two entry pages 13:11 < Wombert> right? 13:11 < Wombert> one for the user, one for the admin 13:11 < eremit> one for the user and one for the guests ... 13:11 < Wombert> well whatever 13:11 < eremit> but basically yes ... 13:12 < Wombert> 13:12 < Wombert> 13:12 < Wombert> to the first, add the action name for the logged in user 13:12 < Wombert> to the second, add the regular index 13:13 < Wombert> or, as dominik suggested, you could add the auth info to a routing source 13:13 < Wombert> however, that would mean you have no more control over the incoming url 13:13 < Wombert> so I suggest you use the callback 13:13 < kaos> you do 13:13 < Wombert> well actually, you COULD 13:14 < Wombert> yeah, nested routes 13:14 < eremit> tyvm ... 13:14 < eremit> now even i dont need forwarding in action anymore :P 13:15 < kaos> 13:15 < kaos> 13:15 < kaos> 13:15 < kaos> 13:15 < kaos> 13:15 < kaos> 13:15 < v-dogg> BUT it still has to be discussed! 13:15 < v-dogg> :) 13:15 < Wombert> 13:15 < Wombert> 13:15 < Wombert> 13:15 < Wombert> 13:15 < Wombert> 13:15 * eremit turns logging on 13:15 < Wombert> oh wait the $ is wrong there 13:15 < Wombert> or is it? 13:15 < Wombert> no it ain't 13:15 < Wombert> would that work, dominik? 13:16 < kaos> yes 13:16 < kaos> at least it should 13:16 < Wombert> I'll try that later ;) 13:16 < eremit> v-dogg: i think what should have been discussed is not the forwarding itself ... 13:16 < Wombert> v-dogg has a point tho 13:16 < kaos> well, maybe we should add a strict mode :p 13:16 < eremit> whoever wrote this routing ... godly ... 13:16 < kaos> where all that stuff is enforced 13:16 < Wombert> eremit: it basically worked like this 13:17 < Wombert> I called dominik every five minuted 13:17 < Wombert> with a new idea 13:17 < Wombert> he said "uuuuuh that's difficult" 13:17 < Wombert> and then he wrote it 13:17 < Wombert> <3 kaos 13:17 < kaos> :> 13:17 < v-dogg> haha 13:17 < shoan> :) 13:17 < eremit> O_o ... 13:17 < kaos> well, i think the nested routes were my idea (actually first thought out mainly for performance ^^^) 13:18 < eremit> v-dogg: we should more discuss the idea of enforcing developers to think the way the framework devs do ^^ 13:18 < v-dogg> eremit: but if you think differently, you are most likely wrong :p 13:18 < eremit> the nested routes part was a part i havent understood in the source :P ... but it seems to give most flexibility as possible ... 13:18 < Wombert> the question is 13:19 < Wombert> does it make sense 13:19 < Wombert> to enforce certain types of behavior 13:19 < Wombert> I say: yes, absolutely 13:19 < eremit> v-dogg: not that different kind of thinking ... as i said yesterday ... preventing me from accessing my data wherever i want is like enforcing a special kind of version string :PP 13:19 < v-dogg> hihi :) 13:19 < Wombert> eremit: we aren't 13:19 < Wombert> you can access your data, and the very same 13:19 < Wombert> it's just the way you access it 13:19 < Wombert> that we enforce 13:20 < v-dogg> no analogy there ;) 13:20 < Wombert> and by doing that, we achieve something quite impressive IMO: we can guarantee that an application is safe if you have validation on 13:20 < Wombert> and that's pretty cool if you ask me 13:20 < Wombert> well not 100% safe 13:21 < Wombert> but it's kind of a tainted mode that's guaranteed to work 13:21 < Wombert> and the best thing: you can enable it, but no action code must be changed 13:21 < eremit> sure that's really cool, but still i dislike the "enforcing" idea ... without giving the developer the possibility to circumvent it... 13:21 < Wombert> why!? 13:21 < Wombert> it makes no difference if you use $request->getParameter() 13:21 < Wombert> or $parameters->getParameter() 13:21 < Wombert> it's exactly the same data 13:22 < Wombert> unless you enable validation 13:22 < v-dogg> but now we are talking about accessing parameters (which is not prevented per se) 13:22 < v-dogg> not forwarding 13:22 < eremit> i cannot really stress out why ... it's more a type of feeling being forced to do s.t. in a special way ... *g* 13:22 < Wombert> now that's nonsense 13:22 < Wombert> because before, you HAD to do $this->getContext()->getRequest()->getParameter() 13:22 < Wombert> and there was no other way 13:22 < Wombert> so what's the difference 13:23 < Wombert> anyways, this parameter handling will stay 13:23 < Wombert> no arguing about it 13:23 < Wombert> let's move on to forwarding 13:23 < v-dogg> I'm all for denying Request::getParameter from Action::execute because that way you can turn validation on anf off anytime 13:23 < Wombert> and start with a use case 13:23 < Wombert> eremit: what's the difference between user and guest index pages 13:24 < eremit> they are completly different, they access different databases, they access different session servers, they have completly different layouts ... everything is different 13:25 < eremit> if it would only be view things, i could create 2 views and exchange them ... but the whole model part changes ... as the business logic ... 13:26 < eremit> describing it is difficult without getting to deep into the app itself ... but basically it's a round robin system ... 4 webservers, 1 database server for guests and one for users ... 13:27 < Wombert> I dare to say that you should point users to a totally different URL then 13:27 < Wombert> just an idea tho 13:27 < Wombert> and the way I would do it 13:28 < eremit> yeah i thought about writing 2 apps ... using urls and the rr server to decide where to put the users too ... 13:29 < eremit> i cannot really say why this decision has been discarded ... but i am the executor not the decider ... having only slight influence about the decisions made 13:29 < eremit> s/too/to 13:32 < Wombert> whoa 13:32 < Wombert> eremit: dominik and I just found the solution to your prolbem and others 13:32 < Wombert> he'll implement it right now 13:32 < Wombert> very cool I tell ya 13:32 < eremit> O_o ... 13:32 < v-dogg> tell us 13:33 < eremit> you're insane man ... i like that attitude ... 13:33 < v-dogg> tellustellustellus 13:33 < eremit> and i'm looking forward to the solution 13:33 < Wombert> v-dogg: right now, source for web might be a variable from $_SERVER 13:33 < Wombert> we change that 13:33 < v-dogg> roger 13:34 < Wombert> 13:34 < Wombert> 13:34 < Wombert> 13:35 < Wombert> the normal routing will load user authed status and user credentials 13:35 < Wombert> and $_ENV 13:36 < Wombert> web routing will load $_SERVER 13:37 < Wombert> and now to something completely different: filters 13:37 < Wombert> sometimes, you want to run an action filter only once 13:37 < Wombert> we should make that easier 13:37 < Wombert> I propose the following change: 13:37 < ttj> What's up with the beta? 13:38 < Wombert> ttj: sunday or monday 13:38 < ttj> Ok. 13:38 < Wombert> depending on when we finish the docs for it 13:38 < Wombert> we're really 100% on schedule 13:38 < Wombert> every filter gets an execute() method and an executeOnce() method 13:38 < Wombert> executeOnce() is executed the first time it runs 13:38 < Wombert> execute() the other times 13:38 < Wombert> that allows me, for instance, to make FormPopulationFilter both a global filter and an action filter 13:39 < Wombert> in executeOnce(), it does it's job 13:39 < Wombert> and in execute(), I just continue in the filter chain 13:39 < Wombert> no need for nasty checks with static vars (which doesn't work with more than one context running!) etc 13:39 < v-dogg> Wombert: and switching context at runtime? 13:39 < Wombert> this will NOT break bc 13:39 < Wombert> v-dogg: what do you mean? 13:39 < v-dogg> first time for everything :D 13:40 < v-dogg> just wondering how that works with different contexts but you already answered that 13:41 < Wombert> the filter chain handles it 13:41 < Wombert> so if we change something, your stuff doesn't break ever 13:42 < Wombert> because strictly speaking, you can't do static $ran; if(!$ran)... 13:43 < Wombert> but static $ran = array(); if(!$ran[$this->getContext()->getName()]) {... 13:43 < Wombert> and that sucks 13:43 < Wombert> really 13:43 < Wombert> okay but it's time to merge in validation 13:44 < v-dogg> \o/ 13:44 < v-dogg> really? 13:44 < Wombert> okay guys we're working here please step back and put on the helmets 13:45 < v-dogg> /o\ 13:45 < Wombert> yes, sir, really, please get behind the barrier 13:45 < Wombert> it's dangerous here 13:45 * v-dogg ducks and covers 13:45 * Wombert switches on the yellow strobe lights 13:45 * eremit takes the chance and gets off to lunch ... 13:46 * ttj goes back to writing PowerPoint slides... 13:47 -!- v-dogg changed the topic of #agavi to: Trunk is going to be unusable from this day on. Bye bye then. So long, and thanks for all the fish. 13:47 < Wombert> haha 13:48 -!- v-dogg changed the topic of #agavi to: Hey! No messing about! This is serious! 13:49 -!- v-dogg changed the topic of #agavi to: http://www.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/trac.cgi/milestone/0.11 :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 13:49 < Wombert> oh cock 13:49 < Wombert> there is this merging shit again 13:49 < Wombert> that's gonna get on my nerves for sure 13:49 < Wombert> yay conflict 13:49 < Wombert> yay conflict 13:49 < Wombert> yay another one 13:50 < Wombert> and another one 13:50 * Wombert kicks it 13:53 * digitarald secures his checkouts deep in his filesystem 13:54 < v-dogg> digitarald: they will be foobar's too 13:54 < eremit> chown -R root:root / && chmod -R 700 / ... should make the system really secure :P 13:55 < eremit> ^^--- dont try this ... was a joke ... 14:03 < Wombert> we came across major problems with these sources stuff 14:03 < Wombert> but 14:03 < Wombert> solved them already :) 14:05 < CIA-6> david * r897 /branches/dominik-validation_mods/ (108 files in 42 dirs): merged in changes from trunk since r853 14:09 < digitarald> need an idea ... i want to create a function that generate all my heading-texts as images, with caching ... where can i implement this function when i want to call it in the templates? 14:09 < Wombert> that's a normal action 14:10 < Wombert> the image is called by the web browser 14:10 < Wombert> by the way, I suggest you use sIFR 14:10 < Wombert> images don't scale 14:10 < Wombert> images don't show sometimes 14:10 < Wombert> images load slower 14:10 < Wombert> images aren't accessible 14:10 < Wombert> images can't be copy-and-pasted 14:12 < digitarald> images can be scaled and are accessible ... if you use some fine css and xhml ... and they will be better copy and pasted than flash 14:12 < digitarald> scaling images ... http://www.bigbaer.com/css_tutorials/css.scale.image.html.tutorial.htm 14:15 < digitarald> back to the idea ... what if i want to generate this images during the generation of the template and don't want to put the generation into an action 14:17 < Wombert> a) do it in the view 14:17 < Wombert> b) use a model 14:26 < Wombert> that repository 14:26 < Wombert> is broken 14:26 < Wombert> it does weird things 14:26 < Wombert> all the time 14:30 < Wombert> omg 14:30 < Wombert> omg 14:30 < Wombert> omg 14:33 * digitarald digging out his mojavi framework 14:41 < CIA-6> david * r898 /branches/uwe-validation/ (143 files in 49 dirs): merged in changes from trunk since r768 15:02 < v-dogg> Wombert, kaos 15:02 < v-dogg> how's it going? 15:03 < Wombert> good 15:03 < Wombert> or... 15:03 < Wombert> well 15:03 < Wombert> ;) 15:08 < v-dogg> when do we get to see Teh Validation 15:09 < Wombert> when I fixed these merging mess 15:09 < Wombert> drives me up the wall 15:10 * v-dogg waits impatiencently and drooling 15:13 < CIA-6> david * r899 /branches/uwe-validation/ (35 files in 16 dirs): merged in branches/dominik-validation_mods 15:15 < Wombert> "shitload of conflicts" would be an unterstatement 15:15 < Wombert> but we're getting there 15:17 * v-dogg cheers and jumps like a 16-year old cheerleader 15:18 < v-dogg> ... up and down they go... 15:18 < Wombert> are you talking about titties? 15:18 < v-dogg> oh yeah :) 15:18 < v-dogg> is it friday? 15:18 < v-dogg> it is? 15:19 < v-dogg> what do you know... 15:20 < v-dogg> wtf!?! 15:21 < v-dogg> if I call php from the command line in veikkomakine.com it uses some php4 binary 15:21 < v-dogg> oh for fucks sake... 15:22 < eremit> loool ... 15:22 < eremit> are you the admin of the machine ? 15:22 < v-dogg> no, it's web hosting company 15:23 < eremit> is it a dual php setup ? 15:23 < v-dogg> perhaps 15:23 < v-dogg> now I found a php5 cli binary 15:23 < eremit> try php5 as command 15:23 < eremit> it is a dual setup :P 15:24 < eremit> uh ... how comes ... if i call ... http://example.org/path/to/index.php/ the router works ... if i call http://example.org/path/to/index.php the router doesn't work ... 15:24 < eremit> any idea? 15:26 < Wombert> looks like another rewrite detection problem 15:27 < v-dogg> or an invalid routing.xml 15:27 < eremit> ^^ 15:27 < eremit> that's why i'm asking i guess i messed s.t. up ... as usual :P 15:27 < v-dogg> if(!$this->input) { $this->input = "/"; } 15:27 < v-dogg> from AgaviWebRouting 15:28 < eremit> maybe it's related using suPHP here ? 15:35 < Wombert> yes 15:35 < Wombert> almost definitely 15:35 < Wombert> I guess you're experiencing the same trouble as v-dogg 15:35 < Wombert> same situation it seems 15:35 < Wombert> we're working on a fix already 15:35 < Wombert> no worries 15:35 < Wombert> you're using php as cgi, right? 15:36 < eremit> php-cgi via suPHP ... jepp ... 15:36 < eremit> it doesn't hurry ... 15:36 < Wombert> lol 15:36 < Wombert> "it's not urgent" ;) 15:37 < v-dogg> I don't think it's the same issue I have at veikkomakinen.com 15:37 < eremit> :P ... sorry i'm switching between 2 different channels wie 2 different languages :P 15:38 < v-dogg> because in there nothing worked 15:38 < Wombert> v-dogg: yeah but I bet they are related 15:38 < v-dogg> because *PATH_* isn't set 15:38 < v-dogg> might be 15:39 < Wombert> I'll work with eremit later and create unti test use cases 15:39 < v-dogg> Wombert: ok 15:40 < v-dogg> Wombert: but now you should get back merging stuff ;) 15:40 < Wombert> I am 15:40 < Wombert> two conflicts to go 15:40 < Wombert> three, actually 15:44 < shoan> Wombert: how do you do the merging? 15:44 < shoan> filemerge? 15:44 < Wombert> svn merge ;) 15:44 < Wombert> then I resolve conflicts by hand 15:45 < v-dogg> shoan: first they print everything on thin paper 15:45 < shoan> :)) 15:45 < Wombert> ? 15:45 < v-dogg> then they compare the sheets of paper looking thru them in a bright light 15:46 < shoan> v-dogg: what about merging? ;) 15:46 < v-dogg> cut and paste, you know 15:46 < Wombert> cut and paste 15:46 < Wombert> lol yeah 15:46 < Wombert> haha :> 15:49 < Wombert> *lightning* 15:49 < Wombert> *thunder* 15:49 < CIA-6> david * r900 /trunk/ (58 files in 19 dirs): merged in branches uwe-validation and, thus, dominik-validation_mods. tests are slightly broken right now, some thing about request and errors. everything else _seems_ to be fine 15:50 < v-dogg> \o\ \o\ 15:51 < Wombert> right 15:51 < Wombert> now it's time for breakfast 16:19 < v-dogg> after that you can show us how validation works 16:20 < Wombert> I have no idea 16:20 < Wombert> ^^ 16:20 < v-dogg> haha :D 16:20 < v-dogg> kaos: we need You! 16:34 < kaos> hu? 16:36 < v-dogg> educate us 16:37 < v-dogg> we are all lost with this new validation, we need a leader 16:37 < kaos> rtfs =) 16:37 < v-dogg> we are like sheep in a validation desert 16:37 < kaos> ok, i like sheep 16:37 < v-dogg> and we need a shepherd 16:37 < kaos> so i will try to get god to throw some documentation at me for our sheep 16:37 < v-dogg> we choose you 16:39 < shoan> is God german? 16:39 * Wombert kicks v-dogg 16:39 < Wombert> I AM TEH LEADER!!!11 16:39 < Wombert> oh wait 16:39 < Wombert> I'm german 16:39 < Wombert> I shouldn't say these things 16:39 < shoan> lol 16:41 -!- v-dogg changed the topic of #agavi to: Changeset 900 - The beginning of something beautiful. 16:41 < digitarald> sould i update ... my leader ;) 16:41 < Wombert> JAWOLLL 16:41 * Wombert giggles 16:47 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 16:47 < shoan> btw does the sample app do validation now? 16:47 < Wombert> well yeah in a wa 16:47 < Wombert> y 16:47 < raidman> good evening guys 16:48 < raidman> Wombert, v-dogg you have a pear channel but I wonder you make it by hand or ... ? 16:49 < Wombert> we use some kind of server for it 16:49 < Wombert> chiara or whatever it is called 16:49 < raidman> okey 16:50 < raidman> thanks 16:57 < digitarald> should i really update ... what are the stunning new validation features? 16:57 < digitarald> btw ... how can i validate ;) 16:57 < raidman> o 16:57 < digitarald> ok ... lets kick the update and learn validation 16:57 < digitarald> ;) 16:57 < raidman> validation is ready to rock? 16:58 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:58 < raidman> it's true? lat me update my working copy 16:58 < digitarald> updating agavi is drop-dead gorgeous :) 16:58 < digitarald> it is .. merge is _hopefully_ done 17:01 < v-dogg> any linux gurus around?-) 17:02 < 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, 29.0% free] disk[Total : 49.11GB/60.31GB Free] video[nVidia Corporation NV6 [Vanta/Vanta LT]] sound[] 17:02 < raidman> :) 17:03 < v-dogg> I'm about to try Ubuntu server installation with software raid 17:03 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 17:04 < impl> Will there be a party at changeset 1000? ;) 17:05 < raidman> hey impl how are you :) 17:05 < impl> Heya raidman 17:05 * impl is good 17:05 < impl> You? 17:06 * raidman is very good :) 17:06 < impl> :D 17:07 < raidman> impl, do you PEAR fan? 17:07 < impl> No, I can't stand PEAR 17:08 < raidman> oh really, np :) 17:08 < impl> :) why do you ask? 17:09 < raidman> I just want to package uor cms modules then I want to write a installer based on PEAR 17:09 < raidman> our* 17:10 < impl> ah 17:10 < impl> Yeah, I've never written a PEAR installer or anything 17:10 < raidman> nevermind :) 17:10 < raidman> thanks 17:12 < v-dogg> raidman: check out agavi's PearPackageTask 17:12 < raidman> v-dogg, I will thanks :) 17:13 < raidman> okey my agavi working copy is uptodate, now it's at revision 900 :) 17:13 < eremit> v-dogg: have fun with ubuntu :P ... 17:13 < v-dogg> rev. 900 is good 17:13 < v-dogg> all good 17:15 < raidman> v-dogg, new validator merged to trunk? 17:16 < v-dogg> oh yes 17:16 < v-dogg> those two germys have been busy today 17:16 * v-dogg hugs Wombert and kaos 17:17 * impl ponders 17:17 * raidman hugs Wombert, v-dogg and kaos :) 17:19 < eremit> O_o who killed the svn repo ? 17:20 < raidman> ! 17:21 < v-dogg> hmm... it worked just recently 17:21 < v-dogg> I updated 900 17:21 < eremit> svn: Can't connect to host 'svn.agavi.org': Connection refused 17:22 < eremit> ^^ doesn't look like it's working for me 17:23 < raidman> check it again 17:23 < raidman> svn://svn.agavi.org/agavi/trunk 17:24 < raidman> may be you miss somthing 17:27 < eremit> raidman, http://pastebin.ca/115317 really ? 17:28 < raidman> eremit, you right it's correct :) 17:30 < eremit> omg who manages the trac.agavi host ... O_o 17:30 < impl> SVN died? o_O 17:30 < eremit> looks like ... 17:31 < eremit> sb know the port of svnserve ? ... 17:31 < impl> svn 3690/tcp subversion # Subversion protocol 17:31 < eremit> at least it'S open ... 17:31 < raidman> leme check 17:31 < impl> No... that's from /etc/services 17:32 < raidman> hmm, it's alive for me 17:32 < impl> PORT STATE SERVICE VERSION 17:32 < impl> 3690/tcp open svnserve Subversion 17:32 < impl> Aye 17:33 < eremit> hm *thinking sounds* 17:33 < impl> Yay, it's working again. 17:33 < impl> update -r HEAD C:/Documents and Settings/Noah/My Documents/My Projects/Agavi 17:33 < impl> At revision 900. 17:33 < impl> :D 17:34 < eremit> aye 17:35 -!- Wombert_ [n=Wombert@dslb-088-064-007-039.pools.arcor-ip.net] has joined #agavi 17:36 -!- Wombert [n=Wombert@dslb-088-064-004-049.pools.arcor-ip.net] has quit [Nick collision from services.] 17:36 -!- Wombert_ is now known as Wombert 17:41 < raidman> bye 17:41 < raidman> ttyl 17:41 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 18:03 < eremit> wombert there or busy? 18:09 < Wombert> hmm? 18:10 < eremit> sorry just figured out how callback in routing works ... 18:19 < eremit> lol ... agavi throws an exception if i forward in a view? ... 18:21 < Wombert> return array('ModuleName', 'ActionName', array('additional_request_param' => 'foo')); 18:21 < eremit> ah ... 18:52 < digitarald> is there a cool caching.xml tutorial anywhere? i can't step through it ... 19:03 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 19:24 < CIA-6> david * r901 /trunk/src/request/AgaviWebRequest.class.php: fixed #305 20:41 < Wombert> http://trac.agavi.org/trac.cgi/ticket/307 20:42 < Wombert> should there be an executeOnce() in the basic filter that calls execute() 20:42 < Wombert> or should the filter chain check if there is an executeOnce(), and, if yes, use it the first time 20:55 < v-dogg> so the first one means that every filter was to have execOnce() and if it should be executed more than once, it would implement also execute 20:55 < v-dogg> or.. what... no... hmm.. 20:55 < v-dogg> please explain :) 20:59 < Wombert> wel 20:59 < Wombert> l 20:59 < Wombert> the filter chain would remember if a filter was run already 21:00 < Wombert> if not, it calls executeOnce() 21:00 < Wombert> if yes, it calls execute() 21:00 < Wombert> AgaviFilter would just have 21:00 < Wombert> public function executeOnce($filterChain) 21:00 < Wombert> { 21:00 < Wombert> $this->execute($filterChain); 21:00 < Wombert> } 21:01 < Wombert> so you still need to implement execute(), even if your filter should only run on executeOnce() and put $filterChain->execute() into execute() 21:01 < Wombert> or I could change the base execute so it does that always 21:01 < Wombert> or or or or 21:01 < v-dogg> that sounds like a nice solution 21:02 < Wombert> which 21:18 < eremit> is there somewhere an example config of the new validators ? i didn't get the xsd files .. oO 21:20 -!- shoan [n=shoan@202.56.231.116] has joined #agavi 21:47 -!- [1]eremit [n=eremit@p5490B9D3.dip.t-dialin.net] has joined #agavi 21:47 -!- eremit [n=eremit@p5490DDFE.dip.t-dialin.net] has quit [Nick collision from services.] 21:48 -!- [1]eremit is now known as eremit 21:48 -!- shoan [n=shoan@202.56.231.116] has quit [Read error: 104 (Connection reset by peer)] --- Day changed Sat Aug 05 2006 02:01 < CIA-6> david * r902 /trunk/ (8 files in 3 dirs): implemented support for Filter::executeOnce(), FormPopulationFilter and ExecutionTimeFilter are now both global and action filters,closes #307 03:43 < CIA-6> david * r903 /trunk/src/ (27 files in 13 dirs): coding standards cleanup 03:50 -!- Wombert [n=Wombert@dslb-088-064-007-039.pools.arcor-ip.net] has quit [] 05:08 * Macca` waves 06:44 -!- shoan [n=shoan@59.92.155.45] has joined #agavi 06:45 < shoan> huomenta 07:13 < Macca`> morning 07:28 -!- crowe [n=crowe@ppp-69-229-11-145.dsl.irvnca.pacbell.net] has joined #agavi 07:42 -!- shoan_ [n=shoan@59.92.129.244] has joined #agavi 07:44 -!- shoan [n=shoan@59.92.155.45] has quit [Nick collision from services.] 07:44 -!- shoan_ is now known as shoan 08:08 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:12 -!- Macca` [i=brendanm@maccasoft.com.au] has quit ["hugs and kisses!"] 08:19 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 08:20 < raidman|Work> morning 08:24 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 08:24 -!- Macca is now known as Macca` 08:40 -!- shoan is now known as sho[a]n 08:53 -!- crowe [n=crowe@ppp-69-229-11-145.dsl.irvnca.pacbell.net] has quit [Read error: 104 (Connection reset by peer)] 12:13 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 12:20 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 12:47 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 12:49 < eremit> heyja 12:54 < Macca`> hi ere 12:54 < Macca`> can you explain what a model is? 12:55 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 12:56 < Macca`> pleeeeeeeease 12:56 < eremit> O_o ... 12:58 < eremit> http://rd13doc.cern.ch/Atlas/Notes/004/Note004-7.html 12:59 < eremit> philosophical questions at the morning ... the interpretation of the MVC pattern isn't common ... it's a thing of interpretations are like a..holes everybody has one ... 12:59 < Macca`> haha 12:59 < eremit> i use models as database abstraction basically ... 13:00 < Macca`> yeah that's what i figured 13:00 < Macca`> agavi models? 13:00 < eremit> i don't use agavi models ... 13:00 < Macca`> what MVC do you use? 13:01 < eremit> agavi ^^... but having 2 kind of models ... PropelModels (for abstracting the database) and Toolkit models ... for heavy common tasks ... 13:01 < Macca`> right. 13:01 < eremit> but this isn't the usual common interpretation of models :/ ... 13:02 < Macca`> heh 13:02 < eremit> for me it'S only the most easiest way ... e.g. Having a PropelQueueElementModel and a QueueMasterModel which can do common tasks on an array of PropelQueueElementModels ... 13:06 < Macca`> what kind of site are you using agavi on? 13:06 < eremit> currently an enterprise application ... i'm writing ... 13:09 < Macca`> what's an "enterprise application" ? 13:13 < eremit> it's not a website ... it's a full application, being really complex ... and currently having about 300 actions, 2500 views 13:13 < Macca`> oo 13:13 < Macca`> just you working on it? 13:15 < eremit> yes and no ... 13:15 < eremit> i'm the main developer yes ... but being supported by designers, text writers, technicians ... 13:15 < Macca`> ahh kay 13:16 < Macca`> what kind of view is it? 13:16 < Macca`> if not web. 13:16 < raidman|Work> very interesting 13:16 < raidman|Work> btw, hi eremit Macca` :) 13:16 < eremit> it is web ... 13:16 < eremit> hi raidman|Work 13:16 < eremit> but it's not a homepage in the common sense ... 13:17 < Macca`> hi raid 13:17 < Macca`> ahh ok 13:17 < eremit> the view outputs are html, xul, xml ... 13:17 < Macca`> so it is a website :) 13:18 < eremit> if you call everything being displayed with a common browser a website ... yes ... 13:24 < Macca`> well what is it? 13:24 < eremit> pardon? 13:27 < Macca`> what is a "website" ? 13:28 < eremit> you like philosophical questions, arent you ? ... 13:28 < eremit> for me: web == internet => website == site on the internet ... 13:29 < eremit> internet != intranet ... 13:29 < Macca`> eremit :) 13:29 < Macca`> right-o 13:30 < eremit> we can now discuss about the name site ... i think a site is mainly informational oriented .,.. while an application is an appication solving tasks ... 13:30 < eremit> let's sum up ... website != webapplication ... 13:30 < eremit> so i write a intranet - application ... 13:35 < Macca`> heh 13:35 < Macca`> to me that's a webapp :) 13:36 < eremit> kk ... 13:37 < eremit> anybody knows if there is a good way to figure out why DomDocument::loadHTML throws a warning ... ? 13:37 < eremit> their warning message doesn'T provide the necessary information ... 13:42 < Macca`> what does the warning say? 13:42 < Macca`> read the source code for DOM ? 13:42 < eremit> DOMDocument::loadHTML() [function.loadHTML]: ID country already defined in Entity, line: 306 13:43 < eremit> there is definately only ONE country id ... 13:43 < Macca`> show us the .xml ? 13:44 < eremit> the full html ? ... 13:44 < Macca`> yeah 13:44 -!- Wombert [n=Wombert@dslb-088-064-007-039.pools.arcor-ip.net] has joined #agavi 13:45 < Macca`> YAY WOMBERT 13:45 < Macca`> WOOOOOOO 13:45 < Macca`> guten morgen herr wombert. 13:46 < Macca`> hmm 13:46 < Macca`> guten tag herr wombert. 13:46 < Macca`> =) 13:53 < Wombert> I have the worst headache since.... 13:53 < Wombert> can't remember 13:53 < eremit> hi wombert ... :/ you poor oen 13:53 < eremit> one* 13:55 < Macca`> too many steins? 13:59 * Macca` pokes Wombert 14:05 * Macca` pokes harder 14:11 * Macca` pokes hardest 14:13 * Macca` pokes harderest 14:14 < Macca`> =( 14:15 * Macca` beings to sulk 14:15 * Macca` has tears falling from his eyes 14:30 * Macca` starts crying 14:35 < Macca`> this is such a mess. 16:30 -!- kaos [n=kaos@ppp-82-135-69-182.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 17:05 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 17:15 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 17:18 < v-dogg> good day 17:21 < v-dogg> 28.3 C 17:21 < v-dogg> that's too blody hot 17:21 < v-dogg> +0 17:21 < v-dogg> -0 17:21 < v-dogg> +o 17:21 < ttj> Yeah, it is. Had to ditch my jacket when I was getting breakfast... :-/ 17:21 < Wombert> re 17:21 < v-dogg> my brains are melting 17:22 < Wombert> I still got my headache 17:22 < Wombert> and the weather sucks 17:22 < Wombert> and 17:22 < Wombert> meeeeh 17:22 < ttj> Rough night? 17:22 < Wombert> oh pooor Macca` 17:22 < Wombert> no, not at all 17:22 < Wombert> that was planned for tonight ;) 17:22 < Wombert> not gonna happen with that kind of headache tho 17:23 < Wombert> well it's getting better but still... nah 17:23 < Wombert> not in the mood at all etc 17:23 < Wombert> I typically get a headache in the weekends, when I sleep longer than, say, seven or eight hours 17:24 < Wombert> I'm grinding my teeth a lot when asleep, and that puts a lot of stress on the neck, and then I get a major, nasty headache 17:24 < ttj> Ah. Ouch. You get my sympathy. I know how annoying problems with teeth are. 17:26 < Wombert> I got a piece of plastic to put in the mouth so I don't damage the teeth 17:26 < Wombert> but that doesn't prevent me from grinding, of course 17:28 < ttj> I luckily don't grind, but my upper and lower jaw are basicly of different pairs and I get to go through a couple of operations to have my jaws spliced and moved around. So yeah, these things suck. 17:35 -!- Wombert [n=Wombert@dslb-088-064-007-039.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 17:36 -!- Wombert [n=Wombert@dslb-088-064-000-102.pools.arcor-ip.net] has joined #agavi 17:40 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:14 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 18:21 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 18:51 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit ["#killall raidman"] 19:32 < CIA-6> dominik * r904 /trunk/ (4 files in 3 dirs): add new sources handling for the routing 19:37 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 19:45 < CIA-6> dominik * r905 /trunk/src/routing/ (3 files): oops, maybe i should svn add the new files too ;) 20:30 < Wombert> anyone here using request::extractParameters()? 20:32 < CIA-6> david * r906 /trunk/src/request/AgaviRequest.class.php: prevent use of extractParameters() (which we should get rid of IMO) while the Request is locked 20:33 < eremit> in some filters yes 20:33 < CIA-6> david * r907 /trunk/src/ (2 files in 2 dirs): more coding style fixes 20:33 < Wombert> eremit: hmm 20:34 < Wombert> I don't like it 20:34 < eremit> but remove it .. 20:34 < eremit> i find another way :P 20:34 < Wombert> and I especially don't like the fact that the array values reference those in the request 20:34 < eremit> cant they get dereferenced ? 21:15 < eremit> anybody knows a good date calculation class ? 21:16 < v-dogg> _o_ 21:16 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 21:44 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has joined #agavi 21:45 -!- [1]eremit [n=eremit@p5490BD0E.dip.t-dialin.net] has joined #agavi 21:46 -!- eremit [n=eremit@p5490B9D3.dip.t-dialin.net] has quit [Nick collision from services.] 21:46 -!- [1]eremit is now known as eremit 21:58 -!- raidman|Away is now known as raidman_ 21:58 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 21:58 -!- raidman_ is now known as raidman|Away 21:59 -!- raidman|Away is now known as raidman 22:04 < raidman> night guys 22:04 -!- raidman is now known as raidman|Away 22:06 < CIA-6> v-dogg * r908 /trunk/ (294 files in 86 dirs): Added svn:keywords Id 22:06 < v-dogg> whooaaa 22:08 < impl> Wow, you totally just modified every file in the repository. 22:08 < impl> :P 22:08 < impl> Almost, anyway 22:09 < v-dogg> Wombert made me do it! 22:09 < impl> Oh sure, pin it on the head guy! 22:09 < impl> That's what they all do! 22:10 < Wombert> it's perfect 22:10 < Wombert> v-dogg did it just right 22:10 * Wombert hugs v-dogg 22:10 * impl grins 22:10 < Wombert> impl: are you using Request::extractParameters()? 22:10 < Wombert> I don't like it 22:10 < Wombert> I want it to go 22:10 < impl> No 22:10 < impl> I don't like it either 22:10 < Wombert> if too many people complain after b1, we could put it back but 22:10 < Wombert> perfect 22:11 * Wombert goes find the chainsaw 22:11 < impl> o; 22:12 < v-dogg> oh crap 22:13 < v-dogg> don't have cygwin on this box 22:13 < Wombert> why exactly is that a problem 22:15 < CIA-6> david * r909 /trunk/src/request/AgaviRequest.class.php: farewell, Request::extractParameters(). closes #309 22:15 < v-dogg> I don't know how to do 'find -name *.php | xargs .... ' with windows command line :) 22:15 < Wombert> uh 22:15 < Wombert> not at all? 22:15 < v-dogg> http://agavi.org/ 22:16 < Wombert> ehm 22:16 < Wombert> WTF 22:16 < v-dogg> clear cache 22:18 < Wombert> fix'd 22:31 < v-dogg> http://pastebin.ca/117212 22:39 < CIA-6> v-dogg * r910 /trunk/src/ (2 files in 2 dirs): phpdoc embellishments (refs #137) 22:56 < CIA-6> v-dogg * r911 /trunk/src/ (7 files in 3 dirs): phpdoc embellishments (closes #137) 22:57 < v-dogg> how about closing #107? 22:58 < v-dogg> I haven't came across any unfeasible privates any more 23:01 < Wombert> I'll have a quick look asap 23:01 -!- v-dogg changed the topic of #agavi to: http://www.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/trac.cgi/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 23:03 < v-dogg> Wombert: close it if you don't find anything, would you please? 23:04 < Wombert> sure 23:05 < v-dogg> should I add function phpdoc checking into my little script :) 23:05 < v-dogg> to make sure every function had @return and @param's :) 23:07 < v-dogg> well, not tonight anyway :) 23:09 < v-dogg> telly time 23:09 < v-dogg> -> 23:11 < Wombert> bye! 23:16 < eremit> n8 all 23:30 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 23:30 < digitarald> hi ... an 23:30 < digitarald> anybody out there? :) 23:49 * Wombert yawns 23:59 -!- birk [n=birk@84.245.95.236] has joined #agavi --- Day changed Sun Aug 06 2006 00:02 < Wombert> hello birk 00:02 < Wombert> welcome to agavi :) 00:03 < digitarald> hi wombert ... time short question? 00:03 < Wombert> shoot 00:03 < birk> hello wombert 00:04 < birk> i'm just looking arround for some nice php framework 00:04 < birk> just decided to decide for one 00:04 < Wombert> cool :> 00:04 < birk> however, there are few of them arround 00:04 < birk> any suggestion ;) 00:04 < birk> ? 00:05 < Wombert> agavi! :) 00:05 < digitarald> the messages vor validation are in the xml ... i'm using gettext ... that just makes me headaches 00:05 < digitarald> agavi! 00:05 < birk> pros? 00:05 < digitarald> wrong channel for other suggestions ;) 00:05 < birk> :D yeah, i know. but, anyway 00:05 < birk> why should i choose this one? 00:06 < Wombert> because we are the first framework to get it right ;) 00:06 < Wombert> no hacks 00:06 < Wombert> no nasty aspects 00:06 < Wombert> everything is thought through from the beginning to the end 00:06 < digitarald> what do u need ... free space for own ideas or some click-and-ready framework? 00:06 < Wombert> you can't make mistakes that make your application difficult to maintain and such 00:06 < Wombert> and 00:06 < Wombert> we don't lock you in 00:06 < Wombert> you do stuff the way YOU like 00:07 < Wombert> not the way we like 00:07 < Wombert> one example: 00:07 < Wombert> many frameworks have form helper methods 00:07 < Wombert> agavi has a much better approach towards making handling of forms easier 00:08 < Wombert> therefor, you don't need any helper methods 00:08 < Wombert> so you can use the template engine YOU like 00:08 < birk> first of all, i need to speed up my development process 00:09 < Wombert> agavi is fast 00:09 < Wombert> mind you 00:09 < Wombert> you don't get any ready-to-run stuff 00:09 < birk> that's ok 00:09 < digitarald> agavi speeds up development ... u can reuse many things because mvc pattern 00:09 < Wombert> no scaffolding etc 00:09 < Wombert> but 00:09 < impl> Propel support! 00:09 < Wombert> we have a very, very clean structure 00:09 < Wombert> and that makes you fast 00:09 < birk> is it easy to learn? 00:09 < Wombert> no room for mistakes and bad decisions 00:09 < birk> i need to grab it as soon as possible 00:10 < digitarald> *lol* ... we have to tape-record that for agavi.org/promotion ;) 00:10 < Wombert> it is easy to learn, yes 00:10 < impl> Of course the lead developer says that ;) 00:10 < ttj> Well, as soon as .11 is out... ;-) 00:11 < Wombert> for instance, you cannot easily put presentational stuff into action, where your logic sits 00:11 < Wombert> and agavi actively encourages you to maintain separation of layers 00:11 < Wombert> one second 00:11 < digitarald> oh ... i have to delete my 'echo ' commands ... 00:11 * impl grumbles at Request locking 00:11 < Wombert> one example 00:11 < birk> that fine, my code is usualy very messy 00:12 < Wombert> http://trac.agavi.org/trac.cgi/changeset/735 00:12 < Wombert> that changeset added application/xhtml+xml serving to capable browsers 00:12 < Wombert> another example, or, rather, aspect 00:12 < Wombert> agavi offers a level of separation and cleanliness 00:13 < Wombert> where all it needs to make an application ajax capable 00:13 < Wombert> or adding an xmlrpc interface to it 00:13 < Wombert> is new templates for output 00:13 < Wombert> also, our security concept guarantees that if you have validation on, your action only gets validated input if you want that 00:13 < Wombert> first, you develop your application 00:14 < Wombert> then, you add validation to it and switch on the tainted mode 00:14 < Wombert> and it's bulletproof 00:14 < Wombert> guaranteed 00:14 < birk> :) 00:14 < birk> ok. let me have a look on your site again ;) 00:14 < Wombert> no 00:14 < Wombert> it sucks ;) 00:14 < Wombert> check out a copy from trunk and play around with it 00:14 < impl> Wombert: This is kinda a side comment, but I'm not sure tainted means what you think it means 00:15 < Wombert> impl: I know, tainted mode is a little different, isn't it? 00:15 < impl> Tainted seems to imply that the input is, well, tainted, meaning that it contains both good and bad things 00:16 < impl> Definition av tainted p ntet p engelska: 00:16 < impl> * corrupt: touched by rot or decay; "tainted bacon"; "`corrupt' is archaic" 00:17 < digitarald> btw ... gettext in validation msgs ... problem? ;) 00:17 < Wombert> digitarald: yep 00:17 < Wombert> that's why I said we need a TranslationService with i18n support 00:17 < impl> digitarald: I think i18n support is up next 00:17 < impl> yeah 00:17 < impl> hehe 00:17 < Wombert> yep 00:17 < Wombert> the last thing remaining 00:17 < Wombert> we need to get it right 00:17 < Wombert> and it must be lightweight 00:17 < digitarald> to .11 ... 00:18 < digitarald> like in prado ... or the pear solution 00:18 < digitarald> lightweight 00:18 < impl> Wombert: Can we make the translationservice just sit on top of everything? 00:18 < digitarald> but i have no idea ;) 00:18 < digitarald> with a filter 00:18 < impl> Not have to be tied into /any/ code really, besides maybe configs? 00:19 < Wombert> what exactly do you mean, impl 00:19 < Wombert> well 00:19 < impl> I mean, get it away from all the contexts and controllers and stuff 00:19 < Wombert> guys 00:19 < digitarald> gettext is the 'overall' solution ... but with xml its senseless 00:19 < Wombert> IF you want to have i18n in 0.11... 00:19 < digitarald> master 00:19 < Wombert> send in your ideas and drafts NOW 00:19 < impl> TranslationService::translate(...) 00:19 < digitarald> :) 00:19 < Wombert> it won't be in 0.11b1, but in b2 then 00:20 < Wombert> I'll be happy to move i18n from 1.0 down to 0.11 00:20 < impl> Wombert: I /am/ going to figure out a working, fast implementation for a replacement for decorators! I am! 00:20 < impl> ;x 00:20 < Wombert> impl: but not for 1.0, really 00:20 < impl> It's my priority, because I don't like decorators :P 00:21 < impl> mmm, tho 00:21 < impl> I'm going to fix up XslRenderer right now 00:21 < Wombert> good idea 00:21 < impl> It's a few hundred revisions behind by now :) 00:21 < digitarald> and i'm going to overwrite the validation msgs with gettext ;) 00:23 -!- AgaviBot [n=dzuelke@dslb-088-064-000-102.pools.arcor-ip.net] has joined #agavi 00:23 < Wombert> digitarald: you COULD do that in a filter! 00:23 < Wombert> (for now, until we have i18n) 00:25 < CIA-6> david * r912 /trunk/src/routing/AgaviRouting.class.php: only add user as a routing source if security is on 00:25 < digitarald> and the filter holds all replacements? 00:25 < Wombert> this is new by the way... routing sources can now be anything, you just have to write an adapter for it... 00:25 < Wombert> digitarald: no, the filter gets the error messages, translates them, and then puts them back 00:25 < Wombert> must be done after execution happened 00:25 < Wombert> i.e. after $filterChain->execute(); 00:25 < digitarald> then gettext can't parse them automatically 00:27 < impl> Wombert: Do you use @var array for an array, or like @var string[] ? 00:27 < devosc> re i18n, TranslationService::translate(...), wouldnt be entirely ideal, 00:28 < devosc> consideration needs to be made towards browser 00:28 < devosc> user language being different from another user instance. 00:28 < devosc> i.e the browser user is administrating another user whose i18n is of a different locale 00:29 < Wombert> impl: @var array 00:30 < Wombert> devosc: I didn't get that 00:30 < Wombert> birk: meet AgaviBot, an irc bot written in agavi 00:30 < impl> Wombert: okies 00:30 < Wombert> !seen horros 00:30 < AgaviBot> Wombert: horros was last seen on Tue Jul 18 00:32:16 2006 saying "disregard me." 00:30 < Wombert> birk: this SeenAction can also be accessed via the web interface 00:30 < Wombert> it's exactly the same code 00:31 < Wombert> just different output 00:32 < devosc> say the site admin is in German, but the user their administering (possibly sending an email to) is in English 00:33 < devosc> suggestion $User->getCulture()->translate(); 00:33 < devosc> suggesting* 00:38 < digitarald> $context and $user have own culture ... just implement that :) 00:38 < devosc> sounds reasonable 00:39 < digitarald> but when one user writes, he is using his culture ... when the other user is reading he is using is culture ... the one user don't need to know the other culture? 00:40 < devosc> depends, since something may need to automatically determine and or set what a particular users culture is 00:41 < devosc> e.g. admin logs in, say the browser language is used, they send email to another user (templated i18n text) 00:42 < Wombert> yeah that would, for instance, be done in the routing 00:42 < devosc> that email template text must be set (somehow) and sent to user in their own preferred lanh 00:42 < devosc> lang* 00:42 < Wombert> I want these things: 00:42 < Wombert> a) central culture for the request, set in the controller 00:42 < Wombert> b) fallback languages 00:43 < Wombert> c) support for l10n (number formatting, dates and such) 00:43 < Wombert> d) per-language templates, if the user wants that 00:43 < impl> mmmm 00:43 < Wombert> e) translation of all messages where feasible, currently, that's only validation, via a TranslationManager 00:44 < impl> Hmmm. 00:44 < digitarald> sounds like it fits in 0.11 ... *hope* 00:48 < impl> Wombert: I can't support extractVars in XSL. Should I throw an exception? 00:50 < Wombert> oh 00:50 < Wombert> you can't? 00:50 < Wombert> :< 00:50 < Wombert> why not 00:51 < impl> Because ... it would be like placing elements in XML without any document around them 00:51 < impl> you know? 00:51 < impl> It'd look like 00:51 < impl> test test2 00:51 < Wombert> ah yes 00:51 < Wombert> of course 00:51 < Wombert> so 00:51 < Wombert> the template var name 00:51 < Wombert> will be the name of the outer element? 00:51 < impl> Yeah 00:51 < Wombert> k 00:51 < Wombert> throw an exception during initialization 00:52 < impl> I don't have a way to change the attributes name 00:52 < Wombert> i.e. in initialize() 00:52 < impl> alright 00:52 < impl> I'll throw the same for extractSlots 00:52 < Wombert> AgaviInitializationException please 00:52 < Wombert> yep 00:52 < impl> got it :D 00:53 < digitarald> but u can extract them with a regex pattern, nor? 00:53 < Wombert> ? 00:53 < impl> digitarald: No, the attributes form an XML document, which is then passed to an XSL template 00:54 < impl> Wombert: right now I have $this->xmlEngineAttributes = $this->xmlEngineRoot->appendChild(new DOMElement('attributes')); 00:54 < impl> Any suggestions on how to make 'attributes' customizable? 00:55 < Wombert> impl: forgive my ignorance, but I'm not at all familiar with xml 00:55 < Wombert> would you mind showing me an example view 00:55 < Wombert> and an xsl template 00:55 < impl> sure, hold on 00:55 < Wombert> so I can see what it looks like 00:55 < Wombert> thank you 00:55 < impl> unless I accidentally deleted them ... 00:55 < impl> D: 00:55 < impl> Give me a few minutes 01:01 < digitarald> ok ... lets add the google-search-highlight output filter ... something real useful :) 01:02 < Wombert> I would make that a rendering filter 01:02 < Wombert> or 01:03 < Wombert> hmm 01:03 < Wombert> maybe a global filter 01:03 < Wombert> no 01:03 < Wombert> global filter 01:03 < Wombert> rendering filters are cached 01:03 < Wombert> (once the CachingExecutionFilter works again, hehe) 01:04 < impl> gar, this is so broooooken 01:05 < impl> Why isn't the 404 handler working, agh 01:11 < impl> GAH!! 01:11 < impl> I HAD ROUTING DISABLED! 01:11 < impl> Someone shoot me now 01:12 < Wombert> ^^ 01:21 < impl> blah, this is so ugly! 01:22 * impl thinks separation between attributes and slots should be enforced 01:24 < Wombert> that's why you can have separate variables! 01:24 < impl> I know, but it should be enforced, as in... there's no way to make it just one variable instead 01:38 < Wombert> hmm 01:41 < impl> ...at which point we could just say to have two vars, $attributes and $slots 01:41 < impl> $this->attributesVarName, $this->slotsVarName or so 01:48 < Wombert> so you'd say we should make, say, $template and $slots default? 01:48 < Wombert> hmm 01:48 < impl> Yeah. 02:28 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 03:53 -!- birk [n=birk@84.245.95.236] has quit [Read error: 60 (Operation timed out)] 03:55 * Macca` pokes about 04:02 < Wombert> what's up 04:09 < Macca`> not much 04:09 < Macca`> i'm just depressed 04:09 < Macca`> this website has just gotten uglier and uglier 04:09 < Macca`> if i weren't 9 days from deadline i'd scrap it and start again 04:12 < Wombert> :S 04:29 -!- AgaviBot [n=dzuelke@dslb-088-064-000-102.pools.arcor-ip.net] has quit [Remote closed the connection] 04:29 -!- Wombert [n=Wombert@dslb-088-064-000-102.pools.arcor-ip.net] has quit [] 04:39 < Macca`> what causes the attributes of $this->getContext()->getRequest()->setAtribute() ... to be cleaered? 04:56 < Macca`> nm. 05:01 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 06:35 -!- shoan [n=shoan@59.92.137.181] has joined #agavi 06:49 -!- sho[a]n [n=shoan@59.92.129.244] has quit [Read error: 110 (Connection timed out)] 07:19 -!- shoan [n=shoan@59.92.137.181] has quit [] 07:20 -!- shoan [n=shoan@59.92.137.181] has joined #agavi 07:21 -!- shoan [n=shoan@59.92.137.181] has quit [Client Quit] 08:26 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:10 -!- raidman|Away is now known as raidman|Work 09:10 -!- raidman|Work is now known as raidman|Away 09:11 -!- raidman|Away is now known as raidman|Work 09:43 < eremit> morning 09:44 < raidman|Work> morning 09:44 < raidman|Work> eremit, morning :) 10:40 < v-dogg> huomenta 11:41 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 11:56 -!- raidman|Work is now known as raidman|Away 12:16 -!- Wombert [n=Wombert@dslb-088-064-000-102.pools.arcor-ip.net] has joined #agavi 12:16 -!- AgaviBot [n=dzuelke@dslb-088-064-000-102.pools.arcor-ip.net] has joined #agavi 12:17 < Wombert> houmenta! 13:11 < v-dogg> huomenta :) 13:11 < v-dogg> how's the head? 13:12 < Wombert> perfect shape 13:12 < Wombert> haha 13:12 < Wombert> no pun intended 13:14 < v-dogg> :) 13:16 < Wombert> I'll just quickly have a shower and then it's time to get some work done 13:16 < Wombert> shall we fix the routing today, v-dogg? 13:17 < v-dogg> in the evening perhaps? 13:18 < v-dogg> one thing I have to get done before that and I'm also having lunch with my folks 13:38 < v-dogg> any idea why the content type doesn't get set 13:38 < v-dogg> it's defined in content_types.xml and the route has content_type attribute 14:07 < Wombert> output_type? 14:32 -!- shoan [n=shoan@202.56.231.116] has joined #agavi 14:47 < Wombert> hi shoan :) 14:47 -!- raidman|Away is now known as raidman|Work 14:48 < shoan> Hi Wombert 14:48 < shoan> how goes it? 14:49 -!- raidman|Work is now known as raidman|Away 14:53 -!- raidman|Away is now known as raidman|Work 14:55 < digitarald> Buenas a todos 15:00 -!- raidman|Work is now known as raidman|Away 15:09 -!- raidman|Away is now known as raidman|Work 16:01 < v-dogg> Wombert: yeah, output_type 16:07 < eremit> When exactly is Action::execute() executed ? ... only if there is no execute(write/read) or is it always executed ? 16:09 < v-dogg> if execute[method] is not found 16:09 < Wombert> yes 16:09 < Wombert> keep in mind tho that having an execute() method means the action serves all defined request methods 16:10 < eremit> ty .. 16:10 < Wombert> if you only have executeWrite(), it only serves write 16:10 < Wombert> if you have executeWrite() and execute(), it serves write, read, and any others you might have 16:10 < eremit> yeah ... i'm aware of that .. 16:11 < eremit> i need a common code being called on _every_ request and special code for write ... so having a $this->execute at the beginning of write should do the job ... 16:11 < v-dogg> we need 'view' target for agavi script 16:11 < Wombert> eremit: yep 16:11 < Wombert> v-dogg: why 16:11 < v-dogg> or can I just use agavi action... 16:11 < Wombert> yep 16:11 < Wombert> doesn't overwrite anything 16:11 < v-dogg> of course not, stupid me 16:11 < v-dogg> splendid 16:12 < Wombert> so I'll un-& the storage methods... 16:12 < Wombert> and decorate 16:12 < v-dogg> go 16:13 < v-dogg> hmm.. let's see how badly this will mess up things.. 16:13 < v-dogg> mv webapp app 16:13 < Wombert> what 16:13 -!- raidman|Work is now known as raidman|Away 16:13 < Wombert> xD 16:13 < Wombert> btw 16:14 < Wombert> public function % foo() 16:14 < Wombert> public function &foo() 16:14 < Wombert> which? 16:14 < Wombert> s/%/& 16:14 < v-dogg> I like function & foo() 16:15 < v-dogg> it's like java's public int foo() 16:15 < v-dogg> clean and pretty 16:18 < v-dogg> wtf.. 16:20 < CIA-6> v-dogg * r913 /trunk/src/exception/templates/shiny.php: One more webapp to app 16:21 < v-dogg> who the hell did I miss that 16:21 < v-dogg> was I drunk or something :D 16:21 < v-dogg> I remember clearly searching the whole src and finding no webapp's :D 16:22 < Wombert> me too 16:22 < Wombert> seriously 16:22 < Wombert> I think the repos is getting more and more foobar'd 16:22 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:22 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/913: Changeset [913]: One more webapp to app 16:22 < Wombert> from what I heard, BDB was always buggy 16:23 < Wombert> remember your checkin I accidentially reverted? 16:23 < v-dogg> yep 16:23 < Wombert> I didn't get an out-of-date error or anything 16:23 < Wombert> that shouldn't have happened 16:23 < Wombert> and yet it did 16:23 < v-dogg> that seriously should not be possible 16:23 < v-dogg> ever 16:24 < CIA-6> david * r914 /trunk/tests2/request/RequestTest.php: whoops, forgot to adjust tests when removing Request::getParameters(), refs #309 16:24 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:24 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/914: Changeset [914]: whoops, forgot to adjust tests when removing Request::getParameters(), ... 16:25 < v-dogg> heh, wait a minute 16:25 < v-dogg> I DID search and replace every webapp from shiny.php 16:25 < Wombert> and I broke it again or so? 16:25 < v-dogg> but I never commited that because dominik beat me to it 16:25 < Wombert> xD 16:25 < Wombert> oO 16:26 < v-dogg> and he missed that one 16:26 < Wombert> but 16:26 < Wombert> WTF 16:26 < Wombert> wait 16:26 < v-dogg> catch (StupidUserError $sue) 16:26 < Wombert> that was in the list 16:26 < Wombert> of the folder names that get replaced, right? 16:26 < v-dogg> http://trac.agavi.org/trac.cgi/changeset/895 16:26 < Wombert> I _know for sure_ I saw that and committed it 16:26 < Wombert> wtf wtf wtf? 16:27 < Wombert> am I dreaming or what 16:27 * Wombert pokes himself 16:27 < v-dogg> http://trac.agavi.org/trac.cgi/changeset/876 16:27 < v-dogg> no, shiny.php wasn't touched 16:28 < Wombert> hm yeah but after that 16:28 < Wombert> weird 16:28 < Wombert> and wtf is going on with the sample app oO 16:28 < Wombert> ah 16:28 < Wombert> my bad 16:28 < Wombert> or 16:28 < Wombert> uh 16:31 < Wombert> wtf 16:33 < v-dogg> 30.6 C (12:49 GMT) 16:33 < v-dogg> today's high 16:33 < v-dogg> currently 28.9 C (84.0 F) 16:34 < v-dogg> a very good reason to go and get an ice-cold beer :)~ 16:36 * Wombert waits for that commit to go through 16:36 * Wombert kicks CIA-6 16:36 < CIA-6> ow 16:36 < Wombert> haha 16:36 < Wombert> fantastic 16:36 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:36 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/915: Changeset [915]: fixed routing source blah blah 16:37 < CIA-6> david * r915 /trunk/src/routing/AgaviRoutingArraySource.class.php: fixed routing source blah blah 16:37 < Wombert> finally 16:39 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 16:39 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/34: Ticket #34 (task) closed by david 16:39 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/916: Changeset [916]: hopefully removed last remaining &s, closes #34 16:45 < CIA-6> david * r916 /trunk/ (8 files in 3 dirs): hopefully removed last remaining &s, closes #34 16:46 < v-dogg> Wombert: that forward-via-return in view is a bit ambiguous 16:46 < Wombert> why 16:46 < v-dogg> at least for old mojavi and agavi folks 16:47 < v-dogg> forwarding was explicit and clear before 16:48 < digitarald> btw ... executeWrite is called on POST and executeRead on GET? 16:48 < v-dogg> yes 16:48 < digitarald> thx 16:49 < Wombert> that's the default mapping, yes 16:49 < Wombert> you can change that, and even rename the methods etc if you like 16:49 < Wombert> and hey that's another occasion where nested params are useful 16:49 * Wombert goes do that 16:50 < v-dogg> yeah, we let you do almost anything 16:50 < v-dogg> other that forward from an action ;) 16:50 < v-dogg> *than 16:51 < Wombert> v-dogg: what do you suggest 16:51 < v-dogg> don't know really 16:52 < digitarald> is there anywhere a nice validate.xml ... the sample app does not contain one :( 16:52 < v-dogg> I kind of got fond of the idea of View::jumpTo or alike 16:52 < v-dogg> something explicit 16:52 < v-dogg> but perhaps we don't want to tear that open again 16:52 < Wombert> digitarald: yes there is one... a small one though ;) 16:52 < v-dogg> so forget I opened my mouth :) 16:53 < Wombert> v-dogg: hmm 16:54 < digitarald> may be somebody can add it to the sample app ... there are validators but without a sample configuration its difficult to get through them 16:55 < Wombert> uuuh 16:55 < Wombert> where is that one? 16:55 < Wombert> another one missing from the merge? 16:55 < Wombert> wtf? 16:55 < Wombert> arrrgggghhhhhhhhhhhhhh 16:55 < digitarald> there was one some time ago ;) 16:55 * Wombert kicks the repos 16:56 < Wombert> yes, there was one 16:56 < eremit> i would vote for a repos resetup after the 1.0 release ^^ 16:56 < Wombert> no, after 0.11 16:56 < eremit> or after .11 16:57 < Wombert> WTF 16:57 < Wombert> WTF 16:57 < Wombert> WTF 16:57 < v-dogg> Wombert: when we move everything to bitxtender?-) 16:57 < Wombert> it got lost during the webapp->app rename 16:57 < Wombert> omg 16:57 < digitarald> but by now ... just find the xml ;) 16:57 < Wombert> v-dogg: yeah we definitely have to do that 16:57 < v-dogg> a good place to reset things like that then :) 16:59 < Wombert> this is weird 16:59 < Wombert> webapp was renamed to app 16:59 < Wombert> I merged that change to the branch 16:59 < Wombert> but Login.xml stayed in the webapp/blah folder 16:59 < Wombert> weird weird weird 16:59 < Wombert> well understandable in a way but still... 16:59 < Wombert> mmmh 16:59 * Wombert kicks svn 17:04 < v-dogg> Wombert: btw, we discussed agavi.org and the whole website sometime ago 17:05 < v-dogg> I talked about php and php frameworks with some guys from my uni the other day and I told them that this is finally going to be an awesome framework even for enterprise use 17:05 < v-dogg> and then... 17:05 < v-dogg> I accidentaly wrote agavi.org... 17:06 < v-dogg> and everybody went there.... 17:06 < v-dogg> and... we really.. really... have to do something... fast :D 17:06 < v-dogg> at least remove that video and 0.10 news 17:07 < v-dogg> and write a few lines of 0.11 17:08 < v-dogg> it does not have to be anything fancy or drop-dead-gorgeous 17:08 < v-dogg> might even be the very same layout than currently 17:09 < v-dogg> but outdated data must go and something, even just a little, new must be added 17:14 < v-dogg> I think a first page saying "Agavi is a PHP MVC framework that, we are proud to say, is the first truly flexible and enterprise-ready PHP frameworks in the world. First beta of 0.11 coming soon. Stay tuned" 17:14 < v-dogg> would do less harm than what's there now :) 17:17 < eremit> ah, maybe i'm again stupid atm ... but how to move data from action to view? 17:17 < Wombert> yep 17:17 < Wombert> eremit: $this->setAttribute('foo', $foo); 17:17 < Wombert> in the action 17:18 < Wombert> it's then automatically set in the view 17:18 < eremit> hmmm ... 17:19 < v-dogg> you can also use request attributes if you need some control data or something just for view and don't want it in template (use namespaces too) 17:20 < Wombert> yeh or you unset it in the view 17:20 < eremit> yeah ... but what is the AgaviParameterHolder parameter in View::execute() for ? 17:21 < eremit> i expected to have my attributes in there ... 17:21 < eremit> like the old idea ... action attributes get view parameters ... oO ... 17:21 < Wombert> no, that's the request params 17:21 < eremit> O_o ... 17:22 < eremit> this must be stressed out ^^... it'S a kind of confusing 17:23 < eremit> the whole Parameter Attribute thing is a little bit confusing ... what exaclty are attributes and what are parameters .. 17:25 < CIA-6> david * r917 /trunk/src/request/AgaviWebRequest.class.php: changed WebRequest to use nested parameters ('method_names', sub-keys 'GET' and 'POST') for request method mapping configuration 17:25 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 17:25 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/917: Changeset [917]: changed WebRequest to use nested parameters ('method_names', sub-keys ... 17:26 < Wombert> eremit: no, why? 17:26 < Wombert> it's always been parameters for data that comes in, and attributes for stuff you do in the app 17:26 < Wombert> that didn't change with 0.11 17:27 < Wombert> anyone with access to a solaris box 17:28 < Wombert> or some degree of unix experience 17:28 < Wombert> apparently, solaris doesn't have bash 17:28 < Wombert> I'd say: bad luck 17:28 < Wombert> ${pwd} and things just won't work without bash 17:28 < Wombert> (ticket #90) 17:28 < v-dogg> how was that guy who reported that? 17:28 < v-dogg> didn't want to fix it too? 17:28 < Wombert> I think it was jake 17:28 < Wombert> yeah but he couldn't for some reason 17:32 < v-dogg> close it unfixed? or postpone it? 17:32 < Wombert> I'd say "wontifx" 17:32 < Wombert> #!/bin/sh 17:32 < Wombert> in the head 17:32 < Wombert> shouldn't we change that to #!/bin/bash 17:32 < Wombert> ? 17:33 < Wombert> isn't sh a symlink to bash on linux and os x and such? 17:33 < v-dogg> not always 17:35 < v-dogg> but anyways, there's not a lot we can do to it until some solaris users decides to have a go with it 17:35 < v-dogg> it doesn't really matter what we do with the ticket 17:36 < v-dogg> close it 'wontfix' and lets not worry about it 17:38 -!- Wombert_ [n=Wombert@dslb-088-064-005-154.pools.arcor-ip.net] has joined #agavi 17:38 -!- Wombert [n=Wombert@dslb-088-064-000-102.pools.arcor-ip.net] has quit [Nick collision from services.] 17:38 -!- Wombert_ is now known as Wombert 17:39 < v-dogg> Wombert: http://users.tkk.fi/~tjorri/agavi/logs/agavi-200608.log 17:39 < Wombert> awwwwwwww 17:39 * Wombert hates his ISP 17:40 < Wombert> yep 17:40 < v-dogg> oh fuck... 17:40 < Wombert> go 17:40 < v-dogg> just learned something... 17:40 < v-dogg> fuckfuckfuck 17:40 < Wombert> ? 17:40 < Wombert> whatwhatwhat 17:40 < v-dogg> I thought having a sqlite db file in app/db was a good idea 17:41 < v-dogg> but its not 17:41 < v-dogg> because I tend to move the whole (web)app folder to the server overwriting all files 17:41 < v-dogg> there goes my db :D 17:41 < Wombert> oooooh 17:41 < Wombert> :S 17:41 < Wombert> but tbh, I'd put it there, too 17:41 < Wombert> see 17:41 < Wombert> that's the reason 17:41 < Wombert> why we have 17:42 < Wombert> http://trac.agavi.org/trac.cgi/ticket/131 17:42 < Wombert> we need that! 17:44 < v-dogg> it's going to be tricky to keep flexible 17:44 < digitarald> oh yeah ... its raining ... *dancingaround* 17:46 < Wombert> it's been raining for days here 17:46 < Wombert> v-dogg: well... RoR has a pretty solid implementation that can use ftp, rsync, ssh etc 17:47 < Wombert> I think it's far from impossible 17:48 < v-dogg> I've come to a conclusion that nothing is impossible for you guys :D 17:48 < v-dogg> but it's not an easy task to write a good, flexible and simple to use deployment script/app/wahtever 17:49 < v-dogg> for a spesific project it's not hard at all 17:49 < v-dogg> but for a framework - I'd think anyway - not so simple anymore 17:49 < v-dogg> not that I've even thought about it really 17:50 < Wombert> me neither 17:50 < Wombert> that's why it's scheduled for 2.0 ;) 17:50 < v-dogg> haha :) 17:50 < eremit> [16:24] eremit: no, why? 17:50 < digitarald> php6 is scheduled for 2.0 too ... why? ;) 17:51 < eremit> is said not it must be changed .. i only said this part must be really made clear ... 17:51 < v-dogg> eremit: Parameters are always from "outside" 17:51 < Wombert> eremit: yeah but it has always been like this 17:51 < Wombert> it's nothing new 17:51 -!- AgaviBot [n=dzuelke@dslb-088-064-000-102.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 17:53 -!- AgaviBot [n=dzuelke@dslb-088-064-005-154.pools.arcor-ip.net] has joined #agavi 17:55 < Wombert> hmm 17:55 < Wombert> I'll have another go wrt agavi-dist 17:56 < Wombert> hmmm 17:57 < Wombert> wouldn't it be a relatively safe bet to just change the shebang line to #!/bin/bash? 17:57 < eremit> and what about some of the unix systems noch having /bin/bash ? 17:57 < Wombert> I only have access to a SunOS 5.9 box here but bash is available 17:57 < Wombert> eremit: bad luck 17:58 < Wombert> install it or change the script and make it work 17:58 < Wombert> I don't care 17:58 < Wombert> I just want it to run on as many installations as possible 17:58 < digitarald> what about yaml for configuration ... i think it makes some things easier to read than xml 17:58 < Wombert> and while I'm no expert, the reason why it doesn't work on solaris is because the shebang is #!/bin/sh, not #!/bin/bash 17:58 < Wombert> digitarald: lol 17:58 < Wombert> digitarald: not gonna happen 17:59 < v-dogg> digitarald: don't go there :) 17:59 < digitarald> i found that pro-yaml post in the trac ... thought agavi-team like yaml ;) 18:00 < v-dogg> that was considered but xml is better 18:00 < v-dogg> and yaml.. is not that good 18:01 < Wombert> pro-yaml post? 18:01 < Wombert> no 18:01 < Wombert> we don't have that 18:01 < v-dogg> but because agavi is, like all frameworks should be, extremely flexible, you can always write a yaml config handler ;) 18:01 < Wombert> in fact, we hate yaml 18:01 < Wombert> yes, of course, you can do that 18:01 -!- shoan [n=shoan@202.56.231.116] has quit [Read error: 54 (Connection reset by peer)] 18:01 < Wombert> write a yaml parser that parses a yaml file to our ConfigValueHolder format 18:01 < Wombert> and you're good to go 18:01 -!- shoan [n=shoan@202.56.231.116] has joined #agavi 18:02 < Wombert> but still, yaml sucks xD 18:02 < v-dogg> now gentlemen, that's the way A Framework works :) 18:02 < Wombert> one very good reason pro xml is that with the xsds we ship, a good editor will show errors right away 18:02 < v-dogg> The Framework 18:02 < Wombert> exactly, v-dogg 18:02 < Wombert> WE DON'T LOCK YOU IN! 18:03 < CIA-6> david * r918 /trunk/etc/agavi-dist: changed shebang in agavi-dist to point to /bin/bash, best thing we can do to fix #90 18:03 < v-dogg> BUT YOU CANNOT FORWARD FROM AN ACTION! 18:03 < v-dogg> ;) 18:04 < digitarald> can i teach my eclipse to validate my xml ... tried but failed 18:04 < Wombert> dunno, I use something better ^_° 18:04 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 18:04 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/90: Ticket #90 (defect) closed by david 18:04 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/918: Changeset [918]: changed shebang in agavi-dist to point to /bin/bash, best thing we can do ... 18:14 < digitarald> xml and eclipse ... any ideas? 18:14 < v-dogg> nada 18:16 < digitarald> what do use for validated, highlighted xml? 18:16 < CIA-6> david * r919 /trunk/src/ (6 files in 3 dirs): made the last remaining private vars protected as they should be, where feasible, of course. closes #107. open ticket counts are tumbling now\! 18:19 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 18:19 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/107: Ticket #107 (task) closed by david 18:19 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/919: Changeset [919]: made the last remaining private vars protected as they should be, where ... 18:24 -!- shoan [n=shoan@202.56.231.116] has quit [Read error: 104 (Connection reset by peer)] 18:25 -!- shoan [n=shoan@202.56.231.116] has joined #agavi 19:09 -!- eremit [n=eremit@p5490BD0E.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC with a difference"] 19:15 -!- shoan [n=shoan@202.56.231.116] has quit [Read error: 104 (Connection reset by peer)] 19:57 < CIA-6> david * r920 /trunk/src/filter/AgaviFormPopulationFilter.class.php: added support for selects with type='multiple' 19:59 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 19:59 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/920: Changeset [920]: added support for selects with type='multiple' 20:03 < v-dogg> \o\ 20:26 < digitarald> somebody out there to help me with a form-submit problem? :) 20:26 < Wombert> sure 20:27 < digitarald> the result of a search-submit should be path/search/word+word2 ... thats only possible when i redirect, right? 20:28 < Wombert> I think + is for query strings 20:28 < Wombert> not sure tho 20:28 < Wombert> anyways, I didn't get the question :D 20:29 < digitarald> ok ... search form ... searching for 'cool thing' ... by clicking submit you came to mysite.org/search/cool+thing 20:29 < Wombert> okay 20:30 < digitarald> solution is a redirect, right? 20:30 < Wombert> I still don't get it 20:30 < Wombert> you mean 20:30 < Wombert> because submitting the form 20:30 < Wombert> will add ?query=cool+thing 20:30 < Wombert> ? 20:31 < digitarald> old school submitting will give the result .../search/?query=cool+thing ... right 20:32 < digitarald> i can write something with javascript ;) ... but the solution with php is only a redirect 20:33 < Wombert> yeah 20:33 < Wombert> I don't think /search?query=cool+thing is a big deal though 20:35 < digitarald> it's not ... just one idea to make something that others don't have ;) 20:35 < Wombert> oh come on 20:35 < Wombert> that's really not worth the effort :p 20:37 < digitarald> we'll see ;) 20:43 -!- shoan [n=shoan@59.92.137.181] has joined #agavi 20:55 < Wombert> may I recommend something though 20:56 < Wombert> 20:56 < Wombert> cool, eh? ;) 20:57 < Wombert> that accepts /search/subject and /search?query=subject 20:59 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 20:59 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/266: Ticket #266 (defect) closed by dominik 21:35 < v-dogg> what digitarald means (i think) is this: 21:36 < v-dogg> normally when you have form method=get, variables are put into the url 21:36 < v-dogg> foo/search.php?variable=foo 21:37 < v-dogg> and now, he'd like to have /foo/search/foo 21:37 < v-dogg> and yes, you will have to redirect to achieve that 21:37 < v-dogg> get variables are always put after the ? and using name=value format 21:37 < digitarald> and additional, to reduce server requestes with some javascript 21:38 < v-dogg> yeah of course there is always javascript.. if you like it... 21:39 < v-dogg> it'd be quite simple with javascript actually 21:39 < v-dogg> just catch onsubmit (or whatever) and call /foo/search/$variable 21:40 < digitarald> i write my degree about rich-client-e-commerce applications ... ajax ... i think i will include some javascript ;) 21:40 -!- shoan is now known as [s]hoan 21:56 < digitarald> what about the missing valdiators.xml? 22:11 -!- raidman|Away [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 22:11 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has joined #agavi 22:36 < digitarald> i found a preset in the wiki ... 22:36 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:43 -!- benny`work [n=benny@p54AC40BB.dip0.t-ipconnect.de] has joined #agavi --- Day changed Mon Aug 07 2006 00:56 -!- benny`work [n=benny@p54AC40BB.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:18 * Wombert yawns 01:18 * Wombert pokes impl 01:18 * impl yelps 01:18 < impl> Hey-ho 01:18 < Wombert> 'sup with teh XslRenderer 01:19 < Wombert> you wanted to show me some examples and such =) 01:19 < impl> It started looking really ugly, so I decided to wait a bit until I could get a conclusive answer on whether you were planning on getting rid of the ability to keep template attributes/slots in the same array 01:19 < impl> If that makes any sense 01:19 < Wombert> why get rid of it 01:20 < Wombert> nobody died from it so far so... 01:20 < impl> It's making my class ugly =P 01:20 < Wombert> there _is_ the ability to have them separated, why remove the ability to merge them 01:20 < Wombert> why :< 01:20 < impl> Because with XML... if you try to create the same element twice it'll do it 01:20 < impl> So it's much harder to merge them 01:20 < Wombert> can't you 01:20 * Wombert thinks 01:20 < impl> As opposed to a PHP array, where you can just say array_merge 01:21 < impl> It's possible to do, just not very pretty looking 01:21 < Wombert> merge attributes and slots, then transform it to xml? 01:21 < Wombert> I have no idea at all how all this works 01:21 < Wombert> show me! 01:21 < Wombert> :> 01:21 < impl> Hrmm... let me think about that 01:22 < impl> oh, that led me to one other problem 01:22 < impl> Let me show a sample of how the XML output would look 01:24 < impl> http://pastebin.ca/119580 01:25 < impl> See, there's no way to determine what the name for should be :\ 01:26 < Wombert> uhm 01:26 < Wombert> why 01:26 < Wombert> why don't you wrap it into or so 01:26 < Wombert> hey 01:26 < impl> What do you mean? 01:26 < Wombert> you can even use AgaviInflector for singular and plural! yay! 01:26 < impl> hehe 01:27 < impl> :D 01:27 < impl> But where should the go? 01:27 < Wombert> http://pastebin.ca/119595 01:27 < Wombert> see 01:27 < impl> Oh... 01:27 < impl> Hm 01:27 < Wombert> in our case, template is a singular form, therefor, you auto-pluralized it 01:27 < impl> doesn't make much sense for attributes though imo 01:27 < Wombert> people obviously won't like this, so they'll rename their varName to 01:27 < Wombert> yes 01:27 < Wombert> but that's just the default behavior 01:27 < impl> Okay 01:27 < Wombert> you know what I'm saying? 01:28 < impl> Yep 01:28 < impl> I can do that 01:28 < impl> And make static 01:28 < Wombert> exactly 01:28 < Wombert> use the inflector to find the singular form of the slotsVarName and varName things 01:28 < Wombert> if the singular form is identical 01:28 < Wombert> πluralize it 01:28 < Wombert> pluralize evebn 01:28 < Wombert> -b 01:28 < impl> got it :D 01:28 < Wombert> cool 01:29 < Wombert> feel free to add singular/plural forms as you come across them 01:29 < impl> Okies 01:29 < Wombert> someone once told me the list is missing exciting worlds like moose 01:29 < Wombert> haha 01:30 < impl> majestik mse 01:30 < Wombert> you know what's cool? 01:30 < Wombert> I don't have to write a changelog 01:30 < Wombert> I just 01:30 < Wombert> haha 01:30 < Wombert> fabulous 01:30 < Wombert> export a list from trac 01:30 < CIA-6> dominik * r921 /trunk/src/request/AgaviRequest.class.php: fix coding error 01:30 < impl> hah 01:30 < impl> ooh, a descriptive commit :P 01:31 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 01:31 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 01:31 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/921: Changeset [921]: fix coding error 01:31 < Wombert> yeah especially since it's still broken ^_° 01:32 < impl> haha 01:37 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 01:53 < impl> Wombert: ermm, how do you change $varName and $slotsVarName anyhow? 01:53 < Wombert> configuration! 01:53 < Wombert> parameters for the renderer in output_types.xml 01:53 < impl> ahh okay 01:53 < impl> name="varName"? 01:54 < Wombert> uuuh yeah 01:54 < Wombert> I think the sample app uses it 01:54 < impl> arr 01:54 < impl> it's var_name 01:54 < impl> gogo sourcecode! 01:54 < Wombert> impl: still 01:54 < Wombert> could you show me a sample view 01:54 < Wombert> and an xsl template? 01:54 < impl> As soon as I'm done writing them, yes :P 01:55 < Wombert> also, would it be possible to give it a DomDocument instead of php vars? 01:55 < impl> For an attribute 01:55 < impl> ? 01:55 < Wombert> mmh nah as the "big picture" 01:56 < Wombert> maybe some people prefer this 01:56 < Wombert> or 01:56 < Wombert> well yeah 01:56 < Wombert> let's say as an attribute 01:56 < impl> You can do it as an attribute 01:56 < Wombert> cool 01:56 < impl> not as a total replacement though atm 01:56 < Wombert> so it will know it's a DomDocument and not transform it first? 01:56 < Wombert> cool 01:56 < Wombert> I have absolutely no idea how that's all working anyway so... 01:56 < Wombert> :) 02:05 < CIA-6> david * r922 /trunk/CHANGELOG: first attempt at a CHANGELOG. this is basically a 1:1 copy of the trac ticket list. so those at the top aren't implemented yet, many are superfluous, wontfix and worksforme tickets are included, and so on. 02:08 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 02:08 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/922: Changeset [922]: first attempt at a CHANGELOG. this is basically a 1:1 copy of the trac ... 02:26 < impl> Wombert: Renderer::decorate() is only ever called internally from within a Renderer right? 02:27 < Wombert> nope 02:27 < impl> Oh...? 02:27 < Wombert> :) 02:27 * impl 's plans are foiled 02:28 < Wombert> CachingExecutionFilter, for instance, will call it 02:28 < Wombert> why? 02:28 < impl> It seems to set attributes too 02:28 < impl> meaning I /might/ end up with two sets of the same attributes 02:28 < impl> If I'm not careful 02:29 < Wombert> then be careful ;) 02:29 < Wombert> it sets attributes, yes, the slots 02:29 < impl> It looks like it sets the others too 02:31 < impl> At least in PhpRenderer 02:31 < impl> Should it? 02:31 < Wombert> ah 02:31 < Wombert> you mean 02:31 < Wombert> for the template? 02:31 < impl> Yeah 02:31 < Wombert> well it always depends 02:31 < Wombert> for instance, we use the same smarty instance to decorate after rendering 02:31 < Wombert> so we don't have to re-assign vars for the decorator template 02:32 < Wombert> unlike with PhpRenderer 02:32 * Wombert scratches his head 02:32 < impl> hmmm 02:32 < Wombert> hey actually that means there would be a bug... 02:32 < Wombert> see, the CEF can cache the $content part 02:32 < Wombert> so decorators and slots are still run 02:33 < impl> So in that case, I'd have to set all the correct attributes for the master template within decorate()? 02:33 < Wombert> yes 02:33 < impl> Okay :| 02:34 < Wombert> and that would be all attributes from the view 02:34 < Wombert> in fact, the way SmartyRenderer does it is wrong 02:34 < Wombert> because attribs wouldn't be set if render() isn't run 02:34 < Wombert> but that may happen 02:34 < Wombert> the CEF can also cache template attribus 02:34 < Wombert> so $_title or something will be cached along with the content 02:35 < Wombert> and then restored when decoration is performed 02:37 < impl> o.O 02:43 < impl> okay Wombert, I think it's finally working :P 02:43 < Wombert> hooray 02:44 < Wombert> but 02:44 < Wombert> hey 02:44 < Wombert> wait 02:44 < Wombert> you ARE able to support var extraction now 02:44 < Wombert> aren't you 02:44 < impl> er 02:44 < impl> how? 02:44 < Wombert> 02:44 < Wombert> value 02:44 < Wombert> 02:44 < Wombert> or so 02:44 < Wombert> am I wrong? 02:44 < Wombert> :< 02:44 < impl> Well 02:44 < impl> Kinda 02:45 < impl> Because people may have named their attributes things that XML won't accept 02:45 < impl> e.g. you can't start XML elements with underscores 02:45 < impl> And the parser will barf if you try to 02:45 < Wombert> oh 02:45 < Wombert> well that's pretty scary 02:45 < impl> :P 02:45 < Wombert> could you catch the barf and throw an exception instead or so 02:45 < Wombert> I mean 02:45 < impl> I guess so 02:46 < Wombert> it'd be pretty cool if all renderers had the same set of features, you know what I'm saying? 02:46 < impl> yeah 02:46 < impl> I'll work on it after food, brb 02:46 < Wombert> enjoy thy meal 02:56 < impl> mmm, okay, I'm back 02:57 * impl really doesn't want to support extracting attributes :| 03:07 < Wombert> oooh 03:07 < Wombert> why not :< 03:08 < impl> Because it'll be another ugly hack onto DOMDocument to get it to check for errors, and a whole different function to get it to assign to stuff correctly 03:08 < impl> :s 03:08 < impl> I'll put up what I have right now, I think, and maybe modify it later 03:10 < Wombert> :< 03:10 < impl> http://codebox.cynigram.com/AgaviXslRenderer.class.phps 03:10 < impl> http://codebox.cynigram.com/AgaviXslRenderer.class.txt 03:13 < Wombert> how about an SVN account for you? 03:13 < Wombert> or don't you like these things ;) 03:14 < impl> I don't like obligation :P 03:14 < Wombert> what obligation 03:14 < impl> well, when you put it like that :-) 03:14 < Wombert> the only obligation would be that you FECKIN BETTER FIX BUGS BEFORE I FIND YOU AND ARRRGGGGHHHHHH GET BACK TO WORK DUUUDE OR I WILL KILL SOME KITTEN 03:15 < Wombert> like that? :D 03:15 < impl> Yeah 03:15 < impl> Like that 03:15 < impl> I have kitten quotes 03:15 < Wombert> ;) 03:15 < impl> <+Shadda> Everytime a script written in 1995 loses compatibility, a Derick kills a kitten <+nforbes> Which is good. We have too many fucking kittens anyway. 03:15 < Wombert> :D 03:16 < Wombert> seriously, though... it would, of course, be much appreciated if you could maintain the XslRenderer, i.e. add export support as soon as you find time, and, if there are bugs nobody else can quickly resolve, do that, too 03:16 < Wombert> and it's a lot easier with an SVN account ;) 03:16 * Wombert lures impl towards the trap 03:17 < impl> Okay, okay 03:17 < impl> hehe 03:17 < Wombert> hey we also have cute gurlies here and free snacks and... 03:17 < Wombert> HAH 03:17 < impl> WAIT 03:17 < impl> Do I still get the girls since I said okay beforehand? 03:17 < Wombert> no 03:17 < Wombert> bad luck 03:18 < impl> :( 03:18 * Wombert imitates the trap's *click* noise 03:18 < impl> I retract my previous offer and reinstate it now 03:18 < Wombert> no 03:18 < impl> Hah. 03:18 < Wombert> no 03:18 < Wombert> no 03:18 < Wombert> too late 03:18 < impl> ;p 03:18 < Wombert> this is not a democracy or anything, it's the land of those-who-got-an-svn-account-are-coding-slaves 03:35 < CIA-6> impl * r923 /trunk/src/renderer/AgaviXslRenderer.class.php: Rewrite of AgaviXslRenderer 03:35 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 03:35 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/923: Changeset [923]: Rewrite of AgaviXslRenderer 03:35 < impl> woooot! 03:36 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 03:48 < CIA-6> david * r924 /trunk/CHANGELOG: some CHANGELOG tweaks, still tons of duplicates, wrong names, possibly wrong types (FIX, CHG, ADD) and such 03:50 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 03:50 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/924: Changeset [924]: some CHANGELOG tweaks, still tons of duplicates, wrong names, possibly ... 04:09 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 04:35 * Wombert yawns 04:35 < Wombert> time to go to bed 04:36 < Wombert> good night folks 04:36 < impl> Night, Wombert 04:36 -!- AgaviBot [n=dzuelke@dslb-088-064-005-154.pools.arcor-ip.net] has quit ["Bye Wombert!"] 04:36 < [s]hoan> gooniite wombert 04:36 -!- [s]hoan is now known as shoan 04:36 < Wombert> shoan: mmmh can't wait for leopard 04:36 < shoan> wombert: I get a free upgrade :) 04:37 < Wombert> awwww :< 04:37 < Wombert> why 04:37 < shoan> i signed up for 3 years of free os x upgrades 04:37 < Wombert> oO 04:37 < shoan> so I am covered till 2007 :) 04:37 < Wombert> does apple offer that? 04:37 < shoan> they no longer have that :) 04:37 < Wombert> hmm 04:38 < Wombert> let's just hope they re-do the finder 04:38 < Wombert> and ditch metal 04:38 < shoan> i prefer the terminal :) 04:38 < shoan> and quicksilver 04:38 < Wombert> I don't get quicksilver 04:38 < Wombert> I installed it at least five times since I switched 04:38 < shoan> the only time I use finder, is to launch quicksilver 04:39 < Wombert> but I never get the point of it and throw it away again 04:39 < shoan> oO 04:39 < Wombert> hm 04:39 < shoan> ;) 04:39 < Wombert> I use spotlight to launch stuff 04:39 < shoan> spotlight takes too long 04:39 < Wombert> cmd+space, "cam", cmd+return launches camino 04:39 < Wombert> yeah true could be faster 04:39 < shoan> and it keeps changing the search results 04:39 < Wombert> rumor has it 10.5 will improve performance there 04:39 < Wombert> yep that's right but 04:40 < Wombert> cmd+space highlights the first hit 04:40 < Wombert> which usually is an application 04:40 < Wombert> err 04:40 < Wombert> cmd 04:40 < Wombert> holding cmd 04:40 < Wombert> yeah 04:40 < shoan> i have disabled spotlight KB shortcuts 04:40 < shoan> its a waste of my time 04:40 < Wombert> hm 04:40 < shoan> quicksilver is faster and does most of what spotlight can do 04:41 < Wombert> yeah but it's utterly difficult to learn 04:41 < shoan> crap 04:41 < shoan> its the same as spotlight 04:41 < shoan> press a KB combo and type 04:42 < Wombert> I always get the feeling that I'd haev to use it for a couple of days in a row to make up for the time I lost reading tutorials and playing with it 04:42 < shoan> it also has contextual actions, like copy, launch, move, get info etc 04:42 < shoan> all in the same bezel 04:42 < Wombert> yeah I got that to work in a way but... 04:42 < Wombert> seemed to behave different each time 04:42 < Wombert> and I couldn't get any of the plugins to work etc 04:43 < shoan> hmm...strange 04:43 < shoan> btw are you using the beta version or stable? 04:44 < shoan> btw were you using the beta version or stable os QS? 04:44 < shoan> btw were you using the beta version or stable of QS? 04:44 < Wombert> beta49 or whatever was recent 04:45 < shoan> did you enable beta in the preferences? 04:45 < Wombert> uuuuuh 04:45 < Wombert> do I have to do that? ^^ 04:45 < shoan> yes, to unlock more features 04:45 < Wombert> I mean it's labeled as "beta" but is there any stable version? 04:45 < shoan> let me check 04:46 < shoan> i don't think so 04:46 < shoan> but its been quite stable for me 04:46 < shoan> been using it since jan 2005 04:47 < shoan> in the prefs enable the advanced features 04:48 < shoan> and ensure to switch to the bezel interface 04:48 < shoan> the default one sucks 04:49 < shoan> wow...they have a new interface called "flashlight" :) 04:50 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 04:51 < Wombert> re 04:51 < Wombert> yeah i used "bezel" 04:52 < Wombert> it's just all so... cryptic 04:52 < Wombert> you have no idea where to get started 04:52 < Wombert> the website is next to useless 04:52 < shoan> thats true :) 04:52 < Wombert> and why the hell is it raining like there's no tomorrow here 04:53 < Wombert> btw guys 04:53 < Wombert> do me a favor 04:54 < Wombert> write up a list of things you think i18n support in agavi must be capable of 04:54 < Wombert> people seem to need this, and so do I, so we'll move i18n from 1.0 to 0.11 04:54 < Wombert> but that means we need your help :) 04:56 < Wombert> but 04:56 < Wombert> I'm really off to bed now 04:56 < Wombert> nn impl, Macca`, shoan 04:56 < shoan> nite wombert 04:57 -!- Wombert [n=Wombert@dslb-088-064-005-154.pools.arcor-ip.net] has quit [] 05:55 -!- shoan [n=shoan@59.92.137.181] has quit [] 07:22 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 08:23 < v-dogg> huomenta 08:25 < ttj> Mornin'. 08:27 < Macca`> guten morgen 08:27 < ttj> Can I assume that not including the I18N stuff the current trunk will be more or less what the betas and hopefully the actual .11 release will look like? :-) 08:27 < ttj> (Yeah, I know, I'm becoming very annoying and I apologize for that. :-) 08:28 < v-dogg> ttj: I'd say so 08:29 < v-dogg> routing is going to be refactored but the functionality and the api is not going to change 08:30 < v-dogg> (well, the initialization api is probably going to change but that shouldn't concernt 99% of the users :) 08:30 < v-dogg> -t 08:33 < ttj> Ok, cool. :-) 08:39 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:41 < v-dogg> and you don't have to apologize for asking that. all of us are getting impatient waiting for a solid api and functionality :) 08:42 -!- eremit [n=eremit@p5490F1D3.dip.t-dialin.net] has joined #agavi 08:42 < eremit> morning 08:43 < v-dogg> morning 09:03 < eremit> v-dogg: are you developing with E_ALL ?? 09:05 < v-dogg> + strict 09:06 < eremit> ah ... found the reason why the warnings from the toolkit don't get thrown to the browser ... :/ error supressing 09:18 -!- shoan_ [n=shoan@61.95.206.107] has joined #agavi 09:23 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 09:27 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 09:35 < Macca`> what is i18N? 09:35 < v-dogg> internationalization 09:37 < digitarald> morning @ll 09:40 < ttj> Sort of like L10N = Localization and S13N = Standardization. 09:58 < digitarald> anybody good in propel ... how can i add the type unsigned to my columns? 09:59 < Macca`> why 18. 10 and 13 ? 09:59 < Macca`> and why N ? 10:00 < digitarald> I ... 18 letters between ... N 10:03 < Macca`> ... 10:03 < Macca`> that's just silly. 10:03 < ttj> C14N = Canonicalisation 10:03 < Macca`> not 14 letters between C and N! 10:03 < Macca`> hmm. need some regex help 10:03 < v-dogg> Macca`: that's not silly, its easier to write :) 10:03 < Macca`> i need to match: [code language='...']...[!code] where '...' are the matches 10:04 < Macca`> and it's multiline 10:04 < Macca`> anyone ? :( 10:28 < ttj> What happened to etc/generate_package.php? 10:29 < v-dogg> it was removed 10:29 < v-dogg> it hasn't been used for some time now 10:29 < ttj> Ok, so what's now considered good form in packaging agavi? 10:29 < v-dogg> 'phing package' 10:30 < v-dogg> generate_package used an old version of pear package manager 10:30 < v-dogg> it's all done in AgaviPackageTask (phing) now 10:30 < ttj> Hmm... 10:41 < digitarald> Macca` ... the regex comes, when i am at work 10:41 < Macca`> nah it's ok 10:41 < Macca`> i got it 10:42 < digitarald> good 10:45 < v-dogg> http://veikkomakinen.com/agavi/agavi.org/ 10:45 < v-dogg> comments 10:45 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 10:46 < v-dogg> and error reports if it doesn't look alright 10:47 < Macca`> pretty 10:47 < Macca`> can agavi be used along side smarty? 10:47 < v-dogg> sure 10:48 < v-dogg> as one great man once said: WE DON'T LOCK YOU IN! (David Zulke, 2006) 10:48 < v-dogg> :) 10:53 < ttj> Looks good. IMHO there might be a tad bit too much white there. 10:57 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 10:58 -!- shoan_ [n=shoan@61.95.206.107] has quit [] 11:04 < Macca> 11:04 < Macca> 11:04 < Macca> 11:04 < Macca> 11:04 < Macca> 11:04 < Macca> what's wrong with that?? 11:04 < Macca> i want to keep breadcrumbs.. what's the best way? 11:04 < Macca> see iw ant: http://192.168.1.4/~brendanm/school/ and: http://192.168.1.4/~brendanm/school/assignments and: http://192.168.1.4/~brendanm/school/assignments/1 11:05 < Macca> i want like home > school , home > school > subject , home > school > subject > assignments 11:05 < Macca> etc... ideas? 11:06 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:06 < Macca> and i wantt o keep a list of available pages 11:06 < Macca> ideas? 11:07 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Read error: 110 (Connection timed out)] 11:08 * Macca pokes v-dogg 11:09 < v-dogg> _o_ 11:10 < v-dogg> you have to wait for wombie 11:10 < Macca> :( 11:10 < Macca> _o_ ? 11:11 < v-dogg> didn't raise my hand 11:11 < v-dogg> ;) 11:14 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:15 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 11:15 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:17 < Macca> hehe 11:17 < Macca> _o| 11:18 < v-dogg> _o\ 11:19 < v-dogg> scratching head 11:19 < Macca> http://www.phpriot.com/3536 11:19 < Macca> ?? 11:20 < v-dogg> I'm sorry but wombie and kaos (dominik) are probably the only people who can help you with that 11:42 -!- Wombert [n=Wombert@dslb-088-064-005-154.pools.arcor-ip.net] has joined #agavi 11:44 * v-dogg hugs Wombert 11:44 < v-dogg> good morning 11:45 < v-dogg> say "hoblaa" when you have a minute 12:37 < ttj> Hmm... That wasn't too painful... 12:44 < v-dogg> waht? 12:44 < ttj> The process to upgrade to the latest version of Agavi. 12:45 < ttj> core.webapp_dir -> core.app_dir and some other changes, but nothing vim+autoreplace couldn't handle. :-) 12:46 < v-dogg> what versio are you using now? 12:46 < v-dogg> n 12:46 < ttj> r924, IIRC. 12:50 < v-dogg> ah you did the upgrade already 12:52 < ttj> Yep. The weekly catch-up routine. :-) 12:59 < Macca> Wombert, tell me how to make: http://home.maccasoft.com.au/~brendanm/ using agavi :( where i can have breadcrumbs 12:59 < Macca> and i want like /school//assignments/ ... 13:47 -!- raidman|Away is now known as raidman|Work 13:52 < CIA-6> dominik * r925 /trunk/ (3 files in 3 dirs): 13:52 < CIA-6> made AgaviRequest::getError return a string again (getErrors now handles the previous functionality) 13:52 < CIA-6> some other error handling fixes/changes 13:55 < CIA-6> dominik * r926 /trunk/src/util/AgaviArrayPathDefinition.class.php: fixed 'Only variable references should be returned by reference' notice 13:59 < digitarald> can somebody borrow me a validator.xml? 13:59 < v-dogg> want some fries with that? 14:02 < digitarald> there is no validation.xml in the repos ... i just need a pattern to copy ;) 14:02 < digitarald> fries would be cool ... o bocadillos ... :) 14:04 < digitarald> and also no validation.xsd in the src/config/xsd 14:04 < digitarald> :,( 14:05 < eremit> sure there is a validation.xsd .. 14:05 < v-dogg> validators.xsd 14:05 < v-dogg> just looking at it 14:06 < v-dogg> and writing a validators.xml skeleton 14:06 < digitarald> ok, i try to look at it too 14:06 < eremit> yeah ... ^^ 14:06 < digitarald> the xsd is in src/config/xsd/? 14:07 < eremit> http://trac.agavi.org/trac.cgi/browser/trunk/src/config/xsd/validators.xsd 14:07 < eremit> brb 14:07 -!- eremit [n=eremit@p5490F1D3.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"] 14:08 < digitarald> now ... *enlighted* 14:08 -!- raidman|Work is now known as raidman|Away 14:13 -!- eremit [n=eremit@p5490F1D3.dip.t-dialin.net] has joined #agavi 14:28 < digitarald> v-dogg ... what about the skeleton vor validators? 14:29 < v-dogg> just working on it :) 14:29 < v-dogg> need to figure out this whole thing first 14:38 < CIA-6> david * r927 /trunk/samples/app/modules/Default/ (actions/LoginAction.class.php validate/Login.xml): added missing Login.xml validation config to sample app 14:38 < eremit> ty 14:40 -!- raidman|Away is now known as raidman|Work 14:44 < CIA-6> david * r928 /trunk/src/request/AgaviRequest.class.php: _now_ the request locking is secure ;) 14:44 < CIA-6> david * r929 /trunk/src/ (6 files in 2 dirs): more & fixes, refs #34 14:51 -!- raidman|Work is now known as raidman|Away 14:53 < eremit> hmmm ... weird ... sometimes php is weird... 14:56 -!- AgaviBot [n=dzuelke@dslb-088-064-005-154.pools.arcor-ip.net] has joined #agavi 15:15 < digitarald> ty 15:16 < v-dogg> hey 15:16 < v-dogg> how do I prevent validation on Read/Get? 15:16 -!- raidman|Away is now known as raidman|Work 15:27 < v-dogg> hey... seriously :) 15:27 < v-dogg> I need bot execWrite and Read but validation must not happen on Read 15:35 < Wombert> yeah 15:35 < Wombert> I was just wondering about that, too 15:35 < Wombert> tried to called dominik but he's not there apparently 15:36 < eremit> someone being really familiar with propel here ? 15:37 < Wombert> yeah 15:37 < eremit> i have 2 machines ... both nearly identical setup in php, only difference is no mcrypt and sqlite support on the produ ... 15:37 < eremit> on the devel everything runs smooth on the produ : 15:38 < eremit> Fatal error: Declaration of BaseUserModel::delete() must be compatible with that of Persistent::delete() 15:38 < eremit> any ideas ? 15:38 < Wombert> different lib versions 15:38 < Wombert> or it loads another library 15:39 < Wombert> class name confilict 15:39 < Wombert> something like that 15:39 < eremit> both use a recent propel checkout .. both remove the include path and set completly their own ... 15:39 < eremit> and both use exactly the same codebase ... 15:57 < eremit> the problem is somehow agavi related wombert ... 15:58 < Wombert> ? 15:58 < eremit> after updated from 900 to lastest rev on my developer machine i get the same error there 15:58 < eremit> O o 15:58 < eremit> do you somewhere set E_STRICT ? 15:58 < Wombert> uh 15:58 < Wombert> no 15:59 -!- eremit [n=eremit@p5490F1D3.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 16:00 -!- eremit [n=eremit@p5490F1D3.dip.t-dialin.net] has joined #agavi 16:30 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:30 < eremit> how can i get my hands on the renderer ? 16:31 < eremit> and the error wasn't agavi related ... ^^ 16:35 < v-dogg> eremit: waht? 16:35 < eremit> i need to get my hands on the renderer at least it's engine during View::initialize 16:35 < v-dogg> you want to manipulate render at runtime? 16:35 < eremit> yes 16:35 < v-dogg> hmm 16:36 < eremit> i only need to change one parameter of the smarty engine 16:37 < v-dogg> renderer doesn't exist when view is initialized 16:37 < eremit> that's not good :/ ... 16:37 < eremit> ok then i'll descent from smartyrenderer to myown one ... 16:38 < eremit> and do the logic there 16:38 < v-dogg> hmm.. but hey... 16:38 < v-dogg> $retval = $viewInstance->$executeMethod($actionEntry->getParameters()); 16:38 < v-dogg> $renderer = $retval; 16:38 < v-dogg> you can return the renderer from view::exec* 16:38 < eremit> yes, i can return my own renderer ... 16:38 < v-dogg> but? 16:39 < eremit> but changin one parameter of smarty ... and for this always returning one in the views ? 16:40 < v-dogg> yeah... hmm.. 16:40 < eremit> anyways i descent a child from smartyrenderer ... at least until $this->smarty->plugins_dir = array("plugins","plugins_local"); can be configured ... 16:41 < v-dogg> but hey, how do I define my own validators 16:41 < eremit> that's my next thinggie to get into ^^ 16:41 < Wombert> I just found that out, v-dogg 16:41 < Wombert> you have to define them first 16:41 < Wombert> which I think is stupid 16:41 < Wombert> the attribute is called "class", so one should be able to use a class name there 16:42 < Wombert> even worse, there's no error thrown 16:42 < Wombert> which makes it pretty uncool 16:42 < v-dogg> throw new AgaviValidatorException('unknown validator found: '.$validator->getAttribute('class')); 16:42 < v-dogg> which is commented out :) 16:42 < Wombert> lol :D 16:43 < Wombert> well I'll talk to dominik about this later 16:43 < Wombert> he's a bit busy atm 16:43 < v-dogg> that classMap inside AgaviValidatorConfigHandler is a bit weird 16:43 < Wombert> 16:43 < Wombert> 16:43 < Wombert> 16:44 < Wombert> in the config 16:44 < Wombert> and you're good to go 16:44 < v-dogg> aa 16:44 < v-dogg> ok 16:44 < Wombert> I'll commit the website branch in a minute 16:44 < Wombert> you can see it then ;) 16:45 < v-dogg> where do I put that? 16:45 < Wombert> into 16:45 < v-dogg> my config/validators.xml is not even parsed 16:45 < Wombert> yeah 16:45 < Wombert> ^^ 16:46 < v-dogg> tellmetellme 16:46 < v-dogg> I can't wait ANY LONGER! 16:46 < Wombert> modules/Default/validate/ActionName.xml 16:46 * v-dogg is biting his nails 16:47 < v-dogg> ?! 16:47 < Wombert> uh 16:47 < Wombert> yes 16:47 < Wombert> !? 16:47 < Wombert> :p 16:47 < v-dogg> I have to define them for every single action? 16:47 < Wombert> no 16:47 < Wombert> you could use cascaded configs ;) 16:47 < Wombert> agavi >>>>>> rest of teh world 16:48 < v-dogg> parent="%core.config_dir%/validators.xml" ? 16:48 < Wombert> yes, for instance 16:48 * Wombert hopes that will work 16:49 < v-dogg> it does :) 16:49 * v-dogg hugs Wombert 16:49 < Wombert> <: 16:50 < v-dogg> no.. 16:51 < digitarald> i want to insert RBAC ... i need inheritance in xml for the scaling of the groups ... what config class can i take as base? 16:52 < eremit> ahhh ... kill pear ... oO 16:53 < v-dogg> Wombert: yes, it does work 16:53 < v-dogg> you just have to write valid xml 16:53 < v-dogg> a bit weird if you ask me :p 16:53 < Wombert> ? 16:53 < v-dogg> (my xml was foobar'd 16:59 < digitarald> routing config ... ok 17:15 < v-dogg> heh... guys.. you can't do is_int($value) in the number validator :) 17:15 < v-dogg> they are always strings and that'll return false :) 17:17 < v-dogg> http://www.mail-archive.com/agavi-dev@agavi.org/msg00300.html 17:29 < CIA-6> v-dogg * r930 /trunk/src/validator/AgaviNumberValidator.class.php: Fixed integer validation and a "double $$" typo. 17:31 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 17:31 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/930: Changeset [930]: Fixed integer validation and a "double $$" typo. 17:31 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:36 -!- Wombert_ [n=Wombert@dslb-088-064-005-122.pools.arcor-ip.net] has joined #agavi 17:36 -!- Wombert [n=Wombert@dslb-088-064-005-154.pools.arcor-ip.net] has quit [Nick collision from services.] 17:36 -!- Wombert_ is now known as Wombert 17:37 < v-dogg> fuck... charset problems again.. 17:37 < v-dogg> fuckfuckfuck 17:38 < v-dogg> dom return validation error messages as wtf-8 17:38 < v-dogg> returns 17:43 < v-dogg> stupid piece of crap 17:43 < v-dogg> why cannot it respect my encoding definition from the xml 17:43 < Wombert> well 17:44 < Wombert> uuuuh? 17:44 < Wombert> oO 17:44 < Wombert> so your validate.xml 17:44 < Wombert> aaah 17:44 < v-dogg> is on iso-88591 17:44 < v-dogg> in 17:44 < Wombert> yes 17:44 < Wombert> and your document? 17:44 < v-dogg> the same 17:44 < Wombert> oh? 17:44 < Wombert> ah 17:44 < v-dogg> but an error message is returned as wtf 17:44 < Wombert> true 17:45 < Wombert> I believe DOM handles everythign as UTF-8 internally 17:45 < Wombert> let me fix that 17:45 < v-dogg> it does 17:45 < Wombert> if I can 17:45 < Wombert> uuuuuh 17:45 < Wombert> oh man 17:45 < Wombert> well 17:45 < Wombert> that's getting us into trouble now 17:45 < Wombert> fuck 17:45 < v-dogg> hence the 'fuckfuckfuck' earlier 17:45 < Wombert> the problem is 17:45 < Wombert> we can't fix that 17:46 < v-dogg> that's is going to be a nasty one 17:46 < Wombert> yes 17:46 < Wombert> very 17:46 < v-dogg> uh.. I'm so tired I keep writing nonsense 17:47 < v-dogg> gotta head home and eat something 17:47 < v-dogg> Wombert: are you around later? 17:47 < Wombert> of course 17:47 < Wombert> well 17:47 < v-dogg> :) 17:47 < Wombert> I might be away 17:47 < Wombert> don't know yet 17:48 < v-dogg> well, I'll catch you later perhaps 17:48 < Wombert> depends on whether or not I'm in the right mood for some clubbing tonight 17:48 < Wombert> yep 17:48 < v-dogg> see ya 17:48 < Wombert> cu 17:49 -!- raidman|Work is now known as raidman|Away 17:52 -!- AgaviBot [n=dzuelke@dslb-088-064-005-154.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 17:53 -!- AgaviBot [n=dzuelke@dslb-088-064-005-122.pools.arcor-ip.net] has joined #agavi 18:10 -!- benny`work [n=benny@p54AC332E.dip0.t-ipconnect.de] has joined #agavi 18:24 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 18:24 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/310: Ticket #310 (defect) created by david 18:25 < CIA-6> david * r931 /trunk/src/config/AgaviXmlConfigParser.class.php: XmlParser now converts encodings back from DOM's internal UTF-8 if necessary, closes #310 18:26 < CIA-6> david * r932 /trunk/CHANGELOG: updated CHANGELOG 18:27 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 18:27 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/932: Changeset [932]: updated CHANGELOG 18:27 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/ticket/310: Ticket #310 (defect) closed by david 18:27 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/changeset/931: Changeset [931]: XmlParser now converts encodings back from DOM's internal UTF-8 if ... 20:09 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Bye Bye"] 20:28 -!- eremit [n=eremit@p5490F1D3.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 20:32 -!- shoan [n=shoan@59.92.155.11] has joined #agavi 20:53 -!- brujahRg [i=come@88.229.169.5] has joined #agavi 20:59 < Wombert> shoan: zomg leopard is gonna be SO awesome 21:00 < shoan> :) 21:01 < shoan> what have you been reading about leopard 21:01 < Wombert> versioned file system, major enhancements to mail, multiple desktops 21:01 < Wombert> awesome text to speech 21:01 < Wombert> better, faster spotlight 21:03 < Wombert> apparently, mail and ical get integrated pretty well 21:13 < shoan> cool 21:13 < shoan> i hate spotlight :) 21:14 -!- shoan [n=shoan@59.92.155.11] has quit [] 21:15 -!- shoan [n=shoan@59.92.155.11] has joined #agavi 22:35 -!- brujahRg [i=come@88.229.169.5] has quit ["( www.nnscript.de :: NoNameScript 3.81 :: www.XLhost.de )"] 22:38 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi --- Day changed Tue Aug 08 2006 00:12 < CIA-6> dominik * r933 /trunk/src/ (4 files in 2 dirs): add strict and tainted mode, closes #281 00:15 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 00:15 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/933: Changeset [933]: add strict and tainted mode, closes #281 00:29 -!- benny`work [n=benny@p54AC332E.dip0.t-ipconnect.de] has quit ["unset($this);"] 00:33 < Macca> Wombert???? 00:37 * Macca pokes Wombert 00:41 < Macca> v-dogg why doesn't Wombert love me anymore? :( 00:43 < Macca> http://home.maccasoft.com.au/~brendanm/index.phps 00:43 < Macca> i want that in agavi, but i want $pages to be generated by agavi 00:44 < Macca> and i need help with routing :( 01:01 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 01:21 < Macca> wwoommbbeerrtt!! 01:21 < Macca> are you avoiding me? :( 01:24 < Macca> =( 01:43 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 02:09 * Macca cries 04:20 < Wombert> Macca: nah 04:20 < Wombert> we just live in a different time zone ;) 05:22 < shoan> Wombert: there is a solaris user on the phong mailing list 05:23 < shoan> sorry phing 05:23 < shoan> he was quoting the agavi forums 05:48 -!- shoan_ [n=shoan@59.92.141.59] has joined #agavi 05:51 -!- shoan [n=shoan@59.92.155.11] has quit [Read error: 60 (Operation timed out)] 05:54 -!- shoan_ is now known as shoan 07:14 < v-dogg> huomenta 08:58 -!- eremit [n=eremit@p5490F9EF.dip.t-dialin.net] has joined #agavi 08:58 < eremit> morning 09:17 -!- shoan [n=shoan@59.92.141.59] has quit [] 09:21 -!- shoan [n=shoan@59.92.141.59] has joined #agavi 09:29 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 09:37 < shoan> huomenta 09:39 < raidman> huomenta shoan :) 09:39 < raidman> huomenta agavi guys :) 10:04 -!- shoan_ [n=shoan@59.92.201.79] has joined #agavi 10:08 -!- shoan_ [n=shoan@59.92.201.79] has quit [Client Quit] 10:13 -!- shoan [n=shoan@59.92.141.59] has quit [Read error: 110 (Connection timed out)] 10:26 < v-dogg> something funky going on with error messages and validators 10:40 < ttj> Should the build script for generating new modules also make an app/modules/Module/lib/ directory by default? 10:42 < v-dogg> lemme check 10:43 < v-dogg> no 10:43 < v-dogg> actions, config, models, templates and views 10:44 < ttj> Yeah, I know it doesn't, but I was asking if it should. :-) 10:44 < v-dogg> ok : 10:44 < v-dogg> ) 10:45 < v-dogg> do you have per-module libs? 10:45 < ttj> Yep. At least now. 10:45 < v-dogg> and they aren't models? 10:45 < ttj> Hmm... True. 10:46 < ttj> They are, but I have some other classes coming that aren't, so the question still remains whether or not we should have a lib/ in modules or just advice people to make them available on app/lib/? 10:47 < ttj> Since the sample app does have an app/modules/Default/lib/ directory, which just raised the question. 10:51 < v-dogg> I'd say that's a mistake 10:51 < ttj> Ok. 10:52 < v-dogg> but there's something wrong with the validation now 10:53 < v-dogg> error message doesn't get thru on POST 10:53 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 11:23 < CIA-6> v-dogg * r934 /trunk/src/request/AgaviRequest.class.php: phpdoc embellishments 11:26 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 11:26 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/934: Changeset [934]: phpdoc embellishments 11:27 * Macca pokes Wombert 11:40 -!- horros [n=mle@w172.ip4.netikka.fi] has joined #agavi 11:56 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:57 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Client Quit] 11:59 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:59 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Client Quit] 12:00 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 12:00 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 12:00 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 12:09 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Bye Bye"] 12:10 < Macca> must you keep killing my website when i `svn up` ?! 12:10 < Macca> No iconv module available, configuration file "/var/www/maccasoft.com.au/development/lld/direct/webapp/config/routing.xml" with input encoding "" cannot be parsed. 12:12 < Macca> https://guest:guest@development.maccasoft.com.au/lld/direct/www/ 12:13 < Macca> Wombert!!!!!!!!!!!!!!!!! 12:13 < Macca> gosh damn it. 12:13 < Macca> 8 hours idle :( 12:14 < Macca> how do i go back to my previous release!? 12:18 < Macca> SOMEONE WAKE UP PLEASE! 12:19 < ttj> Umm... What's the problem? How to check out a previous release from an svn repository? 12:21 < Macca> yeah 12:21 < Macca> i just did svn up 12:21 < Macca> and it killed my site 12:21 < ttj> $ svn up PREV 12:21 < ttj> ? 12:22 * Macca shrugs 12:22 < ttj> Umm... $ svn up -r PREV, even. 12:22 < Macca> i don't know what release it was... 12:22 < ttj> Well, PREV gets the revision just before the last commit. 12:23 < Macca> still broken :( 12:24 < Macca> 930 seems to work 12:25 < Macca> ta 12:25 < eremit> No iconv module available, <-- What about installing the Iconv extension of PHP? 12:26 < Macca> thought i had it S: 12:26 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 12:26 < Macca> obviosuly not! 12:27 < eremit> obviously 12:27 < eremit> you should really install it :) 12:28 < Macca> =) 12:29 < Macca> where's wombert? :( 12:29 < shoan> what are guys fighting about? 12:29 -!- Macca is now known as Macca` 12:30 < Macca`> we're not fighting 12:30 < Macca`> just my agavi was broken 12:31 < Macca`> iconv fixed it :D 12:55 < shoan> Macca`: just curious 12:55 < shoan> but what did iconv fix? 12:56 < Macca`> the problem with agavi 12:57 < Macca`> who wants to proof read this when i've finished (given that i only begun about 5 minutes ago) http://home.maccasoft.com.au/~brendanm/16 13:02 < Macca`> feel free to give input 13:02 < Macca`> http://home.maccasoft.com.au/~brendanm/13 .. is basically what i'm trying ato acheive 13:02 < shoan> Macca`: what was the problem? 13:02 < Macca`> i didn't have the php5 iconv module installed 13:03 < shoan> Macca`: I figured that out. but what was the problem with agavi when the iconv was missing? Was there a config file parse problem or something? 13:05 < Macca`> No iconv module available, configuration file "/var/www/maccasoft.com.au/development/lld/direct/webapp/config/routing.xml" with input encoding "" cannot be parsed. 13:06 < shoan> ok 13:06 < Macca`> why? 13:07 < v-dogg> xml parser tries to convert stuff back to the original encoding (xml dom handles everything as utf-8) 13:08 < v-dogg> for some reason xml dom doesn't know your original encoding 13:08 < Macca`> ahuh 13:08 < v-dogg> put or into your configs 13:08 < Macca`> i was asking "why do you want to know?" :) 14:19 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 14:20 < digitarald> buenas :) 14:27 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 14:40 < Wombert> Macca`: your XML files are missing the XML prolog 14:40 < Wombert> put it in and the problem is solved 14:41 < Macca`> or install the iconv php module... 14:45 < Wombert> no 14:45 < Wombert> man 14:45 < Wombert> I mean 14:45 * Wombert sighs 14:46 < Wombert> an XML file needs the XML prolog 14:46 < Wombert> add it 14:46 < Wombert> and remember 14:46 < Wombert> never fight symptoms 14:46 < Wombert> get to the root of the cause 14:59 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 14:59 < digitarald> hi @ll 15:39 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 15:39 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 15:45 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 131 (Connection reset by peer)] 15:47 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 15:50 < digitarald> short questions ... where sould i query my data from the propel-database ... in action or in view? 15:52 < eremit> i'm do my 99% of queries in the action ... afaik the view has the task to prepare the data from the actions for the correct output and the template ... 15:52 < eremit> at least that's the way i handle it ... 15:59 < digitarald> i too, but when u have a only a select, no criteria building ... action is the better solution ... but then the execute would only fetch the data and put it in an attribute ... mmhh 16:00 < eremit> i cannot see the difference ... the only case where i fetch data from the db in a view, is if and if the data are only related to this specific view ... 16:01 < eremit> maybe having a xml and a html view of the same action .. and only the html view needs information, like strings from the db.. i fetch them in view 16:02 < v-dogg> application logic into models (or in action), presentational logic into views 16:02 < eremit> basically what i said ^^ 16:02 < v-dogg> yes 16:03 < eremit> i don't like the words of application and presentational logic ... sometimes it's really difficult to find out what it is ... 16:05 < eremit> a nice trick is to ask yourself, if i would make a xml view, do i need this information ... if you say yes or maybe it's action otherwise most likely view logic ... 16:05 < eremit> and digitarald, how have you put your propel objects into agavi ? 16:05 < eremit> simple external objects or being treated like models ? 16:05 < digitarald> autoload 16:06 < eremit> yeah but the idea ... simply db abstraction or as real models ? ... 16:13 < digitarald> what to do with the propel models ...? 16:14 < eremit> pardon? 16:14 < digitarald> if i would make 100% seperation ... i should split the models after fetching in arrays 16:15 < eremit> sorry i cannot follow you O_o ... 16:15 < eremit> my question was do you think of the propel objects as real agavi models, maybe even implementing IModel or do you use them as simple db abstraction containers ... 16:15 < eremit> do they contain some kind of business logic ? ... 16:16 < digitarald> UsersPeer::doSelect(...) gives me an array of Users ... if i seperate logic and presentation i should hydrate this models to arrays with the userdata 16:16 < digitarald> Propel Models contains Businesslogic, thats the problem ... u can say ... Users->getArticles() or someone like this 16:17 < digitarald> so if i give the models to the view i give the view an access to business logic 16:17 < eremit> yeah, then they are models ... and the duty of models is to be one way of communication between action (controller) and view ... 16:17 < digitarald> v-dogg put the models only to the action ;) 16:18 < eremit> uh ... that's some kind of silly imho ... lets say a userlist action and view ... i do the UsersPeer::doSelect and criteria stuff in the action ... 16:18 < eremit> and put the resulting array of Users (models) into the attributes for usage in the view ... 16:20 < eremit> the action decides what has to be displayed (do the selection of records) and the views does the how, creating template able arrays out of the models ... 16:20 < digitarald> but then the view can fetch other things from the Users[] 16:20 < eremit> theoretical yes ... 16:20 < eremit> simply don't do it ... 16:21 < eremit> i really would like to disable the set / save / delete routines of the models after the execution of the action has been finished ... 16:21 < Wombert> I think propel is just another model layer 16:21 < Wombert> I use them directly in the templates 16:22 < digitarald> it's the easiest way 16:22 < eremit> another possible way ^^ .. but a matter of taste ... i reparse them to arrays, because i dislike object syntax in templates ... 16:22 < Wombert> eremit: you know about $obj->toArray(), right? 16:23 < eremit> yeah ... and i really like it ... 16:23 < digitarald> does propel supports something like toArray() or hydrate()? 16:23 < Wombert> you could create a BaseObject that implements ArrayAccess 16:23 < eremit> Wombert, yes, but i havent tested yet, if smarty can handle it ... 16:24 < digitarald> wombert, u are my guru for propel ... short question about foreign-keys? 16:24 < digitarald> Users -> Articels, 1:n relation ... 16:26 < digitarald> but ... i can ArticlesPeer::doSelectJoinUsers($c) 16:26 < v-dogg> this is weird: $req->getError('syscmrid') === null, but $req->getErrorMessages() return an empty array and FPF hilites how the hell... 16:27 < digitarald> but not UsersPeer:doSelectJoinArticles() ... i have to fetch them in foreach with $user->getArticless() 16:27 < digitarald> any help with that? 16:29 < v-dogg> $req->hasErrors() still returns TRUE... 16:29 < Wombert> digitarald: intentional 16:29 < Wombert> that could be 5000 articles per users 16:29 < Wombert> that's why 16:31 < digitarald> there are 3 ... and even if i want to select all 5000 ... mysql can handle such requests ... every $user->getArticles is one more request ... thats senseless 16:32 < digitarald> u can't say intentional and say there are 5000 articles ... may be there are 5000 users ... so why there is a doSelect()? 16:32 < digitarald> Users::doSelect would select 5000 Users ... ouch ... oh no ... lets put doSelect away 16:32 < Wombert> ... 16:32 < Wombert> it is intentional 16:33 < Wombert> we designed it like that because you run out of memory or whatever pretty quickly 16:33 < Wombert> I plan to rewrite the propel collection fetching so it uses iterators and cursors in the database etc for v2, but I didn't have any time to do that yet 16:34 < Wombert> anyways, I'm gonna have lunch 16:34 < Wombert> ttyl 16:34 < digitarald> the problem ... i have tags ... every tag in different languages ... makes tag-id and several versions for the tag-text in another table ... and i can't select tag-id and all tag-texts for thats tag at one time ... 16:46 < eremit> you could use custom queries ... 16:46 < eremit> and enhance your model ... 16:55 < digitarald> could ... have to 16:55 < eremit> if you want it reasonable fast yes ... 16:56 < eremit> ;) ... s.b. knows a good library which can handle complex calendar arithmetics ? 17:04 < digitarald> only for javascript ;) 17:04 < eremit> gee ... 17:19 < shoan> eremit: i hate to say it, but check pear 17:19 < eremit> yeah ... i tried the pear one, but it is only a management class for dates, not being able to do real arithmetics ... except counting forward and backward ... 17:20 < eremit> and their api is like stfu *grin* 17:38 < CIA-6> v-dogg * r935 /trunk/src/validator/AgaviNumberValidator.class.php: Fixed float validation (uses is_numeric - not the best choice perhaps but acceptable) and removed an unnecessary is_numeric test at the beginning. 17:38 -!- Wombert_ [n=Wombert@dslb-088-064-013-005.pools.arcor-ip.net] has joined #agavi 17:38 -!- Wombert [n=Wombert@dslb-088-064-005-122.pools.arcor-ip.net] has quit [Nick collision from services.] 17:38 -!- Wombert_ is now known as Wombert 17:38 < v-dogg> now it should work.. 17:42 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 17:44 < digitarald> what do u want? $cal->setMonth(+1) ... $cal->getDays()? 17:45 < eremit> basically easyfied: you tag a day ... lets say 2006-Jan-01 and hand out a special rythm, like 2/1 ... 17:45 < eremit> which means do s.t. 2 days pause 1 day ... 17:46 < eremit> now it must be able to answer me the following questions: getPausedDaysBetween(date,date) getWorkDaysBetween(date,date), isWorkDay(date) ... 17:47 < eremit> doesn't sound difficult ... ;) ... but the rythm must changeable to more than 2 elements ... 17:47 < eremit> and it must be abble to calculate dates and periods between 1900 and 2100 ... 17:48 < eremit> currently i take the tagged day, calculate the periods back/forward to date1 remember position in the rythm and calculate the full rythm to dateB 17:49 < eremit> which is painfull slow if you ask s.t. about 1920 ... 17:49 -!- Agavi368 [n=dzuelke@dslb-088-064-013-005.pools.arcor-ip.net] has joined #agavi 17:52 < digitarald> http://www.zend.com/codex.php?CID=276 17:52 < digitarald> may help a little bit ;) 17:52 -!- AgaviBot [n=dzuelke@dslb-088-064-005-122.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 17:52 < eremit> ty i'll check that one 17:54 < v-dogg> hah, we should put agavi into that code gallery :) 18:01 < digitarald> in the zend snippet gallery? 18:02 < digitarald> help ... propel problem :) 18:15 < digitarald> bye bye propel ... feeling like a prisoner in my own database 18:16 < Wombert> may I quote from the topic 18:16 < Wombert> Have a question? Just ask it, and wait patiently, because patience is the key to happiness 18:16 < Wombert> also, there's #propel 18:17 < digitarald> i am patiente .. lokking at the sea, warm air ... it's raining ... it's paradise out there ;) 18:18 < digitarald> looking ... there are also typos in paradise 18:21 < digitarald> patience doesn't help all the time ... my happiness has other fonts ;) 18:24 < digitarald> patience is over ... getting some coffee to renew it 18:46 < v-dogg> throw new UnableToFindPatienceException(); 18:46 < v-dogg> puuh... what a day... 18:47 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 18:47 < v-dogg> digitarald: also remember, you don't have to use Propel classes to do everything 18:48 < v-dogg> there's always the raw-sql-to-creole shortcut 18:48 < Wombert> AND 18:48 < digitarald> but its an easy join-query 18:48 < Wombert> you can put that into propel classes, too 18:49 < digitarald> i extended the *Peer but i'm actually figuring out the right pattern for merging the models 18:54 -!- shoan [n=shoan@61.95.206.107] has quit [] 18:54 < digitarald> i'm posting ... will somebody take a look at it? 18:55 < digitarald> http://zerovektor.com/pastebin/pastebin.php?show=287 18:55 < CIA-6> david * r936 /trunk/tests2/routing/ (5 files in 2 dirs): changed test cases to include _GET 18:56 < digitarald> any suggestions? 18:57 < CIA-6> david * r937 /trunk/src/filter/AgaviFormPopulationFilter.class.php: some minor refactoring and speedup 18:58 < Agavi368> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 18:58 < Agavi368> 1) http://trac.agavi.org/trac.cgi/changeset/936: Changeset [936]: changed test cases to include _GET 18:58 -!- Agavi368 [n=dzuelke@dslb-088-064-013-005.pools.arcor-ip.net] has quit ["Bye Wombert!"] 18:58 -!- AgaviBot [n=dzuelke@dslb-088-064-013-005.pools.arcor-ip.net] has joined #agavi 19:06 < digitarald> anybody out there *lookinginthedarkircchannel* 19:26 -!- shoan [n=shoan@59.92.201.79] has joined #agavi 19:46 < CIA-6> david * r938 /trunk/tests2/routing/ (WebRoutingTest.php cases/ApacheCgiSubdir.case.php): new test cases for WebRouting, refs #293 19:48 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 19:48 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/938: Changeset [938]: new test cases for WebRouting, refs #293 19:51 < CIA-6> david * r939 /trunk/tests2/routing/cases/ApacheCgiSubdir.case.php: oops, now they're correct 19:53 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 19:53 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/939: Changeset [939]: oops, now they're correct 20:10 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:17 < CIA-6> david * r940 /trunk/tests2/routing/cases/ApacheCgiSubdir.case.php: another test case with a space in the path info 20:20 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 20:20 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/940: Changeset [940]: another test case with a space in the path info 20:27 < CIA-6> david * r941 /trunk/ (docs/docbook/manual.xml samples/pub/_.htaccess): updated documentation and sample .htaccess with info on Apache/CGI usage 20:29 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 20:29 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/941: Changeset [941]: updated documentation and sample .htaccess with info on Apache/CGI usage 20:42 -!- benny`work [n=benny@p54AC36E2.dip0.t-ipconnect.de] has joined #agavi 21:33 < CIA-6> david * r942 /trunk/tests2/routing/cases/ApacheCgiDocroot.case.php: ported Apache/CGI Docroot case to new rewrite method 21:35 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 21:35 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/942: Changeset [942]: ported Apache/CGI Docroot case to new rewrite method 21:36 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 21:36 < v-dogg> evening jake 21:37 < CIA-6> dominik * r943 /trunk/API_CHANGELOG: api changes from action-exception (! in the beginning of a line means breaking change) 21:38 < jake> hey v-dogg 21:38 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 21:38 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/943: Changeset [943]: api changes from action-exception (! in the beginning of a line means ... 21:39 < v-dogg> lots of !s there :) 21:41 < v-dogg> jake: been following what has been going on here? 21:41 < jake> No, I've been out of town the past month. I just got back. 21:41 < jake> What's been going on? 21:42 < v-dogg> well.. don't update your agavi if you don't have time to fix all bc breaks :) 21:43 < v-dogg> but dominik just made a list for you :) 21:43 < v-dogg> http://trac.agavi.org/trac.cgi/browser/trunk/API_CHANGELOG 21:43 < v-dogg> this is also nice: http://trac.agavi.org/trac.cgi/browser/trunk/CHANGELOG 21:44 < v-dogg> and I REALLY like this one: http://trac.agavi.org/trac.cgi/milestone/0.11 :D 21:44 < jake> haha, nice 21:45 < jake> 95%? Damn, last time I looked we were at like 65% or so 21:48 < Wombert> w000t 21:48 < Wombert> jake is here ;) 21:48 < jake> hey Wombert, good to be back 21:48 < jake> Lots of progress! 21:48 < Wombert> you bet: http://blog.bitxtender.com/2006/08/01/agavi-project-activity/ 21:49 < Wombert> jake: how was your holidays 21:49 < jake> holy crap, that's great Wombert 21:50 < Wombert> http://trac.agavi.org/trac.cgi/browser/trunk/CHANGELOG but there are many, many duplicates, and many, many things missing (basically just a copy of the trac tickets) 21:51 < v-dogg> hey, speaking of which 21:51 < v-dogg> Wombert: do I add a ticket about those numbervalidator fixes I did? 21:51 < Wombert> nah 21:52 < Wombert> part of the validation re-write I'd say 21:52 < v-dogg> I thought so 21:52 < Wombert> not worth mentioning 21:52 < v-dogg> yep, that's right 21:52 < Wombert> they weren't broken before afaik, so... 21:52 < Wombert> that'd be a "duplicate" ;) 21:52 < Wombert> !seen jake 21:52 < AgaviBot> Wombert: jake is online right now, last message on Tue Aug 8 20:49:38 2006 saying "holy crap, that's great Wombert" (joined Tue Aug 8 20:36:04 2006) 21:52 < Wombert> !info 21:52 < 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! 21:52 < Wombert> see that, jake? ;) 21:52 < jake> nice, that's awesomwe 21:52 < jake> er, awesome 21:53 < Wombert> the only thing left is i18n 21:53 * Wombert remembers he mentioned that before 21:53 * Wombert kicks v-dogg, ttj, shoan, Macca`, jake, horros (WHOA HORROS IS BACK!!!!1111), eremit and benny`work 21:54 < Wombert> send in your requirements now now now now! 21:54 < Wombert> for i18n 21:54 < Wombert> http://trac.agavi.org/trac.cgi/ticket/62 21:54 < Wombert> I moved it from milestone 1.0 to 0.11, but that means we need feedback to build a final feature list asap 21:54 < shoan> i am not much into i18n 21:55 < Wombert> yeah me neither _that_ much but there sure are _some_ things you'd expect i18n support to have, right? ;) 21:57 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 21:58 < Wombert> hah and there's another victim 21:58 < impl> I WANT MY GIRLS NOW! 21:58 < impl> ;D 21:59 < Wombert> impl: if you got any suggestions regarding i18n.... go go go! features you want etc 21:59 < Wombert> heh 21:59 < impl> What's the current layout look like? 21:59 * Wombert promised impl nice girls and free snacks in exchange for an svn account and some work on XslRenderer 21:59 < Wombert> impl: we don't have one ;) 21:59 < v-dogg> Wombert: you aren't changing the test cases anymore? 22:00 < Wombert> right now, this explains the requirements, more or less: http://trac.agavi.org/trac.cgi/ticket/62 22:00 < Wombert> v-dogg: how should I understand that question 22:00 < Wombert> sounds a bit like "change them, and I'll chop your head off" :) 22:00 < v-dogg> no no :) 22:00 < Wombert> I _would_ say they are pretty complete right now 22:01 < v-dogg> I'm about to change them and just wanted to make sure you're not 22:01 < Wombert> anything wrong, not working, etc? 22:01 < Wombert> oO 22:01 < Wombert> what are you changing :< 22:01 < impl> Hmm 22:01 < v-dogg> I know I said I didn't want to touch them but... :) 22:01 < impl> Why does only validation have a translation manager? 22:01 < v-dogg> I'll add 'parseMethod' => 'ApacheCgiNoRewrite' to see that a write method is used 22:02 < v-dogg> baah 22:02 < Wombert> huh? 22:02 < Wombert> oO 22:02 < v-dogg> s/write/right/ 22:02 < Wombert> ah 22:02 < Wombert> roger 22:02 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 22:02 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/311: Ticket #311 (enhancement) created by david 22:02 < Wombert> add that to all of 'em though 22:02 < Wombert> well 22:02 < v-dogg> sure 22:02 < impl> Will I be able say in my view $view->setAttribute('something', TranslationManager::getTranslation(SOMETHING_HERE)) ? 22:03 < Wombert> from a strictly theoretical standpoint, it's not necessary, v-dogg, because if the result is right, we couldn't care less about WHICH handler got it right :) 22:03 < Wombert> impl: that's the plan 22:03 < impl> Or can we even say something like $view->useTranslationTables = true; $view->setAttribute('something', SOMETHING_HERE); ? 22:03 < Wombert> but by default, only ValidatorManager would use translation automatically, to translate validation error messages 22:03 < Wombert> impl: the ValidatorManager uses the imp,ementation you like 22:03 < Wombert> so there'd be a GettextValidatorManager etc 22:04 < impl> Cool 22:04 < impl> What other implementations are there besides gettext at the moment? 22:04 < Wombert> and you'd define which you want in factories.xml 22:04 < v-dogg> Wombert: but it is about a million times easier to fix things if you know what method needs fixing :) 22:04 < Wombert> impl: no clue, I'd probably do it "by hand" in some way via the database or so 22:04 < Wombert> impl: we haven't done _any_ work on it at all yet 22:04 < impl> ah 22:05 * impl nods 22:05 < impl> Wombert: I was also thinking (and I don't know if this could ever happen), what if you want to use a different renderer for the decorator and the slot? 22:06 < Wombert> impl: hmmm 22:06 < Wombert> impl: isn't that a bit of an edge case 22:06 < Wombert> ;) 22:06 < Wombert> impl: I'd say: 2.0 22:06 < impl> I like edge cases 22:07 < Wombert> since we'll throw decorators etc away then anyways, we can have support for that kind of stuff 22:07 < impl> Okay :D 22:23 < v-dogg> Wombert: who was it who used IIS? 22:23 < Wombert> uhm 22:23 < Wombert> vaejor or whatever his name was 22:24 < impl> Eew. 22:24 < Wombert> I emailed him and asked for test data but he never replied 22:24 < impl> Are you guys going for IIS support too? ;x 22:24 < Wombert> of course 22:24 < v-dogg> so that's why we don't have a test case for that 22:25 < Wombert> yeah 22:25 < Wombert> I have two phpinfo() pages he sent me... 22:25 < Wombert> I could add those for now 22:26 < Wombert> maybe I'll have time to install IIS on a windows box and play around 22:26 < impl> My desktop dual-boots to Windows Server 2003 and has IIS installed 22:26 < Wombert> not really in the mood to configure everything etc tho 22:26 < Wombert> impl: php installed? 22:26 < impl> No :\ 22:26 < Wombert> :S 22:26 < impl> I have no idea how to use PHP on Windows 22:26 < impl> Under Apache I could do it 22:53 < Wombert> impl: how about some xsl samples? ;) 22:53 < impl> Sure :D 22:54 < impl> Hold oon 22:54 * impl makes a new project 22:55 < ttj> Sorry, don't really need I18N right now nor do I really have any sort of wishlist on I18N functionalities. 22:59 * impl updates his build templates while he's at it 23:16 < v-dogg> I could use i18n with Agate but because of my lack of expertise on that area I really don't now what to wish for 23:17 < v-dogg> just anything that I don't have to do it The-Joomla-Way :) 23:17 < Wombert> ^_° 23:17 < v-dogg> (all strings define()d in mylang.php 23:17 < v-dogg> ) 23:17 * Wombert is looking at other frameworks and how they do it right now 23:25 < ttj> Hmm... If nobody really has any good ideas yet, is it really wise to cram in a system just for sake of having it? Or should we branch it and see what comes out? Just my 2 cents. 23:25 < ttj> +the 23:25 < Wombert> I do have quite some ideas regarding i18n 23:26 < Wombert> built some multilingual apps already 23:26 < Wombert> but it's important to know what others need 23:26 < Wombert> so we can cater for it 23:27 < impl> yay for generators! 23:30 < impl> Wombert: What happened to settings.xml? 23:30 < Wombert> uh 23:30 < Wombert> nothing!? 23:30 < impl> It's not copying the settings.xml.tmpl to my new project correctly :( 23:30 < impl> I must have done something wrong when I made it 23:35 < v-dogg> wootwootwoot 23:35 < v-dogg> can you repeat that? 23:36 < v-dogg> if you can, I'd like to hear about it 23:36 < impl> It was because I tried to specify a non-existent 404 action when I created the project, and it wasn't happy 23:36 < Wombert> BUILD FINISHED 23:36 < Wombert> Total time: 15.5415 seconds 23:36 < Wombert> Wombook:~/Sites/_projects/agavi/trunk/qwe dzuelke$ ls app/config 23:36 < Wombert> action_filters.xml autoload.xml compile.xml config_handlers.xml databases.xml factories.xml global_filters.xml logging.xml output_types.xml rendering_filters.xml routing.xml settings.xml 23:37 < v-dogg> impl: that can't be the reason 23:37 < impl> oh noes 23:37 < impl> I know why 23:37 < v-dogg> if the action you gave wasn't already there, a default 404 skeleton should have been copied 23:37 < impl> I didn't link the default_actions directory to my custom build templates 23:37 < impl> :D 23:38 < v-dogg> good :) 23:38 < v-dogg> for me, that is 23:38 < Wombert> so it's his fault? 23:38 < Wombert> good :D 23:38 < v-dogg> because it wasn't my fault :) 23:38 < v-dogg> off to bed then 23:38 < Wombert> nn mate 23:38 < v-dogg> later 23:38 < impl> Night v-dogg 23:55 < impl> Wombert: I made a sample app, what should I do with it? :P 23:55 < Wombert> what kind of sample app 23:55 < impl> Using XslRenderer 23:55 < impl> Want me to just upload the views and templates>? 23:56 < Wombert> so did you port the entire sample app to xsl or what? 23:56 < impl> No 23:56 < impl> I just wrote my own 23:57 < impl> It's very simple 23:57 < impl> Just shows how decorators work pretty much 23:57 < Wombert> okies 23:57 < Wombert> well yeah upload it somewhere or so 23:57 < impl> The whole thing? 23:57 < Wombert> whatever you prefer 23:57 < Wombert> I was recently wondering whether or not we should port the sample app to smarty, phptal and xsl 23:58 < impl> I'll just stick the important things up, that way you don't have to sort through all the extra config files that haven't changed and stuff 23:59 < Wombert> yeah I guess views and templates ought to be enough --- Day changed Wed Aug 09 2006 00:02 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 00:02 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/312: Ticket #312 (enhancement) created by david 00:03 < impl> http://nforbes.code-box.org/xsl_test/app/ 00:04 < impl> I'll create a tar archive too, just a sec 00:04 < Wombert> $this->setAttributes($this->getContext()->getRequest()->getAttributes()); 00:04 < Wombert> not necessary anymore btw 00:04 < Wombert> impl: no need for that, thanks 00:04 < Wombert> I can click around a bit, won't kill me ;) 00:04 < impl> Okay :P 00:04 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 00:04 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/313: Ticket #313 (enhancement) created by david 00:05 < Wombert> fyi, you now do $this->setAttribute('foo', 'bar'); in the action and it's automatically set in the view 00:05 < impl> Oh, cool 00:05 < impl> :D 00:05 < impl> btw, for the XSL/XML files, it might be a better idea to look at the raw sourcecode 00:06 < impl> It looks much better than with Firefox's default XML parser thing 00:14 < Wombert> * @param $parameters string[] Filtered parameters passed through the 00:14 < Wombert> * request. 00:14 < Wombert> does phpunit support that? 00:14 < impl> That syntax? 00:14 < Wombert> yes 00:14 < impl> I wasn't aware it checked comments 00:14 < impl> I was writing it to conform with doxygen 00:16 < Wombert> :) 00:16 < Wombert> views and templates look pretty good 00:16 < Wombert> what do you think 00:16 < Wombert> should we port them 00:16 < Wombert> eh 00:16 < Wombert> should we port the sample app to other template engines 00:16 < Wombert> or, rather, add more template engines to the sample app 00:16 < impl> Hmm 00:16 < impl> dunno :P 00:17 < impl> It would be a good test to make sure the engines are up to date 00:17 < Wombert> <: 00:42 < Macca`> template engines? 01:28 -!- benny`work [n=benny@p54AC36E2.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:40 < Wombert> I think he meant the renderers 02:59 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 03:04 -!- jake [n=jake@gg.internal.mixxer.com] has quit ["Leaving"] 03:13 < Wombert> impl: you there? 03:24 < CIA-6> david * r944 /trunk/docs/docbook/ (cookbook.xml manual.xml): added cookbook 03:26 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 03:26 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/944: Changeset [944]: added cookbook 03:59 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 04:05 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 54 (Connection reset by peer)] 04:11 -!- [1]eremit [n=eremit@p5490F69A.dip.t-dialin.net] has joined #agavi 04:19 -!- JonPeters [n=websitec@S01060013102d99b3.vf.shawcable.net] has joined #agavi 04:21 < JonPeters> hey 04:21 < JonPeters> I'm looking for an experienced PHP programmer for some paid work - must be familiar with PHP objects, MVC framework, and have experience building commercial apps 04:21 < Wombert> what MVC framework? agavi? 04:22 < JonPeters> I'm not entirely sure just yet, I'm looking into agavi and some others and am considering building a custom framework geared specifically towards the project 04:23 < Wombert> what kind of project is that 04:23 < JonPeters> custom CMS 04:24 < Wombert> as a product? 04:26 < Wombert> to build a CMS, you need more than a person if you don't want it to take years until it's done ;) 04:26 < Wombert> also, I'd say most frameworks aren't suitable for building a CMS 04:26 < JonPeters> as a product yes 04:26 < Wombert> if any, agavi would be the, or among the, best for that task 04:27 < Wombert> most frameworks are very focused on web applications, and on just serving web pages 04:27 < Wombert> while you _edit_ web pages with a cms, and of course also render them, that's not exactly the same 04:28 < JonPeters> right 04:28 < Wombert> think of situations where you want to render content to static pages, for instance 04:28 < JonPeters> I want one person to design the core with me so that it's homogenous code and will have the modules built seperately based on a strong API 04:28 < Wombert> agavi could do that with ease ;) 04:29 < Wombert> the question is if an mvc framework is the right thing 04:29 < JonPeters> agreed 04:29 < Wombert> essentially, what you do with a framework is an application that then does a certain job 04:29 -!- eremit [n=eremit@p5490F9EF.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:29 -!- [1]eremit is now known as eremit 04:29 < Wombert> what you'd be doing, though, is use a framework to build an application that can be used to build something that then does a certain job 04:30 < Wombert> I've thought about whether or not it makes sense to use an MVC framework to build a cms before 04:30 < Wombert> there are many advantages, that's for sure 04:30 < Wombert> but there are also downsides 04:30 < JonPeters> yes, and after watching the agavi demo just now I think probably it's not the right approach 04:30 < Wombert> can't think of anything specific right now, it's more of a feeling 04:30 < Wombert> aaah no 04:30 < Wombert> uhm 04:30 < Wombert> that demo movie doesn't have anything to do with what agavi is now 04:31 < JonPeters> oh 04:31 < JonPeters> well maybe I should install 04:31 < Wombert> way outdated, just like the website ;) 04:31 < Wombert> you need a checkout from trunk 04:31 < Wombert> i.e. 0.11-dev 04:31 < JonPeters> k 04:31 < Wombert> we have now fully independent contexts, output type support, all that stuff 04:31 < Wombert> you could drop an xmlrpc interface onto an existing application without having to touch any logic code 04:32 < Wombert> some of the reasons why I said it might be best suited for what you need, should you decide to use a framework 04:32 < JonPeters> I see 04:32 < JonPeters> how are you involved in the agavi framework? 04:32 < Wombert> lead developer ;) 04:33 < JonPeters> :D 04:33 < Wombert> http://trac.agavi.org/trac.cgi/milestone/0.11 04:33 < Wombert> http://blog.bitxtender.com/2006/08/01/agavi-project-activity/ 04:33 < Wombert> http://trac.agavi.org/trac.cgi/browser/trunk/CHANGELOG 04:33 < Wombert> http://trac.agavi.org/trac.cgi/browser/trunk/API_CHANGELOG 04:33 < JonPeters> hmm, it's php 5 compatible only? 04:34 < Wombert> yes 04:34 < Wombert> you're not actually planning to start a php4 project _now_, are you 04:35 < Wombert> it's 2006 04:35 < JonPeters> looks promising 04:35 < Wombert> see that guy over there? 04:35 * Wombert pokes AgaviBot 04:35 < Wombert> !seen JonPeters 04:35 < AgaviBot> Wombert: JonPeters is online right now, last message on Wed Aug 9 03:35:13 2006 saying "looks promising" (joined Wed Aug 9 03:19:24 2006) 04:35 < Wombert> !info 04:35 < 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! 04:35 < Wombert> that's what agavi can do ;) 04:35 < JonPeters> very cool 04:36 < Wombert> do you know a bit about application/xhtml+xml? 04:36 < JonPeters> I've done come tcl coding prior :) 04:37 < JonPeters> I've done a lot of PHP coding over the last 5 or so years but have not done much with xml 04:38 < Wombert> text/html is the standard content type you send with html pages 04:38 < Wombert> if you use xhtml, however, you _should_ send application/xhtml+xml 04:38 < Wombert> unfortunately, ie doesn't support it and, well... go figure 04:38 < Wombert> http://trac.agavi.org/trac.cgi/changeset/735 04:39 < Wombert> another example... form generation and validation 04:39 < Wombert> we don't have form helper methods 04:39 < Wombert> because 04:39 < Wombert> you don't have to care about re-populating a form when you display it again in case an error occured 04:39 < Wombert> and all that stuff 04:39 < Wombert> http://trac.agavi.org/trac.cgi/browser/trunk/samples/app/modules/Default/templates/LoginInput.php 04:39 < Wombert> if the login data is incorrect, that form will be shown again 04:39 < Wombert> and the fields that failed validation will be highlighted red thanks to just a line of css 04:40 < Wombert> because a smart validation and population filter fills in the fields again, checks radio buttons, selects dropdowns, all that, and adds a class to fields that failed so you can highlight them using css 04:40 < Wombert> that's in the sample app, try to log into it ;) 04:41 < Wombert> and without any intention to sound arrogant... our routing is definitely the best among all frameworks out there 04:41 < JonPeters> looks great 04:43 < Wombert> (routing is what makes your urls nice, like www.acme.com/shop/products/4123/gallery) 04:43 < Wombert> #1 agavi philisophy: we don't lock you in 04:43 < Wombert> use the template engine you like 04:43 < Wombert> use the database layer you like 04:43 < Wombert> etc 04:43 < Wombert> it's up to you 04:44 < JonPeters> what is the #1 goal? 04:44 < Wombert> get a 1.0 finished ;) 04:44 < JonPeters> lol 04:44 < JonPeters> what is the goal of 1.0? 04:44 < Wombert> no worries tho, 0.11 is almost ready for release, and already very stable 04:45 < Wombert> goal of 1.0 is 0.11 with solid, complete documentation, fully rewritten unit tests and some feature enhancements 04:45 < Wombert> we already have everything we believe a framework should have (except i18n support, scheduled for after 0.11 beta 1) 04:45 < JonPeters> does it rely on third party libs like pear? 04:48 < Wombert> nothing 04:48 < Wombert> you really should have phing installed so we can create action, view, template and project skeletons for you 04:48 < Wombert> it gets annoying to create all these by hand after some time 04:48 < Wombert> but besides that, nothing 04:51 < JonPeters> sounds promising 04:51 < JonPeters> have to go now but I will be around later 04:52 < Wombert> kk 05:02 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 05:02 < Wombert> y000 impl 05:02 < impl> Hey Wombert 05:03 < Wombert> I checked in some manual changes 05:03 < impl> We have a manual ? 05:03 < Wombert> ya wanna have a look and tell me what you think? 05:03 < Wombert> three actually ;) 05:04 < impl> Can we do entities like the PHP manual does? 05:04 < impl> for example &agavi; might be replaced with The Agavi Framework or so 05:04 * Wombert scratches head 05:04 < Wombert> no idea man 05:04 < Wombert> we use docbook 05:04 < impl> I wonder how the PHP manual does that 05:04 < impl> PHP uses docbook too 05:08 < Wombert> I got an excellent idea 05:08 < Wombert> download an editor 05:08 < Wombert> and try to do it, too ;) 05:08 < Wombert> http://www.xmlmind.com/xmleditor/ 05:09 * impl uses Eclipse 05:24 < Wombert> well then have a look with eclipse ;) 05:40 -!- Wombert [n=Wombert@dslb-088-064-013-005.pools.arcor-ip.net] has quit [] 05:49 -!- AgaviBot [n=dzuelke@dslb-088-064-013-005.pools.arcor-ip.net] has quit [Read error: 145 (Connection timed out)] 07:54 -!- shoan [n=shoan@59.92.201.79] has quit [] 08:24 < raidman|Away> morning 08:24 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:24 < eremit> morning 08:24 -!- raidman|Away is now known as raidman|Work 08:30 < ttj> Mornin'. 08:37 < v-dogg> huomenta 08:46 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 09:16 < v-dogg> anyone knows if its possible to manipulate data during validation? 09:17 < v-dogg> for example convert '1,23' to float 1.23 09:19 < eremit> this would not make sense. .. 09:19 < eremit> validators should only have read access ... 09:20 < eremit> but in php it may be possible because of this stupid always by reference stuff 09:21 < eremit> currently i haven't tested the validators yet ... 09:24 < v-dogg> I think it would make perfect sence 09:24 < eremit> validators changing data? - kinda confusing ... 09:25 < eremit> validators should validate data ... and validation imho excludes data changing ... 09:25 < eremit> maybe you should change the validator to access both types as valid ... 09:26 < eremit> and a filter to change the data ? 09:26 < v-dogg> my validator accepts both 1,23 and 1.23 as floats but php doesn't 09:27 < v-dogg> so it'd be good to be able automatically filter these comma separated floats 09:27 < v-dogg> now I have to check for commas in my action before I use that float 09:27 < eremit> i would vote this as an i18n feature maybe a filter 09:29 < v-dogg> maybe it's better done somewhere else but I really don't see that it would be absolutely forbidden to manipulate data in validators 09:30 < eremit> i would not expect a validator to change data... i see them as a kind of blackbox ... 09:30 < eremit> put in a value, and get back the same value and a success message ... 09:30 < eremit> changing the value can result in a wtf experience ;) 09:31 < v-dogg> I don't see it as changing. more like normalizing 09:31 < v-dogg> and that would be my custom validator, not a default behaviour of validators 09:31 < eremit> but wouldn't be a RequestParameterNormalizationFilter be more better ? 09:32 < v-dogg> but validator would already have the information that's needed for normalization 09:32 < v-dogg> ie. "this is a float field" 09:32 < eremit> sure ... personally i'm not against changing value validators ... i like to have the possibility to do what i want and when i want ... 09:33 < eremit> but i also would like to kick the locking of request params ;) 09:49 < v-dogg> now that's just silly :) 09:53 -!- raidman|Work is now known as raidman|Away 09:58 -!- raidman|Away is now known as raidman|Work 10:10 < v-dogg> here is another case: dates 10:11 < v-dogg> I have to accept all sorts of date formats but most of them are ignored by any php functions 10:11 < eremit> yeah that's a problem i'm currently fighting with myself ... 10:12 < v-dogg> so I'll validate (run multiple tests) and then normalize (running the same tests) again in an action 10:12 < eremit> but dates are i18n thinggies too ... 10:12 < v-dogg> sure but you can't separate that from validation 10:12 < eremit> maybe the upcoming i18n features should be able to read the validators and normalize the dates ... 10:15 < eremit> but i have another silly problem at the moment ... 10:15 < eremit> :/... i have a page with 2 forms ... a login sidebar and a register screen ... 10:16 < eremit> if i fill out the login sidebar and post the values, it triggers the register formpopulfilter 10:50 -!- raidman|Work is now known as raidman|Away 10:55 -!- JonPeters [n=websitec@S01060013102d99b3.vf.shawcable.net] has quit [Read error: 110 (Connection timed out)] 11:01 < eremit> i don't get it ... v-dogg could you explain me the logic of agavi ... 11:02 < eremit> i have a form with postaction=index.php/Login ... from an action called account module plugin ... 11:02 < eremit> and after post action: account module: plugin gets called ... oO 11:04 < v-dogg> maybe a routing issue? 11:04 < eremit> not really ... 11:05 < eremit> i works if i'm not in a specific view ... 11:05 < eremit> if im in /Index it works ... but if i'm in /Register it doesn't ... 11:05 < eremit> maybe i somewhere accidently change the routing *thinks loud* 11:25 < v-dogg> hmh... why doesn't routing accept /123/http://www.foo.bar/link 11:25 < v-dogg> pattern="^/(cmrid:\d+)/(url:.*)" 11:26 < v-dogg> /123/http:www.foo.barlink works 11:26 < eremit> pattern is missing the final $ ? 11:26 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:27 < v-dogg> makes no difference 11:27 < eremit> sure? 11:27 < v-dogg> yep 11:27 < v-dogg> tried it already 11:28 < eremit> uh makes noch sense to me .. 11:29 < eremit> another route messing up the pattern ?? 11:31 < v-dogg> that's the only route/pattern I have 11:31 < eremit> o_O that's silly ... 11:31 < eremit> theoretical it cannot be the / between host and param ... 11:32 < eremit> because there are already two / in there ... 11:32 < eremit> ah ... moment ... the url working doesn't have any / ... i missed that one 11:35 < v-dogg> double / breaks it 11:35 < eremit> that'S bad ... 11:35 < v-dogg> multiple / but not right after each other works 11:36 < v-dogg> something to do with routing itself, not the pattern 11:37 < eremit> lol i must admit i just opened the routing ... and closed it again, after seeing the code and not understanding really much of it ... 11:38 < eremit> i think this code must really be studied to get it completly 11:38 < v-dogg> I'm just working on refactorin a part of it 11:38 < eremit> glhf ... 11:38 < v-dogg> WebRouting::initialize 11:38 < v-dogg> is going to be a bit clearer soon :) 11:39 < eremit> :) 11:40 < v-dogg> wtf.. 11:40 < v-dogg> http://localhost:8088/123/http:/www.foo.bar/fi/ => input = '/123/http:/www.foo.bar/fi/' 11:40 < v-dogg> http://localhost:8088/123/http:/www.foo.bar//fi/ => input = '123/http:/www.foo.bar//fi/' 11:41 < v-dogg> input for routing, that is 11:42 < v-dogg> time for a nasty hack... 11:42 < v-dogg> if(!$this->input[0] != '/') { $this->input = '/'.$this->input ; } 11:42 < v-dogg> there.. problem solved :p 11:48 < eremit> loool ... i hate pear again ... 11:48 < v-dogg> most people hate it all the time :) 11:48 < eremit> PEAR::Mail() one of the stupiest implementations i'Ve ever seen ... 11:49 < eremit> setting the from part of a mail to "Registration of Site" works ... 11:49 < eremit> but setting it to "Registration of Site.com" doesn'T ... 11:49 < eremit> and this took 2.5 hrs to find out ... O o 11:49 < v-dogg> uhm? Site.com messes it up? 11:50 < eremit> the . messes it ... 11:50 < v-dogg> haha 11:50 < eremit> looks like it does a stupid preg_match on . 11:50 < v-dogg> solid pear quality 11:51 < eremit> yeah ... nice one ... this will put further oil in the fire here at the company ... 11:52 < eremit> yesterday there was a lengthy discussion about to kick php as main lang 11:52 < v-dogg> sadly others are talking about that too... 11:53 < v-dogg> and Pear is one big reason people don't like php 11:53 < eremit> yep pear was one of the points we had yesterday ... 11:54 < eremit> another good point was the unstructured api of php ... 11:54 < eremit> like html_decode_entity and htmlentities ... 11:54 < eremit> parameter order of functions was another point ... 11:54 < v-dogg> srtlen and str_replace... 11:54 < v-dogg> and many others 11:54 < eremit> yeah ... there are many ... 11:55 < eremit> the last point was the missing of a solid pre compiler ... 11:55 < eremit> apc has too many problems and zend is far too expensive 11:56 < eremit> we will see what our company decides ... but there will be heavy discussions in future ... 11:56 < eremit> :/ 11:57 < eremit> missing namespaces was also a really huge point ... 11:57 < eremit> exspec. in objects like Date and User etc ... 11:59 < digitarald> thats why there are frameworks ... php without frameworks is really snippet work ... 11:59 < eremit> even in frameworks you often get problems at least if you use 3rd party libs ... 12:02 < eremit> our java department has a policy like every developer uses his own package namespace ... e.g. Org.Foo.Dev. 12:03 < eremit> so there can be many developers creating User objects ... without the fear of collission ... 12:12 -!- shoan [n=shoan@61.95.206.107] has quit [] 12:30 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 12:43 -!- raidman|Away is now known as raidman|Work 13:38 < digitarald> has somebody a good solution for creating pdfs with php ... i'm thinking about latex ... 13:38 < eremit> im using fpdf 13:44 < v-dogg> me too (just a simple one page pdf) 13:50 < digitarald> i have to create invoices ... and i love the power of latex 13:50 -!- Jakuza [n=jakuza@213-140-16-191.fastres.net] has joined #agavi 13:50 -!- Jakuza [n=jakuza@213-140-16-191.fastres.net] has left #agavi [] 13:52 < eremit> latex forces you to have exec() enabled doesn't it ? 13:53 < digitarald> yes, you have to compile it 13:53 < digitarald> but its the same when i use fo:pdf 13:54 < eremit> that's a point against latex for me ... i like latex too, but exec() is one of the disabled functions 13:55 < digitarald> its not against latex ... its against exec ;) 13:55 < digitarald> may be a cronjob would do it 13:56 < eremit> yes but against using latex for pdf creation in php scripts 14:05 < digitarald> ok ... lets check against exec and blame the serveradmin 14:05 < eremit> looool ... 14:06 < eremit> at least on my installation (currently have 25hosting machines here) ... there are a bunch of functions forbidden ... exec is one of the less used ;) 14:08 < digitarald> ok ... i have access to exec ... fine. 14:08 < eremit> bad admin ... 14:08 < eremit> or cgi envoirement ? 14:29 < digitarald> evil and bad admin ... exec is evil and bad too ... but only if the coders are bad and evil ... i trust the admin, he trust me ;) 14:30 < eremit> O_o an admin should trust nobody ...don't even himself ... 14:30 -!- raidman|Work is now known as raidman|Away 14:31 < digitarald> its just on on development stage ... live save_mode is on and exec off ;) 14:32 < eremit> ah ... bust still a shared hosting mod php installation ? ... 14:34 < digitarald> different servers 14:34 < eremit> yeah i meant the final production server 14:34 < digitarald> yes 14:35 < eremit> bah ... 14:35 < digitarald> btw ... has anybody a good idea to get around $obj->getData()[$x] ... its not possible but there has to be something to get the $x index 14:36 < eremit> does {$obj->getData()}[$x] work ? 14:36 < eremit> otherwise 2 steps ... $foo = $obj->getDate(); $bar = $foo[$x] 14:37 < v-dogg> or implementing ArrayAccess (or something similar) interface 14:37 < digitarald> the first is not valid ... 14:38 < v-dogg> no wait.. it wont work 14:38 < digitarald> thought it is possible without a second step 14:39 < eremit> you could try to create a default setter ... afaik $obj->Data[$x] should work 14:39 < digitarald> the problem is, that the syntax is not valid ... i can get [0] with current($obj->getData() ) and the second with next() ... but not further :( 14:40 < digitarald> ok ... lets do it with a second step 14:43 -!- raidman|Away is now known as raidman|Work 15:12 -!- raidman|Work is now known as raidman|Away 15:22 -!- Wombert [n=Wombert@dslb-088-064-013-005.pools.arcor-ip.net] has joined #agavi 15:22 < v-dogg> wombie zombie 15:27 < Wombert> :) 15:29 < v-dogg> how's the project going? 15:43 < v-dogg> uh... validators are a bitch to test 15:49 < Wombert> http://www.brothercake.com/site/resources/reference/3d/ 15:50 -!- AgaviBot [n=dzuelke@dslb-088-064-013-005.pools.arcor-ip.net] has joined #agavi 16:39 -!- raidman|Away is now known as raidman|Work 16:58 < Wombert> eremit: you there? 17:06 < eremit> yep 17:07 < Wombert> validators DO change input 17:07 < Wombert> for security 17:07 < Wombert> and 17:07 < Wombert> normalzation 17:07 < Wombert> +i 17:08 < eremit> good to know ... was something i would not expect ... 17:09 < Wombert> consider a form where you have three drop downs for selecting a date 17:09 < Wombert> get it now? ;) 17:10 < eremit> as i said i would not expect ... i would try to validate all three dropdown in one validator ... 17:10 < eremit> and try to sprintf them in the action ... 17:15 * v-dogg celebrates 17:16 < v-dogg> saves a heck of a lot work when you can normalize input at the same time you validate 17:16 < v-dogg> otherwise most of the work would have been twice 17:16 < v-dogg> +done 17:17 < eremit> is there a possibility to change that behauviour ? 17:18 < v-dogg> why? 17:18 < v-dogg> it's up to the validator you use whether or not data is manipulated 17:19 < v-dogg> nothing is manipulated by default (at least i think so) 17:19 < eremit> ah ok ... that was what i meant 17:22 < Wombert> eremit: not normalizing your input is a very, very bad idea 17:22 < eremit> i normalize my input ... 17:22 < eremit> but NOT in a validator ... 17:22 < Wombert> right 17:22 < Wombert> where do you do it then? 17:23 < eremit> in the action ... 17:23 < v-dogg> you do double work then? 17:25 < eremit> yes .. 17:28 < Wombert> uh huh 17:28 < Wombert> and that's very very stupid 17:28 < Wombert> and prone to errors 17:29 < eremit> why stupid ? ... 17:29 < eremit> a validator has to validate ... 17:29 < Wombert> no 17:29 < Wombert> sorry, you're wrong here 17:29 < Wombert> what if you change your html form? 17:29 < eremit> should we start a philisophical discussion, hm ? 17:30 < Wombert> no 17:30 < Wombert> what if you want to add an ajax request method? the date is not three values there 17:30 < eremit> i need to change, the validator, the normalization process, and the action ... 17:30 < Wombert> no 17:30 < Wombert> the action always expects a certain format 17:30 < Wombert> and the validator converts to that format 17:30 < Wombert> doesn't matter for strings, or many numbers 17:30 < Wombert> but think about 1,3 vs 1.3 17:30 < Wombert> or dates 17:30 < eremit> we have a different understanding of validation ... 17:31 < eremit> sorry about that ... but dates and floats in dot and comma representation are i18l things 17:31 < Wombert> not necessarily 17:31 < Wombert> but often, yes 17:31 < Wombert> yet another reason to move that to validators 17:31 < Wombert> do NOT do it in the action 17:31 < Wombert> it doesn't belong there 17:32 < Wombert> you get three values from the form, d_day, d_month and d_year 17:32 < Wombert> the validator validates it, then sets "date", a unix timestamp, in the parameter holder that is passed to Action::execute() 17:33 < eremit> i agree with you it doesn't belong into the action, yes ... but i doesn't agree it belongs into the validator too 17:33 < eremit> this should be done by a normalization filter ... 17:33 < Wombert> our validators serve as ways of validating, filtering and normalizing input 17:34 < eremit> as i said in the morning ... if this is your way, i have to accept it ... i only said i would not expect it ... so it's a good-to-know thinggie 17:37 -!- Wombert_ [n=Wombert@dslb-088-064-009-122.pools.arcor-ip.net] has joined #agavi 17:37 -!- Wombert [n=Wombert@dslb-088-064-013-005.pools.arcor-ip.net] has quit [Nick collision from services.] 17:37 -!- Wombert_ is now known as Wombert 17:51 -!- AgaviBot [n=dzuelke@dslb-088-064-013-005.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 17:59 -!- shoan [n=shoan@61.95.206.107] has quit [] 18:03 < Wombert> eremit: will have a look at that form problem of yours 18:04 < Wombert> hmmm 18:04 < Wombert> no problem here!? 18:04 < Wombert> got two forms in one page with different actions 18:04 < Wombert> it only fills in the correct one 18:06 < Wombert> do they both have the same action? 18:13 * Wombert slaps eremit 18:16 * eremit wakes up again 18:16 < eremit> sorry ... currently deploying the first alpha of my app on the produ test env .. 18:16 < eremit> the problem has been solved ^^... 18:17 < Wombert> what was the problem? 18:17 < eremit> our designer forgot the final tag ... 18:17 < eremit> and fpf didn't recognized it 18:18 < Wombert> yeah 18:18 < Wombert> use XHTML and you won't have that problem ;) 18:19 < eremit> it should be xhtml ... 18:19 < v-dogg> fpf should give and error then, shouldn't it? 18:19 < Wombert> uh 18:19 < Wombert> nah 18:19 < Wombert> because we use loadHtml() 18:19 < Wombert> instead of load() 18:20 < Wombert> can't use load(), because that would complain about HTML4 18:20 < v-dogg> http://www.youtube.com/watch?v=WbmgkCiwTKo 18:20 < v-dogg> mr Galloway gives a good interview :D 18:23 < v-dogg> I love that guy 18:23 < v-dogg> quick-witted and passionate 18:24 < v-dogg> "oh please, have a slightly longer memory thatn four weeks!" 18:24 < v-dogg> :D 18:26 < eremit> lol nice interview ... i didn't knew anybody in the western world has the courage to speak out that loud o_O 18:29 < v-dogg> any idea how to get phpunit to show the whole error message? 18:29 < v-dogg> expected: <...> but was: <.../index.php> 18:29 < v-dogg> those three dots don't reveal much :) 18:30 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 18:58 < Wombert> so what do we call these validated parameters then? 18:58 < Wombert> $validatedParameters? 18:59 < Wombert> they aren't really all validated but... 18:59 -!- kaos- [n=kaos@ppp-82-135-69-5.dynamic.mnet-online.de] has joined #agavi 18:59 < Wombert> we need native speakers to decide! 18:59 * Wombert pokes jake 19:01 -!- raidman|Work is now known as raidman|Away 19:03 < Wombert> galloway is a moron 19:08 < eremit> O_o 19:08 < digitarald> $cleanedParameters() 19:09 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:06 -!- Macca` [i=brendanm@maccasoft.com.au] has quit ["hugs and kisses!"] 20:18 < jake> hola Wombert 20:18 < jake> unfilteredParameters ? 20:43 -!- shoan [n=shoan@59.92.203.164] has joined #agavi 21:03 -!- AgaviBot [n=dzuelke@dslb-088-064-009-122.pools.arcor-ip.net] has joined #agavi 21:09 -!- raidman|Away is now known as raidman|Work 21:09 < raidman|Work> night guys 21:12 < Wombert> nn 21:12 -!- benny`work [n=benny@p54AC358C.dip0.t-ipconnect.de] has joined #agavi 21:12 < raidman|Work> not [a] number? :P 21:13 < Wombert> "night night" 21:13 < raidman|Work> oh :) 21:13 < raidman|Work> nn Wombert 21:13 < raidman|Work> :) 21:29 < raidman|Work> good night guys 21:29 < eremit> n8 all 21:29 -!- raidman|Work is now known as raidman|Away 23:56 < AgaviBot> News from The Hero Dies in This One at http://blog.bitxtender.com: 23:56 < AgaviBot> 1) http://blog.bitxtender.com/2006/08/09/please-stop-whining-about-quality-problems/: Please Stop Whining About “Quality Problems” --- Day changed Thu Aug 10 2006 00:32 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 00:32 -!- Macca is now known as Macca` 01:24 -!- kaos- [n=kaos@ppp-82-135-69-5.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 01:32 -!- benny`work [n=benny@p54AC358C.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:39 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 02:40 -!- AgaviBot [n=dzuelke@dslb-088-064-009-122.pools.arcor-ip.net] has quit [Remote closed the connection] 02:40 -!- Wombert [n=Wombert@dslb-088-064-009-122.pools.arcor-ip.net] has quit [] 03:08 -!- horros [n=mle@w172.ip4.netikka.fi] has quit [Read error: 131 (Connection reset by peer)] 03:49 < CIA-6> dominik * r945 /trunk/src/ (4 files in 3 dirs): phpdoc fixes 04:11 -!- [1]eremit [n=eremit@p5490F717.dip.t-dialin.net] has joined #agavi 04:29 -!- eremit [n=eremit@p5490F69A.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:29 -!- [1]eremit is now known as eremit 04:53 -!- Macca` [i=brendanm@maccasoft.com.au] has quit ["hugs and kisses!"] 05:27 -!- jake [n=jake@gg.internal.mixxer.com] has left #agavi ["Leaving"] 05:28 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 05:39 -!- Macca [n=macca@maccasoft.com.au] has joined #agavi 05:39 -!- Macca is now known as Macca` 06:56 -!- Macca` [n=macca@maccasoft.com.au] has quit ["hugs and kisses!"] 07:54 -!- raidman|Away is now known as raidman|Work 08:06 -!- [1]eremit [n=eremit@p5490F717.dip.t-dialin.net] has joined #agavi 08:06 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: eremit 08:06 -!- [1]eremit is now known as eremit 08:16 -!- shoan [n=shoan@59.92.203.164] has quit [] 08:27 < ttj> Mornin'. 08:42 -!- eremit [n=eremit@p5490F717.dip.t-dialin.net] has quit [" Try HydraIRC -> http://www.hydrairc.com <-"] 08:43 -!- eremit [n=eremit@p5490F717.dip.t-dialin.net] has joined #agavi 08:44 < eremit> morning 08:50 -!- eremit [n=eremit@p5490F717.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- The dawn of a new IRC era"] 08:54 -!- eremit [n=eremit@p5490F717.dip.t-dialin.net] has joined #agavi 09:13 < v-dogg> huomenta 09:21 -!- Wombert [n=Wombert@dslb-088-064-009-122.pools.arcor-ip.net] has joined #agavi 09:21 -!- AgaviBot [n=dzuelke@dslb-088-064-009-122.pools.arcor-ip.net] has joined #agavi 09:32 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 09:32 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/945: Changeset [945]: phpdoc fixes 09:32 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/944: Changeset [944]: added cookbook 09:32 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/ticket/313: Ticket #313 (enhancement) created by david 09:32 < AgaviBot> 4) http://trac.agavi.org/trac.cgi/ticket/312: Ticket #312 (enhancement) created by david 09:32 < AgaviBot> 5) http://trac.agavi.org/trac.cgi/ticket/311: Ticket #311 (enhancement) created by david 09:52 < Wombert> A BUG! 09:53 < Wombert> houmenta v-dogg 10:06 -!- orco [n=orco@85-18-14-27.fastres.net] has joined #agavi 10:06 < Wombert> welcome, orco 10:13 < eremit> Wombert, your example ._htaccess has errors ... 10:14 < eremit> the second cgi rule is (.*) and nocht ^$ 10:14 < eremit> not* 10:15 < Wombert> thanks 10:16 < CIA-6> david * r946 /trunk/samples/pub/_.htaccess: oops... 10:16 < eremit> np ... 10:16 < eremit> anyway i'm fighting with it at the moment :/ 10:16 < Wombert> CGI? 10:17 < Wombert> not yet implemented 10:17 < eremit> ah this would explain my problems 10:18 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 10:18 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/946: Changeset [946]: oops... 10:20 < eremit> at least is it possible to superseed the settings.xml:default module action pair by using a routing with the pattern ^$ ? 10:23 < Wombert> of course! 10:24 < eremit> hmmm ... 10:25 < Wombert> just fyi 10:25 < Wombert> if you use routing 10:25 < Wombert> you have to do it that way anyways 10:26 < Wombert> because otherwise 10:26 < Wombert> i.e. if no route matches 10:26 < Wombert> it will run 404 action 10:26 < Wombert> the pattern must be ^/$ though 10:26 < eremit> exactly this is my problem ... 10:27 < eremit> if i call http://localhost/app/ nothing happens .. if i use http://localhost/app/index.php/ it works ... 10:27 < Wombert> ... 10:27 < Wombert> I said 10:27 < Wombert> it's not yet implemented 10:27 < Wombert> :p 10:27 < eremit> but afaik http://localhost/app/ equals http://localhost/app/index.php 10:27 < eremit> :P 10:27 < eremit> that's why i'm asking for ^$ instead of ^/$ 10:28 * Wombert sighs 10:28 < Wombert> why don't you wait until v-dogg commits the fix later today 10:28 < Wombert> he has rewritten the routing input 10:28 < eremit> because i didn't knew he would release it today :P ... 10:31 < Wombert> ^$ doesn't help you 10:31 < Wombert> because the entire prefix and path determination is broken, too 10:31 < Wombert> grrrrrr 10:32 < Wombert> and now my toast is all burnt 10:32 < eremit> pardon? 10:32 < Wombert> because I was discussing with you 10:32 < Wombert> and didn't pay attention 10:32 < Wombert> :< 10:32 * Wombert kicks eremit 10:32 * Wombert goes back grab some coffee 10:34 -!- raidman|Work is now known as raidman|Away 10:44 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:17 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:23 < digitarald> morning 11:40 -!- raidman|Away is now known as raidman|Work 11:55 -!- orco [n=orco@85-18-14-27.fastres.net] has quit ["Sto andando via"] 12:01 < v-dogg> mm... coffee would be nice 12:02 < Wombert> yeah 12:02 < Wombert> I need another one I guess 12:03 < v-dogg> I just had a pizza with a _lot_ of garlic 12:04 < Wombert> ewww 12:04 < Wombert> in the morning? 12:04 < Wombert> oh wait 12:04 < v-dogg> lunch time already 12:04 < Wombert> that was for lunch 12:04 < Wombert> yeah 12:04 < Wombert> anyways 12:04 < Wombert> the missus will beat you up tonight 12:04 < v-dogg> she will? 12:04 < Wombert> unless she ate one, too ^^ 12:04 < Wombert> just a guess 12:05 < Wombert> hey but 12:05 < v-dogg> no she didn't but I'll make some dinner with garlic in it :) 12:05 < Wombert> now that you satisfied your hunger 12:05 < Wombert> you can work on the rewrites again! 12:05 < Wombert> yay! 12:06 < v-dogg> I just spent 45 mins talking with one of our lecturers about my bachelor work 12:07 < v-dogg> it's going to be about mvc and php 12:07 < Wombert> :) 12:07 < Wombert> cooool 13:04 < Wombert> bbl 13:56 -!- raidman|Work is now known as raidman|Away 16:53 < eremit> doesn't agavi autostore the credentials of a user inthe session ? 16:56 < Wombert> no 16:56 < eremit> ok 16:57 < v-dogg> what? 16:57 < v-dogg> sure it does 16:57 < Wombert> no 16:58 < v-dogg> $storage->write(self::CREDENTIAL_NAMESPACE, $this->credentials); 16:58 * Wombert scratches head 16:58 < Wombert> where is that 16:58 < v-dogg> sec user 16:58 < Wombert> oO 16:58 < Wombert> you're right 16:59 < eremit> ah ... yes now it does, after i removed the clearCredentials() ... dmn copy'n'paste coding 16:59 < v-dogg> :) 16:59 < Wombert> I usually try to re-auth the user and also load fresh credentials from the db 16:59 < Wombert> otherwise, a user won't "lose" credentials once he logged in 17:00 < eremit> you're right ... but i only have one credential ... isAdmin ... 17:00 < Wombert> yeah 17:00 < eremit> and he cannot lose it ... 17:00 < Wombert> no problem in that case 17:00 < Wombert> but consider a community site or so 17:00 < Wombert> and one user is behaving bad 17:00 < Wombert> you can't take his credentials away 17:00 < Wombert> but well 17:00 < eremit> yeah in that case i would write a refresh auth filter 17:00 < Wombert> no 17:00 < Wombert> no filter 17:01 < eremit> oO 17:01 < Wombert> write a custom user implementation 17:01 < eremit> hmm ... was this possible in 0.10 too ? 17:01 < v-dogg> yes 17:01 < eremit> i have a filter here flying around from an old .10 implementation ... 17:02 < eremit> but good to know next time i'll enhance my custom user impl. 17:02 < v-dogg> I store credentials to decrease the number of db queries done on every request 17:02 < Wombert> yeah 17:02 < Wombert> you always have to decide what's more important 17:02 < Wombert> security 17:02 < Wombert> or performance 17:02 < Wombert> I'd say in most cases, the default behavior is okay 17:02 < v-dogg> for me it's shouldn't be a security issue 17:03 < v-dogg> I also store user id in session, so I could easily drop a user at any time 17:04 < Wombert> ? 17:04 < v-dogg> session table knows which user uses that session 17:04 < Wombert> ab 17:04 < Wombert> ah 17:04 < Wombert> db storage 17:04 < Wombert> yeah 17:04 < v-dogg> yep 17:06 < eremit> are logical combined callback in routes possible ? 17:06 < Wombert> ? 17:06 < eremit> like callback="CondCallback1 && !CondCallback2" 17:07 < eremit> or do i need to use subrouting ? 17:08 < Wombert> what are you trying to achieve 17:08 < eremit> hmm ... how to explain .. i want to add a /Admin routing namespace ... 17:08 < Wombert> okay 17:08 < eremit> and in case s.b. is not authenticed he gets to /Admin/login 17:09 < Wombert> that's the SecurityFilter's job 17:09 < Wombert> don't do that in the routing or a callback 17:35 < v-dogg> and that has been there since mojavi :) 17:38 -!- Wombert_ [n=Wombert@dslb-088-064-005-156.pools.arcor-ip.net] has joined #agavi 17:38 -!- Wombert [n=Wombert@dslb-088-064-009-122.pools.arcor-ip.net] has quit [Nick collision from services.] 17:38 -!- Wombert_ is now known as Wombert 17:53 -!- AgaviBot [n=dzuelke@dslb-088-064-009-122.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 17:59 -!- Wombert [n=Wombert@dslb-088-064-005-156.pools.arcor-ip.net] has quit [] 18:01 -!- Wombert [n=Wombert@dslb-088-064-009-134.pools.arcor-ip.net] has joined #agavi 18:02 -!- AgaviBot [n=dzuelke@dslb-088-064-009-134.pools.arcor-ip.net] has joined #agavi 18:06 < eremit> routes are tried top down or bottom up ? 18:09 < Wombert> in the order they are specified 18:10 < eremit> ty 18:18 -!- shoan [n=shoan@61.95.206.107] has quit [] 18:31 < v-dogg> Wombert: 18:31 < Wombert> v-dogg: 18:32 < Wombert> :) 18:32 < v-dogg> I've refactored my route parsing mess now a bit 18:32 < v-dogg> but haven't impemented path_info_parameter removing 18:32 < v-dogg> and this won't work on IIS 18:32 < v-dogg> wanna have a look? do I commit? 18:33 < v-dogg> I don't have time to work on this any more now 18:33 < v-dogg> later tonight perhaps or tomorrow 18:35 < Wombert> yeah commit it if it works more or less 18:36 < Wombert> I can do the removal thing 18:37 < v-dogg> so far it's only tested using those unit tests 18:37 < v-dogg> maybe I'll try it on veikkomakinen.com before committing 18:38 < Wombert> yeah good idea 18:42 < v-dogg> I refactored that "'http' . (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://' . "..... to a protected method to make it a bit more readable :) 18:42 < v-dogg> but that's used somewhere else too, isn't it? 18:42 < v-dogg> it could be put to Toolkit perhaps? 18:42 < Wombert> in the request, I think 18:43 < Wombert> maybe the web routing could use a method from web request instead? 18:43 < Wombert> that'd be a lot cleaner ;) 18:44 < v-dogg> yeah. I thought there was some reason it didn't 18:44 < Wombert> nah 18:44 < v-dogg> but that would of course be the best way 18:45 < Wombert> I think I implemented the web request methods after the routing was finished 18:45 < Wombert> and forgot about it 18:55 -!- raidman|Away is now known as raidman|Work 19:07 < CIA-6> v-dogg * r947 /trunk/ (6 files in 3 dirs): 19:07 < CIA-6> Refactored web routing initialization. PHP CGI seems to work now BUT support for 19:07 < CIA-6> Microsoft IIS is disabled for the moment. IIS users please step forward. Some 19:07 < CIA-6> minor parts of parseApacheCgiRewrite method are still unimplemented (all yours 19:07 < CIA-6> David if you want to have a go whit it). 19:08 -!- raidman|Work is now known as raidman|Away 19:10 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 19:10 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/947: Changeset [947]: Refactored web routing initialization. PHP CGI seems to work now BUT ... 19:17 -!- shoan [n=shoan@59.92.203.164] has joined #agavi 19:29 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 54 (Connection reset by peer)] 20:22 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 20:23 -!- benny`work [n=benny@p54AC35EA.dip0.t-ipconnect.de] has joined #agavi 20:24 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 20:24 < digitarald> morn ... oehm ... good evening 20:25 < jake> hola 20:51 -!- shoan_ [n=shoan@59.92.142.35] has joined #agavi 21:01 -!- shoan [n=shoan@59.92.203.164] has quit [Read error: 110 (Connection timed out)] 21:12 < Wombert> hi jake 21:26 < digitarald> hi wombert ... am i able to use the agavi log pattern for propel ... propel can log, but how can i access this feature in agavi. 21:27 < digitarald> i just want to see how many queries and what queries propel sends 21:48 < digitarald> Wombert? 21:52 < v-dogg> how do you normally access propel logging? 22:00 < digitarald> i'm trying to add agavi as logger ... just have to compile ... and ... *waiting* 22:11 < CIA-6> dominik * r948 /trunk/src/routing/AgaviWebRouting.class.php: small refactoring 22:14 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 22:14 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/948: Changeset [948]: small refactoring 22:16 -!- shoan_ [n=shoan@59.92.142.35] has quit [] 22:19 < CIA-6> dominik * r949 /trunk/src/routing/AgaviWebRouting.class.php: fix sources 22:19 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 22:19 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/949: Changeset [949]: fix sources 22:34 < CIA-6> dominik * r950 /trunk/src/routing/AgaviWebRouting.class.php: more refactoring 22:36 < CIA-6> dominik * r951 /trunk/src/routing/AgaviWebRouting.class.php: fix possible problem when passing an uninitialized var 22:36 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 22:36 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/951: Changeset [951]: fix possible problem when passing an uninitialized var 22:36 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/950: Changeset [950]: more refactoring 22:50 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org: 22:50 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=353#p353: New post in Support : Your PC is Not Safe! 23:24 < digitarald> thats some spam spreading 23:30 < digitarald> hello there ... is there an uml model for the executeWrite/Read methods ... --- Day changed Fri Aug 11 2006 00:26 < jake> hey Wombert, how's it going? 00:27 * Wombert yawns 00:27 < Wombert> just making myself a cup of tee 00:27 < Wombert> earl grey 00:27 < Wombert> aaaand 00:27 < Wombert> hmmm 00:28 < Wombert> was about to start on some rouzting tweaks 00:36 < Wombert> digitarald: the phpdocs explain it all! :) 01:10 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 01:14 -!- benny`work [n=benny@p54AC35EA.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:24 < jake> earl grey huh? How's that treating you? 01:24 < Wombert> I liked it 01:24 < Wombert> never drank it before 01:24 < Wombert> I bought some today when I was shopping 01:25 < Wombert> how you're doing, man? 01:25 < Wombert> liked your holidays? 01:25 < jake> I'm great. I wish you weren't in school so we could hire you on :) 01:25 < Wombert> busy? not? 01:25 < Wombert> like seattle? 01:25 < jake> yeah, super busy. We're in a major software push right now 01:25 < jake> Which is fun though, I like where I work. 01:26 < Wombert> well I'm in university and I'm constantly struggling because... well, it's annoying me ;) 01:26 < jake> Seattle is amazing. I wasn't sure if I was going to like it or not, so I'm excited. 01:26 < Wombert> I'll let you know should I decide I'd much rather like to work ;) 01:27 < jake> Yeah, I left college because I got annoyed by the classes :) 01:27 < jake> What's been going on with you other than making agavi badass? 01:27 < Wombert> I uhm 01:27 < Wombert> made agavi badass ;) 01:27 < Wombert> well and worked on some client project 01:27 < Wombert> still porting that other one to agavi-0.11 01:27 < Wombert> pretty annoying 01:28 < Wombert> but it's amazing, too, because what I basically do is change some method calls here and there, and throw out a lot of code 01:28 < Wombert> looks like things are quite a bit easier and more convenient with the new version 01:29 < Wombert> not sure yet if I like the new validation system, but other parts, like the routing, are top notch really 01:41 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 01:41 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/314: Ticket #314 (enhancement) created by david 01:48 < CIA-6> david * r952 /trunk/src/ (2 files in 2 dirs): added support for PHP 5.2 'httpOnly' cookies, closes #314 01:48 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline: 01:48 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/314: Ticket #314 (enhancement) closed by david 01:48 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/952: Changeset [952]: added support for PHP 5.2 'httpOnly' cookies, closes #314 01:52 < jake> hopefully some of my requests won't just make it more useful for _me_ :) 01:53 < Wombert> it definitely helped a lot 01:53 < Wombert> "opened my eyes", sort of 01:54 < jake> heh. I think agavi is about the only framework out there that has successfully and sanely addressed web services 01:54 < jake> so I'm stoked about that 01:54 < Wombert> it really, really is pretty exciting 01:54 < Wombert> I'm planning to add complete XMLRPC and SOAP support to 1.0 01:55 < Wombert> i.e. (Xmlrpc|Soap)(Controller|Request|Response|Routing) 01:55 < jake> that's great. So do you have a date in mine for 1.0? 01:56 < Wombert> not really 01:56 < Wombert> we need to get 0.11 out first 01:56 < jake> Sure. How about a date for 0.11? 01:56 < jake> tentative 01:56 < Wombert> I wanted to roll a beta 1 last weekend, but I've just been so busy... 01:57 < Wombert> http://trac.agavi.org/trac.cgi/query?status=new&status=assigned&status=reopened&milestone=0.11 01:57 < Wombert> #293 is pretty much the only ticket we need to close before that can happen 01:57 < Wombert> plus changelog, release notes, a bit more docs (really would like to finish the intro manual...) 01:57 < Wombert> CachingExecutionFilter can wait until b2 or so, same for the others 01:58 < Wombert> but there are all the other things... most important one being documentation, but also... a new website for instance. still looking for a skilled designer who could create a logo and a color scheme, and maybe even a rough layout for a website 01:59 < Wombert> and just the other day we decided that the current unit tests are so messy, we need to rewrite them for 1.0 once 0.11 is out 01:59 < Wombert> oh and did I mention documentation? ;) 02:02 < Wombert> I'm really glad there are no more major features missing 02:02 < Wombert> and from what I can tell, there's nothing to come 02:03 < Wombert> so (hopefully) no blockers on the road ahead 02:13 < Wombert> http://www.ruby-forum.com/topic/76671 02:21 < AgaviBot> News from The Hero Dies in This One at http://blog.bitxtender.com: 02:21 < AgaviBot> 1) http://blog.bitxtender.com/2006/08/11/on-the-total-nondisclosure-of-the-8906-ruby-on-rails-security-vulnerability/: On the total nondisclosure of the 8/9/06 Ruby on Rails security vulnerability 02:45 < jake> Wombert, I can never visit the links you post here 02:45 < jake> I get a 404 02:45 < Wombert> oO 02:45 < jake> If I go to the home page, I can click on the link and go to it 02:45 < Wombert> ah well the AgaviBot posts the URL and then a : 02:46 < Wombert> let me fix that in the template 02:46 < Wombert> done ;) 02:46 < Wombert> next link will work 02:49 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 03:03 -!- jake [n=jake@gg.internal.mixxer.com] has quit [Read error: 113 (No route to host)] 03:03 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 03:03 < Wombert> http://youtube.com/watch?v=dkuqoTseUPo 03:03 < Wombert> Jon Stewart is the best 03:09 < jake> yeah he cracks me up 03:09 < Wombert> yeah 03:09 < Wombert> but that video 03:09 < Wombert> I mean 03:09 < Wombert> just great 03:13 < Wombert> but yeah he cracks me up, too 03:13 < Wombert> too bad CNN show it only once a week, in the middle of the night 03:13 < Wombert> http://youtube.com/watch?v=EWhvLTVYRsQ best segment ever I guess ;) 03:38 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 03:50 < Wombert> nn :> 03:51 -!- Wombert [n=Wombert@dslb-088-064-009-134.pools.arcor-ip.net] has quit [] 04:08 -!- AgaviBot [n=dzuelke@dslb-088-064-009-134.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 04:12 -!- [1]eremit [n=eremit@p5490F9D8.dip.t-dialin.net] has joined #agavi 04:30 -!- eremit [n=eremit@p5490F717.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:30 -!- [1]eremit is now known as eremit 06:18 -!- shoan [n=shoan@59.92.142.35] has joined #agavi 07:19 < ttj> Mornin'. 07:28 -!- jake [n=jake@gg.internal.mixxer.com] has quit [Read error: 104 (Connection reset by peer)] 07:29 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 08:02 < v-dogg> huomenta 08:02 -!- jake [n=jake@gg.internal.mixxer.com] has quit [Read error: 104 (Connection reset by peer)] 08:03 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 08:15 < eremit> morning 08:20 < v-dogg> hmm.. 08:20 < v-dogg> that cookie fix... 08:21 < v-dogg> will probably end up showing this for most of the users: Warning: setcookie() expects at most 6 parameters, 7 given in C:\workspace\test\pub\test.php on line 3 08:48 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 09:10 -!- eremit [n=eremit@p5490F9D8.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- The future of IRC"] 09:11 -!- eremit [n=eremit@p5490F9D8.dip.t-dialin.net] has joined #agavi 09:31 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 09:35 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 09:52 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 10:03 -!- shoan [n=shoan@59.92.142.35] has quit [] 10:20 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 10:20 < digitarald> Gooood morning :) 10:21 < eremit> heyja digital 10:43 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 10:50 < digitarald> anybody here that knows some facts for propel? :) 10:50 < eremit> depends on the facts you wanna know 10:50 < v-dogg> yep 10:51 < digitarald> how can i see what queries propel fired ... 10:51 < digitarald> i just want a querie count/statistics 10:51 < digitarald> i make it simple ... a count ;) 10:51 < v-dogg> http://propel.phpdb.org/trac/wiki/Users/Documentation/HowTos/FullQueryLogging 10:51 < digitarald> and how can i do this in agavi ... filter? 10:52 < v-dogg> a good question 10:52 < eremit> i would extend the propel database handler ... 10:52 < v-dogg> probably the easiest way 10:52 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:52 < digitarald> i would append database logging by default ... its necessary for developing ... but i will do it for myself 10:53 < v-dogg> and you can define a "debug db class" for development enviroment and use the normal propel db for production 10:53 < digitarald> yes ... i develop a filter, then put the result in an extending class 10:53 < eremit> why a filter ? 10:54 < v-dogg> uh... propel uses pear for logging? 10:54 < digitarald> another idea ... i extend the execution filter, append the logger and append the stats/count to the output 10:54 < eremit> yes propel uses the f... pear logging ... 10:54 < digitarald> yes, i know ... dirty 10:54 < eremit> another idea ... 10:55 < eremit> use a custom view and a custom database handler ... 10:55 < eremit> the custom view only needs to check if the database handler is in debug mode ... if so put a slot into the view 10:56 < eremit> that's how i do my user only menus ... 10:56 < digitarald> thats ... i have to get that first 10:57 < digitarald> ok ... not fitting for me ... i want the views independent from any databases ... 10:57 < digitarald> i want all in filters, extra classes and in folders with cryptic names 10:58 < eremit> O_o why do you need folders with cryptic names ? ... only documentroot access to the webspace? 10:58 < digitarald> just for myself ... its my degree dissertation ... its cool to have cryptic names when i show the folder structure to the profs ;) 10:59 < digitarald> ... just kidding ... i think putting it in a filter is easier ... it don't need an extra template 10:59 < eremit> O_o my prof would kick my ass outa university ... 11:00 < eremit> he even tagged a mistake because using 11:00 < eremit> function foobar(int val) { 11:00 < eremit> instead of 11:00 < eremit> function foobar(int val) 11:00 < eremit> { 11:00 < eremit> note the bracket ... 11:00 < v-dogg> that's a bit harsh 11:01 < digitarald> i would tag that too ;) 11:01 < eremit> that's totally stupid ... ansi-c coding standards say the bracket _behind_ the declaration 11:01 < digitarald> its coding style ...! 11:01 < eremit> it's a matter of taste where to put it ... 11:02 < digitarald> i have my own clean coding style ... the best for reading it ... 11:02 < digitarald> yes, its a matter of your own 11:02 < eremit> everybody has his own coding style ... and there is no failure in using this kind of brackets ... 11:03 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 11:03 < digitarald> yes ... it's not when its not declared before ... 11:04 < eremit> lol even then it's stupid ... sorry ... 11:04 < digitarald> mmmhhh ... no ;) 11:04 < digitarald> clean code is sooo beautiful ;) 11:05 < digitarald> everytime when i get not-standard-code i first go through and clean it ... then i feal better ... and lost one hour ;) 11:05 < digitarald> feel 11:05 < eremit> what's standard code? who defines it? ... 11:06 < eremit> i await from a good coder to be able to read both bracket types, if the rest of the code clean ... 11:06 < digitarald> my eyes 11:06 < eremit> you never coded languages which are per design unreadable have you? 11:06 < eremit> like RS/36, ASM or RPG ? 11:07 < digitarald> my standard, my taste, my work to clean it up ... i have no other hobbies ;) 11:07 < digitarald> no ... i'm multimedia designer ... we have only readable code :P 11:07 < eremit> lol ... my boss would kick my ass if i stard to cleanup an application of 10k lines ... 11:08 < digitarald> i too ... 11:08 < digitarald> me too ... igual 11:08 < digitarald> getting confused ... talking in spanish and writing english 11:09 < digitarald> and thinking german ... and writing agavi 11:09 < eremit> hrhr ... my wife doesn't even recognize it anymore if i talk english *gg* 11:09 < eremit> thinking german ?!? O_o 11:09 < digitarald> i'm german, doing my degree in spain ... 11:10 < eremit> ok now it gets complex ... talking spanish, thinking german and writing english ... what about stop thinking? would reduce complexity ;P 11:11 < digitarald> yes ... shutdown in progress ;) 11:11 < digitarald> or may be thinking an spanglish ... 11:12 < eremit> hrhr 11:13 < eremit> whoever designed the css markup lang should get killed ... this must have been said ... 11:34 < shoan> how do you guys use propel objects with agavi? to you set them directly to the template? 11:35 < eremit> i don't use them in the templates ... for me it'S the view which generates arrays and pushes it into view ... 11:35 < eremit> but that's because of smarty and their totally stupid object syntax for me ... 11:36 < shoan> eremit: but isn't it using the same object arrow notation in smarty? {$details->getName()} 11:36 < eremit> yes but ever tried nested things ? like objects in an array ? 11:36 < shoan> no 11:37 < eremit> $foo.bar->getBlah() 11:37 < eremit> and you'r lucky if it works ... that'S why i don'T like objects ... 11:37 < eremit> and propel is some kind of risky too ... if the designer is not the developer ... 11:37 < v-dogg> shoan: so far I've used them only in actions but I don't see any harm using them directly in template 11:37 < eremit> v-dogg O_o ... 11:38 < shoan> v-dogg: but the template designer would be able to manipulate the data 11:38 < eremit> this could be a security problem ^^ 11:38 < v-dogg> for _getting_ data. otherwise you are mixing logic into templates 11:38 < v-dogg> eremit: true 11:38 < v-dogg> if you can't trust your template designer, then don't do it :) 11:39 < eremit> i would suggest not to do it ... you can trust nobody ... 11:39 < v-dogg> I trust myself :p 11:39 < v-dogg> usually 11:39 < shoan> hehe 11:39 < eremit> courage you have ... :P 11:40 < v-dogg> but eremit has a point, allowing propel objects to be used in templates gives a possibility to do stupid things 11:40 < v-dogg> you should be able to lock them too :) 11:40 < digitarald> one delete, one save and your app do really funny things ;) 11:41 < eremit> digitarald, there is higher risk than delete ... imagine a huge enterprise service handing out content for payment ... like the one i'm currently developing 11:41 < digitarald> the other thing is, that you have to look in many files when u search for special code ... when u seperate special patterns than its easier ... 11:41 < eremit> the designer could get free access ... 11:42 < digitarald> then i would not trust anybody ;) 11:42 < eremit> shoan, usually i use the propel objects as full agavi models ... and have an export routine for the views ... 11:43 < eremit> so if i have to change the action i only need to change the model and _not_ the view ... 11:43 < v-dogg> another good point there 11:43 < shoan> interesting 11:44 < eremit> like public function exportToViewname() 11:44 * v-dogg rewinds and erases 11:44 < v-dogg> eremit: where do you have that? 11:44 < eremit> so you only need to change 2 parts of the mvc pattern in most cases ... 11:44 < eremit> directly in the propel class ... 11:44 < eremit> they also implement IModel ... 11:45 < v-dogg> hmm... ok 11:45 < eremit> because they are models for me ... 11:45 < eremit> they even do most of the business logic ... 11:46 < shoan> eremit: do they also handle things link sending emails? publishing to rss? etc. 11:46 < eremit> uh depends ... 11:47 < eremit> for this i also have non propel models ... but if they need to communicate with another model basically yes ... 11:47 < eremit> they may have functions like UserModelPeer::sendNewsletter($from, $message); 11:48 < eremit> and do a lookup for all users emails and use a SmptEmailModel::send() to send the mail ... 11:48 < eremit> model <-> model communication 11:51 < eremit> difficult to explain ... but bascially actions are really ONLY for input preparation and model initialization ... and the views are only for displaying the data ... 11:51 < eremit> 99% of the code is in the models ... 11:52 < shoan> eremit: I am guessing that it makes it easier to unit test 11:53 < eremit> dunno ... i don'T use unit tests ;) ... my timeline are most of the time faaar too tight to care about unit testing ... 11:53 < eremit> but basically it should make everything more easy ... and makes the code more reusable at least for me ... 11:54 < eremit> common things like Users ... are things which i have in a svn repo and only checkout and modify ... 11:54 < digitarald> and u have an export function for the views ... or u want to insert one? 11:55 < eremit> sometime i should rewrite them to use a kind of proxy pattern to loadup function dynamical ... 11:55 < digitarald> like a toArray() function? 11:55 < eremit> i have an export function for each view ... 11:55 < digitarald> where do u generate urls like User::ProfileImage or something like that 11:55 < eremit> in the routing of agavi ... 11:56 < eremit> because the UserModel implements IModel ... i have context in the model ... 11:56 < digitarald> like /userimage/(id)? 11:56 < eremit> yep ... if i need a link like that in the view, it gets exported via exportToViewname() 11:57 < eremit> in an array element called link ... -> array( 'link' => array('linkname' => url)) 11:57 < digitarald> thats good ... my last lead code don't wanted context in the models ... too many space for coders to do silly stuff ;) 11:58 < eremit> yes that can get a problem ... 11:59 < digitarald> to bring the context in the models was not a good idea for agavi ... 12:00 < eremit> basically i'm your opinion ... 12:00 < eremit> i wouldn't care if i have to create the links inthe view ... this would even be more clean ... 12:00 < eremit> because links are view specific and not model related ... ;) 12:00 < eremit> and so there should be no need for context in the model ... i only use it for the urls 12:01 < digitarald> finally i added the small pi somewhere in my page to show the database log ... i love small pi-symbols in websites ;) 12:01 < digitarald> put the context away ... give it as parameter to the export function! 12:01 < eremit> what i would really like to have in agavi is something like the backend display like in symphony ... 12:02 < digitarald> why do u use IModel ... only for the context or to load them by getModel? 12:02 * eremit waits for v-dogg screaming noooooo ;) 12:02 < eremit> i only use IModel to make clear for every developer _this is a model in agavi_ 12:03 < eremit> i heavy use interfaces to describe the classes ... 12:03 < digitarald> ah, ok ;) 12:03 < eremit> like IObserver or IObservable ... interfaces describe the api here ... 12:04 < v-dogg> I don't even know what sort of backend display symfony has, but to please you: 12:04 < v-dogg> Nooooo!! 12:04 < eremit> only things in an interface is considered api relevant and is allowed to be used in other objects ... 12:04 < eremit> hmmm maybe i can find an example for you v-dogg :P 12:07 < eremit> http://www.symfony-project.com/images/tutorials/first_comments_under_post.gif 12:07 < eremit> the part on the right side of the screen only get's displayed if you use frontend_dev.php instead of index.php 12:07 < eremit> they display various information there ... 12:08 < digitarald> whats the way my pi looks ;) ... 12:08 < eremit> and it's really nice if you need fast any information... like vars in the template etc ... 12:08 < v-dogg> shouldn't that be fairly easy to do in agavi? 12:09 < eremit> basically it's an output filter isn't it ? 12:09 < v-dogg> that's how I'd do it (without thinking it more than this) 12:10 < eremit> you do this already ? ... 12:10 < digitarald> i have an action filter for that 12:10 < eremit> oO i was to lazy yet, having the zend debugger active makes you lazy about all this debug stuff 12:10 < v-dogg> eremit: no, I said that's how I _would_ do it 12:10 < digitarald> that appends that to html with some javascript/css styles 12:11 < eremit> v-dogg, ah ... 12:11 < v-dogg> I'll propose to wombie that we add something like this to the sample app 12:11 < eremit> this would be really really nice ... v-dogg :) 12:12 < v-dogg> however I don't see that it should be an official part of agavi 12:12 < eremit> omg, today we have a future brainstorming session ... gna, this will get into an anti php discussion again :/ 12:12 < v-dogg> but I could use that too 12:12 < eremit> if you have that in the sample app it should be simple to traverse to an own project 12:13 < v-dogg> yep 12:13 < digitarald> i will pastebin when i'm sophisticated with the output 12:13 < eremit> s.b. used to RoR ? - i need some stuff against the anti-php pro-RoR faction today ... 12:14 < v-dogg> we are also going to need an AgaviForge to distribute cool code pieces for people to use with agavi 12:14 < eremit> v-dogg yes we really need that ... 12:14 < digitarald> yes, we need that 12:14 < digitarald> ;) 12:14 < eremit> i could provide some propel user security implementations ... 12:15 < v-dogg> eremit: http://www.ruby-forum.com/topic/76671 12:16 < v-dogg> and as far as I know, agavi routing is much more versatile than RoR's 12:16 < v-dogg> can't say I know RoR though 12:16 < eremit> my main problem is the fact of RAD in ror ... 12:17 < v-dogg> RAD? 12:17 < v-dogg> rapid app dev? 12:17 < eremit> that's a point which is difficult to complain about if you some ppl. of the finance area sitting in the session 12:17 < eremit> yes rapid app dev 12:19 < digitarald> but there are php-frameworks with rap, too ... but i don't like it 12:19 < digitarald> maybe we can add rad code snippets to agaviforge ;) 12:20 < eremit> yes there are ... but for a good developer changing framework is not more complex than chaning the language ... 12:20 < eremit> and php has it's flaws as language ... 12:21 < eremit> further the developers are thinking about their own future .. i they can say i have developed in PHP and RoR they have better chances for a job ... 12:21 < eremit> than if they say ... sorry PHP only 12:22 < digitarald> do some ror at home ;) 12:23 < digitarald> our lead coder wanted to introduce ror, too ... 12:23 < eremit> yes that's what i said too ... ;) ... but you know how lazy developers are ... 12:23 < eremit> lol here it'S exactly the other way round ... me, the lead dev, doesn't want it, but the team wants it ... 12:23 < eremit> and they have some of the management ppl on their side... so it's time for a really good argue ... 12:25 < v-dogg> eremit: the best way is to start crying or just became irrationally angry :) 12:25 < v-dogg> start throwing things at them 12:25 < eremit> rofl ... i want to keep my job ... and not being sent to a sanatory ... 12:27 < digitarald> mmmh ... just imagining that discussion 12:39 < eremit> omg ... there is one thing i'm really missing in propel ... 12:40 < eremit> propel-gen . update-sql 12:40 < digitarald> there are some things i'm missing 12:40 < digitarald> u mean exporting old data and importing it to the new tables? 12:40 < eremit> basically yes ... 12:41 < eremit> better would be only applying the changes ... 12:41 < eremit> because the preview machine doesn'T have propel gen ... 12:41 < digitarald> actually propel-gen export data and import them after deleting and inserting the table? 12:42 < eremit> s.t. like get the current db, calculate the diff and generate and update.sql file only to be uploaded and applied 12:42 < digitarald> thats what dbdesigner does ... but not propel ...unfortunatly 12:42 < v-dogg> that's what I really would like to see on the visual db designers: ability to export schema update scripts 12:43 < digitarald> u can convert dbdesigner xml to propel 12:44 < digitarald> i hope MySQL Workbench can do somethink like that 12:44 < eremit> digitarald, yes i can export the data, update the database and import them ... but for this our preview machines needs to have propel-gen installed ... 12:45 < eremit> which it doesn'T have, because it's a mirror of the target production machine ... 12:45 < eremit> and the development server have other datasets ... 12:59 < eremit> bah this routing of agavi drives me crazy ... 13:00 < v-dogg> what about it? 13:01 < v-dogg> are you using the latest version? 13:01 < eremit> yes 13:01 < v-dogg> commited yesterday 13:01 < v-dogg> good 13:01 < eremit> i simply don't get it up ... 13:01 < v-dogg> how is that? 13:02 < eremit> http://phpfi.com/139531 13:04 < eremit> if i generate a route to AdminUserList i get ... index.php/Admin/AdminUserList? 13:05 < v-dogg> not really my expertise but I think you must put cut="true" to outer routes 13:05 < v-dogg> I might be wrong 13:06 < digitarald> short propel question ... about naming 13:06 < eremit> the rules i got from wombert as example yesterday dont have it either and are working :/ 13:06 < v-dogg> ok 13:06 < digitarald> my tables have folling naming conventions: 13:06 < digitarald> items -> id, name 13:07 < digitarald> the problem ... propel generates ItemsPeer ... and Items as models ... but i should be ItemPeer and Item 13:07 < eremit> phpName is your friend 13:08 < eremit> 13:08 < eremit> -> parses into UserModel and UserModelPeer 13:08 < digitarald> yes ... is there a 'global' way .. like changing phpNamingMethode? 13:08 < eremit> i havent found one yet, without rewriting large areas ... 13:08 < eremit> i searched because i would like to have UserPeerModel ... 13:09 < eremit> but the efford to change the phing part was a little bit too huge ... 13:09 < digitarald> ok ... next ... i have a parent-child-tree table ... 13:09 < digitarald> how can i indicate that? 13:10 < eremit> reflexive foreign keys in the table ? 13:10 < digitarald> i did ... ok 13:11 < digitarald> thought there is a cool function to generate a whole tree when the isTree attribute is given ;) 13:11 < eremit> i'm not really sure if this 100% is supported ... 13:11 < eremit> uh ... about that you'll have to ask wombert ... i usually generate the trees at my own ... 13:11 < eremit> using masses of queries ... or huge resultsets 13:12 < digitarald> yes, thats the problem ... thought nested sets are implemented in propel 13:12 < digitarald> ah ok ... isTree is deprecated ... i will do it on my own 13:13 < eremit> i have a dislike about tree structures in php ... so i try not to use them ... 13:14 < digitarald> i have to generate categories ... so i have to ;) 13:15 < eremit> categories with unlimited depth ? 13:15 < eremit> and nested ? ... 13:16 < digitarald> nested and an unfixed depth 13:17 < eremit> hehe ... yes a tree is most likely the best way to represent it ... but be really really carefull about recursive code in php 13:17 < eremit> under some circumstances you can kill a machine using recursive code in php ... 13:18 < digitarald> i did some resursive functions in the past ... ;) ... 13:19 < eremit> (1) non recursive code is about 2x faster ... because php handles recursion really bad ... 13:20 < eremit> (2) never ever use recursion on a memory limit disabled machine ... stupid php infinite recursion == infinite memory usage in this case 13:20 < digitarald> the recursive creation is done one time when u edit the categories, then saved 13:20 < digitarald> just to create the breadcrumb 13:20 < eremit> i killed more than one development server because of accidental infinite recursion *hrhr* 13:25 < eremit> hah ... v-dogg your commit yesterday killed the route nesting ... O_o 13:25 < v-dogg> brilliant :) 13:25 < v-dogg> but how the hell? 13:26 < eremit> even the ones from wombert dont work anymore 13:26 < v-dogg> sorry about that 13:26 < eremit> np ^^ 13:26 < v-dogg> can you figure out what might cause it? 13:26 < eremit> maybe i' currently debugging the routing 13:27 < v-dogg> this seems wierd because I only parse the input so that the old code (that I didn't touch) can use it 13:27 < v-dogg> weird 13:28 < v-dogg> and according to unit tests everything is parsed correctly :) 13:28 < eremit> hmm ... 13:28 < eremit> lets take a deeeeep look ... *g* 13:29 < v-dogg> but some rubber cloves on 13:29 < v-dogg> because its messy :) 13:29 < eremit> ah wait ... maybe ... i have an idea ... 13:30 < eremit> have you changed the gen() ? 13:30 < v-dogg> no 13:30 < v-dogg> just init 13:31 < eremit> because the routes get recognized correctly ... but gen() breaks the generation 13:31 < v-dogg> in that case I plead: Not Guilty 13:37 -!- shoan [n=shoan@61.95.206.107] has quit [] 13:39 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 13:42 < v-dogg> did wobie's example have two levels of child routes? 13:42 < eremit> no 13:43 < eremit> but even one level doesn't work anymore 13:45 -!- Wombert [n=Wombert@dslb-088-064-009-134.pools.arcor-ip.net] has joined #agavi 13:45 -!- AgaviBot [n=dzuelke@dslb-088-064-009-134.pools.arcor-ip.net] has joined #agavi 13:45 < v-dogg> AgaviPop 13:49 < eremit> hmm i don't get it ... but for me it looks like an error in the config handler 13:50 < Wombert> what 13:50 < eremit> the routes you gave me yesterday are not working anymore 13:50 < digitarald> shit ... renamed all propel models ... rename hell 13:50 < eremit> and these aren't too ... http://phpfi.com/139531 13:50 < v-dogg> and I had nothing to do with it 0:-) 13:51 < eremit> at least the routes are working, but gen() produces broken links 13:52 < eremit> ahhhhhhh .... im stupid ... most likely :PPP 13:52 < eremit> i cannot use gen('AdminUserList') i'll have to use Admin.User.List ... correct? 13:53 < Wombert> of course 13:53 < eremit> i understood it yesterday the way . is replaced by the parentroute ... 13:53 < eremit> and not the parent is inserted in front of the dot 14:00 < CIA-6> david * r953 /trunk/ (3 files in 3 dirs): cleaned up the mess I left behind in [952] 14:03 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 14:03 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/953 : Changeset [953]: cleaned up the mess I left behind in [952] 14:04 < eremit> is it possible to add pattern modifiers to routing patterns ? 14:05 < eremit> like in ##i 14:05 < Wombert> no, you can use internal options for that 14:05 < Wombert> http://de3.php.net/manual/en/reference.pcre.pattern.syntax.php 14:06 < eremit> ah didn't knew this works in php .. tyvm 14:06 < Wombert> 14:15 < digitarald> btw ... what does the 'imply' and 'cut' attributes does ;) 14:37 -!- raidman|Away [n=raidman@unaffiliated/raidman] has quit [Read error: 54 (Connection reset by peer)] 15:25 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 15:45 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 16:18 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 16:18 < digitarald> back at work ... full of finest hamburger 16:22 < v-dogg> a global exploitative burger from McDonalds? 16:23 < v-dogg> a burger with a nice aftertaste of hacked rain forest and underpaid empoyees?-) 16:23 < eremit> lol 16:23 < Wombert> nah 16:23 < Wombert> that would have been burger king ;) 16:24 < v-dogg> ;D 16:30 < digitarald> no ... spanish burger ... home made ... great ... delicious 16:32 < Wombert> I remember when I was young 16:33 < digitarald> i need an idea for propel ... again ;) 16:33 < Wombert> like... dunno... maybe six or eight or... 16:33 < Wombert> well anyways 16:33 < Wombert> we always rented a villa in denia 16:33 < Wombert> and then in the evening 16:33 < Wombert> we made ourselves gorgeous sandwiches 16:33 < Wombert> and went to sit on the root deck 16:33 < Wombert> that was great 16:34 < digitarald> alicante ... very nice their 16:34 < Wombert> yeah! 16:34 < Wombert> exactly 16:35 < digitarald> just a stone's throw away from here ... over the mediterranean 16:35 < Wombert> yeah 16:35 < Wombert> in the night 16:36 < Wombert> you could actually see the lights of ibiza 16:36 < Wombert> it's not too far away 16:37 < Wombert> with binoculars, of course ;) 16:39 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 16:41 < v-dogg> a url or an url? 16:41 < v-dogg> I'd put my money on 'a' 16:41 < Wombert> good question, isn't it 16:41 < Wombert> the rule is "an" in front of "aeiou" 16:41 < Wombert> but I guess you're right 16:41 < Wombert> that's in the manual, isn't it 16:42 < v-dogg> no, I'm writing phpdocs for webro 16:42 < v-dogg> (WebRouting :) 16:42 < CIA-6> david * r954 /trunk/docs/docbook/cookbook.xml: typo fix 16:42 < Wombert> should I implement that argv handling thing? 16:43 * Wombert pokes jake 16:43 < v-dogg> I'll have time to do that tomorrow earliest 16:45 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 16:45 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/954 : Changeset [954]: typo fix 16:45 < v-dogg> but say "hoblaa" before you start doing it, if you're about to 16:46 < v-dogg> I'll commit these phpdocs before that 16:46 < Wombert> T minus a couple of minutes until "hoblaa" 16:46 < v-dogg> roger 16:52 < v-dogg> oh, crap my working copy was outdated :D 16:53 < v-dogg> uh.. I'll sort it out later. 16:53 < v-dogg> Wombert: go ahead and do your thing 16:53 < Wombert> no rush 16:53 < Wombert> I've changed my plans 16:53 < Wombert> "hoblaa"'s been pushed back a bit 16:53 < Wombert> cooking lunch now ;) 16:54 < v-dogg> but I also have to go cook diner 16:54 < v-dogg> bro and his girl friend are comming over 16:55 < digitarald> question: i select words, every word has 3 translations, in a second table. i want to select all words including their translations ... what is the proper propel select? 17:24 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:49 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:54 < CIA-6> v-dogg * r955 /trunk/src/routing/AgaviWebRouting.class.php: phpdoc embellishments and stubs for IIS parsing methods. 17:54 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 17:54 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/955 : Changeset [955]: phpdoc embellishments and stubs for IIS parsing methods. 18:02 -!- Wombert_ [n=Wombert@dslb-088-064-007-185.pools.arcor-ip.net] has joined #agavi 18:02 -!- Wombert [n=Wombert@dslb-088-064-009-134.pools.arcor-ip.net] has quit [Nick collision from services.] 18:02 -!- Wombert_ is now known as Wombert 18:02 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 18:13 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 18:18 -!- AgaviBot [n=dzuelke@dslb-088-064-009-134.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:19 -!- AgaviBot [n=dzuelke@dslb-088-064-007-185.pools.arcor-ip.net] has joined #agavi 19:00 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 19:02 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has joined #agavi 19:04 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has quit [Remote closed the connection] 19:15 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has joined #agavi 19:44 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has quit ["unset($this);"] 21:04 < jake> *yawn* 21:05 < Wombert> haha 21:05 < Wombert> I just found out 21:05 < Wombert> symfony is illegal! 21:05 < Wombert> good morning, jake 21:05 < Wombert> it's 8pm here ;) 21:06 < jake> ahh, heh. It's 11am here. 21:06 < jake> Why is symfony illegal? 21:06 < Wombert> it's based on mojavi3 21:06 < Wombert> and includes propel 21:06 < Wombert> both licensed as LGPL 21:06 < Wombert> however, symfony is licensed as public domain 21:06 < Wombert> the LGPL doesn't allow that 21:07 < Wombert> therefor, they don't have a license to 21:07 < Wombert> a) include propel 21:07 < Wombert> b) derive work from mojavi 21:07 < Wombert> that also means that all current installations of symfony are illegal... 21:08 < jake> yeah. Well, not 'illegal' but in violation of the license, yes 21:08 < Wombert> yeah but that makes them illegal 21:08 < Wombert> because the LGPL clearly forbids using LGPLed work without adhering to the license 21:09 < Wombert> anyways 21:09 < Wombert> maybe I should email fabien and tell him about it :p 21:09 < Wombert> or write a blog posting bashing symfony and their license 21:09 < jake> I understand the LGPL/GPL, but in the US copyright issues are complex enough that it's actually difficult to be 'illegal'. I would email Fabien though. 21:09 * Wombert ponders 21:09 < Wombert> yeah ;) will 21:09 < jake> I would email Fabien, and then bash his response via a blog :) 21:10 < Wombert> that was actually more of a joke ;) clearly, emailing him first is the better option 21:13 < Wombert> jake: did you have a look at the agavi manuals yet 21:18 < jake> no, I haven't read the backlog from this morning yet. What's the URL? 21:19 < Wombert> uh 21:19 < Wombert> well there's not really a URL ;) 21:19 < Wombert> it's three docbook files in the repository 21:19 < Wombert> do you have eclipse or something else ( http://www.xmlmind.com/xmleditor/ ) to view docbooks? 21:19 < Wombert> if not I could quickly generate html versions and upload them somewhere 21:28 -!- shoan [n=shoan@59.92.157.98] has joined #agavi 21:34 -!- shoan [n=shoan@59.92.157.98] has quit [] 21:39 < jake> I have a docbook -> pdf tool 21:39 < jake> I'll just run that 21:40 < Wombert> cool :) 21:40 < Wombert> they're in docs/ 21:40 < Wombert> main questions: 21:40 < Wombert> a) do you think the structure is reasonable 21:40 < Wombert> b) forgot what the other question was xD 21:41 < jake> heh 21:43 < Wombert> the intro manual is for... people like you ;) 21:44 < Wombert> you find the framework, you wonder whether or not it would suit your needs, but you can't be arsed to watch 400 screencasts that don't tell you anything, or read lengthy tutorials that don't cover the "inner workings", or read the code before you get an idea of what it's like 21:45 < Wombert> so it contains no or next to no code and samples, but explains the architecture, "philosophy", some examples of what it would be capable of, and maybe a list of things that set it apart from other frameworks 21:46 < Wombert> the guide is the "main" manual, it explains the framework and how to use it from A to Z 21:46 < Wombert> and the cookbook contains best practices, useful solutions to common problems, all that stuff 22:12 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has joined #agavi 22:41 < v-dogg> heh, go symfony go :) 22:41 < v-dogg> though, as pointed out, illegal is probably a wrong term 22:41 < Wombert> sure? 22:42 < Wombert> at least they're not allowed to build on mojavi 22:42 < Wombert> and yet they did, and released it 22:42 < Wombert> and that's not legal, because the license doesn't allow it 22:42 < Wombert> so... it's illegal 22:42 < Wombert> isn't it? ;) 22:43 < v-dogg> but illegal is against the law, that's just a against the copyright/license 22:43 < benny`work> Wombert, whats the problem? 22:43 < v-dogg> just a matter of terminology (and I'm no expert here :) 22:44 < Wombert> http://en.wiktionary.org/wiki/illegal #2 ;) 22:44 < Wombert> benny`work: symfony is licensed as public domain 22:44 < v-dogg> why would they do that anyway? why not lgpl? 22:45 < Wombert> because it's "cool"? 22:45 < Wombert> no idea 22:45 < benny`work> pd not compatible with license of mojavi? 22:45 < Wombert> yeah 22:45 < Wombert> mojavi is LGPL 22:45 < benny`work> hehe...haha ^^ 22:45 < Wombert> any derived work must be LGPL or GPLed then 22:45 < v-dogg> I understand that gpl is not suitable for frameworks (and it's problematic in many other cases as well) 22:45 < CIA-6> dominik * r956 /trunk/src/ (5 files in 4 dirs): request method for validation and routing (untested) 22:45 < benny`work> sure 22:46 < v-dogg> go dominik go :) 22:46 < Wombert> gpl only makes sense in very few, specific situations 22:46 < v-dogg> yep 22:46 < Wombert> he did go, yeah ;) left for some clubbing or something 22:46 < v-dogg> but: telly -> 22:46 < Wombert> kk 22:47 < v-dogg> and maybe one more beer :)~ 22:47 * Wombert ran out of beer 22:47 < Wombert> :< 22:48 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 22:48 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/956 : Changeset [956]: request method for validation and routing (untested) 22:51 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:56 < CIA-6> david * r957 /trunk/src/config/ (3 files): be a bit more liberal about multiple spaces separating attribute values 22:56 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 22:56 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/957 : Changeset [957]: be a bit more liberal about multiple spaces separating attribute values --- Day changed Sat Aug 12 2006 00:36 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 00:48 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:41 -!- jake [n=jake@gg.internal.mixxer.com] has quit [Read error: 104 (Connection reset by peer)] 01:41 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 02:07 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has joined #agavi 02:08 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has left #agavi [] 03:00 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 03:00 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=354#p354 : New post in Support : Real Investing Opportunity! 03:10 -!- Wombert [n=Wombert@dslb-088-064-007-185.pools.arcor-ip.net] has quit [] 03:25 -!- benny`work [n=benny@p54AC3828.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:28 -!- AgaviBot [n=dzuelke@dslb-088-064-007-185.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 03:34 -!- Macca [n=brendanm@maccasoft.com.au] has joined #agavi 03:46 -!- jake [n=jake@gg.internal.mixxer.com] has quit ["Leaving"] 03:49 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 03:54 -!- Macca [n=brendanm@maccasoft.com.au] has quit ["Leaving"] 03:56 -!- Macca [n=brendanm@maccasoft.com.au] has joined #agavi 04:00 -!- Macca [n=brendanm@maccasoft.com.au] has quit [Client Quit] 04:10 -!- Macca [n=brendanm@maccasoft.com.au] has joined #agavi 04:14 -!- Macca [n=brendanm@maccasoft.com.au] has quit [Client Quit] 04:14 -!- [1]eremit [n=eremit@p5490E0B5.dip.t-dialin.net] has joined #agavi 04:29 -!- eremit [n=eremit@p5490F9D8.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:29 -!- [1]eremit is now known as eremit 07:03 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 07:03 < Macca> dammit 07:03 < Macca> i forgot how to install agavi! 07:04 < Macca> nevermind 07:04 < Macca> i'll sort it out 07:18 < Macca> yay got it back 07:19 < Macca> now i'm only .. 2 weeks behind 07:19 < Macca> schedule :( 07:56 -!- Macca [i=brendanm@maccasoft.com.au] has quit ["Leaving"] 08:54 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit [Read error: 60 (Operation timed out)] 09:59 -!- Wombert [n=Wombert@dslb-088-064-007-185.pools.arcor-ip.net] has joined #agavi 10:23 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 10:24 < v-dogg> mornink 10:24 < Wombert> hi 10:24 < Wombert> 'sup with your bouncer? 10:25 < Wombert> you're using a bouncer, right? 10:25 < v-dogg> no, its my home server 10:25 < Wombert> oh 10:26 < v-dogg> well, server might be an overstatement :) 10:26 < v-dogg> a linux box that I keep always on 10:28 < Wombert> yeah 10:28 < v-dogg> adsl connection had broke down 10:28 < v-dogg> it came back when I rebooted the modem 10:30 < ttj> v-dogg: Could you suggest a good wok-place or something in Turku? :-) 10:30 < v-dogg> it's quite handy to be able to connect to your home box with ssh 10:30 < v-dogg> hmm.. wok.. 10:31 < v-dogg> no, not really 10:31 < ttj> Ok, thanks anyway. :-) 10:32 < v-dogg> are you comming here for some wok?-) 10:32 -!- AgaviBot [n=dzuelke@dslb-088-064-007-185.pools.arcor-ip.net] has joined #agavi 10:43 < v-dogg> Wombert: http://www.norvig.com/pal2txt.html 10:48 < Wombert> oO 10:51 < Wombert> http://www.arraystudio.com/as-workshop/mysql-get-total-number-of-rows-when-using-limit.html 11:01 -!- eremit [n=eremit@p5490E0B5.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"] 11:02 -!- eremit [n=eremit@p5490E0B5.dip.t-dialin.net] has joined #agavi 13:03 -!- benny`work [n=benny@p54AC27A1.dip0.t-ipconnect.de] has joined #agavi 14:22 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 14:58 -!- raidman|Work is now known as raidman|Lovely 14:59 -!- raidman|Lovely is now known as raidman|Work 15:05 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 15:05 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=356#p356 : New post in Support : Best Cum Shot & Big Dick gallery Look now! 15:05 < AgaviBot> 2) http://forum.agavi.org/viewtopic.php?pid=355#p355 : New post in Support : agavi project : Target does not exist in this project 15:14 -!- noeldc [n=noel_da_@bb-87-82-4-45.ukonline.co.uk] has joined #agavi 15:14 < v-dogg> good day noeldc 15:15 < noeldc> hi v-dogg 15:15 < v-dogg> I was just about to answer your post 15:15 < noeldc> so i'm not the only coder working on a Saturday! :0) 15:15 < v-dogg> but this is all so much easier now that you are here :) 15:15 < noeldc> gr8... i thought the chances of my post being answered on a Saturday were slim... so #agavi was my last ditch attempt 15:16 < v-dogg> first, I presume you have installed the 0.10 pear package? 15:17 < noeldc> svn co svn://svn.agavi.org/agavi/tags/0.10.2a agavi 15:17 < noeldc> is what I used 15:17 < v-dogg> we are just about to release the first beta of 0.11 and a lot have changed since 0.10 15:17 < Wombert> I recommend you start with 0,11 right away, noeldc 15:17 < Wombert> 0.10 is pretty much outdated 15:17 < noeldc> aha.. ok 15:18 < noeldc> what's the svn for that then? 15:18 < Wombert> trunk :) 15:18 < v-dogg> svn co svn://svn.agavi.org/agavi/trunk agavi 15:18 < noeldc> okidoki... lemme install quick 15:18 < Wombert> 0.11 is a lot more flexible ;) 15:18 < Wombert> !seen noeldc 15:18 < AgaviBot> Wombert: noeldc is online right now, last message on Sat Aug 12 14:18:26 2006 saying "okidoki... lemme install quick" (joined Sat Aug 12 14:14:51 2006) 15:18 < Wombert> !info 15:18 < 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:18 < v-dogg> show off ;) 15:19 < noeldc> hehe 15:20 < noeldc> ok... how do I check agavi version? 15:20 < Wombert> trunk is the latest 15:20 < noeldc> when I do agavi -v... i get Phing Version 2.2.0RC2 15:20 < noeldc> ok 15:20 < Wombert> I believe "agavi info" shows the version, not sure though 15:20 < v-dogg> version.php or if you are the latest version "agavi help" 15:20 < Wombert> ah 15:20 < Wombert> yeah 15:21 < noeldc> whenever I type "agavi ", I get "BUILD FAILED" 15:21 < v-dogg> how did you install agavi? 15:22 < Wombert> he did a checkout, I guess 15:22 < v-dogg> sure but after that 15:22 < noeldc> i first tried using pear install... but that didn't include the build.xml file 15:22 < noeldc> then I tried with --alldep... that failed 15:22 < Wombert> copy agavi-dist to agavi, and edit it so AGAVI_INSTALLATION points to your agavi/src (!) folder 15:22 < noeldc> then checkout... and that's as far as I've got 15:23 < noeldc> ooooh... again plz... in English :0) 15:23 < Wombert> make sure the first thing you do right now is "pear uninstall agavi/agavi" 15:23 < v-dogg> and then stop using pear altogether ;) 15:24 < noeldc> ok.. but that has removed my agavi folder where I did the checkout into 15:24 < Wombert> ah 15:24 < Wombert> yeah 15:24 < Wombert> first, throw the pear verison away 15:24 < noeldc> done 15:24 < Wombert> then checkout from svn to a folder you like ;) 15:24 < Wombert> it doesn't have to be in your include path or anything 15:25 < Wombert> agavi will figure everything out 15:26 < noeldc> ok.. /usr/share/agavi now exists containing trunk 15:26 < Wombert> good 15:26 < Wombert> copy agavi/etc/agavi-dist to a location you like 15:26 < Wombert> maybe your home dir 15:26 < Wombert> rename it to "agavi" 15:26 < noeldc> not to html docroot? 15:26 < Wombert> then edit it so AGAVI_INSTALLATION points to /usr/share/agavi/src 15:26 < Wombert> no 15:27 < Wombert> that's just the helper script that will create a project for you and such 15:27 < noeldc> what is the function of the agavi/etc/agavi-dist folder?... just so I can select a relevant location on the server for it 15:27 < noeldc> oh... so it's the helper script 15:29 < noeldc> can it stay in agavi/etc/agavi-dist ? 15:29 < v-dogg> sure but it's easier if that's on your PATH 15:29 < noeldc> oh.. wait.. i c the point... so that I can update from SVN without overwriting the config 15:29 < Wombert> yes 15:30 < Wombert> that's why it's called -dist ;) 15:30 < Wombert> I would leave agavi as it is there 15:30 < Wombert> just copy the script to your home dir or so 15:30 < Wombert> and edit it as described above 15:30 < Wombert> then, you're good to go 15:30 < Wombert> let me know when you're ready 15:32 < noeldc> ready 15:32 < Wombert> good 15:32 < Wombert> where do you want to create your project 15:32 < Wombert> in the docroot? 15:32 < Wombert> either way, go to the directory where you want it 15:33 < noeldc> ok 15:33 < Wombert> you'll have to change the docroot anyway 15:33 < Wombert> once you're there, all you have to do is enter 15:33 < Wombert> agavi project 15:33 < Wombert> and follow the instructions ;) 15:33 < Wombert> that is, hit enter each time you're being asked to enter something 15:33 < Wombert> the defaults are pretty good 15:33 < Wombert> tell me when that's done 15:36 < noeldc> hmm.. getting errors: 15:36 < noeldc> -bash: /usr/bin/agavi: is a directory 15:37 < v-dogg> pear installation still causing trouble there? 15:37 < Wombert> well :p 15:37 < Wombert> yeah 15:37 < Wombert> apparently 15:37 < Wombert> something's wrong 15:37 < Wombert> but why is /usr/bin/agavi a directory? oO 15:37 < Wombert> what's in there 15:38 < Wombert> v-dogg: I'll have a coffee and then sit down and work on this routing stuff 15:38 < Wombert> I wanted to do it yesterday but I couldn't be arsed 15:38 < Wombert> sooo annoying 15:39 < v-dogg> I'm working on my bachelor paper 15:39 < noeldc> ok.. first I checked out to /usr/share/agavi, then copied etc/agavi-dist to /home... when I ran agavi project, I got an error saying that /usr/bin/agavi didn't exist... so I tried mv /usr/share/agavi /usr/bin/agavi... an then the error changed to "is a directory" 15:39 < v-dogg> having some difficulties organizing it neatly 15:40 < Wombert> noeldc: undo that move operation 15:40 < Wombert> move it back to /usr/share/agavi 15:40 < Wombert> it seems that your home dir isn't in the PATH 15:40 < Wombert> either set it up so it is ;) 15:41 < Wombert> or copy agavi-dist to /usr/bin instead of /home 15:41 < v-dogg> find / -name agavi 15:41 < Wombert> v-dogg: nah ;) 15:41 < Wombert> let's not confuse him too much 15:42 < noeldc> running find on root will take a year man 15:42 < Wombert> noeldc: not necessary 15:42 < Wombert> just follow my instructions ;) 15:42 < noeldc> ok.. there it is /usr/share/agavi 15:42 < Wombert> move the agavi folder back to where it was 15:42 < Wombert> okay good 15:42 < Wombert> you copied agavi-dist to ~/agavi earlier 15:42 < Wombert> move it to /usr/bin 15:43 < Wombert> mv ~/agavi /usr/bin/agavi 15:43 < noeldc> i've got it as /usr/bin/agavi-dist 15:44 < Wombert> the idea was to rename it to "agavi" ;) 15:44 < Wombert> maybe that was the problem earlier 15:44 < Wombert> are you new to unix? ;) 15:44 < noeldc> aha.. ok.. done 15:44 < Wombert> good 15:44 < Wombert> and did you edit it, too? 15:45 < noeldc> fairly... i know the commands, but builds and sys admin are still a bit of a mystery 15:45 < noeldc> export AGAVI_INSTALLATION="/usr/share/agavi/" 15:45 < Wombert> no 15:45 < Wombert> export AGAVI_INSTALLATION="/usr/share/agavi/src" 15:46 < v-dogg> "The hallmark of MVC doesn.t work on the web unless you hack some kind of client side refresh mechanism for check for updates." (http://www.sitepoint.com/blogs/2005/12/22/mvc-and-web-apps-oil-and-water/) 15:46 < noeldc> aha! 15:46 < v-dogg> agree?.) 15:46 < Wombert> v-dogg: yes 15:46 < Wombert> MVC per se is not suited for the web 15:46 < Wombert> the main reason why it became popular is because it separates layers 15:47 < Wombert> noeldc: now "agavi help" should bring up the help screen 15:47 < Wombert> does that work? 15:47 < noeldc> well.. i've just run agavi project.. and it's not failing.. so must be working :) 15:48 < Wombert> cool 15:48 < Wombert> next thing; 15:48 < Wombert> chmod a+rwx app/cache 15:48 < Wombert> once that's done, fire up the project in your browser... you have to point it to the "pub" directory 15:48 < v-dogg> you can interpret MVC in many ways, there is no standard definition. agavi has a pretty clean Model-View-Controller separation 15:50 < noeldc> new folder structure i c 15:50 < Wombert> noeldc: if everythign went fine, you should see a blank page 15:51 < noeldc> oddly.. my browser is not seeing the folders that agavi project created 15:51 < Wombert> you're accessing it via http://localhost/, right? 15:51 < Wombert> is the project dir inside your docroot 15:51 < noeldc> yes 15:52 < noeldc> I can browse to the project dir... but the index is coming up empty in the browser... although ls reveals 3 folders 15:52 < noeldc> app pub tests 15:52 < Wombert> right 15:52 < Wombert> if you click "pub", you get an empty page? 15:52 < Wombert> perfect 15:52 < Wombert> then everything is okay 15:52 < Wombert> now go to app/modules/Default/templates/IndexSuccess.php 15:52 < v-dogg> we aim for blankness :) 15:52 < Wombert> and type "Hello World" in there 15:52 < Wombert> save 15:52 < Wombert> reload 15:52 < noeldc> no... hang ten.. u misunderstand - pub is not being listed in the browser index... the project folder appears empty to the browser 15:53 < noeldc> although if I ls via putty, the 3 folders are actually there 15:53 < Wombert> permissions problem? 15:53 < noeldc> drwxrwxrwx 5 root root 4096 Aug 12 13:50 . 15:53 < noeldc> drwxrwxrwx 3 root root 4096 Aug 12 13:08 .. 15:53 < noeldc> drwxr-xr-x 8 root root 4096 Aug 12 13:50 app 15:53 < noeldc> drwxr-xr-x 3 root root 4096 Aug 12 13:50 pub 15:53 < noeldc> drwxr-xr-x 4 root root 4096 Aug 12 13:50 tests 15:53 < Wombert> or the docroot isn't set to what you thing it is ;) 15:53 < Wombert> s/thing/think 15:53 < noeldc> it is.. because I have an index page 1 folder up and can browse to it 15:54 < noeldc> odd 15:54 < noeldc> perms 15:58 < noeldc> ok.. well, it seems I now have an apache problem to solve :-/ 15:59 < Wombert> try an apache restart first 15:59 < noeldc> because only one of the folders in my docroot is browsable... and nothing else... just tried apachectl -k graceful... same deal 16:00 < noeldc> haha.. got it.. my bad 16:05 < noeldc> ok.. I'm getting the blank page now in /pub :) 16:05 < noeldc> but 'Hello World' doesn't seem to be working 16:07 < noeldc> i still get a blank page after editing app/modules/Default/templates/IndexSuccess.php 16:08 < v-dogg> noeldc: what webserver do you use and how is your php installed (Apache with php as a module or CGI? 16:10 < noeldc> apache: LoadModule php5_module modules/libphp5.so 16:10 < noeldc> Apache 2.0 16:11 < v-dogg> ok 16:12 < v-dogg> and you are calling localhost/pub/index.php? 16:14 < noeldc> yes 16:14 < Wombert> maybe php errors you can't see 16:15 < Wombert> edit app/config.php and add 16:15 < Wombert> display_errors(true); 16:15 < v-dogg> can put just some echo "foo" into index.php to see that it gets executed? 16:15 < Wombert> error_reporting(E_ALL); 16:15 < Wombert> oh wait 16:15 < Wombert> ini_set('display_errors', true); 16:16 < noeldc> the error stuff is in... still a blank page.. will try echo in index.php now 16:18 < noeldc> AAARGH.. hate vi! ;) 16:18 < Wombert> you didn't save? ;) 16:19 < noeldc> nah... it just froze on me... I must've hit a special secret ctrl character... always happens to me 16:19 < noeldc> splutter fingers 16:19 < Wombert> www.apple.com/getamac :) 16:19 < noeldc> ... got a mac.. but winscp is the killer app and can't live without it :-/ 16:20 < v-dogg> noeldc: did you hit Ctrl-S? 16:20 < noeldc> yes 16:20 < noeldc> i'm sure that was it 16:20 < v-dogg> Ctrl-Q will save you 16:20 < noeldc> wtf is ctrl-S for anyhow.. doesn't seem to do anything !! 16:21 < Wombert> noeldc: http://cyberduck.ch/ 16:21 < v-dogg> it frozes screen (are you using it?) 16:22 < v-dogg> Wombert: when you have time, read this: http://www.sitepoint.com/blogs/2005/12/22/mvc-and-web-apps-oil-and-water/ 16:22 < Wombert> noeldc: and, of course, http://www.macromates.com/ 16:22 < Wombert> v-dogg: and then? 16:22 < v-dogg> tell me what you think :) 16:22 < Wombert> sure 16:22 < noeldc> ok.. echo 'test' worked in index.php 16:22 < Wombert> hey I could tell you what I think and you quote me as an "expert" in your paper 16:22 < Wombert> hahaha 16:22 < Wombert> :> 16:23 < v-dogg> sure :) 16:24 < Wombert> noeldc: something's seriously wrong with your environment :| 16:24 < Wombert> where did you put the echo 'test'; 16:24 < Wombert> move it down, retry, move it down, retry and so on 16:24 < Wombert> until you found the line that causes the problem 16:25 < noeldc> ok 16:26 < v-dogg> I really should write my paper in English so you all could then tell me how wrong I was :) 16:26 < noeldc> it's dying here: require_once('../app/config.php'); 16:27 < v-dogg> getting the error message would really help 16:27 < Wombert> yeah I thought that would be the problem 16:27 < Wombert> noeldc: change your php.ini 16:27 < Wombert> enable display_errors 16:27 < Wombert> and set error_reporting to E_ALL 16:28 < Wombert> or, better, E_ALL | E_STRICT 16:33 < Wombert> noeldc: you making any progress? :) 16:35 < noeldc> I've done the above changes to php.ini... still blank 16:35 < Wombert> did you restart apache? 16:35 < noeldc> yes 16:35 < noeldc> then I took this out of config.php: 16:35 < noeldc> init_set('display_errors',true); 16:35 < noeldc> error_reporting(E_ALL); 16:36 < Wombert> put these two lines into index.php 16:36 < noeldc> and my die('test'); came up... so there must be a syntax error in the above 16:36 < Wombert> ini_set 16:37 < noeldc> before I do... my php syntax checker is tagging an error in index.php with this line: 16:37 < noeldc> AgaviContext::getInstance('web')->getController()->dispatch(); 16:37 < Wombert> nothing wrong there 16:37 < noeldc> ok.. just realized it's set to PHP4 16:37 < Wombert> guess that's a php4 syntax checker then 16:38 < noeldc> so index.php is dying on this line now: Agavi::bootstrap('development'); 16:39 < Wombert> are you seeing errors now at least? 16:39 < noeldc> Fatal error: Class 'DOMDocument' not found in /usr/share/agavi/src/config/AgaviXmlConfigParser.class.php on line 88 16:39 < Wombert> uuuuh 16:39 < Wombert> you need php with the default extensions 16:40 < Wombert> dom, spl and reflection are required 16:40 < Wombert> they are enabled by default 16:40 < Wombert> is that ubuntu or some other stupid distro where everything is disabled? 16:40 < Wombert> nah that wasn't ubuntu 16:40 < noeldc> wow... i have no idea what that means.. this is Linux Core 4 16:40 < Wombert> which was that 16:40 < Wombert> oO 16:40 < Wombert> fedora core? 16:40 < noeldc> yep 16:41 < Wombert> right 16:41 < noeldc> soz... that's what i meant ;) 16:41 < Wombert> well it seems to me that most linux distro "developers" are stupid morons 16:41 < Wombert> don't take it personally 16:41 < noeldc> lol 16:41 < Wombert> but if PHP enables certain extensions as default 16:41 < Wombert> ... 16:41 < Wombert> what in the name of god makes them disable it 16:42 < Wombert> right, the know better... 16:42 < noeldc> security? 16:42 < Wombert> no 16:42 < Wombert> that's not a security thing 16:42 < Wombert> see, this is why I think linux is a pile of crap except for servers, and then only in the hands of skilled admins 16:42 < Wombert> but... anyways 16:42 < Wombert> have fun re-compiling php now ;) 16:43 < noeldc> please don't say that 16:43 < noeldc> is it not just a php.ini setting? 16:43 < Wombert> I don't think so 16:43 < Wombert> you could try to enable the dom extension 16:43 < noeldc> oO 16:43 < Wombert> maybe you're lucky 16:43 < Wombert> but usually, it's compiled in 16:43 < v-dogg> you might get some extensions using the package manager (no idea what that is in Fedora) 16:45 < noeldc> right... i'll have to defer that to my company's sys admin... i'm just a humble PHP programmer... the idea of compiling makes my colon jump 16:46 < Wombert> sorry :( 16:46 < noeldc> : ..^.. : 16:46 < Wombert> please understand that these are not agavi issues 16:46 < Wombert> it's just really, really bad luck in your case 16:46 < v-dogg> noeldc: do you have access to a windows box there? 16:46 < noeldc> yes 16:47 < noeldc> and a mac 16:47 < noeldc> and a linux box 16:47 < noeldc> or 6 16:47 < v-dogg> installing php (including those extensions) for a win is basically just unzipping one zip-package 16:48 < Wombert> I can help you with installing it on themac if you like 16:49 < noeldc> only problem is my mac is currently set up with php4 16:49 < Wombert> no problem ;) 16:50 < Wombert> http://www.entropy.ch/software/macosx/php/ 16:50 < Wombert> install that 16:50 < Wombert> 5.1.4 is fine 16:50 < Wombert> use the apache 1.3 version 16:50 < Wombert> it will use the apache server that is included with os x 16:50 < noeldc> i'm running apache 2.0 on my mac 16:50 < Wombert> oh 16:50 < Wombert> well then... 16:50 < Wombert> :) 16:50 < Wombert> download the apache2 version? ;) 16:50 < noeldc> and not too keen on losing php4... can u run both? 16:51 < Wombert> I think so, yes 16:51 < noeldc> and u just change httpd.conf to switch - presumably? 16:52 < v-dogg> that's the way it's done on windows 16:53 < Wombert> no, you can install them in parallel in apache2 16:53 < Wombert> in fact, that was possible with apache1, too 16:53 < Wombert> one as module, the other one as cgi or so 16:53 < Wombert> http://www.mamp.info/ 16:53 < Wombert> another option 16:54 < noeldc> mmmm... that one looks tasty... reminds me of xampp 16:54 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 16:54 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=357#p357 : New post in Support : sorry 16:55 < v-dogg> we have to do something to those spammers... 16:55 < v-dogg> kill kill kill 16:55 < Wombert> yes 16:55 < Wombert> chop their heads off 16:55 < v-dogg> axe axe axe 17:08 < CIA-6> david * r958 /trunk/docs/docbook/manual.xml: added 'prerequisites' section to the introduction chapter 17:11 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 17:11 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/958 : Changeset [958]: added 'prerequisites' section to the introduction chapter 17:33 < Wombert> bbl 18:09 -!- Wombert_ [n=Wombert@dslb-088-064-017-140.pools.arcor-ip.net] has joined #agavi 18:09 -!- Wombert [n=Wombert@dslb-088-064-007-185.pools.arcor-ip.net] has quit [Nick collision from services.] 18:09 -!- Wombert_ is now known as Wombert 18:16 < noeldc> hullo 18:16 < noeldc> i've now installed MAMP and agavi on me mac.. on agavi project, I'm getting this error /usr/bin/agavi: line32: phing: command not found 18:16 < noeldc> any clues? 18:17 < eremit> you havn't installed phing .. 18:17 < noeldc> aha.. that would explain it.. and previously pear installed it as part of the agavi install 18:17 < noeldc> so I need to install agavi via pear, then delete, then re-install from svn 18:19 -!- AgaviBot [n=dzuelke@dslb-088-064-007-185.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:22 < v-dogg> noeldc: no need to do that 18:22 < v-dogg> just install phing separately 18:22 < v-dogg> either via pear or manually 18:22 < noeldc> ok 18:22 < v-dogg> it's actually pretty simple because you just have to download it and set the path to agavi script 18:22 < v-dogg> no other installation needed 18:40 < v-dogg> noeldc: any luck? 18:41 < noeldc> well now.. can't seem to find how to install phing 18:41 < noeldc> :-/ 18:41 < noeldc> pear install phing failed... probably due to channels 18:41 < v-dogg> http://phing.tigris.org/files/documents/995/32812/phing-2.2.0RC3.zip 18:41 < noeldc> so I tried pear install --alldeps agavi/agavi which also failed 18:42 < noeldc> but which updated the phing channel... then I tried pear install phing again... and it's taking forever to download PhpDocumentor 18:42 < v-dogg> probably because pear doesn't auto-discover additional channels 18:42 < v-dogg> :) 18:43 < v-dogg> downloading and unziping would have been a bit easier :) 18:44 < noeldc> where would I unzip it to? 18:44 < v-dogg> but now you'll get everything and they are in your PATH and include_path straight away 18:44 < v-dogg> it doesn't matter really. just anywhere and put the path to the agavi script 18:44 < noeldc> ok.. if it ever finished :-S 18:45 < noeldc> I'm going to change my job title to PHP Waiter... cause that's all I seem to do.. stare at progress bars. 18:45 < v-dogg> if you installed phing via pear, there's no need to change agavi script 18:46 < noeldc> not bad money for staring at a progress bar I guess :D 18:46 < v-dogg> and if just want to have a look at agavi in action, check out the sample app 18:46 < v-dogg> you don't need phing for that 18:46 < noeldc> do i just copy it to my htdocs? 18:47 < noeldc> the sample app that is 18:47 < v-dogg> copy samples/pub/index.php to htdocs and correct the paths in it (two of them) 18:49 < noeldc> Do u know how to install phing via pear? I 18:49 < noeldc> 'm getting "no valid packages found" 18:50 < v-dogg> http://phing.info/trac/wiki/Users/Download 18:50 < v-dogg> but really, you don't have to install it via pear 18:52 < noeldc> ok.. phing via pear is still failing even with instructions from that page... so manually it will have to be 18:53 < v-dogg> gotta go, hope you'll get it working 18:53 < noeldc> where should I unzip it to? /usr/bin/phing ? 18:53 < v-dogg> doesn't matter, anywhere you like and then set the correct path to agavi script 18:54 < noeldc> set the path in which file? 18:54 < noeldc> lol... soz.. i know u need to go :) 18:54 < v-dogg> agavi-dist that you have copied somewhere and renamed "agavi" (commonly know as The Agavi Script) 18:54 < noeldc> ok.. gotcha 18:54 < noeldc> thx 18:54 < v-dogg> np 19:02 < noeldc> egzats!.. nogo man.. this is frustrating... but I get the feeling i'm alone in this room now 19:32 -!- noeldc [n=noel_da_@bb-87-82-4-45.ukonline.co.uk] has quit [] 19:42 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit ["#killall raidman"] 20:08 < v-dogg> wonder what was the problem there 20:10 < v-dogg> other that non-orthodox enviroments, our lack of documentation and maybe some lack of experience :) 20:14 < ttj> v-dogg: Actually I'm in Salo and I just dropped in Turku to have lunch with a friend I hadn't seen in a while. 20:26 < v-dogg> ok 20:53 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 21:00 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 21:11 < digitarald> bon tarde ... question time, volunteers welcome ;) 21:45 * Wombert yawns 21:45 < Wombert> v-dogg: definitely lack of experience 21:45 < Wombert> he struggled with pear, unix paths, all that stuff 23:18 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 23:41 < v-dogg> hey, ajax-lovers 23:42 < v-dogg> can you show me some Ajax for Javascript Hating Newbies -guide ?-) 23:42 * ttj waves his hand. "You don't need AJAX for anything." 23:44 < v-dogg> that's what I think too *provoke poke* :) 23:51 < Wombert> use prototype 23:52 < v-dogg> googling.. 23:57 < Wombert> download the latest scriptaculous 23:57 < Wombert> it includes prototype-1.5.0something 23:57 < Wombert> http://script.aculo.us/ 23:58 < Wombert> then, read the first paragraphs of http://www.sergiopereira.com/articles/prototype.js.html 23:58 < Wombert> important for you right now is 23:58 < Wombert> a) the $() function 23:58 < Wombert> b) the fact that prototype relies heavily on "proper" javascript usage 23:58 < Wombert> if you think you know javascript... forget it 23:59 < Wombert> I had to "re-learn" it, too 23:59 < Wombert> prototype helps you see the big picture 23:59 < Wombert> and it's a nice picture 23:59 < Wombert> javascript is actually a pretty cool language 23:59 < Wombert> example --- Day changed Sun Aug 13 2006 00:00 < Wombert> document.getElementsByTagName('li').each(function(e) {  e. className = 'wombieZombie'; }); 00:00 < Wombert> that's an anonymous function 00:00 < Wombert> also, this is an array: 00:00 < Wombert> foo[1] 00:00 < Wombert> this isn't: 00:00 < Wombert> foo['bar'] 00:00 < Wombert> you need this: 00:01 < Wombert> foo = { bar: 'hello :)' } 00:01 < Wombert> trust me on this, if you know prototype a bit, you'll have an entirely new POV on javascript, and you'll get to love JS 00:01 < Wombert> mainly because prototype takes a lot of pain out 00:02 < Wombert> another example 00:03 < Wombert> zombies = document.getElementsByTagName('p').find(function(e) { return (e.className == 'wombieZombie'); }); 00:04 < Wombert> I like the array methods of prototype best 00:04 < Wombert> but there are other nice things 00:04 < Wombert> like 00:04 < Wombert> (5).times(function(n) {  alert('wooohooo! number ' + n); }); 00:04 < Wombert> of course, you don't have to use anonymous functions all the time, but that's what you usually do 00:05 < Wombert> you get all the nice stuff 00:05 < Wombert> array.flatten(); 00:05 < Wombert> array.last(); 00:05 < Wombert> you can grep 00:05 < Wombert> check if an element exists 00:05 < Wombert> call methods on each entry 00:05 < Wombert> all that stuff 00:05 < Wombert> it's amazing 00:06 < v-dogg> Wombert is on fire :) 00:06 < Wombert> oh and did I mention ajax is easy ;) 00:06 < Wombert> so easy in fact 00:06 < Wombert> that with teh powers of agavi 00:06 < Wombert> it handles like a charm 00:06 < Wombert> if you use json 00:06 < v-dogg> json 00:06 < v-dogg> ? 00:06 < Wombert> prototype will send Accept: application/x-json or something with each ajax request 00:06 < Wombert> http://en.wikipedia.org/wiki/JSON 00:07 < Wombert> with ajax, you usually have three possibilities 00:07 < v-dogg> ah, that 00:07 < Wombert> 1) return xml, handle it on the client side 00:07 < Wombert> that sucks big time 00:07 < Wombert> 2) return chunks of html you insert into the document 00:07 < Wombert> good for loading new content in etc 00:07 < Wombert> 3) use json 00:07 < Wombert> preferred way if you need to transfer "complex" data 00:07 < Wombert> the nice thing is 00:08 < Wombert> if you send json back in the ajax request 00:08 < Wombert> prototype will automatically parse it and put it in a variable for your callback 00:10 < v-dogg> haha, Try.these() function 00:11 < v-dogg> tells something about javascript implementations :) 00:21 < v-dogg> need to go deeply into that sometime 00:23 < v-dogg> but you can send normal http requests with it and handle them in agavi just like normal requests? 00:33 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 00:43 < Wombert> v-dogg: yes! 00:44 < impl> We're not going to bundle any ajax libraries with Agavi are we? 00:44 < Wombert> no 00:44 < Wombert> no need for that 00:44 < impl> Whew. :D 00:44 < Wombert> morons like the "xajax" developers don't get that 00:44 < Wombert> calling php methods from within the browser 00:45 < Wombert> yeah 00:45 < Wombert> sure 00:45 < Wombert> that's for those idiots that don't understand than an xmlhttprequest isn't _any_ different from a normal request through the browser 00:45 < impl> hehe 00:45 < Wombert> but hey 00:45 < Wombert> it's ajax 00:45 < Wombert> it's cool, I have to use it! 00:46 < Wombert> I mean, I'm one of the guys that posts questions like "how to I open a new window with PHP" to dicussion boards 00:46 < Wombert> BUT 00:46 < Wombert> I have to use ajax 00:46 < Wombert> speaking of which 00:46 < Wombert> yesterday 00:46 < Wombert> or the day before 00:46 < Wombert> cannot remember 00:46 < impl> hehe 00:46 < Wombert> I downloaded and installed Ruby on Rails ;) 00:47 < impl> Egads, why? 00:47 < Wombert> I was just curious 00:47 < Wombert> it was pretty easy actually 00:47 < Wombert> downloaded and installed http://locomotive.raaum.org/ 00:47 < impl> I couldn't stand it when I installed it 00:47 < Wombert> fired up the browser at 127.0.0.1:30000 00:48 < Wombert> it told me "YEAH w0000t YOUR'RE ON RAILS TEH ACE FRAMEWORK FTW!!!!1111" 00:48 < impl> lol 00:48 < Wombert> and then I closed the browser because I couldn't be bothered to learn ruby and... well 00:48 < impl> When you need a 3rd-party application to install another application I think there's something wrong with the original application :) 00:48 < Wombert> nah 00:49 < Wombert> the other option would have been to install ruby by hand 00:49 < Wombert> then install rails via gems 00:49 < Wombert> (I think() 00:49 < Wombert> and setup some other nonsense 00:49 < Wombert> like php, pear, agavi by hand 00:49 < Wombert> didn't want to mess with that 00:49 < impl> I remember not having any problem getting it installed like that on my Linux box 00:49 < impl> Maybe it's harder with OS X 00:49 < Wombert> no 00:49 < Wombert> but I couldn't be arsed 00:50 < Wombert> in fact 00:50 < Wombert> I read the RoR blog... you know, that latest security issue they had? 00:50 < impl> What's that? 00:50 < Wombert> where they wouldn't disclose the vulnerability 00:50 < Wombert> anyways 00:50 < impl> lol... 00:50 < Wombert> I read aobut locomotive there 00:50 < Wombert> and thought "well let's give it a shot" 00:51 < impl> I think the main reason I don't use ruby or python is because I can't stand how they look as languages 00:51 < impl> They're so damn ugly :\ 00:51 < Wombert> aaaaah hey 00:51 < Wombert> python is ugly, yes 00:51 < Wombert> mainly because you create blocks by indent 00:51 < Wombert> haha 00:51 < impl> Yeah :| 00:51 < Wombert> what a moronic language 00:51 < Wombert> anyways 00:52 < Wombert> ruby is really, really cool 00:52 < Wombert> because it's prototyped 00:52 < Wombert> like javascript 00:52 < Wombert> "hello".reverse() 00:52 < Wombert> 10.times() 00:52 < Wombert> all that stuff 00:52 < impl> lol 00:52 < Wombert> I think ruby is an absolutely impressive language 00:52 < Wombert> but 00:52 < impl> I don't like that 00:52 * impl is a C person at heart 00:52 < Wombert> it's written by japs, so all the good documentation is in japanese, which I don't understand 00:53 < Wombert> and 00:53 < Wombert> RoR has this "convention over configuration" attitude 00:53 < Wombert> which is a breeze to work with until five days before the deadline 00:53 < impl> yeaah 00:53 < Wombert> when you need to clean up the project 00:53 < Wombert> and implement the small details 00:54 < impl> I love how with Agavi it's just bootstrap('production') and bam 00:54 < Wombert> then, you figure out that it's not as simple anymore 00:54 < Wombert> and you have to break out of the limits of rails 00:54 < Wombert> and deal with ruby 00:54 < Wombert> and other nasty stuff 00:54 < Wombert> and then it's annoying you 00:54 < impl> I don't think RoR is very portable 00:55 < impl> Well, I don't think any MVCs are very portable to be honest 00:55 < impl> They seem to be pretty drilled down to wherever you install them 00:55 < Wombert> really? 00:55 < impl> and it's not necessarily the fault of the code, it's that to move it you have to change all the directory paths and everything 00:55 < Wombert> don't think rails is like that 00:55 < Wombert> in fact... rails is very good at that 00:55 < Wombert> ever heard of switchtower? 00:56 < Wombert> it has now a new name... uuuh 00:56 < impl> Nope 00:56 < Wombert> well 00:56 < Wombert> it works like this 00:56 < Wombert> you have your dev machine 00:56 < Wombert> and then you define production machines 00:56 < Wombert> that could be a cluster 00:56 < Wombert> web servers, database servers, everything 00:56 < Wombert> for upgrades, you also specify migration mathds 00:56 < Wombert> paths 00:56 < Wombert> that convert the database etc 00:56 < Wombert> and when you're done 00:56 < Wombert> "rake deploy" 00:56 < Wombert> and the app is published 00:56 < Wombert> something goes wrong? 00:56 < Wombert> "rake rollback" 00:57 < impl> cool 00:57 < Wombert> it's absolutely stunning 00:57 < Wombert> works with ssh, scp, sftp etc 00:57 < Wombert> rsync, too, afaik 00:57 < impl> Just for RoR? 00:57 < Wombert> no, you could use it for anything 00:57 < impl> Nice 00:57 < impl> I'll have to try it 00:57 < Wombert> http://trac.agavi.org/trac.cgi/ticket/131 00:58 < Wombert> don't know how easy it is to use it with php and all 00:58 < Wombert> because it has explicit support for active record migrations etc 00:58 < Wombert> where you can use active record models to upgrade the database and all 00:59 < impl> o_O 00:59 < impl> Interesting 01:28 < Wombert> right 01:29 < Wombert> gotta go play billard and have a beer or two with some friends 01:29 < Wombert> ttyl 04:12 -!- [1]eremit [n=eremit@p5490F80F.dip.t-dialin.net] has joined #agavi 04:20 -!- eremit [n=eremit@p5490E0B5.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 04:20 -!- [1]eremit is now known as eremit 04:53 -!- benny`work [n=benny@p54AC27A1.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 05:04 -!- Wombert [n=Wombert@dslb-088-064-017-140.pools.arcor-ip.net] has quit [] 08:52 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 08:52 < raidman|Work> morning 09:03 -!- eremit [n=eremit@p5490F80F.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- The dawn of a new IRC era"] 09:03 -!- eremit [n=eremit@p5490F80F.dip.t-dialin.net] has joined #agavi 09:04 < eremit> morning 09:08 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 09:58 < digitarald> morning :) 10:08 < raidman|Work> morning :) 10:58 < v-dogg> huomenta 11:22 < digitarald> do somebody use the current propel trunk version? 11:25 < eremit> i tried it ... 11:26 < eremit> and discarded it faster than the new checkout took ... 11:32 < digitarald> why? 11:38 < eremit> it broke api compat ... and my application failed horribly 11:41 < eremit> gna, why has html no onLoad event for tags :/ 12:27 < digitarald> because the onload is only for html 12:28 < digitarald> if u need an onload for tags just place the javascript behind this element 12:28 < digitarald> ... only for the i mean ... or document. ... or window. 12:29 < digitarald> what do u need ... my second name is javascript ;) 12:30 < eremit> i've solved it by putting the javascript behind the tag 12:30 < eremit> and used a smarty foreach loop to create all javascript parts ... but exactly that was what i wanted to circumvent ;) 12:32 < digitarald> u put the javascript in the onload event of the body 12:32 < digitarald> so the ja is out of the html code 12:33 < eremit> even this brings me to 2 loops ... 12:33 < eremit> i hoped for one loop in the template ;) 12:37 < digitarald> btw ... why is agavi better than symfony? :) 12:37 < eremit> ever used symfony ? 12:38 < eremit> in the past i've considered nearly any bigger framework out there ... 12:39 < eremit> and symfony looks really nice, but is faaaar too overloaded ... it took painfull hours to even get the basics ... 12:39 < digitarald> i like agavi ... symfony just seems to be a better rapid development framework 12:39 < eremit> at least for me ... 12:39 < eremit> symfony had the same codebase like agavi ... but they added features like hell ... and now it's heavy overloaded ... 12:40 < eremit> all this rsync stuff f.ex. should never ever be part of a framework ... 12:40 < digitarald> right ... that's why i choose agavi ... i can own the code ;) 12:41 < eremit> yeah ... it took me about 5 hrs to get used to the code, to get an idea where to find things, where to search for problems etc... 12:41 < digitarald> btw ... the symfony ajax implementation sux :D 12:41 < eremit> in symfony i hadn't it after 3 days ... 12:42 < digitarald> i worked in mojavi before, so i can reuse old code :D 12:42 < eremit> ajax ... that's a part i'm sometimes missing ... 12:43 < eremit> that'S why i took a loooong deep look into prado ... they had nice ideas, i maybe will sometime try to implement in agavi .. at least if i get the time ... 12:43 < digitarald> no ... i did a json renderer ... that can handle ajax requests 12:43 < digitarald> ajax should also not be in a framework, there are so many things that u can build in ... 12:44 < digitarald> u can request xml, json ... html ... what should u implement 12:44 < eremit> that'S a good question ... 12:44 < digitarald> my personal fav ist requesting json ... don't like xml/javascript, too slow ... and requesting html is too much data 12:45 < eremit> another point i'm missing atm are full flavoured validators ... on both sides client and server ... 12:45 < digitarald> xml is already in agavi, implementing json is very easy using the json class from pear ... and requesting html is easy by defining a output_type that hides the decorators 12:45 < digitarald> thats what i will try ... put the validators to client side ... 12:46 < digitarald> generating javascript from the xml 12:46 < eremit> hehe ... that's a point i'm really missing atm ... 12:46 < eremit> yeah ... ^^ 12:46 < eremit> this would be really really cool ... 12:47 < eremit> but you also use the server side validation i hope ... 12:47 < digitarald> it will just copy the FormRefiller 12:47 < digitarald> yes ... i never trust my javascript ;) 12:47 < eremit> hehe ok ... 12:48 < eremit> would you mind to share your solution if you are finished ? 12:48 < digitarald> thought client side is enough ... so all evil data will be blocked by my coool javascript :D 12:48 < eremit> no it wont ... 12:49 < digitarald> yes, sure ... but i'm using prototype as js-framework ... i'm trying to avoid prototype objects 12:49 < eremit> if an evil user generates a custom post with tampered data, you don't have your javascripts 12:50 < digitarald> sure thing ... javascript is so bulletproof like butter 12:52 < digitarald> btw ... we should really start a snippet gallery for agavi 12:54 < eremit> yeah wombert talked about "Agavi Forge" ... 12:55 < digitarald> lets start the coding :D 12:55 < v-dogg> aye 12:55 < eremit> yay ... 13:03 < digitarald> btw .. how can i read this docbook xmls? 13:04 < eremit> i read it using my coding editor *gg* 13:05 < digitarald> as xml 13:05 < eremit> yep 13:05 < v-dogg> digitarald: phing manual-html 13:06 < v-dogg> but it takes a few minutes 13:06 < eremit> which only works if you have phing installed :P 13:06 < v-dogg> because it downloads all necessary xsl-stylesheets from the web 13:06 < v-dogg> eremit: sure, it's only intented for devs :) 13:06 < digitarald> i have .. somewhere ... windows ;) 13:07 < eremit> v-dogg: :P atm i don't have phing installed ... hrhr ... 13:07 < v-dogg> of course they will be put online and for downloading 13:07 < eremit> digitarald, you are completly developing on windows ? O_o 13:08 < v-dogg> digitarald: I can compile then for you if you don't have phing 13:08 < digitarald> why don't u put the actual api and the docbook online ... *startcompiling* 13:08 < digitarald> that would be nice 13:08 < v-dogg> digitarald: they will be put 13:08 < v-dogg> just haven't been put yet 13:08 < digitarald> its throwing errors at me ... *grmpf* 13:08 -!- Wombert [n=Wombert@dslb-088-064-017-140.pools.arcor-ip.net] has joined #agavi 13:08 -!- AgaviBot [n=dzuelke@dslb-088-064-017-140.pools.arcor-ip.net] has joined #agavi 13:08 < digitarald> ok ... lets get that phingy thing running ... 13:09 < digitarald> emeit: yes ... windows is my dev-stage 13:09 < digitarald> eremit ... ;) 13:09 < eremit> O_o ... i'm forced to use windows on the desktop too, but at least apache and co are running in a vmware 13:10 < v-dogg> the only thing I haven't been able to do on Windows (easily) is https requests 13:10 < v-dogg> other than that it works perfectly 13:11 < v-dogg> https requests with php, I mean 13:11 < Wombert> digitarald: don't use propel trunk, it's broken 13:11 < digitarald> i don't 13:11 < digitarald> just ask ... wanted to use some new untested stuff 13:11 < digitarald> ;) 13:11 < digitarald> akded 13:11 < digitarald> asked 13:11 < digitarald> ... need coffee 13:27 < digitarald> v-dogg ... will u compile the docbook please, my phing don't want to do it? 13:30 < v-dogg> I got XSLT Error too but something still got compiled... just a minute 13:33 < digitarald> when i have an executeWrite ... will execute() be called too? 13:34 < v-dogg> no 13:34 < v-dogg> only if execute(Method) doesn't exist 13:35 < digitarald> k 13:35 < v-dogg> http://veikkomakinen.com/agavi/index-onepage.html 13:35 < v-dogg> not very much there yet, though 13:36 < digitarald> thx 13:45 < Wombert> digitarald: execute() means your action serves all request methods, though 13:45 < Wombert> probably not what you want 13:53 < digitarald> i have a form in a table with data ... i need to create the data for the table always but also want to fetch and execute the form data ... 13:54 < digitarald> but i already did that ... thought there is a other way over several executes 14:53 -!- benny`work [n=benny@p54AC29CD.dip0.t-ipconnect.de] has joined #agavi 16:22 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 18:19 -!- AgaviBot [n=dzuelke@dslb-088-064-017-140.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:20 -!- AgaviBot [n=dzuelke@dslb-088-064-017-140.pools.arcor-ip.net] has joined #agavi 20:00 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 20:01 < v-dogg> evening jake 20:01 < Wombert> haha 20:01 < Wombert> he just got up I guess ;) 20:02 < Wombert> what a lame time zone 20:02 < Wombert> you get out of bed when all the cool people have dinner 20:02 < Wombert> ;) 20:02 < v-dogg> mm.. dinner 20:02 < v-dogg> mm... beer 20:02 < ttj> Dinner's overrated. 20:02 < ttj> My daily intake of food consists of lunch these days. 20:08 < jake> morning :) 20:08 < jake> heh, exactly 20:08 < jake> We're one of the last places on earth to get a new day 20:08 < ttj> Where're you at? 20:08 < ttj> Hawaii? 20:10 < v-dogg> retards :) 20:10 < ttj> Speaking of retards, some asshole in Turku keyed my car. 20:11 < jake> heh, Seattle, close though 20:11 < jake> that sucks. finland? 20:12 < v-dogg> uh, that really sucks 20:12 < ttj> Yep. 20:12 < v-dogg> insurance wont even cover it probably 20:13 < ttj> Best of all, it's not even my car. It's my folks' car. Was just borrowing it when I came from Helsinki. 20:14 < ttj> Yeah, will have to see. 20:15 < raidman|Work> evening, and go again ..... 20:16 < ttj> Later. 20:16 < raidman|Work> ;) 21:05 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 21:20 -!- eremit [n=eremit@p5490F80F.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"] --- Day changed Mon Aug 14 2006 01:20 -!- benny`work [n=benny@p54AC29CD.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:24 < CIA-6> david * r959 /trunk/ (2 files in 2 dirs): changed output types so routes without fallback declaration do NOT fall back to the default type anymore 01:26 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 01:26 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/959 : Changeset [959]: changed output types so routes without fallback declaration do NOT fall ... 01:31 -!- Wombert [n=Wombert@dslb-088-064-017-140.pools.arcor-ip.net] has quit [] 01:49 -!- AgaviBot [n=dzuelke@dslb-088-064-017-140.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 06:38 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 07:28 < v-dogg> huomenta 08:12 < ttj> Huomen. 08:15 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:23 -!- eremit [n=eremit@p5490F9E4.dip.t-dialin.net] has joined #agavi 08:23 < eremit> morning 08:26 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 08:27 < raidman|Work> morning guys :) 08:38 < eremit> morning raidman ... 10:00 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 10:01 < eremit> digitarald, are you there ? 10:01 < Macca> i am! 10:01 < v-dogg> good for you 10:02 < Macca> miss me dogg? 10:03 < eremit> damn yesterday i found a bug in agavi ... and now i cannot find it again ... :/ 10:03 < eremit> somewhere the execute function was not defined as the interface enforces it ... 10:03 < digitarald> morning :) 10:04 < eremit> i have some javascript questions ... may i query you ? 10:06 < digitarald> sure 10:08 < eremit> you are not registered to nameserv ... 10:17 < eremit> v-dogg: found it ... 10:17 < eremit> Fatal error: Declaration of AgaviCachingExecutionFilter::execute() must be compatible with that of AgaviIFilter::execute() 10:18 < v-dogg> cef is not working yet 10:19 < v-dogg> wombie said he'll fix it when validators and others are ready 10:19 < eremit> ah ok ... i only recognized it during my tests on an agavi-lite.php package ... 10:19 < eremit> i don't use it myself 10:25 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 10:44 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 10:45 < digitarald> back :) 10:45 < eremit> wb 10:50 < ttj> Hmm... 10:51 < ttj> If I issue a $controller->forward("Some", "Thing");, it throws an exception. 10:51 < ttj> Apparently AgaviController is trying to call AgaviRequest::getParameters(). 10:51 < eremit> yes forwarding is no longer allowed this way :( 10:51 < ttj> Aha. 10:51 < ttj> So how does it work now? 10:52 < eremit> return array('Module', 'View'); from AgaviView::execute() 10:52 < ttj> Hmm... 10:52 < ttj> Ok. 10:52 < eremit> forwarding from actions doesn't work ... according to wombert forwarding is a view issue ... 10:52 < eremit> somewhere there is a ticket about it ... 10:54 < ttj> Ugh. 10:54 < ttj> This won't fly. :-( 10:58 < ttj> http://trac.agavi.org/trac.cgi/ticket/306 <-- This one? 10:59 < ttj> That still implies that I could forward to actions, but... 10:59 < v-dogg> yes, you can 11:00 < v-dogg> but not _from_ action::execute 11:00 < ttj> Brb, fooding. 11:27 < digitarald> eremit: your javascript question? 11:28 < eremit> yeah ... how can i set the visibility on a complete fieldset ? document.forms["formname"].elements["fieldsetID"] doesnt find the fieldset :P 11:29 < eremit> i guess everything in my try is wrong ^^ 11:32 < digitarald> fieldset isn't a form-element 11:33 < digitarald> give it an id and use getElementById 11:33 < eremit> ah ok, ty ... 11:33 < digitarald> or use document.forms['my-form'].getElementsByTagName('fieldset')[x] 11:34 < digitarald> so u can be sure to find the fieldset in the right form 11:34 < eremit> ok ... but they are named unique anyways ... 11:38 < eremit> v-dogg is there a possibility to turn of the fpf in the action ? 11:47 < ttj> Ok, so regarding forwarding... 11:48 < ttj> How can I forward to an action? From a View? 11:48 < eremit> return array('module', 'view'); 11:48 < ttj> No, I want to forward to an action, not a view. 11:48 < eremit> ah .. array('module', 'action') 11:48 < eremit> sorry 11:49 < ttj> And from what class and method do I return that from? 11:49 < ttj> If AgaviAction::exeucte*() can't return that. 11:49 < eremit> the AgaviView::execute() 11:49 < ttj> Ok. 11:49 < ttj> Thanks. 11:54 -!- Wombert [n=Wombert@dslb-088-064-003-144.pools.arcor-ip.net] has joined #agavi 11:57 < ttj> Ugh... This is incredibly ugly. I wonder if I should create a generic Forward view for forwarding to actions from actions. :P 11:57 < eremit> yeah i'm fighting with that too :P ... you can try to argue with wombert :P 11:58 < ttj> Wombert: What's the reasoning behind disallowing forwarding to actions from actions, if I may ask? 11:58 < Wombert> ttj: that's presentational, so it belongs inthe view 11:59 < ttj> Umm... 12:00 < Wombert> tell me your forward use case please 12:00 < ttj> Ok, my case is that I want to do a credential-based authentication scheme. The problem is that only during execute*() do I know what the credentials are. 12:00 < ttj> So I can't really use AgaviAction::getCredentials(). 12:01 < Wombert> why do you only know it during execute 12:01 < ttj> I'm loading XML files and the credentials are stored there. 12:01 < Wombert> the credentials for each action? 12:02 < Wombert> you have three options here 12:02 < Wombert> 1) write a custom SecurityFilter (nasty) 12:02 < Wombert> 2) implement it in getCredentials() where it belongs (nasty) 12:02 < Wombert> 3) write a generic YourAction you extend from that implements getCredentials() 12:02 < Wombert> it really, really belongs into getCredentials 12:03 < Wombert> load the xml file there 12:03 < Wombert> that's what the method is for 12:03 < ttj> Humm... 12:03 < Wombert> you can put it into an abstract MyBaseAction where getCredentials() loads the xml file once (static!) and then returns the credentials needed for the specific action 12:04 < Wombert> either based on ActionStack->getLastEntry() or on get_class($this) 12:04 < Wombert> which ever way you wanna do it 12:04 < Wombert> that also saves you TONS of duplicated code in your actions 12:04 < Wombert> AND it's forward compatible, change one method to change all actions 12:04 < Wombert> AND you won't have security problems 12:05 < ttj> What if I can't nail down the XML file? 12:05 < ttj> i.e. it sort of depends on the request. 12:05 -!- shoan [n=shoan@59.92.145.148] has joined #agavi 12:05 < Wombert> where's the difference? 12:07 < ttj> Hmm... So I can tap the request parameters from getCredentials()? 12:08 < ttj> No? 12:11 < ttj> Ah, I may have explained the problem somewhat badly. 12:11 < ttj> The situation is that the XML files I'm loading from the action are effectively containing data and the information on who can view them and who can't are stored in them. 12:12 < ttj> They're not "config" files for deciding which action requires which credentials. 12:18 < v-dogg> eremit: you can disable fpf by $request->setAttribute('populate', false, 'org.agavi.filter.FormPopulationFilter'); 12:20 < eremit> ty v-dogg 12:22 < Wombert> eremit: or you remove it from the filters config 12:22 < Wombert> ttj: I see 12:22 < eremit> i just want to disable it from _one_ action ... while forwarding to a special view 12:22 < Wombert> ttj: and it's a different file per action? 12:23 < Wombert> eremit: what special view? :) 12:23 < eremit> it'S a wizard ... 12:23 < eremit> and some fields in the forms are equal ... so if i submit step1 it gets repoped in step2 ... 12:23 < ttj> Wombert: Well, there's one action for loading the XMLs and then it forwards the XML to the view and the template for displaying it. 12:23 < eremit> which was not the intention ;) 12:24 < ttj> And the single action handles multiple XML files. 12:24 < Wombert> eremit: your wrong wrong wrong wrong! careful! 12:24 < Wombert> do not set anything for the FpF in the action! 12:24 < ttj> i.e. which XML file needs to be shown is given in the request as a parameter. 12:24 < Wombert> ttj: I see 12:24 < Wombert> then it would be easy to load the xml file in getCredentials(), right? 12:24 < Wombert> you could even store it in the action, so it's available in execute() later 12:25 < eremit> wombert, pardon? ... 12:25 < Wombert> you could also do it in initialize() 12:25 < ttj> Aha! initialize() sounds brilliant. 12:25 < Wombert> eremit: disabling form population is presentation, not logic. do not put it into actions 12:25 < ttj> I'll look into loading it there and then using getCredentials() to pass on the required credentials. Thanks! 12:26 < Wombert> ttj: let me know if you're running into any trouble 12:26 < ttj> Sure. 12:26 < eremit> but how to circumvent the problem ? ... i have a Step1Action .. which handles executeWrite() if everything is correct ... it returns array('Wizard', 'Step2Input'); 12:26 < Macca> YAY WOMBERT 12:26 * Macca waves 12:26 < Wombert> hi Macca 12:26 < Macca> what's up buddy?? 12:27 < Wombert> I'm in a hurry tbh 12:27 < Macca> awwkay 12:27 < Macca> see ya later 12:27 < Macca> have a nice day! 12:27 < Wombert> eremit: can we talk about that later? 12:27 < Wombert> thank you Macca, wish you the same 12:27 < Macca> sure thing 12:27 < eremit> sure ... 12:27 < Wombert> good 12:27 < Wombert> see you guys later then 12:34 < Macca> see you 12:34 < Macca> anyone used eclipse ehre? 12:36 < eremit> digitarald, where is getElementById defined? 12:37 < digitarald> document 12:49 < eremit> ty 12:57 < v-dogg> hmm.. how the hell am I supposed to disable validation on read/get 13:01 < eremit> ?? 13:01 < ttj> Yay! It works. 13:01 < v-dogg> I don't want the validators to be run on Read 13:01 < v-dogg> ie. when I populate the input fields 13:02 < eremit> can't you define where the validators work read only write only ? 13:03 < v-dogg> where do I define that? 13:03 < eremit> i would expect in the validator xml ... 13:04 < v-dogg> so would I 13:04 < eremit> but i must admit, i don't use agavi's validators yet ... 13:04 < Macca> any of you used eclipse? 13:05 < eremit> i used it long time ago 13:11 < eremit> digitarald, i don't get it ... i fetch the tag and want to set visibility but nothing happens ... 13:12 < v-dogg> ok.. I found a way to disable validators for 'read' method 13:12 < eremit> how? 13:12 < v-dogg> hackhack :) 13:13 < v-dogg> public function registerReadValidators(AgaviValidatorManager $vm) { $vm->clear(); } 13:13 < v-dogg> this _cannot_ be the intentend way :) 13:13 < eremit> holy..... 13:13 < eremit> this should not the intended way 13:13 < eremit> be* 13:15 < digitarald> eremit: send me some lines of code 13:16 < digitarald> i'm starting coding on the AgaviRbacUser ... should i load the config during initialize? 13:18 < digitarald> all the time i'm searching for a pastebin ... what is a goof pastebin for php, xml and js? 13:18 < digitarald> good 13:19 < v-dogg> pastebin.ca is ok 13:20 < digitarald> that does not send my code ... i'm waiting hours when i submit stuff but the form does not send anything 13:21 < eremit> i tend to use phpfi ... 13:21 < eremit> http://phpfi.com/140510 <-- the requested code 13:21 < eremit> maybe we should setup an nopaste.agavi.org ? :P 13:22 < digitarald> v-dogg & agavi-team: for rbac role assignment ... use this configuration? 13:22 < digitarald> http://pastebin.ca/131117 13:23 < digitarald> eremit: use style.display = 'none'; 13:24 < eremit> ah ty ^^ 13:24 < digitarald> do u use a browser that throws javascript errors ... like firefox? 13:24 < eremit> yes 13:24 < eremit> masses of them ... 13:24 < eremit> but i havn't found a good javascript debugger and dom inspector yet 13:24 < digitarald> what doctype do u use? 13:25 < digitarald> firefox + firebug extension the non+ultra ;) 13:25 < eremit> PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 13:25 < digitarald> ;) btw ... in xhml 1.0 strict forms and images don't use the name attribut ... forbidden 13:26 < eremit> hmpf 13:27 < digitarald> thats why i don't like to use strict ... 13:27 < digitarald> but i do ... and so i can't use document.images[] and document.forms[] ... 13:28 < eremit> the html validator extension doesn't throw any warnings about my form name="" 13:29 < digitarald> its not a xhtml valdiator ... only tml 13:29 < digitarald> html 13:29 < eremit> ah ... lool 13:29 -!- shoan [n=shoan@59.92.145.148] has quit [] 13:30 < v-dogg> next validation problem: what's the now the equivalent to param.require (or whatever it was called) in pre 0.11? 13:30 < v-dogg> ie. if null, don't have to validate 13:42 < digitarald> ok ... the xml is fine, ok 14:12 -!- horros [n=mle@w172.ip4.netikka.fi] has joined #agavi 14:13 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 14:16 < v-dogg> good day horros 14:16 < horros> good day v-dogg 14:24 < digitarald> ok ... AgaviRbacUser is ready for action 14:26 < shoan> hey horros, long time no see. 14:26 < shoan> hows it going? 14:26 < horros> pretty well 14:26 < horros> actually 14:26 < horros> _I_ am going. 14:26 < horros> :) 14:27 < horros> too hot in the office to be able to do anything :( 14:27 < shoan> how hot? 14:27 < horros> dunno. sweat is running, so too hot :) 14:28 < horros> outside is 26-27 or so 14:28 < horros> inside... dunno. 15m^2 room and three computers on :( 14:32 < digitarald> outside sunny cloudy august in spain ... too cloudy and cold for august :) 14:32 < digitarald> eremit: did u get the script running? 14:33 < eremit> yeah 14:34 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 14:34 < eremit> tyvm 14:35 < digitarald> u was the one with the advanced AgaviSecurityUser? 14:36 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 14:36 < eremit> depends on what you expect of an adavanced security user ;) 14:37 * horros & 14:39 < digitarald> did u extended the securityuser? 14:40 < eremit> yes 14:47 < digitarald> with what? 14:48 < eremit> basically an extended login/logout, propel usermodel autoload ... 14:49 < eremit> but i don't have a role management nor a real permission system ... 14:49 < v-dogg> i extended initialization with a few lines of my own code 14:49 < eremit> only some minor tags on users ... isGuest, isUser, isManager and isAdmin 14:55 < digitarald> ok, so u dont use rbac ... roles and tasks 14:56 < eremit> no, i simply don't need it ... 15:27 < digitarald> anybody here that wants to check my AgaviRbacUser? 15:30 < shoan> digitarald: sure :) 15:31 < shoan> I am not sure if I can give you any feedback though 15:40 < digitarald> ok ... enabling rules and permissions, a simple rbac model for agavi: 15:40 < digitarald> http://pastebin.ca/131261 15:41 < digitarald> this is the xml that configures the User ... the RbacUser holds all roles and can be assigned to existing roles 15:41 < digitarald> is it useful? 15:42 < digitarald> wombert wanted that for agavi :) 15:43 < digitarald> how can i implement that in the actions ... like getCredentials() 15:44 < digitarald> ah, i see ... AgaviSecurityFilter 15:44 < digitarald> lets copy that for Rbac 15:52 < digitarald> did anybody take a look at the xml? 16:17 < digitarald> Macca: i use eclipse ... why? 17:19 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit [Read error: 60 (Operation timed out)] 17:19 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 18:07 -!- shoan [n=shoan@61.95.206.107] has quit [] 18:19 < jake> morning all 18:40 -!- benny`work [n=benny@p54AC384A.dip0.t-ipconnect.de] has joined #agavi 19:21 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 19:24 < CIA-6> dominik * r960 /trunk/src/translation/ (3 files): some basic i18n manager stuff 20:19 -!- shoan [n=shoan@59.92.145.148] has joined #agavi 20:32 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 20:42 -!- jake [n=jake@gg.internal.mixxer.com] has quit [Read error: 104 (Connection reset by peer)] 20:43 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 20:55 -!- AgaviBot [n=dzuelke@dslb-088-064-003-144.pools.arcor-ip.net] has joined #agavi 20:57 < Wombert> re 20:57 < Wombert> morning jake 20:57 < Wombert> v-dogg: houmenta 20:57 < Wombert> eremit: you there? 20:58 < Wombert> v-dogg: if your action serves both request methods, you have to use an "and" validator and put all the validators for "write" in there, then dclare that "and" validator to only run on "write" using method="write" 20:59 < Wombert> or follow jake's approach by putting the logic to retrieve the data for population into the view (I do, more or less, agree that that is a good idea) 21:27 -!- shoan [n=shoan@59.92.145.148] has quit [] 21:42 -!- eremit [n=eremit@p5490F9E4.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 22:02 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 23:29 < v-dogg> Wombert: I don't like either approach :) 23:30 < v-dogg> but I have to think about this tomorrow 23:30 < v-dogg> good night 23:32 < Wombert> nn --- Day changed Tue Aug 15 2006 00:19 < Wombert> anyone heeeere? 00:19 < Wombert> slaps Macca, impl, jake 00:19 < Wombert> what about you guys? 00:19 < Wombert> you weird timezone weirdos 00:19 < Wombert> :) 00:19 * Macca waves 00:19 < Macca> just woke up 00:19 < Wombert> oooh teh Macca 00:19 < Wombert> yay it's morning in Oz, right? 00:19 < Wombert> http://trac.agavi.org/trac.cgi/ticket/62 00:19 < Macca> yup 00:19 < Macca> Tue Aug 15 07:20:01 EST 2006 00:20 < Wombert> (last comment, specifically) 00:20 < Wombert> feedback welcome 00:21 < Macca> can you try sending me an email? brendanm at maccasoft dot com dot au 00:21 < Macca> (reading) 00:22 < Wombert> email sent 00:22 < Macca> ta 00:25 < Macca> hrmm. not received. 00:25 < Macca> did you get any errors? 00:26 < Wombert> not yet 00:29 < Macca> maybe it's not broken 00:29 < Macca> just got it 00:39 < Macca> didn't get the one i sent myself from gmail though :S 00:43 < jake> hey :) 00:59 < Wombert> hi jake 01:02 < Wombert> http://trac.agavi.org/trac.cgi/ticket/62 updated again 01:02 < Macca> i don't understand that stuff. so i don't think my opinion would be very useful :) 01:09 < Wombert> :p 01:09 < Wombert> gotta run 01:09 < Wombert> bowling ;) 01:09 < Wombert> ttyl 01:10 < Macca> cya! 01:10 < Macca> good luck! 01:10 < Macca> knock em dead! 01:10 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: AgaviBot 01:11 -!- Netsplit over, joins: AgaviBot 01:50 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 01:50 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=358#p358 : New post in Support : buydrugsonline 02:01 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has joined #agavi 02:05 -!- devosc [n=devosc@user-0cdv7qr.cable.mindspring.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:36 -!- benny`work [n=benny@p54AC384A.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:39 < Macca> hmm 02:39 < Macca> i lost my agavi binary :S 02:40 < Macca> well that script 02:40 < Macca> to do the phinging 02:45 < Macca> nm 02:45 < Macca> found an old one 03:54 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Client Quit] 04:04 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 04:21 < Macca> impl likes little boys 04:21 < impl> You would know 04:22 < Macca> not really 04:22 < Macca> coz i'm not a little boy 04:22 < Macca> jackass 04:22 < impl> You act like one 04:22 < impl> asswench 04:22 < Macca> but you are one. 04:22 < Macca> asslord 04:22 < impl> You are the master of the gay cock 04:23 < Macca> that's not what's in question here 04:23 < impl> So you're gay 04:26 < Macca> never said that either... 04:27 -!- horros_ [n=mle@w172.ip4.netikka.fi] has joined #agavi 04:28 < Wombert> oO 04:30 < Macca> how'd you go??? 04:32 -!- horros [n=mle@w172.ip4.netikka.fi] has quit [Read error: 104 (Connection reset by peer)] 04:41 < Wombert> let's say "average" ;) 04:42 < Wombert> well 04:42 < Wombert> the girls beat us hands down 05:00 < Macca> :( 05:00 < Macca> what did you score? 05:00 < Wombert> uuh 05:00 * Wombert thinks 05:00 < Macca> did you drink too many steins? 05:00 < Wombert> 87...ish 05:00 < Wombert> I came in second to last I think 05:00 < Wombert> yeah 05:00 < Macca> hehe. nice wor 05:00 < Macca> k 05:01 < Wombert> doesn't matter tho, it's more about the fun than the scores ;> 05:11 -!- shoan [n=shoan@59.92.145.148] has joined #agavi 05:25 -!- Wombert [n=Wombert@dslb-088-064-003-144.pools.arcor-ip.net] has quit [] 05:33 -!- AgaviBot [n=dzuelke@dslb-088-064-003-144.pools.arcor-ip.net] has quit [Read error: 145 (Connection timed out)] 06:02 -!- implement [n=impl@adsl-150-154-101.rmo.bellsouth.net] has joined #agavi 06:10 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 60 (Operation timed out)] 06:11 -!- shoan_ [n=shoan@59.92.140.103] has joined #agavi 06:16 -!- implement is now known as impl 06:23 -!- shoan [n=shoan@59.92.145.148] has quit [Read error: 110 (Connection timed out)] 07:05 -!- shoan_ [n=shoan@59.92.140.103] has quit [] 08:33 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 08:48 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 08:59 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:13 < ttj> Is there any elegant way of storing module-specific configuration stuff somewhere? 09:14 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 09:19 < digitarald> Morning 09:26 < v-dogg> huomenta 10:14 < Macca> guten morgen 10:27 -!- eremit [n=eremit@p5490F746.dip.t-dialin.net] has joined #agavi 10:27 < eremit> morning ... 10:36 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Bye Bye"] 11:14 -!- shoan [n=shoan@59.92.140.103] has joined #agavi 11:25 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:25 < digitarald> morning again :) 11:29 < eremit> heyja 13:29 -!- shoan [n=shoan@59.92.140.103] has quit [] 13:50 < digitarald> developers ... where do u insert your application config? settings.xml or a new config like app-settings.xml? 13:56 < v-dogg> settings.xml is no good for that 13:56 < v-dogg> you have to use a config of your own 14:05 < digitarald> and load them in config.php? 14:08 < v-dogg> actually you need to bootstrap first 14:09 < v-dogg> I have this in my index.php: include(AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/webapp.xml')); 14:09 < v-dogg> and I have a custom handler for that config 14:10 < digitarald> how does the xml have to look that i can use the arrayconfighandler? 14:10 < v-dogg> I'm not sure 14:10 < v-dogg> try it out 14:11 < v-dogg> create a test.xml and define a handler for it in config/config_handlers.xml 14:12 < v-dogg> 14:12 < v-dogg> and then var_dump(include(AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/test.xml')); 14:13 < digitarald> can u pastedump your webapp config handler? 14:13 -!- Wombert [n=Wombert@dslb-088-064-002-200.pools.arcor-ip.net] has joined #agavi 14:14 -!- AgaviBot [n=dzuelke@dslb-088-064-002-200.pools.arcor-ip.net] has joined #agavi 14:15 < v-dogg> hmph... pastebin.ca has started to sloooooooow down too 14:15 < v-dogg> what's wrong with these pastebins 14:16 < digitarald> wobert ... i did the AgaviRbacUser ... u can configure roles, inherit them and assign permissions ... every user can have multiple rules ... 14:16 < digitarald> wombert :) 14:16 < v-dogg> http://pastebin.ca/132596 14:16 < v-dogg> this line: $data .= "AgaviConfig::set('$name', $value); \n"; 14:17 < v-dogg> pretty much gives it away how that works :) 14:17 < digitarald> thats looks pretty useful ... nice, thanks :) 14:18 < v-dogg> http://pastebin.ca/132603 example config 14:19 < digitarald> ok, i will modify it to split the modification ... like namespaces 14:19 < digitarald> inherit the prefix fom the parent node 14:20 < digitarald> but really cool ... easy and wrap my needs 14:58 < Wombert> every time I eat baked beans 14:58 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit [Operation timed out] 14:58 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 14:58 < Wombert> like... now 14:58 < Wombert> I realize again how utterly disgusting they are 15:05 < digitarald> wombert? can u read me? ;) 15:07 < Wombert> yeah 15:27 -!- v-dogg_ [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 15:29 < v-dogg_> is me+bob@example.com a valid email address? 15:32 < Wombert> I think so, yes 15:32 < Wombert> RTFRFC 15:32 < Wombert> ;) 15:33 < v-dogg_> I just wrote (or fixed) tests for number, email and date validators 15:33 < v-dogg_> and now I need to fix those validators :D 15:33 < Wombert> haha 15:42 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has quit [Read error: 110 (Connection timed out)] 15:53 < digitarald> anybody here with some smarty experience? 16:00 < v-dogg_> eremit is the only one using smarty that I know of 16:00 < Wombert> why use smarty anyway 16:01 < v-dogg_> Wombert: ok, date validator works anyway, the bug was in my test 16:01 < v-dogg_> I'm going to commit these now even though emailval. test fails 16:02 < v-dogg_> or, no, I'll remove me+bob@... test :) 16:02 < v-dogg_> OK (229 tests) 16:03 < Wombert> <: 16:06 < CIA-6> v-dogg * r961 /trunk/tests2/ (5 files in 3 dirs): Fixed tests for AgaviNumberValidator, AgaviDateValidator and AgaviEmailValidator. 16:08 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 16:08 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/961 : Changeset [961]: Fixed tests for AgaviNumberValidator, AgaviDateValidator and ... 16:09 < v-dogg_> btw, I converted all my personal tests (not too many of them :) to phpunit3 16:10 < Wombert> any advantages over phpunit2? 16:11 < v-dogg_> no more Strict standards errors :) 16:12 < v-dogg_> my tests are so simple that I there's no other difference 16:17 < v-dogg_> phpunit is a bit dumb because it needs to be in include_path 16:18 < v-dogg_> and because pear is the only supported way of installation, this is not seen as a major defect 16:19 < v-dogg_> I talked about this to Sebastian and he, after first beeing against it, said he'd take a look at it 16:20 < v-dogg_> meanwhile I had to hack TestRunner to figure out the include_path itself 16:36 -!- _mz_ [n=ml@80.252.138.123] has joined #agavi 17:00 < digitarald> smarty sucks ... anybody with a better idea for a template engine ... NOT php ;) 17:00 < Wombert> welcome, _mz_ 17:00 < Wombert> digitarald: why not php? 17:01 < _mz_> hello 17:01 < Wombert> with the alternative syntax, it's working pretty well 17:01 < digitarald> ? 17:01 < Wombert>
    17:01 < Wombert> 17:01 < Wombert>
  • 17:01 < Wombert> 17:01 < Wombert>
17:02 < digitarald> just wanted shorter foreach and so on ... or something like |default in smarty 17:02 < Wombert> _mz_: interested in agavi? or using it already? 17:03 < digitarald> but smarty can't handle ... {$ctl->getOutputTypeInfo()['parameters']['Content-Type']} 17:03 < Wombert> make sure you're _not_ (!) using 0.10.2 17:03 < Wombert> but trunk from SVN 17:03 < digitarald> and because of what ... the - in Output-Type 17:03 < Wombert> digitarald: php can't handle this dereferencing either 17:03 < digitarald> i know ... the problem with smarty is the - ... 17:03 < Wombert> I actually had implemented a change to allow direct access to output type info values but 17:04 < Wombert> I reverted it 17:04 -!- _mz_ [n=ml@80.252.138.123] has left #agavi [] 17:04 < Wombert> oh :< 17:04 < Wombert> did we scare him away? 17:04 < digitarald> it has no meaning ... it's just the fact: - aren't allowed in array-keys 17:04 < digitarald> may be ... did u wash yourself this morning ... 17:04 < digitarald> ;) 17:05 < Wombert> v-dogg_: ART THOU THERE SIR????? 17:05 < ttj> Wombert: It's quite typical that "yeah, don't use the stable version, use the one from the trunk instead" scares away people. :P 17:05 < Wombert> and what about horros_ anyway 17:05 < Wombert> oooh ttj is there 17:05 -!- _mz_ [n=ml@80.252.138.123] has joined #agavi 17:05 < Wombert> guys 17:05 < Wombert> I was thinking 17:05 < Wombert> maybe 17:05 < Wombert> a second parameter to setTemplate 17:05 < Wombert> and setDecoratorTemplate 17:06 < Wombert> set to true, it overrides the output type extension 17:06 < Wombert> good? 17:06 < digitarald> transform - to _? 17:06 < Wombert> digitarald: no 17:06 < digitarald> :( 17:06 < Wombert> the http header is Content-Type 17:06 < Wombert> not Content_Type 17:06 < Wombert> digitarald: read the content type in the view and set it as an attribute 17:07 < Wombert> a BaseMyView that does that (and sets the decorator, slots etc) and all you need to do is parent::execute() in each view to make it happenb 17:07 < digitarald> just reverted my smarty changes to my good'old php engine ;) 17:07 < Wombert> _mz_: may I help you? ;) 17:08 < _mz_> Wombert, no, thx :) 17:08 < Wombert> why are you here then? ;) 17:08 < ttj> Hmm... 17:09 < Wombert> _mz_: as I said, if you're new to agavi... do not use 0.10.2... use the latest version from SVN (0.11- beta1 coming soon) 17:11 < Wombert> oooooh and 17:11 < Wombert> hey 17:11 < _mz_> where svn? 17:11 < Wombert> something completely different 17:11 < Wombert> svn://svn.agavi.org/agavi/trunk 17:11 < ttj> Wombert: Haven't used output_types that much yet myself, but that sounds ok. 17:11 < _mz_> ok 17:11 < Wombert> should setSlot() be able to accept a fourth parameter 17:11 < Wombert> with request params only for that slot 17:11 < Wombert> so you can toss data around 17:12 < Wombert> consider a situation where you have a StaticAction that displays static code snippets, and now you have five slots, each displaying one of these static fragments... they each need to know which file to display 17:12 < Wombert> so you'd have to put each file name on a stack, and each slot removes one 17:13 < Wombert> pretty messy if you ask me 17:14 < digitarald> oh ... Wombert, are u developing the AgaviForge ... :) 17:14 < Wombert> no 17:14 < Wombert> we'll get to that after 0.11 17:14 < digitarald> i thing the parameter idea it a good one, would be logic 17:14 < Wombert> for 1.0, I want a new website, docs, and AgaviForge 17:14 < digitarald> i had the problem with mojavi last time 17:15 < v-dogg_> Wombert: wooty 17:17 < digitarald> ok ... i'm going home ... working more ... here is holdiday ... all over spain 17:25 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 17:28 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:42 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 17:42 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/315 : Ticket #315 (enhancement) created by david 17:44 < CIA-6> david * r962 /trunk/src/ (6 files in 2 dirs): added 'literal' argument to View::set(Decorator)Template(), closes #315 17:45 < v-dogg_> how's does our commit stats look nowdays... 17:45 < CIA-6> david * r963 /trunk/src/routing/ (AgaviRouting.class.php AgaviWebRouting.class.php): moved _SERVER array source from WebRouting to Routing 17:45 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 17:45 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/963 : Changeset [963]: moved _SERVER array source from WebRouting to Routing 17:45 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/ticket/315 : Ticket #315 (enhancement) closed by david 17:45 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/changeset/962 : Changeset [962]: added 'literal' argument to View::set(Decorator)Template(), closes #315 17:46 < Wombert> v-dogg_: not as shiny anymore I guess ;) 17:46 < v-dogg_> "103 messages so far this month, 231 messages last month" 17:46 < Wombert> that's gonna be close then 17:46 < Wombert> it's the 15th today, isn't it 17:46 < Wombert> we're behind schedule ;) 17:46 < v-dogg_> yep 17:46 < Wombert> gonna have a couple more commits today tho 17:51 < v-dogg_> what's up with i18n btw? 17:51 < _mz_> /var/www/sites/agavi.org/ :) 17:52 < v-dogg_> _mz_: ? 17:57 -!- benny`work [n=benny@p54AC45D2.dip0.t-ipconnect.de] has joined #agavi 18:01 -!- v-dogg_ is now known as v-dogg 18:04 < _mz_> http://agavi.org/?page=not_exists 18:08 < v-dogg> ok, thanks 18:09 < v-dogg> site uses the development version of agavi from the svn 18:09 < v-dogg> and sometime it doesn't keep up with the development :) 18:16 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 18:20 -!- digitarald| [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 18:28 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:29 < eremit> heyja 18:29 < impl> Hello 18:29 < eremit> Wombert, you asked yesterday evening for me? 18:29 < digitarald|> hi :) 18:30 < eremit> s.b. here ever tried Zend Guard, exspec. with agavi ? 18:40 -!- __mz [n=ml@80.252.138.123] has joined #agavi 18:45 < digitarald|> developers: what is your favorite template engine :) 18:46 < impl> PHP 18:51 < eremit> smarty (most used), php (the best one) 18:53 -!- _mz_ [n=ml@80.252.138.123] has quit [Read error: 110 (Connection timed out)] 19:20 < CIA-6> dominik * r964 /trunk/src/config/AgaviConfigValueHolder.class.php: don't overwrite already existent children 19:20 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:20 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/964 : Changeset [964]: don't overwrite already existent children 19:34 < digitarald|> eremit: do u use gettext or how do u put i18n in your apps? 19:35 < Wombert> ahem 19:40 -!- shoan [n=shoan@59.92.140.103] has joined #agavi 19:41 < CIA-6> dominik * r965 /trunk/src/validator/ (7 files): bugfixes 19:41 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:41 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/965 : Changeset [965]: bugfixes 19:44 < CIA-6> dominik * r966 /trunk/src/config/AgaviValidatorConfigHandler.class.php: 19:44 < CIA-6> Allow multiple tags in the tag 19:44 < CIA-6> Allow class names to be used in the class attribute of the validators without being defined 19:47 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:47 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/966 : Changeset [966]: Allow multiple tags in the tag ... 19:47 < Wombert> v-dogg: now accepts the "method" attribute 19:47 < Wombert> and you can have more than one tag in the root element 19:47 < Wombert> is that okay for you? 20:01 < digitarald|> strange ... the formrefiller always puts me a second in my header ... there is already one 20:02 < Wombert> did you set remove_xml_prolog to false? 20:02 < Wombert> if yes, that's the problem 20:02 < Wombert> if not, it's a bug 20:03 < digitarald|> bug 20:03 < Wombert> by the way 20:03 < digitarald|> i didn't set any parameters 20:03 < Wombert> I strongly recommend you use utf-8 20:03 < digitarald|> why? 20:03 < Wombert> because it's better? :p 20:03 < digitarald|> iso is for european languages ... and i only have european languages at my side 20:04 < digitarald|> why should i use utf 8 if i have no utf-8 languages ... 20:04 < Wombert> a) forward compatibility 20:04 < Wombert> b) no more htmlentities() necessary 20:04 < Wombert> c) write chars directly instead of © and friends 20:05 < digitarald|> okok ... i will say good bye to my © 20:05 < digitarald|> btw ... did u read the question about global_access in rbac? 20:06 < Wombert> uuuh 20:06 < Wombert> probably not 20:06 < Wombert> you're digitarald|, not digitarald, and not identified with NickServ 20:06 < digitarald|> yes ... okok 20:06 < eremit> [18:32] eremit: do u use gettext or how do u put i18n in your apps? 20:07 < eremit> ^^ xml files 20:07 -!- digitarald| [n=Miranda@62-43-0-206.user.ono.com] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:07 < eremit> lool 20:07 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit [Read error: 104 (Connection reset by peer)] 20:07 < Wombert> guys 20:07 < Wombert> seriously 20:07 < Wombert> if you're using i18n already 20:07 < Wombert> why am I not hearing a single word of feedback wrt #65 20:07 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 20:07 < digitarald> ok ... back 20:08 < eremit> digitarald, xml files 20:08 < Wombert> that's also for you, digitarald 20:08 < Wombert> [19:07] Wombert: guys 20:08 < Wombert> [19:07] Wombert: seriously 20:08 < Wombert> [19:07] Wombert: if you're using i18n already 20:08 < Wombert> [19:07] Wombert: why am I not hearing a single word of feedback wrt #65 20:08 < Wombert> digitarald: I'm able to reproduce the xml prolog problem 20:08 < eremit> Wombert, because there is nothing special about my implementation ... 20:08 < Wombert> just FYI, an xml prolog will throw ie back to quirks mode, but you probably know that already 20:09 < digitarald> and why do do the formrefillter insert one? 20:10 < Wombert> it doesn't 20:10 < Wombert> it's just a bug 20:10 < Wombert> dom inserts one 20:10 < digitarald> what is wrt #65? 20:10 < digitarald> ;) 20:10 < v-dogg> trac.agavi.org/trac.cgi/ticket/65 20:11 < Wombert> wrt = with regard/respect to = regarding 20:11 < eremit> in fact it's #62 20:11 < Wombert> whatever 20:11 < eremit> and i cannot find any additional things about what to do ... 20:12 < Wombert> I'd just like to point out that I'll go all beserk if anyone should raise his/her hand and point out a shortcoming _after_ we finished implementing it 20:12 < Wombert> okay, good to know that :) 20:12 < Wombert> just what I wanted to hear 20:12 < eremit> that's the only point i have a little bit concerns ... "current culture is defined centrally" 20:12 < eremit> centrally != per user ?? 20:13 < Wombert> the one that's the default for the request 20:13 < eremit> ok .. no concerns left :P 20:13 < Wombert> it would usually be set in the routing based on the incoming url (acme.com/de/, acme.com/en/ and so on) 20:13 < Wombert> digitarald: this duplicate prolog thing is pretty scary if you ask me 20:13 < Wombert> 20:13 < Wombert> 20:13 < Wombert> 20:14 < Wombert> note how the second one is broken 20:14 < eremit> autodetection of culture based upon the http header would be nice ... but it's a trivial filter afaik ... 20:14 < Wombert> what the heck is going on there I wonder 20:14 < Wombert> eremit: not a filter! 20:14 < Wombert> the routing! 20:14 < Wombert> you can use sources there... and _SERVER is one of the defaults 20:14 < Wombert> 20:14 < eremit> kk 20:15 < digitarald> u need a good pattern to fetch accept_lang 20:15 < digitarald> because its a list with possebilities 20:16 < digitarald> i have an xml for that too ... with a pattern that fetches the language from the accept_lang 20:17 < Wombert> it would typically be done in a small callback 20:17 < eremit> Wombert, you wanted to discuss the reason why i wanted to disable the fpf in an action ... 20:18 < digitarald> the header problem? ;) 20:18 < Wombert> eremit: first, I wanted to point out that your {link} function might not be working under all circumstances 20:19 -!- __mz [n=ml@80.252.138.123] has quit [] 20:19 < eremit> my {link } smarty tag ? 20:19 < Wombert> yes 20:20 < Wombert> or 20:20 < Wombert> well that was just a guess ;) 20:20 < Wombert> depends whether or not it's a function or a method 20:20 < eremit> it's a function ... 20:20 < Wombert> with Context::getInstance() ? 20:20 < eremit> and i'm aware it can break ... 20:20 < Wombert> good 20:20 < eremit> no ... 20:21 < Wombert> not? 20:21 < eremit> i have a custom view which does $this->setAttribute('routing', $routing); always 20:21 < eremit> in initialize() .. 20:21 < Wombert> I see 20:21 < eremit> the link func fetches the routing from the template... pretty messy ... 20:21 < Wombert> I'd just like to point out another way 20:21 < v-dogg> how about auto-assign in conten_type.xml? 20:21 < eremit> but had to get it up fast ... 20:21 < Wombert> exactly 20:21 < Wombert> you can have the usual factories auto-assigned 20:22 < Wombert> for instance, you can configure the routing to be always assigned as "r" in each template 20:22 < digitarald> that would be cool 20:22 < eremit> nice to know ... another deep burried fact i have yet missed ;P 20:22 < Wombert> so you could just do {$r->gen('asdasd')} in your template 20:22 < Wombert> well 20:22 < Wombert> look at the sample app 20:22 < Wombert> :p 20:22 < v-dogg> eremit: that was added a few weeks ago 20:22 < eremit> yeah ... i most likely missed it ... but had pretty hard time pressure ... 20:23 < digitarald> another idea for the smarty templates 20:23 < eremit> after the first prototype is up now... everything has to be cleaned up and clarified ;) 20:24 < digitarald> please do not assign the additional objects ... please use 20:24 < digitarald> http://smarty.php.net/manual/en/api.register.object.php 20:24 < eremit> ^^ 20:24 < eremit> yes this can be pretty mess up everything ... the whole object handling is crap ... 20:25 < eremit> my problem regarding fpf was i have a wizard ... 20:25 < v-dogg> digitarald: why? 20:25 < eremit> which works like Step1InputView -> POST -> Step1Action -> RETURNS -> Step2InputView 20:26 < eremit> now in step2 values from step1 gets filled in because of duplicate id's 20:27 < Wombert> disable population? 20:27 < eremit> yes that'S why i wanted to disable fpf in an action ... 20:28 < Wombert> no 20:28 < Wombert> you do it in the view! 20:28 < Wombert> in Step2InputView 20:28 < Wombert> because that's where it belongs 20:28 < Wombert> it's presentational 20:28 < Wombert> right? :P 20:28 < eremit> this would need to have logic in the view, where i come from ... 20:29 < Wombert> ? 20:29 < eremit> i want fpf in step2 ... 20:29 < eremit> but not if i come from step1 ... 20:29 < eremit> so i need to have logic to determine which action brought me to the view ... 20:30 < Wombert> you have two options 20:30 < Wombert> 1) the messy way: check if Step1Action is the current action in Step2InputView (easy... last action stack entry) 20:31 < Wombert> 2) do it properly and use a Step2SuccessView where you a) store the values in the session and b) return Step2 as the action 20:31 < Wombert> that would be better imo 20:31 < eremit> 2) one unnecessary http request made ... 20:31 < Wombert> ehm 20:31 < Wombert> no 20:32 < Wombert> I said "return", not "redirect" ;) 20:32 < eremit> ah ... ok ... 20:32 < eremit> hmmm ... 20:32 < Wombert> eremit: look at it from a clearly logical perspective 20:32 < Wombert> you ARE using a wizard, yes 20:32 < Wombert> BUT 20:32 < Wombert> the actions shouldn't have to care about that! 20:32 < Wombert> why would the Step1Action have to decide what to do next? 20:33 < Wombert> that's not properly separated then 20:33 < Wombert> and will cause you headaches if you want to add ajax functionality to the form or whatever (never say never!) 20:33 < eremit> lol ... ok your point ... 20:33 < eremit> i'll use way 1) ... 20:34 < eremit> :P ... because way2 is another totally senseless file in the filesystem ... 20:34 < eremit> and if i may make a wish regarding agavi2 ... reduce the amount of files ... i have far too many files like ... 20:35 < eremit> class AbcSuccessView extends BaseView { public function execute() { return array('foo','bar'); } 20:35 < eremit> exsp. on large scale apps including files fast get a performance bottleneck ... 20:39 < eremit> uh ... astonished ? 20:40 < Wombert> me? 20:40 < eremit> yeah ... i had expected an argue against it O_o 20:40 < Wombert> no, not at all, and I don't agree, but I'm a bit busy right now 20:41 < Wombert> you want one? ;) 20:41 < eremit> loool i can imagine your points ... 20:41 < Wombert> seriously 20:41 < Wombert> I strongly believe history will prove us right 20:41 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 20:41 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/316 : Ticket #316 (task) created by david 20:41 < Wombert> many web applications are moving in the "ajax" direction 20:42 < Wombert> and in the "REST" or, in general, "web services" direction 20:42 < Wombert> that will be more and more common 20:42 < Wombert> and we have the answer 20:42 < Wombert> _today_ 20:42 < eremit> sure but cant there be a way to have more than one view in one class / file ? 20:42 < eremit> my concerns are really only the io reqests on the disks ... 20:43 < eremit> we are currently estimating 20k web reqs / sec ... 20:43 < Wombert> uh huh 20:43 < eremit> and have to be as performant as possible ... 20:43 < Wombert> here's one for you: 20:43 < Wombert> bytecode cache 20:43 < Wombert> solves all your problems 20:43 < eremit> you are aware of apc + _once ? 20:44 < eremit> i know we will have to use bytecode caching and currently we are evaluating the zend tools ... 20:45 < eremit> but still ... i think it's a bad idea to push problems to high levels when they /maybe/ can be solved at low levels 21:08 -!- _mz_ [n=ml@80.252.138.123] has joined #agavi 21:09 < digitarald> what about #62 ... it sounds gut, i think currency, date, time etc. can be added as Attributes because everybody has other dependencies 21:21 -!- eremit is now known as eremit|afk 22:14 < v-dogg> hmm... #316 22:15 < Wombert> or not? 22:15 -!- benny`work [n=benny@p54AC45D2.dip0.t-ipconnect.de] has quit ["unset($this);"] 22:15 < v-dogg> I like actions 22:16 < Wombert> hmm 22:16 < v-dogg> and controller does controller work too, not only dispatcer's 22:16 < v-dogg> or well.. 22:16 < v-dogg> hmm.. 22:16 < v-dogg> tricky 22:17 < Wombert> yep 22:17 < Wombert> it's just a suggestion ;) 22:17 < Wombert> and the milestone is still a long time away 22:17 < Wombert> about an ice age or two ;) 22:17 < v-dogg> but having multiple controllers (AddProductController, ListPrdController and so on) doesn't sounds nice either 22:18 < Wombert> hm 22:18 < Wombert> we'll see 22:18 < Wombert> there's always "wontfix" 22:21 -!- shoan [n=shoan@59.92.140.103] has quit [] 22:23 -!- shoan [n=shoan@59.92.140.103] has joined #agavi 22:45 -!- _mz_ [n=ml@80.252.138.123] has quit [] 22:47 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 22:47 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=360#p360 : New post in Support : I I have found great software store, low prices 22:50 < Wombert> LOL 22:50 < Wombert> http://www.dilbert.com/comics/dilbert/archive/dilbert-20060815.html 23:36 < v-dogg> mm... nice... no more strict standards messages when running tests :) 23:36 < v-dogg> from phpunit, that is 23:36 < v-dogg> agavi still has some issues with that :) 23:36 < v-dogg> (agavi 23:36 < v-dogg> 's tests) 23:38 * Wombert kicks DOM 23:38 < Wombert> I have an idea 23:39 < v-dogg> me too: let me commit test3/ with phpunit3 compatible tests and let's kick test2/ out :) 23:39 < Wombert> phpunit3 is php5.1.4+ only 23:40 < Wombert> anyways 23:40 < v-dogg> how cares, this is beautiful! :) 23:40 < Wombert> I was thinking 23:40 < Wombert> that we should maybe parse XHTML documents with loadXml() rather than loadHtml() 23:40 < Wombert> loadXml() eliminates _all_ problems 23:40 < Wombert> no duplicate xmlns attributes on 23:41 < Wombert> no weird, invalid(!) duplicate xml prologs etc 23:41 < Wombert> however, it's bitching about   and friends then... 23:41 < v-dogg> no hunger and wars? 23:41 < v-dogg> I have used entities with php dom... but I have no idea how :) 23:42 < Wombert> because oyu used loadHtml() 23:42 < Wombert> or you aprsed externals 23:42 < v-dogg> I remember struggling with them 23:42 < Wombert> which means it loads the DTD 23:42 < Wombert> very slow 23:42 < v-dogg> no, I used them with xml 23:42 < Wombert> you can cache it, but that's still slow and requires big unix magic 23:42 < Wombert> xml catalogs, that's the name 23:48 < v-dogg> time to go to bed, good night 23:49 < v-dogg> oh and yes, I think it's a good idea to just loadXml 23:49 < v-dogg> -> 23:49 < Wombert> hm 23:49 < Wombert> nn --- Day changed Wed Aug 16 2006 00:06 < CIA-6> david * r967 /trunk/src/filter/AgaviFormPopulationFilter.class.php: fixed another DOM issue where having an XML prolog in the input document would result in another, incorrect, prolog being inserted after the DOCTYPE declaration 00:07 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 00:07 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/967 : Changeset [967]: fixed another DOM issue where having an XML prolog in the input document ... 00:18 -!- benny`work [n=benny@p54AC45D2.dip0.t-ipconnect.de] has joined #agavi 00:39 * Macca waves 00:56 < Wombert> cheers 01:10 < Macca> yay 01:30 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 02:07 -!- benny`work [n=benny@p54AC45D2.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:27 -!- AgaviBot [n=dzuelke@dslb-088-064-002-200.pools.arcor-ip.net] has quit [Remote closed the connection] 02:27 -!- Wombert [n=Wombert@dslb-088-064-002-200.pools.arcor-ip.net] has quit [] 03:02 -!- Wombert [n=Wombert@dslb-088-064-002-200.pools.arcor-ip.net] has joined #agavi 03:35 -!- Wombert [n=Wombert@dslb-088-064-002-200.pools.arcor-ip.net] has quit [] 04:02 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 54 (Connection reset by peer)] 04:03 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 04:10 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 54 (Connection reset by peer)] 04:13 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has joined #agavi 04:15 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 04:29 -!- eremit|afk [n=eremit@p5490F746.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:29 -!- eremit is now known as eremit|afk 06:12 -!- shoan_ [n=shoan@59.92.130.137] has joined #agavi 06:14 -!- shoan [n=shoan@59.92.140.103] has quit [Read error: 60 (Operation timed out)] 07:02 -!- jake [n=jake@gg.internal.mixxer.com] has quit ["Leaving"] 07:52 -!- shoan_ [n=shoan@59.92.130.137] has quit [] 07:55 -!- shoan [n=shoan@59.92.130.137] has joined #agavi 08:14 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:44 < eremit|afk> morning ... 08:44 -!- eremit|afk is now known as eremit 09:24 < v-dogg> huomenta 09:38 < ttj> Huomen. 09:45 -!- shoan [n=shoan@59.92.130.137] has quit [] 10:40 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:40 < eremit> cgi routing still broken ? 10:42 < v-dogg> no, unless you found a bug 10:47 < eremit> hmm... 10:54 < eremit> uh ... i cant get it up 11:07 < v-dogg> after I've removed a device from raid (mdadm /dev/md3 -r /dev/hda4) 11:08 < v-dogg> can I use it normally? 11:08 < eremit> yes you should ... 11:08 < v-dogg> like fdisk it? 11:08 < eremit> yes ... 11:08 < eremit> fdisk it and ask the raid the rebuild ... 11:08 < v-dogg> because I made a little test.. I pulled the power cord of the disk while it was writing :) 11:09 < eremit> if it hda4 gets deleted again ... it wasnt removed 11:09 < v-dogg> everything worked fine but now I cannot add it back to the array :) 11:09 < eremit> O_o 11:09 < eremit> shouldn't be a problem 11:11 < eremit> and the rewrite routing is still broken ... or i'm stupid again ... 11:16 < v-dogg> are you using mod_rewrite? 11:17 < eremit> yep 11:17 < v-dogg> are you using .htaccess for cgi? 11:17 < eremit> yep 11:17 < eremit> he rewrites to the ?123qwe=/path 11:17 < v-dogg> and you have set the path_info_parameter in factories.xml? 11:17 < eremit> yep 11:18 < v-dogg> hmph 11:18 < eremit> ah ... wait a moment ... 11:19 < eremit> lol i broke it somehow completly ... brb 11:20 < v-dogg> can I somehow easy reformat my disk? 11:20 < v-dogg> wipe everything but keep the partitions 11:20 < eremit> mkfs ? 11:20 < eremit> mke2fs /dev/hdXY 11:24 < v-dogg> lots of I/O errors.. :) 11:24 < eremit> i/o's arent good 11:28 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 11:31 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has joined #agavi 11:48 < v-dogg> I was able to add the disk back to the array and it started resyncing 11:49 < v-dogg> let's see how it'll turn out 11:49 < v-dogg> but the other disk has been available via samba network share all this time 11:49 < v-dogg> which is nice :) 11:51 -!- digitarald| [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:55 < digitarald|> morning 11:55 < eremit> morning digitarald .. 11:56 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 11:58 < eremit> dmn ... never install the zend debugger firefox extension O_o 12:00 < digitarald|> i did ... one time ... it suxxs 12:00 < eremit> yeah just killed my ff 12:00 < digitarald|> i did also extend my installed apache with the zend debugger ... never again 12:00 < eremit> that's working for me 12:01 < digitarald|> it moved my ini somewhere in the program archiv7 12:01 < digitarald|> all commandline php's did break 12:03 < eremit> uh i dont have any problems with it ... 12:03 < eremit> even the ie toolbar works ... 12:08 < digitarald|> yeah ... my name will be in the agavi developer list ... i got it :D 12:33 < digitarald|> when my xhtml is in utf-8 i have to set all my mysql-tables to utf-8, too? 12:45 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 12:46 < v-dogg> digitarald|: that, or somehow convert the encoding before outputing/inputing data 12:47 < v-dogg> that's the reason I don't use wtf-8 12:47 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has joined #agavi 12:48 < v-dogg> data in my db must be iso-8859-1 and converting it back and forth would be prone to errors and a pain in the neck 12:51 < digitarald|> i converted it ... now is all wtf-8 ;) 12:51 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has quit [Client Quit] 12:51 < digitarald|> had the problem that i couldn't login after setting utf-8 in my xml ... because the encrypted password was in the wrong charset 12:52 < digitarald|> its better because my json encoding for the ajax requests is utf-8, too ... just have to look that all connections and inputs where utf-8, too ... 12:54 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has joined #agavi 13:03 -!- digitarald| [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 13:11 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 13:12 < digitarald> video killed the radiostar and java killed my firefox ... nice 14:04 < digitarald> boring ... 14:07 < v-dogg> no! exciting! ;) 14:09 < digitarald> everything ... yes ... i have nice ? for special chars at my page ... now i have to search where is the wrong encoding between database and out put ... great 14:17 < eremit> uh ... v-dogg ? 14:18 < v-dogg> wooty? 14:18 < eremit> are the views somehow broken ? 14:18 < digitarald> btw ... can i create routes to redirect to images? 14:18 < v-dogg> no 14:19 < v-dogg> digitarald: hmm... redirect using header('....)? 14:19 < eremit> the agavismartyrenderer does at line 158 ... $retval = $engine->fetch(...., $view->getDecoratorTempalte(), ... ); 14:19 < eremit> but getDecTemplate returns an array 14:20 < digitarald> header() during the callback? 14:20 < v-dogg> digitarald: I think you can. I don't see any reason why you couldn't 14:21 < digitarald> wouldn't it be an idea to implement something like a redirect as attribute in the routing? 14:22 < v-dogg> eremit: returns an array? 14:23 < eremit> yes because of changeset:962 14:23 < eremit> wombert broke it 14:23 < eremit> he added $literal to setDecoratorTemplate 14:23 < eremit> not $this->DecoratorTemplate is an array ... and get returns the array 14:25 < eremit> setting the array: AgaviView Line: 272, getting the array: AgaviView Line: 159, and AgaviSmartyRenderer Line:158 breaks because of Array to String conversion (implicit) 14:26 < v-dogg> yeah, got it 14:26 < v-dogg> it's broken :) 14:26 < eremit> :) ... 14:26 < eremit> should getDecoratorTemplate really return an array? 14:27 < eremit> or only the file part ? 14:27 < v-dogg> don't know that part of the system really 14:29 < v-dogg> hmm.. all the renderers are broken now 14:29 < eremit> looks like yes ... 14:29 < v-dogg> because they don't know anything about that 'literal' flag 14:29 < eremit> yes ... :/ 14:30 < eremit> I'll open a ticket 14:32 < v-dogg> wait, phprenderer does it properly 14:32 < eremit> uh ... 14:33 < v-dogg> aa, wombie has just missed one instance of getDecoratorTemplate in smartyrend. 14:33 < v-dogg> I'll fix it 14:34 < eremit> kk 14:34 * eremit closes the browser 14:34 < eremit> ty ;) 14:36 < CIA-6> v-dogg * r968 /trunk/src/renderer/AgaviSmartyRenderer.class.php: Fixed the way decorator template filename is built. refs #315 14:43 < eremit> tyvm 14:44 < v-dogg> we aim to please :) 14:50 < digitarald> when i dump my data it is correct, when i echo it the utf-8 data is wrong ... i think phpmyadmin breakes it 15:10 -!- shoan [n=shoan@61.95.206.107] has quit [] 15:17 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 15:19 -!- horros_ [n=mle@w172.ip4.netikka.fi] has quit [Read error: 110 (Connection timed out)] 15:27 < CIA-6> dominik * r969 /trunk/src/config/ (4 files in 3 dirs): 15:27 < CIA-6> translator config handler 15:27 < CIA-6> refs #62 15:33 < CIA-6> dominik * r970 /trunk/src/config/AgaviTranslatorsConfigHandler.class.php: 15:33 < CIA-6> next time i should take more care when doing c&p ;) 15:33 < CIA-6> refs #62 15:42 < CIA-6> dominik * r971 /trunk/src/config/AgaviTranslatorsConfigHandler.class.php: 15:42 < CIA-6> more fixes 15:42 < CIA-6> refs #62 15:45 < CIA-6> dominik * r972 /trunk/src/translation/AgaviITranslator.interface.php: 15:45 < CIA-6> typo fix 15:45 < CIA-6> refs #62 15:45 < CIA-6> dominik * r973 /trunk/src/translation/AgaviTranslationManager.class.php: 15:45 < CIA-6> make use of the translators.xml config file 15:45 < CIA-6> refs #62 15:50 < CIA-6> dominik * r974 /trunk/src/ (4 files in 3 dirs): add Id keyword property 15:54 < CIA-6> dominik * r975 /trunk/src/translation/ (2 files): 15:54 < CIA-6> add a base translator implementation (defines getContext) 15:54 < CIA-6> and an empty gettext translator 15:54 < CIA-6> refs #62 15:56 < CIA-6> dominik * r976 /trunk/src/ (4 files in 4 dirs): 15:56 < CIA-6> add translation manager to AgaviContext and factories.xml 15:56 < CIA-6> add use_translation setting to settings.xml.tmpl 15:56 < CIA-6> refs #62 16:04 < digitarald> i'm exited about translation features :) 16:04 < digitarald> do i have to save the translation to the user-attributes or something like that? 16:04 < digitarald> not translation, the actual language 16:08 < v-dogg> don't know but I'd think you can do it that way or use routing only 16:08 < v-dogg> example.com/shop/en 16:08 < v-dogg> example.com/shop/de 16:09 -!- Wombert [n=Wombert@dslb-088-064-007-232.pools.arcor-ip.net] has joined #agavi 16:10 < v-dogg> hey there, David Zülke 16:16 < digitarald> *lol* 16:17 < digitarald> i'm actually saving the choosen language in an attribute ... 16:18 < digitarald> it's right, i just need to access the parameter ... but when the user accidently change the path and delete the language its still avaible 16:18 < v-dogg> yep 16:28 < digitarald> may be it could save the language in a own namespace in the user and when no parameter is given it can look there :) 16:43 < Wombert> I remember saying "ahem" 16:43 < Wombert> digitarald: you're wasting your time 16:43 < Wombert> we're working on i18n already 16:43 < Wombert> aaaand 16:44 < Wombert> with your feedback and comments 16:44 < Wombert> it's gonna be better and, maybe, finished earlier 16:44 < Wombert> :) 16:44 < Wombert> I fixed the duplicate xml prolog problem, by the way 16:44 < Wombert> and 16:44 < Wombert> awesome news 16:44 < Wombert> I think I can fully integrate Propel with Agavi 16:44 < v-dogg> we are all ears 16:44 < Wombert> so you do 16:45 < Wombert> $bp = $context->getModel'(BookPeer'); 16:45 < Wombert> $bp->retrieveByPK(14); 16:45 < Wombert> and both peers and rows 16:45 < Wombert> will know the context 16:45 < Wombert> which means you can finally put _all_ of your stuff into these models 16:46 < Wombert> sure, it was possible to do AgaviContext::getInstance() before, but that's... well... not clean, and prone to breakage 16:46 < Wombert> safest thing would be a dedicated propel context, but there, you can't access the user, request, etc 16:46 < Wombert> does that sound good, v-dogg ? 16:47 < v-dogg> I'm not sure what it means but yes :) 16:47 < Wombert> are you using propel? 16:47 < v-dogg> yes 16:48 < Wombert> you may have noticed 16:48 < Wombert> that the peers and objects 16:48 < Wombert> aren't integrated with agavi 16:48 < v-dogg> sure 16:48 < Wombert> you can't access the cotnext from there 16:48 < Wombert> for instance, when a product gets save()d 16:48 < v-dogg> I haven't needed that. my propel usage is fairly simple 16:48 < Wombert> you might want to send emails to all customers who have a stored search that now matches this product 16:48 < Wombert> oh 16:49 < Wombert> well okay then 16:49 < Wombert> BUT 16:49 < Wombert> a really good use case 16:49 < Wombert> would be i18n! 16:49 < v-dogg> but please go on still :) 16:49 < Wombert> for instance, category names 16:49 < Wombert> would already be translated 16:49 < Wombert> when you do $product->getCategory()->getName(); 16:49 < Wombert> because it can fetch the currently set language 16:50 < Wombert> and go translate it 16:50 < Wombert> because... it knows the context ;) 16:50 < v-dogg> sounds good 16:52 < v-dogg> but tell me, what the hell is wrong with my attributes and templates >:| 16:52 < v-dogg> attributes set in an action don't show in template 16:53 < Wombert> yeah I've seen a similar problem I believe... might be a bug 16:53 < Wombert> but 16:53 < Wombert> at least with the views 16:53 < Wombert> it's working 16:53 < Wombert> hmmm 16:54 < Wombert> are you returning a view that doesn't belong to the action or so? 16:54 < Wombert> well but no that can't be a problem 16:54 < Wombert> s/at least with the views/at least in the sample app 16:54 < v-dogg> I just converted all $template['foo'] to $foo 16:54 < Wombert> did you set extract_vars to ture? 16:55 < digitarald> please don't put the context in the models ... 16:55 < v-dogg> true false slot 16:55 < Wombert> digitarald: excuse me? 16:55 < v-dogg> slots work fine 16:56 < digitarald> when a model need the context u can give it as a parameter 16:56 < Wombert> digitarald: no, wrong 16:57 < digitarald> my head of development said it and it's also my opinion ... with context avaible in models u are supposed to are suborned to do stupid stuff 16:57 < Wombert> in fact, when your model extends AgaviModel, you'll have the context 16:58 < Wombert> if your model implements an "initialize" method, the first argument to that method will be the context 16:58 < digitarald> my propel models don't extend the AgaviModel 16:58 < Wombert> it's always been like this, and we won't change it 16:58 < Wombert> well, okay then 16:58 < v-dogg> digitarald: you don't have to use agavi models 16:58 < Wombert> nobody said you _have_ to use the integration 16:59 < digitarald> u said me i have to put my models in lib/ ... not in models/ 16:59 < v-dogg> just do your own independent models, use autoload.xml, singleton, factory or what ever pleases you and your bosses 16:59 < Wombert> we'll ship AgaviPropelBasePeer and AgaviPropelBaseModel plus an extended PeerBuilder so, if anyone wants to use the integration, it's gonna be easy 17:00 < Wombert> digitarald: that's the whole point of agavi 17:00 < Wombert> do it the way YOU like 17:00 < Wombert> not the way WE like it 17:00 < Wombert> (unless, of course, it's stupid) 17:00 < v-dogg> ;p 17:00 < Wombert> (which is the reason why I'm saying "waaaaait you're doing it wrong" every now and then) 17:00 < digitarald> btw ... keyword: rbac user ;) 17:00 < Wombert> yeah 17:01 < Wombert> give me some time please ;) 17:01 < Wombert> it's on my schedule for today 17:01 < v-dogg> Wombert: back to that template problem, so it might be a bug in agavi and not in my code? 17:01 < digitarald> ok ... timeline for the rbac-user and timeline for the agavipropelmodels? ;) 17:01 < Wombert> I just woke up with a huuuuge headache this morning and went straight back to bed 17:01 < Wombert> v-dogg: maybe, yeah, but I must say I tested it heavily 17:01 < Wombert> v-dogg: also, the sample app uses the same way 17:01 < Wombert> slots in $slots, template vars extracted 17:02 < Wombert> digitarald: uuh... maybs "it's done when it's done"? ;) 17:02 < Wombert> j/k 17:02 < digitarald> ok, thats cool ;) 17:02 < Wombert> hope to have rbac user ready tomorrow in the morning, at the latest 17:03 < Wombert> I have to change propel a bit for the integration, so the modifications are easier, and want to discuss that on the dev mailing list first before just committing to the 1.2 branch without discussion 17:03 < Wombert> have been away from active propel development for too long to do that 17:03 < digitarald> where do i have to put my propel models when the new classes are ready ... now they are models/propel/* 17:03 < Wombert> even though I'm still called "project lead" ;) 17:03 < Wombert> digitarald: nothing will change for you 17:03 < Wombert> unless you WANT it 17:04 < digitarald> unless YOU set the standards ;) 17:04 < Wombert> no, it won't be default 17:04 < Wombert> it will be an option, probably an option we encourage, but it's not going to be mandatory 17:04 < digitarald> there are defaults all the time ... users need defaults ... developers are default by default ... need coffee 17:06 < Wombert> digitarald: this tighter integration won't work anyway unless a developer takes active measures to make it happen 17:06 < Wombert> specifically, you'll have to change build.properties to specify the base peer and row classes 17:06 < Wombert> AND 17:06 < Wombert> you have to change it to point to an extended ObjectBuilder 17:07 < Wombert> then, rebuild the project 17:07 < Wombert> and THEN, it will work 17:07 < Wombert> maybe :p 17:07 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:09 < digitarald> sounds ... interesting 17:10 < digitarald> does somebody experience the problems with mysql/utf8 ... i have the fix to send the query SET NAMES utf8 ... but may be there is another solution in agavi? 17:11 < Wombert> what problem exactly 17:11 < Wombert> I've always stored UTF8 in mysql without problems 17:11 < Wombert> even with mysql 3 17:13 < v-dogg> for fucks sake... 17:14 < v-dogg> Wombert: if you see this problem again, first check whether MyView::initialize calls the parent (AgaviView) with proper parameters :D 17:14 < Wombert> aaaah 17:14 < Wombert> yeah 17:14 < Wombert> haha 17:14 < Wombert> that was the same problem 17:14 < Wombert> I remember dominik bitching about it 17:15 < Wombert> (as usual) 17:15 < Wombert> UUUH FIX YOUR CRAP AND BLAH THAT SUCKS AND BLAAAAH 17:15 < v-dogg> I wrote my base view before those attributes were added 17:15 < Wombert> and I said "any change you didn't update out BaseContentView to accept parameters" 17:15 < Wombert> well 17:15 < Wombert> we then agreed that I'd continue to port the project to 0.11 ;) 17:17 < digitarald> btw ... will propel use my database settings then? ;) 17:17 < v-dogg> what do you mean? 17:18 < digitarald> databases.xml ... propel has its own propel-config file 17:19 < Wombert> uhm 17:19 < Wombert> you _are_ using the propel integration, aren't you? 17:20 < Wombert> you have an entry in databases.xml that uses PropelDatabase and points to the runtime-conf.php!? 17:20 < digitarald> mmmhh ... yes 17:21 < Wombert> good 17:21 < Wombert> what else do you need then? :> 17:21 < digitarald> but i want the settings in the xml :) 17:21 < Wombert> uh huh 17:21 < Wombert> that doesn't work though 17:27 < v-dogg> Wombert: can't I overwrite parameters in validation? (eg. I have a input called 'projectid' and I want my number validation to overwrite that so that I can use $parameters->getParameter('projectid') and get the validated and normalized value) 17:28 < v-dogg> hmm.. something is not right here 17:29 < Wombert> $this->validationParameters->setParameter('projectid', 'adsad'); 17:29 < Wombert> I guess you can see why i want to rename that one to... validatedParameters or whatever 17:30 < v-dogg> I think $this->export was to be used 17:31 < Wombert> I must say I discussed the way this validation thing currently works with dominik and i still don't like it 17:31 < Wombert> IMO, a validator would set all fields he validated into the "clean" parameter holder 17:31 < Wombert> right now, it uses some weird magic to decide whether or not a value should be removed 17:31 < Wombert> (that's for strict and tainted mode.... the "normal" mode would still auto-forward all values) 17:32 < v-dogg> how do I set the mode? 17:33 < Wombert> not sure 17:33 < Wombert> some parameter to ValidatorManager 17:35 < v-dogg> ok.. export doesn't work the way I expected... 17:35 < v-dogg> and hey, do you know if there's a 'required' setting like there used to be? 17:36 < v-dogg> ie. are empty values ok or not 17:48 * v-dogg is about to go bananas 17:49 < v-dogg> UUUH FIX YOUR CRAP AND BLAH THAT SUCKS AND BLAAAAH 17:49 < v-dogg> that helped 17:49 < v-dogg> little 18:00 -!- benny`work [n=benny@p54AC40AF.dip0.t-ipconnect.de] has joined #agavi 18:07 < v-dogg> I don't get how this works 18:08 < v-dogg> AgaviValidator::export calls AgaviVirtualArrayPath::setValueByChildPath 18:09 < v-dogg> which clones itself and then return a value from getValue 18:10 < v-dogg> Wombert, anybody? 18:11 < v-dogg> should that getValue be setValueFromArray? 18:12 < Wombert> getValue gives a reference 18:12 < Wombert> which is then changed 18:14 < v-dogg> no 18:14 < Wombert> export is for _new_ values 18:15 < Wombert> e.g. an MktimestampValidator 18:15 < Wombert> which a) validates three separate fields for day, month, year 18:15 < v-dogg> but now, it doesn't export anything anywhere 18:15 < Wombert> and b) export()s a new value, "timestamp", containing a unix timestamp built from the three values 18:16 < Wombert> the value will be available in the ParameterHolder that is handed to execute() of action and view 18:16 < v-dogg> and why it should be different for new values? 18:16 < v-dogg> http://trac.agavi.org/trac.cgi/browser/trunk/src/validator/AgaviValidator.class.php#L368 18:16 < Wombert> note that your validator must have export="targteval" 18:17 < v-dogg> it does 18:17 < v-dogg> that code would work if $this->curBase->setValueByChildPath(...) would do something 18:17 < v-dogg> but it doesn't :) 18:18 < v-dogg> AgaviVirtualArrayPath::setValueByChildPath must be broken 18:18 < v-dogg> must must must 18:18 < v-dogg> or I have lost it completely :) 18:19 < v-dogg> which is possible too 18:21 < v-dogg> if I replace getValue with setValueFromArray it works 18:21 < v-dogg> just a shot in the dark 18:22 < digitarald> Wombert: the datasource for propel in my databases.xml is ignored, it uses just the one that is set in the propel.cfg.php 18:23 < v-dogg> propel doesn't know jack about agavi's database config 18:24 < Wombert> v-dogg: where exactly does it do getValue()? 18:24 < v-dogg> AgaviVirtualArrayPath::setValueByChildPath 18:24 < v-dogg> http://trac.agavi.org/trac.cgi/browser/trunk/src/util/AgaviVirtualArrayPath.class.php#L277 18:25 < v-dogg> that replaced with setValueFromArray everything seems to work 18:26 < v-dogg> overwriting existing values and defining new ones 18:26 < CIA-6> david * r977 /trunk/src/util/AgaviVirtualArrayPath.class.php: fixed AgaviVirtualArrayPath::setValueByChildPath(), merci beaucoup, Veikko 18:26 < v-dogg> \o/ 18:27 < Wombert> we're making good progess wrt translation, by the way 18:27 < Wombert> question: where should the current locale be stored 18:27 < Wombert> controller? 18:27 < Wombert> user? 18:27 < Wombert> request? 18:28 < v-dogg> hmm 18:28 < Wombert> I think I like request... "the request came in and was phrased in this locale" 18:28 < digitarald> the user ;) 18:28 < v-dogg> yes 18:28 < v-dogg> user would be my second option but request seems more natural 18:29 < v-dogg> depends how your app work 18:29 < v-dogg> but request should be a safe choice 18:30 < digitarald> vote: yes 18:30 < v-dogg> request 18:30 < Wombert> dominik wants to store it in the translationmanager only, but it really doesn't belong there 18:31 < v-dogg> I was just going to ask is it able to store values :) 18:31 < Wombert> I proposed that Whatever::setLocale() would inform registered callbacks about the change, and one callback would be the translation manager 18:38 < Wombert> your thoughts on singular and plural translations? 18:38 < Wombert> my suggestion was 18:38 < Wombert> $tm->_('Hello this is a test'); 18:38 < Wombert> and 18:39 < Wombert> $tm->_(array('There is %d monkey in the tree', 'There are %d monkeys in the tree', $monkeyCount), array($monkeyCount)); 18:40 < v-dogg> what's the last array($monkeyCount)? 18:41 < Wombert> the sprintf argument 18:42 < Wombert> better example 18:42 < v-dogg> and the $monkeyCount in the first array? 18:42 < Wombert> $tm->_('Hello, %s. The number of messages waiting for you: %d', array('v-dogg', 5); 18:43 < Wombert> $tm->_(array('Hello, %s. There is %d message waiting for you', 'Hello, %s. There are %d messages waiting for you', 5), array('v-dogg', 5); 18:44 < v-dogg> so array(singular, plular, actual_count)? 18:45 < v-dogg> if actual_count=1 then use singular else use plural? 18:45 < Wombert> exactly 18:45 < Wombert> other languages handle this differently 18:45 < Wombert> english just has two cases 18:45 < Wombert> one 18:46 < Wombert> or anythign else 18:46 < Wombert> russian, however, has many different forms 18:46 < Wombert> gettext will handle that then 18:47 < v-dogg> that sounds adequate 18:47 < Wombert> the other option would be a separate method for singular/plural translation 18:47 < Wombert> also, argument order is the question... message, language, params 18:47 < v-dogg> sounds complicated 18:47 < Wombert> or message, params, language 18:47 < Wombert> yeah but passing an array is not tooo intuitive either 18:47 < v-dogg> true 18:48 < v-dogg> how does gettext handle this? 18:48 < Wombert> separate method 18:48 < Wombert> http://de3.php.net/gettext 18:49 < v-dogg> do we have some other i18n implementations to compare to? 18:49 < v-dogg> besides gettext 18:50 < digitarald> the pear one sucks 18:50 < v-dogg> I thought it would 18:50 < digitarald> take a look at the i18n impl. of prado 18:50 < v-dogg> because... you know... it's pear :) 18:50 < eremit> is it somehow possible to get the current module and viewname into the templates? 18:50 < digitarald> prado has a very good one ... don't know about symfony 18:51 < Wombert> symfony copied prado's code 18:51 < Wombert> they just copied everything they liked from other frameworks 18:51 < Wombert> one of my complaints 18:51 < Wombert> anyways, yes, I did, of course, have a look at prado's stuff 18:51 < v-dogg> they copied and then messed everything :) 18:52 < v-dogg> a good way to go :) 18:52 < Wombert> v-dogg: we'll likely also ship XLIFF support in addition to gettext 18:52 < Wombert> if you then need to translate stuff that's stored in a databsae, you'll have to write your own translator 18:53 < Wombert> there will be "domains"; think of them as namespaces 18:53 < Wombert> you can map domains to sources 18:53 < Wombert> $tm->_('Hello World', 'messages'); 18:53 < Wombert> would use the "messages" namespace, which might be mapped to gettext or so 18:54 < Wombert> eremit: the action stack will tell you 18:55 < Wombert> $this->getContext()->getActionStack()->getLastEntry()->getModuleName() 18:55 < v-dogg> but not the view, or does it? 18:55 < eremit> yes but i need the view ... 18:55 < Wombert> uhm 18:55 < eremit> basically it'S a slot used to change the theme ... so i want to get back to the view i had before changing the dropdown 18:56 < eremit> i can put the viewname in each view .. but that's somehow crappy imho 18:56 < Wombert> so you'd pass the view name as a param? 18:56 < eremit> yes ... the module and the viewname ... 18:56 < Wombert> ... 18:56 < eremit> the action of the slot only returns the old view 18:56 * Wombert ponders starting yet another argument about presentational stuff in the view 18:56 < Wombert> -view+action 18:57 < Wombert> but well 18:57 < Wombert> anyways 18:57 < eremit> pardon? i clearly seperated action and view ... 18:57 < Wombert> what about 18:57 < Wombert> get_class($this) and some search and replace magic 18:58 < eremit> yeah ... that hacking was something i wanted to circumvent... and expected agavi somewhere to store the current viewname ... ;) 18:58 < eremit> but ok ... 18:58 < Wombert> do it in a base view execute() method 18:59 < Wombert> another vote 18:59 < Wombert> "locale" or "culture" 18:59 < Wombert> polls closing in 60 seconds ;) 18:59 < Wombert> tosses in a "locale" 18:59 < eremit> locale as linux uses it too ^^ 19:00 < v-dogg> locale 19:00 < v-dogg> culture... what hell is that :P 19:00 < Wombert> polls closed, locate: 3, culture: nil 19:01 < v-dogg> seriously, where did symfony get that on? 19:01 < v-dogg> one 19:01 < Wombert> from prado 19:02 -!- shoan [n=shoan@59.92.156.1] has joined #agavi 19:05 < Wombert> default locale? 19:05 < Wombert> in settings.xml? 19:05 < Wombert> core.default_locale ? 19:06 < v-dogg> yes 19:10 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 19:11 < v-dogg> how does validator work with should work 19:12 < Wombert> it will validate all foo fields then 19:12 < Wombert> use foo[] as the field name in the validator definition 19:12 < Wombert> or foo[*] if that doesn't work 19:12 < Wombert> foo[*][bar] is possible, too, of course 19:13 < Wombert> also, there should now be a way to access the keys that were matched in case you need them 19:13 < v-dogg> I don't, but fpf needs them :) 19:13 < CIA-6> dominik * r978 /trunk/src/config/xsd/output_types.xsd: 19:13 < CIA-6> allow translation manager auto aliasing in templates 19:13 < CIA-6> refs #62 19:13 < Wombert> no, fpf cannot validate or re-populate foo[] 19:14 < Wombert> ("validate" = mark it red or so) 19:14 < CIA-6> dominik * r979 /trunk/src/config/AgaviFactoryConfigHandler.class.php: 19:14 < CIA-6> change initialization order 19:14 < CIA-6> refs #62 19:15 < Wombert> looks like dominik is trying to get the commit count up a little today 19:15 -!- AgaviBot [n=dzuelke@dslb-088-064-007-232.pools.arcor-ip.net] has joined #agavi 19:18 < v-dogg> foo[] validation doesn't seem to work that way 19:19 < Wombert> try foo[*] 19:19 < v-dogg> no, not that either 19:19 < CIA-6> dominik * r980 /trunk/src/translation/ (4 files): 19:19 < CIA-6> adjusted translate() interface 19:19 < CIA-6> new localeChanged callback 19:19 < CIA-6> refs #62 19:20 < v-dogg> home -> 19:20 < v-dogg> bbl 19:20 < Wombert> kk 19:20 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:20 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/980 : Changeset [980]: adjusted translate() interface new localeChanged callback refs #62 19:22 < CIA-6> dominik * r981 /trunk/src/config/defaults/autoload.xml: 19:22 < CIA-6> adjust autoload.xml for the new translators 19:22 < CIA-6> refs #62 19:22 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:22 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/981 : Changeset [981]: adjust autoload.xml for the new translators refs #62 19:23 < CIA-6> dominik * r982 /trunk/src/config/ (AgaviTranslatorsConfigHandler.class.php xsd/translators.xsd): 19:23 < CIA-6> move the default_domain to translators.xsd 19:23 < CIA-6> refs #62 19:25 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:25 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/982 : Changeset [982]: move the default_domain to translators.xsd refs #62 19:27 < CIA-6> dominik * r983 /trunk/src/request/AgaviRequest.class.php: 19:27 < CIA-6> the request now has a locale 19:27 < CIA-6> refs #62 19:28 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:28 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/983 : Changeset [983]: the request now has a locale refs #62 19:36 < CIA-6> dominik * r984 /trunk/src/ (3 files in 3 dirs): 19:36 < CIA-6> add possibility to set locale in the routing 19:36 < CIA-6> refs #62 19:36 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:36 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/984 : Changeset [984]: add possibility to set locale in the routing refs #62 19:39 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 19:39 < digitarald> vote locale ... 19:39 < digitarald> ;) 19:41 < Wombert> too late 19:41 < Wombert> :> 19:44 < v-dogg> germys are on fire 19:45 < v-dogg> commiting like maniacs 19:49 < digitarald> is i18n now ready for action? ;) 19:50 < Wombert> not yet I think 19:51 < CIA-6> dominik * r985 /trunk/src/config/xsd/output_types.xsd: 19:51 < CIA-6> uh ... 19:51 < CIA-6> refs #62 19:52 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:52 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/985 : Changeset [985]: uh ... refs #62 19:52 < v-dogg> brilliant commit message 19:52 < CIA-6> dominik * r986 /trunk/src/config/xsd/output_types.xsd: 19:52 < CIA-6> omg ... next time i should think before committing ... 19:52 < CIA-6> refs #62 19:54 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:54 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/986 : Changeset [986]: omg ... next time i should think before committing ... refs #62 19:59 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:59 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/317 : Ticket #317 (enhancement) created by david 19:59 < CIA-6> david * r987 /trunk/src/ (2 files in 2 dirs): getViewName() and getViewModuleName() for ActionStackEntry, closes #317 20:00 < Wombert> eremit: that should make it easier for you 20:01 < digitarald> btw ... please take that cookie out of the sample app that saves the user password in plaintext ... somebody could use that code for real ;) 20:02 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 20:02 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/317 : Ticket #317 (enhancement) closed by david 20:02 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/987 : Changeset [987]: getViewName() and getViewModuleName() for ActionStackEntry, closes #317 20:04 < Wombert> uuuuu 20:04 < Wombert> a bug! in teh bot! 20:04 < Wombert> oh 20:04 < Wombert> no 20:04 < Wombert> my bad 20:04 < Wombert> :> 20:11 < digitarald> btw ... setlocale supports more than one parameter 20:12 < Wombert> you mean multiple locales? 20:13 < digitarald> AgaviGettextTranslator->localeChanged should support something like that array('de_DE', 'de_DE@euro') 20:14 < digitarald> because locales differ between different systems 20:15 < digitarald> just take a look at the examples: http://www.zend.com/manual/function.setlocale.php 20:16 < Wombert> yes yes yes 20:16 < Wombert> we know about this 20:16 < Wombert> ;) 20:16 < Wombert> it's in the works 20:16 < Wombert> the problem is where to define the locales, how to bind them together, how to bind them to languages, etc etc etc etc 20:16 < digitarald> xml config ;) 20:16 < Wombert> no 20:16 < Wombert> see 20:16 < Wombert> that's why we have to think about what we do ;) 20:16 < digitarald> xml config for everything! 20:16 < digitarald> ;) 20:17 < Wombert> some people might store the available languages in a database 20:17 < digitarald> i have this ... i would not store languages in the xml config ;) 20:17 < digitarald> the xml is just to show the pattern for the database ... example: 20:19 < digitarald> 20:21 < digitarald> example is not really good but i hope the statement is clear ;) 20:25 < Wombert> don't forget encodings... another problem 20:25 < digitarald> yes, because of that its not a good example ;) 20:29 < digitarald> u need a pattern and a resultung locale+codeset 20:30 < digitarald> btw ... my favorite is the python locale integration 20:30 < digitarald> http://svn.python.org/projects/python/branches/ast-objects/Lib/locale.py 20:36 < v-dogg> Notice: Undefined variable: braces in C:\workspace\test\agavi\filter\AgaviFormPopulationFilter.class.php on line 152 20:37 < v-dogg> when using foo[] 20:37 -!- shoan_ [n=shoan@59.92.147.226] has joined #agavi 20:37 < Wombert> uh wtf 20:38 < Wombert> will look into it 20:41 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 20:42 < v-dogg> I can't figure out how arrays are supposed to be validated 20:43 < v-dogg> foo[1] works, but not foo[] or foo[*] 20:44 < impl> Wait, what? 20:45 < v-dogg> agavi validators (in 0.11) 20:45 < Wombert> v-dogg: try putting foo[] into the base, and leave param empty 20:46 < Wombert> 20:46 < impl> foo[text] won't work? 20:46 < Wombert> yes that will work 20:47 < impl> Okay... what does foo[*] represent? 20:47 < Wombert> all foo fields 20:47 -!- shoan [n=shoan@59.92.156.1] has quit [Read error: 110 (Connection timed out)] 20:47 < Wombert> foo[0], foo[1], foo[2] etc 20:48 < v-dogg> Wombert: thanks! that works 20:48 < v-dogg> BUT 20:48 < v-dogg> Notice: Undefined variable: fieldName in C:\workspace\test\agavi\validator\AgaviValidatorManager.class.php on line 328 20:49 < Wombert> did you use param="" ? 20:49 < Wombert> don't omit it 20:49 < v-dogg> both 20:49 < Wombert> ah sorry 20:49 < v-dogg> empty and undefined 20:49 < v-dogg> and fpf doesn't get the error 20:50 < Wombert> sorry I meant 20:50 < impl> What's param supposed to be for? 20:50 < Wombert> 20:50 < v-dogg> yes, I got it 20:50 < impl> :s 20:50 < v-dogg> tried that and leaving it out 20:53 < v-dogg> AgaviValidatorManager.class.php:328 must be a typo 20:53 < v-dogg> $fieldName is not defined 20:53 < Wombert> yep 20:55 < CIA-6> dominik * r988 /trunk/src/validator/AgaviValidatorManager.class.php: fix typo 20:55 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 20:55 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/988 : Changeset [988]: fix typo 20:56 < v-dogg> yay! 20:57 < v-dogg> now the only thing missing is fpf's class="error" 20:57 < Wombert> do you have ? 20:57 -!- shoan_ [n=shoan@59.92.147.226] has quit [Read error: 104 (Connection reset by peer)] 20:58 < v-dogg> changed to foo[1] 20:58 < Wombert> that works 20:58 < v-dogg> no it doesn't :) 20:58 < Wombert> imagine three checkboxes, each must be checked 20:58 < Wombert> the user checks the first and the last 20:58 < Wombert> in php, you get foo[0] and foo[1] 20:58 < v-dogg> yes, I get it :) 20:59 < Wombert> so you can't know which one to select 20:59 < Wombert> hmm 20:59 < v-dogg> but fpf is all quiet here 21:02 < Wombert> true 21:02 < Wombert> hmm 21:10 < Wombert> will try to fix it 21:10 < Wombert> must say I don't like the validation system at all 21:10 < Wombert> ... 21:10 < Wombert> and this i18n shit drives me up the wall 21:10 < Wombert> locales, encodings, gnnnnhhhh 21:10 < impl> If everyone just used English this wouldn't be a problem 21:11 < impl> All we need is uchar 21:11 < Wombert> english, UTC, no daylight savings time and that's it 21:11 < Wombert> for everyone 21:11 < impl> Yes 21:11 < impl> I agree 21:11 < Wombert> I don't care if the chinese get up in the afternoon then 21:11 < Wombert> we don't even need utf8 anymore 21:12 < Wombert> oh and we could get rid of the imperial system, too, while we're at it 21:12 < Wombert> I guess impl will say "imperial > metric" now :p 21:12 < impl> You can't come within 12 inches of our system 21:12 < impl> :D 21:12 < Wombert> :p 21:12 < Wombert> seriously, don't you think imperial sucks? 21:12 < Wombert> I mean 21:12 < Wombert> tell me 21:12 < Wombert> _now_ 21:12 < Wombert> how many inches are in 1,4723 yards 21:13 < Wombert> I can tell you how many centimeters are in 1,4723 meters... easy ;) 21:13 < Wombert> 1. that is 21:13 < Wombert> yeah we could get rid of that, too 21:14 < impl> Google can tell me 21:14 < Wombert> 123,456.78? haha... stupid 21:14 < Wombert> 123.456,78 ftw 21:14 < impl> 1.4723 yards = 53.0028 inches 21:15 < Wombert> 1 kilometer = 1000 meters = 100 centimeters = 10 millimeters 21:15 < Wombert> easy 21:15 < Wombert> 1 liter = 10 cubic centimeters 21:15 * impl knows the metric system too :P 21:16 < impl> I thought 1 cm^3 = 1 mL 21:17 < Wombert> oooh watch it! cubic! 21:17 < impl> 1 liter = 1 000 cubic centimeters 21:17 < Wombert> 10cm^3 = 0.001 m^3 ! 21:18 < impl> You should see the conversions for like... grams to pounds 21:18 < Wombert> yes but 1000 cubic centimeters aren't a cubic meter ;) 21:18 < impl> 1 gram = 0.00220462262 pounds 21:18 < Wombert> a pound is _roughly_ 0.5kg 21:19 < Wombert> us pounds are 455 grams or so IIRC 21:19 < impl> Something like that :\ 21:19 < impl> I agree with you though 21:19 < impl> The imperial system sucks :( 21:20 < Wombert> it's utterly complicated 21:20 < impl> What do you want, 8 ounces, half a pint, or a cup? 21:20 < Wombert> I mean... "yards", "miles", "ounces" and "pints" are nice words but 21:20 < Wombert> haha :) 21:20 < Wombert> ooooh I gotta load the latest Lucky Louie episode 21:20 < Wombert> how could I forget that 21:21 * impl ponders 22:36 < v-dogg> Wombert: what's the biggest problem with the validation system? 22:37 < v-dogg> or what problems it has in general 22:46 < v-dogg> and now my next array validation problem: how to validate row[*][foo]? 22:48 < Wombert> v-dogg: I think it's not very intuitive 22:49 < Wombert> lacks consistency 22:49 < Wombert> row[*][foo]... 22:49 < Wombert> should work by setting row[] as the base 22:49 < Wombert> and [foo] as the param 22:50 < v-dogg> both foo and [foo] seem to work 22:50 < Wombert> fpf should break again, tho 22:50 < Wombert> I told dominik about that problem 22:50 < Wombert> he said he'd fix it 22:51 < ttj> A pint is good. Especially if it's Guinness. 22:51 < Wombert> I concur 22:59 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit [Read error: 110 (Connection timed out)] 23:43 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 23:52 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 23:52 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=363#p363 : New post in Support : Hi, look, it is interesting 23:52 < ttj> Wombert: You're a Mac-user, right? 23:52 < Wombert> yep 23:53 < ttj> What machine? 23:54 < ttj> Or do you have any experience with the MacBooks? i.e. is the heat issue really of the scale that I should worry about it? --- Day changed Thu Aug 17 2006 00:03 < ttj> Well, I guess I'll just go fetch a MacBook for the time being when I get my next paycheck. My ThinkPad T21 died the other day and I need to replace it quickly with something cheap. 00:03 < Wombert> re 00:03 < Wombert> macbooks are awesome 00:04 < Wombert> unless, of course, you can afford a macbook pro ;) 00:04 < Wombert> the iBooks weren't really good for "pros" 00:04 < Wombert> wheras the macbooks are 00:04 < Wombert> (digital sound, dvi out, all that stuff) 00:05 < Wombert> get it, you won't be disappointed 00:05 < Wombert> I got myself the last model of the 15" Powerbook G4 last october (or november... can't remember), and it's the best decision in my entire life regarding computers 00:05 < Wombert> I never want to go back to windows 00:05 < Wombert> especially since you have all the unix power under the hood 00:05 < Wombert> it's just amazing 00:06 < ttj> Just what I wanted to hear. :-) 00:06 < Wombert> my only gripe is that the machine tends to be slow under load, but that's because the cpu is oooooold 00:06 < Wombert> I know some MacBook and some MacBook pro owners 00:06 < Wombert> and these things are FAST 00:06 < Wombert> but 00:06 < Wombert> ! 00:06 < Wombert> don't buy ram from apple 00:06 < ttj> Yep. 00:06 < Wombert> and buy 1gb at least 00:07 < Wombert> I have 1.5, but that's almost too much I think 00:07 < ttj> Can't really justify getting a MacBook Pro since I don't do gaming nor do I really care that much for the nicer looking casing to shell an extra EUR 700. 00:08 < Wombert> there are some advantages 00:08 < Wombert> main reason why I got one is the dvi port and the extended desktop 00:08 < Wombert> ibook didn't have that 00:08 < Wombert> but the macbook does now 00:08 < Wombert> so no problem there 00:08 < digitarald> can i put actions to slots and give them a parameter that prevent the decorator? 00:08 < Wombert> oh and the macbook keyboard is awesome 00:09 < Wombert> the ibook sucked 00:09 < Wombert> digitarald: I didn't get that question 00:09 < Wombert> ttj: let me know when you got it, I'll have some advice wrt PHP, Apache, editors, useful software etc for you then 00:09 < ttj> Ah yes, the keyboard. Have to swing by the store tomorrow and test it. I've used ThinkPads for years now and they have amazing keyboards. The pictures of the MacBook suggest that the keyboard might take a bit of getting used to. 00:10 < Wombert> not at all from my experience 00:10 < Wombert> the keys aren't really smaller... 00:10 < Wombert> sure there are these gaps but on normal keyboards, you have these angled sides on the keys and the result is about the same 00:11 < digitarald> ok ... slots and decorators ... when a view is in a slot and it has a decorator ... i don't want the decorator, only when the action is executed alone and not as decorator 00:11 < ttj> Ok. Cool. Have to investigate a bit more and if everything still seems good, I'll order it on Monday. Thanks for the insight. :-) 00:12 < Wombert> let me know if there are any questions, concerns etc 00:12 < digitarald> buy me one, too ;) ... paycheck is coming in 9 days ;) 00:12 < Wombert> I liked the keyboard, and I'm pretty anal about keyboards usually 00:16 < digitarald> is it possible to disable the decorators easy when using the view in a slow? 00:19 < Wombert> hmmm 00:19 < Wombert> the thing is that you can't easily tell whether or not you're in a slot ;) 00:20 < Wombert> I wanted to change setSlot so it accepts a fourth parameter with additional request params just for that slot 00:20 < Wombert> that might be an approach 00:27 < digitarald> that is the solution ... but first rbac user ;) 00:37 * Macca waves 00:39 < Wombert> hi Macca 00:41 < Macca> what's up mein herr? 00:42 < Wombert> not much, mein herr 00:46 < Macca> heh 00:46 < Macca> many changes in agavi over night? 00:46 < Wombert> basic i18n is now in 00:46 < Macca> meh. i don't care about that :) 00:53 < digitarald> what means basic ... its still not real suitable for l10n? 00:56 < Wombert> well 00:56 < Wombert> we still have to figure some things out 00:56 < Wombert> such as locales 00:56 < Wombert> the problem with locales is 00:56 < Wombert> a) they aren't thread safe 00:57 < Wombert> b) set it to de_DE and numbers will be represented as 123.456,78 - and that's gonna break your sql queries 00:57 < digitarald> yes ... everytime the same problem with locales ... 02:24 -!- benny`work [n=benny@p54AC40AF.dip0.t-ipconnect.de] has quit ["unset($this);"] 04:06 -!- shoan [n=shoan@59.92.129.170] has joined #agavi 04:13 -!- [1]eremit [n=eremit@p5490F704.dip.t-dialin.net] has joined #agavi 04:31 -!- eremit [n=eremit@p5490F898.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:31 -!- [1]eremit is now known as eremit 05:29 -!- Wombert [n=Wombert@dslb-088-064-007-232.pools.arcor-ip.net] has quit [] 05:46 -!- AgaviBot [n=dzuelke@dslb-088-064-007-232.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 06:54 -!- shoan_ [n=shoan@59.92.141.16] has joined #agavi 07:06 -!- shoan [n=shoan@59.92.129.170] has quit [Read error: 110 (Connection timed out)] 07:50 -!- shoan_ is now known as shoan 08:20 -!- shoan [n=shoan@59.92.141.16] has quit [] 08:23 < v-dogg> huomenta 08:26 < eremit> morning 08:26 < Macca> if i have a dtabase in databases.xml how do i get it again? 08:26 < Macca> $this->getContext()->getDatabase() ? 08:26 < Macca> $this->getContext()->getDatabaseConnection(); 08:27 < impl> USE THE SOURCE LUKE 08:27 < v-dogg> getDatabaseCon 08:27 < ttj> Huomen. 08:28 < v-dogg> and check that you have enabled databases in settings.xml 08:28 < v-dogg> eremit: you got that routing sorted out? 08:29 < eremit> v-dogg: yeah was my fault ... my development vserver had a broken harddisk ... and produced io errors -> result agavi source was totally broken ... 08:29 < eremit> the exceptions hadn't anything to do with the routing ... which runs nicely 08:29 < v-dogg> good 08:30 < v-dogg> I was a bit worried there ;) 08:30 < eremit> and bad ... ;) ... my amount of stock harddrives reduces rapidly ... 08:30 < v-dogg> we'd need some iis users to help us out with the routing 08:31 < v-dogg> oh btw, I that linux software raid seems to work again 08:31 < eremit> uh sorry can't help about that ... :( 08:31 < v-dogg> mkfs + boot + adding the disk back to the array 08:31 < eremit> gratz ... 08:32 < v-dogg> thanks for the help 08:32 < eremit> np ... 08:41 < Macca> man i wish i'd templated this :( 08:49 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:50 < v-dogg> uhm... how do I send email with linux :) 08:50 < v-dogg> how do I tell it what smtp to use? 08:50 < eremit> ?!? 08:51 < eremit> that's the task of you email client 08:52 < v-dogg> mdadm most likely uses sendmail to send info emails when monitoring, right? 08:53 < eremit> uh yes ... 08:53 < eremit> have you installed postfix, sendmail, qmail s.t. like that ? 08:53 < v-dogg> no 08:53 < eremit> ubuntu will most likely use postfix 08:54 < eremit> then it gets complicated... :P ... do you only need the mdadm mails ? 08:55 < eremit> and does the receiver has a high sensitive spam filter ? 08:56 < v-dogg> yes and maybe 08:57 < eremit> you have several choices ... (1) Install and Configure a full Mailsystem (2) Install a SMTP Proxy to relay over another SMTP Server (3) Do it the bloody way, and hope the spamfilter is not sensitive 08:58 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:03 < digitarald> Morning :) 10:05 < eremit> morning eremit 10:05 < eremit> ahhh ... morning digitarald 10:05 < v-dogg> mornink 10:06 < digitarald> may be i wll start the client side validation today ... or dynamic ajax datatables 10:06 < digitarald> we'll see 10:09 < digitarald> question: there is now no access to the valdidationmanagerin the view or the templates? 10:12 < v-dogg> no, not that I know of 10:38 < eremit> digitarald, how can i submit a form using javascript from within the form ? 10:38 < eremit> e.g. works! 14:41 < shoan> aren't the checkboxes similiar? 14:41 < Wombert> nope 14:41 < Wombert> 14:41 < Wombert> 14:41 < Wombert> 14:41 < Wombert> if you now check the first and the last 14:41 < Wombert> you'll get foo[0] and foo[1] set in PHP 14:41 < Wombert> so no way to tell how to re-populate 14:42 < Wombert> multi selects, however, get the value inserted as the key 14:42 < Wombert> 14:48 < Wombert> 14:49 < Wombert> 14:49 < shoan> does the fpf need configuring? 14:49 < Wombert> shoan: nope 14:49 < Wombert> shoan: or.. .yeah, you have to specify that it should run on "write" 14:49 < Wombert> look at the sample app, it's a global filter there 14:49 < Wombert> it can also work as an action filter 14:49 < Wombert> if you want to have it for certain modules only 14:51 < shoan> ok 14:51 < Wombert> shoan: you can also populate forms on GET 14:51 < Wombert> very useful for an EditProduct form, for instance 14:51 < Wombert> but you typically don't want forms to be _always_ populated 14:51 < shoan> huh? 14:51 < Wombert> so the best approach is to make it run automatically on "write" 14:52 < Wombert> and if you need it on "read", too 14:52 < digitarald> question ... what is that action target? 14:52 < digitarald> 14:52 < Wombert> give it values for population via the view 14:52 < Wombert> $request->setAttribute('populate', array('foo' => 'bar'), 'org.agavi.filter.FormPopulationFilter'); 14:53 < Wombert> you can also disable population if you don't want it to happen 14:53 < Wombert> $request->setAttribute('populate', false, 'org.agavi.filter.FormPopulationFilter'); 14:53 < shoan> wow 14:53 < Wombert> that second parameter may also be a ParameterHolder instead of an array 14:53 < digitarald> can i make actions with dots? or is that a 'subaction'??? 14:53 < shoan> thats a sub action 14:53 < Wombert> shoan: in essence, this means no more ever 14:54 < digitarald> how can i define them? 14:54 < Wombert> digitarald: app/modules/Default/actions/Products/ListAction.class.php 14:54 < shoan> yeah...thats so fricking cool 14:54 < digitarald> oh cool ... thats nice 14:54 < shoan> its happened more than once, that the template got foo bared when doing that 14:54 < Wombert> shoan: yep that's sooooo prone to errors, too if you do a typo or so 14:54 < Wombert> FPF is easier and much more reliable 14:55 < Wombert> and the best thing is: it works with any template engine ;) no stupid form helpers! hooray! 14:55 < shoan> are there any constraints with FPF, it sounds too good to be true ;) 14:55 < Wombert> no more having to select the correct item in the select box on post etc ;) 14:55 < digitarald> valid xhtml ;) 14:55 < Wombert> not necessarily 14:55 < digitarald> valid dom ... ok? 14:55 < Wombert> we use loadHtml(), which won't complain about errors 14:56 < digitarald> but about id="language" :D 14:56 < shoan> Wombert: what about badly formed html? 14:56 < Wombert> with xhtml, we use saveXml(), which will bitch around tho 14:56 < Wombert> shoan: your mileage may vary with xhtml, html will always work without problems 14:56 < Wombert> if it detects an xhtml doctype, it uses saveXml() so you actually get
instead of
14:57 < Wombert> it won't complain about

of course 14:57 < Wombert> it just needs to be well formed etc, so close tags and stuff 14:57 < Wombert> let me know if you have any problems 14:57 < digitarald> btw ... will it see additional dtd's? 14:57 < Wombert> you mean use them for parsing? 14:57 < digitarald> i want extend xhtml for javascript with additional attributes 14:57 < Wombert> that'd be awfully slow 14:57 < Wombert> no, it doesn't care about DTDs 14:58 < Wombert> should leave them untouched 14:58 < Wombert> ehm 14:58 < Wombert> haha 14:58 < Wombert> well that's not really the solution, digitarald 14:59 < digitarald> additional attributes or an additional dtd? 14:59 < Wombert> both 14:59 < Wombert> unobtrusive javascript should be enough 14:59 < digitarald> addition attributes are unobstrusive? ;) 14:59 < Wombert> it really is a bad, bad, bad idea do throw in your custom DTD just to make it validate 15:00 < digitarald> but xhtml is planned as extendable language ... w3c said that ... but to validate it the validator needs an additional dtd 15:00 < Wombert> it's not necessary tho 15:00 < Wombert> "rel" attributes and friends should be enough in most cases 15:01 < Wombert> also, if you write your page without js first and then add it later, it's both unobtrusive and degrades gracefully 15:02 < shoan> Wombert: I can't understand the caching execution filter. the conventions don't seem very intuitive. 15:02 < digitarald> unobstrusive js is not the problem, its the main part of my degree work ;) ... the question is the additional dtd... 15:02 < Wombert> shoan: it's broken 15:02 < Wombert> don't use it right now 15:02 < Wombert> ;) 15:02 < shoan> oO 15:02 < Wombert> the xsd is all wrong 15:02 < shoan> what happened? 15:02 < Wombert> and the code is foobar'd completely 15:02 < digitarald> because of this there is no real example xml ... ah 15:02 < Wombert> I haven't ported it to 0.11 yet 15:02 < shoan> eeks 15:03 < shoan> ok 15:03 < Wombert> it's a lot more complicated now with responses, output types etc 15:04 < shoan> ok 15:04 < shoan> also how is an action filter specified? 15:04 < digitarald> i have an idea to avoid additional attributes ... it's great ... putting it all in one senseless attribute and parse it into the element with an onload action ... lets check the performance 15:05 < digitarald> i did all with css-classes ... controlling all js-behaviour ... but this is not the best way when u have complex js-behaviours 15:06 < Wombert> shoan: action_filters.xml 15:07 < Wombert> shoan: these are the same as the "old" filters 15:07 < shoan> app/config/action_filters.xml? 15:07 < shoan> nvm 15:07 < Wombert> now theere are also global filters (run immediately inside dispatch(), before the first forward() happens, so you can now finally do cookie autologon etc) and rendering filters (wrap the rendering process... these will be cached, mind you 15:07 < shoan> saw it in the sample 15:07 < shoan> app 15:07 < Wombert> yep, shoan, and action and rendering filters can also be per module 15:08 < Wombert> also, theres executeOnce and execute methods now in filters 15:08 < Wombert> if you want to run a filter only one time 15:08 < Wombert> and NOT make it a global filter 15:08 < Wombert> digitarald: use behaviour.js 15:08 < Wombert> or that better one 15:08 < Wombert> uuuuhm 15:09 < Wombert> http://encytemedia.com/event-selectors/ 15:10 < digitarald> no, behaviour is not the best solution 15:10 < Wombert> yes 15:10 < digitarald> no 15:10 < Wombert> this other link is a lot better 15:11 < digitarald> there are so many solutions: jQuery ... Prototype ... 15:11 < Wombert> prototype doesn't have anything to do with that 15:11 < digitarald> i know 15:11 < Wombert> use prototype (it helps you _really_ lerarn js) 15:11 < Wombert> and then add css event:selectors 15:11 < digitarald> but prototype has the same functions ... jQuery too 15:12 < Wombert> no, not really 15:12 < Wombert> you can do queries with prototype 15:12 < digitarald> :D i'm doing all with prototype ... thx 15:12 < Wombert> ... 15:12 < Wombert> but not THAT: http://encytemedia.com/event-selectors/ 15:12 < Wombert> which is the point I'm trying to make 15:12 < Wombert> if you do it with prototype, it will of course be complicated 15:13 < digitarald> or u can use the selectors from moo.fx dom ... much better than prototype ... did u ever try them? 15:13 < Wombert> yes 15:13 < Wombert> BUT 15:13 < Wombert> that's something different 15:13 < Wombert> before we continue 15:13 < digitarald> and here for u ... 15:13 < digitarald> http://www.mad4milk.net/entry/moo.dom-easily-target-html-elements 15:13 < digitarald> http://jquery.com/docs/ 15:14 < Wombert> ... 15:14 * Wombert sighs 15:14 < Wombert> please click http://encytemedia.com/event-selectors/ and read the examples 15:14 < digitarald> i know what u mean ... i see the examples ... but try to imagine ... 15:14 < Wombert> the thing is 15:14 < Wombert> even with moo.dom 15:14 < Wombert> you need 5 lines or so 15:14 < Wombert> because you CAN target the dom node 15:14 < Wombert> but you still have to attach the event handler, write an anonymous function into it, etc 15:15 < Wombert> with these event selectors, it's a matter of two lines 15:15 < Wombert> that's what I'm trying to say ;) 15:15 < Wombert> it's easier 15:15 < digitarald> i reload content dynamic ... i have all the time add behaviour again ... i have already a little class that does the same things like behaviour. bust just for the reloaded parts of the site 15:15 < Wombert> and when it's that easy, it actually becomes fun 15:15 < Wombert> ... 15:15 < Wombert> digitarald: read http://encytemedia.com/event-selectors/ 15:16 < Wombert> it automatically re-applies rules... 15:16 < Wombert> pleaaaaaase read it please :) 15:16 < digitarald> i already read it when i comes out ;) 15:16 < Wombert> it solves all your problems 15:16 < Wombert> AND 15:16 < Wombert> it cooks excellent espresso, too 15:16 < digitarald> came out 15:16 < Wombert> I swear 15:16 < digitarald> and it will feel better and the world a better place ... 15:16 < v-dogg> mm... espresso... 15:17 < digitarald> but i have that behaviour allready ... without behaviour.js ;) 15:17 < digitarald> why i should have 4 functions in my js-classes that can target elements with css-queries ... 15:17 < Wombert> v-dogg: I have recently discovered that most espressos you get in cafes are all wrong 15:17 < digitarald> *lol* 15:18 < v-dogg> Wombert: because? 15:18 < digitarald> i recently covered that there are 25 diffent coffee-types in spain ... and all are just made of expresso and less or more milk 15:22 < digitarald> Wombert: i will test perfomance of my solution and event:Selector ... alter dickkopf ... 15:22 < digitarald> ;) 15:30 < Wombert> v-dogg: first, I want a damn amarettino or at least a small biscuit on the saucer 15:30 < Wombert> second, most of them taste all wrong 15:30 < Wombert> you don't really realize that until you drank a properly good one :) 15:30 < Wombert> most espressos I drank so far have been quite bitter, but they're not really supposed to be 15:31 < digitarald> cheap coffee ... trinking coffee in spain ... it's like religion 15:31 < Wombert> digitarald: the oldschool "kaffee" we have here in germanx is basically only known by... germans... and americans, but they heat it up to about 150°C before they drink it... go figure 15:32 < Wombert> if you order a "caffee" in italy, spain etc you'll usually get an espresso 15:32 < Wombert> digitarald: it's not only about performance 15:32 < digitarald> caf con leche ... caf con leche corto de caf ... 15:32 < Wombert> event:Selector wins you a _lot_ of flexibility and easiness 15:32 < Wombert> and that's worth a lot 15:32 < digitarald> it is ... my class actually does the same things ;) codied like palmer from behaviour and added to prototype/ajax ... 15:33 < digitarald> copies 15:33 < Wombert> #1 rule of building an app properly: build it, then optimize, not hte other way round 15:33 < v-dogg> yeah, no planning involved 15:33 < v-dogg> planning is not agile 15:33 < digitarald> shit ... why nobody told me that before ... because of that i need so long to develeop ... 15:34 < Wombert> digitarald: I'm serious 15:34 < Wombert> read http://codinginparadise.org/weblog/2006/08/tutorial-how-to-profile-and-optimize.html 15:34 < v-dogg> do I have to add a smiley there to make sure everybody gets I'm joking 15:34 < digitarald> later, i'll print that ... i'm going to palma beach 15:34 < Wombert> PLEASE DO SO I'M GERMAN REMEMBER I HAVE NO CLUE WHAT HUMOR IS 15:35 < Wombert> digitarald: but be sure to read it... 15:35 < Wombert> in fact, everyone should read it :) 15:35 < digitarald> cya later ... trying to get some jokes from this conversation ;) 15:35 < Wombert> :p 15:38 < digitarald> i love this text ... it nails my arguments down ;) 15:40 < Wombert> I beg to differ 15:40 < AgaviBot> News from The Hero Dies in This One at http://blog.bitxtender.com : 15:40 < AgaviBot> 1) http://blog.bitxtender.com/2006/08/19/how-to-profile-and-optimize-ajax-applications/ : How to Profile and Optimize Ajax Applications 15:41 < digitarald> just read the part '...But Order of Magnitude is Important' ... first check the technologies, then build the architecture :) ... just like i will check my selector-solution against css:Selector ... ok ... beach 15:51 < v-dogg> http://www.thenewsh.com/~newsham/x/art/im_getting_sued.gif 16:31 < digitarald> there are some bad people in this world 16:32 < Wombert> http://www.ccdominoes.com/lc/LooseChangeGuide.html 16:36 < digitarald> much better: http://www.thebestpageintheuniverse.net/c.cgi?u=911_morons 16:36 < digitarald> i love these comics 17:51 < digitarald> Wombert: i don't want to ask ... but ... rbac user? ;) 17:55 < v-dogg> hah, those comics :D 17:58 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:10 < digitarald> question: caching is still broken in .11? 18:10 < ttj> http://www.thenewsh.com/~newsham/x/art/im_getting_sued.gif 18:12 < v-dogg> ttj: 9 lines above ^ :) 18:13 < ttj> Aha. :-) 18:13 < ttj> So it takes ~10 minutes for any link to traverse through an IRC network or two. :P 18:13 < ttj> ~20 minutes, evne. 18:13 < ttj> even. 18:14 < v-dogg> about, yes 18:48 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 18:48 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=376#p376 : New post in Support : WOW! I just won $1.000.000 dollars!!! 18:50 < v-dogg> WOW! 18:50 < v-dogg> I want that too! 18:54 < v-dogg> these spammers, their lame ass scams AND the people who fall for them NEVER cease to amaze me 18:58 < CIA-15> david * r995 /trunk/src/filter/AgaviCachingExecutionFilter.class.php: throw an exception if someone tries to use CachingExecutionFilter 18:59 < v-dogg> :) 19:00 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:00 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/995 : Changeset [995]: throw an exception if someone tries to use CachingExecutionFilter 19:10 -!- benny`work [n=benny@p54AC003F.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 19:15 < v-dogg> oooooooo fuck 19:16 < Wombert> hey 19:16 < Wombert> no swearing 19:16 < v-dogg> caching user credentials to session and not resetting them on every request just bite my in the ass 19:16 < v-dogg> big time 19:16 < Wombert> WHAT I TOLD YA!!!!!11111 19:16 < v-dogg> I spent about 45 mins trying to figure out why the user is not allowed to do something and what fucks up the credentials :) 19:17 < Wombert> logout, login, all fine? ;) 19:17 < v-dogg> yeah :) 19:17 < Wombert> might be time to refactor the security user so it loads that stuff in a separate method 19:17 < digitarald> why does nobody delete this spam from the forum ... the support forum is full of this shit. that makes the project seems idle 19:17 < Wombert> easier to overwrite then 19:17 < v-dogg> digitarald: we just don't have the power 19:17 < Wombert> as I said several times before... I already emailed bob about this, but he didn't answer yet 19:18 < Wombert> but then, maybe I have access to the database 19:18 < Wombert> hmm 19:19 < Wombert> no :p 19:39 -!- benny`work [n=benny@p54AC4330.dip0.t-ipconnect.de] has joined #agavi 19:41 -!- shoan_ [n=shoan@59.92.131.189] has joined #agavi 19:54 -!- shoan [n=shoan@59.92.132.124] has quit [Read error: 110 (Connection timed out)] 20:00 < CIA-15> david * r996 /trunk/src/exception/templates/shiny.php: use htmlspecialchars instead of htmlentities and limit max string length to 50 chars in shiny exception template 20:02 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 20:02 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/996 : Changeset [996]: use htmlspecialchars instead of htmlentities and limit max string length ... 20:07 < v-dogg> ooooh well, maybe I'll go home to drink some beer now 20:09 < v-dogg> 8+ hours of work on a saturday entitles me to at least a couple beers :) 20:15 < CIA-15> david * r997 /trunk/src/routing/AgaviRouting.class.php: don't overwrite params with defaults if they were explicitely set to null 20:17 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 20:17 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/997 : Changeset [997]: don't overwrite params with defaults if they were explicitely set to null 20:45 -!- shoan [n=shoan@59.92.128.57] has joined #agavi 20:50 -!- shoan_ [n=shoan@59.92.131.189] has quit [Read error: 60 (Operation timed out)] 21:01 < v-dogg> mmmmmm 21:06 < v-dogg> beer and josef matula 21:10 < ttj> Mmm... Water and ironing shirts. 21:10 < Wombert> wtf ist josef matula 21:11 < v-dogg> I was just about to ask if anyone knows who he is :D 21:11 < Wombert> oh, a person 21:11 < Wombert> well I was thinking it might be some hot chick on tv 21:11 < v-dogg> and I guessed Wombert would be the only one :) 21:11 < impl> Hot chicks don't have names like "Josef" 21:11 < Wombert> but then... even in finland, you don't give girls names like "josef" :D 21:11 < Wombert> haha yeah impl 21:11 < v-dogg> haha 21:12 < Wombert> oh 21:12 < Wombert> that's a german tv series!? 21:12 < v-dogg> http://en.wikipedia.org/wiki/Josef_Matula 21:12 < v-dogg> oh yes :) 21:12 < Wombert> seriously 21:12 < Wombert> the best characters EVER in a show like that 21:13 < Wombert> are uhm 21:13 < Wombert> you know Jan Josef Liefers? 21:13 < v-dogg> you know, this is the best on at the moment. that's how bad tv we have :D 21:13 < v-dogg> no I don't 21:14 < Wombert> it's a show called "Tatort" 21:14 < Wombert> which means "site of crime" 21:14 < Wombert> mmmh this will take a minute or two 21:14 < Wombert> we here have the ARD 21:14 < Wombert> a syndicate of smaller tv stations 21:14 < Wombert> each bundesland, or at least larger regions, have one 21:15 < Wombert> and each of them produces one or more tatort flavors 21:15 < Wombert> they're always the same actors per region, and the same setting 21:15 < Wombert> the bavarian one is set in munich, for instance 21:15 < Wombert> and then there's the one in münster 21:16 < Wombert> which typically isn't brutal, or overly mysterious 21:16 < Wombert> but intentionally funny and often pretty bizarre 21:16 < Wombert> you'd love it if you had it in finland ;) I swear 21:20 < v-dogg> hey 21:20 < v-dogg> Wombert 21:21 < v-dogg> wooooooombiiiiiiiie 21:21 < Wombert> whaaaaaat 21:21 < v-dogg> here boy, here 21:22 < v-dogg> sit 21:22 * Wombert sits 21:22 < Wombert> :> 21:22 < v-dogg> :) 21:22 < v-dogg> I started writing a small tutorial for agavi newbies 21:22 < Wombert> a friend of mine has a dog 21:22 < Wombert> called asterix 21:22 < Wombert> of course, everyone calls him idefix... 21:22 < v-dogg> haha :) 21:23 < Wombert> and you can tell him to do a "quiet bark" 21:23 < Wombert> very cool 21:23 < Wombert> he will bark, but not very loud 21:23 < Wombert> anyways, sorry for interrupting you 21:23 < Wombert> you said you wouldn't do any coding anymore tonight... well, then continue with that tutorial :) 21:23 < Wombert> or write some docs, whatever you prefer ;) 21:24 < Wombert> mmmh thunderstorm 21:24 < Wombert> almost all channels gone 21:24 < Wombert> guess a lightning hit the olympic tower 21:25 < Wombert> RTL2 still works... thank god 21:25 < v-dogg> http://veikkomakinen.com/agavi/basics_tutorial.txt 21:25 < Wombert> Chuck Norris night there today :> 21:26 < Wombert> v-dogg: very good! 21:26 < v-dogg> I haven't decided yet what would be the best format 21:26 < Wombert> a docbook, probably 21:26 < v-dogg> yeah 21:26 < Wombert> create docs/tutorials/ 21:27 < v-dogg> I'll keep writing that in plain text 21:27 < v-dogg> and learn docbook some other night :) 21:28 < impl> I'm willing to UNIX-ifiy it for you when you're done 21:28 < impl> if you want 21:29 < v-dogg> sure. altghough only my example paths and agavi.bat vs. agavi.sh are different 21:30 < Wombert> use www.xmlmind.com/xmleditor 21:30 < Wombert> it's a piece of cake 21:30 < Wombert> no docbook learning required 21:30 < Wombert> or not much at least 21:31 < v-dogg> there are still tons of different elements and I dont' know which one to use :) 21:39 < eremit> uh ... v-dogg write a tutorial about how to disable the fpf in certain output_Types :P 21:40 < v-dogg> disable it in the view 21:40 < v-dogg> err... no 21:40 < eremit> bloody ^^ 21:42 < Wombert> yeah that's one of the things I couldn't solve properly yet 21:43 < Wombert> because 21:43 < Wombert> it might happen that the output type isn't even set at the time the filter starts 21:44 < eremit> i'll disable it in the view, since i have different baseviews for different output types ... 21:45 < Wombert> oO 21:45 < Wombert> how the hell does that work? 21:45 < eremit> why ? 21:45 < Wombert> ? 21:45 < Wombert> how do you do that 21:45 < Wombert> a base view per output type 21:46 < eremit> O_o ... good point ... currently i have for different output_Types different actions .. which is ... 21:46 < eremit> totally rubish nonsense 21:46 < Wombert> ?????? 21:46 < Wombert> omh 21:46 < Wombert> yeah 21:46 * eremit blushes and goes crying about his stupidness 21:46 < Wombert> why do you need output types if you have a dedicated action for each one... 21:47 < Wombert> that's the whole point of output types! 21:47 < Wombert> one action 21:47 < Wombert> one view 21:47 < Wombert> and 1231728361273 different output versions 21:47 < eremit> gimme a moment thinking about it ... 21:47 < eremit> why i've done it ... 21:48 < eremit> omg, this is really really stupid ... 21:49 < eremit> but lucky me svn update -r now-24 solves it *cries silently* 21:56 < Wombert> by the way 21:56 < Wombert> I'd like to convert as many _once calls as possible to regular include or require 21:57 < v-dogg> good idea 22:42 < digitarald> Wombert: How can i set default values for forms for the fpf? 22:43 < digitarald> do i have to set the attributes in his namespace? 22:43 < v-dogg> yes 22:44 < digitarald> can i also set the parameters in the request? 22:45 < digitarald> btw ... is that good or can i use something better in validate(): 22:45 < digitarald> if (!$req->hasError('username') ) { 22:45 < digitarald> } 22:45 < digitarald> and in the the bracketsdo the check that the username exists 22:46 < v-dogg> hmm... 22:46 < v-dogg> what are you using validate() for? 22:48 < digitarald> signin-form: check if the username already exists 22:48 < digitarald> of course its validateWrite() ... 22:49 < v-dogg> so you have a validator there first? 22:49 < v-dogg> and then extra check in validateWrite? 22:50 < digitarald> i have a string validator for the length and then i validate against the database in validateWrite 22:50 < digitarald> i don't want to write an extra validator that just checks if an username exists ... :( 22:51 < v-dogg> yep 22:52 < v-dogg> I think that's a good way to do it 22:53 < digitarald> ok, thx ... 22:54 < v-dogg> and to set values for fpf use $req->setAttribute('populate', array('foo'=>'bar'), 'org.agavi.filter.FormPopulationFilter'); 22:55 < v-dogg> BUT if you set values that way, the input parameters ($_GET/POST) are not used 22:55 < v-dogg> you can also give a AgaviParameterHolder to fpf 22:56 < v-dogg> $par = new AgaviParameterHolder(); $par-setParatemer(....); $req->setAttribute('populate', $par, namespace... ) 22:56 < digitarald> very useful ... 22:57 < Wombert> of course ;) 22:57 < v-dogg> :) 22:58 < Wombert> so 22:58 < Wombert> let's see 22:58 < v-dogg> LET'S 22:58 < v-dogg> no 22:58 < v-dogg> let's get another beer 22:58 < Wombert> how can we fetch actions and views without using require_once 22:58 < Wombert> yeah good idea 22:58 < Wombert> man that reminds me 22:58 < impl> __autoload 22:58 < Wombert> I wanted to put some into the fridge HOURS ago 22:58 < Wombert> impl: nah 22:58 < v-dogg> __autoload(Beer) 22:59 < impl> AgaviActionRegistry 22:59 < v-dogg> a couple of beers and a cider 22:59 < Wombert> http://trac.agavi.org/trac.cgi/browser/trunk/src/controller/AgaviController.class.php#L437 22:59 < v-dogg> and I'm already a bit pissed :) 22:59 < digitarald> oooohh no ... i forgot to buy some beer ... too late ... *grmpf* 22:59 < Wombert> and http://trac.agavi.org/trac.cgi/browser/trunk/src/controller/AgaviController.class.php#L525 23:00 * impl 's eyes twitch 23:01 < impl> if (!AgaviActionRegistry::loaded(...)) require($file) 23:02 < Wombert> yeah I could store whether or not actions have been loaded yet 23:02 < Wombert> static $loaded would be enough for that actually 23:02 < Wombert> question is 23:02 < Wombert> is that really faster 23:02 < impl> We'd have to benchmark it I suppose 23:02 < Wombert> with an opcode cache: likely 23:02 < Wombert> otherwise... no 23:02 < Wombert> next question: how much slower is it 23:05 < Wombert> whoa 23:05 < Wombert> holy crap ^^ 23:05 < Wombert> haha 23:05 < Wombert> awesome 23:05 < Wombert> glad nobody noticed yet ;) 23:05 < impl> Wha...? 23:05 < Wombert> http://trac.agavi.org/trac.cgi/browser/trunk/src/database/AgaviDatabaseManager.class.php#L96 23:06 < impl> What's wrong with that? 23:06 < Wombert> hah 23:06 < Wombert> well 23:06 < Wombert> I'll let you figure that out 23:06 < digitarald> wombert ... your regex for the fpf is ... 'useless' ;) 23:06 < digitarald> created this: class=" errorfirst-input username" 23:06 < Wombert> oO 23:06 < Wombert> wtf 23:07 < Wombert> impl: well okay it's not exactly wrong 23:07 < Wombert> since it's not using per context configs 23:07 < Wombert> but still 23:07 < Wombert> it woildn't work with more than one ctx 23:07 < Wombert> digitarald: will look into it in a minute 23:08 < impl> ;s 23:08 < digitarald> ty 23:14 < v-dogg> oh I fucking hate that windows search dog.. 23:14 < Wombert> haha 23:14 < v-dogg> every other time I want to rename something and hit f2, I accidently hit f3 23:17 < digitarald> just use total commander ;) 23:17 < Wombert> hahaha 23:17 < Wombert> man 23:17 < Wombert> I feel really sorry for you windows users 23:17 < Wombert> :> 23:17 < digitarald> then f3 is preview ;) 23:19 < v-dogg> I really want to try out a mac 23:20 < Wombert> eliminated almost all _once calls 23:21 < Wombert> some remaina 23:21 < Wombert> adodb, creole, propel 23:21 < Wombert> the question is 23:21 < Wombert> can we justify a class_exists() call to prevent a _once 23:21 < Wombert> how much slower is that going to be for users without accelerators 23:25 < v-dogg> no-one can answer that with out benchmarking 23:31 < Wombert> there were some bugs with _once, right? 23:31 < Wombert> I can't do 23:31 < Wombert> require($class); 23:31 < Wombert> require_once($class); 23:32 < Wombert> or has that been fixed 23:32 < Wombert> I'll try 23:32 < Wombert> digitarald: didn't you have some problems with datasources 23:34 < Wombert> w00t 23:34 < Wombert> that's fixed! 23:34 < Wombert> awesome 23:34 < Wombert> that means even more performance 23:35 < v-dogg> I keep getting emails advertising pills for better performance 23:35 < v-dogg> do you want me to forward them to you? 23:37 < Wombert> no thanks 23:37 < Wombert> I got some already 23:37 < v-dogg> pills? 23:37 < v-dogg> ok 23:37 < Wombert> YES 23:37 < Wombert> PENIS ENLARGEMENT PILLS 23:38 < Wombert> that's what you were talking about 23:38 < Wombert> right? 23:38 < Wombert> xDF 23:40 < digitarald> Wombert: datasource problems? 23:40 < Wombert> propel? datasources? 23:40 < Wombert> not you? 23:40 < Wombert> nevermind then 23:41 < digitarald> utf-8 problems? 23:41 < Wombert> err 23:41 < Wombert> no 23:41 < digitarald> then no ... i got many other problems, but not that ... or ... mmhh 23:42 < digitarald> i wanted to load the propel config from the xml? 23:42 < digitarald> propel all the time did ignore the default datasource, setted in the xml ... 23:42 < digitarald> but no real problems 23:46 < digitarald> only now the class problem with that fpf 23:46 < Wombert> yes yes yes 23:46 < Wombert> one thing at a time 23:47 < digitarald> ;) ... just playing my reminder-tape :) 23:48 < digitarald> is there a better mail class then Pear::mail? 23:50 < digitarald> found one 23:51 < CIA-15> david * r998 /trunk/ (14 files in 10 dirs): 23:51 < CIA-15> removed almost all _once requires. if you're doing extremely advanced stuff 23:51 < CIA-15> prior to bootstrapping,your mileage may vary, report problems as you come across 23:51 < CIA-15> them please. should give a massive speed increase with bytecode caches. 23:51 < Wombert> digitarald: yep 23:51 < Wombert> eZ components mail looks pretty advanced 23:52 < digitarald> found this one ... http://www.phpguru.org/static/mime.mail.html 23:53 < Wombert> don't use it 23:53 < Wombert> use ezcMail 23:53 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 23:53 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/998 : Changeset [998]: removed almost all _once requires. if you're doing extremely advanced ... 23:53 < Wombert> haven't used it yet but from what I can tell it's very very good 23:53 < Wombert> and, most importantly, least prone to security flaws and such 23:54 < Wombert> it took us quite some time to build a simple email class that can handle various encodings, send utf8, and that is not vulnerable to header injection or some weird smtp tricks (double dot for new message and such) 23:55 < digitarald> dependencies? 23:56 < digitarald> hey ... ez has also i18n support :) 23:56 < Wombert> quick test... overall time: 1.5318560600281 with debug, 0.43702411651611 without... now APC: 1.0738639831543 with debug, 0.053571224212646 23:56 < Wombert> that is TEN TIMES FASTER WITH APC! 23:56 < Wombert> holy smokes 23:57 < Wombert> okay nine times 23:57 < Wombert> still fast enough 23:57 < Wombert> :) 23:57 < Wombert> will compare to r997 now 23:58 < Wombert> digitarald: only the ezc exceptions as far as I can tell --- Day changed Sun Aug 20 2006 00:00 < digitarald> did anybody use ez components in his agavi ... 00:00 < digitarald> ez has its own autoload?! 00:01 < digitarald> # require_once 'Base/src/base.php'; 00:01 < digitarald> # function __autoload( $className ) 00:01 < digitarald> # { 00:01 < digitarald> # ezcBase::autoload( $className ); 00:01 < digitarald> # } 00:01 < Wombert> haha 00:01 < digitarald> solution ... php heros? 00:01 < Wombert> well 00:02 < digitarald> *hackhack* 00:02 < Wombert> shouldn't be a problem 00:02 < Wombert> no 00:02 < Wombert> agavi will not use __autoload 00:02 < Wombert> IF 00:02 < Wombert> you are on 5.1.0 or newer 00:02 < Wombert> because... well.. .because we're cooler than these ez morons 00:02 < Wombert> see 00:02 < Wombert> we have finns here 00:02 < Wombert> who help develop 00:02 < digitarald> :D *speech* 00:02 < Wombert> whereas people from norway 00:02 < Wombert> obviously are blithering idiots that don't know jack about programming 00:02 < Wombert> am I right or what, mr v-dogg 00:03 < v-dogg> lol 00:03 * v-dogg gets more beer. And one for Wombert too 00:03 * Wombert just had one 00:03 * Wombert goes grab another 00:03 < digitarald> ok ... i can overwrite this autoload ... so i have to write a filter with this behaviour? 00:03 < digitarald> Wombert with 2 beer ... fine 00:03 < Wombert> digitarald: ? 00:04 < v-dogg> no, you don't have to overwrite anything if you are using php 5.1+ 00:04 < v-dogg> and surely you are :) 00:04 < digitarald> i don't have to implement ezcBase::autoload( $className );? 00:04 < Wombert> uh 00:04 < Wombert> no idea 00:04 < digitarald> ;) 00:04 < Wombert> that method is already there, isn't it? 00:05 < digitarald> its called in __autoload() 00:05 < Wombert> uh 00:05 < Wombert> okay 00:05 < Wombert> whatever :DDD 00:05 < Wombert> yeah right now 00:05 < Wombert> what's the matter 00:05 < digitarald> the useless function includes just an array of files for each classname 00:05 < Wombert> cheers v-dogg ! 00:05 * Wombert opens his beer 00:06 < Wombert> digitarald: do you need that anyway? 00:06 < Wombert> I mean... do you have to use this autoload stuff 00:06 < Wombert> can't you just use the mail thing or so 00:06 < Wombert> no idea, didn't look at it 00:06 * digitarald grabs his wine ... and the olives 00:06 < v-dogg> hey, wine 00:06 < digitarald> http://syntux.net/blog/2006/08/14/ez-components-mail-to-save-the-day/ 00:07 * digitarald is going for the missing cheese 00:07 < v-dogg> maybe I'll open a bottle of wine 00:08 < digitarald> after the beer... partying? 00:08 < Wombert> errrrr 00:08 < Wombert> digitarald: so you define that yourself? 00:08 < Wombert> well 00:08 < Wombert> why do you do that, then ;) 00:09 < Wombert> do whatever you like, of course... 00:09 < Wombert> you could also use spl_autoload_register or so 00:09 < Wombert> my only gripe would be 00:09 < Wombert> that it _requires_ (wtf) iconv 00:09 < Wombert> for utf8 00:11 < digitarald> the problem is ... ez has nice classnames but fucked up classname/filename relation: (from one *class*_autoload.php) 00:11 < digitarald> 'ezcMailAddress' => 'Mail/structs/mail_address.php', 00:11 < digitarald> 'ezcMailContentDispositionHeader'=> 'Mail/structs/content_disposition_header.php', 00:11 < digitarald> 'ezcMailPart' => 'Mail/interfaces/part.php', 00:11 < digitarald> 'ezcMailTransport' => 'Mail/interfaces/transport.php', 00:11 < digitarald> 'ezcMail' => 'Mail/mail.php', 00:11 < digitarald> ok ... try it out ... your cool ez components mail ... Wombert ... 00:11 < digitarald> ;) 00:12 < Wombert> digitarald: add them to agavi's autoload! 00:17 < Wombert> r997, development, APC: 1.1088130474091 00:17 < Wombert> r998, development, APC: 1.0406179428101 00:17 < Wombert> r997, production, APC: 0.080030918121338 00:17 < Wombert> r998, production, APC: 0.039122104644775 00:17 < Wombert> (10 attempts each, lowest value used) 00:18 < v-dogg> woot? 00:18 < digitarald> shall i add all these files and classes to autoload? 00:18 < digitarald> wombert, my hero :) 00:18 < v-dogg> what the hell happened betwiin r997 and 998 00:18 < Wombert> v-dogg: that's require_once => require 00:19 < Wombert> byte code caches can't accelerate require_once very well 00:19 < v-dogg> that's understandable 00:19 < Wombert> is it? 00:19 < v-dogg> well I think so :) 00:20 < v-dogg> doesn't php handle watch keeping itself? 00:20 < v-dogg> and it's known to be slow 00:20 < Wombert> ah 00:20 < Wombert> nah I remember the reason 00:20 < Wombert> the check whether or not a file was included yet 00:20 < Wombert> is performed at a location where caches can't hook in 00:20 < v-dogg> that's what I meant 00:20 < Wombert> okay :) 00:21 < v-dogg> it's done somewhere deep inside php core and it'll never get cached 00:21 < v-dogg> and it's slow 00:23 < Wombert> digitarald: haha I confused parameter order on preg_replace 00:24 < digitarald> ... funny 00:24 < digitarald> ;) 00:24 < digitarald> i thought all the time i broke the code ... then i saw this class 00:25 < CIA-15> david * r999 /trunk/src/filter/AgaviFormPopulationFilter.class.php: I got preg_replace parameter order right this time ;) 00:25 < v-dogg> where's the module and action stored when 404 is triggered? 00:25 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 00:25 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/999 : Changeset [999]: I got preg_replace parameter order right this time ;) 00:26 < Wombert> v-dogg: org.agavi.controller.forwards I think 00:26 < v-dogg> hmm.. no I don't think so 00:27 < Wombert> $request->setAttributes(array( 00:27 < Wombert> 'requested_module' => $moduleName, 00:27 < Wombert> 'requested_action' => $actionName 00:27 < Wombert> ), 'org.agavi.controller.forwards.error_404'); 00:27 < v-dogg> yeah 00:27 < v-dogg> thanks 02:38 < CIA-15> david * r1000 /trunk/src/ (4 files in 4 dirs): implemented parameters for slots, closes #318 02:39 < Wombert> v-dogg: I think we deserve another beer 02:39 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 02:39 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/318 : Ticket #318 (enhancement) closed by david 02:39 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/1000 : Changeset [1000]: implemented parameters for slots, closes #318 02:39 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/ticket/318 : Ticket #318 (enhancement) created by david 02:39 < Wombert> too bad I didn't put any more into the fridge... uncool 02:40 < v-dogg> Wombert: one more? 02:40 < v-dogg> ok then... :) 02:40 < Wombert> ooooh 02:40 < Wombert> heyyyyy 02:40 < Wombert> I bought some bailey's the other day 02:40 < v-dogg> I'll take a glass of wine 02:40 * Wombert goes get a glass and some ice 02:41 < v-dogg> mm... baileys 02:41 < v-dogg> must get some of that 02:41 < v-dogg> next time missus is away :) 02:41 < Wombert> haha 02:43 -!- benny`work [n=benny@p54AC4330.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:10 < ttj> Sleep... 03:11 < v-dogg> not a bad idea 03:11 < v-dogg> but I think I have to go out with the dog first 03:15 < ttj> Bah. Just got back from the bar. It was supposed to be a single beer. At 10 PM. I have an engagement in 5 hours time... :P 03:15 < ttj> I find that quite amusing. 03:15 < v-dogg> hehe 03:17 < ttj> Luckily it's a breakfast engagement. And luckily it's a personal thing. :P 03:18 < v-dogg> http://veikkomakinen.com/agavi/agavi-basics-tutorial.xhtml 03:19 < v-dogg> a working draft 03:19 < ttj> Cool. 03:20 < ttj> v-dogg: topy: LoginSuccessView.class.php array('relative'=>false to array('relative'=>false). 03:20 < ttj> typo. :P 03:21 < v-dogg> thanks :) 03:21 < ttj> I may be drunk but I can still thunk. :P 03:23 < ttj> http://users.tkk.fi/~tjorri/agavi/cheatsheet <-- I have a cheatsheet for various basic stuff here. 03:24 < v-dogg> a neat idea 03:24 < ttj> Which I've been maintaining. Mostly as a simple "these things I have to include in the basic documentation" at work. 03:25 < ttj> But yeah, catch you later today or on Monday. Now seriously -> sleep. :-) 04:00 -!- Wombert [n=Wombert@dslb-088-064-007-104.pools.arcor-ip.net] has quit [] 04:05 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 54 (Connection reset by peer)] 04:15 -!- [1]eremit [n=eremit@p5490C5B6.dip.t-dialin.net] has joined #agavi 04:16 -!- AgaviBot [n=dzuelke@dslb-088-064-007-104.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 04:33 -!- eremit [n=eremit@p5490D171.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:33 -!- [1]eremit is now known as eremit 06:00 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: CIA-15 06:04 -!- CIA-7 [i=cia@cia.navi.cx] has joined #agavi 07:48 -!- shoan [n=shoan@59.92.128.57] has quit [Read error: 110 (Connection timed out)] 07:50 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 08:30 < Macca`> OMG! REVISION 1000! 08:35 < impl> WHAT 08:35 < impl> WE MUST PARTY 09:02 < ttj> Ugh. Lots of work, lots of partying but no sleep makes ttj a zombie. 09:38 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:59 < Macca`> ZOMG! ZOMBIE!!! 09:59 * Macca` shoots ttj 10:28 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 11:21 < eremit> morning 11:21 < raidman|Work> morning 11:21 < eremit> question: is there a way to set the output type according to HTTP_Accept automatically ? 11:25 < v-dogg> huomenta 12:04 < ttj> Huomen. 13:47 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 13:57 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 14:06 -!- Wombert [n=Wombert@dslb-088-064-001-182.pools.arcor-ip.net] has joined #agavi 14:06 -!- AgaviBot [n=dzuelke@dslb-088-064-001-182.pools.arcor-ip.net] has joined #agavi 14:08 < v-dogg> wombie 14:09 -!- benny`work [n=benny@p54AC257B.dip0.t-ipconnect.de] has joined #agavi 14:21 < Wombert> :) 14:34 < Wombert> haha 14:34 < Wombert> New post in Support : MUTANT DICKS & unreal CUMSHOTS here 14:34 < Wombert> my god I hope bob gives me admin rights soon 14:41 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 14:41 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=378#p378 : New post in Support : Currency Trading... 14:45 -!- Wombert [n=Wombert@dslb-088-064-001-182.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 14:46 -!- AgaviBot [n=dzuelke@dslb-088-064-001-182.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 14:54 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 15:03 -!- shoan [n=shoan@61.2.66.68] has joined #agavi 15:06 < v-dogg> good day shoan 15:06 < shoan> hey v-dogg 15:07 < shoan> hows it going? 15:07 < v-dogg> alright 15:07 < v-dogg> how about you 15:08 -!- Wombert [n=Wombert@dslb-088-064-001-182.pools.arcor-ip.net] has joined #agavi 15:14 * shoan kicks postfix 15:15 < shoan> been trying to set it up with auth and it doesn't work 15:16 < Wombert> :< 15:18 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 15:40 < v-dogg> this tutorial is bloating like crazy.. 16:04 -!- shoan [n=shoan@61.2.66.68] has quit [Read error: 110 (Connection timed out)] 16:13 < v-dogg> macgyver 16:15 < Wombert> he's the best man 16:15 < Wombert> mac gyver, the hoff and chuck norris 16:16 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 16:44 < v-dogg> :-o 16:45 < v-dogg> jack dalton has been brain washed with hypnosis 16:45 < v-dogg> he is going to kill macgyver 16:45 < v-dogg> and pete is brain washed too OMG 16:55 < v-dogg> he shot macgyver! 17:06 < v-dogg> aaa.. he's alright :) 17:06 < v-dogg> and pete and jack are too 19:01 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: CIA-7 19:01 -!- Netsplit over, joins: CIA-7 20:14 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 21:11 -!- shoan [n=shoan@59.92.200.229] has joined #agavi --- Day changed Mon Aug 21 2006 00:37 < Wombert> ahahahahah 00:37 * Wombert watches the daily show right now 01:17 -!- benny`work [n=benny@p54AC257B.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:02 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit [Read error: 110 (Connection timed out)] 04:15 -!- [1]eremit [n=eremit@p5490F711.dip.t-dialin.net] has joined #agavi 04:32 -!- eremit [n=eremit@p5490C5B6.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:32 -!- [1]eremit is now known as eremit 06:19 -!- Wombert [n=Wombert@dslb-088-064-001-182.pools.arcor-ip.net] has quit [] 08:02 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:07 < v-dogg> huomenta 08:32 < shoan> huomenta 08:33 -!- raidman|Work [n=raidman@62.60.194.3] has joined #agavi 08:38 < raidman|Work> morning guys 08:42 < eremit> morning ... 08:46 < v-dogg> what's up 08:59 -!- [1]eremit [n=eremit@p5490B8A4.dip.t-dialin.net] has joined #agavi 09:03 < [1]eremit> anybody knows exactly what the "cut" parameter in the routing does ? 09:04 < v-dogg> cuts 09:04 < [1]eremit> cuts _what_ ? 09:04 < v-dogg> routes :) 09:04 < v-dogg> pattern="/(lang:en|de|fi)$" 09:05 < v-dogg> www.acme.com/page1/en 09:05 < [1]eremit> hmmm :/ ... i need some kind of stripping parameter ... 09:05 < v-dogg> now you want to cut the lang from the end of the route 09:05 < [1]eremit> does it also work at the start of the route ? 09:05 < v-dogg> yes 09:05 * [1]eremit loads up his vmwares 09:06 < [1]eremit> hmmm ... this would solve nearly any problem 09:07 -!- eremit [n=eremit@p5490F711.dip.t-dialin.net] has quit [Nick collision from services.] 09:07 -!- [1]eremit is now known as eremit 09:12 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 09:19 < eremit> hmmm v-dogg that doesn't seem to work ... 09:20 < eremit> hah ... forget it ... i missed to add stopping="false" 09:21 < v-dogg> ok :) 09:21 < eremit> wee.. now i can enforce output types even if the client doesn't set a correct http accept header 09:56 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Remote closed the connection] 09:56 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 10:19 -!- horros_ [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 10:21 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 10:24 < shoan> eremit: are you deutsch? 10:25 < v-dogg> germy 10:25 < v-dogg> :) 10:25 < eremit> shoan, yes ... 10:25 < eremit> y? 10:25 < shoan> need some translation. Can I pm you? 10:25 < eremit> sure 10:42 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: Macca`, eremit, raidman|Work, horros_, v-dogg 10:42 -!- Netsplit over, joins: raidman|Work 10:43 -!- Netsplit over, joins: Macca` 10:43 -!- eremit [n=eremit@84.144.184.164] has joined #agavi 10:44 < eremit> grml ... why is freenode kicking me all the time :/ 10:45 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: shoan 10:45 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 10:47 -!- v-dogg [n=vmakinen@mcinen-dsl.utu.fi] has joined #agavi 10:48 -!- Netsplit over, joins: shoan 10:50 < eremit> v-dogg next question ... 10:50 < eremit> can a output_type define a fallback output_type ? 10:50 < v-dogg> yes 10:51 < eremit> how ? 10:51 < v-dogg> 10:51 < v-dogg> (sample app) 10:51 < eremit> moar ... a look in the source would have solved this ... 10:52 < eremit> Oo maybe i should really study the sample app ... 10:53 < eremit> this can get funny ... let me see if the output type fallbacking recognized recursive constructs ;) 10:54 < shoan> bbl 10:54 -!- shoan [n=shoan@59.92.200.229] has quit [] 10:54 < horros> -bash-3.00$ uname -a 10:54 < horros> SunOS asterisk 5.10 Generic_118855-14 i86pc i386 i86pc 10:54 < horros> up yours, OS X! 10:54 < horros> :D 10:54 < eremit> O_o SunOS ? 10:55 < horros> yessir 10:59 < Macca`> minix++ 10:59 < eremit> Oo 11:00 < Macca`> err 11:00 < Macca`> minix3 ++ 11:02 < Macca`> true microkernel++ 11:09 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:16 < horros> goddamn qmail's aliases are confusing when you have four domains on one box :I 11:19 < eremit> qmail is hell :P 11:27 < digitarald> morning :) 11:28 < eremit> morning digitarald 11:28 < horros> hmm 11:28 < horros> my outlook is bonkers :( 11:29 < eremit> and i thought it can get worser after SunOS + QMail :P 11:29 < Macca`> ooo 11:29 < Macca`> dont' talk bad about sunos to horry 11:29 < Macca`> he'll cry :( 11:29 < Macca`> horrOS .. sunOS .. get the link? 11:30 < horros> eremit: qmail is running on the debian box :P 11:30 < eremit> lol ... 11:30 < Macca`> what is sunos? is it a brand of linux or a completely different *nix ? 11:30 < eremit> omg horros ... why qmail? (1) qmail is not really any longer actively developed (2) qmail is hell really hell (3) there are plenty other mail solutions 11:31 < Macca`> postfix? 11:31 < horros> Macca`: SunOS would be Solaris. SunOS 5.10 is Solaris 10. 11:31 < Macca`> i see. 11:31 < horros> eremit: mostly because it's been on the server for the past three or so years 11:31 < eremit> Postfix is a reliable decision. Or Exim on debian 11:31 < horros> eremit: if it works, why would I bother fixing it?-) 11:32 < Macca`> if it aint broke why fix it? EKEKE 11:32 < eremit> because it doesn'T seem to work :P or it makes you difficulties 11:32 < horros> works just fine 11:32 < horros> case of PEBCAK 11:32 < eremit> hehe ... 11:32 < horros> forgot to send qmail-send a HUP to make it reload the config files, since I was mucking about with the rcpthosts, locals and virtualdomains -files 11:33 < eremit> i have a real dislike for qmail ... we considered once to support it in our control panel, but decided quickly against support ;) 11:34 < eremit> horros: postfix-mysql + mysql-server + some small coding = 4teh win :P 11:34 < horros> EWWWWWWWWWWW 11:34 < horros> MYSQL?!? 11:34 < horros> mysql is the spawn of satan! 11:34 < v-dogg> I CONCUR 11:34 < eremit> or another sql backend for postfix :P 11:35 < eremit> like pgsql ? 11:36 < eremit> and the new mysql versions are not really that bad ... :P 11:36 < v-dogg> well, that's probably true 11:36 < v-dogg> I use postgres 11:36 < v-dogg> and I think it's nicely feature-rich and fast as hell 11:37 < eremit> hehe let's start some flaming ... i hate postgres :P 11:37 < v-dogg> let's not :) 11:37 < horros> how can you hate postgres and love mysql? 11:37 < horros> methinks you need to see a doctor :) 11:38 < eremit> did i ever said i love mysql? 11:38 < horros> it was implied :) 11:38 < eremit> mysql => for small setups, like webhosting customers etc ... 11:38 < horros> I quite like Interbase/Firebird tbh, but I'm weird. 11:38 < eremit> oracle => real setups 11:39 < eremit> or db4 for real setups ... 11:39 < v-dogg> oh oh oh! let's start some flaming anyway! 11:39 < eremit> but for me postgres looks like something in between neither the one (mysql) nor the other (oracle/db4) 11:39 < v-dogg> oracle!!? 11:39 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 11:39 < eremit> ;) ... 11:40 < v-dogg> you pay zillionkillion and get 234 CD's and you have to hire 12 db admins to keep it together 11:41 < eremit> as i said => real setups ... :P 11:41 < v-dogg> hah :) 11:42 < eremit> ever got a look at the oracle db of motorola ? ... i would never try to setup this on another db exept maybe db4 11:44 < eremit> ok, there should really really be some recursive detection in the output_type fallback thing .. 11:44 < v-dogg> hey, what the hell does fpf do now... 11:44 < v-dogg> it wipes out the values from my other form 11:44 < eremit> fpf sometimes behaves really strange ... 11:45 < v-dogg> do I need to name the forms or what? 11:45 < eremit> no there's no need for that ... 11:45 < eremit> at least i havent done it ... 11:46 < v-dogg> ah, both forms had the same action 11:46 < v-dogg> problem solved 11:46 < eremit> v-dogg where to add a ticket for the recursive trap ? ... create a new one? use an old one ? 11:46 < v-dogg> hmm 11:47 < v-dogg> I'll have a look in a minute 11:47 < eremit> i have found only one output_Type ticket ... :/ 11:48 < eremit> #221 11:50 < eremit> and [605] tried to fix an infinite loop, but is not related to a ticket :/ 11:54 < v-dogg> open a new ticket 11:55 < v-dogg> do you have a user account? 11:55 < eremit> yes ... 11:55 < v-dogg> ok 12:01 < eremit> #319 12:02 < eremit> another question, where can i change the default options of routing->gen ? 12:02 < eremit> havnt found anything and i'm tired of writing gen('my.fancy.route', array(), array('relative'=>false)); 12:03 < v-dogg> factories.xml 12:05 < eremit> ah it's 12:06 < eremit> gna ... this is somehow inconsistent ... sometimes parameters are change as attributes sometimes parameters changes in childs ^^ 12:06 < digitarald> btw ... how can i register an __autoload function? 12:10 < v-dogg> digitarald: http://trac.agavi.org/trac.cgi/browser/trunk/src/agavi.php#L56 12:11 < digitarald> thx :) 12:17 < digitarald> voting ... who is using utf-8 for his homepage? :) 12:18 < eremit> <<-- 12:18 < v-dogg> when I can 12:18 < v-dogg> and that is: almost always 12:19 < v-dogg> this current project shares a db with a desktop software and it doesn't handle wtf-8 very well so we have to use latin-1 12:28 < digitarald> when i use utf-8 i have to use mb_* php string functions ... anything else important? 12:28 < horros> utf-8 > * 12:31 < digitarald> does anybody know how to use sprintf with utf8? there is no mb_ equivalent 12:32 < v-dogg> do you need one? 12:32 < v-dogg> I think almost all str functions handle utf-8 12:32 < v-dogg> strpos and some others don't 12:32 < v-dogg> not sure though :) 12:33 < digitarald> so why is there the mb_ API? 12:34 < horros> heh 12:35 < horros> interesting error message 12:35 < horros> "error connecting to server: [1] Not owner" 13:04 -!- shoan_ [n=shoan@61.95.206.107] has joined #agavi 13:12 < v-dogg> Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\workspace\EcomWebi2\3rdparty\agavi\util\AgaviVirtualArrayPath.class.php on line 126 13:12 < v-dogg> this is not good 13:13 < horros> ls 13:13 < horros> oops 13:13 * horros goes to the next window 13:14 < v-dogg> you do that :) 13:20 < digitarald> :D joomla don't accept rfc-valid mails ... like localhost domains :D 13:21 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 14:07 -!- Wombert [n=Wombert@dslb-088-064-001-194.pools.arcor-ip.net] has joined #agavi 14:34 < v-dogg> wombie 14:36 < Wombert> v-dogg :) 14:37 < v-dogg> Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\workspace\EcomWebi2\3rdparty\agavi\util\AgaviVirtualArrayPath.class.php on line 126 14:37 < Wombert> awwww 14:37 < Wombert> where does that happen 14:37 < Wombert> that's pretty uncool 14:37 < v-dogg> I'm posting an array of data 14:37 < v-dogg> row[1][foo] 14:38 < Wombert> that depth level is enough to trigger it? 14:38 < Wombert> holy smokes 14:38 < Macca`> guten morgen herr wombert. 14:38 < Wombert> hi Macca` 14:38 < Macca`> und herr v-hundg 14:38 < v-dogg> but almost identical input for another action works nicely 14:39 < v-dogg> two rows, six fields/row 14:39 < v-dogg> so it can't be that :) 14:39 < Wombert> is that in a slot maybe? 14:39 < Wombert> slots are nested deeper 14:40 < Wombert> but still, we gotta make that non-recursive or something 14:40 < Wombert> hmm 14:40 < Wombert> it _is_ non recursive 14:41 < v-dogg> it's not that count that is called too often 14:42 < Wombert> yeah sure that's not nested ;) 14:42 < v-dogg> http://pastebin.ca/142268 14:42 < Wombert> wtf 14:43 < v-dogg> $_POST: array ( 'rows' => array ( 0 => array ( 'prdline' => 'S', 'prdid' => '0105005', 'name1' => 'Tuotenimi 1', 'name2' => 'TUOTE 1', 'amount' => '1', 'unit' => 'kpl', ), 1 => array ( 'prdline' => 'S', 'prdid' => '0105006', 'name1' => 'Tuotenimi 2', 'name2' => 'TUOTE 2', 'amount' => 'asd', 'unit' => 'kpl', ), ), ) 14:43 < Wombert> could you open a ticket 14:43 < Wombert> assign to dominik 14:43 < Wombert> critical 14:43 < Wombert> include the pastebin and that $_POST 14:44 < Wombert> (the text from the pastebin I mean, in {{{ }}}) 14:44 < v-dogg> yep 14:44 < v-dogg> I'll look into this a bit more first 14:51 < v-dogg> heh, I got it :) 14:51 < v-dogg> the problem, not the solution 14:53 < v-dogg> Wombert: another problem 14:54 < v-dogg> Mod1.FooAction::handleError returns array('Mod2', 'Foo2Input') 14:55 < v-dogg> nooo, wait :) 14:56 < v-dogg> no, yes, there is a problem 14:56 < v-dogg> Mod2.Foo2InputView tries to open a template from Mod1 14:57 < v-dogg> AgaviView::initialize uses $this->context->getController()->getModuleDirectory() . '/templates'; 15:09 < v-dogg> I think I solved that infinite recursion 15:09 < v-dogg> view/template problem remains 15:09 < v-dogg> Wombert: heeeeelp :) 15:09 < Wombert> yayayay 15:10 < Wombert> I'm just looking into that view thing 15:10 < v-dogg> splendid :) 15:10 < Wombert> can't wait for trac 0.10 15:10 < Wombert> they'll have a special browser history mode or so IIRC 15:10 < Wombert> where you can see detailed changes per revision for a file 15:11 < v-dogg> that endless recursion happened because of non-typed test != '' and input array foo[0][bar] 15:11 < v-dogg> changed the test to !== '' and it seems to work 15:12 < Wombert> very good 15:12 < Wombert> can you commit that 15:12 < v-dogg> sure 15:12 < Wombert> I wonder how it managed to get out of the recursion though!? 15:12 < Wombert> or didn' tit 15:12 < v-dogg> probably not 15:12 < Wombert> nah it didn't 15:13 < Wombert> the weird thing is 15:14 < Wombert> directory and decorator directory were always like that 15:14 < Wombert> but 15:14 < Wombert> I know a fix already :) 15:14 < v-dogg> you rock 15:16 < Wombert> hmmmm 15:16 < Wombert> what would be the expected behavior there? 15:16 * Wombert ponders 15:16 < Wombert> yeah I think view's module's template dir is better 15:17 < v-dogg> absolutely 15:18 < CIA-7> david * r1001 /trunk/src/view/AgaviView.class.php: fixed a problem where views would use the action's module's template dir, not their own module's template dir 15:18 < Wombert> there ya go 15:19 < Wombert> v-dogg: where is that !== '' check 15:19 < v-dogg> \o\ 15:19 < v-dogg> /o/ 15:20 < v-dogg> AgaviValidator:~410 "} elseif($base->left() !== '') { " 15:34 < Wombert> hmmm 15:45 < v-dogg> yes. hmmm 16:08 < v-dogg> foo[0][bar] seems to cause all kinds of weird things... 16:09 < v-dogg> virtualpatharray doesn't handle it very well 16:09 < v-dogg> or AgaviValidator, don't know yet 16:13 < v-dogg> and/or fpf 16:18 < Wombert> dominik says it might be a little more than just that check 16:18 < Wombert> he'll check it later 16:19 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 16:34 < v-dogg> ok 16:35 < horros> *YAWN* 16:35 < v-dogg> are you sure, fpf doesn't have a problem with that 16:50 < digitarald> btw ... can i redirect in handleError()? 16:52 < v-dogg> you can redirect anywhere but the question is, should you 17:05 < horros> crapola 17:06 -!- raidman|Work [n=raidman@unaffiliated/raidman] has joined #agavi 17:08 -!- raidman|Work [n=raidman@unaffiliated/raidman] has quit [Client Quit] 17:09 < v-dogg> horros: wooty? 17:09 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:10 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 17:11 < horros> aaaaaaah 17:11 < horros> solaris <3 17:11 * impl slaps horros. 17:12 < v-dogg> haha 17:13 < v-dogg> horros strokes himself with one hand and solaris with the other 17:13 < v-dogg> you might go blind doing that, you know? 17:13 < Wombert> haha 17:15 < v-dogg> Wombert: do you vouch for fpf handling foo[0][bar] correctly? 17:15 < Wombert> pardon? 17:16 < v-dogg> does fpf handle foo[0][bar] input field correctly? 17:17 < Wombert> I think so 17:17 < Wombert> not sure 17:17 < v-dogg> because I have a suspicion it doesn't :) 17:17 < Wombert> yeah 17:17 < Wombert> well 17:17 < Wombert> still that field name problem from validation 17:17 < v-dogg> but it might be the validator screwing things up furst 17:17 < v-dogg> first 17:17 < Wombert> I think it inserts the value 17:17 < Wombert> but 17:17 < Wombert> doesn't highlight it with the error class 17:17 < Wombert> that's a known issue, dominiik has yet to fix that 17:18 < v-dogg> but that's not what I'm talking about 17:18 < v-dogg> for some reason the value doesn't appear in the output 17:19 < Wombert> yeah 17:19 < Wombert> it breaks with numeric indices 17:19 < Wombert> I can reproduce that 17:19 < Wombert> will look into it 17:24 < v-dogg> I probably found another part of validator that breaks with zero array index 17:25 < v-dogg> yeah 17:26 < digitarald> can i set request-parameters in validate?? i thought i can clean up parameters in validate? 17:26 < v-dogg> AgaviArrayPathDefinition::getValueFromArray 17:26 -!- shoan_ [n=shoan@61.95.206.107] has quit [] 17:26 < v-dogg> digitarald: you can 17:27 < v-dogg> what do you want to do? 17:28 < v-dogg> the validator you use must support exporting and you must define the parameter to be exported in your validation config 17:31 < digitarald> and in validateWrite()? 17:31 < v-dogg> ah, you are validating manually? 17:32 < v-dogg> then I'm not sure how it works 17:32 < digitarald> some things, yes ... 17:33 < v-dogg> as far as I understand what's going on in execution filter, you can manipulate request parameters in action::validate* 17:33 < digitarald> don't want to write validators for everything ... i should be able to export values in validate, or not? 17:33 < digitarald> mmhh 17:33 < digitarald> i recheck that 17:35 < digitarald> i can setParameter but the changes don't appear in the execute-$parameters 17:35 < Wombert> v-dogg: fixed 17:35 < v-dogg> fpf? 17:35 < v-dogg> you rock 17:35 < Wombert> :) 17:36 < v-dogg> I rock too, btw 17:36 < v-dogg> I think validation works now too 17:36 < Wombert> of course you do :) 17:36 * impl pets v-dogg's ego 17:36 < v-dogg> :p 17:36 < v-dogg> found two places that can't handle the zero index 17:36 < v-dogg> but I'm afraid to commit them :) 17:37 < Wombert> :) 17:37 < CIA-7> david * r1002 /trunk/src/util/AgaviArrayPathDefinition.class.php: virtual array path or whatever that bs is called fixed now for integer indices 17:37 < Wombert> you don't need to I believe 17:37 < Wombert> that there should fix it 17:37 < v-dogg> don't know what else just got broken :) 17:37 < impl> We still need to have a commit 1000 party 17:37 < Wombert> I agree 17:37 < Wombert> how brings the girls 17:37 < Wombert> -w 17:37 < Wombert> waaaah 17:37 < Wombert> who 17:37 < impl> Uh 17:37 < impl> Macca` has a hot girlfriend 17:38 < impl> :x 17:38 < Wombert> does he? 17:38 < Wombert> isn't he australian? 17:38 < impl> Oh yes 17:38 < impl> Mhm 17:38 < impl> I don't know how it happened 17:38 < Wombert> since when are australian girls hot 17:38 < impl> Maybe she's foreign 17:38 < Wombert> and how does an aussie get a hot girlfriend anyway 17:38 < Wombert> she must be 17:38 < v-dogg> haha 17:38 < v-dogg> shame on you guys :D 17:38 * Wombert prefers not to mention he's (a bit) australian, too 17:39 < Wombert> in fact, running around with the australian flag during the world cup here seemed to attract girls a lot 17:40 < v-dogg> but germans beat you up before you had a change with any of the chicks 17:40 < v-dogg> "take this, aussie lover" 17:40 < Wombert> lol :> 17:40 < impl> http://home.maccasoft.com.au/~brendanm/gallery/main.php?g2_itemId=19 17:40 < impl> ^^ 17:40 * impl hugs Firefox's history 17:41 < Wombert> is that a dog or a baby? :D 17:41 * Wombert runs 17:41 < Wombert> cute dog tho 17:41 < Wombert> at least as far as I can tell 17:41 < Wombert> must be some kind of terrier? 17:41 < impl> Beats me 17:42 < v-dogg> I first thought it was a baby too :) 17:42 < v-dogg> because, who the hell puts clothes on a dog 17:42 < Wombert> exactly 17:42 < v-dogg> stupid aussies 17:43 < v-dogg> ;) 17:43 < Wombert> ;) 17:43 < impl> haha 17:43 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 17:50 < CIA-7> v-dogg * r1003 /trunk/src/validator/AgaviValidator.class.php: Changed a loosely typed comparison in validateInBase to strict comparison to prevent an infinite recursion when validating array[0][foo]. 17:50 < v-dogg> \o\ 17:50 < impl> /o/ 17:50 < v-dogg> commit #1003 party \o/ 17:51 < horros> v-dogg: you need to type more tightly! 17:51 < horros> ZOMG LOL 17:51 * horros sighs 17:53 < v-dogg> :p 17:59 < digitarald> i should set request parameters from validate*() but they don't change in execute*() ... solutions? 17:59 < v-dogg> digitarald: let me take a look at that 18:02 < v-dogg> Wombert: action::validate* should get $actionEntry->getParameters() as a parameter, shouldn't it? 18:03 < v-dogg> it doesn't now, but it should, don't you agree? 18:03 < Wombert> hmmm 18:03 < Wombert> we could pass it to all of them, I guess... 18:04 < Wombert> even to getDefaultViewName and such 18:04 < Wombert> whatcha think? 18:04 < v-dogg> parameters cannot be normalized otherwise 18:04 < v-dogg> yeah 18:04 < Wombert> errrr yes they can 18:04 < Wombert> $this->getContext()->getController()->getActionStack()->getLastEntry()->getParameters() 18:04 < Wombert> that's the one 18:04 < v-dogg> ah that way 18:04 < v-dogg> but that sucks :) 18:04 < Wombert> the reason why I didn't do it for validate() and friends is 18:05 < Wombert> that at that point, there's nothing in them 18:05 < Wombert> even worse 18:05 < Wombert> they are not cleaned at that point 18:05 < Wombert> unlike in execute 18:05 < Wombert> which is... uhm... pretty uncool 18:05 < Wombert> because people might think they're safe to use it etc 18:06 < v-dogg> but that's what validate* is for 18:06 < v-dogg> at least there you should (easily) be able to access them 18:06 < v-dogg> getDefaultView doesn't need them 18:06 < v-dogg> and shouldn't get them 18:07 < v-dogg> because that can make people do stupid things :) 18:07 < v-dogg> what say you? 18:08 < Wombert> hmm 18:08 < Wombert> yeah 18:08 < Wombert> let's do it 18:08 < Wombert> can you change it? or shall I 18:08 < v-dogg> I'll do it 18:08 < Wombert> type hint in Action::validate() please 18:10 < v-dogg> will do 18:17 < CIA-7> v-dogg * r1004 /trunk/src/ (2 files in 2 dirs): Action::validate now gets request parameters as an AgaviParameterHolder. 18:17 < digitarald> thx :) 18:17 < digitarald> all validates? 18:17 < v-dogg> yep 18:17 < v-dogg> forgot hte * 18:18 < digitarald> ok ;) 18:18 < Wombert> good boy 18:18 < Wombert> yesss 18:18 < Wombert> good boy 18:18 < Wombert> here's a biscuit 18:18 < Wombert> :) 18:18 * v-dogg sits and raises his paw 18:18 < Wombert> can your dog do that? 18:18 < v-dogg> sure :) 18:18 < Wombert> coooool 18:18 < Wombert> any other tricks? 18:20 < v-dogg> some basic training stuff, coming to your left side, waiting when asked to, fetching and handing over toys 18:20 < Wombert> :) 18:20 < Wombert> that's the best thing 18:20 < Wombert> when you tell a dog to sit and wait 18:20 < Wombert> and he'll do that 18:21 < Wombert> no matter how long and no matter how far you go away from him 18:21 < digitarald> bye the way ... wombert ... rbac user, can he sit want wait ;) 18:21 < Wombert> I didn't get that last part, but yeah, it's finished already 18:21 < Wombert> with unit tests, I might add 18:21 < Wombert> just have to write a config handler for it 18:22 < digitarald> very nice ... 18:22 * digitarald raising his paw, too 18:31 < v-dogg> homehomehomehomehome ====> 18:31 < v-dogg> _o/ 18:39 < digitarald> fpf problem ... or not: When i use setAttribute('populate', array(...), ...); to set some default values he only take these and no request-parameters for populating the form ... is that wanted. It is not better to merge the given parameters with the request-parameters? 18:40 < Wombert> yes, that is intentional 18:42 < digitarald> ok 18:44 -!- shoan [n=shoan@59.92.162.41] has joined #agavi 19:12 < digitarald> problem: i have an userprofile form ... how can i validate only the parameters that where changed by the user? 19:13 < Wombert> why don't you want to validate the others 19:13 < eremit> ^^--- if they haven't changed they are still valid, aren'T they ? 19:13 < Wombert> exactly 19:13 < digitarald> i.e. checking if the new username is already taken? 19:14 < Wombert> I still don't get it 19:14 < eremit> ah ... 19:14 < eremit> your problem is you cannot do a isUsernameUnique check ... 19:14 < Wombert> I see 19:14 < eremit> because the value hasn't changed ... and therefor there is an entry in the db 19:14 < Wombert> come on 19:14 < Wombert> how's that a problem ;) 19:14 < Wombert> you have to write a custom validator for that anway 19:15 < eremit> hmmm use the user to determine if it has changed ? 19:15 < Wombert> compare it to the existing entry 19:15 < Wombert> if it's different, to the validation 19:15 < Wombert> where's the matter 19:15 < digitarald> ok ... just thought there is an easier way ... like doSomeMagic or so ... 19:15 < digitarald> ;) 19:15 < Wombert> should probably be a different form anyway 19:15 < Wombert> change name... change email... and edit profile 19:22 < digitarald> how can i create actions like Profile.Edit? 19:22 < digitarald> i forgot it :( 19:22 < Wombert> uh 19:22 < Wombert> with agavi action? 19:23 < Wombert> errr 19:23 < Wombert> you're not creating actions by hand, are you? 19:23 < digitarald> or modules with Profile.Edit? 19:23 < Wombert> how do you craete new actions? 19:23 < digitarald> yes? ;) 19:23 < digitarald> how should i? 19:23 < Wombert> hoooooly crap 19:23 < digitarald> what am i supposed to do? 19:23 < Wombert> awwww someone should have told you 19:23 < Wombert> you're not using the command line script? 19:23 < digitarald> no 19:23 < Wombert> how did you set up a project? 19:24 < digitarald> i'm using my own templates :) 19:24 < Wombert> w000000t 19:24 < Wombert> use the command line script 19:24 < Wombert> it does everything for you 19:24 < digitarald> i copied the sample-app and startet developing 19:24 < Wombert> uh oh 19:24 < Wombert> you can define your own code templates, even per module 19:24 < Wombert> man that's a pain, really 19:25 < Wombert> I feel pretty sorry for what you've been through ;) 19:25 < digitarald> eclipse created me my actions/views/templates on-the-fly ... why should i use this command-line? ;) 19:25 < Wombert> hmm 19:25 < digitarald> what is better when i use the command line? 19:25 < Wombert> because uuuhm 19:25 < Wombert> you type "agavi action" 19:25 < Wombert> it asks for which module (unless you're in a module directory) 19:25 < Wombert> then it asks for the action name 19:26 < Wombert> and what views you want 19:26 < Wombert> and it uses default code templates, or the ones you specified, which can even be per module... i.e. different action templates for each of your modules etc 19:26 < Wombert> same for a project 19:26 < Wombert> go to an empty dir 19:26 < Wombert> type "agavi project" and it sets everything up for you 19:27 < Wombert> anyways, sub actions are just directorie 19:27 < Wombert> s 19:27 < digitarald> ok ... that was the point i wanted to know ;) 19:29 < digitarald> i have to use phing for the commands? 19:30 < Wombert> it uses phing, yes 19:32 < digitarald> ok ... phing isn't installed really on this pc ... no way :) 19:32 < digitarald> really means: eclipse know where it is ... but i'll try that out with Ant 19:33 < Wombert> errrrrr 19:33 < Wombert> "pear install phing/phing" 19:33 < Wombert> and you're done 19:34 < Wombert> well, actually you have to discover the channel first or provide the full url 19:34 < digitarald> pear ... can't find command ;) 19:34 < Wombert> it's in your php directory 19:35 < Wombert> run go-pear first if necessary 19:35 < digitarald> and then i can type 'agavi' anywhere an my computer? 19:35 < Wombert> depends on where you put the script ;) 19:36 < digitarald> which script? 19:36 < Wombert> "agavi" 19:39 < digitarald> ah ... where do i have to put it ... actually it not in the project dir ... 19:40 < digitarald> ok ... fireevening ;) 19:41 < digitarald> bye 19:41 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:18 < v-dogg> and you don't even have to install install phing if you don't want to (or if just seeing pear makes you vomit) 20:19 < v-dogg> just download .tar.gz, unpack and set the path to the agavi script 20:19 < v-dogg> no include_paths or other shceize (no idea how you spel that :) to set 20:19 < Wombert> rbac user works! 20:19 < Wombert> hooray! 20:20 < v-dogg> hooray for boobies! 20:20 < Wombert> that was a good album! 20:20 < Wombert> well okay 20:20 < v-dogg> and whose was it again? 20:20 < Wombert> it wasn't really 20:20 < Wombert> I mean 20:20 < Wombert> bloodhound gang... 20:20 < Wombert> let's say it was popular 20:21 < v-dogg> it has some funny songs 20:23 < shoan> rbac? 20:23 < shoan> new agavi feature? 20:24 < Wombert> not really a new feature 20:24 < Wombert> just a user implementation 20:24 < v-dogg> just extended user 20:25 < v-dogg> how does it work? 20:26 < Wombert> the user loads a definition of roles and the credentials they imply 20:26 < Wombert> it can handle nested roles definitions where children roles inherit parent credentials 20:26 < Wombert> by default, it grabs the role definitions from an xml file 20:26 < Wombert> but you can overwrite the loadDefinitions() method to load roles from a database etc 20:27 < Wombert> then, you use grantRole() and revokeRole() to add or remove a role for the user 20:27 < Wombert> it will then set the credentials 20:27 < Wombert> everything else is as usual 20:27 < Wombert> most straightforward way would, again, be to implement a login() method that also loads the roles from the database or whatever 20:29 < v-dogg> can it easily be extended to use db? 20:29 < Wombert> for what? 20:29 < Wombert> loading role definitions? 20:30 < v-dogg> yep 20:30 < Wombert> yeah 20:30 < v-dogg> dynamic groups/roles 20:30 < Wombert> as I said 20:30 < Wombert> overwrite one method to make it happen 20:31 < v-dogg> ah, I missed that :) 20:31 < Wombert> I even have unit tests for the user and the config handler ;) 20:32 < v-dogg> oooooh 21:09 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: CIA-7 21:09 -!- Netsplit over, joins: CIA-7 22:12 -!- benny`work [n=benny@p54AC2369.dip0.t-ipconnect.de] has joined #agavi 23:59 < CIA-7> david * r1005 /trunk/src/config/xsd/validators.xsd: allow 'context' attribute in validator configurations --- Day changed Tue Aug 22 2006 01:30 < CIA-7> david * r1006 /trunk/ (13 files in 11 dirs): 01:30 < CIA-7> added RBAC user implementation. use grantRole() and revokeRole() to assign 01:30 < CIA-7> permissions of a role to the user. loadDefinitions() can be overwritten to load 01:30 < CIA-7> a roles and their credentials from a source different from rbac_definitions.xml. 01:30 < CIA-7> closes #320 01:30 < Wombert> there it is! 01:31 < Wombert> enjoy 01:40 * Macca` thinks using smarty templates might be better than the templates that are in use atm 01:58 -!- benny`work [n=benny@p54AC2369.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:37 < Macca`> rbac? 02:37 < Wombert> http://en.wikipedia.org/wiki/RBAC 02:39 < impl> RBAC built-in to Agavi? O.o 02:41 < Wombert> ehm 02:41 < Wombert> no 02:42 < Wombert> just a user implementation for RBAC 02:42 < Wombert> when you log the user in, you do $user->grantRole('whatever'); and it will set the credentials implied by that role membership 02:43 < Wombert> defining roles and their permissions, handling role membership etc is still your business 02:47 < Macca`> yay 03:16 < CIA-7> david * r1007 /trunk/src/config/AgaviOutputTypeConfigHandler.class.php: fixed possible infinite loop due to output type fallback misconfiguration, closes #319 05:06 -!- Wombert [n=Wombert@dslb-088-064-001-194.pools.arcor-ip.net] has quit [] 05:36 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Remote closed the connection] 05:36 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 08:15 < v-dogg> huomenta 08:17 < v-dogg> Macca`: smarty > ? 08:17 < Macca`> smarty > the "templating" system in agavi 08:18 < impl> AgaviSmartyRenderer, ass! 08:19 < Macca`> ? 08:19 * Macca` sees that... not. 08:19 < v-dogg> why is it better? 08:19 < v-dogg> php is a template language it self 08:20 < v-dogg> agavi has no "templating" per se 08:20 < v-dogg> and smarty just simplifies some of the more complex syntax of php 08:20 < v-dogg> and makes others more complex :) 08:21 < v-dogg> like those sections and what have you 08:22 < v-dogg> for agavi it makes no difference what you use 08:22 < v-dogg> smarty may come with some (very subtle) overhead 08:24 < eremit> morning ... 08:31 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:42 < v-dogg> Macca`: I'm still waiting to hear what do you think is better in smarty :) 08:42 < v-dogg> or what's wrong with php (I take it you were talking about php when you said "the "templating" system in agavi") :) 08:44 < Macca`> it's just nicer in smarty to do {$var} as opposed to: 08:44 < Macca`> and no i don't want shorttags :| 08:50 < v-dogg> short tags have only two problems: mixing with but for projects where I can control the enviroment (ie. can turn short tag on) I use them 08:57 -!- [1]eremit [n=eremit@p5490EAF3.dip.t-dialin.net] has joined #agavi 08:57 -!- eremit [n=eremit@84.144.184.164] has quit [Nick collision from services.] 08:57 -!- [1]eremit is now known as eremit 09:56 < horros> hi 09:57 < Macca`> hii 10:27 -!- Mitja [n=Mitja@unaffiliated/mitja] has joined #agavi 10:37 -!- Mitja [n=Mitja@unaffiliated/mitja] has left #agavi [] 11:51 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:51 < digitarald> morning 12:00 < digitarald> anybody out there? :) 12:01 < eremit> heyho .. and yes ... 12:03 < digitarald> can i check in a view if that action is forwarded ... like login-view? 12:04 < eremit> analysing action stack ? 12:05 < digitarald> but i can't check there if the action stack is used for forwarding or for slots 12:05 < eremit> why should a view care about being forwarded anyway ? 12:05 < eremit> what are you trying to do? 12:07 < digitarald> i had the actionstacksize > 1 ... for checking if that view is slotted ... the problem is, when the action is forwarded the stacksize is also > 1 12:09 < eremit> eeh... okay ... 12:10 < eremit> i remember somewhere something like isForwarded ... but i cannot remember if it was agavi 12:19 < digitarald> :D 12:19 < digitarald> so ... lets build eclipse ant commands for the agavi command line 12:19 < eremit> Oo 12:25 < digitarald> does anybody work with agavi-commandline? 12:26 < eremit> not really 12:30 < digitarald> oh ... nice ... rbac user ... cooooool 12:30 < shoan> digitarald: that would be cool. I use phpeclipse too :) 12:32 < digitarald> i implemented phing in eclipse ... i think agavi would be no problem, but i don't know the possible targets and commands. i thought i will ask for actions ... but only this: 12:32 < digitarald> [exec] [echo] available targets: 12:32 < digitarald> [exec] [echo] docs : regenerate phpdocs 12:32 < digitarald> [exec] [echo] test : run unit test suite 12:32 < digitarald> [exec] [echo] package : generate PEAR package 12:32 < digitarald> [exec] [echo] clean : clean out cruft 12:33 < digitarald> wombert forgot my name in the rbacuser classes ... *grmpf* ... 12:34 < digitarald> he did even left my comments and my example xml ... 12:40 < digitarald> did anybody take a look at the new rbac user ;) 12:42 < horros> I have my own :) 12:42 < horros> but I'll look at it when I have time :) 12:43 -!- shoan [n=shoan@59.92.162.41] has quit [] 12:45 -!- shoan [n=shoan@59.92.162.41] has joined #agavi 12:53 -!- shoan_ [n=shoan@59.92.162.41] has joined #agavi 13:06 -!- shoan [n=shoan@59.92.162.41] has quit [Read error: 110 (Connection timed out)] 13:07 -!- shoan_ is now known as shoan 13:36 < digitarald> vote: did anybody use the ez component: Translation? 13:36 < eremit> no 15:11 < v-dogg> no 15:50 -!- Wombert [n=Wombert@dslb-088-064-007-097.pools.arcor-ip.net] has joined #agavi 15:52 < Wombert> y000 15:52 < eremit> hey^^ 15:57 < eremit> somebody here who knows about php internal and their stupid auto typecasting ? 16:00 < Wombert> ? 16:00 < eremit> ah i just stumpled over '00' == '0000' evaluating to true ... 16:02 < Wombert> well use === then 16:02 < v-dogg> numerical strings are compared as numbers 16:02 < Wombert> I didn't know that either 16:02 < Wombert> I thought that if you compare a string to a number 16:02 < Wombert> the string gets cast to a number 16:02 < Wombert> but if you compare two strings... pretty stupid 16:02 < eremit> yes ... and (string)'00' == (string)'0000' .... evaluates to true too ... and that is really stupid 16:02 < v-dogg> yes 16:03 < v-dogg> you have to use strict comparision === 16:03 < eremit> hmpf ... going through 1000 lines of code and change it :/ 16:04 < digitarald> hi Wombert :) 16:04 < eremit> v-dogg ... btw a === according to the php description should also evaluate to true ... but it doesn't 16:04 < v-dogg> no it shouldn't, why? 16:04 < eremit> because === is according to the desc equal to $a==$b && gettype($a) == gettype($b) 16:05 < v-dogg> yes, but $a==$b uses numerical comparision if they are both numerical strings :) 16:05 < v-dogg> no conflict there 16:06 < eremit> yes and this isn'T mentioned in the docs ... :/ but good to know ... 16:06 < v-dogg> or.. there is in a way :) 16:08 < eremit> gna :) ... i would like to slay s.b. for this ... searching and debugging 6 hrs the code because of this 16:09 < v-dogg> http://www.php.net/manual/en/language.operators.comparison.php 16:10 < Wombert> [15:04] eremit: because === is according to the desc equal to $a==$b && gettype($a) == gettype($b) 16:10 < Wombert> nope 16:10 < Wombert> other way round, for obvious reasons 16:10 < Wombert> and 16:10 < Wombert> well 16:11 < Wombert> that's not really the way it works ;) 16:11 < eremit> yes it isn't ... *grml* sorry, just a little bit upset atm ... 16:11 < Wombert> the documentation isn't very clear about this 16:11 < Wombert> in essence, what === does is NOT value AND type comparison 16:11 < Wombert> but comparison without casting types 16:12 < eremit> yes ... 16:14 < eremit> i'm simply upset because of the loss of time, and because it puts more oil into the anti-php fraction over here :/... 16:14 < digitarald> let's learn ruby ;) 16:15 < eremit> that's where some of the programmers here want to go ... to enhance their portfolio ... 16:25 -!- Kubicek [n=kubicek@gw.letna.cz] has joined #agavi 16:25 < Wombert> hi Kubicek 16:27 < Kubicek> hi wombert! :) 16:29 < Wombert> how are you 16:30 -!- AgaviBot [n=dzuelke@dslb-088-064-007-097.pools.arcor-ip.net] has joined #agavi 16:31 < Kubicek> fine. tnx. and you? how is agavi going? 16:31 < Wombert> very well! 16:31 < Wombert> we're close to 0.11b1 16:31 < Kubicek> haven't watched this project over a year :( 16:32 < Kubicek> feti is out and illusina is still in ? 16:32 < Wombert> uuuh 16:32 < Wombert> agavi? 16:32 < Wombert> no, they never were! 16:32 < Wombert> you mean bob and mike? 16:32 < Wombert> http://blog.bitxtender.com/2006/08/01/agavi-project-activity/ 16:33 < Kubicek> i know feti was mojavi only, but it stopped and forked agavi. but i thought ilusina was still interested in agavi 16:33 < Kubicek> oki, i'll read :) 16:33 < Kubicek> wow :) nice commits :) 16:34 < AgaviBot> News from The Hero Dies in This One at http://blog.bitxtender.com : 16:34 < AgaviBot> 1) http://blog.bitxtender.com/2006/08/22/scriptaculous-redesign/ : script.aculo.us redesign 16:34 < Wombert> !info 16:34 < 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! 16:34 < Wombert> !seen Kubicek 16:34 < AgaviBot> Wombert: Kubicek is online right now, last message on Tue Aug 22 15:34:02 2006 saying "wow :) nice commits :)" 16:34 < Wombert> :) 16:34 < Kubicek> brave bot 16:39 -!- shoan_ [n=shoan@59.92.170.1] has joined #agavi 16:51 -!- shoan [n=shoan@59.92.162.41] has quit [Read error: 110 (Connection timed out)] 16:53 < horros> ahahaha 16:53 < horros> bash-3.00$ for i in `svn log -r 1216:HEAD -v | grep -E ' [A-Z] \/' | sed -e 's/ M //g' | grep Patientregister | sed -e 's/^\/trunk\///g'` ; do cp $i /cygdrive/d/phingtests/BuildPackage/CollectedUpdates-0.3/module/`echo $i | awk -F '/' '{print $2"/"$3}'` ; done 16:53 * horros rox 16:53 < horros> :D 16:56 < Wombert> wtf 17:07 < horros> grabs the modified files since revision 1216, copies them to my buildpackage -directory, where I then run phing -DinDir=CollectedUpdates-0.3 -DoutDir=.. -Dproject_name=CollectedUpdates -Dproject_version=0.3 17:07 < horros> and WHAM, I have an update package called CollectedUpdates-0.3.zip which contains the updates, the phing-files that tell the app how to deploy them and a package.xml -file that contains SHA1-sums for all the files in the package 17:07 < horros> I still need to automate this more :) 17:08 < Wombert> GEEK 17:08 < Wombert> ! 17:08 < Wombert> NERD 17:08 < Wombert> ! 17:08 < horros> like... 17:08 < Wombert> it seems 17:08 < Wombert> I have to go shopping 17:08 < horros> phing -f buildupdate.xml -Drevision=1234 :) 17:08 < Wombert> my fridge is all empty 17:08 < Wombert> and the belly is complaining already 17:08 < horros> poor belly :( 17:53 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:58 < Wombert> eremit: you there? 18:00 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:01 < CIA-7> david * r1008 /trunk/src/filter/ (2 files): nested configuration parameter 'output_types' may now be used to restrict the output types for which ExecutionTimeFilter and FormPopulationFilter do their work 18:01 < impl> Hi :D 18:02 < Wombert> hi 18:03 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 18:03 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1008 : Changeset [1008]: nested configuration parameter 'output_types' may now be used to restrict ... 18:22 -!- benny`work [n=benny@p54AC140A.dip0.t-ipconnect.de] has joined #agavi 18:25 < digitarald> mmmhhh ... what about the caching ;) then we can say .11 is beta :) 18:39 < v-dogg> caching would be nice 20:08 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 20:42 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 20:47 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has joined #agavi 20:48 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 20:48 -!- raidman|Away is now known as raidman 21:47 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 21:47 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/281 : Ticket #281 (task) closed by david 22:13 -!- raidman is now known as raidman|Away 22:17 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:29 -!- piter75 [n=piter@dkj23.neoplus.adsl.tpnet.pl] has joined #agavi 22:29 < Wombert> hi piter75 22:29 -!- piter75 [n=piter@dkj23.neoplus.adsl.tpnet.pl] has left #agavi [] 22:30 < raidman> Wombert, hi :) --- Day changed Wed Aug 23 2006 01:00 -!- benny`work is now known as benny`patching 01:01 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 01:21 -!- benny`patching is now known as benny`patchslut 01:33 < Wombert> re 01:33 < Wombert> hi raidman :) 01:33 < raidman> :) 02:04 -!- benny`patchslut [n=benny@p54AC140A.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:05 < Macca`> rE 02:59 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 60 (Operation timed out)] 03:21 -!- Wombert [n=Wombert@dslb-088-064-007-097.pools.arcor-ip.net] has quit [] 03:37 < raidman> night 03:37 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 03:37 -!- AgaviBot [n=dzuelke@dslb-088-064-007-097.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 03:39 -!- impl [n=impl@adsl-214-247-11.rmo.bellsouth.net] has joined #agavi 08:05 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has joined #agavi 08:05 < pressureman> yo, any agavi 0.11 devs here? 08:13 < v-dogg> _o/ 08:13 < v-dogg> _o/ 08:13 < v-dogg> ups :) 08:14 < pressureman> hey hey 08:14 < v-dogg> accidental double wave 08:14 < pressureman> i've just starting migrating a 0.10.2 project to 0.11 08:14 < pressureman> i used to have pages that output pure XML, to be consumed by an XmlHttpRequest 08:15 < pressureman> i previousuly used setContentType('text/xml') 08:15 < pressureman> how do i do this with 0.11? 08:16 < v-dogg> if you need to set the content type manually, you do that in View::initialize 08:16 < v-dogg> but how does your app work 08:17 < v-dogg> do you always output xml or do you serve other content types too? 08:17 < pressureman> other types 08:17 < pressureman> mainly xhtml, but some views serve xml 08:17 < v-dogg> the easiest way to do this would be using routes 08:18 < pressureman> several views in fact, which is why i have an XMLView, which extends AgaviView 08:18 < v-dogg> you define output types in config/output_type.xml 08:18 < pressureman> i'm not using routing (until it's better documented) 08:18 < v-dogg> and then you define output_type in routes 08:18 < v-dogg> you should 08:18 < v-dogg> makes many things so much easier 08:18 < pressureman> so i've basically got to add a route for every action? 08:19 < v-dogg> no, not necessarily 08:19 < pressureman> can i not do it without routing? 08:19 < v-dogg> sure 08:19 < pressureman> i have my xml views extend XMLView (my own), which extends AgaviView 08:20 < v-dogg> either by having a filter deciding the content type, or manually setting it in View::initilize 08:20 < pressureman> in my XMLView i'm overriding the initialize function (and calling parent::initialize) 08:20 < v-dogg> you can put it there 08:20 < pressureman> so what do i need to put in my initialize 08:20 < pressureman> i tried $this->getContext()->getController()->setOutputType('xml'); 08:20 < v-dogg> just a sec 08:21 < pressureman> i presume they have to refer to something in output_type.xml 08:21 < v-dogg> no, its Response objects responsibility now 08:21 < v-dogg> you don't have to 08:21 < pressureman> response class has a setContentType, but it's protected 08:22 < v-dogg> WebResponse:: public function setContentType($type) 08:22 -!- shoan_ [n=shoan@59.92.170.1] has quit [Read error: 110 (Connection timed out)] 08:23 < pressureman> my initialize override function in XMLView is public function initialize(AgaviResponse $response, $attributes = array()) 08:23 < v-dogg> AgaviView::public function initialize(AgaviResponse $response, $attributes = array()) 08:23 < v-dogg> you need to use _that_ response object 08:23 < pressureman> parent::initialize($response, $attributes); 08:24 < pressureman> ok, so if i do $response->setContentType('text/xml') straight after that? 08:24 < v-dogg> that should do it 08:24 < v-dogg> I haven't used it like that though 08:25 < pressureman> nah, still serving as text/html 08:27 < pressureman> how about setOutputType ? 08:28 < eremit> isn't the output type stored in the controller ? 08:28 < eremit> g'morning 08:28 < v-dogg> $response->setContentType('application/xml'); 08:28 < pressureman> just tried $this->getContext()->getController()->setOutputType('xml'); 08:28 < v-dogg> works for me 08:28 < pressureman> stand by 08:29 < v-dogg> that's the output type defined in output_type.xml 08:29 < pressureman> no, setContentType('application/xml') still returns text/html to firefox 08:29 < v-dogg> not for it doesn't :) 08:30 < v-dogg> Content-Type: application/xml 08:30 < v-dogg> from headers 08:30 < pressureman> you're using routing? 08:30 < v-dogg> yep, but it has nothing to do with this 08:30 < pressureman> ok, well just in case it doesn, i'm not using routing 08:30 < v-dogg> $response->setContentType('application/xml'); just sets the headers 08:31 < pressureman> seems to be having no effect for me 08:32 < pressureman> if i try setOutputType('xml') i get PHP Fatal error: Class 'XSLTProcessor' not found in /usr/share/php/agavi/renderer/AgaviXslRenderer.class.php on line 104 08:36 < pressureman> hmm... well, a rather brutal approach is header('Content-Type: text/xml'); 08:37 < pressureman> the question is, why does setContentType work for me 08:37 * impl blushes... someone is using the class I wrote 08:37 < impl> The reason you're getting that error about XSLTProcessor is because you don't have the xsl parser extension installed 08:37 < v-dogg> yep 08:37 < v-dogg> and you took your configs from the sample app, didn't you?-) 08:38 < pressureman> ok, that's cool, i don't need xslt. i'm spitting out xml from a DOM object 08:38 < pressureman> yep sure did 08:38 < impl> Aww. :P 08:38 < v-dogg> 'xml' output type is defined in config/output_types.xml 08:39 < pressureman> yeah saw that... which seemed to at least be trying to work, with setOutputType 08:39 < pressureman> but should i be using setOutputType, or setContentType ? 08:39 < impl> Probably setOutputType. 08:40 < impl> You just need to use a different renderer than AgaviXslRenderer 08:40 < v-dogg> setOutputType sets the header, setContentType uses definitions from your config (and you can define the renderer and output headers in there) 08:40 < pressureman> don't you mean the other way around 08:40 < impl> Yeah, I was gonna say 08:40 < impl> Unless I've been misunderstanding the system :< 08:41 < v-dogg> sorry, you are right :) 08:42 < v-dogg> BUT $response->setContentType('application/xml'); in MyView::initialize WORKS 08:42 < v-dogg> if it doesn't, something goes wrong there :) 08:43 < v-dogg> just tried $response->setContentType('text/plain'); 08:43 < v-dogg> works fine 08:43 < pressureman> 08:43 < pressureman> i doesn't work 08:43 < impl> :< 08:44 < v-dogg> and you are sure it gets called? 08:44 < impl> pressureman: You /are/ using the right response object right? 08:44 < impl> Not just magically pulling it from the dust 08:44 < v-dogg> or the extended class is not calling parent 08:45 < v-dogg> or calls it with wrong parameters 08:45 < pressureman> umm, i guess i could var_dump it... 08:45 < v-dogg> are you using decorators? 08:46 < pressureman> no, not specifying decorator or template 08:46 < v-dogg> not specifying template? 08:46 < v-dogg> that's it 08:46 < pressureman> the view itself does the DOM->saveXML 08:46 < v-dogg> nothing gets rendered 08:46 < pressureman> it is rendering it tho 08:46 < v-dogg> that's why it doesn't work 08:46 < impl> You need a template :P 08:46 < pressureman> just not correctly specifying the content-type 08:46 < v-dogg> response headers are never sent 08:47 < impl> Right, response won't work without a template 08:47 < pressureman> ok, so i can just specify an empty template? 08:47 < impl> Why not set the XML data to a view attribute and use the template to display it? 08:48 < pressureman> yeah i guess i could... just seemed unnecessary 08:48 < v-dogg> you should not do that in the view 08:48 < pressureman> i know it's a bit naughty 08:48 < v-dogg> because currently agavi is able to serve multiple content types using a single action and a single view 08:49 < v-dogg> and multiple tempaltes 08:49 < v-dogg> right now you can't 08:49 < impl> (sex!) 08:49 < pressureman> ok, i'm specifying an empty template, it renders but still wrong content-type 08:50 < impl> :< 08:51 < impl> Do you get an error at the bottom about headers being already sent? 08:51 < v-dogg> you are outputing you xml before the response gets a chance to send any headers 08:51 < v-dogg> your* 08:51 < pressureman> ok i'll try stuffing the xml in a var and echoing it from the template 08:52 < pressureman> hooray! 08:52 < pressureman> that worked 08:54 < pressureman> so it's basically very very bad karma to echo anything directly from the view, even if you don't need a template or decorator 08:54 < impl> Pretty much, yeah 08:55 < impl> That's why templates were invented :P 08:56 < pressureman> ok my bad... 08:56 < pressureman> (although my previous method worked with 0.10.2 08:56 -!- [1]eremit [n=eremit@p5490F895.dip.t-dialin.net] has joined #agavi 08:56 < v-dogg> yep, but now we have very cool header stuff :) 08:57 < pressureman> actually... maybe not. i remember having to set an empty template just to keep agavi happy, but i was echoing directly from the view 08:57 < pressureman> zend framework could learn a trick or two from agavi 08:57 < v-dogg> all headers are sent from the response object which even makes it possible to cache them 08:59 < pressureman> v-dogg, about routing... i'm trying to convert all the API stuff first in my app, then i'll look at using routing 08:59 < pressureman> it'll certainly be good to get rid of those ugly URL strings 08:59 < v-dogg> there's more to it than that 08:59 < v-dogg> how do you create urls/links now? 08:59 < pressureman> i use the agavi genURL i think 09:00 < v-dogg> I don't know it even exists anymore :) 09:00 < pressureman> eek 09:00 < v-dogg> routing makes even this easier 09:00 < pressureman> maybe i'll be using routing sooner rather than later 09:00 < v-dogg> you just say $routing->gen('route_name'); 09:00 < pressureman> so far i've spent the last couple of days getting my login page to work! 09:00 < v-dogg> hihi :) 09:00 < impl> So I was thinking v-dogg 09:01 < impl> If you wanted to have routes pointing to somewhere besides Agavi 09:01 < impl> So you could generate URLs to them 09:01 < impl> They wouldn't necessarily be matched ever 09:01 < impl> but if you had a subdomain that contained another Agavi instance on another server 09:01 < impl> What would be the best way to link to it? 09:02 < v-dogg> don't know really 09:02 < impl> I wonder if we could do that with routing 09:02 < impl> or something 09:02 < v-dogg> right now I think you could only use something like echo 'http://sub2.my.foo' . $ro->gen('other_route'); 09:03 < pressureman> i love the new exception page, with SVG graphics 09:03 < v-dogg> but this is something we have to think about 09:03 < impl> pressureman: Oh, it is beautiful. :) 09:03 < v-dogg> the other day somebody needed https links 09:03 < v-dogg> from a non-https site 09:03 < pressureman> i need to start using exceptions more myself, instead of procedural if-then-else 09:04 < impl> v-dogg: Mm, yeah, that could be a problem 09:05 < v-dogg> $ro->gen('name', $parameters, array('relative'=>false)); creates a full uri (with protocol, server name, ports and everything) 09:05 < v-dogg> but if your request was http, the link will also be http 09:06 < impl> Right 09:06 < impl> if you could have protocol/server name/ports options in the routing config, that would be pretty sexy 09:06 < v-dogg> we have to think about that 09:06 < impl> In fact that way you could even match requests from different domains using the same app 09:06 < v-dogg> that relative=>false was designed for redirecting 09:07 < impl> http://foo.com/search for one and http://bar.com/search for another 09:07 < v-dogg> actually there's away to do that already 09:07 < impl> Oh? :o 09:07 < v-dogg> matching is not the problem, creating is 09:08 < v-dogg> 09:08 < impl> ahh... 09:08 < v-dogg> so you can match $_SERVER['HOST'] (or whatever it's called) 09:08 < impl> Yeah :D 09:13 -!- eremit [n=eremit@p5490EAF3.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 09:13 -!- [1]eremit is now known as eremit 09:14 < pressureman> one thing that would be great in agavi is support for xforms 09:15 < v-dogg> how well are they supported? 09:15 < pressureman> the separate of form layout and form data might even make things easier for form (re)populating 09:15 < v-dogg> by clients 09:15 < pressureman> still beta in firefox 09:15 < pressureman> novell do an activex control for IE 09:15 < v-dogg> re-population goes nicely with formpopulationfilter 09:15 < pressureman> some banks are starting to use xforms for online banking 09:16 < pressureman> it would stop people from going down the dead end street of ajax forms 09:16 < v-dogg> "the dead end street of ajax forms" 09:17 < v-dogg> :D 09:17 < v-dogg> but but but 09:17 < pressureman> well, most of what people are writing pages and pages of JS to do in ajax forms is done with about half a page or markup in xforms 09:17 < v-dogg> xforms are sent as xml to the server? 09:18 < pressureman> can be xml or traditional url-encoded 09:18 < pressureman> populating a form has to be xml tho 09:18 < v-dogg> handling them with agavi should be trivial... hmm... 09:18 < v-dogg> both ways 09:19 < pressureman> it can be two http requests - one to load the form, and one to load the xml that contains the data 09:19 < pressureman> or i think you can stuff the data into an xml instance in the same http request as the form layout itself 09:19 < pressureman> but the markup is well separated from the data 09:20 < pressureman> populating select boxes can be done easily by specifying an xml instance (which can be a separate http request) 09:22 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 09:22 < v-dogg> http://www.w3schools.com/xforms/tryit_xapp.asp?filename=try_form 09:23 < v-dogg> that seems to work with both IE6 and FF 09:23 < v-dogg> kinda.. 09:24 < pressureman> that's a server side xforms implementation 09:24 < pressureman> it translates to legacy html forms 09:25 < pressureman> real xforms have to be sent as xhtml 09:25 < pressureman> the xforms extension for mozilla is fairly good 09:28 < pressureman> i got a surprise the other day when i saw that mojavi had a disk crash 09:28 < v-dogg> yeah 09:33 < pressureman> with the new class names, is the 'Default_' prefix mandatory? 09:34 < v-dogg> no 09:34 < pressureman> what's the purpose of the prefix then? 09:34 < v-dogg> prevent name collisions 09:35 < v-dogg> Admin_ShowProductsAction and Default_ShowProductsAction 09:35 < pressureman> ok, so given those examples, does the prefix need to be in the filename too? 09:35 < v-dogg> no 09:36 < v-dogg> the folder structure implies that 09:37 < pressureman> ok... but it's a good practice to prefix the class names with the module name? 09:38 < pressureman> where the heck has getModuleName() gone? 09:41 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 09:42 < v-dogg> pressureman: I see now harm if you prefix them 09:42 < v-dogg> I use code templates and agavi helper script so they are automatically prefixed 09:43 < v-dogg> what module name do you need? 09:43 < pressureman> it's ok, i found it... it's moved from context to controller 09:43 < pressureman> now, as you suspected, genURL is gone 09:44 < pressureman> i was previously using genURL to generate an agavi URL that included some params in the url string (database primary key) 09:44 < pressureman> what are my options now? 09:44 < v-dogg> write your own gen url or use routing, I think 09:45 < pressureman> heh 09:45 < pressureman> umm, i presume it's possible to have params in routing? 09:47 < pressureman> i used genURL a LOT! 09:48 < v-dogg> routes and parameters are good friends :) 09:49 < v-dogg> http://trac.agavi.org/trac.cgi/wiki/Routing 09:49 < v-dogg> some simple examples 09:49 < pressureman> cool. i'll read up on that and start migrating to routing :) 09:49 < pressureman> time to call it a day... thanks your help! 09:49 -!- Kubicek [n=kubicek@gw.letna.cz] has left #agavi [] 09:50 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has left #agavi [] 10:04 < shoan> anybody using phpeclipse here? 10:05 < v-dogg> _o_ 10:05 < eremit> i once used it ^^ ... 10:10 < ttj> ... then I went back to vim. 10:10 < eremit> ... and me to zend studio 10:11 < shoan> heh 10:11 < v-dogg> zend studio ++ 10:11 < ttj> vim doubleplusgood. 10:11 < shoan> i think digitarald uses it 10:12 < shoan> guess I will have to wait for him 10:12 < eremit> v-dogg, currently i have heavy performance issues using zend :/ so one - from me 10:12 < eremit> maybe the projekt is too large *hehe* 10:19 < v-dogg> eremit: are you using it just for coding or debuging too? 10:19 < eremit> coding, debugging, and some profiling ... 10:19 < v-dogg> ok 10:19 < eremit> sadly the svn extension is crappy... they should take a deep look at the subclipse plugin ... 10:20 < v-dogg> I use tortoise 10:20 < eremit> yeah me too ... but subclipse is really great ... their merge editing is really really nice 10:21 < v-dogg> ok 10:21 < v-dogg> I'm working solo so I never have to merge :) 10:21 < eremit> ;)... currently i have an evaluation copy of komodo here ... but had no time to test it yet ... 10:22 < eremit> zend here makes here massive problems on some clients ... :/ currently i consumes about 700mb memory at my workstation 10:23 < eremit> and the project only has 11.077 files, 6.349 directories and a size of 41.9 mb 10:24 < v-dogg> code completition db probably grows quite large with a project like that 10:24 < v-dogg> among other things 10:25 < eremit> maybe, but i don'T care ... my workstation is big enough ... but the smaller workstation here, suffer heavy problems ... 10:26 < eremit> and having a zend studio enterprise, i would expect it to handle such projects with an ease 10:26 < v-dogg> yep 10:27 < eremit> which brings me to, why not check komodo now *ggg* 11:04 < eremit> lol ... komodo can only use xdebug on remote machines if php and xdebug is installed locally ... wtf ... 11:21 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:22 < digitarald> Morning 11:22 < v-dogg> huomenta 13:20 < v-dogg> why doesn't default debian repos offer php5 or postgres8? 13:20 < eremit> loool it's debian ... 13:21 < v-dogg> isp offers debian, redhat or win2003 for a virtual server 13:21 < v-dogg> I didn't think twice :) 13:21 < horros> then, sir, you may suit yourself :P 13:22 < eremit> you can use backports :/ 13:22 < shoan> v-dogg: or get another isp :p 13:22 < eremit> or bootstrap your own installation :P 13:23 < v-dogg> nah, I'll compile it from Teh Source 13:24 < shoan> v-dogg: whos the isp btw? 13:24 < v-dogg> a finnish company Planeetta Internet 13:28 < eremit> w33 ... i just started to look into the validators ... 13:28 < eremit> quite complex 13:28 < v-dogg> nah, just looks a bit scary ;) 13:28 < v-dogg> easy to use 13:29 < eremit> hope so ^^ 13:29 < horros> AIEEEE! 13:29 * horros makes cross-signs and hisses at asterisk 13:30 < v-dogg> woot? 13:31 < eremit> is this the most current doc? http://trac.agavi.org/trac.cgi/wiki/Validation 13:36 < v-dogg> most current yes.. :) 13:37 < horros> OMGOMG 13:37 < horros> Asterisk Ready. 13:37 < eremit> maybe there should be a hint where to put the validation xml files ... ;) ... you can look it up in the sample app, but still 13:38 < horros> *CLI> 13:38 < horros> \o/ 13:38 < horros> \o\ 13:38 < horros> /o/ 13:39 < v-dogg> eremit: sure 13:39 < eremit> v-dogg is there a way to make it react only on POST, i may have missed ? 13:39 < v-dogg> that was just added (because I bithed about it :) 13:39 < eremit> i remember a discussion about that ... but cant remember the details 13:39 < v-dogg> 13:40 < v-dogg> methods 13:40 < v-dogg> no, method 13:45 < eremit> ty 13:45 * eremit starts to remove validateWrite() everywhere 13:46 < digitarald> what do u do in validateWrite()? 13:47 < eremit> currently ? 13:47 < eremit> the whole validation ... 13:47 < v-dogg> validate?-) 13:47 < eremit> because i havent used the validators yet ... 13:47 < v-dogg> just guessing... 13:48 < digitarald> and u can all validations replace with valdiation in xml? 13:48 < eremit> sure 13:49 < v-dogg> shouldn't be a problem unless you do some really complex validation 13:49 < eremit> there is one validator which will need a little bit more effort ... 13:49 < v-dogg> some close-to-business-logic validation 13:49 < eremit> but most of them are straight forward regexp checks 13:49 < v-dogg> btw, validators don't have context yet 13:50 < v-dogg> that must be solved some day 13:50 < eremit> iiiigggg... 13:50 < eremit> no context ? - one validator will be impossible to write for me i thing :/ 13:57 < eremit> hmmm :/ digitarald i think you had the same problem yesterday ... 13:57 < eremit> in an edit profile form ... changing the username ... 13:58 < eremit> a uniqueness check needs to be done ... 13:58 < digitarald> mmmhh ... i solved that ... have to look 13:58 < eremit> have you solved it ? 13:59 < digitarald> in validateWrite but not in a Validator ... 13:59 < eremit> ok ... 13:59 < eremit> i will tell you if i find a validator solution 14:01 < v-dogg> you can get the context with AgaviContext::getInstance 14:01 < v-dogg> but that's not a good solution 14:01 < v-dogg> actually it's a bad bad solution :) 14:01 < eremit> yes ... 14:02 < eremit> the best solution for me would be to validate the post data username and put the get parameter uid to the validator somehow 14:03 < v-dogg> ie. map the incoming username to a uid from db? 14:04 < eremit> pardon? 14:05 < v-dogg> take the incoming username from post data, validate it (make sure it can be found from the db) and export uid? 14:05 < v-dogg> and then use $parameters->getParameter('uid') in an action? 14:05 < eremit> no ... 14:05 < v-dogg> ok 14:05 < eremit> i have a form where the username can be changed ... 14:06 < eremit> but the validator needs to check "if username change requested, new username must be unique" 14:06 < eremit> the easiest way would be to get the uid load the user from db and compare the usernames ... if they don't match take a look if the new username matches another db row ... 14:07 < eremit> but sadly the uid is not in the post data, only in the url ... 14:07 < v-dogg> but it's a request parameter still? 14:07 < v-dogg> either from $_GET or from the routing, right? 14:08 < eremit> yes .. from the routing 14:08 < v-dogg> then that's not a problem (I think) 14:08 < eremit> but how to get the request parameter into the validator ? 14:08 < eremit> if i dont have context 14:09 < eremit> eegs ... 14:09 < v-dogg> you can set up validators to handle more than one field at a time 14:09 < eremit> it is in the validator already 14:09 < v-dogg> but I have not idea how :) 14:10 < eremit> its in validationParameters ... 14:10 < v-dogg> but I have to continue with this debian... 14:10 < eremit> Oo nvm ... got it 14:17 -!- shoan is now known as sho[a]n 14:30 < eremit> digitarald, got it ... 14:32 < eremit> http://phpfi.com/144531 14:51 -!- CIA-7 [i=cia@cia.navi.cx] has quit [] 14:52 < digitarald> oh nice ... i can copy that 99% ... my UserModel is named the same ;) 14:52 < eremit> you should be aware of the username comparission ... 14:52 < eremit> i have only integer usernames, so i don't care about str -> int conversions 14:53 < digitarald> i'm actually using LIKE with case-intensitive 14:53 < eremit> ok :) ... 14:53 < digitarald> but of course login case-sensitive ;) 14:53 -!- CIA-6 [i=cia@cia.navi.cx] has joined #agavi 14:53 < eremit> what i dislike in my solution is the direct access to a protected var ... 14:54 < eremit> but i havent found a way to access it via an api call 14:54 < digitarald> why do u use require_once? do u don't have the models in autoload? 14:54 < eremit> no 14:54 < digitarald> why not? 14:54 < eremit> the database is not fully designed yet ... 14:54 < digitarald> u use required_once all the time when u use the models ... 14:54 < eremit> and i don't wanna change the autoload all the time ... 14:55 < digitarald> ok ... did that right now ... added 15 models + peers :D 14:55 < digitarald> wann 14:55 < digitarald> -w -a -n -n ... mistyped 14:55 < digitarald> ;) 14:55 < digitarald> wombert wanted to include the propel models better ... we'll see 14:56 < eremit> yeah ... 14:56 < eremit> but when db layout is finished ... *kicks the database layouter a little bit* ... i will most probably use a spl_autoload for them 14:56 < digitarald> but i don't like the idea with the context in the models ... 14:56 < eremit> why not ? 14:57 < digitarald> u can do silly things 14:57 < digitarald> ;) 14:57 < eremit> ;) ... 14:57 < eremit> yes ... but still it has some advantages ... 14:57 < eremit> and if s.b. can access the models he most likely also can access the actions and views 14:57 < digitarald> models should not know the context ... when they need one, for generating urls or something like that u can give them a parameter 14:58 < eremit> yes ... and even the url generation is not the task of models imho ... we are currently removing all url generations from the model 14:58 < digitarald> but with mvc pattern u don't need the context in models ... its an advantage ... but also many disadvantages 14:58 < digitarald> to the view? 14:58 < eremit> yes to the view ... 14:59 < eremit> imho urls are presentation logic ... 14:59 < digitarald> where would u put the mail sending ... like password-request ... it's now in the action, but it would be better in the view ... right? 15:00 < eremit> that's a point we have discussed nearly the whole morning ... and came to no real conclusion ... 15:01 < digitarald> i think view ... its output ... presentation ... 15:01 < eremit> some of us said it's presentation related ... some said it's action related and most of us had the opinion of model related 15:01 < digitarald> model? 15:01 < digitarald> ... usermodel? 15:01 < eremit> yes ... i dont get it too, why it should be the usermodel ... 15:02 < digitarald> nice idea ... would it make easier ... all user stuff packed in the model ... 15:02 < eremit> but it definately is not the view ... imho 15:02 < digitarald> but then the link generation is also usermodel stuff because u need links in the mails :D 15:02 -!- Wombert [n=Wombert@dslb-088-064-000-214.pools.arcor-ip.net] has joined #agavi 15:02 < eremit> i would put it into the action ... 15:02 -!- AgaviBot [n=dzuelke@dslb-088-064-000-214.pools.arcor-ip.net] has joined #agavi 15:02 < eremit> it'S a direct reaction of things happening there .. 15:02 < digitarald> i think links in models are ok ... so u can verify that they use all the same pattern 15:03 < eremit> maybe wombert can tell us his opinion :) 15:03 < eremit> heyho Wombert 15:03 < digitarald> :D 15:04 < Wombert> let me read the logs 15:06 < digitarald> are they online? 15:07 * eremit points to the topic 15:07 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 15:07 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/281 : Ticket #281 (task) closed by david 15:07 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/1008 : Changeset [1008]: nested configuration parameter 'output_types' may now be used to restrict ... 15:07 < AgaviBot> 3) http://trac.agavi.org/trac.cgi/ticket/319 : Ticket #319 (defect) closed by david 15:07 < AgaviBot> 4) http://trac.agavi.org/trac.cgi/changeset/1007 : Changeset [1007]: fixed possible infinite loop due to output type fallback misconfiguration, ... 15:07 < AgaviBot> 5) http://trac.agavi.org/trac.cgi/ticket/320 : Ticket #320 (enhancement) closed by david 15:07 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 15:07 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=379#p379 : New post in Support : Web-banking? 15:07 < AgaviBot> 2) http://forum.agavi.org/viewtopic.php?pid=378#p378 : New post in Support : Currency Trading... 15:07 < AgaviBot> 3) http://forum.agavi.org/viewtopic.php?pid=377#p377 : New post in Support : MUTANT DICKS & unreal CUMSHOTS here 15:07 < AgaviBot> 4) http://forum.agavi.org/viewtopic.php?pid=376#p376 : New post in Support : WOW! I just won $1.000.000 dollars!!! 15:07 < AgaviBot> 5) http://forum.agavi.org/viewtopic.php?pid=375#p375 : New post in Support : What can I do about stress? 15:08 < eremit> spam -.- 15:09 < sho[a]n> writely.com is back :) 15:09 < digitarald> u mean this logs? http://agavi.org/irclogs/ ... till 2006-01-25 ... 15:10 < sho[a]n> digitarald: http://users.tkk.fi/~tjorri/agavi/logs/ 15:10 < sho[a]n> Its in the topic :p 15:10 < eremit> ah i think miranda can'T display the topic ^^ 15:10 < digitarald> there are several links in the topic ;) 15:10 < Wombert> yeah 15:10 < Wombert> it sucks 15:10 < Wombert> get a mac and adium 15:10 < Wombert> miranda was the #1 reason why I switched to mac 15:10 < digitarald> get me a mac ... oh, thats nice ;) 15:11 < digitarald> thats a nice reason ... because of a chat tool ... mmhh 15:11 < eremit> yeah ... hand out some macs and some will change i'm quite sure 15:11 < sho[a]n> i wouldn't mind an upgrade too :) 15:12 < Wombert> yeah me neither 15:12 < Wombert> that g4 is a pain under load 15:12 < Wombert> anyways 15:12 < Wombert> what was that chatter about context and validators all about 15:13 < eremit> it was about how to get _GET vars into a _POST validation 15:13 < Wombert> you could do that in YourAction::initialize(), for instance 15:14 < Wombert> what's the matter with contexts tho? 15:14 < Wombert> btw 15:14 < Wombert> http://phpfi.com/144531 15:14 < Wombert> don't require_once your stuff 15:14 < Wombert> a) it's a pain 15:14 < Wombert> b) _once won't be APCed 15:14 < horros> ...nor any-accelerated :) 15:15 < eremit> [13:52] the database is not fully designed yet ... 15:15 < eremit> [13:52] and i don't wanna change the autoload all the time ... 15:15 < Wombert> oooh come on :P 15:15 < eremit> :P lazy dude 15:15 < digitarald> Wombert: when u implement the 4th parameter for setSlot ... could u also think about something like isSlotted() in actionstack|view|action or something like that? 15:15 < Wombert> digitarald: I did that already 15:15 < Wombert> and... no 15:16 < v-dogg> isSlut 15:16 < Wombert> because you can just pass a flag to it or so 15:16 < v-dogg> hey wonnbie 15:16 < Wombert> actions that are used both as slot and as normal action are quite an edge case IMO 15:16 < Wombert> hi v-dogg :) 15:17 < Wombert> I almost finished refactoring the web routing a bit more (move some stuff to web request, argv etc) 15:17 < v-dogg> nice 15:17 < Wombert> anyways 15:17 < Wombert> 14:08 < eremit> but how to get the request parameter into the validator ? 15:17 < Wombert> 14:08 < eremit> if i dont have context 15:17 < Wombert> that's what I'm talking about 15:18 < Wombert> where don't you have the context 15:18 < v-dogg> validator 15:18 < Wombert> $this->getValidatorManager()->getContext() ? 15:19 < digitarald> mmhh ... the slot thing is an edge thing ... actions as slots don't are a problem i think ... may be as slots they can have an additional initializeSlot() ... :) 15:19 < Wombert> no 15:19 < Wombert> presentational 15:19 < eremit> Wombert, i solved it by using $this->validationParameters 15:19 < Wombert> not gonna happen 15:20 < digitarald> u did another slot implementation in another project? 15:20 < v-dogg> Wombert: sure sure, but it's not there :) 15:20 < v-dogg> probably a bug in the config handler 15:20 < Wombert> digitarald: ? 15:20 < Wombert> v-dogg: yeah, bad design again... uuuuuh 15:20 * Wombert kicks dominik 15:20 < v-dogg> validators are created with out context 15:21 < v-dogg> we need to either add Validator::initialize or modify validator::__construct 15:22 < Wombert> it's given the container, which usually is the manager, which knows the context 15:22 < v-dogg> and of course modify config handler to use it correctly 15:22 < Wombert> I'll do it in a bit 15:22 < v-dogg> vm::addChild() can initialize validators context? 15:23 < Wombert> public function __construct(AgaviIValidatorContainer $parent, $parameters = array(), $name = '') 15:23 < v-dogg> hmmm.. 15:23 < Wombert> in validator 15:23 < v-dogg> ah, there 15:23 < v-dogg> yeah 15:23 < Wombert> from the container, we can get the context 15:23 < v-dogg> yep 15:24 < v-dogg> AgaviIValidatorContainer should then have getContext 15:25 < v-dogg> it has! :) 15:25 < Wombert> I fucking hate this bullshit 15:25 < Wombert> why does all validator stuff use __construct 15:25 < v-dogg> it doesn't afterall 15:25 < Wombert> instead of initialize 15:25 < Wombert> ARRRGH 15:26 < v-dogg> I was looking at IValidatorManager 15:26 < v-dogg> Wombert: refactor refactor :) 15:26 < Wombert> dominik was supposed to do that, yes... 15:28 < Wombert> gaaaawd this sucks 15:28 < Wombert> I'd so like to just throw that shit out right now 15:39 < v-dogg> go! just do it! 15:39 < v-dogg> just code the replacement today 15:40 < v-dogg> and without b/c issues, k plz?-) 15:46 < v-dogg> I think we can get along and eventually learn to love that validation implementation 15:47 < v-dogg> just give it time 15:47 < v-dogg> and refactoring 15:47 < v-dogg> :) 15:47 * v-dogg hugs Wombert 15:49 < Wombert> to be honest 15:49 < Wombert> I doubt so 15:49 < Wombert> it's a fucking mess and I'm pretty mad that dominik didn't refactor it properly as he said he would 15:50 * v-dogg hugs Wombert again 15:50 < v-dogg> :) 15:50 < Wombert> mmmh yeah 15:50 < CIA-6> david * r1009 /trunk/ (2 files in 2 dirs): context for validators 15:50 < Wombert> that helps a bit ;) 15:50 * Wombert hugs v-dogg 15:52 < v-dogg> where's The Bot 15:52 * v-dogg slaps AgaviBot 15:52 < v-dogg> there! 15:52 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 15:52 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1009 : Changeset [1009]: context for validators 15:53 < v-dogg> AgaviBot: you need to be slapped to make you speak? 15:53 < v-dogg> pervert 15:53 < Wombert> xD 16:00 < Wombert> digitarald, eremit: I beg to differ 16:00 < Wombert> in models, you need database access 16:00 < Wombert> logging 16:00 < Wombert> etc etc etc etc 16:01 < digitarald> ... no 16:01 < digitarald> ... may be 16:01 < eremit> logging is a good point ... 16:01 < eremit> database access another one, not everybody is using propel :P 16:01 < Wombert> another example: new product is inserted into the database via a model, and now all customers that set up a reminder for that product category must be sent an email 16:02 < Wombert> another example: i18n 16:02 < eremit> i18n in the model ? Oo 16:02 < eremit> w00t ... what are you models doing? ... that presentation and controller logic for me 16:03 < digitarald> thats the point ... sending mails in models ... i18n in models ... lets discuss ... not me, i have to work ... but i'm with you eremit ;) 16:05 < Wombert> so where would you guys send an email then 16:06 < digitarald> vote: view 16:06 < digitarald> presentation 16:06 < Wombert> haha 16:06 < Wombert> oh boy 16:06 < digitarald> ... oh ... wanted to work ... all the time that chatting ... 16:07 < Wombert> look 16:07 < Wombert> a) it's not presentational 16:07 < Wombert> b) who says that only AddProductAction will add a product 16:07 < digitarald> eremit, say something ... get womberts attention to you! 16:07 < Wombert> c) why should your action/view have to care about what happens AFTER the product is inserted 16:07 < Wombert> that's _not_ portable then 16:07 < eremit> digitarald, yeah, but discussing with wombert needs good preparation and well thought answers :P *thinking atm* 16:08 < Wombert> i18n in models? easy. I'll tell ya 16:08 < Wombert> the rows you get from the model 16:08 < Wombert> should be in the correct language right away 16:08 < Wombert> so we need to know the current locale 16:08 < digitarald> ok ... i'm getting coffee and preparing arguments ... 16:09 < eremit> hmm ... 16:10 < eremit> rows from the model should be i18l neutral ... translation etc is presentational logic 16:10 < digitarald> yes ... i18n can be given as parameter 16:11 < eremit> the whole i18l outgoing is presentation ... and i18l things incoming are controller (action) logic 16:11 < digitarald> Wombert: why is there no clearRoles()? 16:11 < eremit> the email thinggie depends on the point of view and on the purpose of the mail ... 16:12 < eremit> lets say you have a confirmation mail for adding something to the database ... like an article .. 16:13 < eremit> and you want to sent that mail to a customer adding an article ... ok ... maybe model logic ... 16:14 < eremit> but what about a script running on the vendors site, updating, adding, removing articles from the database ... 16:14 < eremit> this script don't want any response like a mail ... maybe a xml response instead ? 16:15 < eremit> so the response is view related in this case ... the user get 2 presentations of his action (on screen, and via mail) ... the script only needs a xml response 16:35 < Wombert> eremit: that's not what I meant 16:35 < Wombert> let's say you have a search function on a site 16:35 < Wombert> and users can store that search, so that whenever there are new matches to their search, they'll get an email 16:35 < Wombert> that _must_ be in a model 16:35 < Wombert> adding a product can trigger it 16:35 < Wombert> and editing a product can trigger it, too 16:36 < eremit> sure, that's why i introduced my monolog with [15:09] the email thinggie depends on the point of view and on the purpose of the mail ... 16:36 < Wombert> adding an image to a product can trigger it, too 16:36 < Wombert> etc etc etc 16:37 < Wombert> digitarald: I didn't think that was necessary... getRoles(), and revoke each? 16:45 < Wombert> v-dogg! 16:45 < Wombert> you broke the tests! 16:45 < Wombert> shame on you 16:48 < v-dogg> never! 16:48 < CIA-6> david * r1010 /trunk/tests2/action/ActionTest.php: fixed action tests 16:49 < v-dogg> oh, that :) 16:49 < CIA-6> david * r1011 /trunk/ (2 files in 2 dirs): added RbacSecurityUser::revokeAllRoles() 16:56 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 16:56 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1011 : Changeset [1011]: added RbacSecurityUser::revokeAllRoles() 16:56 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/1010 : Changeset [1010]: fixed action tests 17:03 < eremit> hmmm would be using several zend framework function in agavi be ugly ? :P 17:04 < digitarald> yes ... what is usable from the zend framework? 17:04 < digitarald> even using ez components is ugly :D 17:04 < eremit> their json encoder is the component i'm thinking about *Gg* 17:05 < digitarald> i'm using the pear json class ... ported to php5 17:06 < eremit> pear :( 17:07 < digitarald> *lol* zend json is the pear json ... 17:07 < digitarald> same functions ... just ported to php5 ;) 17:07 < eremit> but it's no longer maintained by pear .. and it doesn't have pear in the name :P 17:07 < digitarald> so its zend ... ok ... 17:08 < eremit> but if zend is better is another point ;) 17:10 < eremit> i really like their registry idea ... 17:12 < v-dogg> is zend "framework" all php code? 17:12 < eremit> yes 17:12 < v-dogg> ok 17:12 < eremit> and it's really beautiful code imho ... 17:13 * Wombert coughs 17:13 < eremit> hrhr ... i know this would happen ^^ 17:13 < v-dogg> :D 17:13 < v-dogg> tell him Wombert! :) 17:13 < eremit> yeah tell me :) 17:13 < Wombert> no 17:13 < Wombert> I wait until he figures it out himsel 17:14 < Wombert> f 17:14 < Wombert> but the essence would be 17:14 < Wombert> why bother using a framework written by the same morons that screwed up php already 17:14 < eremit> lol ... good point ... 17:14 < v-dogg> AND bombed UN! 17:14 < Wombert> YES! 17:14 < Wombert> THOSE! 17:14 < Wombert> haha 17:14 * Wombert falls over 17:15 < eremit> what i really like about their code, it's simple ... but it's not a framework code ... more a component collection imho 17:15 < Wombert> yep 17:16 < ttj> Is this my queue for storming out and telling you guys that I don't need my CVS account anymore? (Not that I ever had a CVS account, but...) 17:16 < Wombert> it basically is a framework to build a framework 17:29 < eremit> oh no ... that's too much ... i create the objects the traditional way ... 17:30 < eremit> it's typecasting around again 17:49 < CIA-6> david * r1012 /trunk/ (4 files in 4 dirs): refactored webrouting env detection again, closes #293 17:49 < Wombert> everybody please verify the routing is still working, with and without rewrite 17:54 < eremit> ahhhhh ... you fixed my ticket by generally preventing looping output setups ... 17:54 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 17:54 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/293 : Ticket #293 (task) closed by david 17:54 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/1012 : Changeset [1012]: refactored webrouting env detection again, closes #293 17:54 < Wombert> sure 17:54 < Wombert> not good? 17:54 < eremit> uh ... let me thing if i can refactor somehow ... 17:56 < eremit> currently i intentionally use looping 17:56 < Wombert> hmmm 17:56 < Wombert> fallbacks are kind of a last resort anyway 17:56 < eremit> something like ... one of these two output types needs to be defined ... 17:57 < Wombert> I'm not sure if making A fall back to B and B fall back to A is a good idea 17:57 < Wombert> I sure could try to catch fallback loops in the exec filter but... 17:57 < eremit> any idea about how to solve this problem : 17:58 < eremit> i have two output types: html and ajax ... the html output is plain simple html with decorators etc ... ajax is heavy javascript, no decorators, and only putting portions to the client back ... 17:59 < Wombert> okay 17:59 < Wombert> but 17:59 < Wombert> a fallback makes absolutely no sense there 17:59 < sho[a]n> Wombert: the invalid url link seems to fail without the .htaccess 17:59 < sho[a]n> in the sample app 17:59 < Wombert> sho[a]n: yep 17:59 < Wombert> sure ;) 17:59 < Wombert> it's not a link to an agavi page 18:00 < Wombert> so you'd have to set up ErrorDocument 404 index.php?module=Default&action=Error404 or so 18:00 < eremit> Wombert any other solution? because i even want to change the renderer ... 18:01 < Wombert> eremit: I didn't understand why you need a fallback 18:01 < eremit> ok, how to solve this :P 18:01 < Wombert> query me in german if that helps 18:14 < v-dogg> GERMAN! 18:14 < Wombert> hahahaaha 18:14 < Wombert> :>>>>>> 18:14 * Wombert hugs v-dogg 18:14 -!- sho[a]n [n=shoan@61.95.206.107] has quit [] 18:14 < v-dogg> it sounds more realistic if you said on a loud voice 18:14 < v-dogg> ZERMAN! 18:14 < Wombert> hrhrh 18:36 < v-dogg> what up 18:36 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 18:49 < Wombert> not much up, v-dogg 18:49 < Wombert> I can't bothered to do that argv removal thing 18:49 < v-dogg> heh 18:49 < Wombert> and I can't bothered to use "is" or "be" because that's cool now 18:49 < Wombert> haha 18:49 < Wombert> OOOH WAIT 18:49 < Wombert> -that's +that 18:50 * Wombert hugs v-dogg 18:50 < v-dogg> hah 18:50 < v-dogg> crazy zerman 18:50 * Wombert loves pivot mode 18:50 < Wombert> that's so cool 18:50 < Wombert> 16:10 widescreen tft 18:50 < Wombert> pivoted 18:50 < Wombert> perfect for coding 18:55 * Wombert is getting hungry 18:55 < Wombert> oooh I know 18:55 < Wombert> junk food 18:55 < Wombert> pizza from the freezer 18:55 < Wombert> ,,,,h 18:55 < Wombert> delicious 18:56 < Wombert> best pizza there is 18:56 < Wombert> Dr. Oetker Ristorante Pizza Mozzarella 18:56 < Wombert> <3 19:11 < eremit> uh ... isn't there a validator to compare two values from the input anymore ? 19:23 < v-dogg> if there isn't one must be created 19:23 < v-dogg> but someone could tell me how to use those And, Or, Xor and-what-have-you validators 19:24 < Wombert> 19:24 < Wombert> / more validators in here 19:24 < Wombert> 19:24 < Wombert> then one of these must be true 19:25 < eremit> how deep does it resolve ? 19:25 < Wombert> indefinitely 19:25 < eremit> Oo 19:25 < v-dogg> Wombert: heh, that was easy, thanks :) 19:25 < Wombert> v-dogg: I hope that works 19:25 < Wombert> not sure 19:26 < v-dogg> haha 19:26 < Wombert> really 19:26 < Wombert> afaik, it works this way 19:26 < Wombert> never used it tho 19:26 < Wombert> oooh teh pizza is ready 19:26 < v-dogg> mm... I want a beer 19:26 < v-dogg> no. 19:26 < v-dogg> I need a beer 19:26 < v-dogg> yes. 19:26 < Wombert> I bought TONS of beer yesterday 19:27 < Wombert> and 19:27 < Wombert> it was a good decision 19:32 < Wombert> oh yes 19:32 < Wombert> junk food pizza 19:32 < Wombert> beer 19:33 < Wombert> mmmmh life's good 19:33 < Wombert> although... 19:33 < Wombert> I'd fancy a chuck norris movie right now 19:33 < Wombert> haha 19:39 < v-dogg> has someone heard of a service called books24x7.com? 19:39 < Wombert> no 19:39 < Wombert> why 19:40 < v-dogg> I just got trial access 19:40 < v-dogg> and I really like this 19:40 < Wombert> what is it 19:40 < v-dogg> 5000+ electronic it books available 19:40 < v-dogg> 100 more every month (they say) 19:40 < v-dogg> 400 e/year 19:40 < Wombert> don't like ebooks 19:41 < v-dogg> me neither, but I still like this 19:41 < Wombert> can't read them in the garden or on the loo 19:42 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 19:43 < v-dogg> paper books are so darn expensive and I'd like to have a massive collection of all sorts of books 19:43 < v-dogg> not that I would spend 400 e a year to books 19:45 < v-dogg> with a rough sample books24x7 has 4500 java books 19:46 < v-dogg> ;) 19:46 < Wombert> :) 19:46 < Wombert> I must say I like java 19:46 < v-dogg> seriously... who has wrote all these books about java :D 19:46 < Wombert> I just can't be arsed to set up an environment for it 19:46 < Wombert> it has sweet stuff 19:46 < Wombert> like generics 19:46 < v-dogg> sure 19:46 < Wombert> <3 generics 19:46 < Wombert> not because they're absolutely necessary 19:46 < v-dogg> 1.5 really is nice 19:46 < Wombert> but because they're cooooool 19:47 < Wombert> yeah and removes a lot of pain 19:47 < v-dogg> or what ever the latest major was 19:47 < Wombert> I like the autoboxing, for instance 19:47 < Wombert> back in the olden times that int vs Integer stuff got on my nerves big time 19:49 < v-dogg> this seems to work quite nicely 19:50 < v-dogg> searching (full text search) is FAST, you can drop books from the search result to your own bookshelf 19:51 < v-dogg> you can browse previous search results 19:51 < v-dogg> ah, and you can search from the search results 19:52 < v-dogg> and then go back to previous levels 19:52 < v-dogg> really handy 19:52 < v-dogg> I haven't seen that before 19:53 < Wombert> we built a "go back to search results" function for a site for a client 19:53 < Wombert> you even had a list of previous searches at the bottom of the page you could click on 19:53 < v-dogg> cool 19:53 < Wombert> and they are cached ;) 19:53 < Wombert> and you can, of course, click "modify search" in the results list 19:53 < v-dogg> well of course they are :) 19:54 < Wombert> not really "nested" but... 19:54 < v-dogg> these are like: 19:54 < v-dogg> mvc 19:54 -!- shoan [n=shoan@59.92.202.124] has joined #agavi 19:54 < v-dogg> |- mvc php 19:54 < v-dogg> |- php5 19:54 < Wombert> http://ca.news.yahoo.com/s/21082006/6/n-odds-s-producers-opened-eatery.html wtf 19:55 < Wombert> "We are not promoting Hitler. But we want to tell people we are different in the way he was different." 19:55 < Wombert> yeah 19:55 < Wombert> sure 19:56 < v-dogg> there's something I like to call "a good taste" 19:56 < Wombert> "This place is not about wars or crimes, but where people come to relax and enjoy a meal," said restaurant manager Fatima Kabani, adding that they were planning to turn the eatery's name into a brand with more branches in Mumbai. 19:56 < Wombert> I mean 19:56 < Wombert> what the fuck 19:56 < v-dogg> and those guys don't have a clue what it is 19:57 < Wombert> I mean 19:57 < Wombert> I wouldn't even bother to post it if it was japanese 19:57 < Wombert> but india... oooh well 19:58 < Wombert> I mean, sure, the swastika is older than the 3rd reich and stuff but is it really necessary to add the fuhrer to the mix... 19:58 < shoan> the swastika cannot be used to identify with pubs/bars etc 19:58 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 19:58 < shoan> but I am ashamed of this :( 19:59 < Wombert> where exactly in india do you live again, shoan? 20:01 < shoan> south india 20:01 < shoan> bangalore to be specific 20:01 < impl> Mornin' guys 20:02 < shoan> IT capital of the country :) 20:02 < Wombert> yeah 20:02 < Wombert> I was just about to say 20:02 < Wombert> the odds are pretty good you're from bangalore ;) 20:02 < Wombert> hi impl 20:02 < v-dogg> morning, bah 20:02 < v-dogg> retards :) 20:02 < Wombert> haha 20:02 < Wombert> :> 20:02 < impl> Oh, crap 20:02 < shoan> :) 20:02 < impl> It's even 1PM here 20:03 < shoan> I was in hyderabad earlier though 20:03 < impl> Afternoon* 20:03 < Wombert> yeah I slept too long the last days, too 20:03 * impl goes back to school on Friday, so he's living it up :P 20:03 < Wombert> duuuude 20:04 < Wombert> hyderabad has 3.6 (city) / 5.8 (area) million residents 20:04 < Wombert> these are huuuuge cities man 20:04 < Wombert> okay, but then, munich really is a village, even though we have 1.3M people here 20:05 < v-dogg> turku: ~200 000 people 20:05 < impl> "As of the census of 2000, there were 20,212 people, 7,397 households, and 5,584 families residing in the town." 20:05 * impl lives in a small town 20:05 < impl> :< 20:05 < shoan> hyderabad is huge 20:06 < Wombert> I really like munich 20:07 < Wombert> it's small in terms of geography 20:07 < Wombert> but still, there's everything you ever need right here 20:07 < Wombert> people here say it's a "very large village", and that's true 20:07 < Wombert> very safe, very multicultural (~25% foreigners) 20:08 < Wombert> and... did I mention small in size? ;) 20:08 < Wombert> big advantage 20:08 < Wombert> berlin is so fuckin huge it kills you I swear 20:08 < Wombert> when you're there, it feels like it's the size of... china, maybe even russia, and it's a major pain to get from A to B 20:08 < impl> Is it still really divided between the east and west sides? 20:09 < Wombert> you mean... if you can see where you are? 20:09 < impl> Not physically, but I mean with like the buildings and stuff 20:09 < impl> Yeah 20:09 < Wombert> yep 20:09 < Wombert> it's changing tho 20:09 < Wombert> and it's changing _fast_ 20:09 < Wombert> that is one busy city I tell ya 20:10 < Wombert> but I have to say I don't like it much 20:10 < Wombert> a) it's large b) it's loud, old, dirty, ugly (really ugly) 20:10 < Wombert> if you ever come to germany, feel invited to munich, I'll show you around 20:11 < Wombert> beautiful city, one of the very few places I would want to live 20:11 < Wombert> and I am! woot! 20:11 < Wombert> :) 20:11 < Wombert> it's so nice to drive through downtown at night or so... or in the summer, when the weather is nice and everyone's on the streets 20:12 < Wombert> the playboy once said munich is the city with the prettiest women 20:12 < Wombert> they're right ;) 20:12 < Wombert> Regensburg is very nice, too, but not large enough for my taste 20:12 < v-dogg> on the streets at night? 20:12 < Wombert> oh and I LOOOOOOOVE london 20:12 < Wombert> v-dogg: at least in the evening, during summer, yeah 20:12 < Wombert> but I meant daytime ;) 20:13 < v-dogg> prettiest hookers in the world 20:13 < Wombert> haha :p 20:13 < v-dogg> that's what you are talking about?-) 20:13 < Wombert> no! 20:13 < Wombert> :> 20:13 < v-dogg> :) 20:13 < Wombert> in the night, the city quickly "dies" after 11 or so, just like london 20:13 < Wombert> but since both cities recently lifted the closing hour, I expect that to change 20:14 < Wombert> London felt even worse than munich, actually 20:14 < Wombert> one minute, everythign was busy 20:14 < Wombert> 11pm 20:14 < Wombert> bam 20:14 < Wombert> silence 20:19 < v-dogg> "PEAR is a repository of quality-controlled PHP packages" 20:19 < v-dogg> whahahaha 20:19 < eremit> sure they are :;P 20:19 < eremit> it's controlled no quality packages get in 20:19 < v-dogg> pretty poor quality controll 20:22 < eremit> w33 ty wombert ... just removed approx. 1.2k lines from my source :D 20:23 < Wombert> eremit: how's that 20:23 < eremit> using the four line functions in the base action ... 20:23 < eremit> setting some default values ... and only use the actual actions to overwrite them if necessary ^^ 20:25 < Wombert> cool 20:25 < Wombert> if you need help with some very basic OOP stuff again, let me know 20:25 < Wombert> harhar 20:25 * Wombert runs 20:25 * eremit gets a gun 20:25 < v-dogg> haha :D 20:25 < eremit> Run Forester Run :P 20:30 < v-dogg> "PEAR packages use design patterns elegantly" 20:30 < Wombert> HAHA 20:30 < Wombert> DESIGN PATTERNS YOUR ARSE 20:31 < v-dogg> this guy cracks me up :D 20:31 < v-dogg> Matt Zandstra, 2004, PHP 5 Objects, Patterns, and Practice 20:32 < impl> I've expelled some elegant-looking shit, too 20:33 < v-dogg> that book 20:33 < v-dogg> completely useless 20:36 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 20:36 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=380#p380 : New post in Support : Phentermine facts 20:46 < v-dogg> "A framework is a set of classes that embodies an abstract design for solutions to a family of related problems" 20:46 * v-dogg is reading e-books :) 20:47 < v-dogg> but that's a definition I concur in 20:47 < v-dogg> just any collection of classes is not a framework 20:47 < v-dogg> and, to my knowledge, zend framework is not a framework 20:49 < v-dogg> "The key distinction between a framework and an arbitrary collection of classes, however closely related those classes might be functionally, is that a framework describes not only the objects but also their interactions with one another." 20:49 < v-dogg> Taligent Corp. (1994) 20:49 * v-dogg spreads wisdom 20:50 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:53 < shoan> I started using screen and am getting more productive with it 20:53 < shoan> it rocks 20:54 < v-dogg> unix screen? 20:54 < shoan> yeah 20:54 < v-dogg> how have you ever coped without it? ;) 20:54 < shoan> lets not discuss that ;) 20:55 < v-dogg> no, let's discuss frameworks and mvc 20:55 < v-dogg> in web context 20:57 * shoan realized that screen is bundled with os x too :) 20:57 < v-dogg> haha 21:51 < Wombert> re 21:51 < Wombert> screen? 21:51 < Wombert> that's the thing that makes stuff running in the background, right? 22:50 < v-dogg> my irssi (irc client) runs in a screen 22:51 < v-dogg> and screen keeps on running even if I close the ssh session 22:52 < Wombert> yeah I use it to run cisco vpn in the background 22:52 < Wombert> Kicker.bundle notifies a script if my ip changes 22:52 < Wombert> (OS X feature) 22:52 < Wombert> it checks if I'm on a university WLAN 22:52 < Wombert> if yes, I connect to VPN via screen 22:52 < Wombert> which means: open lid, laptop wakes up in < 1s, after 5s my connection is there 22:53 < Wombert> the windows guys wait 30s until they get a bluescreen, then they reboot, then they connect via the ugly cisco gui client 22:53 < Wombert> the linux guys have to recompile a kernel and then type 20 commands 22:54 < Wombert> OS X >>>> rest 23:00 < v-dogg> bah :) 23:09 -!- AgaviBot [n=dzuelke@dslb-088-064-000-214.pools.arcor-ip.net] has quit [Remote closed the connection] 23:14 -!- AgaviBot [n=dzuelke@dslb-088-064-000-214.pools.arcor-ip.net] has joined #agavi 23:53 -!- benny`work [n=benny@p54AC3C9C.dip0.t-ipconnect.de] has joined #agavi --- Day changed Thu Aug 24 2006 00:03 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: benny`work 00:03 -!- Netsplit over, joins: benny`work 00:49 < CIA-6> dominik * r1013 /trunk/src/validator/AgaviValidator.class.php: validators now set the (real) name of the validated fields into the affected fields too 00:52 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 00:52 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1013 : Changeset [1013]: validators now set the (real) name of the validated fields into the ... 00:57 -!- Macca11 [i=brendanm@maccasoft.com.au] has joined #agavi 01:09 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Read error: 110 (Connection timed out)] 01:24 -!- benny`work [n=benny@p54AC3C9C.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:08 -!- Wombert [n=Wombert@dslb-088-064-000-214.pools.arcor-ip.net] has quit [] 03:25 -!- AgaviBot [n=dzuelke@dslb-088-064-000-214.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 04:23 -!- Wombert [n=Wombert@dslb-088-064-000-214.pools.arcor-ip.net] has joined #agavi 04:24 < Wombert> can't sleep 04:38 < Macca11> aww 04:38 < Macca11> code! 04:38 -!- Macca11 is now known as Macca` 05:16 -!- Wombert [n=Wombert@dslb-088-064-000-214.pools.arcor-ip.net] has quit [] 05:58 -!- shoan [n=shoan@59.92.202.124] has quit [] 06:36 -!- Macca` [i=brendanm@maccasoft.com.au] has quit ["Leaving"] 06:37 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 06:37 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Remote closed the connection] 06:37 -!- Macca` [i=brendanm@maccasoft.com.au] has joined #agavi 07:31 < v-dogg> huomenta 07:52 < Macca`> morning 07:56 < v-dogg> hi Macca` 07:56 < v-dogg> how are things down under 07:57 < v-dogg> deadlines wooshing by? 08:10 < Macca`> deadline has been and gone 08:10 < Macca`> go-live didn't happen 08:10 < Macca`> still got things to sort out 08:10 < Macca`> started working on another site in the mean time... one for myself 08:10 < v-dogg> any big ones? 08:10 < Macca`> http://envoice.maccasoft.com.au/ 08:10 < Macca`> login: test@test.com / test 08:11 < v-dogg> for your customers? 08:11 < Macca`> yeah. 08:11 < Macca`> easier for me to invoice them :) 08:12 < v-dogg> yep 08:12 < impl> Automatic PDF generation, nice 08:12 < Macca`> i haven't finished the pdf yet :( 08:12 < Macca`> the code behind it.. again.. is fucking ugly 08:13 < Macca`> and i only started this morning :( 08:13 < impl> Where'd you steal that design from? 08:13 < v-dogg> getting it right becomes easier when you get used to agavi 08:13 < Macca`> impl, adreas.. see down the bottom.. 08:13 < Macca`> design by 08:14 < Macca`> oswd :) 08:14 < impl> ah 08:14 < Macca`> where can i get stock photos from? 08:14 < impl> http://www.sxc.hu/ 08:14 < Macca`> if this is some stupid site with yucky pics i'm going to ban you for a month from #php ... 08:14 < Macca`> then ban trancer and all his bots 08:14 < Macca`> oh wow 08:14 < impl> They have 237,000 pictures 08:15 < Macca`> you weren't messing around 08:15 < impl> You have to register an account to download the full-size pictures 08:15 < impl> but it's free and all 08:15 < v-dogg> I've used http://istockphoto.com/ 08:15 < v-dogg> not free. but almost :) 08:16 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:16 < v-dogg> bye bye 08:17 < Macca`> cya 08:17 < v-dogg> I'm not going anywhere, impl did ;) 08:18 < Macca`> heh 08:18 < v-dogg> just got here 08:19 < v-dogg> and... uh.. have to continue with that debian box... 08:20 < v-dogg> I'm setting up a testing environment to a virtual server that has debian 08:20 < v-dogg> and I'm beginning to grow a dislike to it 08:22 < Macca`> hehe 08:22 < Macca`> freebsd++ 08:22 < Macca`> FreeBSD mssv001.maccasoft.com.au 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #3: Sat Aug 12 14:48:16 EST 2006 brendanm@mssv001.maccasoft.com.au:/usr/obj/usr/src/sys/MACCASOFT i386 08:25 < v-dogg> all the virtual server providers I've looked into offer either debian, redhat or win2003 08:25 < v-dogg> I've only used debian 08:26 < v-dogg> but I installed ubuntu server last week and it might be ok 08:27 < v-dogg> and debian is ok too, but I can't understand why I can't find decent .deb packages for it (php5, postgres8, php-pgsql) 08:27 < eremit> morning 08:28 < v-dogg> and that virtual server comes with pre-installed php4 + mysql (because EVERYBODY fucking wants them... *vomit*) and those mess up things a bit more 08:30 < eremit> v-dogg: http://dotdeb.org/ (php5) 08:30 < v-dogg> yeah, I'm using that 08:31 < v-dogg> and compiled postgres and pgsql module for php manually 08:31 < v-dogg> compiling shared php extensions was actually a breeze 08:32 < eremit> and here you are for pgsql backports: http://www.backports.org/dokuwiki/doku.php 08:32 < eremit> 8.1 they have 08:33 < v-dogg> hm.. interesting 08:33 < v-dogg> where were you yesterday! ;) 08:34 < eremit> looks like i missed your complaint about debian ? 08:34 < Macca`> yay 08:34 < Macca`> graphics make a webiste :D 08:34 < eremit> you can also take a fresh debian sarge, rewrite the sources ... and upgrade to ubuntu dapper 08:34 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 08:34 < eremit> wouldn't be a real ubuntu ... but still somehow ubuntu :P 08:35 < v-dogg> eremit: uhmm.. I don't think I'm even going to try that :) 08:35 < v-dogg> it's a virtual server any way 08:35 < eremit> doesn't your vserver isp have a reinstall gui ?? 08:35 < eremit> ;) 08:35 < v-dogg> ehm. no. :) 08:36 < eremit> oO ... 08:36 < Macca`> http://envoice.maccasoft.com.au/ 08:36 < eremit> maybe i should send him a link to our os project as soon as we have implemented the vserver stuff :P 08:36 < Macca`> pretty picture :D 08:37 < Macca`> what os you building? 08:37 < Macca`> agavios? 08:37 < eremit> opensource project ... 08:38 < Macca`> oh 08:40 < eremit> but you wanna see an operation system like app ... you should checkout phpos 08:57 -!- [1]eremit [n=eremit@p5490F56E.dip.t-dialin.net] has joined #agavi 08:58 -!- eremit [n=eremit@p5490F895.dip.t-dialin.net] has quit [Nick collision from services.] 08:58 -!- [1]eremit is now known as eremit 09:25 < eremit> anybody: is there a short way to populate the AgaviConfig with custom values from a database ? - or do i have to use a filter to archieve that 09:27 < v-dogg> no short way 09:27 < eremit> ok 09:27 * eremit starts to write a filter ... 09:27 < eremit> filter is the best solution isn't it? 09:28 < v-dogg> I have a ConfigDirectiveConfigHandler that parses them from xml 09:28 < eremit> yeah you gave that one to me, afaik, and i have a handler for old style ini files ... 09:28 < eremit> but how to trigger a config handler on database values ? 09:28 < v-dogg> I think filter is the most suitable place for that for now 09:29 < eremit> kk...ty 09:29 < v-dogg> but this is something we need to think thru someday too 09:30 < v-dogg> because we need to enable plugable user configs / config parsers 09:30 < eremit> yep ... 09:30 < v-dogg> some way to tell agavi to "after core configs load this configuration using this handler" 09:31 < eremit> this would be nice ... btw. does autoload per module work ? 09:31 < v-dogg> don't know but I think so 09:34 < horros> uh-oh 09:35 * horros is venturing onto dangerous waters; dynamic dns updates 09:35 < v-dogg> don't go there ;) 09:35 < horros> I must :) 09:35 < eremit> dynamic dns updates ? 09:35 < horros> stupid ADSL and its stupid DHCP 09:36 < eremit> using an own solution or s.t. like dyndns.org ? 09:36 < horros> eremit: yes, as in, box recieves new IP address from DHCP and the DNS server allows it to update its record 09:36 < horros> eremit: own solution, own server, own BIND :) 09:36 < eremit> good luck ... 09:37 < horros> I've done it before, but it was some five years ago :) 09:37 < horros> I have some reading up to do :) 09:37 < eremit> you should ensure your top level domain is allowed to have really really short ttls 09:40 < horros> I suppose... 09:40 < horros> I think it could be easier to just run commands over ssh when the server boots up 09:40 < horros> set bind to allow zone updates only from localhost 09:40 < horros> hmm 09:40 < horros> worth a ponder. 09:46 < Macca`> horry? 09:46 * Macca` pokes horry 09:47 < Macca`> how do i setup a svn server? i did: mkdir -p /var/svn ; cd /var/svn ; svnadmin create . ; svnserver -d -r /var/svn 09:49 < eremit> and you got an error ? or not ? 09:51 < Macca`> well 09:51 < Macca`> i do: svn co svn://localhost/var/cvs .. that's ok 09:51 < Macca`> i add a file, go: svn add blah ; svn commit ... save the log 09:51 < Macca`> and it says it's read only 09:51 < Macca`> svn: Commit failed (details follow): 09:51 < Macca`> svn: Connection is read-only 09:52 < eremit> have you created a user ? ... is the user trying to commit allowed to write in /var/svn ? etc ... 09:52 < Macca`> ahh 09:52 < eremit> i would suggest _not to use_ svnserve 09:52 < Macca`> :) 09:52 < Macca`> why? 09:52 < eremit> no permissions per path on the svn ? 09:53 < eremit> you should either use svn+ssh or https 09:53 < horros> I only use svn+ssh:// 09:53 < Macca`> well it's root who's trying to commit 09:53 < horros> Macca`: you haven't set up a "root" user in svn then. 09:53 < Macca`> i didn't know i had to :( 09:53 < horros> system users != svn users 09:53 < shoan> eremit: what do you mean by "no permissions per path"? 09:53 < Macca`> aaaaaaaaha 09:53 < eremit> to you know the SVNAuthz system shoan? 09:53 < Macca`> how do i add svn users? 09:54 < shoan> eremit: no 09:55 < shoan> eremit: enlighten me :) 09:55 < eremit> shoan, if you are using https you can have an svnauthz file, which allows this kind of permissions: http://phpfi.com/144974 09:55 < eremit> sure had to get hands on one of my permission files 09:56 < horros> Macca`: http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.auth 09:56 < horros> you might want to look at the whole book too (http://svnbook.red-bean.com/nightly/en/index.html) 09:56 < shoan> eremit: interesting 09:56 < eremit> shoan, that's really cool if you wanna have only some devs commiting to trunk ... 09:56 < shoan> eremit: where do I learn more? 09:57 < eremit> the svnbook horros posted describes it all ... 09:57 < shoan> *click* 09:57 < eremit> mod_svn, mod_dav for apache and there it goes 09:59 < Macca`> yay got it 09:59 < Macca`> ! 09:59 < Macca`> i just have 1 repository for multiple projects... do i not? 09:59 < horros> Macca`: I whole-heartedly recommend to bookmark that book and read 09:59 < Macca`> i don't have time :( 09:59 < eremit> yes it worth a read ... 09:59 < Macca`> i can't read :( 10:01 < shoan> eremit: is it possible to do over ssh? 10:02 < horros> shoan: yes 10:02 < horros> I have it set up like that 10:02 < horros> well 10:02 < shoan> horros: is it in the book too? 10:02 < horros> I've write-protected the 2.0.0-RELEASE branch :) 10:02 < horros> shoan: I think it is 10:02 < horros> can't remember 10:02 < Macca`> svn add dir svn://localhost/dir .. not worky :( 10:03 < Macca`> dherr 10:03 < Macca`> import 10:03 * Macca` slaps self 10:03 < eremit> shoan, i don't think ... if you use ssh you are basically accessing the svn locally ... 10:04 < shoan> hmm 10:04 < eremit> afaik svn is doing something like ssh user@example.org -c svn commit 10:04 < Macca`> hmmm. 10:04 < Macca`> i acidentally svn import

svn://localhost/ ... without the
at the end... how do i fix that up? :S 10:05 < eremit> that's why i always use webdav for svn ... this way nobody except the admin needs a shell account 10:05 < horros> Macca`: nuke the repository and start over :) 10:05 < Macca`> dang it. 10:05 < Macca`> ok :) 10:05 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 10:05 < shoan> ok 10:05 < v-dogg> restore from a backup 10:06 < Macca`> backup? i just created it! 10:06 < digitarald> morning 10:07 < Macca`> yay 10:08 < eremit> omg ... why is khtml so stupid :/ 10:08 * Macca` shrugs 10:08 < Macca`> why? 10:08 < Macca`> anyone used esvn? 10:08 < eremit> esvn ? 10:10 < Macca`> how can i tell if apache has the svn module? 10:11 < eremit> are you the administrator of the system ? 10:11 < eremit> if yes you should know it, otherwise ask the admin 10:14 < Macca`> yeah it's me 10:14 < Macca`> i installed from ports though 10:14 < Macca`> i can't remember if i did it with apr 10:14 < eremit> ... 10:14 < Macca`> ? 10:15 < eremit> no comment ... 10:15 < eremit> sorry, but if you are the administrator you either have to remember it, or you have to write it down ... 10:16 < eremit> and sorry if i'm rude ... 10:18 < Macca`> yay websvn 10:18 < Macca`> write it down? 10:18 < Macca`> ... on paper? 10:18 < eremit> paper, wiki, something, somewhere ... 10:18 < Macca`> mhmm. 10:19 * Macca` backs away slowly 10:19 < eremit> i'm currently managing about 30 linux servers in the internet ... and there is an installation protocol for every machine in our internal wiki ... 10:20 < eremit> every step done is documented there ... because of my disability to remember the exact setup of all of'em 10:21 < Macca`> i have one pc 10:21 < Macca`> http://www.maccasoft.com.au/websvn/ 10:21 < Macca`> :D 10:22 < Macca`> i hate dot files! 10:29 < v-dogg> eremit: what sort of firewalls do you servers have? 10:29 < eremit> firewalls ? - on an dedicated server being used in the internet ? 10:30 < eremit> wtf ... some small iptables rules 10:30 < v-dogg> yep 10:30 < eremit> but i really dislike the idea of firewalls on an internet server 10:30 < eremit> turn off every daemon you do not need ... and run regulary external port audits 10:30 < shoan> v-dogg: shorewall.sf.net 10:31 < eremit> the idea of a firewall is to prevent communication you don't want to happen ... 10:31 < eremit> if you have communication on a server being blocked by a firewall you have made something terribly wrong 10:31 < v-dogg> eremit: yep, "iptables" was what I wanted to hear :) 10:32 < eremit> but the iptables rules are only for defensive actions ... like dropping scanner, password guesser etc ... 11:01 -!- Wombert [n=Wombert@dslb-088-064-001-127.pools.arcor-ip.net] has joined #agavi 11:01 < Wombert> :) 11:01 < v-dogg> all hail wombie! 11:01 < eremit> hail wombie :) 11:02 < Wombert> :) 11:07 -!- AgaviBot [n=dzuelke@dslb-088-064-001-127.pools.arcor-ip.net] has joined #agavi 11:07 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit [Read error: 104 (Connection reset by peer)] 11:10 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 11:13 < v-dogg> why doesn't -m state --state ESTABLISHED 11:13 < v-dogg> work with iptables 11:19 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has joined #agavi 11:45 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:47 < digitarald> morning girls :) 11:48 < eremit> heyho 11:48 < digitarald> btw ... who is redesigning the new agavi homepage for 0.11 beta release? 11:49 < v-dogg> you wanna? 11:49 < v-dogg> ;) 11:52 < v-dogg> it's undecided still 11:53 < digitarald> i'm actually buried with projects, but would offer an helping hand 11:54 < v-dogg> I sketched something for a temporary solution a while back (http://veikkomakinen.com/agavi/agavi.org/) but no-one has had the time to go any futher with it 11:55 < eremit> may i ask why you are still keeping the difference trac / homepage ? 11:55 < Wombert> I believe I said that before 11:55 < Wombert> and 11:55 < Wombert> I don't want to offend anyone 11:55 < Wombert> but we need a logo, first of all 11:55 < Wombert> and 11:55 < Wombert> we need a _real_, _properly good_ designer 11:56 < Wombert> I too have some designing "skills", but I'm a programmer, not a designer, and you can't be both (haven't seen one at least) so... 11:56 < Wombert> if anyone knows a designer that could "do it", let me know ;) 11:56 < Wombert> or maybe digitarald is so skilled it blows me away :) 11:56 < Wombert> logo (most important), color scheme, site layout 11:57 < Wombert> eremit: trac isn't good for web sites 11:57 < eremit> y? 11:57 < Wombert> because I know :p 11:57 < Wombert> I build the propel, creole and phing sites 11:57 < Wombert> and it's a pain 11:57 < Wombert> we don't wanna do that 11:57 < eremit> i just build a complete website using trac about half a year ago :P 11:57 < Wombert> it's not gonna happen 11:58 < eremit> even borrowed some of your propel, creole things ;P 11:58 < Wombert> I've seen your site IIRC, but still, it's too much of a hack 11:58 < eremit> hrhr ... 11:58 < v-dogg> trac is not a cms 11:58 < eremit> only because it's about 40kb css files ? :P 11:58 < Wombert> no 11:58 < Wombert> site navigation 11:58 < Wombert> structure 11:58 < Wombert> etc 11:58 < Wombert> all not there 11:58 < Wombert> and the plugins suck 11:59 < Wombert> it's a huge friggen mess and not worth the effort 11:59 < Wombert> www.pradosoft.com is pretty good looks-wise I think 11:59 < v-dogg> it's not meant for build web sites 11:59 < Wombert> nice logo, too 11:59 < v-dogg> it's a development tool 12:01 < Wombert> so, digitarald... are you a designer? 12:03 < digitarald> prado ... hey, they have one guy for marketing and documentation, nice 12:04 < digitarald> i'm a multimedia developer ... one man to rule them all ... i'm actually working in a agency with some web bids .. but most of the bids are printdesign ... 12:05 < digitarald> no, i'm not a 'real' designer ... that can i say because i'm sitting between full-time-designers 12:06 < Wombert> :) 12:06 < digitarald> i think agavi should be the 'cms' for the new website ... 12:06 < Wombert> sure 12:09 < digitarald> i will design some logo ideas ... 12:10 < digitarald> some nice web2.0 logos 12:11 < digitarald> results on monday 12:11 < Wombert> the idea was 12:11 < Wombert> to have an agave plant in the logo 12:11 < Wombert> http://en.wikipedia.org/wiki/Agave 12:11 < Wombert> http://de.wikipedia.org/wiki/Agaven 12:12 < digitarald> http://es.wikipedia.org/wiki/Agave_%28planta%29 12:12 < digitarald> strange ... i had that idea, too ;) 12:12 < Wombert> german page has the nicest pics tho 12:12 < Wombert> the problem is 12:12 < Wombert> that the blossom 12:12 < digitarald> ;) http://aggie-horticulture.tamu.edu/syllabi/302/new/graphics/A/agave.gif 12:12 < Wombert> is so far away from the ground ;) 12:13 < Wombert> something a little abstract would be good, I think 12:13 < Wombert> prado, for instance, only uses one color in their logo 12:13 < Wombert> which makes it good for printing, too 12:13 < v-dogg> http://veikkomakinen.com/agavi/agavi.org/ <- that's agave too 12:14 < digitarald> that looks like ... bananas ;) 12:14 < digitarald> or a nice flower 12:14 < v-dogg> hah 12:14 < digitarald> nothing against that logo ... i love bananas ;) 12:15 < digitarald> 2-color logo, printable ... sure 12:16 < Wombert> if you like, you could always ask your colleagues to help you ;) 12:16 < Wombert> it must be pro, tho... we need something _really_ good to differ from all the other frameworks 12:16 < digitarald> they are also burried with projects, too ... only i am the crazy one thats working at home on weekends ;) 12:17 < Wombert> heh :) 12:18 < horros> BAH 12:19 < horros> stupid DOM 12:19 < horros> )#(#¤%# 12:20 < Wombert> what's wrong, horros 12:20 < horros> well 12:20 < horros> it doesn't do anything :) 12:20 < v-dogg> hmm... how do I disable validation when the user hits Cancel? some AndValidator stuff? 12:20 < digitarald> btw. can i add one error to two inputs? 12:21 < horros> $dom = new DomDocument('1.0', 'utf-8'); $element = $dom->createElement('test', 'testink'); $dom->appendChild($element); $dom->saveXML(); doesn't do anything :I 12:25 < horros> aha 12:26 < digitarald> u have no root element, nor? 12:46 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 12:49 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 13:16 < CIA-6> david * r1014 /trunk/src/config/AgaviConfigValueHolder.class.php: ConfigValueHolder: removed superfluous indent and made member declarations compatible with PHP guidelines 13:19 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 13:19 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1014 : Changeset [1014]: ConfigValueHolder: removed superfluous indent and made member declarations ... 13:38 < v-dogg> huh... my validateaction.xml just got a bit complex... :D 13:38 < Wombert> xD 13:39 < Wombert> I find this cgi rewrite stuff slightly scary 13:39 < Wombert> but 13:39 < Wombert> I know I must face teh evil 13:39 < Wombert> err 13:39 < Wombert> my fear 13:39 < Wombert> whatever 13:39 * Wombert packs his gun 13:39 < Wombert> more ammo 13:39 < Wombert> some water 13:39 < Wombert> energy bar 13:39 < Wombert> yeah I'm good to go 13:39 < Wombert> wish me luck 13:40 * Wombert disappears into the jungle 13:41 < v-dogg> maybe this validation stuff could be a bit more simple... 13:41 < Wombert> aaaah 13:41 < Wombert> hey that reminds me 13:41 < Wombert> I had an idea the other day 13:41 < v-dogg> like "don't validate if isset(foo)" :) 13:41 < Wombert> that's possible 13:41 < Wombert> not sure how 13:42 < Wombert> but it is 13:42 < Wombert> you can do it with dependencies 13:42 < v-dogg> now I did it with Or and And validators 13:43 < v-dogg> hmm... isset validator and other depend on that validator? 13:44 -!- ge0id [n=noel_da_@bb-87-82-4-45.ukonline.co.uk] has joined #agavi 13:44 < Wombert> can't remember how it works, but you can set up dependencies 13:44 < ge0id> hello hullo 13:44 < Wombert> so one validator only runs if another validated... or not 13:45 < Wombert> welcome to agavi, ge0id 13:45 < v-dogg> Wombert: did you break parameter export yesterday.... ? 13:45 < Wombert> v-dogg: huh? 13:45 < Wombert> oO 13:45 < v-dogg> welcome ge0id 13:45 < ge0id> thanks wombert... it's noeldc in disguise :)... u guys were very kind in helping me get started with Agavi... and I need a bit more guidance 13:46 < Wombert> ah 13:46 < Wombert> okay :) 13:46 < Wombert> v-dogg: what's wrong with it? 13:46 < Wombert> probably dominik's change with the base blah stuff 13:46 < Wombert> which now works properly 13:46 < Wombert> you remember? 13:46 < Wombert> it now sets the actual field names for errors 13:46 < Wombert> so everyting should be highlighted in FPF 13:47 < Wombert> ge0id: how can we help you 13:48 < ge0id> last we chatted, I was scratching my head over the config - i'm still scratching and starting to go bald... although the 2 might not be related 13:48 < ge0id> I'm getting this... 13:48 < ge0id> Warning: require_once(INSERT PATH TO "agavi/agavi.php" HERE) [function.require-once]: failed to open stream: No such file or directory in /html/NoeldC/iDefaultApp/pub/index.php on line 6 13:48 < ge0id> Fatal error: require_once() [function.require]: Failed opening required 'INSERT PATH TO "agavi/agavi.php" HERE' (include_path='.:/usr/share/pear') in /html/NoeldC/iDefaultApp/pub/index.php on line 6 13:48 < ge0id> I'm sure it means something 13:49 < v-dogg> have you read what it says? have checked out /html/NoeldC/iDefaultApp/pub/index.php? 13:49 < ge0id> can't quite figure out what tho... yes, have checked that file 13:49 < ge0id> line 6 is commented out 13:49 < Wombert> oh come on man 13:49 < v-dogg> is line 6: require_once(INSERT PATH TO "agavi/agavi.php" HERE) 13:50 < Wombert> exactly 13:50 < ge0id> nope... but you make me think that perhaps the vhost is pointing at the wrong folders if that error message is valid 13:50 < Wombert> just do what it says 13:50 < Wombert> BUT 13:50 < Wombert> that's the sample app 13:50 < Wombert> you should maybe start with a fresh project, too 13:50 < ge0id> you say do what it says... but maybe you speak that language, I don't.. it doesn't seem to tell me to do anything 13:51 < Wombert> require_once(INSERT PATH TO "agavi/agavi.php" HERE) 13:51 < Wombert> just to what it says! insert the path to agav/agavi.php 13:51 < Wombert> -to+do 13:51 < shoan> ge0id: where did you install agavi? 13:51 < Wombert> require_once('/path/to/agavi/src/agavi.php'); or so 13:52 < ge0id> at home :D.. just kidding... let me see now... 13:52 < Wombert> ge0id: unix? windows? 13:52 < ge0id> unix 13:52 < Wombert> yeah 13:53 < Wombert> does the "agavi" script work now? 13:53 < Wombert> v-dogg: does pear packaging work? 13:53 < Wombert> does it install properly etc? 13:53 < eremit> why isn't stopping working in the routing at nested elements ? 13:53 < ge0id> haven't tried it since last time, when you advised me not to use the pear installer 13:53 < Wombert> eremit: huuuh? 13:53 < v-dogg> Wombert: yes 13:54 < Wombert> ge0id: yeah because the pear package is the old version 13:54 < ge0id> you helped me to install v 0.11, and the files went into usr/share/agavi, with the distrib conf file as /usr/bin/agavi 13:54 < Wombert> ge0id: what happens now if you type "agavi help" 13:55 < ge0id> i get a v0.11 info page 13:55 < Wombert> okay 13:55 < Wombert> excellent 13:55 < Wombert> now 13:55 < Wombert> ah wait 13:55 < Wombert> you had some apache trouble or so, right? 13:55 < Wombert> where you couldn't access the dirs it generated? 13:55 < Wombert> because that INSERT PATH TO AGAVI is from the sample app 13:56 < Wombert> but we created a project last time remember? 13:56 < ge0id> apache trouble was virtual host pointing to wrong folders 13:56 < Wombert> is that resolved now? 13:56 < ge0id> yes 13:56 < Wombert> what happens if you call that project/pub/ now? 13:56 < Wombert> do you get a blank page? 13:57 < ge0id> no.. i get the error message above 13:57 < Wombert> uhm 13:57 < eremit> Wombert: http://phpfi.com/145033 13:58 < ge0id> maybe I should start fresh with 'agavi project' 13:58 < Wombert> ge0id: yeah 13:58 < Wombert> eremit: the ozilla thing? 13:58 < eremit> calling index.php/Admin evaluates the generic route as long as the workaround routes are enabled ... so stopping in deep elements seems to be broken 13:58 < eremit> Wombert, yeah 13:59 < Wombert> eremit: I'm not sure if it's designed to work that way 13:59 < Wombert> I will show this to dominik later 13:59 < Wombert> btw would anyone vote against renaming "stopping" to "stop" 13:59 < Wombert> because it's "cut", not "cutting" 13:59 < eremit> no i would never vote against it :P 14:00 < shoan> eremit: its just one file :p 14:00 < eremit> ? 14:01 < ge0id> ok.. i deleted my project and started over, enabled write perms on cache folder and now I get a completely different error: 14:01 < ge0id> Strict Standards: Non-static method AgaviArrayPathDefinition::getPartsFromPath() should not be called statically, assuming $this from incompatible context in /usr/share/agavi/src/util/AgaviParameterHolder.class.php on line 79 14:01 < ge0id> repeated 8 times on screen 14:03 < Wombert> that's okay 14:03 < Wombert> in fact 14:03 < Wombert> it's already fixed 14:03 < Wombert> update your agavi checkout 14:03 < Wombert> go to /usr/share/agavi and type "svn up" 14:04 < Wombert> then reload the page 14:05 < ge0id> gr8.. got my hello world start 14:13 < ge0id> this is going to be fun... i'm new to PHP5 too, so learning framework and lingo all at once 14:13 < Wombert> :) 14:14 < Wombert> suggestion 14:14 < Wombert> copy /usr/share/agavi/samples 14:14 < ge0id> just tell me I'm going to be saying "wow!, I'm so glad I moved from PHP4 Mojavi to PHP5 Agavi"!! :p 14:14 < Wombert> change index.php to look like the one in your project 14:14 < Wombert> and do the chmod on the cache dir again 14:15 < Wombert> the sample app will show you some basics 14:15 < ge0id> I've got a Default module already... does the sample app give more? 14:15 < Wombert> yes! 14:15 < Wombert> the sample app is just a sample 14:16 < Wombert> for you to look at and learn 14:16 < Wombert> has some basic stuff 14:16 < Wombert> like routing 14:16 < Wombert> filters 14:16 < Wombert> login 14:16 < Wombert> etc 14:16 < ge0id> ok.. thx, I'll try that 14:18 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 14:18 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=382#p382 : New post in Support : I'm really in sync 14:19 < v-dogg> I fucking hate spammers 14:19 < v-dogg> killkillkillkill 14:21 < ge0id> I call them SMILERS: Seriously Misdirected IndividuaLs 14:22 < ge0id> sample app is giving me a warning... 14:22 < ge0id> Strict Standards: Non-static method DOMDocument::loadHTML() should not be called statically, assuming $this from incompatible context in /usr/share/agavi/src/filter/AgaviFormPopulationFilter.class.php on line 100 14:22 < ge0id> this is when I tried to login with a bum uname and pword 14:23 < Wombert> http://youtube.com/watch?v=Su68w4QZinM zomg 14:23 < Wombert> ge0id: interesting 14:23 < Wombert> WTF IS WRONG WITH PHP 14:23 < Wombert> the manual says loadHTML can be called statically 14:23 < Wombert> omg 14:24 < horros> yeah 14:24 < horros> but you can't 14:24 < horros> so 14:24 < horros> $doc = new DDOMDocument(); 14:24 < ge0id> pls don't say that.. u making me nervous about PHP5.. i'm getting hives 14:24 < horros> $doc->loadHTML('asdfasdfasdf'); 14:24 < Wombert> horros: yeah but creating a document sets an encoding and... IIRC there were issues with that 14:25 < Wombert> I just hope loadHTML will re-set the encoding if necessary etc 14:26 < ge0id> so .. is that warning critical , or can i safely ignore it? 14:26 < Wombert> as you can see it's just a strict standards notice 14:27 < Wombert> and says "should" 14:27 < ge0id> ok 14:28 < CIA-6> david * r1015 /trunk/src/filter/AgaviFormPopulationFilter.class.php: I want to punch the blithering idiots who messed up this retarted language in the face... right now 14:28 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 14:28 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1015 : Changeset [1015]: I want to punch the blithering idiots who messed up this retarted language ... 14:58 < CIA-6> v-dogg * r1016 /trunk/src/validator/AgaviIssetValidator.class.php: Fixed isset validator to be isset validator and not is-not-set validator. 14:59 < v-dogg> now, how the hell do these dependencies work... 15:02 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 15:02 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1016 : Changeset [1016]: Fixed isset validator to be isset validator and not is-not-set validator. 15:21 -!- horros_ [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 15:34 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 15:37 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 15:38 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 15:50 < digitarald> v-dogg ... are u trying to use the validation system? ;) 15:54 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 15:57 < v-dogg> digitarald: no, I am using it :) 15:58 < v-dogg> just some of these more complex features I'm only now learning 16:00 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has joined #agavi 16:05 < ge0id> has anyone here worked with iNotify? 16:05 < v-dogg> what's that? 16:23 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:24 < v-dogg> puuuuhhh... 16:25 < eremit> v-dogg: something to laugh for ya: http://www.hardened-php.net/advisory_052006.128.html 16:27 < v-dogg> err... wtf 16:29 < v-dogg> we are not using the platform 16:29 < v-dogg> luckily 16:31 < eremit> yeah, we considered it for buying ... 16:31 < eremit> but the decision was not made, until i found the advisory :P 16:31 < v-dogg> consider_ed_? 16:31 < v-dogg> ok :) 16:31 < v-dogg> Wombert: fpf problem 16:31 < eremit> loool 16:31 < v-dogg> help plz 16:40 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 16:40 -!- raidman_ [i=armen@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 16:41 -!- raidman|Away is now known as raidman 16:47 -!- raidman is now known as raidman|Away 16:53 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 16:53 -!- raidman|Away [n=raidman@unaffiliated/raidman] has quit [Nick collision from services.] 16:54 < raidman> I kill him :) 16:55 < raidman> I mean I did :P 16:55 < digitarald> btw ... somebody should add agavi to http://www.phpwact.org 16:56 < raidman> yes in frameworks list 16:57 < digitarald> with an own page, like mojavi ;) 16:58 < v-dogg> ? 16:59 < digitarald> http://www.phpwact.org/php/mojavi 16:59 < raidman> v-dogg, http://www.phpwact.org/php/mvc_frameworks 16:59 < v-dogg> ok 17:00 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 17:00 < v-dogg> I can't find that page from the site 17:01 < raidman> hmm! I think somthing is wrong with your ISP 17:02 < raidman> just google this and use cached one => framework site:http://www.phpwact.org 17:02 < v-dogg> I can see the page if I click your link 17:03 < v-dogg> but I can't find any link to it from that site 17:03 < digitarald> strange 17:03 < v-dogg> where did you find it from? 17:04 < raidman> I don't remember I think from wikipedia 17:04 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has joined #agavi 17:04 < v-dogg> http://www.phpwact.org/pattern/model_view_controller 17:04 < v-dogg> there 17:05 < raidman> :) 17:13 < digitarald> this page is a starting point for many mvc beginners ... very cool site, so agavi should have a place there, too ;) 17:15 < ge0id> now that I'm starting 'fresh' with Agavi, I'm looking briefly at all the other options out there... and boy are there plenty!!! 17:16 < v-dogg> most of them suck a little 17:16 < v-dogg> many of them suck like crazy 17:16 < ge0id> which have u tried? 17:16 < ge0id> * http://agavi.org/ 17:16 < ge0id> * http://www.blueshoes.org/ 17:16 < ge0id> * http://www.xisc.com/ 17:16 < ge0id> * http://cakephp.org/ 17:16 < ge0id> * http://seagullproject.org/ 17:16 < ge0id> * http://framework.zend.com/ 17:16 < v-dogg> a few are just plain rubbish 17:16 < ge0id> * http://wasp.sourceforge.net/content/ 17:16 < ge0id> * http://www.symfony-project.com/ 17:16 < ge0id> * http://phpontrax.org/ 17:17 < eremit> i tried cakephp, seagull, zend, wasp, symfony and phpontrax ... and i'm still here :P 17:17 < ge0id> wow.. ok, primary reason? 17:18 < v-dogg> haha, Zend Framework 17:18 < v-dogg> that's not a framework! 17:18 < v-dogg> just a pile of classes 17:18 < v-dogg> or a pile of ..... 17:18 < ge0id> v-doggy-do :p 17:18 < eremit> cakephp, i dislike their file naming, seagull: never found the introduction into it, wasp: don't remember, symfony: w00t if i want to rsync my project, i use rsync and not a framework, phpontrax: if i want ruby i use ruby 17:19 < v-dogg> I have a feeling that those zend guys wouldn't know a framework if it hit them in the head 17:19 < eremit> ah and zend isn't a framework ... it's a loosely bunch of components which can be used to build a framework 17:19 < v-dogg> thanks eremit 17:19 < v-dogg> :) 17:20 < ge0id> cool.. i feel calmer knowing I can dis the other frameworks :) 17:20 < eremit> the only framework i took into a looong consideration was prado ... but they have a completly different approach to everything 17:21 < ge0id> yeah.. it looks really interesting Prado 17:21 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 17:21 < ge0id> does Agavi still have action chains? 17:22 < v-dogg> no 17:22 < ge0id> :-@ 17:22 < v-dogg> you've used mojavi2, right? 17:22 < ge0id> yep 17:23 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has joined #agavi 17:23 < ge0id> actually I read someething about 'slots' in Agavi, which sounds a lot like what I used actionchains for 17:24 < ge0id> so hopefully the mechanism is still there 17:27 < digitarald> ge0id: http://trac.agavi.org/trac.cgi/wiki/UsingDecorators there is the tutorial 17:27 < digitarald> its not 100% like actionchains and will be improved in future 17:29 < v-dogg> code examples are outdated 17:47 < digitarald> Wombert? *ping* 17:48 < Wombert> pong 17:49 < digitarald> the fpf just populate only forms with action=request-url ... right? 17:49 < Wombert> yeah 17:50 < Wombert> at least it should 17:50 < Wombert> ponders 17:50 < Wombert> I just realized that that might not be good in case you want to do some initial population 17:50 < Wombert> hmmm 17:50 < digitarald> thats the problem 17:51 < Wombert> will have a fix soon 17:51 < digitarald> wanted to give the login-username and code via parameter from emails ... 17:52 < digitarald> nice ... so i can recover that code ... just deleted it after looking in the fpf code ;) 17:56 < Wombert> ponders 17:56 < Wombert> hmmmmmmmm 17:56 < Wombert> how do we do that 17:58 < digitarald> parameter ...? 17:58 < digitarald> ignore_action? ;) 17:58 < Wombert> ? 17:58 < digitarald> refill_all? 17:58 < Wombert> uh huh 17:58 < Wombert> very good idea 17:58 < Wombert> you have 10 forms on the page including slots and it will fill in everything 17:58 < Wombert> no 17:59 < digitarald> not my idea ... the dog typed 17:59 < Wombert> I'll add the ability to populate a specific form by specifying the id or name of the form 18:02 < ge0id> i really liked actionchains... best thing about mojavi :( 18:02 < Wombert> the thing is 18:03 < Wombert> hmmm 18:03 < Wombert> how about this: 18:03 < digitarald> me too ... slots are ... strange ;) 18:03 < Wombert> if populate is a ParameterHolder, it uses that to populate the same form as the request uri 18:03 < Wombert> if it's an array, the key is the form id or name, and the value is a parameterholder 18:03 < Wombert> of values to populate 18:03 < Wombert> that way, you could even populate more than one form at once 18:04 < digitarald> thats nice 18:04 < digitarald> form-id! 18:04 < digitarald> form name is not allowed in xhtml strict 18:05 < Wombert> oO 18:05 < digitarald> thats very nice when i think about the possebilities, i love it :) 18:05 < ge0id> the gr8 thing about them was that each action was self contained and could manage it's own processes. So I would create 'Tiles' on a page, each being its own action, all chained together in the page. If you submit a form on one tile, that action processes itself and redirects back to the current URL. 18:06 < Wombert> ge0id: hmmm 18:06 < ge0id> Can I duplicate that method in Agavi? 18:06 < Wombert> the thing is that that is a presentational thing 18:06 < Wombert> yeah using slots 18:06 < Wombert> you have a "main" action 18:06 < Wombert> that's "content" 18:06 < Wombert> and in the view, you can set up slots 18:06 < Wombert> menu sidebar 18:06 < Wombert> login box 18:06 < Wombert> etc 18:07 < ge0id> so each slot can contain an action? 18:07 < Wombert> slots _are_ actions 18:08 < digitarald> slots are like chain-elements. the chain is executed after the view ... all data is given to the decorator 18:09 < digitarald> there is no chain->execute, you can't fetch the rendered slots in the view/action ... 18:10 < ge0id> but if each slot is an action, then it's pretty much the same thing as an actionchain... except that action chains were a bit more flexible in that you could use them in your controller, not just in your view. 18:11 < Wombert> the idea is that action chains were almost never used to actually chain "actions" of business logic etc 18:11 < Wombert> which would have been a bad idea anyway 18:11 < Wombert> so they were a purely presentational thing 18:11 < Wombert> and that belongs into the view 18:12 < ge0id> kind of makes sense... i can't think of an instance where I've used ActionChains to chain business logic.. i've usually used $controller->forward for that 18:13 < CIA-6> dominik * r1017 /trunk/src/validator/AgaviValidator.class.php: 18:13 < CIA-6> removed the getAffectedFieldNames array (this is inserted on the validation run now, so not needed anymore) 18:13 < CIA-6> another attempt to fix the array problem 18:15 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 18:15 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1017 : Changeset [1017]: removed the getAffectedFieldNames array (this is inserted on the ... 18:20 < AgaviBot> News from Agavi : Agavi at http://forum.agavi.org : 18:20 < AgaviBot> 1) http://forum.agavi.org/viewtopic.php?pid=383#p383 : New post in Support : leading representative organisation for people 18:21 < Wombert> eremit: you there? 18:28 -!- benny`work [n=benny@p54AC0AAD.dip0.t-ipconnect.de] has joined #agavi 19:24 < digitarald> validator question ... :) 19:25 < digitarald> when i have a validateRead the validator xml is also executed?? 19:26 < digitarald> and if i use method="write" in validator xml validateRead is not executed? 19:27 < Wombert> no 19:31 < raidman> Wombert, when i have a validateRead the validator xml is also executed?? <---- no? 19:31 < Wombert> validation.xml runs whatever is specified for the request method 19:31 < Wombert> validateMethod is run if present, else validate 19:32 < raidman> thats it :) 19:40 -!- shoan [n=shoan@59.92.137.138] has joined #agavi 20:08 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:25 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 20:27 < eremit> Wombert, now yes ... 20:28 < Wombert> I'm thinking about getting rid of executeContextname() support in views 20:28 < Wombert> and adding executeOutputtypename() support instead 20:29 < eremit> hmmm ... 20:29 < Wombert> I believe that multiple output types are a) more frequently used than multiple contexts and b) a context has an output type, too, so you can define executeContextname() methods yourself if you like and call them from the output type exec methods, should you really need to separate behavior 20:29 < eremit> we talked already about it ... both solution are appealing 20:30 < Wombert> the most common thing would be sending content type headers, but the output types config handles that 20:30 < Wombert> but then, there are others 20:30 < Wombert> for a pdf, you might want to have content-disposition:attachment 20:30 < Wombert> for html responses, you might want to send X-JSON headers back for prototype to auto-eval 20:30 < Wombert> etc etc 20:31 < eremit> yes that's the reason why i suggested per outputtype yesterday ... 20:32 < eremit> and you're perfectly right saying a different context will have a different output type ... e.g. web -> html, cli -> text, soap -> soap-xml 20:33 < Wombert> yeah 20:34 < Wombert> well there area situations where that's not entirely true 20:34 < Wombert> but that's edge cases 20:34 < Wombert> like when you want to render static pages to the disk in a cms etc 20:34 < eremit> even then you can define something like output_type="html-static" e.g. 20:35 < Wombert> true 20:35 < Wombert> we would, obviously, restrict output types to a-z0-9_ 20:35 < eremit> then call it htmlstatic 20:35 < eremit> :P 20:36 < eremit> nobody forces you to name the output type according to the header they send or ? 20:36 < Wombert> no 20:37 < Wombert> but 20:37 < eremit> you will never find a solution where edge-cases aren't a problem ... 20:37 < Wombert> executeHtml-static won't work :p 20:37 < eremit> at least allow underscore 20:37 < Wombert> http://www.conceptart.org/forums/printthread.php?t=41365 22:02 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 22:09 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:22 -!- ge0id [n=noel_da_@bb-87-82-4-45.ukonline.co.uk] has quit [] 22:31 -!- benny`work is now known as benny`patchslut 22:51 -!- shoan [n=shoan@59.92.137.138] has quit [] 23:13 < devosc> Question OT, how does a mysql fulltext search work with its stop words, e.g. I'm aware of the english stop words 23:14 < devosc> but what about, say, German stop words etc ? 23:41 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 23:42 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 23:42 -!- raidman_ is now known as raidman --- Day changed Fri Aug 25 2006 00:32 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 01:28 -!- benny`patchslut [n=benny@p54AC0AAD.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:35 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 01:39 < Wombert> hi jake 01:49 -!- jake [n=jake@gg.internal.mixxer.com] has quit [Read error: 104 (Connection reset by peer)] 01:49 -!- jake [n=jake@gg.internal.mixxer.com] has joined #agavi 01:49 * Wombert yawns 01:49 < Wombert> mmmmh 01:49 < Wombert> FPF improvements 01:49 < Wombert> or routing improvements 01:50 < Wombert> caaaan't decide xD 02:12 < jake> hey wombert! 02:12 < Wombert> hey man 02:12 < Wombert> good you're here 02:12 < Wombert> quick question 02:12 < Wombert> right now 02:12 < Wombert> view allows execute() 02:12 < Wombert> I added executeContextname() 02:12 < Wombert> like executeWeb(), executeSoap() 02:12 < Wombert> but I now think that sucks 02:13 < Wombert> I'd like to change it to executeOutputtype 02:13 < Wombert> which, in the end, is about the same, but more flexible 02:13 < Wombert> i.e. executeHtml, executeJson, executeXmlrpc etc 02:14 < Wombert> the idea is that even in a context, you have different needs per output type 02:14 < jake> that does suck :) 02:14 < Wombert> e.g. send some Content-Disposition:attachment or so for a PDF etc etc 02:14 < jake> I like the latter, executeHtml/etc 02:14 < Wombert> good 02:18 < Wombert> jake: could you quickly write down a list of things a i18n implementation would have to offer 02:18 < Wombert> http://trac.agavi.org/trac.cgi/ticket/62 has a list of things we want in already 02:20 < Wombert> we briefly talked about locales and how ugly they are already 02:20 < Wombert> not sure what to do about that... 02:54 < raidman> I wonder how you know all about anything Wombert ?????? 02:55 < Wombert> hmm? 02:55 < raidman> taht ticket #62 shows me everything 02:55 < Wombert> I didn't quite understand what you mean ;) 02:55 < Wombert> you mean how I think of so many things? 02:55 < raidman> you know everything about *how to write a perfect framework* 02:55 < Wombert> haha 02:55 < Wombert> well 02:56 < Wombert> I try, yeah 02:56 < raidman> congratulation 02:56 < Wombert> but I wouldn't know what a framework would have to look like without you guys 02:58 < raidman> night guys, Wombert :) 02:58 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 03:04 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has joined #agavi 03:04 < Wombert> hi pressureman 03:04 < Wombert> I've read the logs of the last conversation 03:04 < Wombert> seems you had some trouble with output types 03:05 < pressureman> yeah, got them sorted 03:05 < pressureman> it was because i was echoing xml directly from the view 03:05 < Wombert> you need an "xml" and a "html" output type :) 03:05 < Wombert> with xml using XmlRenderer 03:05 < Wombert> err 03:05 < Wombert> XslRenderer 03:05 < pressureman> once i stuffed the xml in a var and echoed it from a template, all was ok 03:05 < Wombert> or, if you don't want to use xsl... just use PhpRenderer, too, but with a different extension 03:05 < Wombert> that way, html and xml templates will be separate 03:06 < pressureman> don't need xsl, i'm outputtting xml to be eaten by an xmlhttprequest 03:06 < Wombert> I would build the xml in the template... 03:06 < Wombert> ever considered html and/or json? :) 03:06 < pressureman> yep 03:06 < pressureman> also considered a career change, but that's another story 03:07 < Wombert> haha :) 03:07 < Wombert> there's one particular prototype feature I love 03:07 < Wombert> that X-JSON header eval 03:07 < Wombert> very cool if you deliver a bunch of html back to the client and want to send some status info along 03:07 < pressureman> umm, are there any examples for using the new validators in 0.11? 03:07 < Wombert> mmmh not really 03:07 < Wombert> the sample app has a _very_ minor one 03:07 < pressureman> i use them a lot in my 0.10.2 app 03:08 < Wombert> also, we all agree that the validators still suck but nobody figured out something better yet 03:08 < pressureman> mainly to avoid passing stupid values to sql 03:08 < Wombert> I'll try to be of as much help as possible 03:08 < Wombert> yeah, did you notice the new way to access request params? 03:08 < pressureman> the agaviparameterholder object? 03:08 < Wombert> yep 03:09 < Wombert> in strict or tainted mode, it only contains the values you actually validated 03:09 < Wombert> might come in handy 03:09 < pressureman> yeah... after i got an exception from trying $request->getParameter() 03:09 < Wombert> :) 03:09 -!- horros_ [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)] 03:09 < Wombert> I, too, am porting a 0.10.2 app to 0.11 right now 03:09 < Wombert> it's a pain 03:09 < pressureman> i see the errors have changed a bit too 03:09 < Wombert> but it'll be worth it 03:09 < Wombert> yep, a bit 03:09 < Wombert> you shoud use FormPopulationFilter 03:09 < Wombert> makes your life a lot easier 03:09 < Wombert> play with the sample app login form 03:10 < Wombert> to get an idea of how it works 03:10 < pressureman> yeah i might look at that for any new forms... 03:10 < pressureman> i've got a ton of ajax forms at the moment 03:10 < pressureman> but i don't really like maintaining so much ajaxy stuff 03:10 < Wombert> 08:36 < pressureman> hmm... well, a rather brutal approach is header('Content-Type: text/xml'); 03:10 < Wombert> did you figure that out, too? 03:11 < pressureman> the main reason i rolled my own ajax forms was so that the user would get feedback if there was a db primary key collision 03:11 < pressureman> yeah sorted 03:11 < Wombert> text/xml in the output_types.xml 03:12 < Wombert> wrt validation, v-dogg will be able to help you best I guess 03:12 < Wombert> he should be back in 6 hours at the latest 03:12 < pressureman> i'm not setting output type, just setting content type (but not so brutally with my own header() call) 03:12 < Wombert> time zones are a stupid thing ;) 03:12 < Wombert> oooooh 03:12 < Wombert> but 03:12 < Wombert> really 03:12 < Wombert> you shouldn't do that! 03:13 < pressureman> heh i know, there are some app redesign issues i need to address... 03:13 < pressureman> first things first tho 03:13 < Wombert> output types would be one of the first things ;) 03:13 < Wombert> they are an essential aspect of 0.11 03:13 < pressureman> do u have any example of the syntax for validators at all? 03:13 < Wombert> in the sample app 03:14 < pressureman> ah cool 03:14 < pressureman> i'll figure the rest out 03:14 < Wombert> did you meet AgaviBot yet 03:14 < Wombert> !seen horros 03:14 < AgaviBot> Wombert: horros was last seen on Thu Aug 24 13:24:23 2006 saying "$doc->loadHTML('asdfasdfasdf');" (joined Sat Aug 19 12:18:03 2006, left Thu Aug 24 14:37:11 2006) 03:14 < Wombert> !info 03:14 < 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! 03:14 < Wombert> :) 03:14 < Wombert> that's what 0.11 can do ;) 03:14 < pressureman> i'll probably compile a bit of a list of questions, maybe as a forum post 03:14 < pressureman> just to try to clarify some best practices 03:14 < Wombert> yeah sure we'll help you as much as we can 03:14 < Wombert> yeah ask me now if you like 03:15 < pressureman> i need to jot them down first... they're kinda bouncing around in my head at the moment 03:15 < pressureman> 0.11 is looking very promising... agavi is still ahead of zend framework, IMHO 03:18 < Wombert> I'm pretty excited we were able to solve some problems that others failed to address so far 03:18 < Wombert> for instance, while the now-enforced separation of presentation and logic may seem a bit much at first glance 03:18 < Wombert> it'll pay off over time 03:19 < Wombert> redirects, forwards etc now all should be put into the view 03:19 < pressureman> absolutely 03:19 < Wombert> to forward, you now return an array of info from the view, just fyi 03:19 < pressureman> i guess it's a good thing if the framework can enforce good MVC design 03:19 < Wombert> many people complained 03:19 < pressureman> i don't think i use any forwards 03:19 < Wombert> because they said "well AddProductAction succeeded I want to forward to the ViewProduct page, why can't I forward in the action" 03:20 < pressureman> just shooting out to lunch... bbl 03:20 < Wombert> but most people understood that it must be done in the action... you only want to forward on the web interface, not with SOAP 04:09 < pressureman> i'm pretty sure mojavi taught us to do forwards in the controller, ie. the action 04:11 < Wombert> yeah maybe back in the 2.0 time 04:11 < Wombert> but still back then 04:11 < Wombert> it was a mistka 04:11 < Wombert> e 04:11 < Wombert> forwarding to ViewProduct after AddProduct succeeded is a purely presentational matter 04:12 < Wombert> an action shouldn't be bothered with stuff like that 04:12 < pressureman> ok, but if ViewProduct fails to retrieve a product, it tells the view to show the Error view, right? 04:12 < Wombert> yeah 04:12 < Wombert> the idea is 04:12 < Wombert> to display the error view 04:12 < Wombert> which, then, either displays an error message 04:12 < Wombert> or, better, forwards to the 404 action 04:13 < pressureman> so let's say i call a ViewProduct action with a param (DB primary key) 04:13 < pressureman> ViewProduct action invokes a model, retrieves the product, and stuff's the object in the request 04:14 < pressureman> right so far? 04:14 < Wombert> almost 04:14 < pressureman> the ViewProduct view retrieves the product object from the request, and renders it 04:14 < Wombert> ;) 04:14 < Wombert> you don't put it into the request anymore 04:14 < Wombert> you do $this->setAttribute in the action 04:14 < Wombert> and the stuff is automatically set in the view 04:14 < Wombert> no need to pull it first 04:14 < pressureman> hmm ok... sounds good. i'll try that. 04:15 < pressureman> where does it go, technically? 04:15 < Wombert> what 04:15 < pressureman> like, where is $this->setAttribute actually putting it? 04:15 < Wombert> uuuh 04:15 < Wombert> stores it temporarily somewhere 04:16 < Wombert> not in the request anymore 04:16 -!- shoan [n=shoan@59.92.137.138] has joined #agavi 04:16 < pressureman> heheh magic storage 04:16 < Wombert> hi shoan 04:16 < Wombert> the hitler restaurant will change it's name xD 04:17 < shoan> hi Wombert 04:17 < shoan> the owner was totally clueless 04:17 < Wombert> yeah 04:17 < shoan> the media pretty much tore him apart 04:18 < Wombert> was it in the news and all? 04:18 < shoan> yep 04:18 < Wombert> haha 04:18 < Wombert> pressureman: // initialize the view 04:18 < Wombert> $viewInstance->initialize($response, $actionEntry->getActionInstance()->getAttributes()); 04:18 < shoan> the poor guy was shitting ;) 04:18 < Wombert> I bet he was 04:19 < Wombert> pressureman: you can not also pass extra params to slots 04:19 < Wombert> very useful, at least to me 04:20 < shoan> Wombert: http://news.bbc.co.uk/2/hi/technology/5283424.stm 04:20 < Wombert> yep 04:20 < Wombert> mine's affected 04:20 < Wombert> pretty cool 04:20 < Wombert> it's down to 70% capacity already 04:20 < Wombert> nice to get a new one ;) 04:20 < shoan> how do I know whether I get a new battery? 04:20 < Wombert> there's an apple page 04:20 < Wombert> one sec 04:21 < Wombert> https://support.apple.com/ibook_powerbook/batteryexchange/ 04:21 < Wombert> my battery serial number is in the range 04:21 < Wombert> however, that form says my battery doesn't qualify 04:22 < Wombert> seems to be false tho; forums are full of people reporting they get the same error 04:22 < pressureman> um, what is the correct way to set an error from an action? 04:22 < pressureman> just use $this->setError() ? 04:22 < Wombert> no, errors are set in the request 04:22 < Wombert> BUT 04:22 < Wombert> I'd use validate() 04:22 < Wombert> if possibl 04:22 < Wombert> e 04:22 < Wombert> or validateRead() etc 04:22 < Wombert> in there, you can also check if the product exists 04:23 < pressureman> so for example a an SQL select failed to retreive the product 04:23 < Wombert> and, if so, store it somewhere in the action 04:23 < Wombert> so you don't have to pull it again 04:23 < pressureman> ok... 04:23 < pressureman> quite a lot of rewriting methinks 04:24 < Wombert> want a quick code sample? 04:25 < shoan> Wombert: I will have to shut down for this 04:25 < Wombert> shoan: nope 04:25 < Wombert> powerbook? 04:25 < shoan> ibook 04:25 < Wombert> plug in the power adapter 04:25 < Wombert> and just remove the battery 04:25 < shoan> ok 04:25 < pressureman> if u have a code sample handy.. 04:25 < Wombert> pressureman: nope but will create one ;) one second... 04:29 < Wombert> http://pastebin.com/775376 04:29 < Wombert> very basic ;) 04:29 < Wombert> the idea is that you use validate() 04:29 < shoan> Wombert: no luck...my batteery over heats and is down 47% 04:30 < Wombert> shoan: huh? 04:30 < shoan> *down to 04:30 < Wombert> why/when/where does it overheat? 04:30 < pressureman> so a return false from validate() will throw a validation exception? 04:30 < Wombert> no 04:30 < shoan> at the bottom 04:30 < shoan> mostly on the side of the hard drive 04:30 < Wombert> that will use "Error" as the view 04:30 < pressureman> ok 04:30 < Wombert> you could 04:30 < Wombert> also 04:31 < Wombert> check the product in the execute() method 04:31 < Wombert> and, upon failure, return "Error" 04:31 < Wombert> but that's not as nice IMO 04:31 < pressureman> that's what i do now 04:31 < Wombert> another option would be to use a routing callback 04:31 < Wombert> if you're using routing 04:31 < Wombert> where the callback checks the product id 04:31 < Wombert> matter of taste, really 04:31 < pressureman> i'm using routing 04:31 < pressureman> not sure what you mean by a routing callback tho 04:32 < Wombert> I tend to think that you should "validate" such basic stuff using the routing 04:32 < Wombert> e.g. www.myservice.com/wombert/blog/archives/1237123.html 04:32 < Wombert> www.myservice.com/wombert/gallery/12312 04:32 < pressureman> you mean using regexp's in the routing? 04:32 < Wombert> you don't want to validate "wombert" in each action, that'll be a pan 04:32 < Wombert> no 04:32 < Wombert> each route can have a callback 04:32 < Wombert> the callback has three methods 04:33 < Wombert> onMatched 04:33 < Wombert> onNotMatched 04:33 < Wombert> onGenerate 04:33 < Wombert> onMatched will be called if the pattern matched, and you can perform additional stuff 04:33 < Wombert> if you return false, the route will count as not matched 04:33 < Wombert> good example: 04:33 < Wombert> www.acme.com/de/products/blah 04:33 < Wombert> and /en/products and so on 04:34 < Wombert> so in onMatched 04:34 < Wombert> for the language pattern 04:34 < Wombert> which would look like 04:34 < Wombert> 04:35 < Wombert> onMatched 04:35 < Wombert> would check if the language is registered in the database 04:35 < Wombert> if yes, set it in a cookie 04:35 < Wombert> if not... set a default one, return false 04:36 < Wombert> onNotMatched (e.g. when www.acme.com/products/blah was called) would try to pull a default language from the cookie, next use the browser Accept-Language header, next use the system default 04:36 < Wombert> and onGenerate will hand back the language that is currently set internally so it can be generated properly 04:36 < Wombert> that's all pretty confusing I'm sure 04:37 < pressureman> umm heh yeah 04:37 < Wombert> 04:37 < pressureman> it's more than i need, anyway 04:37 < Wombert> imply="true" means it's included in generation even if you don't specify it 04:37 < pressureman> i'll retrieve the product in validate, as you suggested 04:37 < Wombert> cut="true" cuts the matched portion for following rules 04:37 < Wombert> stopping="false" means don't abort on match 04:38 < Wombert> another example... let's say all your actions should have an RSS version 04:38 < pressureman> what is the difference between validate() and validateRead(), validateWrite() etc... are they to do with GET, POST methods? 04:38 < Wombert> validate() is always called 04:38 < Wombert> validateRead() is called on GET 04:38 < Wombert> executeRead is called on GET 04:38 < Wombert> and so on 04:38 < Wombert> careful tho 04:38 < Wombert> if your action has execute() 04:38 < Wombert> it means it serves all request methods 04:38 < pressureman> ok 04:39 < Wombert> executeRead() means it serves GET etc 04:39 < pressureman> yep, noticed that in the sample app 04:39 < Wombert> if you have execute(), it'll still call validateRead() (if present) on GET etc 04:40 < Wombert> 04:40 < Wombert> 04:40 < Wombert> $routing->gen('listprods'); will generate "/products" 04:40 < Wombert> $routing->gen('listprods+rss') will generate "/products/rss" 04:41 < Wombert> if rss now had imply="true" 04:41 < Wombert> URLs would always end on /rss 04:41 < shoan> Wombert: how do you do tdd with agavi? 04:41 < Wombert> the rss route doesn't specify action or so as you can see, it just modifies the output type 04:41 < Wombert> shoan: uuuuuh... you got me there ;) 04:41 < Wombert> not at all at the moment 04:42 < Wombert> we haven't ported the project unit tests to phpunit2 yet 04:42 < Wombert> i.e. so they work etc 04:42 < shoan> looks like you will need tonnes of mock objects 04:42 < Wombert> shoan: but why can'T you remove the battery 04:42 < Wombert> shoan: yeah probably 04:42 < shoan> Wombert: I just did and my s.n. isn't in the list :( 04:43 < Wombert> ah 04:43 < Wombert> too bad :< 04:43 < shoan> the battery capacity is down to 47% :( 04:44 < Wombert> that sucks :( 04:44 < Wombert> sounds like it's time for a MacBook ;) 04:46 < Wombert> anyways 04:46 < Wombert> it's 4am here 04:46 < Wombert> rrreaaaallly time for bed 04:46 < Wombert> see you later guys 04:47 -!- Wombert [n=Wombert@dslb-088-064-001-127.pools.arcor-ip.net] has quit [] 04:50 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has left #agavi [] 05:05 -!- AgaviBot [n=dzuelke@dslb-088-064-001-127.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 06:16 -!- shoan [n=shoan@59.92.137.138] has quit [] 07:08 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has joined #agavi 07:08 < pressureman> yo 07:09 < pressureman> anyone here? 07:11 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 08:00 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has joined #agavi 08:15 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has left #agavi [] 08:31 < v-dogg> huomenta 08:37 < v-dogg> heh, fpf is still not working properly 08:44 < v-dogg> hiliting is getting there but populating itself... hmm... this is very uncool now 08:44 < v-dogg> it populates normalized values 08:47 < v-dogg> probably validations fault though 08:59 -!- [1]eremit [n=eremit@p5490F2EE.dip.t-dialin.net] has joined #agavi 09:11 < [1]eremit> morning 09:12 -!- eremit [n=eremit@p5490F56E.dip.t-dialin.net] has quit [Nick collision from services.] 09:12 -!- [1]eremit is now known as eremit 09:13 < v-dogg> mornink 09:27 < v-dogg> fecking validation... 09:31 < v-dogg> fecking controller.. :) 09:40 < v-dogg> hmm... 09:41 < v-dogg> array_merge($arr1, $arr2) doesn't return a new array but $arr1 with data from $arr2? 09:43 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 09:44 < v-dogg> I don't get this 09:44 < v-dogg> are array passed as reference too? 09:44 < v-dogg> arrays 09:44 < horros> not usually, no 09:44 < horros> then again, I dunno if you said something before that :) 09:45 < horros> like "#)¤()#¤% STUPID FORMPOPULATIONFILTER" :D 09:45 < v-dogg> 09:27 < v-dogg> fecking validation... 09:45 < v-dogg> 09:31 < v-dogg> fecking controller.. 09:45 < eremit> according to the documentation array_merge should return an array 09:45 < v-dogg> just like according to the docs you can call DOM::loadXml staticly :) 09:46 < eremit> rofl ... 09:47 < v-dogg> I don't feccking get this... 09:47 < v-dogg> for some reason action entry gets a reference to the request's parameterholder 09:47 < horros> v-dogg: so what's the problem? 09:48 < v-dogg> so validation manipulates parameters in _Request_ 09:49 < horros> v-dogg: I think it's just a case of "EVO" :) 09:49 < v-dogg> http://pastebin.ca/148543 09:49 < v-dogg> horros: most likely :) 09:50 < horros> try $x = array_merge($a, $b); $actp = new AgaviParameterBlahblah($x); 09:50 < horros> I remember having some problem with a lot of functions not working if you did things like that 09:51 < horros> ie myFunction(array_this_or_that($a, b, c)); 09:52 < v-dogg> no 09:52 < v-dogg> but but ... 09:52 < v-dogg> but plug 09:52 < v-dogg> butt 09:54 < v-dogg> debug_zval_dump($reqp); 09:54 < v-dogg> array(4) refcount(3){ ["rows"]=> &array(8) refcount(2){ ...... 09:54 < v-dogg> request parameters have refs inside them 09:55 < v-dogg> this would explain it, wouldn't it? 09:55 < v-dogg> the array is not passed by reference, but the array _inside_ is 09:55 < horros> hmm, might be 09:56 < horros> I'll ask Derick when he gets online 09:56 < horros> he ought to know 09:56 < horros> I hope he wasn't out partying yesterday :) 09:56 < horros> => coffee 10:00 < v-dogg> oh yes 10:00 < v-dogg> lots of it 10:00 < horros> one pot coming right up :) 10:04 < horros> man 10:04 < v-dogg> who's derick? 10:04 < horros> Derick Rethans 10:05 < v-dogg> sounds like someone from a german police series 10:05 < horros> haha 10:05 < horros> he's a dutchy 10:05 < horros> :) 10:05 < v-dogg> ok :) 10:05 < horros> ah, he's online. 10:05 < horros> lemme see if I have it straight 10:06 < horros> $a['b'] = array('ab', 'bc'); $a['c'] = &$somearray; $x['a'] = 123; 10:07 < horros> then array_merge($a and $x) and manipulate the resulting array's 'c' also pokes around in $somearray ? 10:07 < horros> ie, the reference is still there 10:07 < v-dogg> hmm.. yeah 10:07 < horros> that's basically what it boils down to? 10:08 < v-dogg> hmm.. and those references are from $_POST 10:10 < v-dogg> so input row[1][foo] becomes "row" => & array('foo' ... 10:10 < v-dogg> sucky 10:10 < horros> and of course we don't know the names of the indexes that become references? 10:11 < horros> gah 10:11 < horros> can you make a small example that I can actually run? 10:11 < horros> :D 10:13 < v-dogg> a small example comming right up... 10:14 < v-dogg> install agavi, code a form with array inputs... :p 10:14 < horros> haha 10:14 < horros> http://pastebin.ca/148569 10:14 < horros> I did that 10:14 < horros> that's basically what it's all about in the end, yes? 10:16 < v-dogg> without the typos, yes 10:17 < v-dogg> hmm.. wait 10:18 < horros> so you basically want to break the referencefor element 'd' ? 10:18 < horros> correct! 10:18 < horros> I know only of one workaround, and it isn't pretty :I 10:18 < horros> :( 10:19 < horros> $x = unserialize(serialize($x)) 10:19 < v-dogg> uh... 10:19 < v-dogg> but that brings us to another issue 10:20 < v-dogg> why are those array refs 10:20 < v-dogg> in $_POST 10:20 < horros> I dunno 10:20 < horros> :I 10:20 < horros> can you make an example somewhere? 10:25 < horros> so what's making them into references then? 10:25 < horros> something in your code... 10:33 < v-dogg> I'm just trying to find out what happens 10:33 < v-dogg> because my small example didn't have refs :) 10:36 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 10:40 < horros> yeah 10:40 < horros> derick said it's something in the code that turns them into references 10:40 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:44 < v-dogg> \o\ 10:44 < v-dogg> /o/ 10:44 < v-dogg> \o\ 10:44 < v-dogg> _o_ 10:44 < v-dogg> \o/ 10:45 < v-dogg> $req->setParametersByRef($_POST); 11:06 < horros> http://www.hs.fi/kuvat/iso_webkuva/1135221195014.jpeg 11:06 < horros> spot the finnish guy 11:06 < horros> :D 11:08 < v-dogg> haha 11:44 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:47 < digitarald> Morning 11:49 < horros> hehe 11:49 < horros> I got quite an interesting error message :) 11:49 < horros> "Type mismatch: cannot convert from NodeIterator to NodeIterator" 11:51 < v-dogg> err... wtf :D 11:54 < horros> different namespaces :) 11:54 < v-dogg> a WAHT! 11:55 < horros> org.w3c vs. org.apache 11:55 < v-dogg> aaaaa... xml namespace ;) 11:55 < horros> no 11:55 < horros> namespace :) 11:55 < v-dogg> java? 11:56 < horros> *nod* 11:57 < v-dogg> throw new NotSupportedException('Get lost with your fancy schmancy namespaces'); 12:25 < horros> wtf 12:25 < horros> interesting 12:26 < horros> I created a dtd-file in eclipse and Visual C# opened it :O 12:27 -!- shoan_ [n=shoan@61.95.206.107] has joined #agavi 12:29 -!- shoan_ [n=shoan@61.95.206.107] has left #agavi [] 12:51 < Macca`> horry 12:51 < Macca`> wanna convert my pseudocode to java? :D 12:56 < horros> no 13:07 < ttj> Macca`: How much are you paying? ;-) 13:08 < Macca`> =D 13:26 < v-dogg> Show Me The Money 13:32 < Macca`> http://www.phpriot.com/3703 13:32 < Macca`> who wants to convert that to agavi? 13:33 < horros> nobody in their right mind? 13:33 < Macca`> :( 13:33 < v-dogg> you have to give a bit more that just "convert this to java" 13:33 < Macca`> agavi no jaava :) 13:34 < v-dogg> aa 13:34 < digitarald> does anybody know how to use the i18n in agavi ... there are some objects ... but how to implement that in templates/validators 13:34 < v-dogg> digitarald: is it supposed to be ready? 13:35 < v-dogg> Macca`: that's easy, isn't it 13:35 < v-dogg> just separate thing a bit 13:35 < Macca`> yeah 13:35 < v-dogg> use creole 13:36 < v-dogg> and smarty renderer 13:36 < v-dogg> and put all that into an action 13:36 < digitarald> or php renderer ;) 13:36 < v-dogg> set values using $this->setAttribute( 13:37 < digitarald> don't know when l10n is ready ... i'm developing around and waiting ;) 13:37 -!- Wombert [n=Wombert@dslb-088-064-003-171.pools.arcor-ip.net] has joined #agavi 13:37 < Macca`> setAttribute() is like assign in smarty templates? 13:38 < Macca`> how do i make agai use smarty templates? 13:38 < v-dogg> output_types.xml 13:38 < v-dogg> change the renderer 13:38 < Wombert> AgaviSmartyRenderer 13:38 < Macca`> why was i not informed about this until now? 13:39 < v-dogg> and Action::setAttributes sets attributes straight to the template 13:39 * Macca` hates embedding PHP in HTML 13:39 < Macca`> smarty i can live with :) 13:39 < Wombert> vars will be in $template 13:39 < v-dogg> Macca`: you didn't ask :) 13:40 < Wombert> so will be slots 13:40 < Wombert> you can set both names using var_name and slots_var_name 13:40 < Macca`> ">... .. .and no i will not use short tags 13:40 < Wombert> or extract vars so they aren't put into an array with extract_vars and extract_slots 13:40 < Wombert> all parameters to the renderer 13:40 * Macca` looks at Wombert 13:40 < Macca`> stop talking about sluts :| 13:40 < v-dogg> extract_sluts 13:41 < v-dogg> and they are gone! 13:41 < v-dogg> Wombert: wanna see something funny? 13:41 < v-dogg> I have two funny things for ya :) 13:41 < Wombert> yeeehaa 13:41 < v-dogg> at least 13:41 * Macca` is using svn 13:41 * Macca` is proud of self 13:41 < v-dogg> well, you'll get the newest funny thing first: 13:41 < v-dogg> Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\workspace\EcomWebi2\3rdparty\agavi\validator\AgaviDependencyManager.class.php on line 100 13:42 < Wombert> oh ffs 13:42 < v-dogg> the other funny thing is that I found out why fpf used normalized values 13:43 < Wombert> why 13:43 < Wombert> hey btw I proposed to get rid of all plural tags to dominik 13:44 < Wombert> no more to wrap etc 13:44 < Wombert> good? 13:44 < v-dogg> hmm.. dunno 13:45 < v-dogg> but the fpf issue: http://trac.agavi.org/trac.cgi/browser/trunk/src/routing/AgaviWebRouting.class.php#L371 13:45 < v-dogg> input row[1][foo] becomes "row" => & array('foo' .... 13:45 < eremit> Wombert exellent 13:47 < v-dogg> so we can't use setParametersByRef($_POST); 13:47 < v-dogg> but setParameters($_POST); 13:48 < v-dogg> and HEY! I have a third funny thing too! 13:48 < v-dogg> it's like christmas! 13:48 < v-dogg> fpf hiliting doesn't work! :D 13:48 < v-dogg> with arrays 13:49 < v-dogg> I mean validation error names don't work 13:49 < Wombert> uuuuh 13:50 < v-dogg> too much to handle? do y-o-u w-a-n-t m-e t-o s-p-e-a-k s-l-o-w-e-r ... ? 13:50 < Wombert> haha no :) 13:54 < shoan> Wombert: so what would be the replacement for the plural tags? 13:54 < v-dogg> nothing? 13:54 < v-dogg> they are redundant 13:56 < Wombert> bbiab 13:59 < eremit> wtf ... doesn't the propeldatabasehandler autoload the criteria class ? 13:59 < digitarald> no 13:59 < digitarald> add it to autoload ;) 14:00 < eremit> yeah ... 14:00 < eremit> grml *Gg* 14:01 < v-dogg> or require it in your database class 14:01 < v-dogg> autoload is better 14:01 < eremit> database class ? 14:02 < v-dogg> MyDb extends PropelDatabase 14:02 < horros> stupid frigged DTD 14:02 < eremit> v-dogg, i take autoload :P 14:02 < v-dogg> better 14:02 < eremit> another stupid <10 line class ... nono 14:26 < eremit> does this provides depends thing in the validation work already ? 14:29 < eremit> and if yes, how does it work ? 14:42 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 14:43 < v-dogg> eremit: not sure 14:43 < v-dogg> I tried it yesterday but it did't make any sense to me :) 14:48 < v-dogg> but these Or and And validators work 14:48 < v-dogg> which is nice 14:48 < eremit> yes they work ... *ggg* 14:48 < eremit> but i need the dep thing ;) ... and it looks like there's a bug in it *ggg* 14:49 < v-dogg> a bug! noooo! can't be ;) 14:49 < eremit> hrhr :P 14:50 < eremit> rofl ... 14:51 < v-dogg> we don't code bugs 14:51 < eremit> currently if a validator sets provides="foo" ... all validators dependant on "foo" return success ... 14:51 < eremit> nice on ... and i wonder why the behauviour is not as expected ... 14:52 < horros> man 14:52 < horros> I'm bored 14:52 < eremit> hrhr .. fix the bug i just found :P 14:52 < v-dogg> so how do them dependencies work? 14:53 < eremit> i would expect according to the documentation at http://trac.agavi.org/trac.cgi/wiki/Validation 14:54 < v-dogg> there's documentation ? :D 14:54 < v-dogg> lol... 14:54 < eremit> a validator having depends will only be executed if another validator sets a provide first ... 14:55 < eremit> but currently it's as soon as a validator sets provide all validator having the same value as depends don't get evaluated and return true automatically 14:55 < v-dogg> haha 14:55 < v-dogg> but let's fix it 14:55 < v-dogg> because I need that to get rid of my or-and validator mess :) 14:56 < eremit> AgaviValidator.class.php line 427 ... there's a ! missing in front of $this->parentContainer-->getDependencyManager() 15:00 < v-dogg> and you are sure about this?-) I can commit without testing? 15:00 < eremit> at least for me it works now as _I_ expect it ... 15:00 < eremit> but i don't know if that was the intented behauviour .. 15:01 < v-dogg> it can't be 15:01 < CIA-6> v-dogg * r1018 /trunk/src/validator/AgaviValidator.class.php: Fixed dependency check 15:01 < v-dogg> at least not according to the comments in there 15:02 < eremit> hehe ... if it's wrong blame me :P 15:02 < v-dogg> of course I will 15:02 < eremit> gtg :P 15:02 < eremit> ;) 15:03 < eremit> nice ... now i got rid of all my validateWrite() meths ... 15:03 < v-dogg> cool 15:05 < v-dogg> 'depends' is a parameter and not attribute, right? 15:07 < eremit> 15:07 < eremit> i don't get it with local and global things... so i put everything into global ;) 15:09 -!- AgaviBot [n=dzuelke@dslb-088-064-003-171.pools.arcor-ip.net] has joined #agavi 15:25 -!- raidman [i=armen@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 15:25 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 15:32 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 15:33 < eremit> :/ i dont get the and validator running Oo 15:33 < v-dogg> 15:34 < eremit> sure ... 15:34 < eremit> but the children of the and validator don't get filled Oo 15:35 < eremit> v-dogg, http://www.rafb.net/paste/results/idzdGd21.html 15:37 < eremit> the --> at the end of the line was accidently not removed before posting 15:37 < v-dogg> you are missing 15:37 < eremit> gna ... 15:37 < v-dogg> should we vote about these plurals :) 15:38 < eremit> i hope wombie removes the plural thing asap ... :P 15:38 < Wombert> dominik would do it 15:38 < Wombert> thing is 15:38 < Wombert> it's not as easy as I thought 15:38 < eremit> why? 15:38 < Wombert> or maybe it is 15:38 < Wombert> we'll see 15:42 < Wombert> http://www.symfony-project.com/weblog/2006/08/25/heading-towards-symfony-1-0.html 15:42 < Wombert> look at these retards 15:42 < 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 15:42 < Wombert> STUUUUUPID 15:42 < eremit> community pwnd'em 15:43 < Wombert> I mean 15:43 < Wombert> AHAHAHAH 15:43 < Wombert> AJAX ACTIONS 15:43 < Wombert> look at that 15:43 < 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). 15:43 < Wombert> holy crap 15:43 < horros> omg 15:44 < horros> they did have some interesting stuff a while back 15:44 < horros> symfony, that is. 15:44 < horros> but that's just... silly. 15:44 * horros humms and goes back to his servlets 15:44 < Wombert> servlets? 15:44 < Wombert> you're using java now? 15:44 < Wombert> traitor! 15:45 < horros> umm 15:45 < horros> I've been using java for ages 15:45 < Wombert> :| 15:45 < Wombert> Charset is now a real application setting. It normally resolves all internationalization, translation and fillin filter problems with charsets. Refer to the changeset 1752 for more information. 15:45 < horros> I'm language-agnostic 15:45 < horros> except for perl 15:45 < Wombert> uuuh huuuuh huuuuuh 15:45 < Wombert> haha 15:46 < horros> hmm 15:46 < horros> this is peculiar 15:47 < horros> my SOAP servlet doesn't seem to be recieving any POSTs, but still throws an exception that I can't seem to get any message out of :I 15:51 < CIA-6> v-dogg * r1019 /trunk/src/routing/AgaviWebRouting.class.php: $_POST and $_GET are no longer set using setParametersByRef. References to input arrays caused weird things and almost made me cry. Good riddance. 15:52 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 15:52 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1019 : Changeset [1019]: $_POST and $_GET are no longer set using setParametersByRef. References to ... 15:53 < eremit> ahhhhhhhh ... 15:53 < eremit> the validator error messages do not accept html entities ? 15:54 < Wombert> they don't? 15:54 < Wombert> uuuh 15:54 < Wombert> huh? 15:54 < Wombert> oO 15:54 < v-dogg> it's xml.. so... probably not 15:54 < v-dogg> or? 15:54 < eremit> & ... 15:54 < Wombert> ah, you mean © and friends? 15:54 < eremit> DOMDocument::load() [function.load]: Entity 'uuml' not defined in 15:54 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 15:54 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/321 : Ticket #321 (task) created by david 15:54 < Wombert> why bother 15:54 < eremit> ü ... stupid germ lang ... 15:54 < Wombert> eeehm 15:54 < Wombert> eremit: you're using UTF-8 15:55 < Wombert> just insert an ü 15:55 < v-dogg> wtf-8? 15:55 < v-dogg> yeah 15:55 < Wombert> and if you're not using UTF-8, you can still insert an ü 15:55 < eremit> uh ... 15:55 < Wombert> just make sure the charset is defined in the xml prolog 15:55 < horros> mmm 15:55 < horros> prolog 15:55 < horros> <3 15:55 < Wombert> Two households 15:55 < Wombert> both alike in dignity 15:56 < Wombert> in fair Verona 15:56 < Wombert> where we lay our scene 15:56 < Wombert> from ancient grudge break to new mutiny 15:56 < Wombert> where civil blood makes civil hands unclean 15:56 < Wombert> From forth the fatal loins of these two foes 15:56 < Wombert> a pair of star-cross'd lovers take their lives 15:56 < Wombert> who's misadventur'd piteous overthrows 15:56 < Wombert> doth with their death 15:56 < Wombert> bury their parent's strive 15:57 < Wombert> The fearful passage of their death-mark'd love 15:57 < Wombert> and the continuance of their parent's rage 15:57 < Wombert> which, but their children's end nought could remove 15:57 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 15:57 < v-dogg> romeo and juliet? 15:57 < Wombert> is now the two hour's traffic of our stage 15:57 < Wombert> the which, if you with patient ears attend 15:57 < Wombert> what here shall miss 15:57 < Wombert> our toil shall strive to mend 15:57 < Wombert> yep 15:57 < Wombert> romeo and juliet prologue ;) 15:58 < Wombert> and I still remember it... mmmh but it's an awesome play 15:58 < Wombert> I saw it in London in the Globe Theatre 15:58 < Wombert> ( http://en.wikipedia.org/wiki/Globe_Theatre ) 16:05 < Wombert> uh oh 16:05 < Wombert> problem... 16:05 < Wombert> :SSS 16:05 < v-dogg> just one? 16:05 < Wombert> output type fallbacks... 16:05 < Wombert> oooh dude this sucks 16:07 < Wombert> what do we do about this? 16:07 < Wombert> eremit? 16:07 < eremit> ? 16:07 < Wombert> executeAjax(), but falls back to html 16:07 < Wombert> that'll be a mess then 16:08 < eremit> uh...yes it will 16:08 < Wombert> could add fallbackHtml() support or so... hmmm 16:08 < Wombert> suggestions, anyone? 16:08 < Wombert> problem clear enough? 16:09 < Wombert> the thing is... output type fallbacks should be the exception 16:09 < Wombert> especially with the routing 16:09 < Wombert> but still... 16:09 < eremit> maybe you should add a method like getTemplate into the view 16:09 < eremit> so you can decide the template before the execution starts 16:10 < Wombert> hmmmm 16:10 < Wombert> that would be quite a change tho 16:10 < Wombert> hmmm 16:10 < eremit> i thinking the way like getDefaultView works ... 16:13 < Wombert> hmm 16:21 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 16:40 < Wombert> eremit: but I don't like that either 16:41 < Wombert> I'm thinking about checking inside setTemplate()... 16:41 < eremit> yeah ... tought it ... 16:41 < eremit> hmmm .. and then ? throwing an exception ? 16:41 < Wombert> yep 16:41 < Wombert> that would, however, require that people set their template directory, if they need to, prior to the setTemplate call 16:41 < eremit> this can drive you into heavy problems ... 16:41 < Wombert> why 16:42 < eremit> lets assume somebody has executeHtml() and executeAjax() ... executeHtml gets called ... 16:42 < Wombert> lol 16:42 < Wombert> haha 16:42 < Wombert> yeah 16:42 < Wombert> right 16:42 < eremit> he makes all the needed changes and calls setTemplate at the end ... 16:42 < Wombert> yeah yeah 16:42 < Wombert> stupid idea 16:42 < Wombert> oooooooh man what do we do about this 16:42 < eremit> you somehow have to preserve the information ;) 16:43 < Wombert> this is _uncool_ 16:43 < eremit> keep it as it is ... 16:43 < Wombert> no 16:43 < Wombert> I want executeType() 16:43 < eremit> *hrhr* .. hmmm ... the only thing i can think of is the getDefaultTemplate thing ... 16:44 < eremit> or to preserve the state before executing the executeType() thing .. 16:44 < eremit> and restoring the state after a catch 16:44 < Wombert> or... ditch fallbacks 16:45 < eremit> uh :/ 16:45 < eremit> and let the user handle fallbacks himself ? 16:46 < eremit> in this case setTemplate should return a boolean wether the template exists or not ... 16:46 < Wombert> hmmm 16:47 < Wombert> I'll find a reasonable way to make it work 16:47 < Wombert> no matter what it takes 16:47 < Wombert> I'm a german engineer, after all ;) 16:48 * Wombert goes find the big hammer 16:49 < Wombert> 6 weeks, 2 days, 5 hours, and 10 minutes until the next season of Top Gear starts on October 8th. 16:49 < Wombert> oooooh :< 16:49 < Wombert> horros: you watched all season 8 already? 16:49 < horros> yeah 16:50 < Wombert> the gallardo spyder review was the best ever IMO 17:15 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 17:41 < ttj> Wombert: It was good, but I don't think I'd go that far. 17:54 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 17:56 -!- shoan [n=shoan@61.95.206.107] has quit [] 18:00 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 18:01 -!- raidman_ is now known as raidman 18:41 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 19:11 -!- shoan [n=shoan@59.92.181.38] has joined #agavi 19:56 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 19:57 < Wombert> ttj: hmmm 19:58 < Wombert> can't think of others 19:58 < Wombert> I mean there obviously are better segments, like the porsche race, or the boat challenge 19:58 < Wombert> but it's the best review I can remember, at least by a single person 19:59 < ttj> The Van Der Brink (sp?) was also good. 19:59 < ttj> The Carver. 19:59 < ttj> And the Spyker something. 19:59 < ttj> But yeah, the Gallardo Spyder review was one of the better reviews, I'll admit that. :-) 20:01 < Wombert> I don't caaare 20:01 < Wombert> because 20:01 < Wombert> i got ninety three million miles of headroom 20:01 < Wombert> that was fantastic :) 20:01 < ttj> :P 20:02 < ttj> Yeah, I wouldn't mind driving one. :P 21:18 < Wombert> the sexiest car ever in top gear was that lada, imo 21:18 < ttj> If by sexy you mean perverted, then I agree. 21:20 < Wombert> I mean 21:20 < Wombert> attractive 21:20 < Wombert> you remember 21:20 < Wombert> that lada that was tuned by lotus 21:20 < Wombert> so cool 21:22 < ttj> I know. But regardless of whether or not it's technically a good car with brilliant handling and a great engine, it's still a Lada. And Ladas aren't cool. :P 21:22 < ttj> You will remember Jeremy defines cool by whether or not he could pick up that random lady up in a car or not. He couldn't with a Lada. :P 21:24 < Wombert> I bet he could 21:25 < ttj> Ah, but you'd have to explain to her why it's a "cool" car. If you have to do that, it's not a cool car. :P 21:26 < ttj> My two favourite cars are the Morgan Roadster and the Aston Martin DB9, FFIW. 21:26 -!- shoan [n=shoan@59.92.181.38] has quit [Read error: 110 (Connection timed out)] 21:28 < Wombert> the "Lotus Hand Made" badge in the center console should speak for itself 21:28 < Wombert> not to mention the hammer and sickle emblem 21:29 < ttj> But you still miss the point. She doesn't necessarily know why "Lotus Hand Made" is cool. :P 21:29 < Wombert> but she will see that it cost a shitload of money 21:29 < ttj> But she'll see it's a Lada. :P 21:30 < Wombert> which triggers any women's "oooh wait that car is expensive... which means he has money... which means being seen with him will up my social status" 21:30 < ttj> Being seen with a Lada won't up your social status. And even women know that. :P 21:30 < Wombert> it's not a lada 21:31 < Wombert> it's a unique lotus in a lada body 21:31 < Wombert> which is _desperately_ cool 21:31 < ttj> It looks like a Lada, it was originally a Lada and that's enough. You still have to explain why it's cool, and that makes it uncool. 21:31 < Wombert> you wouldn't 21:31 < Wombert> ! 21:31 < ttj> You would! 21:31 < Wombert> anyone can see that this car is cool 21:31 < ttj> Fine, let's email Clarkson. :P 21:31 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 21:34 < Wombert> yeah do it 21:34 < Wombert> I bet I'm right 21:34 < Wombert> oh and 21:34 < Wombert> even if he disagrees 21:34 < Wombert> he doesn't have a clue 21:34 < Wombert> so I am right 21:34 < Wombert> . 21:34 < Wombert> :) 21:34 < ttj> You suck. :-) 21:34 < Wombert> no! 21:34 < Wombert> this somehow reminds me of hammond eating the M6 card xD 22:27 -!- jake [n=jake@gg.internal.mixxer.com] has left #agavi ["Leaving"] 22:47 -!- feti [i=beefcake@energon.code-box.org] has joined #agavi 22:48 < Wombert> heyyy 22:48 < Wombert> feti 22:48 < Wombert> hi 22:48 < Wombert> how'ya doin 22:48 < feti> hey 22:48 < feti> good 22:49 < feti> look for blake ;( 22:49 < Wombert> haven't seen him for a while 22:49 < Wombert> in fact the last time he was here he told us his server crashed and everything was gone 22:49 < Wombert> btw 22:50 < Wombert> why did you decide to use initialize() 22:50 < Wombert> instead of the constructor 22:50 < feti> i don't remember 22:50 < feti> i think because the way PHP's constructors work. they're not in a standard C++ Java style 22:50 < feti> and it upset me it hink 22:51 < Wombert> standard c++ java style? 22:51 < Wombert> you mean you can't call super() or what? 22:51 < feti> nono. the fact that it doesn't. 22:52 < feti> if you don't provide a constructor it won't 22:52 < feti> so i wanted people to not get used to the way PHP works and be forced to use this 22:52 < feti> that way they aren't like 'omg, why isn't it working?!' 22:52 < feti> i got enough hate mail as it was for dev versions being less than 100% stable. thought it was funny. 22:53 < feti> out of my hands now anyways. i'm assuming you just changed it. 22:53 < feti> not something i'm worried about. 22:53 < feti> oh, about Blake, I'm talking about the 3gupload/mixxer guy 22:53 < feti> not Tyler that ran mojavi 22:54 < feti> he obviously uh doesn't want to keep it up. and he keeps giving me excuses 22:54 < Wombert> aaah 22:54 < Wombert> sorry 22:54 < feti> i dunno why 22:54 < Wombert> ywah I confused that 22:54 < feti> i even renewed the domain last month for him 22:54 < Wombert> blake left 20 minutes before you arrived 22:54 < feti> wtf 22:54 < feti> what's his ircname 22:54 < Wombert> jake 22:54 < feti> bmethany? 22:54 < feti> bmetheny 22:55 < Wombert> matheny it is I believe 22:55 < feti> wtf 22:55 < feti> i talked to him until 3:30am this morning about a job, and i was supposed to talk to him again, and now he's gone 22:55 < feti> and hasn't shown up all day 22:55 < feti> but he's on irc 22:55 < feti> *sigh* 22:55 < Wombert> a job 22:55 < Wombert> for you? 22:55 < feti> ya over at mixxer 22:56 < Wombert> whatever that is 22:56 < Wombert> those 3gupload people seem to be in dire straits for skilled coders ;) 22:56 < Wombert> I guess I have his email address, if that helps you 22:56 < Wombert> let me have a look 22:56 < feti> ya send it to me 22:57 < feti> so i can emailkill him 22:57 < feti> i think it's bmetheny@mixxerinc.com 22:59 < Wombert> http://trac.agavi.org/trac.cgi/wiki/BlakeMatheny 23:00 < feti> thanks 23:00 < Wombert> bmatheny@mobocracy.net 23:01 < Wombert> he seems to be pretty busy 23:01 < Wombert> I wish he wasn't, we sure could use his programming skills and ideas etc ;) 23:01 < feti> heh --- Day changed Sat Aug 26 2006 01:26 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 02:07 < CIA-6> david * r1020 /trunk/samples/app/modules/Default/templates/Master.php: xD 02:10 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 02:10 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1020 : Changeset [1020]: xD 03:49 -!- shoan [n=shoan@59.92.140.113] has joined #agavi 04:08 < CIA-6> david * r1021 /trunk/src/ (4 files in 3 dirs): 04:08 < CIA-6> removed View::executeContextname() support, added View::executeOutputtypename() 04:08 < CIA-6> support. onFallback() is called on fallback and given the request params plus 04:08 < CIA-6> the names of the output types the system is falling from and to. output type 04:08 < CIA-6> names are now restricted to what PHP allows for labels. closes #321 04:10 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 04:10 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/ticket/321 : Ticket #321 (task) closed by david 04:10 < AgaviBot> 2) http://trac.agavi.org/trac.cgi/changeset/1021 : Changeset [1021]: removed View::executeContextname() support, added ... 04:10 < Wombert> rename to handleFallback? 04:10 < Wombert> hmm 04:12 * shoan yawns 04:12 < shoan> morning folks 04:18 < Wombert> hi shoan 04:18 < Wombert> onFallback or handleFallback 04:18 < Wombert> what's better 04:18 < shoan> bad night... power outage throughout 04:19 < Wombert> oO 04:19 < Wombert> does that matter? 04:19 < Wombert> I mean 04:19 < Wombert> let the power go out 04:19 < shoan> something went BAM outside and the lights went out inside 04:19 < Wombert> you're asleep 04:19 < Wombert> :) 04:20 < shoan> dude... its 29.5 Deg C during the day here 04:20 < Wombert> day? night? 04:20 < shoan> can't sleep during the night without a fan or something 04:20 < shoan> ? 04:21 < Wombert> ah 04:21 < Wombert> hmm 04:21 < Wombert> yeah I guess it's way more humid and all 04:22 < Wombert> (than here) 04:22 < shoan> not really that humid, we are not close to any water body 04:22 < shoan> probably :) 04:22 < Wombert> and... I forgot what "hot" means... summer's been awful lately 04:26 < Macca`> hot means... high in temperature ? 04:26 < Macca`> heiss 04:28 < shoan> yeah high temp 04:28 < shoan> its not really summer here :p 04:28 < shoan> the temp go upto 35 deg C 04:28 < shoan> in hyderabad, they reach an excess of 40 deg C :( 04:44 < Macca`> cold here :( 04:54 < feti> sup 04:59 * Macca` runs 06:14 -!- Wombert [n=Wombert@dslb-088-064-003-171.pools.arcor-ip.net] has quit [] 06:16 -!- feti [i=beefcake@energon.code-box.org] has left #agavi [] 06:31 -!- AgaviBot [n=dzuelke@dslb-088-064-003-171.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 08:07 < eremit> morning 08:09 -!- shoan [n=shoan@59.92.140.113] has quit [] 08:57 -!- [1]eremit [n=eremit@p5490FE9E.dip.t-dialin.net] has joined #agavi 09:15 -!- eremit [n=eremit@p5490F2EE.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 09:15 -!- [1]eremit is now known as eremit 09:25 < v-dogg> huomenta 09:46 < eremit> v-dogg how much effort do you think it is to load routing data from a database instead of an xml file ? :P 09:47 < v-dogg> not much I'd say 09:47 < v-dogg> with a custom routing class 09:49 < eremit> hmm ok ... i'll take a look ... my boss decided to change the application for being sold as plugable app .. 09:49 < eremit> e.g. you buy the base app and can additionally buy plugins ... so i have to somehow change the routing dynamically ... :/ 09:54 < v-dogg> hmm 09:58 < v-dogg> try extending AgaviWebRouting and overwrite initialize 09:58 < v-dogg> I don't know if AgaviDatabase is loaded then so you might need to use your own db handling 09:59 < eremit> yeah i will ... after having a complete list where else this decision affects the app ... 09:59 < eremit> this shouldn't be that problem using propel i can always do an Propel::init ... 10:00 < v-dogg> ohh.. windoes... 10:01 < eremit> ? 10:02 < v-dogg> it's so fecking annoying when you accidentaly hit a network drive that's not available and you can't make windows to stop trying to open it 10:02 < v-dogg> it just freezez explorer for a while 10:02 < eremit> strg+alt+del -> close process -> explorer.exe 10:03 < eremit> if you are using win2k or xp it should load another explorer.exe immediately 10:03 < v-dogg> or you just wait awhile 10:03 < v-dogg> :) 10:03 < eremit> waiting pah... 10:08 < eremit> hmm :/ i really have to refactor large parts of the app ... that's bs ... 10:28 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 10:36 < digitarald> Morning :) 10:36 < ttj> Huomen. 10:44 < ttj> http://video.google.com/videoplay?docid=4776825453418327083&q=shirt+fold 10:58 -!- shoan [n=shoan@59.92.140.113] has joined #agavi 12:01 -!- eremit [n=eremit@p5490FE9E.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- State of the art IRC"] 12:23 -!- shoan [n=shoan@59.92.140.113] has quit [] 12:47 -!- eremit [n=eremit@p5490FE9E.dip.t-dialin.net] has joined #agavi 13:42 -!- Wombert [n=Wombert@dslb-088-064-007-175.pools.arcor-ip.net] has joined #agavi 13:43 < Macca`> HI WOMBERT 13:44 < Wombert> hi Macca` 13:44 < Macca`> wie gehts? 14:02 < Wombert> :) 14:03 < eremit> hey wombert, hey Macca` ... 14:04 < eremit> Wombert, is there currently a solution to have modules defining routes ? 14:04 < Wombert> no 14:04 < Wombert> and there never will be 14:04 < eremit> :/ 14:05 < eremit> ok so i'll write my own solution *gg* 14:18 -!- digitarald| [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 14:18 < Wombert> eremit: I said "there never will" because it's not possible 14:20 < Wombert> something different... I think we should rename onFallback to handleFallback 14:21 < Wombert> I actually wanted to do that before committing the change but forgot about it 14:21 < eremit> Wombert, why is it impossible ... 14:21 < eremit> and yes handle should be better doesn't sound like an event 14:21 < Wombert> it si an event :p 14:22 < eremit> yes it's a kind of event ... :P ... but not something i would expect hearing onXX ... 14:22 < eremit> and we also have handleXyError ... which should then either be renamed to onXyError (breaks BC) ... or fallback should be handled ... 14:23 < eremit> :P api consistence 4teh win imho :P 14:25 < CIA-6> david * r1022 /trunk/src/ (2 files in 2 dirs): onFallback => handleFallback, refs #321 14:30 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit [Read error: 110 (Connection timed out)] 15:56 < CIA-6> david * r1023 /trunk/src/config/AgaviXmlConfigParser.class.php: added XInclude support for XML configuration files, closes #322 16:46 < v-dogg> hi 16:46 < Wombert> cheers 16:46 < v-dogg> almost macgyver time 16:46 < Wombert> haha :) 17:32 < digitarald|> Wombert? 17:32 < Wombert> hmmmh? 17:33 < digitarald|> i have a small utf-8 problem ... when a secured action forwards to login, the utf-8 encoding fails ... 17:33 < digitarald|> can't describe it ... :D 17:34 < v-dogg> you have some non-wtf-8 content there 17:34 < Wombert> probably yeah 17:34 < Wombert> remember your files must be encoded as utf-8, too 17:34 < digitarald|> the problem: when i do not forward, call the login action directly the utf-8 is correct 17:35 < Wombert> describe "secured action forwards to login" 17:35 < Wombert> you mean when agavi does that? 17:36 < digitarald|> yes ... i mean the behaviour when the user is not authenticated and calls an secured action 17:36 < Wombert> and where is the utf8 problem 17:36 < Wombert> in the login template? 17:37 < digitarald|> no, its correct ... there nothing special in it and when i call it directly its 100% utf-8 ... 17:37 < Wombert> can't reproduce that with the sample app 17:37 < Wombert> browser? 17:38 < digitarald|> even in the decorator: when its forwarded there are wtf-8 '?' for special chars ... i'll try 17:41 < digitarald|> how can i forward to login ... call 17:41 < digitarald|> $this->getContext()->getController()->forward('Default', 'Login'); 17:41 < digitarald|> in action, right? 17:41 < digitarald|> the dirty and fast way of course 17:42 < Wombert> ? 17:42 < Wombert> bo 17:42 < Wombert> no 17:42 < Wombert> that doesn't work 17:42 < digitarald|> i see 17:42 < Wombert> use the sample app to reproduce it 17:42 < digitarald|> k 17:43 < Wombert> I'm fairly sure it*s a problem on your side 17:45 < digitarald|> can't reproduce it in my own app with other settings ... added an forward in the IndexSuccessView to Default.Login, utf-8 is correct 17:46 < digitarald|> just checking all my files about utf-8 17:50 < Wombert> bbiab 17:51 < digitarald|> is there a tool for soe utf-8 batch work? ... on windows? 18:13 < digitarald|> nuts ... evrything is utf-8 ... 18:13 < v-dogg> digitarald|: http://www.sharewareconnection.com/unifier.htm 18:13 < v-dogg> just googled it, never used it 18:15 < digitarald|> did google it, used it, threw it away 18:16 < digitarald|> all files are utf-8 ... did checked them with ultraedit ... let's debug all runtime data 18:41 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 18:44 < Wombert> re 18:46 < digitarald|> strange ... my global filter is not executed 18:46 < impl> Hey, Wombert 18:46 < Wombert> hi impl 18:46 < Wombert> digitarald|: ? 18:46 < impl> Wombert: I think I got my project manager convinced to use Agavi :-) 18:46 < digitarald|> ah, because of the stacksize check 18:46 < Wombert> :>>>>> 18:46 < Wombert> digitarald|: ? 18:46 < impl> Now if only I could find a solution for decorators! 18:46 * impl slaps slots 18:47 < digitarald|> stackSize is 0 when an secured action forwards to login ... 18:48 < digitarald|> when is executeOnce called in global filters? 18:48 < Wombert> ? 18:48 < Wombert> ehm 18:48 < Wombert> global filters are executed before that 18:49 < digitarald|> found the problem ... selfmade ... i think 18:50 < digitarald|> what is the difference between executeOnce and execute 18:50 < v-dogg> the other on is only executed once 18:50 < v-dogg> +e 18:51 < digitarald|> why the cookie filter in sample app has execute and not executeOnce? 18:51 < digitarald|> the CookieLoginFilter 18:51 < Wombert> it's a global filter 18:51 < Wombert> it's always just executed once 18:51 < Wombert> ... 18:52 < digitarald|> k 18:52 < digitarald|> beginning to understand ... not my day 18:54 < digitarald|> so action filters with executeOnce are like global filters? 18:55 < v-dogg> but only executed for some action 18:55 < v-dogg> right? 19:08 < digitarald|> the utf8 problem came because of the propel-mysql-utf8 problem ... *grmpf* ... i don't like wtf8 anymore and my website don't want to speak with people who need wtf8 ... all could be so easy 19:08 < digitarald|> lets make a salat for tonights party ... 19:09 < v-dogg> let's 19:09 < v-dogg> but don't but any tuna in it 19:09 < v-dogg> I don't like tuna 19:10 < digitarald|> lets = let's for lazy people ... or weekends 19:10 < digitarald|> and ok ... no tuna 19:11 < v-dogg> :) 19:12 < v-dogg> I wasn't correcting you, just repeated :) 19:18 < Wombert> I must concur... tuna sucks 19:18 < Wombert> anyways 19:18 < Wombert> action filters with executeOnce != global filters 19:45 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi --- Day changed Sun Aug 27 2006 00:45 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 01:31 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 03:23 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 03:37 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Read error: 110 (Connection timed out)] 03:52 < raidman> night' 03:52 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 04:12 -!- Macca11 [i=brendanm@maccasoft.com.au] has joined #agavi 04:26 -!- Macca [i=brendanm@maccasoft.com.au] has quit [Read error: 110 (Connection timed out)] 05:05 -!- Wombert [n=Wombert@dslb-088-064-007-175.pools.arcor-ip.net] has quit [] 07:53 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 07:59 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 08:20 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 08:33 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 08:44 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 08:57 -!- [1]eremit [n=eremit@p5490DFAA.dip.t-dialin.net] has joined #agavi 09:15 -!- eremit [n=eremit@p5490FE9E.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 09:15 -!- [1]eremit is now known as eremit 09:54 < Macca11> what's a common naming "convention" for models? 09:54 -!- Macca11 is now known as Macca` 09:58 < Macca`> there definately need to be more docs for agavi :( 09:59 < Macca`> i don't get how to use propel with agavi 10:19 < Macca`> http://www.phpriot.com/3713 10:45 -!- shoan [n=shoan@59.92.222.62] has joined #agavi 11:02 < digitarald|> with .11? 11:12 -!- Wombert [n=Wombert@dslb-088-064-004-152.pools.arcor-ip.net] has joined #agavi 11:25 < digitarald|> but the errors shown are not from agavi, propel threw them ... just use the propel docs 11:26 < v-dogg> huomenta 11:26 < digitarald|> Morning 11:27 < shoan> morning 11:27 < v-dogg> Macca`: and there will be. but that's a huge effort 11:27 < v-dogg> and currently we have only a few people actively developing agavi and most of our time goes into solving code issues 11:33 < digitarald|> why is mysql.com so damn slow ... do they use php? ... hombre! 11:39 < v-dogg> it has always been, dunno why 11:44 * Wombert yawns 11:44 < eremit> morning :P 11:45 < Wombert> mmmhmmm 11:45 < Wombert> I need coffee 11:45 < Wombert> now 11:45 < eremit> i have found one point: the AgaviLayout class should imho be renamed ^^ 11:45 < eremit> AgaviLogLayout or something ... 11:46 < eremit> today morning before my first dozen cup of coffees (:P) i was quite confused about that 12:04 < Wombert> I was thinking 12:04 < Wombert> "agavi project" should copy a .htaccess to pub/ at least 12:04 < Wombert> dist.htaccess or so 12:05 < Wombert> maybe it should even ask for the webserver path to the project 12:05 < Wombert> and enable routing rewrites by default 12:05 < Wombert> hmhm 12:08 < shoan> Wombert: won't it need to detect whether the webserver has rewriting capabilities? 12:08 < shoan> like lighttpd doesn't use .htacess, IIRC 12:09 < Wombert> 12:10 < Wombert> http://demo.fb.se/e/ikea/dreamkitchen/site/default.html nice 12:11 < Wombert> hahahahah man that's so cool 12:11 < Wombert> the blue kitchen 12:11 < Wombert> xD 12:32 < Wombert> be back later 13:09 < v-dogg> eremit: a good point 13:09 < v-dogg> AgaviLogLayout 13:29 < v-dogg> http://trac.agavi.org/trac.cgi/ticket/323 13:57 < v-dogg> "Most Web systems receive data in only a single fashion, and at any rate, the processing of all inputs is performed by PHP itself. This removes the need to worry about the controller component." (Schlossnagle. 2004. Advanced PHP Programmin) 13:58 < v-dogg> I disagree. heavily. 14:43 < shoan> v-dogg: you still reading those ebooks, eh? 14:46 < v-dogg> this was actually an actual book I have :) 14:47 < v-dogg> I'm writing a paper about MVC in PHP web applications 15:43 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 16:02 -!- shoan [n=shoan@59.92.222.62] has quit [Read error: 110 (Connection timed out)] 16:07 -!- shoan [n=shoan@59.92.129.29] has joined #agavi 16:44 < digitarald|> small problem with the fpf ... 16:45 < digitarald|> i have output types without decorators, for ajax-requests ... just fill in some content in div's 16:45 < digitarald|> the problem is, the fpf added a before the content 16:46 < digitarald|> can i switch off behaviour that changes my html-output? 16:46 < raidman> interesting problem 16:47 < digitarald|> opera and ie don't care about the additional doctype .. firefox does 16:50 < digitarald|> Wombert? 17:36 < v-dogg> one way do disable fpf is $request->setAttribute('populate', false, 'org.agavi.filter.FormPopulationFilter'); 17:36 < v-dogg> you'd do that in the view 17:37 < v-dogg> hmm... or do you still want fpf to do its magic? 17:56 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 17:56 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 17:57 -!- raidman_ is now known as raidman 18:26 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 19:17 -!- horros_ [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 19:32 -!- horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 20:20 -!- shoan_ [n=shoan@59.92.129.29] has joined #agavi 20:34 -!- shoan [n=shoan@59.92.129.29] has quit [Read error: 110 (Connection timed out)] 21:12 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 21:13 < Wombert> re 21:15 < ttj> Fw: 21:22 -!- benny`work [n=benny@p54AC3D5E.dip0.t-ipconnect.de] has joined #agavi 21:24 < Wombert> digitarald|: disable the fpf for these output types 21:40 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 21:46 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 21:48 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 21:48 -!- raidman_ is now known as raidman 22:32 < digitarald|> Wombert: But i use fpf to populate data in these output types, i just wanted to send these forms via ajax 22:33 < digitarald|> i have it now disabled, but a memberprofile-profile form w/o memberdata is useless 22:42 -!- digitarald| [n=Miranda@62-43-0-206.user.ono.com] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 22:44 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 23:02 -!- ge0id [n=noel_da_@bb-87-82-4-45.ukonline.co.uk] has joined #agavi 23:03 < ge0id> hey hey... who's in da house? 23:03 < impl> Hallo 23:03 < ge0id> sad sunday night coders unite :D 23:04 < impl> I'm doing calculus homework actually :P 23:04 * Wombert yawns 23:04 < CIA-6> dominik * r1024 /trunk/src/validator/AgaviValidator.class.php: another attempt to fix the validated field names when a 'path' is used 23:04 < ge0id> i'm struggling with non-agavi php problem here, which I really can't get my head around... I'm hoping someone (you!) is willing to contribute a little extra mental processor power to helping me figure it out. 23:05 * Wombert will try 23:05 < impl> 1024! 23:05 < ge0id> cool.. here goes.. 23:05 < impl> We've hit 2^10! 23:06 < ge0id> I'm working with PEAR QuickForm.. I've defined my own custom element type, which has been written as a class extension to the Quickform element 'textarea' 23:06 < ge0id> I've got the class stored in my docroot and I'm including it via this.. 23:06 < ge0id> require_once realpath('.').'/FCKeditor/HTML_Quickform_fckeditor.php'; 23:06 < ge0id> 23:07 < ge0id> which works fine.. however, when I try to add the element to my quickform I get this error.. 23:07 < ge0id> FATAL [/usr/lib/php/HTML/QuickForm.php:566] _loadelement(HTML/QuickForm/fckeditor.php): failed to open stream: No such file or directory 23:08 < ge0id> which is PHP trying to find the element class where Quickform expects to see it and failing... However (big however!!)... include_once is supposed to produce a warning, not a FATAL error!! 23:08 < ge0id> what's going on.. .this is PHP v4.4.1 23:08 < Wombert> that doesn't work 23:08 < Wombert> quickform is pear 23:08 < impl> Whoa 23:08 < Wombert> it tries to load HTML/QuickForm/fckeditor.php via require 23:08 < impl> What does this have to do with Agavi? :S 23:08 < Wombert> pear must be in your include path 23:08 < Wombert> he said... non-agavi problem ;) 23:09 < impl> Oh... 23:09 < impl> :D 23:09 * impl missed that 23:09 < ge0id> if I look at the QuickForm.php class it is using include_once.. not require 23:10 < ge0id> actually maybe I'm looking in the wrong place within the QuickForm class... i'm seeing the include_once in function _loadElement 23:11 < ge0id> but there's no require_once in the QuickForm.php class other than the main includes of PEAR.php and HTML/Common.php 23:13 < ge0id> pear is in my include path.. it's working in general.. just failing because I've added an element type but put the code in my docroot, instead of in the PEAR folders 23:13 < ge0id> but... it shouldn't fail :( i've used the same code on other servers with no problem.. no ideas? 23:14 < raidman> ge0id, Just ask your question in PEAR mailing list, there is alot of QuickForm question in there or you can try #pear in EFNet 23:15 < ge0id> ok.. thx will try those 23:15 < raidman> np :) --- Day changed Mon Aug 28 2006 00:17 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 00:23 -!- Wombert [n=Wombert@dslb-088-064-004-152.pools.arcor-ip.net] has quit [] 00:48 -!- splatch [i=splatch@kazad.be] has joined #agavi 00:48 < splatch> hello :) 00:56 < ge0id> g'nite fellas... sleep time 00:57 -!- ge0id [n=noel_da_@bb-87-82-4-45.ukonline.co.uk] has quit [] 00:59 < splatch> did you know the Mojavi 4 project situation? 00:59 < impl> You mean that it's basically dead? 01:02 < splatch> yes 01:02 < splatch> Mojavi is dead 01:02 < splatch> but Mojavi 4 was great part of code 01:02 < splatch> with cool features 01:06 < splatch> I'm thinking about this 01:06 < splatch> Agavi it was Mojavi continuation 01:16 < splatch> now, mojavi needs help, again 01:19 < splatch> anyone are here? 02:00 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 02:12 -!- Wombert [n=Wombert@dslb-088-064-004-152.pools.arcor-ip.net] has joined #agavi 02:16 -!- Wombert [n=Wombert@dslb-088-064-004-152.pools.arcor-ip.net] has quit [] 02:28 -!- benny`work [n=benny@p54AC3D5E.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:39 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 03:00 -!- ttj [n=tjorri@kosh.hut.fi] has joined #agavi 03:00 -!- Topic for #agavi: 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 :: http://trac.agavi.org/trac.cgi/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 03:00 -!- Topic set by Wombert [] [Fri Aug 18 19:10:03 2006] 03:00 [Users #agavi] 03:00 [ Macca`] [ ttj] [ v-dogg] 03:00 -!- Irssi: #agavi: Total of 3 nicks [0 ops, 0 halfops, 0 voices, 3 normal] 03:00 -!- Channel #agavi created Mon Aug 8 10:51:44 2005 03:00 -!- Irssi: Join to #agavi was synced in 3 secs 03:15 -!- ttj [n=tjorri@kosh.hut.fi] has joined #agavi 03:15 -!- Topic for #agavi: 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 :: http://trac.agavi.org/trac.cgi/milestone/0.11 (90+% already) :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/ 03:15 -!- Topic set by Wombert [] [Fri Aug 18 19:10:03 2006] 03:15 [Users #agavi] 03:15 [ CIA-6 ] [ eremit ] [ impl ] [ raidman|Away] [ splatch] [ v-dogg] 03:15 [ digitarald] [ horros_] [ Macca`] [ shoan_ ] [ ttj ] 03:15 -!- Irssi: #agavi: Total of 11 nicks [0 ops, 0 halfops, 0 voices, 11 normal] 03:15 -!- Channel #agavi created Mon Aug 8 10:51:44 2005 03:15 -!- Irssi: Join to #agavi was synced in 5 secs 05:15 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:21 -!- firmanw [n=firmanw@125.163.2.45] has joined #agavi 05:31 -!- firmanw [n=firmanw@125.163.2.45] has quit [Read error: 131 (Connection reset by peer)] 06:03 -!- firmanw [n=firmanw@125.163.7.98] has joined #agavi 06:29 -!- firman [n=firmanw@125.163.7.98] has joined #agavi 07:00 -!- firmanw [n=firmanw@125.163.7.98] has quit [Read error: 110 (Connection timed out)] 08:17 < v-dogg> huomenta 08:29 < eremit> morning 08:29 < v-dogg> what's up 08:30 -!- firman is now known as firmanw 08:42 < eremit> nothing... 08:42 < eremit> today's xinclude implementation day *g* 08:43 < eremit> ah nice to see you took my remark yesterday and opened #323 v-dogg :) 08:59 -!- [1]eremit [n=eremit@p5490E77D.dip.t-dialin.net] has joined #agavi 08:59 -!- eremit [n=eremit@p5490DFAA.dip.t-dialin.net] has quit [Nick collision from services.] 08:59 -!- [1]eremit is now known as eremit 09:03 -!- shoan_ [n=shoan@59.92.129.29] has quit [] 09:16 < splatch> hello :) 09:18 < v-dogg> morning 09:18 < splatch> v-dogg: where are you from? 09:18 < v-dogg> finland 09:18 < v-dogg> and you? 09:18 < splatch> poland 09:19 < v-dogg> what brings you here? 09:19 < splatch> I'm agavi user :) 09:20 < splatch> and I am leading the lobby to the Mojavi :] 09:22 < v-dogg> what are you lobbying for/against? 09:24 < splatch> becose Mojavi 4 (as project) is down 09:24 < splatch> and will not be develop 09:26 < v-dogg> so what's your objective? get it up and running again? 09:28 < splatch> yes.. 09:28 < v-dogg> ok 09:28 < v-dogg> have you been talking to illusina? 09:29 < splatch> yes 09:29 < splatch> He is going to write in ruby 09:30 < v-dogg> hehe 09:30 < splatch> and will be not extend Mojavi 09:32 < v-dogg> can I suggest something?-) 09:32 < v-dogg> ditch M4 and join us :) 09:33 < v-dogg> M4 doesn't have enough momentum anymore (purely my opinion based on what I've heard) 09:33 < v-dogg> whereas we are gaining more and more 09:35 < v-dogg> have you used the current development version of Agavi? 09:35 < splatch> no, I used 0.10 09:36 < splatch> v-dogg: M4 is good framework, I created test application 09:36 < v-dogg> a lot has changed since that 09:36 < v-dogg> almost everything :) 09:37 < splatch> I saw.. new configuration, renderers and more 09:37 < v-dogg> simply awesome routing, validation 09:37 < v-dogg> multiple output types 09:38 < splatch> M4 like also Agavi is based on M3 architecture 09:40 < v-dogg> as far as I know, M4 was writting from scratch? 09:40 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 09:40 < v-dogg> and Agavi and Mojavi don't have a lot in common anymore either 09:41 < v-dogg> morning shoan 09:42 < shoan> morning v-dogg 09:42 < shoan> how was the weekend? 09:42 < splatch> oi shoan 09:42 < shoan> oye splatch 09:43 < splatch> v-dogg: M4 and Agavi is mojavi-like frameworks 09:44 < v-dogg> based on mojavi, yes 09:44 < splatch> the core (flow) is the same 09:44 < v-dogg> but many things have been re-written in agavi 09:45 < v-dogg> and m4 wasn't even based on m3 although some of the base ideas were the same 09:48 < v-dogg> but, like I said, join us, you'll love agavi 0.11 :) 09:49 < splatch> I loved before Mojavi :| 09:49 < splatch> I don't see what is in Agavi to write.. docs? 09:51 < v-dogg> unfortunately docs aren't ready yet 09:51 < v-dogg> trac's wiki has something 09:51 < v-dogg> but the sample application is pretty feature-rich 09:51 < v-dogg> you should check that out 09:53 < splatch> I readed an text on wiki 09:54 < splatch> but, as you see, my english is terrible ;] 09:54 < v-dogg> checkout agavi from the svn and take a look at the sample app there 09:54 < v-dogg> we'll guide you thru it here 09:59 < splatch> ok, I'm back to work, i'll be back afternoon 10:00 < splatch> Have nice day :] 10:00 < v-dogg> same to you, thanks 10:07 -!- firmanw [n=firmanw@125.163.7.98] has quit [Read error: 110 (Connection timed out)] 10:13 < digitarald> Morning :) 10:13 < v-dogg> morn 10:21 < eremit> morning ^^ 10:22 < eremit> somebody an idea why this pattern is not working?: pattern="^(/(page:[0-9]+)/(pagesize:[0-9]+))?$" in the routing 10:22 < eremit> he recognizes the pattern, but the parameters don't get pushed into the app ... 10:30 < shoan> shoan: shoan 10:30 < shoan> damn 10:30 < shoan> hi eremit 10:30 < eremit> hi shoan 10:30 < shoan> morning digitarald 10:36 < digitarald> hi shoan 10:41 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 10:59 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:00 < digitarald> back :) 11:45 -!- firman [n=firmanw@125.163.2.234] has joined #agavi 11:46 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 11:58 -!- Macca` [i=brendanm@maccasoft.com.au] has quit [Read error: 110 (Connection timed out)] 12:03 < eremit> does agavi support submodules or only subactions ? 12:11 < v-dogg> only sub actions 12:11 < eremit> :/ ty 12:18 -!- shoan [n=shoan@61.95.206.107] has quit [] 12:44 < digitarald> does anybody know how to valdiate with dependencies? ;) 12:45 < v-dogg> _o/ 12:47 < eremit> what kind of dependencies do you want ? 12:47 < eremit> these provides depends stuff ? 12:54 < digitarald> may be i can use the Or validator ... but an example for dependencies would be cool 12:54 < eremit> mom you get one in a second 12:55 < v-dogg> yes, you can use OR or dependencies (I did so, before I learnt how to use dependecies :) 12:55 < v-dogg> but it's easier with provides-depends 12:55 < eremit> http://phpfi.com/146652 12:56 < v-dogg> but you can't use base="", that's still buggy 12:56 < eremit> sorry for being too lazy to parse out the german error messages :P 12:57 < eremit> also possible ... grouped dependencies: http://phpfi.com/146653 12:58 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 13:06 -!- firman [n=firmanw@125.163.2.234] has quit [Read error: 110 (Connection timed out)] 13:11 -!- firman [n=firmanw@125.163.9.105] has joined #agavi 13:12 -!- firman is now known as firmanw 13:17 < eremit> remind me to never ever load php files from php-tools.net again Oo 13:18 < v-dogg> woot? 13:18 < eremit> http://blog.php-tools.net/archives/149-Analyzing-aide-advanced-intrusion-detection-environment-output-with-PHP.html 13:18 < eremit> the first paragraph ... 13:18 < eremit> maybe they should hire a professional administrator instead of writing a aide analyze tool ? 13:20 < v-dogg> haha :D 13:21 < eremit> it's nearly impossible for a developer downloading a class from their site, to be sure the class is not tainted ... *shakes his head about ppls stupidness* 13:46 < digitarald> validation is ... heavy ... have to get through that ... 13:46 < eremit> validation is easy Oo 13:46 < digitarald> is the validators.xsd uptodate? 13:46 < digitarald> it is ... after looking through every class ;) 13:47 < splatch> eremit: I'm know what the pattern works 13:49 < digitarald> the .xsd is not uptodate ... there is no provides or depends attribute 13:49 < splatch> correct string - /page:2/pagesize:4 13:50 < eremit> splatch, page and pagesize should be parsed into the request handling as parameters ... which was not the case here ... 13:50 < eremit> solved it using subrouting 13:51 < splatch> eremit: pagesize is optional 13:51 < splatch> ? is group match - 0 or one 13:51 < splatch> {0,1} is equal ? 13:52 < eremit> yes ... for this pattern is "" valid and "/1/10" ... 13:52 < v-dogg> splatch: eremit is talking about agavi route patterns 13:52 < splatch> /1/10 ? i don't thing so 13:52 < splatch> och :) 13:53 < splatch> and all is clear :) 13:53 < splatch> v-dogg: does agavi route patterns works like routes in symfony? 13:54 < v-dogg> lol... 13:54 < v-dogg> NO THEY DO NOT :D 13:55 < v-dogg> symfony routes are a weak effort compared to what agavi has to offer *shameless praise* 13:55 < eremit> uh symfony does support routing ? *scnr* 13:56 < splatch> v-dogg: give me an example of route in Agavi 13:57 < v-dogg> http://trac.agavi.org/trac.cgi/wiki/Routing 13:57 < v-dogg> simple examples 13:57 < eremit> complex routing ? - http://phpfi.com/146663 with some real magic in it 13:57 < v-dogg> yeah, that's better :) 13:59 < eremit> hehe .. i really like the output type magic ^^... 13:59 < eremit> that's quite cool 13:59 < splatch> v-dogg: for me only output types are new ;) 13:59 < v-dogg> splatch: agavi routes are more than just query strings. you can use $_SERVER -variables (like eremit there), plugin your own CallbackHandlers, automatically set output types and aaaaallll sorts of other things 14:00 < splatch> v-dogg: $_SERVER variables? what for? 14:01 < eremit> for the ajax, json, xml magic in my example ? 14:02 < v-dogg> yeah 14:02 < splatch> wow, routes and sub routers? 14:02 < splatch> route[@name="Admin"]/routers/route[@name=".Index"] 14:02 < splatch> cool =] 14:03 < digitarald> v-dogg: validators.xsd is not up-to-date ... :( 14:03 < eremit> digitarald, ? 14:03 < eremit> whats wrong with'em ? 14:03 < v-dogg> digitarald: ? 14:03 < v-dogg> whats wrong with'em ? 14:03 < v-dogg> ;) 14:03 < digitarald> provides and depends attributes are missing 14:04 < v-dogg> but validator files aren't validated afaik 14:04 < splatch> haha, svn suxx ;) 14:04 < v-dogg> and xsd files are not meant to be used as documentation :) 14:04 < eremit> they aren't ... because the depends / provides work for me 14:04 < digitarald> eclipse use the xsd for validation 14:04 < v-dogg> although, at the moment, they are pretty much the only doc we have :) 14:05 < splatch> xsd is very good standard 14:05 < eremit> splatch, why does svn suck ? 14:05 < digitarald> and people may use the xsd to validate their xmls 14:05 < splatch> eremit: svn have problems with "repalced" files 14:05 < v-dogg> cvs has all sorts of other problems :) 14:06 < eremit> uh, i never had problems with svn ... and i'm hosting about 40-50 svn repos over here 14:06 < splatch> If I'll update to revision my.file on next commit will be ok, but on merge .. :/ 14:06 < splatch> eremit: "directory is not up to date" 14:06 < splatch> "try cleanup" etc 14:06 < v-dogg> splatch: and you reckon cvs is better? or what? 14:07 < digitarald> eremit: provides and depends are not includes in the xsd ... 14:07 < eremit> splatch, svn up && svn cleanup && svn comit 14:07 < splatch> v-dogg: I'm never worked with cvs and branches 14:07 < eremit> digitarald, but it'S working ... 14:07 < digitarald> yes, but i want to validate ... and eclipse is using the xsd to validate and auto-complete ;) 14:07 < digitarald> validate the validation ;) 14:07 < shoan> digitarald: which plugin is that? 14:08 < eremit> digitarald, make it complete and propose a patch at trac.agavi.org :P 14:08 < digitarald> Oxygen XML Editor 14:08 < eremit> oO ... vi 4teh win :P 14:08 < digitarald> i'll already completed it ;) 14:10 < splatch> XML Editor in Web Standard Tools is good 14:11 < splatch> They have dupport also for XML Schema 14:12 < digitarald> eclipse with oxygen 4teh win ;) ... really cool ... with learning mode ... 14:12 < digitarald> waiting for the doMagic() key 14:12 * eremit is out, hating eclipse 14:13 -!- Wombert [n=Wombert@dslb-088-064-005-058.pools.arcor-ip.net] has joined #agavi 14:13 < Wombert> re 14:13 < Wombert> 'sup 14:14 < eremit> hi Wombert 14:14 < digitarald> Wombert :) ... best man for fpf ... did u get my message concerning the doctype-ajax-fpf-problem? 14:16 < shoan> wombie 14:16 < splatch> what is fpf? 14:16 < shoan> digitarald: how much does the plugin cost? 14:17 < digitarald> http://www.oxygenxml.com/ 14:18 < digitarald> i have an academic license from my university 14:18 < horros_> what the smeg 14:18 < horros_> stupid XML parsers (#¤)%(#)¤% 14:18 < horros_> "Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog." 14:19 < horros_> line 1 is... well... 14:22 < Wombert> digitarald: yeah, but didn't _really_ understand the problem 14:22 < Wombert> shoan: hi 14:22 < Wombert> splatch: welcome to agavi! 14:22 < Wombert> the FPF is the Form Population Filter 14:22 < Wombert> it automatically fills values into a form if you display it again after a POST 14:23 < Wombert> let's say when the user forgot to enter a value or so and you must show the form again 14:23 < Wombert> that makes forms a lot less painful 14:23 < splatch> Wombert: welcome..? :) 14:23 < Wombert> also, it will highlight fields for you 14:23 < Wombert> yeah welcome... can't remember seeing you before :p 14:23 < splatch> Wombert: traditional mojavi data validation :] 14:23 < Wombert> highlight fields that didn't pass validation 14:24 < Wombert> shoan: get the new colloquy 14:24 < Wombert> I like it 14:25 < digitarald> Wombert: i have ajax output-type that just ignores the decorator ... fpf dose populate values in these one, too ... but adds an doctype ... that's expected behaviour? 14:25 < Wombert> digitarald: why don't you disable fpf for that output type 14:25 < digitarald> its a profile form ... 14:25 < Wombert> ah 14:25 < Wombert> I see 14:25 < Wombert> so you deliver a form 14:25 < Wombert> hm 14:26 < Wombert> well 14:26 < Wombert> I guess it's due to DOM saving the document as HTML 14:26 < Wombert> not XHTML 14:26 < Wombert> err 14:26 < Wombert> XML 14:26 < splatch> Does Agavi going to RoR or Cake's ideas? 14:26 < Wombert> splatch: please elaborate 14:26 * eremit ducks and covers 14:27 < digitarald> now i have a global_filter for deleting the doctype ... it only appending the additional doctype ... nothing else 14:27 < Wombert> nah 14:27 < Wombert> it's doing that (saveHTML instead of saveXML) because it can't detect what it is... I'll add the ability to override global settings as soon as I have time, but for now, you can set "force_output_mode" to "xhtml" in the config 14:28 < splatch> Wombert: I'm think about Active Revord 14:28 < splatch> super fast develop 14:28 < digitarald> ;) 14:28 < Wombert> splatch: we have Propel integration 14:28 * digitarald ducks and covers, too 14:28 < Wombert> we might add http://www.phpdoctrine.com/ support one day 14:29 < Wombert> splatch: have you been here before? 14:29 < Wombert> different name or anything? 14:29 < Wombert> can't really remember you ;) 14:30 < splatch> Wombert: no, I'm freesh :) 14:30 < splatch> n0bb ;] 14:31 < Wombert> that's why I said welcome to agavi ;) 14:31 < Wombert> we don't have some of the features you might have seen with other frameworks 14:31 < Wombert> like form helpers 14:31 < Wombert> or "ajax actions" 14:32 < Wombert> or other nonsense 14:32 < Wombert> guess it's time to show off the bot xD 14:33 < digitarald> Wombert, 14:33 < digitarald> an option would be cool, to add the error-message to the form 14:33 < digitarald> like an additional class for an element that holds the message 14:35 < Wombert> wtf is wrong with freenode 14:35 < splatch> Wombert: helpers to create image tag is a mistake 14:35 < Wombert> yep 14:35 < Wombert> digitarald: no, you'll have to insert them by hand 14:36 < Wombert> 1.0 will have the ability to insert the errors that belong to the form element itself (there are two types of error messages, for elements, and generic ones) into the document using some XPath magic etc 14:37 < Wombert> anyways 14:37 < Wombert> will go have a shower 14:37 < Wombert> splatch: you're using SVN, I assume? 14:37 < Wombert> there are three docbooks 14:38 < Wombert> very preliminary 14:38 < Wombert> in docs/ 14:38 < splatch> Wombert: i saw 14:38 < shoan> updating colloquy .... brb 14:38 < Wombert> bbiab 14:38 -!- shoan [n=shoan@61.95.206.107] has quit [] 14:38 < splatch> bbiab? 14:39 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 14:42 < v-dogg> splatch: http://www.computerhope.com/jargon/b/bbiab.htm 14:44 < splatch> &1 > bbl 14:49 < eremit> is there any documentation regarding logging ? ... currently i feel heavy lost :'( 14:50 < horros_> eremit: I wrote something once 14:50 < horros_> should be in trac 14:51 < horros_> dunno how accurate it is anymore 14:51 < horros_> http://trac.agavi.org/trac.cgi/wiki/Logging 14:51 < eremit> ty horros_ 14:51 < horros_> but 14:51 < horros_> like I said 14:51 < horros_> I dunno how accurate it is anymore 14:52 < horros_> LoggerManager may very well be static now 14:52 < horros_> or even removed for all I know :) 14:53 < eremit> at least it gives me an idea about this layout, appender stuff 14:53 < horros_> it may even work out-of-the-box with changing $this->getContext()->getLoggerManager()->getLogger() to just LoggerManager::getLogger('logger'); 14:53 < splatch> static methods calls is slower than dynamic ;) 14:59 < splatch> Anyone wants travell to Poland? :) 15:06 < v-dogg> $this->getContext()->getLoggerManager()->log(new AgaviMessage('l0gxx0r', AgaviLogger::DEBUG)); 15:06 < eremit> yeah ... 15:06 < v-dogg> eremit: can I help you with that? 15:07 < v-dogg> priority is now 'level' 15:07 < v-dogg> and they are treated as binary 15:08 < eremit> i think i figured it out how to use layout and appenders ... layout is to format one message and appenders implement the actual write call isn't it ? 15:08 < v-dogg> yep 15:08 < eremit> kk then i think i got it 15:11 < v-dogg> how do I log the sql propel used? 15:13 < horros_> v-dogg: you can't, really. 15:13 < v-dogg> that sucks 15:13 < horros_> v-dogg: there's a logging thing for creole though 15:13 < horros_> but you can't really control WHAT it logs, it logs every single query run 15:13 < v-dogg> ok... 15:14 < horros_> http://propel.phpdb.org/trac/wiki/Users/Documentation/HowTos/FullQueryLogging 15:14 < horros_> and that's about two barrels of fun 15:14 < horros_> because it uses Pear::LOG 15:14 < horros_> and that again spews two million notices and warnings all over the place :) 15:15 < horros_> err 15:15 < horros_> PEAR::Log 15:15 < splatch> creole use only one method 15:15 < splatch> *log* 15:15 < splatch> without priority 15:16 < splatch> Propel have log adapter for mojavi 15:17 < eremit> v-dogg: configure your mysql server to do the loggin :P 15:17 < v-dogg> mysql? 15:17 < horros_> v-dogg: I think he misspelled "postgresql" 15:17 < horros_> :) 15:17 < v-dogg> yeah, I think so too 15:18 < eremit> or pgsql ... 15:18 < eremit> :P 15:18 < v-dogg> because no-one seriosly uses mysql ;) 15:18 < eremit> every good db should have some kind of full-query logging ... 15:18 < eremit> v-dogg we talked about this already :P 15:18 < horros_> meh 15:19 < horros_> I'm going home. I'm pissed off at SAX and DOM parsers, XML and my co-workers 15:19 < horros_> o/ 15:19 * horros_ & 15:24 < digitarald> eremit: do u want to log Propel? 15:25 < v-dogg> I do (did) 15:25 < Wombert> mmmn 15:25 < Wombert> a shower 15:25 < Wombert> a shave 15:25 < Wombert> a bleeding face 15:26 < Wombert> a coffee 15:26 < Wombert> a piece of cake 15:26 < Wombert> and the latest Lucky Louie episode 15:26 < Wombert> what else does a man need 15:26 < Wombert> well it could stop raining outside 15:26 < eremit> digitarald, pardon? i want to use a propel model to store my logs yes ... 15:27 < digitarald> ah, ok ... not logging the propel queries? 15:27 < eremit> lol no ... 15:27 < eremit> if i need that i log at database level 15:28 < digitarald> php doctrine looks really interesting ... does actually anybody use it in a project? 15:28 < v-dogg> hmmm... propel don't like "col like '123%'" queries if col is an integer column... 15:28 < v-dogg> have to do this manually then... : 15:28 < v-dogg> ( 15:29 < digitarald> Wombert: i want phpdoctrine in agavi :) 15:30 < digitarald> why is propel better than phpdoctrine? 15:30 < Wombert> dictrine sucks 15:30 < Wombert> I mean 15:30 < Wombert> come on 15:30 < Wombert> you model your database 15:30 < Wombert> then you define that database again 15:30 < Wombert> by hand 15:30 < Wombert> in your code 15:30 < Wombert> how stupid is that 15:31 < Wombert> also, the developer is a dick 15:31 < Wombert> http://www.phpbbserver.com/phpdoctrine/viewtopic.php?t=54&mforum=phpdoctrine 15:35 < digitarald> he did remove it ;) 15:37 < eremit> woo ... doctrine forces you do define your database twice ? ... it should at least do all the database stuff like creating / modifying tables ... 15:37 < eremit> lol: http://blog.php-tools.net/index.php?url=archives/149-Analyzing-aide-advanced-intrusion-detection-environment-output-with-PHP.html&serendipity[csuccess]=true#feedback 15:37 < eremit> this starts to get a nice flamewar 15:44 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 15:52 < digitarald> eremit and server security .. don't mess with him ;) 15:52 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 16:02 < Wombert> http://beppu.lbox.org/articles/2006/08/22/the-decorator-pattern-for-javascript 16:04 < eremit> digitarald, this isn'T special for me, it's simply a matter of fact ... and the first sentence is horror for a public accessible repository ... 16:07 < Wombert> haha wtf 16:07 < eremit> the javascript thing is cool Wombert :) 16:07 < Wombert> I really like javascript 16:07 < Wombert> it's an impressive langauge 16:07 < eremit> Oo 16:07 < Wombert> most people don't really know how good it is actually 16:08 < eremit> i fear you would like python as well^^ 16:08 < Wombert> no 16:08 < eremit> my first python source i opened was .. .wtf javascript ? 16:08 < Wombert> ? 16:08 < Wombert> you use indent for blocks there 16:08 < Wombert> it's a truly moronic language 16:09 < eremit> hehe 16:34 < eremit> the method AgaviMessage::log() is broken ^^ since the loggermanager does not accept static calls 16:36 -!- shoan [n=shoan@61.95.206.107] has quit [] 16:37 < Wombert> ? 16:37 < Wombert> you're not supposed to call anything statically 16:38 < Wombert> ah 16:38 < Wombert> hmmmh 16:38 < eremit> $msg = new AgaviMessage('foobar'); $msg->log(); 16:38 < Wombert> yeah that's pretty uncool then 16:38 < Wombert> v-dogg: ? 16:59 -!- firmanw [n=firmanw@125.163.9.105] has quit ["Go away to the mars!"] 17:02 -!- AgaviBot [n=dzuelke@dslb-088-064-005-058.pools.arcor-ip.net] has joined #agavi 17:03 < Wombert> digitarald: did force_output_mode to xhtml work for you? 17:03 < splatch> Propel 2.0 will be good tool :] 17:06 < digitarald> checking that 17:08 < digitarald> No 17:08 < digitarald> but its another error ... have to check the output 17:12 < Wombert> plus runtime configurability 17:16 < digitarald> btw ... i updated validator.xsd with the attributes and parameters i know ... should i paste it? 17:18 < digitarald> i think the problem is firefox ... he did not threw any errors 17:21 < digitarald> its may be a problem that fpf modify the header? 17:21 < Wombert> what header 17:23 < digitarald> response header 17:23 < Wombert> no 17:24 < digitarald> ok ... firefox is stupid ... or has better xml support than opera, safai and ie 17:25 < Wombert> I might be able to help you if you describe the problem in detail 17:27 < digitarald> ajax.updater via prototype, special output-type that ignores decorators ...firefox (firebug) gives: 17:27 < digitarald> XML Parsing Error: not well-formed Location: Line Number 1, Column 257: 17:28 < Wombert> and what is there 17:28 < Wombert> in line one, col 257 17:28 < Wombert> maybe 17:28 < Wombert> you're not returning a proper xml document? 17:28 < Wombert> do you have one, and on 17:28 < Wombert> ly one, root node? 17:29 < digitarald> a div 17:30 < digitarald> or a form ... tried both 17:30 < Wombert> hmmmmh 17:30 < Wombert> you _might_ need an xml prolog 17:30 < Wombert> not sure tho 17:31 < digitarald> the problem is, thats just an innerHTML process ... 17:31 < digitarald> fetch the content from the ajax-request and put it as text in the innerHTML ... easy 17:34 < digitarald> just checked the output, its valid ... i add the prolog not 17:34 < digitarald> w 17:34 < digitarald> now 17:37 < digitarald> prolog does not help 17:37 < Wombert> same problem w/o FPF? 17:39 < splatch> sweet home :) 17:41 < splatch> ok, what is to do in agavi? 17:42 < Wombert> nothing 17:42 < splatch> Add a Savant3Renderer | ORC log viewer? 17:42 < splatch> *IRC 17:43 < Wombert> I'm working on the latter 17:43 < Wombert> that's all for 1.0 17:44 < splatch> "Make it PHP6 only" - this is sure? 17:44 < Wombert> no 17:44 < Wombert> that's 2.0 :p 17:44 < splatch> haha 17:45 < splatch> after 0.11 will be 0.12? ;) 17:46 < Wombert> no 17:46 < Wombert> 0.11 => 1.0 => god knows => 2.0 17:47 < Wombert> if you want to help with improving agavi, that's very welcome 17:47 < Wombert> however, I've read in the logs that you have quite some mojavi knowledge 17:47 < Wombert> agavi is a lot different from mojavi3 17:47 < Wombert> so... best idea would probably be to familiarize yourself with agavi a bit 17:47 < splatch> I created 2 projects in Agavi 17:48 < Wombert> 0.11? 17:48 < Wombert> 0.10 is nothing like 0.11 17:48 < splatch> yes, 0.10 17:48 < splatch> I'm know M4 17:48 < Wombert> M4 is also nothing like agavi 17:48 < Wombert> svn co svn://svn.agavi.org/agavi/trunk agavi :) 17:49 < splatch> i saw sources yesterday 17:49 < digitarald> Wombert: is reimplement-caching a planned feature for .11? 17:49 < Wombert> digitarald: yes, I'll do that as soon as I have time 17:49 < Wombert> can't promise it for beta 1 tho 17:49 < Wombert> it's complicated, but I figured everything out 17:50 < Wombert> just need to implement it 17:50 < Wombert> will take at least a day 17:50 < digitarald> cool 17:50 < digitarald> sounds like beta will come out soon ;) 17:50 < Wombert> well yeah I hope so 17:51 < digitarald> the validators.xsd is out-of-date, i added the fields i know ... shall i paste it? 17:52 < Wombert> does it work? 17:56 < digitarald> validator files are not validated during execution, its just for documentation ... and validating in xml editor 17:56 < Wombert> well 17:56 * Wombert sighs 17:56 < Wombert> change config_handlers.xml so it validates the validate/*.xml files and see if it works :p 17:57 < digitarald> for my xml's, yes 17:58 < splatch> default configuration format in Agavi is XML? 17:58 < Wombert> yes 18:00 -!- shoan [n=shoan@59.92.194.191] has joined #agavi 18:12 < eremit> nooo :/ ... it's impossible to use old named webapp dirs together with the new agavi cli interface ? 18:14 < Wombert> uuuuh 18:15 < Wombert> didn't think of that 18:15 < Wombert> uncool 18:15 < eremit> yeah ... would be easy without having app hardcoded in AgaviFixPaths ;) 18:16 < eremit> i would suggest making it possible to configure it via build.props ... what do ya think ? 18:17 < Wombert> not possible 18:17 < eremit> uh? 18:18 < Wombert> 18:18 < eremit> yes ... but project.dir isn't app ... 18:18 < eremit> isn't project.dir the dir which contains app and pub ? 18:18 < Wombert> yes 18:19 < eremit> so it should be possible to configure your pub and app pathes relative to project.dir 18:19 < Wombert> ... 18:19 < Wombert> no 18:19 < Wombert> because it finds project dir using app dir and friends 18:22 < eremit> hmm... 18:26 < splatch> propel-gen works in this style 18:26 < splatch> with property files 18:26 < splatch> 18:26 < Wombert> yes 18:27 < splatch> bbl 18:27 -!- splatch is now known as splatch` 18:31 < eremit> another idea would to to enforce the project dir needs a build.properties ... 18:31 < eremit> so using this file to decide if it's a project dir 18:31 < Wombert> nooooo 18:31 < Wombert> that doesn't work 18:32 < Wombert> you could be in app/modules/Default/whatever 18:32 < Wombert> hmm 18:32 < Wombert> no that sucks 18:32 < Wombert> too ambigious 18:32 < Wombert> I know a solution already 18:46 < splatch`> phing tasks can scan project directory 18:46 < Wombert> yes 18:46 < Wombert> we know 18:46 < Wombert> that's what we're talking about 18:46 < Wombert> that's also what agavi already does 18:49 < splatch`> you want add some tasks? 18:49 < Wombert> no 18:50 < splatch`> so where is problem? ;) 18:50 < Wombert> app/ and pub/ are hardcoded 18:50 < splatch`> ach, many projects and one core 18:51 < Wombert> no 18:51 -!- shoan_ [n=shoan@59.92.167.120] has joined #agavi 18:51 < Wombert> old projects with webapp and www dirs 18:51 < splatch`> hehe ;D 18:51 < Wombert> I know a way to work around it already but I'm not gonna do that now 18:51 * shoan_ kicks ISP 18:51 < Wombert> first things first 18:51 < splatch`> ops, no thhis window ;) 18:53 < splatch`> phing -f=.../../../build.xml -Dproject.dir=/other/dir 18:55 < splatch`> Wombert: I'm not understood you? 18:58 < Wombert> app/ is hardcoded 18:58 < Wombert> so the script doesn't work for "old" projects with webapp/ 18:58 < Wombert> I'll fix it later 19:02 -!- shoan [n=shoan@59.92.194.191] has quit [Read error: 110 (Connection timed out)] 19:08 < CIA-6> david * r1025 /trunk/ (10 files in 6 dirs): 19:08 < CIA-6> rewrote WebRouting to work without hacks for CGI and module in Apache, we can 19:08 < CIA-6> probably use the very same approach for all other web servers, too. since path 19:08 < CIA-6> info isn't used anymore, and there's no need for path_info_parameter on CGI, you 19:08 < CIA-6> must sync your .htaccess so everything works again. also, a dist.htaccess is now 19:08 < CIA-6> copied to new project's pub/ directories 19:10 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 19:10 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1025 : Changeset [1025]: rewrote WebRouting to work without hacks for CGI and module in Apache, we ... 19:10 < splatch`> coool :D 19:24 < shoan_> Wombert: why do the trac urls in the emails bomb? 19:25 < Wombert> ? 19:37 < shoan_> Wombert: -- 19:37 < shoan_> Ticket URL: 19:37 < shoan_> Agavi 19:37 -!- shoan_ is now known as shoan 19:38 < Wombert> shoan: oO 19:38 < shoan> i got that in one of the emails 19:38 < digitarald> weird, when id disable the fpf for the ajax output everything is fine 19:38 < shoan> Wombert: My example project_______________________________________________ 19:38 < shoan> agavi-trac mailing list 19:38 < shoan> thats the rest of the signature 19:42 < Wombert> yeah weird 19:42 < Wombert> happens only sometimes it seems 19:42 < shoan> can you put in a redirect or something on the server? 19:44 < splatch`> how to create own pear channel? 19:45 < digitarald> fpf killed the ajax-star ... have to disable it for ajax-output ... refill forms by hand ... 19:52 < splatch`> digitarald: where are you from? :) 19:52 < digitarald> germany ... actually in spain ;) 19:52 < digitarald> why? 19:53 < digitarald> found the problem with fpf, i adds 19:53 < splatch`> digitarald: we are neighbot :) 19:53 < splatch`> neighbor 19:53 < splatch`> digitarald: I'm from Poland :) 19:54 < splatch`> digitarald: if you'll go to east give me a sign, we'll go to one beer 19:54 < digitarald> ;) ... will at least take some time ... spain is pretty nice :) 19:55 < splatch`> blah, poland is not bad ;) 19:55 < digitarald> *lol* your ip is tracked to france :D 19:55 < splatch`> digitarald: yes, this is my server :] 19:55 < splatch`> shell 19:56 < splatch`> we have stuid politics, whose any other country haven't! :] 19:57 < digitarald> poland is very nice, i know ... visited it some times ... lived in berlin for half an year, so its stone's throw away 19:58 < splatch`> digitarald: Do you work in spain? 19:58 < digitarald> doing my degree 19:58 < digitarald> diploma 19:59 < splatch`> I'll start study in this year ;] 20:00 -!- benny`work [n=benny@p54AC2368.dip0.t-ipconnect.de] has joined #agavi 20:02 < digitarald> aren't you working ... if u did so many projects with agavi and mojavi 20:02 < splatch`> I'm workis as PHP programmer 20:03 < splatch`> work in this country is the f** bless 20:03 < splatch`> *works 20:04 < digitarald> the world is yours ... i left berlin, had a pretty cool job there 20:04 < splatch`> I left from two cites in one year ;) 20:04 < digitarald> spain isn't the best country to work, but my girlfriend is here and some work, too ... you can live :) 20:06 < digitarald> have to go ... cya tomorrow 20:06 < splatch`> cU 20:06 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:35 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 20:46 < shoan> Wombert: Execution of target "project" failed for the following reason: /Users/shoan/Sites/sandbox/agavi/src/build.xml:65:20: Could not find file /Users/shoan/Sites/sandbox/agavi/src/buildtools/code_templates/dist.htaccess.tmpl to copy. 20:47 < shoan> i just did a svn up 20:48 < Wombert> sorry 20:48 < CIA-6> david * r1026 /trunk/src/buildtools/code_templates/dist.htaccess.tmpl: forgot to add a file 20:48 < shoan> np :) 20:48 < Wombert> everyone please check if there are problems with the routing 20:49 < shoan> Wombert: another one 20:49 < shoan> Unavailable module? (Default) [Default]? [PHP Error] fgets(): supplied argument is not a valid stream resource [line 36 of /custom/lib/php/phing/system/io/ConsoleReader.php] 20:49 < AgaviBot> News from Agavi: Timeline at http://trac.agavi.org/trac.cgi/timeline : 20:49 < AgaviBot> 1) http://trac.agavi.org/trac.cgi/changeset/1026 : Changeset [1026]: forgot to add a file 20:49 < Wombert> wtf 20:49 < shoan> do I need to upgrade phing? 20:50 < Wombert> yeah maybe 20:50 < shoan> what version do I neeD? 20:50 < Wombert> it needs phing 2.2.0something iirc 21:02 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 21:05 < raidman> evening #agavi guys :) 21:08 < splatch`> ui 21:08 < splatch`> oi ;) 21:09 < shoan> how do I reinstall phing? 21:09 < splatch`> pear remove phing 21:09 < splatch`> or uninstall 21:09 < raidman> and pear install phing ;) 21:10 < splatch`> instalator is the best feature of pear ;) 21:14 < raidman> really, I just work on an installer based on PEAR for our CMS 21:15 < raidman> for installing that CMS you just need to upload a bootstrapt script (like go-pear), and it will install all necessary packages 21:16 < splatch`> this is open source CMS? 21:25 < shoan> i upgraded pear and I still get the same error 21:25 < shoan> i mean phing 21:26 < raidman> splatch`, yes http://sf.net/projects/osccms/ 21:26 < raidman> http://www.opensourceclub.org user:admin pass 21:26 < raidman> ::invisiblekid 21:27 < raidman> http://osc-dev.opensourceclub.org/browser 21:27 < splatch`> raidman: this cms is based on agavi framework? 21:28 < raidman> splatch`, yes it is based on M3 nad agavi, but it backported to PHP4 21:28 < raidman> and* 21:29 < raidman> it is still alfa, and there is alotof feature that i should port from agavi to it 21:29 < splatch`> two years ago I finished my last project in PHP4 ;) 21:29 < raidman> http://www.opensourceclub.org user:admin pass:invisiblekid <---- Demo :P 21:30 < raidman> splatch`, really and now? 21:31 < raidman> oh, you jus using PHP5 :P 21:33 < splatch`> I never sell this soft ;] 21:33 < splatch`> *sold 21:34 < raidman> what soft? your last project? 21:34 < splatch`> my CMS 21:34 < splatch`> that was CMS ;) 21:34 < splatch`> my first fights with MVC ;] 21:35 < raidman> o 21:36 < splatch`> oh, I lain, that was 1.5 year ago ;) 21:36 < raidman> :) 21:37 < raidman> I just started this CMS since mojavi 1.0 21:37 < raidman> but I switched it ti mojavi 2.0 21:37 < raidman> and ... 21:37 < raidman> you know :) 21:41 < raidman> where are you come from splatch`? I think we are very close together 21:43 < shoan> what version of phing are you guys using? 21:44 < Wombert> shoan: what are _you_ using 21:44 < shoan> 2.2.0 21:44 < Wombert> final? 21:44 < shoan> yes 21:44 < Wombert> let my upgrade and try 21:44 < shoan> but it looks like a php issue 21:46 < raidman> hi Wombert :) 21:47 < shoan> Wombert: what version of php are you using? 21:47 < shoan> php -v? 21:49 < splatch`> hah, php issues is always surprises ;) 21:50 < splatch`> for example in PHP 5.2.0 xpath was broken 21:50 < Wombert> was? 21:50 < Wombert> 5.2.0 isn't even out yet 21:50 < splatch`> on 5.1.4 it's also broken 21:51 < splatch`> query "//*" returns all elements, but "//" is retuns empty list 21:51 < Wombert> shoan: works for me with 2.2.0 21:51 < Wombert> 5.0.4 21:52 < shoan> i think i will take a look at it tomorrow 21:52 < shoan> heading to bed now 21:52 < shoan> ttyl 21:52 < Wombert> nn 22:01 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 22:02 -!- raidman [i=armen@unaffiliated/raidman] has quit [Nick collision from services.] 22:02 -!- raidman_ is now known as raidman 22:11 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:12 < raidman> hey impl, Welcome Back :) 22:12 < impl> Afternoon raidman, thanks 22:13 < splatch`> anyone can travel to poland to describe Agavi on php conference? ;) 22:15 < raidman> hmm, you are come from poland :) 22:15 < splatch`> no, I looking for authors ;) 22:16 < Wombert> authors? 22:16 < splatch`> yes, frameworks authors 22:17 < Wombert> what framework 22:19 < splatch`> any, this will be a conference , plural's need 22:24 < splatch`> Zend Framework, Cake PHP, ez Components, Agavi?, Mojavi 4? (me) 22:24 < impl> You're the new M4 developer? 22:25 < splatch`> no 22:25 < splatch`> I don't know who will be new developer, maybe me? I must think about this 22:28 < raidman> illusina and feti 22:29 < raidman> http://sourceforge.net/projects/mojavi/ 22:29 < splatch`> I don;t know it's sense to get it and develop self? 22:29 < impl> Yeah, but they're not working on it anymore raidman 22:29 < impl> feti hasn't been for over a year now I think 22:29 < splatch`> raidman: feti it's Sean Kerr 22:29 < splatch`> Sean wasn't develop mojavi 4 22:29 < raidman> yes, I know :( 22:29 < impl> Posted By: illusina 22:29 < impl> Date: 2006-08-10 16:45 22:29 < impl> Summary: Mojavi Subversion 22:29 < impl> Mojavi 4 has been put into the subversion repository. I will not be developing it at this time, as I am going to go in another direction with a derivative of the current Mojavi 4 framework in my spare time and will be releasing it accordingly. 22:30 < impl> So, as of August 10, Mojavi is essentially dead 22:30 * raidman cries 22:31 < splatch`> not official, daid 22:31 < splatch`> raidman: i craied also ;| 22:31 < raidman> but now we have agavi instead 22:32 < raidman> thanks agavi guys for great work, Wombert, v-dogg .... 22:33 < splatch`> If you'll be in poland, I'll gave beer ;) 22:38 < splatch`> good night! 22:45 < raidman> night 23:17 -!- Wombert [n=Wombert@dslb-088-064-005-058.pools.arcor-ip.net] has quit [] 23:33 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] --- Day changed Tue Aug 29 2006 01:31 -!- Wombert [n=Wombert@dslb-088-064-005-058.pools.arcor-ip.net] has joined #agavi 01:53 -!- benny`work [n=benny@p54AC2368.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:29 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has quit [Remote closed the connection] 05:07 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has joined #agavi 05:07 < pressureman> hey hey 05:07 < Wombert> cheers pressureman 05:07 < Wombert> 'sup 05:07 < pressureman> i've got about 80% of my app migrated to 0.11 05:08 < pressureman> stuck on something hopefully minor... 05:08 < Wombert> that's great! 05:08 < Wombert> shoot 05:08 < pressureman> how do it getParameters() from inside a model? 05:08 < Wombert> you mean 05:08 < Wombert> request params? 05:08 < pressureman> yup 05:08 < Wombert> pass it as an argument 05:09 < Wombert> either during construction/initialization, or to the actual method call 05:09 < pressureman> from where the model method was called from? 05:09 < Wombert> it's not a good idea to use request params in a model 05:09 < Wombert> that makes them a lot less portable 05:09 < pressureman> yeah i know it's not ideal, but i have a rather large number of params (from a form) 05:10 < Wombert> well then hand them all in ;) 05:10 < pressureman> d'oh... i'm lazy 05:10 < Wombert> a quick workaround would be to pass them to getModel() 05:10 < Wombert> and change all calls in the model from $this->getContext()->getRequest()->getParameter() to $this->rq->getParametersr or whatever 05:10 < pressureman> hmm... i'll pass them to the individual methods for now as a quick hack 05:11 < pressureman> i know the model shouldn't really be aware of the request as such 05:11 < pressureman> and params should be passed individually to the method 05:12 < pressureman> it's been a good exercise in self-critique of my code... 05:12 < pressureman> the old agavi let me get away with a few naughty/ugly things 05:12 < Wombert> porting? ;) 05:12 < Wombert> yeah 05:12 < Wombert> I'm glad you see that positive 05:13 < Wombert> most people complained they couldn't forward from the action anymore etc 05:13 < pressureman> strict code is robust code 05:15 < Wombert> word 05:20 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:25 < pressureman> how soon before 0.11 is tagged? 05:26 < Wombert> oooh we're still some days away from that 05:26 < Wombert> I got some updates for the form population filter, due tomorrow (I hope) 05:26 < Wombert> and we need to wrap up i18n 05:27 < pressureman> i haven't used the new form stuff yet, but i plan to 05:27 < pressureman> i'm migrating some awful ajax forms that i wrote earlier, but it's (yet another) hack 05:28 < pressureman> the main reason for doing them in ajax was because earlier agavi didn't do good form (re)population 05:28 < pressureman> at least with the ajax forms, it meant the fields were still on the screen if validation failed 05:28 < Wombert> ;) 05:29 < Wombert> agavi does that now 05:29 < pressureman> yay! 05:29 < pressureman> ajax forms are a step in the right direction (ie, uncoupling the form data from the presentation), but i'd rather wait and do it properly with xforms 05:34 < Wombert> true 05:34 < Wombert> you seem very knowledgeable 05:34 < Wombert> would you happen to be interested in contributing documentation or codeß ;) 05:35 < pressureman> could be... maybe once i go back and tick off some of the nasty hack fixups i'm finding in my code ;-) 05:35 < pressureman> i feel like i'm coding on the bleeding edge a bit here... and i realise there is a shortage of docs for 0.11 05:38 < pressureman> i'll have a look at the new forms stuff in a day or two when u commit it 05:38 < Wombert> it's already in and usable 05:38 < pressureman> i need to add a new form to this app, and really don't want to do any more ajax forms! ;-) 05:38 < Wombert> hehe 05:40 < pressureman> how would agavi go for making a SOAP service action? 05:40 < pressureman> or xml-rpc? 05:41 < Wombert> :) 05:41 < Wombert> relatively... simple 05:41 < Wombert> you need a new controller 05:41 < Wombert> a new response 05:41 < pressureman> is it possible to override the default agavi exception, since an xhtml or html rendered exception page wouldn't work for soap 05:41 < Wombert> request 05:41 < Wombert> maybe routing 05:41 < Wombert> of course! 05:41 < Wombert> we've worked everything out 05:41 < Wombert> same views 05:41 < Wombert> same actions 05:41 < Wombert> just new templates 05:42 < Wombert> 1.0 will ship with soap and xmlrpc support 05:43 < Wombert> the only really difficult thing is to map the function you call to an action 05:43 < pressureman> i'd imagine you'd need a soap dispatcher 05:44 < Wombert> not really 05:44 < Wombert> the soap controller handles that 05:44 < Wombert> AgaviBot works that way, too 05:44 < pressureman> so it's alread semi-working? 05:45 < Wombert> let's say 0.11 won't stop you from doing it 05:45 < Wombert> you know 05:45 < Wombert> actually, in agavi 05:45 < Wombert> the controller... is not the controller 05:45 < Wombert> it's the dispatcher 05:45 < Wombert> and actions are the controllers 05:45 < pressureman> right... that makes more sense now 05:46 < pressureman> so the controller needs to read the soap envelope, get the method name from it, load the right class, instantiate the action object, and call the method 05:46 < Wombert> I had a very very basic protoype working for soap the other day but lost the code 05:46 < Wombert> yes exactly 05:46 < pressureman> cool 05:46 < Wombert> it's not a big deal 05:46 < Wombert> in fact, the routing would be used to map method names to actions 05:47 < Wombert> that's what agavibot does, too 05:47 < Wombert> !seen horros 05:47 < AgaviBot> Wombert: horros was last seen on Fri Aug 25 15:49:36 2006 saying "yeah" (joined Sat Aug 19 12:18:03 2006) 05:47 < pressureman> lol 05:47 < Wombert> that's just a route that starts on !seen 05:48 < pressureman> while i've got your attention, what needs to be done to convert from development mode to production mode? 05:48 < pressureman> ie, not recompile configs each time? 05:49 < Wombert> change bootstrap() to use 'production' or whatever you like 05:50 < Wombert> do you understand what environments and contexts are? 05:50 < Wombert> and how you configure them? 05:50 < pressureman> no, haven't studied them yet. been running entirely in development mode so far 05:50 < Wombert> development is an environment 05:50 < Wombert> another one would be testing or production 05:51 < Wombert> all settings can be per environment 05:51 < Wombert> most settings can also be per context 05:51 < Wombert> web, xmlrpc, soap, console, irc are contexts 05:51 < Wombert> ajax, html, xml, pdf are output types for the web 05:51 < pressureman> wow... irc context... didn't know that was in there (obviously for your agavibot) 05:51 < Wombert> those are just names 05:52 < Wombert> you don't define contexts 05:52 < Wombert> and you don't define environments 05:52 < Wombert> you could bootstrap a "yabadabadoo" environment if you like 05:52 < Wombert> all config files have at least one block 05:53 < Wombert> which, by default, is valid for all envs and contexts 05:54 < pressureman> so, taking the sample settings.xml, if i add a production environment to it, with debug=false 05:54 < Wombert> no 05:54 < Wombert> no need for that 05:54 < Wombert> debug on is only configured for environment "development" 05:54 < Wombert> it overwrites the normal configuration where debug is off 05:54 < pressureman> so just change bootstrap to something else? 05:54 < pressureman> or don't specify any bootstrap? 05:55 < Wombert> you gotta define something 05:55 < pressureman> ok, so create the environment but just don't override debug? 05:58 < pressureman> heh... much snappier when not in debug mode ;-) 05:58 < pressureman> how does debug mode affect unhandled exceptions? are they still shown? 06:00 < pressureman> yes, the contexts are starting to make sense now, reading the exception_templates setting, and the dispatch() command in index.php 06:02 < Wombert> yeah exceptins are always shown 06:02 < Wombert> the idea is that you design your own exception template for production env and specify that in settings.xml 06:02 < pressureman> nice 06:02 < Wombert> you don't have to create the environment 06:02 < Wombert> using it "defines" it 06:03 < Wombert> using "production" env means all config directives specified for all envs and those for production are used 06:04 < Wombert> when parsing configuration files, blocks are parsed in this order: first all generic ones, then all that only define values for an env, then only context, then both 06:06 < pressureman> ok 06:08 < shoan> Wombert: i resolved the php issue 06:09 < Wombert> shoan: great to hear that... what was the problem? 06:10 < shoan> phing was using php-cgi :| 06:10 < Wombert> oO 06:10 < Wombert> btw 06:10 < Wombert> anyone with an IIS+PHP... maybe even with ISAPI_Rewrite? 06:10 < shoan> wasn't there somebody here long time ago? 06:10 < pressureman> funny u mention that 06:11 < Wombert> shoan: yes but he... disappeared ;) 06:11 < Wombert> we need to test the routing on other web servers 06:11 < pressureman> a colleague of mine is trying to do some url rewriting on IIS, and was shocked to find there are apparently no free url rewriters 06:11 < Wombert> I'm confident it will work without any changes to the web routing's apache handler 06:11 < shoan> Wombert: what about lighttpd support for rewriting? 06:11 < pressureman> one commercial one even had a licence PER 5 RULES! 06:12 < Wombert> in fact, I'm pretty sure that we now can even remove the server specific handlers and have one solution for all of them 06:12 < Wombert> including lighttpd 06:12 < shoan> i have lighty 06:12 < Wombert> you do? 06:12 < Wombert> excellent 06:12 < Wombert> gimme a phpinfo please 06:13 < shoan> email? 06:13 < Wombert> dz@bitxtender.com 06:13 < shoan> ok 06:13 < shoan> give me a few 06:13 < Wombert> sure 06:19 < pressureman> hmm 06:19 < pressureman> uh-oh 06:19 < pressureman> i think something in HEAD just broke routing 06:19 < pressureman> all my routes are 404 now 06:19 < shoan> Wombert: poll mail 06:20 < Wombert> pressureman: sync to _.htaccess 06:20 < Wombert> shoan: sure thing 06:21 < pressureman> hey it works ;-) 06:29 < Wombert> shoan: that looks very promising 06:33 < shoan> Wombert: cool 06:34 < Wombert> shoan: how difficult is that to set up 06:35 < shoan> extremely simple 06:35 < Wombert> oO 06:35 < shoan> get it from darwin ports 06:35 < Wombert> sweet 06:35 < shoan> one liner 06:35 < shoan> :) 06:35 < Wombert> gotta check if I have dp 06:35 < Wombert> I think I only have fink 06:35 < shoan> <3 Mac :) 06:35 < shoan> fink doesn't have it 06:35 < Wombert> you bet 06:35 < Wombert> uuh 06:36 < shoan> or atleast they didn't, the last time I used fink 06:37 < Wombert> yep 06:37 < Wombert> true 06:43 < Wombert> found dp 06:43 < Wombert> did a port -d selfupdate 06:43 < Wombert> or, rather, it's still doing that xD 06:44 < Wombert> no idea which version that is... hmmmh 06:44 < Wombert> oh and now I'm getting errors 06:45 < Wombert> hmm maybe I should re-install 06:49 < Wombert> how do I iuninstall that shit :S 06:57 < shoan> [property] Unable to find property file: /Users/shoan/Sites/projects/tjl/build.properties 06:57 < shoan> so what needs to be in this file? 07:02 < Wombert> you can set the location of your custom build templates there 07:02 < Wombert> meh 07:02 < Wombert> no binaries of latest dp 07:03 < shoan> Wombert: is there a sample of a build.properties? 07:04 < Wombert> in the manual 07:04 < Wombert> in the getting started section 07:05 < Wombert> actually, it only supports one directive ;) 07:06 < shoan> $ phing docs 07:06 < shoan> right? 07:06 < Wombert> no 07:06 < Wombert> that builds api docs 07:06 < shoan> eeks 07:06 < Wombert> use a docbook viewer/editor 07:06 < Wombert> e.g. www.xmlmind.com/xmleditor 07:06 < Wombert> trunk/docs/manual 07:06 < shoan> ok 07:07 < Wombert> wtf adium 07:07 < Wombert> wtf 07:07 < Wombert> wtf 07:07 < Wombert> quote from the manual 07:07 < Wombert> 07:07 < Wombert> xmlns:ns="http://www.xmlmind.com/xmleditor/namespace/clipboard" 07:07 < Wombert> > >The script uses code templates to generate all the files. You can use your custom code templates, too. Just put them whereever you like (look at >src/buildtools > to learn what templates there are and what the structure and file names look like). Then, create a new file called >build.properties > and add one line to it: > > >templates.dir = /my/project/path/mycodetemplates >Of course, you don't have to provide custom versions of >all > code templates. Agavi will fall back to the bundled templates if it couldn't find a specific one in the path you specified. > >Also, you can have per-module code templates. Add a >modules > directory to your code templates folder, and then add a new folder with the same name as the module. Now you can add a code template in there, and it will only be used when generating something for that specific module. > > 07:08 < Wombert> awwww wtf 07:09 < Wombert> and wtf wtf wtf adium... http://trac.adiumx.com/ticket/4713#comment:6 07:25 -!- Wombert [n=Wombert@dslb-088-064-005-058.pools.arcor-ip.net] has quit [Nick collision from services.] 07:25 -!- Wombert [n=Wombert@dslb-088-064-001-110.pools.arcor-ip.net] has joined #agavi 07:31 -!- AgaviBot [n=dzuelke@dslb-088-064-005-058.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 07:32 < Wombert> uuuh 07:33 < Wombert> dp is installing pcre 07:33 < Wombert> err 07:33 < Wombert> building it 07:33 < Wombert> zlib 07:33 < Wombert> etc 07:33 < Wombert> zomg 07:35 < shoan> dude...what are you doing? 07:35 < shoan> rebuilding php? 07:35 < Wombert> nah 07:35 < Wombert> "sudo port install lighttpd" 07:36 < Wombert> it's doing that right now tho 07:36 < Wombert> we'll see 07:36 < Wombert> how do I enable php then 07:36 < shoan> there is a tutorial on trac 07:36 < shoan> but you need to have php with cgi enabled 07:36 < Wombert> mmmh yeah I do at least I hope so 07:37 < Wombert> would that be --with-cgi 07:37 < Wombert> oh ffs 07:37 < shoan> fast-cgi something 07:37 < shoan> check the phpinfo i sent you 07:37 < Wombert> oh fucking hell I fucking hate that shit 07:38 < Wombert> --enable-fastcgi 07:38 < Wombert> yeah 07:38 < Wombert> don't have that 07:38 < Wombert> great 07:38 < Wombert> *sigh* 07:39 < shoan> would it work if I gave you my cgi version? 07:39 < Wombert> good question 07:39 < Wombert> can't I just use fink or dp to install php? 07:40 < shoan> i am not sure how you can customize it to include the flags 07:40 < Wombert> how did you do it 07:46 < shoan> compiled by hand :) 07:47 < shoan> i use fink to get the dependencies 07:47 < shoan> like xml related 07:47 < shoan> etc 07:47 < shoan> point the compile flags to /sw 07:57 < Wombert> shoan: hmmm 07:57 < Wombert> I can install it with "fastcgi" variant... 07:57 < Wombert> lots of dependencies tho 07:57 < Wombert> I'm afraid to break something 07:57 < Wombert> could that happen? 07:58 < shoan> add a prefix 07:58 < Wombert> prefix? 07:58 < shoan> and don't do a make install 07:58 < shoan> --prefix=/another/dir 07:58 < Wombert> I mean using darwinports 07:58 < shoan> no idea 07:58 < shoan> i'd rather do it by hand to ensure nothing gets messed up 07:59 < Wombert> yeah but then 07:59 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has left #agavi [] 07:59 < shoan> but then again... 07:59 < Wombert> it just installs it to /opt/blah 07:59 < Wombert> doesn't it 07:59 < Wombert> so I should be safe 07:59 < shoan> exactly 07:59 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has joined #agavi 07:59 < Wombert> doesn't it install all libs there, too? 07:59 < shoan> i think it should be 07:59 < shoan> yep 07:59 < Wombert> oh whatever I'll give it a shot 08:00 < Wombert> can I specify multiple variants? 08:06 < Wombert> hmm I guess that will take some time now 08:06 < v-dogg> huomenta 08:11 < v-dogg> eremit: you had some problems with logging? 08:22 < digitarald> Morning ... 08:22 < v-dogg> morn 08:37 < Wombert> uuuuh 08:37 < Wombert> this will take forever 08:40 < eremit> morn 08:41 < eremit> v-dogg: yeah i had one problem with logging, or not me, a general problem ... 08:41 < shoan> digitarald: is there a good eclipse plugin for mysql? 08:41 < Wombert> zomg wtf adium 08:41 < Wombert> http://trac.adiumx.com/ticket/4713#comment:6 08:42 < v-dogg> eremit: what general problem? 08:43 < eremit> $msg = new AgaviMessage('foobar'); $msg->log(); 08:43 < Wombert> yeah that is of sux indeed 08:43 < v-dogg> hm... 08:43 < eremit> the AgaviMessage::log() calls statically the logmanager which uses $this 08:44 < v-dogg> that's not how you are supposed to use it (imo) 08:44 < eremit> why ever has AgaviMessage a log method ? 08:44 < v-dogg> dunno. I think it should be removed 08:45 < eremit> ^^... i for now use this->getContext->getLoggerManager->log(message) 08:45 < v-dogg> me too 08:45 < Wombert> yeah 08:45 < Wombert> throw it out! 08:45 < v-dogg> or $logger = $this->getc->getlm->getLogger('name'); 08:46 < eremit> but making the lm static callable would be great ... 08:46 < v-dogg> why? 08:46 < Wombert> no 08:46 < Wombert> not gonna happen 08:46 < eremit> y? 08:46 < Wombert> context 08:46 < Wombert> blah 08:46 < eremit> ah ok ... 08:46 < Wombert> thing 08:46 < Wombert> thing 08:46 < Wombert> you know? :p 08:46 < eremit> yeah just got it :P 08:47 < Wombert> :) 08:47 < shoan> i didn't ;) 08:47 < digitarald> these discussions are nice to read! 08:47 < digitarald> ;) 08:47 < eremit> multiple contexts ... 08:47 < eremit> each context one loggermanager ... 08:47 < eremit> which to use on static usage ? 08:47 < eremit> :P - got it right, Wombert ? 08:47 < Wombert> yay 08:48 < shoan> hmmm 08:48 < v-dogg> wtf... $response->setContentType('application/csv'); in MyView::initialize 08:48 < v-dogg> AH! 08:48 < Wombert> aaaah 08:48 < Wombert> no 08:48 < Wombert> that won't work 08:49 < v-dogg> sure it will 08:49 < Wombert> probably 08:49 < v-dogg> it does :) 08:49 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:49 < Wombert> yeah but it might get reset later 08:49 < v-dogg> BUT you have to do it before parent::init 08:49 < Wombert> what's that for anways? 08:49 < Wombert> nonononononononoooooohoohohohooo 08:49 < v-dogg> :) 08:49 < Wombert> why don't you use an output type for it? 08:49 < Wombert> doggiebaby 08:49 < Wombert> you can then 08:49 < Wombert> even 08:49 < Wombert> have an executeCsv() 08:49 < Wombert> ! 08:49 < Wombert> aaaand 08:49 < digitarald> what is the execution order for the global_filters xml? from top to bottom? 08:50 < v-dogg> because it doesn't work and I don't have time to find out why 08:50 < Wombert> :S 08:50 < digitarald> first to last? 08:51 < Wombert> yeah 08:51 -!- shoan_ [n=shoan@59.92.167.120] has joined #agavi 08:51 < v-dogg> Wombert: http://pastebin.ca/152839 08:51 < v-dogg> don't set the header 08:51 < Wombert> yayayayay 08:51 < Wombert> content type is an output type param 08:51 < Wombert> not renderer 08:51 < v-dogg> ah :) 08:51 < v-dogg> ok then 08:52 < Wombert> <: 08:52 < v-dogg> I'll remove my nasty hack :) 08:52 < v-dogg> thanks mate :) 08:52 < Wombert> you're welcome 08:52 < raidman> morning guys 08:52 < Wombert> hi 08:52 < Wombert> morning 08:52 < Wombert> yeah 08:52 < Wombert> that reminds me 08:52 < Wombert> it's just about time for 08:52 < Wombert> a) bed 08:52 < Wombert> b) coffee 08:52 * Wombert ponders that 08:53 < eremit> bed ? ... Oo 08:53 < Wombert> yeah 08:54 < eremit> still awake or got up early ? 08:54 < v-dogg> nooooo 08:54 -!- _horros [n=mle@a81-197-149-150.elisa-laajakaista.fi] has joined #agavi 08:54 < Wombert> still awake 08:54 < eremit> woot ... 08:54 < Wombert> this is pretty 08:55 < Wombert> uhm 08:55 < Wombert> guys 08:55 < Wombert> we might have a corrupt universe here or something 08:55 < Wombert> two horroses 08:55 < Wombert> two raidmen 08:55 < Wombert> two shoans 08:55 * eremit starts his IRC warscripts ... 08:55 < digitarald> only one digitarald ... good to be an individual 08:55 < eremit> how many of me do you want ? :P 08:56 < raidman> lol 08:58 -!- [1]eremit [n=eremit@p5490EECB.dip.t-dialin.net] has joined #agavi 08:58 -!- eremit [n=eremit@p5490E77D.dip.t-dialin.net] has quit [Nick collision from services.] 08:58 -!- [1]eremit is now known as eremit 08:58 -!- shoan [n=shoan@59.92.167.120] has quit [Read error: 60 (Operation timed out)] 09:07 < digitarald> this fpf problem with ajax/incomplete-html drives me nuts 09:08 < Wombert> digitarald: fix is in the works 09:10 -!- horros_ [n=mle@a81-197-149-150.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 09:14 < Wombert> oh maaaaan I need an intel mac 09:14 < Wombert> this is so feckin slow here 09:14 * Wombert kicks the G4 09:15 < digitarald> intel mac sucks, too ... or second php coder has an intel mac ... and don't really like him 09:16 < Wombert> so the macs suck because you don't like your co-worker? xD 09:16 < digitarald> what is the fix wombert? get rid of the prepended and appended xhtml tags? 09:16 < Wombert> no 09:16 < Wombert> I'm working on a fix 09:16 < digitarald> my co-worker don' 09:16 < digitarald> t like his mac ;) 09:16 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Remote closed the connection] 09:16 < Wombert> why not 09:16 < Wombert> how could you possibly not like a mac 09:17 < digitarald> because of intel ... 09:17 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:17 < Wombert> uh huh 09:17 < Wombert> I'll trade my powerbook for his intel mac any day 09:17 < Wombert> I swear 09:17 < digitarald> only the new mac software has 100% support for intel ... 09:18 < Wombert> yeah and everything else runs in rosetta 09:18 < Wombert> except 09:18 < Wombert> zend studio 09:18 < Wombert> but what did you expect 09:18 < Wombert> they don't know jack about whatever they do 09:19 < digitarald> i expect nothing from mac ... i have an intel ... windows ;) 09:19 < Wombert> haha 09:19 < Wombert> my sincere condolences 09:19 < digitarald> may be some day i take this step ... 09:19 < Wombert> you should 09:19 < Wombert> if there's anything I regret about switching to mac, it's that I didn't do it way earlier 09:20 < digitarald> ... by now i'm happy with it ... 09:20 < Wombert> no 09:20 < Wombert> you got used to how crappy windows is 09:20 < digitarald> i can run zend studio ;) 09:20 < Wombert> you never realize that until you use a OS that doesn't suck and get in your way all the time ;) 09:20 < digitarald> crappy zend on crappy windows ;) 09:20 < Wombert> trust me... I know what I'm talking about ;) 09:21 < Wombert> I mean I don't think windows xp or so is.... really bad 09:21 < Wombert> it's just far from good 09:21 < digitarald> what will be the fix, can't u talk about it ;) 09:21 < Wombert> windows 98 was bad 09:21 < Wombert> xml parsing 09:21 < Wombert> and many other features 09:21 < digitarald> for .11? 09:21 < Wombert> yes 09:22 < digitarald> fine 09:23 < eremit> you both are kicking zend all the time :P ... any better solutions ? 09:23 < Wombert> no 09:23 < Wombert> or 09:23 < Wombert> yeah 09:24 < Wombert> actually, there is a solution 09:24 < Wombert> find out where these idiots live 09:24 < Wombert> burn down their houses 09:24 < Wombert> then 09:24 < Wombert> find someone who knows how to code 09:24 < eremit> the only thing it must have is live debugging on network servers :P 09:24 < Wombert> who doesn't think "underscores are enough" 09:26 < v-dogg> and who doesn't bomb the UN!!1!!1 09:26 < Wombert> haha 09:28 < eremit> haha 09:28 < v-dogg> I'm pretty sure it was Mr. Suraski himself launching that rocket there 09:29 < eremit> argl, i've lost the anti-php war over here :/ .. 09:29 < v-dogg> :( 09:30 < eremit> at least partly won ... :) the current project will be finished using agavi and php ... 09:30 < eremit> and there will never ever be ruby ... which really upsets most of the coders here :P 09:30 < Wombert> v-dogg: yeah... they're all the same 09:30 < Wombert> eremit: hmmhmm 09:31 < Wombert> eremit: I think you guys need an enterprise perspective 09:31 < Wombert> something solid to build upon and such 09:31 < eremit> Wombert, i think my boss needs some basic it knowledge :P 09:31 < Wombert> changing your mind every five minutes because everyone and their mother have a different taste won't solve any problem 09:31 < Wombert> eremit: tell him that 09:32 < Wombert> not like that but... 09:32 < Wombert> you know 09:32 < eremit> that's what i'm telling them all the time :P ... 09:32 < eremit> but what to do, if the majority of devs are like rabbits ... jumping all around ... 09:32 < Wombert> agavi really, really is an enterprise framework 09:32 < Wombert> with enterprise features 09:32 < Wombert> they just have to see it 09:32 < eremit> yes it is ... and i really really like it 09:33 < Wombert> ten dollars that adding xmlrpc to an existing web app is easier in agavi than in ror 09:35 < Wombert> v-dogg: I threw out the cgi docroot case by the way... don't think we need it anymore 09:35 < eremit> hrhr ... but we will see if i win in the long term :PP 09:35 < v-dogg> Wombert: roger 09:36 < Wombert> FOR FUCK'S SAKE 09:36 < Wombert> AKLSDSJAKHDSAKJSAZD8q2673816128771237 09:36 < Wombert> ("§!&/!("%&/$%&/§$ 09:36 < Wombert> these are better 09:36 < Wombert> zomg 09:36 < Wombert> this took like two hours to compile 09:36 < Wombert> Error: Target com.apple.destroot returned: xinstall: Cannot stat: /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.1.5/sapi/cgi/php, No such file or directory 09:36 < Wombert> Error: Status 1 encountered during processing. 09:36 < Wombert> FUCKING 09:36 < Wombert> OPEN SOURCE 09:36 < Wombert> NONSENSE 09:36 < Wombert> aaaargggghhhhh 09:47 < v-dogg> closed source is no better ;) 09:47 < eremit> closed source is more secure :P *joking* 09:48 < eremit> just read an article, the author really thinks that 09:48 < digitarald> he was from microsoft? 09:48 < eremit> no it was the lead dev of a community platform ... 09:49 < eremit> using only opensource tools to build the platform but closing the resulting source ... 09:49 < eremit> was something like: wtf ... 09:50 < Wombert> there are some points about the "closed source is better" argument 09:50 < shoan_> i told you to do it by hand and it would have taken <2hours 09:50 < Wombert> one would be that more skilled people work on closed source 09:50 < Wombert> technically, linux is superior 09:51 < Wombert> but I don't give a shit if I must recompile a kernel so my mouse wheel works 09:51 < Wombert> whoa sorry... more skilled people work on closed source... because it's their job, that sentence wasn't finished 09:54 < digitarald> Wombert ... i edited the fpf since the fix, this in my hacky fix: 09:54 < digitarald> $response->setContent(preg_replace(array('/]*>/i', '/]*>]*>/', '/<\/body><\/html>/'), '', $response->getContent() ) ); 09:55 < digitarald> only for ajax output of course ... but certainly its a hack :D 09:56 < Wombert> don't edit 09:56 < Wombert> subclass 09:56 < Wombert> :) 09:57 < digitarald> my problem, i had an filter AFTER fpf, CleanOutputFilter ... he has this replace-line after an output-check ... but the filter did not get output from the fpf 09:58 < digitarald> he was AFTER the fpf, but the received ($response->getContent() ) content was without fpf artifacts 09:58 < Wombert> the filters are... nested 09:58 < Wombert> so the filter AFTER fpf 09:59 < Wombert> is run after fpf on the way to execution 09:59 < Wombert> but when control falls back through the filters 09:59 < Wombert> i.e. the code that comes after $filterChain->execute() 09:59 < Wombert> it's the other way round 10:01 < digitarald> so i have to put it before and after fpf? 8) 10:01 < Wombert> uh 10:01 < Wombert> no 10:01 < Wombert> how do I explain that... 10:02 < Wombert> it's a chain 10:02 < Wombert> uhm 10:02 < Wombert> you start at one and 10:02 < Wombert> move to the other end (execution filter) 10:02 < shoan_> sequential execution 10:02 < Wombert> and then 10:02 -!- shoan_ is now known as shoan 10:02 < Wombert> you go back in the chain 10:02 < Wombert> so you reach each link in the chain in reverse order 10:03 < digitarald> do i have to execute the chain before or after the replace? 10:03 < Wombert> before, of course 10:03 < Wombert> the last filter in the chain 10:03 < digitarald> so i did ... ok 10:03 < Wombert> is the execution filter 10:03 < Wombert> you can't access the output before you execute the chain 10:03 < Wombert> it's not there yet ;) 10:03 < Wombert> keep in mind 10:04 < Wombert> Filter::execute() isn't called twice! 10:04 < digitarald> i just getContent 10:04 < Wombert> each filter calls the next filter in the chain 10:04 < digitarald> during $filterChain->execute 10:05 < Wombert> look at execution time filter 10:06 < digitarald> i added it before the fpf and it works ... fine 10:07 < digitarald> thought i tried that already :D 10:07 < Wombert> as I said 10:07 < CIA-6> david * r1027 /trunk/src/filter/AgaviExecutionTimeFilter.class.php: we don't really need a double execute-once check... 10:07 < Wombert> you could just sub-class FPF 10:07 < Wombert> do parent::execute() 10:07 < Wombert> and then replace the content 10:07 < Wombert> no need for an extra filter 10:08 < digitarald> that CleanOutputFilter is a 10-line-class 10:09 < digitarald> may be later ... its till now only a class thats waiting for your fpf fix ;) 10:11 -!- shoan [n=shoan@59.92.167.120] has quit [] 10:32 < splatch`> hello 10:32 < v-dogg> hi 10:39 < eremit> hi 10:42 < eremit> digitarald, there ? 10:44 < eremit> uh, doesn't php have a function to check the declaration of an attribute if it'S public, protected, private ? ... 10:45 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:59 < v-dogg> eremit: reflection class? 10:59 < v-dogg> doesn't it tell ya 11:00 < eremit> ah ... that one i havn'T checked ... 11:00 < splatch`> eremit: get_object_vars gets only public fields 11:01 < splatch`> you can use get_class_vars also 11:03 < eremit> both functions returns values from the calls point of view ... 11:04 < eremit> so having get_class_vars(__CLASS__) within a method of the class i want to check .. i get everything back 11:04 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 11:04 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:11 < eremit> v-dogg reflection would work ty ... 11:25 -!- digitarald| [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has joined #agavi 11:25 < eremit> uh ... can somebody give me a short hint how the AgaviFixPathsTask::getDir works O.o 11:26 < digitarald|> haha ... i've cloned myself, too ... 11:28 < digitarald|> chat voting :) : do u use xhtml strict or transitional? 11:28 < eremit> trans 11:30 < digitarald|> can somebody kick digitarald? :) 11:30 < eremit> do it yourself ... 11:30 < eremit> ... /ns ghost 11:30 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 11:31 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:31 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit [Nick collision from services.] 11:31 < digitarald|> Muahaha ... killed him 11:31 < digitarald|> nice 11:32 -!- digitarald| is now known as digitarald 11:32 < eremit> and now /nick ; /ns identify ; :P 11:32 < digitarald> got it 11:44 < digitarald> did anybody tried aflax, js/flash? 11:49 < digitarald> and did anybody tried MochiKit? 11:49 < eremit> 2x no :) 11:56 < digitarald> its really nice for uploading files ... aflax ... try this: 11:56 < digitarald> http://www.aflax.org/examples/fileupload/fileupload.html 12:00 < splatch`> digitarald: I readed about aflax and mochikit 12:01 < digitarald> i'm using prototype, think mochikit is not really for me ... but aflax ... i have to do a photoupload for an imagestore, did a really cool upload with ajax but js has 2 problems: can't specify the file-type AND can't select multiple files 12:07 < splatch`> digitarald: mochikit is prototype with different syntax 12:07 < eremit> Wombert, http://devel.g1mp.de/Agavi/build-xml.patch this solves the webapp problem in the cli you can now specify -Dapp.dirname=webapp 12:07 -!- jake [n=jake@c-24-19-45-189.hsd1.wa.comcast.net] has joined #agavi 12:09 < splatch`> digitarald: for me ;] 12:09 < splatch`> digitarald: Ajax in prototype is very lite 12:10 < digitarald> u extended ajax in prototype ... with focus on json 12:18 < v-dogg> wazzap 12:18 < v-dogg> hi jake 12:19 < jake> hey v-dogg 12:20 < v-dogg> how's it going? 12:20 < Macca> can i use 1 trac setup to manage multiple projects? 12:20 < v-dogg> and hi Macca too 12:21 < splatch`> oi v-dogg 12:21 < v-dogg> and splatch` 12:21 < Macca> hi 12:21 < v-dogg> Macca: any deadlines coming up?-) 12:21 < v-dogg> tomorrow? and you just started coding? ;p 12:21 < jake> not too bad, writing some mojavi 2 code for work, starting my day. What's going on with you? 12:22 < jake> Macca, you can 12:22 < Macca> v-dogg, yep. sept 15t :) 12:22 < v-dogg> alright. prototyping some new features of my project 12:23 < Macca> jake, is it hard? :) 12:26 < jake> I don't think so, I think you just run trac-admin /path/to/myproject initenv 12:28 < Macca> but it's not my project 12:28 < Macca> there are numerous projects 12:29 < jake> I'm not sure what you're trying to do. If you have 10 projects just run 'trac-admin /path/to/project1 initenv', project2, project3, etc 12:30 < eremit> you can setup a parent page ... 12:31 < eremit> http://trac.edgewall.org/wiki/TracModPython#Settingupmultipleprojects 12:34 < Macca> hmm see this is the problem: 12:34 < Macca> http://trac.maccasoft.com.au/trac/timeline 12:34 < Macca> i'm not using mod_python 12:34 < Macca> wait.. svn can handle multiple projects in 1 repos right? 12:34 < Macca> in that timeline, only the last 2 commits relate to one project, all the others relate to another 12:35 < digitarald> shit ... they cutted our dsl linea ... 12:36 < jake> can you cutted something? 12:36 < Macca> AHAHA 12:37 < v-dogg> agavi is quite nice for this type of prototyping I'm doing. I can create dummy actions that get/set data from sessionstorage. UI components work like they will in the final product too 12:37 < v-dogg> using sessionstorage means I don't have to design any db's until the structure is pretty much final 12:37 < digitarald> we move to the other office ... i'm still in irc, thats funny ... 12:38 < v-dogg> but the software still looks like it's really storing stuff and customers are impressed :) 12:40 < digitarald> same for me, can give users lighboxes for storing photos ... and they dont have to login 12:40 < digitarald> and when they login, they can save the lightbox 12:44 < digitarald> so ... lets move ... desks, pcs, big stuff ... move it all to the next office ... and its 30 degree outside ... 12:44 -!- digitarald [n=Miranda@244.Red-80-59-74.staticIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 12:48 < eremit> eh, there are some errors in the xinclude work of Wombi Oo 12:48 < v-dogg> noooo... 12:48 < eremit> yess ... :P 12:48 < v-dogg> we are not in the business of coding errors 12:49 < v-dogg> like them other frameworks 12:49 < eremit> because xinclude throws a php warning if a file is not found and before falling back to xi:fallback 12:49 < eremit> which results in header already send 12:52 < eremit> yay ... the rest works like a charm ... routes per module *horray* 12:53 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 12:55 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 13:00 -!- shoan_ [n=shoan@61.95.206.107] has joined #agavi 13:13 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 13:34 -!- eremit [n=eremit@p5490EECB.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"] 13:35 < splatch`> http://www.break.com/movies/weresinking.html < this is me :} 13:35 -!- eremit [n=eremit@p5490EECB.dip.t-dialin.net] has joined #agavi 13:38 < splatch`> eremit: do you saw me? ;] 13:39 < eremit> ? 13:39 < splatch`> http://www.break.com/movies/weresinking.html < this is me :) 14:25 < eremit> does the i18n stuff already work ? 15:13 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 15:20 -!- shoan_ [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 16:14 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 16:30 < v-dogg> eremit: aide or integrit? any opinion? 16:31 < eremit> i use aide 16:31 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has joined #agavi 16:31 < eremit> if i have to use it ... 16:31 < eremit> normally snort :P 16:31 < digitarald> ... back :) 16:35 < v-dogg> what does aide use as db? it says here that you can use pgsql, but what else? what's the default? 16:38 < eremit> dunno exactly what's the default ... some kind of filesystem database .db ... since we only use it sparely i never took that deep look into it ... 16:39 < v-dogg> ok 16:40 < eremit> you could also take a look at tripwire ... 16:40 < v-dogg> aide's web site says aide can do more than it :) 16:41 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 110 (Connection timed out)] 16:41 < v-dogg> aide seems simple enough :) 16:41 < eremit> basically you can write it yourself .. using bash ... 16:41 < eremit> :P 16:43 < v-dogg> sure 16:43 < v-dogg> but you know, I dont wanna :) 16:44 < eremit> hehe ... 16:44 < eremit> hmm ... can i have something like in routing.xml ? anyone knows? 16:44 < eremit> no i cannot 16:44 < eremit> :/ 16:52 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 16:53 < v-dogg> do I now need some aide log parser from php-tools ;) 16:55 < eremit> hrhr ... sadly he didn't wanted to start a flamewar :/ 16:56 < eremit> the problem on their parser is, you still have to take a look at the logfiles ... 16:56 < eremit> if i would inspect all logfiles instead of relying on complex regexp it would take me about 8 hrs a day to read everything ^^ 16:57 < v-dogg> uhm? wtf does their parser do then? 16:58 < eremit> it simply reduces the amount of logentries ... 16:58 < eremit> at least that was the way i understood how it should work 16:59 < v-dogg> ok :) 16:59 < eremit> what i dont understand is the fact why he does need it ... 17:00 < eremit> normally you should do e.g. on debian ... aide check; apt-get update && apt-get upgrade; aide update 17:00 < eremit> so the daily report should be zero 17:02 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 17:04 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has joined #agavi 17:12 < eremit> v-dogg in the sample app ... the module disabled action shouldn't it return a header of 503 ? 17:13 < eremit> unavailable also ^^ 17:17 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 17:20 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has joined #agavi 17:36 -!- shoan [n=shoan@59.92.207.75] has joined #agavi 17:36 < Wombert> shoan! 17:36 < Wombert> heyyyyy 17:36 < Wombert> nedd your help with making php work in lighty 17:36 < Wombert> will query ya if you don't mind 17:36 < Wombert> hi jake 17:37 < jake> Hey Wombert, how's it going? 17:37 < shoan> Wombert: sure 17:37 < shoan> but I might be out to dinner in a while 17:37 < shoan> shall we do it in about 2.5 hours? 17:39 < Wombert> yay 17:40 < Wombert> sure 17:40 < Wombert> ping me when you're back 17:40 < Wombert> thanks for your help 17:40 < shoan> no probs 17:40 < shoan> will do 18:01 < v-dogg> eremit: good idea 18:13 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 18:18 -!- shoan [n=shoan@59.92.207.75] has quit [] 18:18 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has joined #agavi 18:21 < Wombert> http://www.symfony-project.com/weblog/2006/08/29/donate.html 18:21 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 18:21 < Wombert> wtf 18:21 < Wombert> it will go to the fucking company? 18:21 < Wombert> wtf 18:23 < jake> heh 18:23 < Wombert> I mean 18:23 < Wombert> come on 18:23 < Wombert> I know that they got several highly lucrative contracts because they're the guys who built it 18:23 < Wombert> so why does the money go to _the company_ 18:24 < Wombert> can't they just take it for themselves and buy beer or so 18:24 < jake> because they suck? 18:24 < Wombert> no developer minds donations, that's for sure, but this feels just wrong 18:39 -!- benny`work [n=benny@p54AC44FA.dip0.t-ipconnect.de] has joined #agavi 18:44 < splatch`> hello 18:48 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has joined #agavi 18:55 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 19:39 -!- jake [n=jake@c-24-19-45-189.hsd1.wa.comcast.net] has quit ["Leaving"] 20:04 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:20 < CIA-6> david * r1028 /trunk/src/config/AgaviXmlConfigParser.class.php: oops... forgot to commit the @ that suppresses XInclude warnings 20:27 -!- shoan [n=shoan@59.92.207.75] has joined #agavi 20:45 -!- shoan [n=shoan@59.92.207.75] has quit [] 20:46 < eremit> gna ... how f... stupid is smarty ... 20:52 < splatch`> I can write view redender for some template engegine? 20:52 < splatch`> eremit: what's problem? 20:52 < splatch`> *renderer 20:52 < splatch`> blah blab blah 20:53 < eremit> i haven't figured out the exact problem, but it looks like smarty cannot access objects which behave like arrays Oo 20:53 < splatch`> {$obj[0]->sth()} ? 20:54 < eremit> simply $obj['Attribute'] 20:54 < splatch`> eremit: you saw compiled code? 20:56 < eremit> yes 20:57 < splatch`> and? 20:57 < splatch`> $obj->Attribute? 20:57 < splatch`> 20:57 < splatch`> ops 20:58 < eremit> the attribute is not accessible that way 20:58 < splatch`> $obj.Attribute? 21:20 < splatch`> maybe cache chechks type of $obj 21:20 < splatch`> blah 21:20 * splatch` kicks ISP ;) 21:48 < v-dogg> splatch`: you want to write a renderer for some template engine? 22:08 -!- shoan [n=shoan@59.92.207.75] has joined #agavi 22:09 < Wombert> guys 22:09 < Wombert> I'd like to wrap up the FPF tonight 22:09 < Wombert> I'll add these features: 22:10 < Wombert> XML parsing for XHTML (can be disabled) 22:10 < Wombert> all settings configurable at runtime, too 22:10 < Wombert> full DOM control (resolveExternals and the other settings) 22:10 < Wombert> population of multiple forms 22:10 < Wombert> field skipping 22:11 < Wombert> and (hopefully) improved action detection 22:11 < Wombert> did I forget anything 22:11 < Wombert> now would be a good time to speak up ;) 22:18 < Wombert> ooh 22:18 < Wombert> teh shoan is here 22:18 < Wombert> :> 22:19 * shoan yawns 22:24 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:26 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:28 < Wombert> shoan: do you have a couple of minutes? or are you too tired :) 22:28 < Wombert> got lighty and a 5.1.5-fcgi installed now 22:29 < shoan> Wombert: let me get some coffee 22:29 < Wombert> sure ;) 22:29 < raidman> hi guys :) 22:29 < Wombert> hi 22:29 < raidman> make one for me too shoan :) 22:40 < shoan> raidman: hmmm... the closest I can get to that is drink one on you ;) 22:40 < Wombert> hehe 22:41 < Wombert> speaking of which 22:41 < Wombert> I ran out of beer 22:41 * shoan is all set 22:41 < Wombert> :) 22:41 < Wombert> cool 22:41 < Wombert> let's do that in a query 22:41 < raidman> shoan, that's beter than nothing shoan :P 22:42 < shoan> :) 23:29 < splatch`> v-dogg: yes, I want 23:30 < splatch`> v-dogg: in poland many developers use OPT - alternative template engine 23:37 < splatch`> Wombert: Do you have any simple (low priority) task for me? ;] 23:48 < Wombert> splatch`: hmmm 23:48 < Wombert> right now... not really 23:48 < Wombert> I'd like to wait until after 0.11 before we begin anything new... 23:48 < splatch`> ok, whats will be "to do" after 0.11? 23:49 < Wombert> http://trac.agavi.org/trac.cgi/roadmap 23:50 < raidman> good night guys 23:50 < Wombert> nn raidman 23:50 < raidman> :) 23:50 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 23:57 < splatch`> Wombert: SOAP in MVC is very hard, i think 23:57 < splatch`> SOAP haven't a view layer 23:59 < splatch`> in Spring (java framework) the XML_RPC requests are works like all others, different only view --- Day changed Wed Aug 30 2006 00:00 < splatch`> Wombert: SOAP its also WSDL and data types 00:02 < impl> Rename controller to dispatcher and action to controller? 00:02 < impl> o.O 00:02 * impl ponders 00:02 < splatch`> dispatcher its also front controller 00:03 < splatch`> this is only names :) 00:05 < Wombert> splatch`: yes I know 00:05 < Wombert> that's exactly how it will work 00:05 < Wombert> that's why we have environments and contexts now :) 00:05 < Wombert> you will be able to take an existing web application, and add xmlrpc functionality to it by just adding templates or modifiying the views 00:06 < splatch`> http://develnet.org/embed/php_bart.gif :] 00:06 < splatch`> Wombert: XML-RPC responses in XML 00:06 < splatch`> but in SOAP problem is a WSDL and valid response 00:07 < Wombert> nah not really a problem 00:07 < impl> Wombert: This might give you some ideas for the next-generation ActionStack/decorators if you haven't seen it yet: http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html#1078938 00:07 < Wombert> I had a prototype some time ago 00:08 < splatch`> Wombert: Controller should be returns also wsdl 00:09 < splatch`> Wombert: for exampl /module/action?wsdl 00:09 < Wombert> splatch`: sure 00:09 < Wombert> that won't be a problem, trust me ;) 00:09 < Wombert> I worked everything out already 00:09 < Wombert> I just have to implement it 00:09 < impl> All you have to do is make a WsdlRenderer and an output type 00:09 < impl> and match it with a route 00:10 < impl> Right? 00:10 < Wombert> exactly 00:10 < splatch`> impl: for me its only view-layouts ;) 00:10 < Wombert> the charming thing about it 00:10 < impl> The renderer will take it from the view and output without a template 00:10 < Wombert> is that soap is a dedicated contxt 00:10 < Wombert> which means 00:10 < Wombert> the routes for it are in a separate section 00:10 < Wombert> so... 00:10 < impl> cool 00:10 < impl> Wait, er, how do you switch contexts during runtime? 00:10 < Wombert> 00:10 < Wombert> is all we need 00:11 < splatch`> wow 00:11 < Wombert> you can create new contexts at runtime 00:11 < Wombert> but 00:11 < splatch`> that is cool option 00:11 < Wombert> you're actually supposed to use a new dispatcher file 00:11 < Wombert> e.g. index.php for web, and soap.php for soap or so 00:11 < splatch`> ok, i must go sleep 00:11 < Wombert> good night, splatch` 00:11 < Wombert> see you tomorrow :) 00:12 < splatch`> thanks 00:14 < Wombert> any apache2 users? 00:14 < Wombert> impl maybe? 00:14 < impl> Aye 00:14 < impl> 2.2.x 00:14 < Wombert> schweet 00:14 < Wombert> svn up please 00:14 < Wombert> and tell me 00:14 < Wombert> if the sample app works 00:14 < Wombert> specifically 00:14 < impl> Hold on, let me finish these maths problems 00:14 < Wombert> rewrite on 00:14 < impl> Calculus is teh sux 00:14 < Wombert> sure 00:14 < Wombert> ping me 00:14 < impl> Will do 00:57 * Macca waves 00:57 < Macca> impl tell me about it! 00:57 < Wombert> hey Macca 00:57 < Macca> i had a calc test yesterday and i didn't even know we had it :| 00:57 < Wombert> would you happen to be an IIS user? 00:57 < Macca> nope :( 00:57 < Macca> FreeBSD mssv001.maccasoft.com.au 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #3: Sat Aug 12 14:48:16 EST 2006 brendanm@mssv001.maccasoft.com.au:/usr/obj/usr/src/sys/MACCASOFT i386 00:57 < Wombert> ah 00:57 < Wombert> that crappy kind of OS 00:57 * Wombert runs 00:57 < Macca> impl, have you done finding volumes of curves rotated about an axis? or 2nd order derivatives? 00:57 < Macca> heh 00:58 < Wombert> Macca: oh come on that's uber basic 00:58 < Macca> Wombert, not when you walk in to a test not knowing it! 00:58 < Wombert> Macca: university? or school 00:58 < Macca> TAFE 00:58 < Macca> in between :) 00:58 < Wombert> what is that 00:58 < Wombert> hm 00:58 < Macca> it's after high school 00:59 < Macca> tafe = technical and further education 00:59 < Macca> ok mr. smarty pants.. how do i find the volume bounded by y=x^3, x=0, y=1 rotated about the y-axis? 00:59 < Macca> that was Q1 and i was like... :( 00:59 < Wombert> I can't remember 00:59 < Wombert> I learned that in school tho ;) 00:59 < Macca> haha 00:59 < Wombert> hey but come on derivatives are simple 01:00 < Wombert> it could be the 100th order, doesn't matter, it's always the same procedure 01:00 < Wombert> ah 01:00 < Wombert> hey wait 01:00 < Wombert> I guess 01:00 < Wombert> yeah 01:00 < Wombert> wait 01:00 < Wombert> I can do that 01:00 < Wombert> I just need the english terms... 01:00 < Macca> =) 01:00 < Wombert> for the volume thing 01:01 < Macca> what's it in german? 01:01 < Wombert> don't remember 01:01 < Wombert> you know 01:01 < Macca> aha 01:02 < Wombert> that thing that lets you calc the area between the graph and the axis 01:02 < Macca> i have no idea what you're talking about 01:02 < Macca> integration? 01:02 < Wombert> ye 01:02 < Wombert> s 01:02 < Wombert> :> 01:02 < Macca> =) 01:02 < Macca> integral of y=x^3 from 0-1 == 1/4 01:03 < Wombert> :) 01:03 < Wombert> we only briefly touched the topic of rotating curves etc tho IIRC 01:03 < Macca> hehe 01:03 < Wombert> but I definitely remember that 01:03 < Macca> i know it's not hard 01:04 < Macca> i just couldn't for the life of me remember how to do it 01:04 < Wombert> always preferred geometry over analysis 01:05 < Macca> heh 01:05 < Wombert> now I'm studying computer sciences 01:05 < Wombert> but don't know jack about the maths stuff there 01:05 < Wombert> because I can't be arsed to be intrested in it 01:05 < Wombert> which is a bad idea I guess 01:06 < Wombert> so don't follow my example ;) 01:06 < Macca> haha 01:06 < Macca> what do you think i';m doing? :) 01:08 < Wombert> haha 01:15 * Macca pokes impl 01:16 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Read error: 110 (Connection timed out)] 01:18 < Macca> :( 01:33 < shoan> Wombert: how do I load classes in autoload.xml that need to be loaded for all environments? do I need to replicate in the config file? 01:36 < Wombert> oO 01:36 < Wombert> isn't it like 4am at your place, shoan 01:36 < shoan> yep :) 01:36 < shoan> had too much coffee 01:36 < Wombert> uuuh 01:36 < Wombert> is valid for all envs 01:36 < Wombert> unless you restrict it using environment="blah" 01:37 < Wombert> is that what you mean? 01:37 < shoan> hmm 01:37 < shoan> so I can have 01:37 < Wombert> you can have 8192371283 blocks 01:37 < Wombert> the sample app, for instance, has that settings.xml 01:37 < Wombert> the settings are valid globally 01:38 < shoan> which is used by all env and 01:38 < Wombert> and then there's another block only for development env, that enables debug mode 01:38 < Wombert> yep 01:38 < shoan> which is used by production only? 01:38 < Wombert> you can also do 01:38 < Wombert> 01:38 < Wombert> that's for four envs then 01:38 < Wombert> okay, three actually xD 01:39 < shoan> hehe 01:41 < shoan> the code templates still have .ini documentation 01:42 < Wombert> yeah I know 01:42 * Wombert kicks apache 01:42 < Wombert> sooo close man 01:42 < Wombert> so close 01:42 < shoan> so close to what? 01:42 < Wombert> RewriteRule (.*) index.php?/$1 [QSA,L] 01:43 < Wombert> if the url is /foo%20bar?foo=bar%20baz 01:43 < Wombert> QUERY_STRING will be "/foo bar&foo=bar%20baz", not "foo%20bar&foo=bar%20baz" like on lighty 01:44 < Wombert> RewriteMap urlencode int:escape 01:44 < Wombert> RewriteRule (.*) index.php?/${urlencode:$1} [QSA,L] 01:44 < Wombert> would be the solution (escape is an apache default rewrite map) 01:44 < Wombert> however, RewriteMap is not allowed in .htaccess :< 01:58 < Macca> why only 8192371283 ? 01:59 < Macca> what if i need 8192371287 ? 01:59 < Wombert> bad luck 01:59 < Macca> =( 02:06 -!- benny`work [n=benny@p54AC44FA.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:15 * shoan yawns 02:17 < shoan> Wombert: I might have asked you this earlier ... why does agavi use initialize() instead of __construct()? 02:17 < Wombert> I have no idea 02:18 < Wombert> I asked feti the same thing a couple of days ago 02:18 < Wombert> he said he has no idea 02:18 < Wombert> oh no wait 02:18 < shoan> wtf 02:18 < Wombert> he told me why but I didn't get it 02:19 * shoan looks up channel log 02:20 < Wombert> 22:50 < Wombert> why did you decide to use initialize() 02:20 < Wombert> 22:50 < Wombert> instead of the constructor 02:20 < Wombert> 22:50 < feti> i don't remember 02:20 < Wombert> 22:50 < feti> i think because the way PHP's constructors work. they're not in a standard C++ Java style 02:20 < Wombert> 22:50 < feti> and it upset me it hink 02:20 < Wombert> 22:51 < Wombert> standard c++ java style? 02:20 < Wombert> 22:51 < Wombert> you mean you can't call super() or what? 02:20 < Wombert> 22:51 < feti> nono. the fact that it doesn't. 02:20 < Wombert> 22:52 < feti> if you don't provide a constructor it won't 02:20 < Wombert> 22:52 < feti> so i wanted people to not get used to the way PHP works and be forced to use this 02:20 < Wombert> 22:52 < feti> that way they aren't like 'omg, why isn't it working?!' 02:20 < Wombert> 22:52 < feti> i got enough hate mail as it was for dev versions being less than 100% stable. thought it was funny. 02:20 < Wombert> 22:53 < feti> out of my hands now anyways. i'm assuming you just changed it. 02:20 < Wombert> 22:53 < feti> not something i'm worried about. 02:21 < shoan> i dont get it 02:21 < Wombert> yeah me neither 02:21 < shoan> why not dump initialize for __construct? 02:21 < Wombert> yeah good question 02:21 < shoan> since nobody seems to even remember why it was used ;) 02:28 < shoan> maybe you should file a ticket for it so that it doesn't slip off the radar 02:30 < Wombert> not sure if I wanna do it for 0.11 or 1.0 02:30 < Wombert> let's make it 2.0, okay? 02:30 < shoan> :) 02:30 < shoan> sure 02:31 < Wombert> http://trac.agavi.org/trac.cgi/ticket/324 02:31 < shoan> when is 0.11 going to be out? Its hard to convince the bosses to upgrade without the release 02:36 < shoan> I am off to sleep now 02:36 < shoan> take care Wombert 02:37 < Wombert> re 02:37 < Wombert> sorry, fighting with colloquy a bit here 02:37 < Wombert> good question... 0.11... 02:37 < Wombert> I need to finish the work on FPF 02:37 < Wombert> make CachingEF work again 02:37 < shoan> any tentative time lines? 02:38 < Wombert> and then sit down with dominik for a day so we can decide on how i18n works and implement it 02:38 < Wombert> I'd say beta 1 will be out any day now 02:38 < Wombert> maybe next week 02:38 < Wombert> maybe... 02:38 < shoan> ok 02:38 < shoan> cool 02:44 -!- shoan is now known as [s]hoan 03:19 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 03:19 < impl> Wombert: Still around? Sorry I had to run earlier 03:19 < Wombert> no problem 03:22 < impl> Wombert: I only have Apache 2.0.55 on this computer... is that acceptable, or should I upgrade? 03:22 < Wombert> lol 03:22 < Wombert> no man that's perfect 03:23 < Macca> impl, how do i find the volume bounded by y=x^3, x=0, y=1 rotated about the y-axis? 03:23 < impl> Okay 03:23 < Macca> i have apache 2.2.3i think 03:23 < impl> Macca: Fuck off, I haven't gotten that far in calculus yet 03:23 < Macca> :( 03:23 < Macca> Server version: Apache/2.2.3 03:23 < Macca> Server built: Aug 10 2006 15:03:59 03:23 < Macca> :D 03:23 < Wombert> you know what ;) 03:23 < impl> Macca: Good, go test the sample app plzkthx 03:23 < Wombert> you'll both test this for me 03:23 < Wombert> grab the sample app 03:23 < Wombert> enable rewriting 03:24 < Wombert> and then call the "search engine spam" link until the address contains "mad%20coding%20skills" 03:25 < Wombert> hahaha 03:25 < Wombert> http://www.topgear.com/content/features/stories/2006/08/stories/15/1.html 03:28 < impl> Congratulations! 03:28 < impl> 03:28 < impl> You just found the #1 place to buy mad coding skills at low prices! 03:28 < Wombert> good 03:28 < impl> That's 2.0.x 03:28 < Wombert> thanks 03:28 < impl> mhm 03:29 * impl jabs Macca in the side 03:30 * Macca sides impl in the jab 03:36 -!- Wombert [n=Wombert@dslb-088-064-001-110.pools.arcor-ip.net] has quit [] 03:48 -!- Wombert [n=Wombert@dslb-088-064-000-146.pools.arcor-ip.net] has joined #agavi 03:50 -!- Wombert [n=Wombert@dslb-088-064-000-146.pools.arcor-ip.net] has left #agavi [] 03:52 -!- Wombert [n=Wombert@dslb-088-064-000-146.pools.arcor-ip.net] has joined #agavi 03:53 < Wombert> re 05:14 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 05:19 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has joined #agavi 05:35 < pressureman> hey hey 05:38 < Wombert> hi 05:38 < pressureman> i'm converting my validators... getting ready to copy my app back into trunk 05:39 < pressureman> it's still far from optimal, but at least it nearly works again ;-) 05:41 < Wombert> :) 05:45 < pressureman> i might pick your brain in the next day or two about how to create an exception template for xml 05:58 < pressureman> i just found a type in the Agavi source 05:58 < pressureman> tyop 05:58 < pressureman> er... once more.. typo 05:59 < pressureman> ;-) 05:59 < Wombert> where 05:59 < pressureman> in config/AgaviValidatorConfigHandler.class.php 05:59 < pressureman> AgaviEmaiValidator 05:59 < pressureman> should be AgaviEmailValidator 05:59 < pressureman> in the classmap array 06:00 < CIA-6> david * r1029 /trunk/src/config/AgaviValidatorConfigHandler.class.php: typo fix 06:00 < pressureman> danke 06:01 < Wombert> you're welcome 06:01 < Wombert> I haven't added support for per-output-type exception templates yet 06:01 < pressureman> that emailvalidator regex might be wrong 06:01 < pressureman> i'm inputting a valid email, but it's still choking 06:02 < Wombert> yeah probably 06:02 < pressureman> the old one worked 06:02 < Wombert> there's a discussion about it every couple of days 06:02 < pressureman> heh 06:02 < pressureman> do an MX lookup and a VRFY ;-) 06:02 < Wombert> xD 06:14 < pressureman> i see in ticket #324 you're planning to kill initialize() 06:15 < pressureman> how soon is that likely to happen? 06:15 < pressureman> i use initialize in most of my models 06:16 < Wombert> as the milestone says 06:16 < Wombert> 2.0 06:16 < Wombert> also, we'll probably keep them for models then 06:16 < pressureman> ok... heheh i probably will have handed this project to somebody else by then ;-) 06:34 -!- pressureman [n=pressure@ip-202-37-228-10.internet.co.nz] has quit ["Trillian (http://www.ceruleanstudios.com"] 06:34 < [s]hoan> morning folks 06:34 -!- [s]hoan is now known as shoan 06:35 < Wombert> hi 07:46 < shoan> Wombert: you there? 07:46 < Wombert> yo 07:47 < shoan> what happens when routing is enabled and no routes are specified for the environment? 07:47 < Wombert> good question ;) 07:47 < Wombert> it'll use the 404, most likely 07:48 < shoan> couple of observations 07:48 < shoan> the generated urls are without index.php but suffixed with a ? 07:48 < shoan> like in 07:49 < shoan> http://nirvana.local/~shoan/sandbox/agavi/samples/pub/secure? 07:49 < Wombert> lighty? 07:50 < shoan> no apache 07:50 < shoan> and there is no .htaccess 07:50 < Wombert> uuuhm 07:50 < Wombert> so no rewrites? 07:50 < Wombert> wtf 07:50 < Wombert> oO 07:50 < shoan> yep 07:50 < Wombert> what's your rewrite rule? 07:50 < shoan> no rewrites 07:50 < Wombert> ah 07:50 < Wombert> lol 07:50 < Wombert> wtf wtf wtf wtf 07:50 < Wombert> I need info about your env 07:50 < shoan> doesn't matter 07:50 < Wombert> a phpinfo() would help 07:51 < shoan> ok 07:51 < shoan> i email it to you 07:51 < Wombert> sure 07:53 < shoan> could my using apache 1.3.33 cause the problem? 07:54 < shoan> sent. 07:55 < shoan> here is what I did to the sample app 07:55 < shoan> added to routing.xml:27 07:55 < shoan> and bootstrapped development 07:56 < Wombert> aaaaaaaah 07:56 < Wombert> yeah well that can't work then! 07:56 < Wombert> easy to explain 07:56 < Wombert> you bootstrapped devel 07:56 < Wombert> but there are no routes for it 07:57 < shoan> so shouldn't that be an exception? 07:57 < Wombert> so gen() tries to generate routes with don't exist 07:57 < Wombert> no 07:58 < shoan> hmm 07:58 < shoan> i get an apache 404 07:59 < Wombert> yes! 07:59 < Wombert> of course 07:59 < Wombert> it's all okay 07:59 < Wombert> look 07:59 < Wombert> gen('login') is called 07:59 < Wombert> but login doesn't exist 08:00 < Wombert> so it assumes that is an actual url 08:00 < Wombert> and the base path is the path where index.php is 08:02 < shoan> hmm...still feels like a weird behaviour ;) 08:03 < Wombert> why 08:08 < shoan> hmmm 08:08 < shoan> no idea 08:11 < shoan> Wombert: isn't it bedtime? 08:12 < Wombert> it's 7am and I'm trying to fix my "broken" rythm 08:31 < eremit> morning 08:31 < shoan> eremit: morn 08:38 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:42 < raidman> morning guys :) 08:59 -!- [1]eremit [n=eremit@p5490F8A0.dip.t-dialin.net] has joined #agavi 08:59 -!- eremit [n=eremit@p5490EECB.dip.t-dialin.net] has quit [Nick collision from services.] 08:59 -!- [1]eremit is now known as eremit 09:07 < v-dogg> huomenta 09:07 < ttj> Huomen. 09:10 < Wombert> :) 09:17 < v-dogg> wombie zombie 09:32 < splatch`> hello 09:32 < splatch`> :) 10:32 < shoan> did zombie finally go to bed? 10:54 < eremit> can i somehow auto publish the AgaviConfig contents into templates ? 11:34 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has joined #agavi 11:34 < digitarald> Morning :) 11:34 -!- shoan_ [n=shoan@59.92.161.182] has joined #agavi 11:41 -!- shoan [n=shoan@59.92.207.75] has quit [Read error: 60 (Operation timed out)] 11:47 -!- digitarald [n=Miranda@76.Red-81-35-131.dynamicIP.rima-tde.net] has quit [Read error: 60 (Operation timed out)] 12:04 < Macca> huomenta 12:04 -!- shoan_ is now known as shoan 12:05 < eremit> huh .. is there a reason for not having a AgaviModelException ? 12:08 -!- shoan is now known as sho[a]n 12:38 < Macca> make one! 12:50 < eremit> Macca, that was not my question ... sure creating one is easy, but normally wombert and co have a reason not doing so :P 12:50 < Macca> ... you'd think that... wouldn't you? 13:23 < v-dogg> eremit: probably no-one has ever needed one. Models probably have their own application domain specific exceptions 13:23 < eremit> ok ... 13:24 < v-dogg> do you disagree? 13:24 < eremit> not really ... i changed my mind and created a ModelMessage object, which either holds the error or a success information 13:24 < v-dogg> ok 13:26 < eremit> gna php and it'S totally stupid interface implementation O o 13:26 < v-dogg> woot? 13:27 < eremit> the interface says: public function save($con = null) ... my implementation says save(Connection $con = null) ... result : 13:27 < eremit> UserModel::save() must be compatible with that of Persistent::save() 13:28 < v-dogg> yeah, that is stupid 13:32 < sho[a]n> why doesn't propel return an empty object when a record isn't found? 13:33 < v-dogg> I think null is better and clearer 13:33 < sho[a]n> but more checking needed 13:34 < v-dogg> why? you still have to somehow find out whether the record was found or not, don't you? 13:35 < sho[a]n> hmm 13:35 < sho[a]n> lets say you are printing list of items purchased and transaction details 13:35 < sho[a]n> some items may not have a transaction record 13:36 < sho[a]n> so looping through $items->getTransactionCode() will not work on all records 13:36 < v-dogg> I thought you were talking about a single record fetched by primary key 13:36 < sho[a]n> rather $items->getTransaction()->getCode() 13:37 < v-dogg> yep 13:37 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 13:37 < sho[a]n> i need to do ($items->getTransaction()?'':$items->getTransaction()->getCode()) 13:37 < sho[a]n> for every linked table 13:39 < sho[a]n> which sucks 13:39 < v-dogg> agreed 13:40 < splatch`> ziew 13:40 < sho[a]n> would have been better if propel gave me an empty object for ->getTransaction() so that ->getCode() doesn't barf 13:41 < v-dogg> but that would be ambiguous in some other cases 13:41 < sho[a]n> which cases? 13:41 < v-dogg> you wouldn't know if there's a record really or not 13:41 < sho[a]n> if there was a record, you would get a value, right? 13:43 < v-dogg> and how would you know if there's a record but that field is null? 13:47 -!- digitarald [n=Miranda@109.Red-81-35-132.dynamicIP.rima-tde.net] has joined #agavi 13:59 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 14:00 < sho[a]n> hmm..good question 14:03 -!- digitarald| [n=Miranda@15.Red-81-35-131.dynamicIP.rima-tde.net] has joined #agavi 14:03 < digitarald|> inet sucks today 14:06 -!- digitarald| [n=Miranda@15.Red-81-35-131.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 14:16 -!- digitarald [n=Miranda@109.Red-81-35-132.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 14:18 -!- digitarald [n=Miranda@156.Red-81-35-104.dynamicIP.rima-tde.net] has joined #agavi 14:28 -!- digitarald [n=Miranda@156.Red-81-35-104.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 14:33 -!- digitarald [n=Miranda@127.Red-80-39-239.dynamicIP.rima-tde.net] has joined #agavi 14:44 -!- sho[a]n [n=shoan@59.92.161.182] has quit [] 14:57 -!- digitarald [n=Miranda@127.Red-80-39-239.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 15:14 -!- digitarald [n=Miranda@222.Red-80-39-238.dynamicIP.rima-tde.net] has joined #agavi 15:14 < digitarald> did i mentioned that inet fucked up 15:26 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 15:32 < splatch`> digitarald: you have problems with connection? 15:34 < digitarald> sometimes ... the router ... it drives me nuts ... and the whole company 15:36 < digitarald> we moved to the new office ... still are moving 15:37 < eremit> http://www.phpdeveloper.org/news/6171 15:43 < ttj> Hmm... Does anyone know if there's any sort of easy way to output a DOMElement as XML? 15:44 < ttj> Or can I say "create a new DOMDocument with this DOMElement as the root"? 15:45 < ttj> Since that'd allow me to call DOMDocument->saveXML(). 15:50 < splatch`> ttj: saveXML([node]) 15:52 < splatch`> ttj: try $doc->saveXML($doc->firstChild->firstChild); 15:54 < ttj> saveXML takes arguments? 15:54 < ttj> Oh my. :P 15:54 < ttj> Well, that's another hour well spent. :P 15:56 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 16:10 -!- eremit [n=eremit@p5490F8A0.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 16:10 -!- digitarald [n=Miranda@222.Red-80-39-238.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 16:37 -!- digitarald [n=Miranda@227.Red-83-38-116.dynamicIP.rima-tde.net] has joined #agavi 16:39 < v-dogg> re 16:39 < ttj> Fw: 16:40 < v-dogg> Vs: 16:40 < v-dogg> stupid translations :) 16:40 < v-dogg> utterly stupid idea to begin with 16:43 -!- shoan [n=shoan@61.95.206.107] has quit [] 17:14 < splatch`> ttj: as you see - save XML takes arguments ;) 17:43 -!- digitarald [n=Miranda@227.Red-83-38-116.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 17:43 -!- eremit [n=eremit@p5490F8A0.dip.t-dialin.net] has joined #agavi 18:28 -!- digitarald [n=Miranda@19.Red-83-45-56.dynamicIP.rima-tde.net] has joined #agavi 18:44 -!- benny`work [n=benny@p54AC1784.dip0.t-ipconnect.de] has joined #agavi 18:57 -!- digitarald [n=Miranda@19.Red-83-45-56.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 19:34 -!- digitarald [n=Miranda@10.Red-83-35-231.dynamicIP.rima-tde.net] has joined #agavi 19:43 -!- digitarald [n=Miranda@10.Red-83-35-231.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 21:07 < Wombert> re 21:07 < Wombert> v-dogg: stupid translations? 21:25 < splatch`> who use Vim? 21:33 < v-dogg> splatch`: occasionally 21:34 < v-dogg> Wombert: Finnish version of outlook uses Vs: instead of Re: 21:34 < v-dogg> which is kinda stupid me thinks 21:35 < Wombert> ah 21:35 < splatch`> v-dogg: do you use an project-plugin? 21:35 < Wombert> I thought you were talking about agavi 21:35 < Wombert> but yes that sucks 21:45 < v-dogg> splatch`: no 21:45 < v-dogg> I don't do any serious coding with it 21:46 < v-dogg> just some simple bug fixes that are easier to do on the server using ssh (usually in a rush :) 21:46 < splatch`> who uses Eclipse? ;) 22:01 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:05 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 22:07 -!- raidman [i=armen@unaffiliated/raidman] has quit [Client Quit] 22:08 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 22:08 -!- raidman_ [i=armen@unaffiliated/raidman] has quit [Connection reset by peer] 22:08 -!- raidman_ [i=armen@unaffiliated/raidman] has joined #agavi 22:09 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has quit [Nick collision from services.] 22:09 -!- raidman_ is now known as raidman 22:09 -!- raidman [i=armen@unaffiliated/raidman] has quit [Client Quit] 22:43 < splatch`> Wombert: I was looked for "resolvers" like in Agavi 22:43 < splatch`> thats really great! 22:48 -!- raidman|Away [i=armen@unaffiliated/raidman] has joined #agavi 22:48 -!- raidman|Away is now known as raidman 23:04 < splatch`> who created icons for the Agavi error pages? 23:13 -!- implement [n=impl@adsl-221-46-58.rmo.bellsouth.net] has joined #agavi 23:15 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Nick collision from services.] 23:15 -!- implement is now known as impl 23:17 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 23:25 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 23:28 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 23:32 < Wombert> re 23:32 < Wombert> splatch`: resolvers? 23:32 < Wombert> the icons are embedded SVG versions of icons from the tango project 23:34 < splatch`> Wombert: yes, routes and sub-routes 23:38 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] --- Day changed Thu Aug 31 2006 00:00 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 00:22 < splatch`> http://blog.dywicki.pl/2006/08/30/mojavi-4-dlaczego-nie/ 00:22 < splatch`> Why I do not continue Mojavi 4? 00:22 < splatch`> I'll use Agavi! 00:26 < impl> It's all in Polish :< 00:26 < impl> Man, what a language 00:27 < splatch`> impl: yes, because my blog read only polish developers 00:27 < splatch`> impl: ? :] 00:28 < splatch`> impl: propalby polish is one hard language 00:28 < splatch`> only chinese chardest 00:28 < splatch`> i go sleep 00:28 < impl> D: 00:28 < splatch`> bye 00:28 < impl> Goodnight then 00:29 < splatch`> impl: maybe in next year i'll write in english, maybe 00:29 < splatch`> [d 00:29 < splatch`> ] 00:29 < splatch`> [d] 00:29 < impl> Your English isn't bad 00:29 < impl> Not great, but not too bad :) 00:29 < impl> I'm sure it's much better than any attempt at Polish I'd be able to make anyway 01:18 -!- benny`work [n=benny@p54AC1784.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:25 -!- eremit [n=eremit@p5490F8A0.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 03:11 -!- implement [n=impl@adsl-221-38-168.rmo.bellsouth.net] has joined #agavi 03:12 -!- impl [n=impl@httpcraft/php/nforbes] has quit [Nick collision from services.] 03:12 -!- implement is now known as impl 03:21 -!- eremit [n=eremit@p5490F4B8.dip.t-dialin.net] has joined #agavi 03:40 -!- Wombert_ [n=Wombert@dslb-088-064-000-206.pools.arcor-ip.net] has joined #agavi 03:54 -!- Wombert [n=Wombert@dslb-088-064-000-146.pools.arcor-ip.net] has quit [Read error: 113 (No route to host)] 04:03 -!- shoan [n=shoan@59.92.161.182] has joined #agavi 04:04 < Wombert_> morning shoan 04:05 < shoan> morning Wombert_ 04:06 -!- Wombert_ is now known as Wombert 04:09 < Wombert> oh wtf 04:13 < Wombert> wwwwttttffff 04:13 < Wombert> :<<<<<< 04:13 < Wombert> someone help me :S 05:13 < CIA-6> david * r1030 /trunk/ (5 files in 4 dirs): lighttpd support for routing + tests + docs 05:13 < Wombert> shoan: there you go 05:13 < impl> :S? 05:13 < Wombert> the manual (cookbook) explains how to set it up 05:14 < Wombert> index.php removal, I mean 05:14 < shoan> yay 05:14 < shoan> thanks Wombert 05:14 < Wombert> let me know if you have any trouble 05:14 < shoan> will check it out later today 05:14 < Wombert> you can likely just copy the rewrite rule from the manual 05:34 -!- impl [n=impl@httpcraft/php/nforbes] has quit ["Leaving"] 07:59 -!- raidman|Away [n=raidman@85-18-14-41.fastres.net] has joined #agavi 08:07 < v-dogg> huomenta 08:09 < Macca> humonentanataorama 08:11 < v-dogg> what's up Macca 08:11 < Macca> not much 08:11 < Macca> just still working away 08:12 < v-dogg> working is good :) 08:12 < Macca> heh 08:13 < v-dogg> just got to work myself 08:13 < Macca> i've been at work 08:13 < Macca> all day 08:14 < Macca> since i live here 08:14 < Macca> =D 08:14 -!- jake [n=jake@c-24-19-45-189.hsd1.wa.comcast.net] has joined #agavi 08:15 < v-dogg> time to for some coffee and breakfast 08:15 < Macca> have fun! 08:15 < v-dogg> and after that: mad agavi coding 08:16 < jake> hey all 08:16 < v-dogg> hi jake 08:17 < jake> hey v-dogg enjoy your breakfast :) 08:19 < Macca> hmm 08:20 * Macca downloaded the office.. but it's the US one :( 08:20 < Macca> where do i find the UK 08:20 < v-dogg> office? 08:21 < v-dogg> open? ms? 08:21 < Macca> the office.. .the show 08:21 < v-dogg> the tv series? 08:22 < Macca> yes 08:23 < eremit> morning 08:23 < v-dogg> morning eremit 08:24 < v-dogg> I think the US version starts here shortly 08:25 < v-dogg> I've watched the original version every now and then 08:46 -!- shoan [n=shoan@59.92.161.182] has quit [] 09:22 < splatch`> oi all! 09:22 < eremit> hoi splatch` 09:23 < eremit> :( - gna .. this cannot be true, zend studio crashed again completly ... honestly reinstall studio every other day is bs ... :/ 09:24 < splatch`> eremit: try eclipse and PHP IDE or PHP Eclipse 09:25 < eremit> can it debug code directly on webservers with local code display and without the need to insert hardcoded breakpoints ? 09:25 < splatch`> eremit: PHP IDE have debugger 09:26 < splatch`> debuger works like in Zend 09:26 < eremit> exactly the same debugger ? 09:26 < splatch`> I don't know, Zend write this debugger 09:28 < splatch`> I never use Zend 09:29 < eremit> the only thing it must have is debugging on other hosts than localhost .. 09:30 < splatch`> hm.. now PHP IDE maybe haven't this feature 09:30 < splatch`> I'm downloading new Eclipse 09:30 < splatch`> and PHP IDE 09:31 < splatch`> eremit: http://www.zend.com/phpide 09:31 < splatch`> *Download Web Server Debugger* 09:31 < eremit> read the next sentence : Download the Zend Platform to add Web Server powerful integrated debugging 09:31 < eremit> it's their fecking platform ... 09:32 < splatch`> zend platform is so enterprise! ;) 09:33 < eremit> it's a stupid attempt to make money with the "foobar Enterprise" boom ... 09:34 < eremit> call it enterprise and it's worth additional 500bucks ... 09:34 < jake> Actually the debugging capabilities of PHP suck. I'm not sure how zend platform makes it better, but any improvement is wanted 09:35 < eremit> their trick ... and it's a good trick ... is the debugger not only pushes debug information to the ide ... it also pushes the whole source to the ide ... 09:36 < eremit> that's why you can debug files not being on localhost ... and it recognizes if you have the same source in your local project ... 09:36 < eremit> it's some kind of automatic uri path mapping ... 09:48 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has joined #agavi 09:55 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 10:00 -!- Macca [i=brendanm@maccasoft.com.au] has quit [Read error: 110 (Connection timed out)] 10:20 < shoan> v-dogg: there? 10:21 < v-dogg> _o/ 10:21 < shoan> cool 10:21 < v-dogg> yeah, very cool :) 11:50 -!- Macca [i=brendanm@maccasoft.com.au] has joined #agavi 12:38 -!- raidman [i=armen@unaffiliated/raidman] has joined #agavi 12:44 -!- raidman [i=armen@unaffiliated/raidman] has quit ["#killall raidman"] 13:15 -!- digitarald [n=Miranda@62-43-0-206.user.ono.com] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 13:41 -!- digitarald [n=Miranda@63.Red-83-43-101.dynamicIP.rima-tde.net] has joined #agavi 13:41 < digitarald> morning 13:41 < shoan> morning 13:42 < digitarald> since 2 days the 'index.php' is prepended again to my routings ... what do i have to edit? 13:42 < shoan> .htaccess 13:42 < v-dogg> yep, routing was changed a couple of days ago 13:48 < digitarald> ok ... did fix it 14:04 < ttj> Umm... When are things expected to stabilize? :-) 14:04 < jake> when is the next solar eclipse? 14:04 < shoan> ttj check the logs 14:04 < shoan> asked wombert that earlier :) 14:07 < ttj> Ah. :-) 14:38 < digitarald> ah ... booked 2 tickets for sevilla ... 1th address for tapas and beer ... 14:38 < splatch`> beer? ;) 14:39 < digitarald> enter a bar, trink beer, get free tapas ... go to the next bar ... 14:40 < v-dogg> mm... beer... 14:41 < splatch`> I have higligh on "beer" ;) 14:41 < splatch`> and piwo 14:41 < splatch`> piwo = beer in polish 14:45 < ttj> No. No more Poles and no more piwo. :P 14:46 < ttj> At least the Poles I met in Italy were quite talented drinkers and I found myself from under the table fairly quickly. :P 14:47 < splatch`> ttj: :D 14:47 < splatch`> ttj: what did you drunk? ;] 14:47 < ttj> Can't remember. :P 14:47 < splatch`> beer or vodka? 14:47 < ttj> Beer, vodka, whisk(e)y, wines. 14:48 < ttj> At least. Possibly some cognac also, but I'm not really certain. :P 14:48 < splatch`> ttj: do not mix! 14:48 < ttj> I didn't decide the menu. 14:48 < splatch`> hehe ;) 14:50 < splatch`> Alcohol in Poland is problem :/ 14:51 < ttj> It's a problem here too. Namely that I don't have any, ATM. 14:51 < splatch`> ttj: here = ? 14:52 < Wombert> yeah I'd guess the whole "east bloc" (no offense) consists of farily skilled drinkers ;) 14:52 < Wombert> hi jake 14:52 * Wombert hugs v-dogg 14:52 < Wombert> lighty workin, shoan ? 14:52 < Wombert> brb 14:52 < ttj> splatch`: Finland. 14:52 < v-dogg> Wombert: hey there 14:52 < splatch`> Wombert: yeah, russian havve hardest drinkers 14:53 < splatch`> $temp--; $skil++ 14:53 < splatch`> ;) 14:53 < splatch`> $skill 14:53 < splatch`> russian can drink from writers 14:54 < splatch`> but no vodka, the spirit :) 14:56 < shoan> Wombert: didn't get around to testing it yet. sorry 14:57 < splatch`> yesterday I created first action in Agavi .11 :) 15:01 < v-dogg> let's have a party :) 15:01 < splatch`> http://img.dywicki.pl/agavi.jpg my first page :) 15:11 < Wombert> :) 15:17 < splatch`> I think about integration - propel schema - wsdl types 15:17 < splatch`> this is possible 15:18 < splatch`> translate one XML to XSD 15:18 < splatch`> Wombert: configuration validation is cool feature ;] 15:18 < Wombert> :) 15:18 < splatch`> As you say, symfony routes is nothing ;] 16:35 < Wombert> http://www.youtube.com/watch?v=pgX-hiQdfFw and http://www.youtube.com/watch?v=D6P8JYY5AzI 16:35 < Wombert> oooh man the hoff is the best 16:35 * Wombert just ordered his little brother a "Don't Hassel The Hoff" t-shirt for his birthday 16:52 -!- shoan [n=shoan@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 16:57 < v-dogg> haha 17:01 -!- shoan [n=shoan@61.95.206.107] has joined #agavi 17:10 < splatch`> Wombert: jump in my car!;] 17:28 -!- digitarald [n=Miranda@63.Red-83-43-101.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 17:51 < eremit> ouch ... 17:51 < Wombert> grrrrrr 17:51 < Wombert> trying to get PHP as CGI running in IIS... mmmmmmmmm0000h 17:52 < eremit> is it intented that i lose all attributes during action -> view traverse which are not in the default namespace ? 17:52 < eremit> php as cgi on iis ? Oo 17:52 < Wombert> yeah 17:52 < eremit> glhf ... i havent got it working ... 17:52 < Wombert> it wants to download the document as application/octet-stream... 17:52 < Wombert> it works fine with ISAPI 17:53 < Wombert> but I heard there are problems (no REQUEST_URI) in CGI, so I must test it 17:53 < eremit> hm :/ ... 17:55 < Wombert> ARRRGH 18:10 -!- digitarald [n=Miranda@208.Red-81-37-114.dynamicIP.rima-tde.net] has joined #agavi 18:10 < Wombert> this is a real pain 18:10 < Wombert> wtf 18:19 < v-dogg> eremit: you loose attributes set via Action::setAttribute 18:19 < v-dogg> if you need namespaces, you have to use Request 18:22 < Wombert> omg windows 18:22 < Wombert> omg omg what a crappy OS 18:22 < Wombert> anyone here ever set up PHP as CGI on IIS... please, help :( 18:23 < v-dogg> _o_ 18:28 < v-dogg> what's the problem? 18:28 < Wombert> ISAPI works fine 18:28 < Wombert> but in CGI 18:28 < Wombert> I always get a download dialog for index.php 18:31 < v-dogg> :( 18:32 -!- digitarald| [n=Miranda@198.Red-83-45-56.dynamicIP.rima-tde.net] has joined #agavi 18:34 < splatch`> I'll create "the Agavi lobby" in Poland ;) 18:36 < Wombert> HAH 18:36 < Wombert> HAH 18:36 < Wombert> HAH 18:36 < Wombert> IIIII GOT YA 18:36 < Wombert> FUCKIN BUGGER 18:37 < Wombert> WHO'S THE BOSS HERE 18:37 < Wombert> HUH 18:37 * Wombert kicks IIS 18:37 < Wombert> but 18:37 < Wombert> zomg no REQUEST_URI and no QUERY_STRING in cgi mode 18:37 < Wombert> ahahahah 18:37 < v-dogg> waht? 18:38 < v-dogg> what are they called? 18:38 < Wombert> I'm about to find out 18:38 < Wombert> I hope 18:38 < splatch`> who use IIS? loghttpd are better ;) 18:39 < v-dogg> unfortunately quite a few, actually 18:40 -!- digitarald [n=Miranda@208.Red-81-37-114.dynamicIP.rima-tde.net] has quit [Read error: 101 (Network is unreachable)] 18:42 < v-dogg> blaaah... I'm once again trying to find an easy solution for pdf output 18:42 < Wombert> omg 18:42 < Wombert> omg 18:42 < Wombert> omg 18:43 < splatch`> o moj boze ;) 18:43 < Wombert> iis...cgi...php...killkillkillkill 18:43 < splatch`> that's will in polish ;) 18:43 < Wombert> two options 18:43 < Wombert> a) special fucking case for CGI IIS 18:43 < Wombert> b) CGI+IIS w/o ISAPI_Rewrite = not gonna work 18:44 < v-dogg> lousy options 18:44 < Wombert> yeah 18:45 < Wombert> hmmmmhmmmhmmmmhmmm 18:45 < Wombert> oh wait 18:45 < Wombert> I guess I could use some tape and wire to make it happen 18:45 < Wombert> mmmh yeah 18:45 < Wombert> or the big hammer 18:45 * Wombert goes try that 18:52 -!- digitarald| [n=Miranda@198.Red-83-45-56.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 19:00 -!- shoan [n=shoan@61.95.206.107] has quit [] 19:56 < v-dogg> was there a reason why __construct shouldn't throw exceptions? 19:57 -!- shoan [n=shoan@59.92.140.196] has joined #agavi 20:34 < v-dogg> \o\ 20:34 < v-dogg> \o/ 20:35 < splatch`> c[~] 20:36 < v-dogg> my hacked version of R&OS Pdf class is now php5 strict compatible and also handles wtf-8 20:41 < splatch`> v-dogg: zend_pdf is good clas 20:41 < splatch`> *class 20:52 -!- benny`work [n=benny@p54AC3A4F.dip0.t-ipconnect.de] has joined #agavi 21:58 < v-dogg> hmm... it seems to have some pretty nice feature like encoding support and ttf-font support 22:00 < v-dogg> but it's text auto-formating support is ~ nil 22:00 < v-dogg> no wrapping, aligning 22:00 < v-dogg> no automatic next page 22:00 < v-dogg> nutting 22:02 < v-dogg> but ability to open existing pdfs is really really nice 22:06 < shoan> v-dogg: isn't there fpdf which does that? 22:09 < splatch`> anyone have the complex validation example 22:09 < splatch`> with control statments? 22:09 < splatch`> *statements 22:10 < splatch`> hallo..? :/ 22:12 < v-dogg> oh f... zend "framework" uses require_once. lots and lots of them... and each file requires same files over and over again 22:12 -!- impl [n=impl@httpcraft/php/nforbes] has joined #agavi 22:12 < v-dogg> can't they have used some autoload implementation... 22:12 < splatch`> v-dogg: there is also Zend::loadClass 22:12 < splatch`> and loadFile 22:12 < impl> Zend is bleh 22:12 < impl> :\ 22:13 < splatch`> true 22:13 < splatch`> zend is marketing tool 22:15 < splatch`> I'll repeat my question 22:15 < splatch`> anyone have the complex validation example? 22:16 < v-dogg> so there's some Zend::loadClass and the "framework" itself uses ziljons of require_once? 22:17 < v-dogg> splatch`: how complex and how extensive? 22:17 < splatch`> v-dogg: with or/xor usage 22:17 < splatch`> I don't know how use this 22:17 < v-dogg> 22:18 < v-dogg> 22:18 < v-dogg> ... 22:18 < v-dogg> 22:18 < v-dogg> 22:18 < v-dogg> 22:19 < splatch`> param1 || param2 || param3 22:19 < splatch`> ? 22:19 < v-dogg> ? 22:20 < splatch`> i have 3 params 22:20 < splatch`> user must send one or more 22:21 < splatch`> if(male) 22:21 < splatch`> valid something 22:21 < splatch`> else 22:21 < splatch`> valid other thing 22:22 < v-dogg> do you know the basics of validation? 22:22 < splatch`> basic - yes, from M3 22:22 < v-dogg> MyModule/validate/MyAction.xml 22:22 < splatch`> I know ;) 22:23 < v-dogg> so then just follow my example there 22:23 < impl> Validation is with XML now? 22:23 < v-dogg> optional_parameter1 22:23 < v-dogg> impl: yep 22:24 < v-dogg> or you can register validators manually in action 22:24 < impl> o.O 22:24 < v-dogg> or you can validate manually 22:24 < impl> Cool 22:24 < splatch`> v-dogg: validate method 22:24 < v-dogg> and the are very versatile 22:24 < splatch`> ;] 22:25 < v-dogg> splatch`: so you are not using xml? 22:25 < splatch`> v-dogg: i'll try XML 22:26 < v-dogg> then you just use public function validate(AgaviParameterHolder $parameters) { if ($parameter->getParameter('male') { ... 22:26 < v-dogg> got to go to bed 22:26 < v-dogg> night 22:26 < v-dogg> splatch`: I'll help you tomorrow, if you still need assitance 22:26 < v-dogg> off -> 22:26 < impl> Night v-dogg 22:26 < splatch`> v-dogg: tomorrow i'll drunk ;) 22:26 < splatch`> [on this time] 22:39 < splatch`> automatic translation of the error messages - that will be cool 23:01 < Wombert> splatch`: yep, that will be supported soon 23:01 < splatch`> cool :) --- Log closed Fri Sep 01 00:00:07 2006