--- Log opened Thu Feb 01 00:00:55 2007 00:50 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 01:14 -!- GMFlash [n=gmflash@71.66.115.64] has joined #agavi 01:38 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"] 01:54 -!- implement [n=impl@httpcraft/php/impl] has joined #agavi 01:54 -!- impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.] 01:54 -!- implement is now known as impl 03:10 -!- Wombert [n=Wombert@dslb-084-056-053-209.pools.arcor-ip.net] has quit [] 03:19 -!- benny`work [n=benny@p54AC2E55.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:51 -!- luke`_ [n=luke`@59.92.142.27] has joined #agavi 04:01 -!- luke` [n=luke`@59.92.181.118] has quit [Read error: 110 (Connection timed out)] 04:34 < MrJeep> hum 04:34 < MrJeep> about validators again 04:34 < MrJeep> i want to use an equal validator 04:34 < MrJeep> but it must validate an optional information 04:35 < MrJeep> required="true" throws an error if the fields are not filled 04:35 < MrJeep> required="false" never checks it 04:39 < MrJeep> oh well, nevermind 05:24 -!- luke` [n=luke`@59.92.161.39] has joined #agavi 05:34 -!- luke`_ [n=luke`@59.92.142.27] has quit [Read error: 110 (Connection timed out)] 06:04 -!- luke`_ [n=luke`@59.92.173.128] has joined #agavi 06:13 -!- luke` [n=luke`@59.92.161.39] has quit [Read error: 110 (Connection timed out)] 06:55 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 07:37 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 07:49 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 08:20 -!- Arme[N] is now known as Arme[0] 08:28 -!- luke` [n=luke`@59.92.194.113] has joined #agavi 08:37 < v-dogg> huomenta 08:38 -!- luke`_ [n=luke`@59.92.173.128] has quit [Read error: 110 (Connection timed out)] 08:41 < v-dogg> 04:21 < DeadZen> i also just took over the mojavi project 08:47 -!- luke`_ [n=luke`@59.96.39.250] has joined #agavi 08:56 -!- luke` [n=luke`@59.92.194.113] has quit [Read error: 110 (Connection timed out)] 09:32 -!- luke`_ [n=luke`@59.96.39.250] has quit [] 09:40 < v-dogg> uhmm.. folks... need help kthx.. 09:41 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:42 < v-dogg> crap.. agavi is down 09:42 < _cheerios> yeah :/ 09:42 < v-dogg> (or dns) 09:43 < v-dogg> ok. now I'm totally stucked 09:43 < _cheerios> --> c0ffee 09:44 < v-dogg> something broke my validators, I have no idea what's going on and I can't even get to svn logs 09:44 < v-dogg> fuck 09:44 * v-dogg is riled 09:52 < _cheerios> only thing pissing me off is this swelling on my left eyebrow... probably some inflammation of a single hair or summit 10:11 -!- digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi 10:13 -!- MikeSeth [n=stuffit@unaffiliated/mikeseth] has joined #agavi 10:13 < MikeSeth> hallow 10:17 < _cheerios> hoi hoi 10:18 < MikeSeth> agavi.org down? :( 10:18 < _cheerios> yessir 10:18 < MikeSeth> aww 10:28 < v-dogg> yes... 10:36 -!- codecop [n=codecop@85.206.220.12] has joined #agavi 10:38 < _cheerios> how can I chain validators in a way, that if the first validator fails (giving an error msg), the next validator applied to the same field would not output errors too (it doesn't even validate, it just echoes the error!) 10:39 < v-dogg> people, should validators be less coupled with the validator manager? 10:43 < v-dogg> _cheerios: severity="critical" stops the validation when the first validator fail 10:44 < v-dogg> not sure if that's what you wanted 10:44 < _cheerios> problem is, that really stops all validation, only one error message is output 10:44 < v-dogg> yep 10:44 < _cheerios> (even if you have 10 fields) 10:45 < v-dogg> you have to ask kaos 10:45 < _cheerios> do i need to use the AndValidator? Im not familiar how it works in tieing up validators 10:45 < v-dogg> ah, andvalidator might work 10:47 < _cheerios> any idea on how the xml syntax should look like? 10:49 < v-dogg> http://pastebin.ca/335396 10:51 < horros> aaah 10:51 < horros> sweet 10:51 < _cheerios> thanks 10:51 < horros> I re-enabled amavisd-new and spamassassin yesterday 10:51 < horros> from 40 mails in my inbox of which 39 are spam down to one spam :) 10:52 < _cheerios> apparenly the result is the same, wether you use or not to bind the two together inside the And 10:57 < v-dogg> it seems to me that the only feasible way to re-use any validation code is to separate the actual validation from the validator::validate() 10:58 < v-dogg> ie. call myvalidationmodel from validator::validate 10:58 -!- eremit_ [n=eremit@p5490E685.dip.t-dialin.net] has joined #agavi 10:58 -!- eremit [n=eremit@p5490C277.dip.t-dialin.net] has quit [Nick collision from services.] 10:58 -!- eremit_ is now known as eremit 11:00 < eremit> heyja ... 11:01 < eremit> don't know if my last messages got sent ... but is svn.agavi.org currently down ? 11:01 < _cheerios> v-dogg, yeah the validation rules + validation seems to be tied 11:02 < v-dogg> eremit: yes, *.agavi.org is down 11:03 < eremit> gna ... :/ 11:03 < eremit> but ty ... 11:03 < v-dogg> yeah, tell me about it... 11:04 < eremit> last week it was phpdb.org while staging a project from developer testing to final testing ... and this week it's agavi ... maybe it's a curse on me ;) 11:06 < MikeSeth> v-dogg, got an Ajax tutorial for Agavi? 11:06 < v-dogg> nope 11:07 < MikeSeth> (hey everyone!) 11:13 < horros> v-dogg: what's "kirjaaja" in english?-) 11:15 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:15 < horros> o_O 11:15 < Xylakant> hi 11:15 * horros listens to the old guy in the office next door speaking german on the phone 11:15 < Xylakant> what happened to agavi.org? 11:16 < MikeSeth> tis down 11:17 < Xylakant> seems that the nameservers are dead 11:18 < MikeSeth> yep 11:34 -!- kaos- [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 11:35 -!- digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:35 -!- GMFlash [n=gmflash@71.66.115.64] has quit [Nick collision from services.] 11:35 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 11:37 -!- Netsplit niven.freenode.net <-> irc.freenode.net quits: kaos, CIA-20 11:38 -!- CIA-23 [i=cia@cia.navi.cx] has joined #agavi 11:44 -!- luke` [n=luke`@61.95.206.107] has joined #agavi 11:44 -!- digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi 11:45 < digitarald> Xylakant, swp is down too, i just saw it, wanted to take a look at my old favorite project :( 11:45 -!- digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit [Client Quit] 11:50 < MikeSeth> hey kaos- 11:50 < MikeSeth> sup 11:51 < Xylakant> digitarald: we noticed. the server lost a network interface 11:52 < Xylakant> thanks for the heads up :) 11:57 -!- luke` [n=luke`@61.95.206.107] has quit [] 12:10 -!- luke` [n=luke`@61.95.206.107] has joined #agavi 12:15 < luke`> is agavi svn down? 12:15 < v-dogg> yes 12:16 < luke`> :( 12:18 -!- digitarald [n=Miranda@229.Red-83-50-112.dynamicIP.rima-tde.net] has joined #agavi 12:21 < horros> you know, winmerge is slowly becoming my best friend :) 12:22 < v-dogg> you sad little nerd :) 12:25 < horros> hey, any friend who saves me hours and hours of work is worth cherishing :) 12:26 < v-dogg> I'm just checking your new best friend out 12:26 < v-dogg> she looks nice 12:26 < horros> indeed 12:26 < horros> she does have some peculiar quirks though 12:27 < horros> like folder compare might show files as different, and when you open it up, even if you have set "ignore comments", it'll only highlight a comment 12:27 < horros> but then again, nobody's perfect :) 12:30 < horros> UH OH 12:30 < horros> svn: Out of date: '/trunk/schema.sql' in transaction '1505-1' 12:30 < v-dogg> "Or you may simply unzip the binary zip package into the desired location, and run WinMergeU.exe", said the website convincingly 12:30 < horros> C D:/Projects/trunk/schema.sql 12:30 < horros> :(( 12:30 < v-dogg> but some MFC... DLL is missing 12:31 < horros> now who the hell has been tinkering with me' schema!?` 12:31 < horros> d'oh 12:32 < horros> (it's me) 12:32 < horros> :) 12:37 < horros> hmm 12:37 < horros> I wonder... 12:37 < horros> I think I might be able to solve this audit trail crap by pretty much editing the Object-template and regenerate all the OM-objects 12:37 < horros> AIEEEEEEEEEEEE! 12:38 < horros> COLD COFFEE! 12:38 * horros runs around screaming and spitting and coughing 12:40 < horros> hrrmm 12:40 < horros> feck 12:40 * horros ponders 12:41 < horros> HEY! THIS SHOULD EVEN WORK! 12:41 < horros> \o/ 13:05 < horros> hmm 13:05 < horros> crapola 13:05 < horros> I wonder how I'd go about pulling out the value for the primary key... :I 13:48 -!- Arme[0] is now known as Arme[N] 13:48 < digitarald> i need a tool that observes folders for changes and uploads them via ftp, any idea? 13:53 < horros> errm 13:53 < horros> wtf 13:54 < horros> I modified my propel templates and regenerated the OM-classes... and nothing changed :I 13:54 < _cheerios> IT DOES NOTHING!!! 13:56 < _cheerios> MACINTOSH Most Applications Crash, If Not The Operating System Hangs 13:56 < horros> hahah 13:56 < _cheerios> MCSE Minesweeper Consultant & Solitaire Expert 13:59 < v-dogg> hmph. 13:59 * v-dogg hates merging 14:00 < _cheerios> hmm, just noticed forms aint populated anymore 14:03 < _cheerios> ah. there. mustve forgot to set fpf back when updating configs. 14:03 * v-dogg is too stupid to do complicated tasks like merging two svn branches 14:05 < v-dogg> I've done loads of work in my branch (like removed folders and stuff) and only a few minor tweaks in trunk (one new file, 5 files modified, nothing conflicts with the branch) 14:05 < horros> v-dogg: I use winmerge for exactly that :) 14:05 < v-dogg> and now I don't seem to be able to merge those changes from the trunk :) 14:06 < horros> I never use svn merge 14:06 < horros> because 14:07 < v-dogg> so the easiest way to do this is to have c:\workspace\trunk and c:\workspace\mybr (checkouts from the svn) and manually merge changes with win merge? 14:07 < horros> if you have branch A and B, add some files to A and remove a file from B and merge from B to A, it'll delete the damn files you added in branch A :) 14:07 < v-dogg> exaclty! 14:07 < horros> v-dogg: that's what I do, and it has saved me 328956863 hours so far :) 14:07 < v-dogg> excaltaelyt 14:07 < v-dogg> thanks, I'll go do that :) 14:08 < horros> v-dogg: hint: sort the files by extension so you don't have to go through a billion xml files that aren't really important 14:08 < _cheerios> this svn merge sounds more complicated than it should be 14:08 < v-dogg> or maybe we are just too simple 14:08 < horros> v-dogg: hint2: alt+down-arrow moves to the next diff (both in the file and diff -view) 14:09 < horros> v-dogg: hint 3: alt+down-arrow, enter, alt+down-arrow to find the first diff in the files. left-arrow merges from right to left, right arrow from left to right. alt-down for the next diff 14:09 < horros> then esc, save, alt-down :) 14:09 < horros> fast as hell once you get the rhythm up :) 14:10 < horros> to copy files from one branch to the other (where they are missing), press alt-leftarrow or alt-rightarrow 14:15 < v-dogg> can I filter .svn dirs easily? 14:15 < horros> yeah 14:15 < horros> just a second 14:16 < horros> v-dogg: tools => filters => exclude source control 14:16 < digitarald> or export? 14:16 < v-dogg> ah 14:17 < horros> v-dogg: also: edit=>options=>compare=>ignore all (for whitespace), ingore blank lines, ingore carriage return diffs, enable moved block detection and filter comments 14:17 < v-dogg> digitarald: I'm merging changes from one checkout to other 14:17 < v-dogg> digitarald: so obviously I cannot export 14:18 < horros> v-dogg: you can also select the filter when you open the select files or folders dialog 14:18 < digitarald> right, but that filters out the .svn folders ;) 14:18 < horros> left:, right:, ****Filter:**** :) 14:22 < horros> WHAT THE HELL KIND OF BLACK MAGIC DOES PROPEL USE?!? 14:23 < v-dogg> cow hypnosis 14:23 < horros> I've nuked the damn classes propel-generator built and regenerated the damn classes, but it still doesn't seem to use the changes I've made to Object.tpl 14:23 < horros> I can't understand where the smeg it pulls the old crap from 14:23 < horros> and it even says "using template dir './templates' 14:30 < horros> got to go get something to eat 14:30 < horros> bbl 14:36 < v-dogg> r147 | vmakinen | merged from trunk 14:36 < v-dogg> \o/ 14:36 < v-dogg> :) 14:47 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 14:51 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has joined #agavi 14:53 < v-dogg> All Hail Wombert \o/ 14:55 < MikeSeth> \o/ 14:56 < v-dogg> The Ruler of All Good and Cool 14:56 < v-dogg> and agavi.org 14:57 < v-dogg> *wink* *wink* 15:02 < horros> AHA 15:03 < horros> Propel doesn't use the Object.tpl -file AT ALL 15:03 < horros> :( 15:05 < Wombert> not since 1.2.0 15:06 < Wombert> or even 1.3 15:06 < Wombert> but 1.3 shouldn't have it anymore 15:06 < Wombert> luke`, digitarald: I believe I figured the propel 1.3 instantiable peers stuff out 15:06 < Wombert> I can work on it next week 15:06 < Wombert> it will make it into propel 1.3 15:07 < v-dogg> Wombert: you know agavi.org is down, don't you? 15:11 < horros> smeg 15:11 < horros> I need to figure out how to get the primary key value of an object that was updated :I 15:13 < Wombert> holy crap the entire box is down, v-dogg 15:13 < Wombert> wtf 15:13 < Wombert> :S 15:14 < v-dogg> it isn't a mac, is it?-) 15:14 < Wombert> ah no 15:15 < Wombert> wtf 15:19 < horros> SUCCESS! 15:20 * horros h4x0rs PHP5ComplexObjectBuilder 15:20 < Wombert> getId() should give the new one after an update 15:20 < horros> that's assuming that the primary key column is named "id" :) 15:20 < horros> which it never is for me :) 15:21 < v-dogg> haha 15:22 < MikeSeth> argh ill be fucking dead 15:23 < MikeSeth> for(c = 0; c < tgt.options.length; c++) tgt.options[c] = null; <- this is how you remove select options, right? 15:23 < horros> YAY 15:23 < horros> this seems to be working magnificently 15:25 < Wombert> delete(tgt.options[c]) 15:25 < Wombert> but I think that reorders the array 15:25 < luke`> the apidocs look weird 15:28 * horros imports a billion of newly created OM classes 15:29 < horros> let's see if this works out like I hope it does... :) 15:31 < Wombert> v-dogg: it's a nameserver issue 15:32 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 15:32 < horros> w00t 15:32 < kaos-> you can actually use *.agavi.bitxtender.net 15:32 < kaos-> so trac.agavi.bitxtender.net works 15:32 < kaos-> and svn. too 15:33 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: nameserver problems, use *.agavi.bitxtender.net :: 0.11RC2 soon :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN (don't use trunk, earth will explode) :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: logs @ http://users.tkk.fi/~t 15:33 < horros> [2007-02-01 15:31:22] User id 10 (User, Test) INSERTED an object of type Patient with primary key 161 15:33 < horros> \/ 15:33 < horros> err 15:33 < horros> \o/ too 15:35 < MikeSeth> i *almost* got Ajax to work 15:36 < digitarald> AjaxActions? ;) 15:37 < digitarald> maybe i take a look in codeigniter, they have nice helpers 15:38 < MikeSeth> nah, just playing with YUI and some custom code 15:50 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 16:01 < horros> hmm 16:01 < horros> crap 16:01 < horros> getting the primary key of objects deleted with a criteria turns out to be rather tricky 16:02 < horros> ...short of running a select with the same criteria, getting the objects and then getting the primary keys for them 16:02 < horros> :I 16:02 * horros scratches head 16:02 < horros> innovative ideas welcome :) 16:08 < Xylakant> well, what are you trying to accomplish? 16:08 < horros> in short: audit trails. 16:08 < horros> that is, I need to log the primary key of items being deleted from any and all tables. 16:08 < Xylakant> right - then you need to do the select and then the delete 16:08 < horros> agreed. 16:09 < Xylakant> you could as well just flag the objects as deleted 16:09 < horros> I was hoping I could find a clever way to work around it :) 16:09 < horros> Xylakant: not really, no. 16:09 < Xylakant> afaik, there is none - mysql won't return the id's of the deleted objects, only the numer of affected items 16:10 < horros> luckily, however, I'm not forced to use that smelly heap of dung. 16:10 < horros> :) 16:10 < Xylakant> you could write a stored proc to do that, it would at least save you the roundtrip to the database 16:10 < Xylakant> afaik, postgres does not behave differently 16:10 < horros> then again, that'd mean I have to write (currently) about 60 stored procedures. 16:10 < horros> instead of editing propel's BasePeer :) 16:11 < Xylakant> but i'm no expert on that topic 16:11 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 16:11 < Xylakant> you could write a trigger that logs all deletes :) 16:11 < horros> well 16:11 < Xylakant> let the database do the audit trail. 16:11 < horros> a trigger needs a stored procedure that it runs. 16:11 < horros> so I'd still have to write the trigger for the 60+ tables. 16:12 < horros> in any case, DELETE FROM table; will never happen in this application, and you rarely delete more than one item at a time 16:12 < horros> well, counting cascades, maybe five or six 16:12 < Xylakant> write a generator script. this looks like a task that automates well 16:12 < horros> so I don't think the extra select is going to matter much 16:13 < horros> Xylakant: a generator script? well that's exactly what I'm doing. 16:13 < horros> well, editing one, to be exact. 16:13 < Xylakant> no, i meant for the triggers and the stored procs 16:14 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 16:14 < horros> meh, like I said, I don't think the performance impact of the extra selects will be much to worry about. 16:14 < Xylakant> especially since deletes are usually rather rare compared to other database operations 16:14 < horros> agreed. 16:15 < horros> in fact, there are three places where you run deletes in our app 16:15 < horros> except for when the RBAC is updated 16:15 < horros> which happens about once. period. 16:15 < horros> :) 16:16 < horros> right. so, on we go then. 16:16 < Xylakant> kaos: the new validator interface seems nice. one question though: why does the cache file generated from the xml not use ValidationManager::createValidator() but rather goes the long way round? 16:16 < Wombert> it's a tiny bit faster I guess 16:17 -!- Arme[N] is now known as Arme[0] 16:18 < Xylakant> it saves you 1 method call per validator... 16:18 < Xylakant> well, it doesn't really matter, just wanted to know. 16:23 < horros> hmpf 16:23 < horros> I'll continue with this tomorrow. 16:23 < horros> adieu 16:25 < Xylakant> is there any way to register routes after the config file has been loaded? 16:27 < Xylakant> what would be the time to do this - could a filter do it? 16:27 < Wombert> yes 16:27 < kaos-> it's a tiny bit faster I guess <-- thats the reason, yes 16:27 < Wombert> or maybe a custom routing implementation 16:28 < Wombert> what are you trying to do, Xylakant? 16:28 < kaos-> will probably only have measurable effect when used with many validators 16:29 < Xylakant> having some routes defined in a database 16:29 < Xylakant> or multiple config files 16:29 < Wombert> for multiple config files, you can use xinclude 16:29 < Xylakant> basically: a standard set of routes and a set of routes that depend on the project 16:30 < Wombert> xinclude and/or parent configs 16:30 < Wombert> no need for doing that by hand ;) 16:30 < kaos-> and you can use addRoute manually for db powered routings 16:31 < Wombert> 16:31 < Wombert> is all you need 16:31 < Wombert> look at project's autoload.xml files for instance 16:31 < Xylakant> actually, i'm trying to piece together some plugin architecture 16:31 < Xylakant> and a plugin should be able to register a route 16:32 < Xylakant> yes, but that would not work once I have to plugins trying to register a route? 16:33 < Xylakant> because two config files would both specify the same parent - i'd expect strange behaviour in that case 16:33 < Wombert> you could use xincludes then 16:34 < Wombert> you sure that plugin stuff isn't over engineered? :) 16:34 < Wombert> we might have something for that in 2.0 16:34 < Wombert> right now, xinclude and parent configs have to be enough 16:36 < Xylakant> well, i don't think that some sort of plugin architecture is overengineered 16:36 < Xylakant> i guess i'll go with manually registering the routes 16:37 < kaos-> does xinclude work with streams ? 16:37 < Xylakant> would a filter do? 16:37 < kaos-> (now that would be the pwn) 16:37 < Wombert> I believe it does, kaos- 16:37 < Wombert> I'm trying to find that out right now 16:37 < kaos-> then you could write a stream which creates a config from the db 16:37 < Wombert> was about to propose it :) 16:38 < Wombert> yep 16:38 < kaos-> that would be ultra nice 16:38 < Wombert> that would be the best way 16:38 < Xylakant> and include that config file. 16:38 < Wombert> no, xinclude from the stream 16:38 < Xylakant> yes, thats what i meant 16:38 < Xylakant> one problem though: the config parser would not realize that the config file has changed 16:39 < Xylakant> you'd have to manually clear the cache 16:39 < Wombert> that's always the case with xincludes and/or parents 16:39 < Wombert> not much we can do 16:39 < Wombert> WOOT 16:40 < Wombert> IT 16:40 < Wombert> WORKS 16:40 < Wombert> :> 16:40 < Wombert> haha man that's fucking awesome I think 16:40 < Wombert> wait 16:40 < Xylakant> officially 16:40 < Xylakant> xinclude supports phpstreams 16:40 < Wombert> it does? 16:40 < Wombert> cool 16:40 < Wombert> well http works, I just verified that 16:41 < Xylakant> Streams support 16:41 < Xylakant> All the XML extensions now support PHP streams throughout, even if you try to access a stream not directly from PHP. In PHP 5 you can access a PHP stream, for example, from an or from an directive. Basically, you can access a PHP stream everywhere where you can access a normal file. 16:41 < Xylakant> Streams in general were introduced in PHP 4.3 and were further improved in PHP 5 as a way of generalizing file-access, network-access, and other operations that share a common set of functions. You can even implement your own streams with PHP code, and thus unify and simplify access to your data. See the PHP documentation for more details about that. 16:41 < Wombert> but that might be an xinlude feature xD 16:41 < Wombert> cool 16:41 < Xylakant> from http://www.zend.com/php5/articles/php5-xmlphp.php 16:41 < Wombert> then I recommend you use that 16:41 < Xylakant> they should know 16:41 < MikeSeth> god damnit i hate ajax and javascript 16:41 < Xylakant> right. i'll dig into it and report back. 16:41 < MikeSeth> whole fucking day on a stupid selectbox widget 16:41 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 16:43 < digitarald> make it faster ... use mootools :P 16:46 < MikeSeth> <3 mootools 16:46 < MikeSeth> but I already use YUI, too much pain to hax 16:48 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["pain hurts"] 16:48 < digitarald> and now u have a nice looking selectbox? 16:48 < Xylakant> what happens if i have multiple tags for the same context in routing.xml? 16:49 < Xylakant> hmm. seems to work 16:49 < kaos-> they get merged 16:49 < MikeSeth> heh 16:50 < MikeSeth> digitarald, its not really a nice selectbox.. its like 5 selectbox chained into each other 16:50 < MikeSeth> creepy shit 16:50 < Xylakant> that's what i was hoping 16:51 < digitarald> ah, no selectbox-replacement, chained selectboxes ... that should be easy? ;) 16:58 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [] 16:59 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 17:00 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi [] 17:00 < MikeSeth> digitarald, not really, there's a complicated backend method that, well, builds queries and calculates dependencies to produce final values.. e.g. selecting one item in selectbox 3 can update selectbox 5, and another item might update selectbox 1 17:00 < MikeSeth> i know it doesnt make a lot of sense.. fucking accounting 17:01 < MikeSeth> in short its a bitch 17:01 < digitarald> sounds scary 17:01 < MikeSeth> yes. 17:02 < Xylakant> in which order will the config files be processed - i.e is the database available before the routing file gets processed? 17:03 < MikeSeth> IIRC no, there's an explanation to this in the "close up look at context" section of the manual 17:04 < Xylakant> ah 17:04 < Xylakant> i knew that paragraph was there but could not find it 17:05 < Xylakant> thanks 17:05 < Xylakant> routing is initialized last, database first 17:05 < kaos-> http://trac.agavi.bitxtender.net/browser/branches/0.11/src/config/AgaviFactoryConfigHandler.class.php#L232 17:05 < kaos-> thats the order 17:06 < Xylakant> and the config files are parsed the moment the respective component gets initialized I suppose 17:06 < Wombert> yep 17:07 < Xylakant> fine 17:24 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 17:34 -!- luke` [n=luke`@61.95.206.107] has quit [Read error: 54 (Connection reset by peer)] 17:41 < Wombert> http://ajaxian.com/archives/joe-hewitt-firebug-power-user-demo 17:42 < digitarald> live at yahoo, already saw it ;) 17:42 < digitarald> http://developer.yahoo.com/yui/theater/ yahoo smart asses talking about world domination ;) 17:43 < MikeSeth> bs 17:43 < MikeSeth> YUI is heavy 17:54 < v-dogg> what's up with agavi.org? 17:54 < v-dogg> I need the svn log :¨( 17:57 < Xylakant> see today's topic :) 17:57 -!- MikeSeth [n=stuffit@unaffiliated/mikeseth] has quit [Read error: 104 (Connection reset by peer)] 17:57 * v-dogg looks up 17:57 < v-dogg> \o/ 17:58 < Xylakant> use svn.agavi.bitextender.net for the time being 17:58 < Wombert> svn switch --relovate http://svn.agavi.org/ http://svn.agavi.bitxtender.net/ helps, too 17:58 < Wombert> *reloate 17:58 < Xylakant> *relocate 17:59 < v-dogg> bah, Right click -> Tortoise -> Switch 17:59 < v-dogg> :) 17:59 < Wombert> but enable relocate 17:59 < Wombert> I think it has a separate relocate item 17:59 < Wombert> don't switch! relocate 17:59 < Xylakant> it does 17:59 < Wombert> there's a difference! 17:59 < Wombert> k 17:59 < Wombert> it's the only thing I really miss on ze mac 18:00 < Xylakant> i wholeheartedly agree 18:00 < v-dogg> yep, you were right, switch doesn't work 18:01 < v-dogg> relocate did 18:01 < v-dogg> now, let's figure out what broke my validators 18:01 < Wombert> constructors 18:01 < v-dogg> I might need help, Wombert stay tuned plzkthx :) 18:01 < Xylakant> there's been an api change yesterday 18:02 < v-dogg> I don't have constructors in my validators 18:02 < v-dogg> only validate() 18:02 < digitarald> v-dogg, when u register validators by hand 18:02 < v-dogg> I don't 18:02 < Wombert> wootwoot 18:03 < Wombert> blame kaos- :) 18:03 < v-dogg> :) 18:03 < kaos-> lol 18:03 < kaos-> -17:00:55- why not 18:03 < kaos-> -17:01:00- because its much work 18:03 < kaos-> -17:01:04- most of the structural stuff he did sucks IMO 18:03 < kaos-> -17:01:04- and yet another major bc 18:03 < kaos-> ! 18:03 < kaos-> :P 18:12 < v-dogg> what the heck is going on... I can't figure out 18:12 < v-dogg> has provides-depends changed? 18:17 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 18:21 < Xylakant> Wombert: have you tried the svn bundle for textmate? 18:21 -!- benny`work [n=benny@p54AC3C75.dip0.t-ipconnect.de] has joined #agavi 18:22 < Wombert> Xylakant: I can't even remember the shortcut for "close all tabs" 18:22 < Wombert> textmate is a huge mess IMO 18:22 < Wombert> I leverage maybe 1% of it's features 18:22 < Wombert> I don't even use autocompletion (the few it offers) 18:24 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 18:24 < Xylakant> the svn bundle is quite nice 18:24 < impl> Gooood morning! 18:24 < Xylakant> once you remember the hotkey :) 18:25 < Xylakant> and the hotkey for close all tabs is the same as in any other mac application (well, pretty much any :) 18:26 < Wombert> control command w 18:26 < Wombert> yeah 18:26 < Wombert> it's just... 18:26 < Wombert> I dunnp 18:26 < Wombert> I have a really hard time memorizing the hotkeys 18:26 < Wombert> can't even remember go to line or so 18:26 < Xylakant> i know. theres soo many features 18:26 < Wombert> cmd+g? cmd+l? 18:26 < Wombert> and I poposed to allan that he adds a learning feature time and again but he can't be bothered 18:26 < Xylakant> cmd+l 18:27 < Wombert> you would hold down cmd and it shows you call commands 18:27 < Wombert> then you press control and it narrows them down 18:27 < Wombert> etc 18:27 < impl> Wombert: You wouldn't be very comfortable in emacs I don't think 18:27 < Xylakant> that list would be way too long :) 18:27 < impl> :P 18:28 < Wombert> look the problem is 18:28 < Xylakant> when i find the time, i'll write an agavi bundle. 18:28 < Wombert> I run svn->commit 18:28 < Wombert> and it shows only the currently open file 18:28 < Xylakant> adding a few hotkeys of my own 18:28 < Xylakant> you need to select the directory in the project gutter 18:29 < Xylakant> then it shows all modified files 18:29 < Wombert> -> useless 18:29 < Xylakant> or select the files you want in the commit in the gutter 18:29 < impl> So what editor/IDE is this? 18:29 < Xylakant> textmate 18:29 < Wombert> www.macromates.com 18:29 < impl> ah 18:30 < v-dogg> ok, figured out why nothing was validated (my isnotset validator didn't work). but now: where are my error messages and and fpf-added classes? 18:37 < v-dogg> Wombert, kaos-: any idea? 18:38 < kaos-> O_o 18:38 < kaos-> the request error retrieval methods should actually still work as in earlier versions 18:38 < kaos-> but i changed the entire storage layout of the errors 18:39 < kaos-> so the request attributes which stored the errors are gone 18:39 < kaos-> are you directly accessing these ? (i doubt it, but who knows xD) 18:39 -!- codecop [n=codecop@85.206.220.12] has quit ["Have to go"] 18:40 < v-dogg> I show error messages just like in the sample app (Master.php) 18:40 < v-dogg> they are still in the request object? 18:40 < kaos-> no 18:40 < kaos-> the request fetches them from the validation manager 18:41 < Wombert> he means the methods 18:41 < Wombert> yes, v-dogg 18:41 < v-dogg> ok 18:41 < v-dogg> var_export($this->context->getRequest()->getErrorMessages()); => array ( 0 => array ( 'message' => NULL, 'errors' => array ( ), ), ) 18:41 < v-dogg> nutting there :( 18:42 < kaos-> what does validationManager->getIncidents() return ? 18:43 < v-dogg> hey, the "default" error message is not used anymore if the error specific message is not set? 18:43 < Wombert> bugbugbug! :) 18:44 < kaos-> no 18:44 < kaos-> that works 18:44 < Wombert> :< 18:44 < Xylakant> possible that the default error message ist now the index '' in the errors array? 18:44 < kaos-> not now 18:44 < kaos-> it's always been 18:44 < Xylakant> and used to be 'default' or something? 18:44 < Xylakant> ok 18:45 < v-dogg> I changed $this->throwError('error'); to $this->throwError(); and now the message is there (request->getErrorMessages) 18:46 < v-dogg> template still doesn't show it and fpf is still not hiliting the field 18:46 < Wombert> $this->getContext()->getRequest()->setError($e->getMessage(), 'Wrong ' . ucfirst($e->getMessage())); 18:46 < Wombert> that works 18:46 < Wombert> hmm 18:46 < kaos-> v-dogg: you cleared your cache ? 18:46 < Wombert> so the fields stuff in teh request still works it seems 18:46 < Wombert> HAH! HE DIDN'T DID HE! 18:46 < Wombert> HAH! 18:46 < Wombert> :>> 18:46 * Wombert hugs v-dogg 18:47 < impl> lol 18:47 < kaos-> or were you using the constructor in one of your custom validators ? 18:47 < v-dogg> oh screw you guys! $env = 'development'; Agavi::bootstrap($env); :p 18:48 < v-dogg> no constructors, only validate 18:48 < kaos-> hm 18:49 < kaos-> it works in the sample app, it can't be broken \o/ 18:50 < Wombert> *cough* 18:53 -!- _cheerios [n=jacklo@cs181234118.pp.htv.fi] has joined #agavi 18:54 < v-dogg> wtf... 18:54 < v-dogg> $this->context->getRequest()->hasErrors()==true in MyAction::handleError(), but ==false in Master.php 18:55 < v-dogg> what the hell 18:56 < Wombert> oO that shouldn't happen 18:57 < v-dogg> ==true in MyView::executeHtml... 18:58 < v-dogg> some serious voodoo magic going on here 18:58 < Wombert> do you run any slots 18:59 < v-dogg> two 18:59 < Wombert> I'll have an educated guess 18:59 < Wombert> // clear the validator manager for reuse 18:59 < Wombert> $validationManager->clear(); 18:59 < Wombert> clears errors 18:59 < Wombert> kaos- ? 19:00 < kaos-> yes 19:00 < v-dogg> \o/ 19:01 < v-dogg> doesn't sample app use slots? 19:01 < Wombert> nope 19:01 < v-dogg> oh 19:01 < v-dogg> it should!! :) 19:01 < Wombert> I wonder why nobody noticed yet :) 19:01 < Wombert> heh yeah it really should 19:02 < _cheerios> sample app could use an example on slots, and caching 19:02 < v-dogg> is this going to be a nasty issue to fix? 19:06 < Wombert> the validator manager clears out error information so it can determine the validation status of other actions 19:06 < Wombert> there was a change recently so the request error methods don't use information in the request anymore, but proxy such methods on the validator manager 19:06 -!- eremit [n=eremit@p5490E685.dip.t-dialin.net] has quit [] 19:06 < Wombert> I believe that is the problem here 19:07 < v-dogg> yeah 19:07 < Wombert> a possible solution would be to copy the error information of each run into the respective container 19:08 < Wombert> because right now, the validation information is the only thing that is not atomic to containers 19:08 < Wombert> well and locales, but that's another issue 19:08 < Wombert> and not as important 19:11 < v-dogg> how the hell did no-one noticed this... :) 19:12 < _cheerios> means few ppl use slots so far 19:12 < Wombert> bullshit 19:13 < v-dogg> I wouldn't think so either 19:14 < kaos-> more like nobody uses validation :P 19:14 < _cheerios> either, or both :) 19:16 < v-dogg> actully I think many are still afraid of the xml config and validate manually 19:16 < v-dogg> Xylakant: you used validate(), right? 19:17 < v-dogg> (yes, I know you have validators too :) 19:17 < digitarald> i use validate too, shall i check y app, at the moment i'm sitting on another project, havent updated my agavi app 19:18 < v-dogg> I'm just curious what you validate in there and why don't you use validators 19:19 < digitarald> plugin system 19:19 < digitarald> ;) 19:19 < digitarald> i change that soon 19:20 < digitarald> i validate propel related things in there 19:20 < Xylakant> i use slots 19:20 < digitarald> like existing id's 19:20 < Xylakant> but i only checked how validate behaves so that i could write that down in the doc chapter 19:20 < Xylakant> i don't actually use it. 19:20 < v-dogg> ok :) 19:21 < digitarald> agavi is still down, can't update 19:21 < digitarald> i use slots too, i think i was the first after release :D 19:21 < digitarald> :P 19:21 < Xylakant> svn switch --relocate http://svn.agavi.org http://svn.agavi.bitxtender.net 19:21 < digitarald> but now ... where is my agavi.org 19:22 < digitarald> again, ok 19:22 < Xylakant> see topic 19:22 < digitarald> i see no topic 19:23 < v-dogg> dammit. 19:23 < Xylakant> what icq client do you use? 19:23 * digitarald updating ... 19:23 < Xylakant> Welcome to Agavi :: nameserver problems, use *.agavi.bitxtender.net :: 0.11RC2 soon :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN (don't use trunk, earth will explode) :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: logs @ http://users.tkk.fi/~t 19:24 < Xylakant> special service for you. 19:24 < v-dogg> Xylakant: please dpn 19:24 < v-dogg> ups 19:24 < digitarald> thx ;) 19:24 < v-dogg> aä ilij söflaskj32 19:25 * v-dogg is going bananas 19:25 -!- luke` [n=luke`@59.92.197.208] has joined #agavi 19:27 < digitarald> everthing works fine for me 19:27 < digitarald> slots and validation 19:28 < v-dogg> and error messages? 19:28 < v-dogg> and fpf? 19:29 < digitarald> just my autocompleter throws javascript errors ... fixed 19:30 < digitarald> fpf works ... *testing* ... yes 19:30 < Xylakant> v-dogg: ? 19:30 < digitarald> error messages ... yes 19:31 -!- luke`_ [n=luke`@59.92.197.208] has joined #agavi 19:31 < v-dogg> Xylakant: was going to say "please don't set the topic if your client can't handle the lenght", but hit the enter by accident 19:31 < v-dogg> Xylakant: and then realised you didn't actually set the topic 19:35 < Wombert> it's a server limitation anyway 19:35 < Xylakant> no - not that i'd even have the permissions to do so :) 19:36 -!- v-dogg changed the topic of #agavi to: I think you do 19:36 < v-dogg> see... 19:36 < Xylakant> interesting 19:36 < Wombert> :> 19:36 -!- impl changed the topic of #agavi to: No you don't! 19:36 < Xylakant> i promise to keep my fingers of the topic 19:36 -!- v-dogg changed the topic of #agavi to: TOPIC BASHING! 19:36 < Xylakant> nearly have the routes storage in database done. 19:36 < impl> :OOOO 19:36 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has left #agavi [] 19:36 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has joined #agavi 19:36 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has left #agavi [] 19:37 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has joined #agavi 19:37 * impl pokes Wombert in the eye 19:37 < v-dogg> haha 19:37 < Wombert> ouch 19:37 < Wombert> not again 19:37 < Xylakant> i'll need to clean that up and put it up somewhere 19:38 < Xylakant> anyways i'd better get moving 19:38 < Xylakant> must support the german economy and spend some money... 19:38 < Xylakant> have a nice evening, cya tomorrow. 19:39 < v-dogg> see ya 19:40 < v-dogg> nice evening working \o/ 19:40 -!- v-dogg changed the topic of #agavi to: Welcome to Agavi :: nameserver problems, use *.agavi.bitxtender.net :: 0.11RC2 soon :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN (don't use trunk, earth will explode) :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: logs @ http://users.tkk.fi/~tjorri/agavi/l 19:40 < v-dogg> uh... just a few chars short.. 19:40 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has quit [] 19:41 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has joined #agavi 19:41 -!- v-dogg changed the topic of #agavi to: Welcome to Agavi :: nameserver problems, use *.agavi.bitxtender.net :: 0.11RC2 soon :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN (don't use trunk, earth will explode) :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for doc contributors and developers :: http://trac.agavi.org/milestone/0.11 :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 19:41 < v-dogg> looks ok to me now 19:41 < v-dogg> others? 19:42 < Wombert> y0 19:49 < impl> Looks good 19:49 -!- luke` [n=luke`@59.92.197.208] has quit [Read error: 110 (Connection timed out)] 19:53 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 19:53 < MrJeep> morning/afternoon/evening pple 19:53 < digitarald> ... afternoon for me 19:54 < v-dogg> evening here 19:54 < MrJeep> well, afternoon to me too hehe 19:54 < MrJeep> I'm not used anymore to get up a 11:30 am 19:54 < MrJeep> hum, i'm wondering, does agavi has plans to support something like putting some module inside directory ? 19:55 < MrJeep> like 19:55 < MrJeep> app/module/User/Register/ 19:55 < MrJeep> app/module/User/Login/ 19:55 < MrJeep> Register and Login are both modules 19:56 < MrJeep> i see this as an organisation feature 19:57 < v-dogg> inner/sub modules? 19:57 < v-dogg> I don't think there are such plans 19:58 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 113 (No route to host)] 19:58 < MrJeep> ok :( 19:58 < MrJeep> I don't think this would be that hard to implement 19:58 -!- Arme[0] is now known as Arme[N] 19:59 < Arme[N]> hi :) 19:59 < Arme[N]> MrJeep: why you need that? 19:59 < MrJeep> only the ability to places modules in a module/dir directory 19:59 < MrJeep> organization 19:59 < v-dogg> probably not, but neither is it difficult to design your app so that it's less important 19:59 < Arme[N]> you can do somthing like this app/module/User/actions/Register/ 19:59 < v-dogg> yep 20:00 < Arme[N]> and then call it with User.Register 20:00 < v-dogg> exactly 20:00 < MrJeep> yhea this is right... I used to put a single action in module 20:00 < MrJeep> i guess it's time to change 20:00 < v-dogg> one action per module? 20:01 < Arme[N]> hmm 20:01 < v-dogg> yes, definitely time to change that :) 20:01 < MrJeep> I like clean stuff... maybe too much and as far as I know, this is a problem 20:01 < v-dogg> but you can use "subactions" 20:02 < MrJeep> this is what I'm going to do since my projects are still relatively small 20:03 < MrJeep> well, thanks for the help, or I would say, guidance 20:03 < MrJeep> if "guidance" is actually an english word 20:05 < v-dogg> GUI dance 20:05 * v-dogg does the GUI Dance 20:06 < v-dogg> \o\ 20:06 < v-dogg> \o/ 20:06 < Arme[N]> heh :) 20:06 < luke`_> lol 20:06 < v-dogg> no! I'm not tired! I don't have to go to bed if I dont wanna! 20:06 < MrJeep> hahah 20:06 < MrJeep> that's a good once 20:06 < MrJeep> one* 20:08 < _cheerios> why does this shit have to hurt :/ maybe i have EYEBROW CANCER and will never see till agavi 1.0 ! 20:09 < Wombert> what's the matter 20:09 < _cheerios> some swelling in my eyebrow. looks like a bee sting.. but there's no bees around this time of the year :) 20:10 < luke`_> docs are also brroken 20:10 < luke`_> [PHP Error] XSLTProcessor::transformToXml(): Writing manuals/guide/html/multipage/ch04s12.html for section(reference-configuration_tags-settinghandler) [line 208 of /usr/share/php5/phing/filters/XsltFilter.php] 20:11 -!- digitarald [n=Miranda@229.Red-83-50-112.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:11 < Wombert> either a pimple 20:11 < Wombert> or http://web1.echo535.server4you.de/media/images/full_image-0143.jpg (not tasty) 20:12 < _cheerios> cute little thing 20:12 < Wombert> go see a doctor :p 20:12 < _cheerios> i have an appointment for wednesday 20:12 < v-dogg> Wombert: you have these in your bookmarks? 20:13 < Wombert> heh nope but I remembered it and googled "grub eye" ;) 20:14 < Wombert> or maggot 20:14 < Wombert> or whatever 20:14 < _cheerios> http://images.google.fi/imgres?imgurl=http://www-cdu.dc.med.unipi.it/itrejournal/articoli/Pic9.jpg&imgrefurl=http://www-cdu.dc.med.unipi.it/itrejournal/articoli/articolo11.htm&h=516&w=884&sz=75&hl=fi&start=2&tbnid=o25FPJxUNiZPAM:&tbnh=85&tbnw=146&prev=/images%3Fq%3Deyebrow%2Bswelling%26svnum%3D10%26hl%3Dfi%26client%3Dfirefox%26rls%3Dorg.mozilla:en-US:unofficial%26sa%3DN looks like that but smaller :) 20:15 < v-dogg> it's like this other guy on another channel; when ever anyone mentions bukake/shit/horse/fatpeople/uglygaymen/anyweirdshit sex, it takes about two seconds before he pastes a link to such material 20:15 < v-dogg> and that pic ain't nothing compared to the crap he pastes :D 20:16 < v-dogg> which usually invoves just that - crap 20:16 < v-dogg> involves 20:16 < Wombert> eww 20:16 < Wombert> _cheerios: stop googling for what might be wrong with you :p 20:16 < Wombert> all it does is make you nervous 20:17 < impl> eyebrow cancer 20:17 < impl> lol 20:18 < v-dogg> very common cause of dead among php devs 20:18 < v-dogg> that and suicide 20:20 -!- farafa [n=farafa@204.244.149.125] has joined #agavi 20:20 < Wombert> so what do you like better, farafa 20:20 < Wombert> agavi or symfony ;) 20:20 < farafa> I really like both 20:20 < v-dogg> wrooooong! :p 20:21 < farafa> lol... 20:21 < Wombert> farafa: do you use agavi 0.11? 20:21 < Wombert> or 0.10 20:21 < farafa> they are both excellent efforts 20:21 < farafa> 0.11 20:21 -!- Arme[N] is now known as Arme[0] 20:21 < _cheerios> he uses the one without docs 20:21 -!- Arme[0] is now known as Arme[N] 20:22 < farafa> You don''t really need docs .. when you can follow code ;-) 20:22 < farafa> sorry got to go into a meeting :-D .. 20:23 < Wombert> farafa: to you, what is agavi missing compared to symfony 20:23 < Wombert> oh 20:23 < Wombert> okay :) 20:23 < v-dogg> yeah.. the code... ever tried to figure out the validation?-) 20:23 < v-dogg> I know I have and it wasn't like reading the newspaper :) 20:25 < _cheerios> A->(magic)->B :D 20:25 < _cheerios> it would suck to die of eyebrow cancer 20:31 -!- _cheerios [n=jacklo@cs181234118.pp.htv.fi] has quit ["IM GOING TO DIEEEEEEEEEEEEEEEEEEEEEEEEEEEE"] 20:32 < v-dogg> at least he took it well 20:35 < impl> tru dat 20:44 < MrJeep> wtf with that dying thing 20:44 < MrJeep> ? 20:45 < v-dogg> he has eyerow cancer 20:45 < v-dogg> or a pimple 20:45 < MrJeep> seriously ? 20:45 < v-dogg> something lethal anyway 20:46 < v-dogg> (NO, NOT SERIOUSLY!) 20:47 < MrJeep> http://www.plasticsurgery4u.com/procedure_folder/eyelid_recon_folder/eyebrow_ca.html ? 20:47 < v-dogg> woot! there is such a cancer! 20:47 < v-dogg> lol... 20:48 < MrJeep> man it's 2007, we have cancer for everything... 20:48 < Wombert> he thinks he has it 20:50 < MrJeep> well, let's hope he does not 20:51 < Wombert> nah 20:51 < Wombert> it's just a pimple 20:51 < Wombert> he'll be fine 20:51 < MrJeep> what's a pimple 20:51 < MrJeep> lol 20:51 < MrJeep> ok 20:51 < MrJeep> acnee-like 20:52 < Wombert> http://www.zefrank.com/theshow/archives/2007/01/012907.html 21:03 < v-dogg> she is here! me gets to go home! 21:03 < v-dogg> yeeeeeeyyy 21:03 < v-dogg> _o/ 21:06 < MrJeep> is there a way to make tortoise never show files from a svn:ignore folder ? 21:06 < MrJeep> when I commit 21:07 < MrJeep> because I have a list of images i don't want to commit 21:09 < MrJeep> agavi svn is down ? 21:12 < impl> see topic 21:14 < MrJeep> oh 21:36 -!- Arme[N] is now known as Arme[0] 21:53 < Wombert> v-dogg: YOU THERE? 21:53 < Wombert> I GOT A NEW KEYBOARD WITH A STUCK SHIFT KEY I HAVE TO TELL YOU ABOUT THIS 21:53 < Wombert> IT'S SO AWESOME 21:54 < Wombert> xD 22:07 < impl> rofl 22:08 < Wombert> idea here 22:08 < Wombert> each container will now store it's incidents 22:09 < Wombert> actually, a container gets their own validation manager instance 22:09 < Wombert> and instead of $request->getErrors 22:09 < Wombert> you do $container->getErrors 22:09 < Wombert> plus 22:09 < Wombert> class MySlotAction extends AgaviAction implements AgaviISuperchargedAction 22:09 < Wombert> - won't run through validation 22:10 < Wombert> - won't get request data except for that you set by hand 22:10 < Wombert> - won't use filters 22:10 < Wombert> => perfect for slots 22:10 < Wombert> => wwwway faster it should be 22:11 < Wombert> even though I'd prefer AgaviITurbochargedAction 22:11 < Wombert> superchargers are for idiots 22:12 < Wombert> they are not elegant 22:12 < Wombert> turbos are elegant 22:12 < Wombert> like agavi 22:12 < Wombert> anyone have a better name for that interface? :p 22:12 < Wombert> of course we could also have a method, isTurbocharged(), because then you could determine whether or not you want that mode programatically 22:22 < Wombert> [20:59] mahdi_: anyone got an idea what is the best way to set the culture if I have domains with different tld's and I want them to choose the culture by tld automatic 22:22 < Wombert> [21:00] _Slick_Rick: mahdi_: you would have to have a reference table 22:22 < Wombert> [21:00] _Slick_Rick: where tld = culture 22:22 < Wombert> [21:00] _Slick_Rick: and then pull the culture based on the tld 22:22 < Wombert> [21:00] bladus_ hat den Chatroom betreten. 22:22 < Wombert> [21:00] _Slick_Rick: you can parse the tld out of the URL 22:22 < Wombert> [21:01] mahdi_: I don't want to add it to all my actions 22:22 < Wombert> [21:01] mahdi_: i need to know the best place maybe to make it global 22:22 < Wombert> [21:01] _Slick_Rick: mahdi_: you could create a filter to handle it 22:22 < Wombert> [21:02] _Slick_Rick: which runs before all actions 22:22 < Wombert> haha jesus christ symfony is such a pile of junk :> 22:25 < MrJeep> with symfony you must add the current culture manually in each url ? 22:25 < Wombert> well 22:25 < Wombert> no 22:25 < Wombert> first of all, there is a feature 22:25 < Wombert> where the first argument in the url is the "culture" 22:25 < Wombert> or something 22:25 < Wombert> at least it's hard-coded, so no "de" => "de_DE" mapping etc 22:26 < Wombert> and... well it sucks in general 22:26 < MrJeep> hehe ok 22:26 < Wombert> to achieve the above in agavi, you'd simply write a small routing callback that does the job for you 22:27 < Wombert> no need for wonky filters ;) 22:32 -!- _cheerios [n=jacklo@cs78146232.pp.htv.fi] has joined #agavi 22:32 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection] 22:34 -!- Xylakant [n=fgilcher@103.205.27.217.static.versanetonline.de] has joined #agavi 22:34 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: 0.11RC2 soon :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN (don't use trunk, earth will explode) :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 22:38 -!- Xylakant [n=fgilcher@103.205.27.217.static.versanetonline.de] has quit [Client Quit] 22:38 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 22:45 < Wombert> http://trac.agavi.org/ticket/407 fffffeedback please 22:47 < MrJeep> in favor 22:48 < MrJeep> first coding style 22:48 < impl> Can we give it a normal name though? :< 22:48 < Wombert> [21:12] Wombert: anyone have a better name for that interface? :p 22:48 < _cheerios> agavi still doesnt load for me 22:48 < MrJeep> AgaviILightAction 22:49 < MrJeep> ? 22:49 < MrJeep> i guess this would be very usefull for a lot of things too, not just slots 22:49 < MrJeep> but action which do stuff like displaying image from database 22:50 < Wombert> as described there, these accelerated actions will not get any request data 22:51 < _cheerios> what was the bitx address for trac 22:51 < MrJeep> ILiteAction sorry 22:54 < MrJeep> AgaviILiteWeightAction 22:55 < Wombert> AgaviILightweightAction, if any, but that would mean you can't control ig in code 22:55 < Wombert> it 22:56 < MrJeep> ig ? 22:56 < MrJeep> ito k 22:57 < impl> INonInteractiveAction 22:57 < impl> mmh 22:58 < impl> IFastAction :P 23:02 < MrJeep> ITwoHundredThousandsKilometersAnHourAction 23:08 < Wombert> b00h almost missed NCIS 23:09 < MrJeep> ncis ? 23:13 < _cheerios> NCIS hahahaha 23:15 -!- farafa [n=farafa@204.244.149.125] has quit [] 23:18 -!- digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi 23:23 < digitarald> ah, work, i hate it! 23:24 < digitarald> no, i hate clients 23:30 < MrJeep> what's happening ? 23:35 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 23:35 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 23:49 < digitarald> and i hate deadlines ... 23:49 < digitarald> t - 10hrs 23:54 < _cheerios> t-15mins to sleep ::smoke 23:55 < digitarald> don't smoke and sleep, very dangerous ;) --- Day changed Fri Feb 02 2007 00:00 < MrJeep> I think i foudn a clean way to send emails in agavi 00:00 < MrJeep> anyone want to hear about ? 00:02 < _cheerios> does it send emails that cure eyebrow cancer 00:02 < MrJeep> it might, but instead you should start you own cheerios eyebrow cancer foundation 00:02 < MrJeep> CECF 00:03 < MrJeep> and piss off people by going at their home and ask for donations 00:05 < MrJeep> anyay 00:05 < MrJeep> i created 3 classes, Mail, MailTemplate and MailtTemplateXml 00:05 < MrJeep> the MailTemplateXml reads an xml file like this one http://pastie.caboo.se/37301 00:06 < MrJeep> it defines the basic stuff for the email, like the sender, the destination the subject. All these value can be overwritten 00:06 < MrJeep> plus you define message variables 00:07 < MrJeep> they all have the name required and default attribute 00:08 < MrJeep> then, in the code, you do something like : Mail::prepare('the_template.xml', to...) 00:08 < MrJeep> you can assign vars with setVar or setVars. Only the variables defined in the template are used 00:09 < MrJeep> when you send the email, an exception is thrown everytime a required variable is not found 00:09 < MrJeep> so... is this a good way to send mails ? 00:12 < MrJeep> any feedback ? 00:13 < _cheerios> it does have a more agavish feel to it than a oneliner mail() 00:14 < MrJeep> well, I hate to hard code email message. 00:15 < MrJeep> and what I hate more is to send email with missing variables or empty variables. This class throws an exception everytime a variable is missing 00:22 < _cheerios> i hate bounced emails :/ 00:22 -!- _cheerios [n=jacklo@cs78146232.pp.htv.fi] has quit ["nn"] 00:28 < Wombert> MrJeep: you can also use agavi renderers in your email class 01:02 -!- digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 02:30 < CIA-23> dominik * r1624 /branches/0.11/src/validator/ (3 files): add method to validator containers to retrieve all child validators 02:31 < CIA-23> dominik * r1625 /branches/0.11/src/config/xsd/ (15 files): 02:31 < CIA-23> update all xsds to allow a block as the first child of the block 02:31 < CIA-23> made plural parent tag optional in more places (this should be all places where its possible to do now) 02:37 -!- Wombert [n=Wombert@dslb-084-056-060-114.pools.arcor-ip.net] has quit [] 03:17 -!- benny`work [n=benny@p54AC3C75.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:42 -!- luke` [n=luke`@59.92.156.20] has joined #agavi 03:42 -!- luke`_ [n=luke`@59.92.197.208] has quit [Read error: 60 (Operation timed out)] 03:54 -!- luke`_ [n=luke`@59.92.157.39] has joined #agavi 04:03 -!- luke` [n=luke`@59.92.156.20] has quit [Read error: 110 (Connection timed out)] 04:07 -!- luke` [n=luke`@59.92.145.49] has joined #agavi 04:07 -!- luke`_ [n=luke`@59.92.157.39] has quit [Read error: 60 (Operation timed out)] 04:22 -!- luke` [n=luke`@59.92.145.49] has quit [Read error: 60 (Operation timed out)] 04:23 -!- luke` [n=luke`@59.92.197.37] has joined #agavi 04:34 -!- luke`_ [n=luke`@59.92.128.157] has joined #agavi 04:44 -!- luke` [n=luke`@59.92.197.37] has quit [Read error: 110 (Connection timed out)] 04:45 -!- luke` [n=luke`@59.92.200.154] has joined #agavi 04:55 -!- luke`_ [n=luke`@59.92.128.157] has quit [Read error: 110 (Connection timed out)] 05:12 -!- luke`_ [n=luke`@59.92.150.244] has joined #agavi 05:16 -!- kaos- [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 05:22 -!- luke` [n=luke`@59.92.200.154] has quit [Read error: 110 (Connection timed out)] 06:03 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:03 -!- luke` [n=luke`@59.92.150.244] has joined #agavi 06:11 -!- luke`_ [n=luke`@59.92.150.244] has quit [Read error: 60 (Operation timed out)] 07:45 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 09:12 -!- theoden[pl] [i=theod@host-80-238-115-6.jmdi.pl] has joined #agavi 09:13 -!- Wombert [n=Wombert@dslb-084-056-024-025.pools.arcor-ip.net] has joined #agavi 09:14 < Wombert> huomenta 09:16 < Wombert> feedack please http://trac.agavi.org/ticket/406 and http://trac.agavi.org/ticket/407 09:24 < v-dogg> huomenta 09:26 < v-dogg> you mean http://trac.agavi.bitxtender.net/ticket/406 and http://trac.agavi.bitxtender.net/ticket/407 :) 09:30 < horros> huomenta 09:31 -!- theoden [i=theod@host-80-238-115-6.jmdi.pl] has joined #agavi 09:42 < horros> there 09:43 -!- theoden[pl] [i=theod@host-80-238-115-6.jmdi.pl] has quit [Read error: 110 (Connection timed out)] 09:43 < horros> mail sent to propel-dev. perhaps Hans has some fancy ideas :) 09:51 < v-dogg> Wombert: 406 and 407 are both good 09:52 < v-dogg> I would probably pick the "public function isArielAtom()" way to do it (I like the idea that the decision can be made at runtime) 09:53 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:54 < horros> mmm, ariel atom <3 10:04 < Wombert> v-dogg: okay sounds good 10:04 < Wombert> that method would also get all request params you assigned by hand 10:04 < Wombert> that way you would have 10:05 < Wombert> public function isArielAtom(AgaviRequestDataHolder $rd) { 10:05 < Wombert> return $rd->hasParameter('is_slot'); 10:05 < Wombert> } 10:05 < Wombert> now we jst need a good name for that method 10:05 < Wombert> suggestions? 10:07 < Wombert> _cheerios: how is your eyebrow 10:08 < _cheerios> the was some yellowish sticking out of it this morning, so it's probably the bacteria (?) being pushed out... or something 10:10 < Wombert> that's pus 10:10 < Wombert> finger to the left, finger to the right, push, problem solved 10:10 < Wombert> then clean the mirror 10:10 < Wombert> oh wait 10:10 < Wombert> haha 10:10 < Wombert> hahahahaha 10:10 < Wombert> oh dear god please let me find this 10:11 -!- luke` [n=luke`@59.92.150.244] has quit [] 10:11 < _cheerios> isArielAtom ?? 10:12 < theoden> hello i have one simple question:) when we can expect a manual, not api documentation on agavi.org (cookbook etc)? 10:12 < _cheerios> word on the Net is 1.0 release 10:12 < v-dogg> .Net? 10:12 < v-dogg> :p 10:12 < Wombert> theoden: as soon as people can be bothered to help with it 10:12 < _cheerios> Net 2.0 10:13 < v-dogg> InterNet 2.0 - Deluxe Edition 10:13 < v-dogg> comming soon to a store near you 10:13 < _cheerios> i have a crapload of notes for agavi. just, uh, to get it all together -- write about it --, etc., plus I don't ues propel -- though i hear the propel 1.3 stuff is broken anyhow (?), and urm... yeah 10:13 < Wombert> no, nothing broken 10:13 < v-dogg> where did ya here that? 10:14 < horros> I'd write documentation if I had any idea how to use the latest version :) 10:14 < _cheerios> reading this channel, w/you guys trying to use it 10:14 < v-dogg> it's just the migration from 1.2 to 1.3 that has caused some grey hair 10:14 < v-dogg> and now the double-connection-issue with AgaviPropelDb has been fixed, too 10:16 < _cheerios> there was some issue with Peer's ? 10:16 < Wombert> no 10:17 < v-dogg> well, yes, but only if you wanted Propel classes as proper Agavi models (and Wombert had some idea about that too) 10:17 < _cheerios> ah, like that, okay. 10:19 < theoden> Wombert: i know that you said it;) 10:20 < Wombert> ? 10:21 < theoden> Wombert: i expect answer like that:"as soon as people can be bothered to help with it" 10:21 < Wombert> ah 10:21 < Wombert> heh 10:21 < Wombert> well anyway, once 0.11 is out, we'll build a documentation system and start working on it 10:21 < Wombert> 1.0 will be released once we have 100% documentation 10:22 < theoden> so you dont fix a code anymore before 1.0 only docs? 10:22 < horros> Wombert: I can install 0.11 on my work lappy, play around with it and write some documentation 10:22 < horros> Wombert: what needs to be written? 10:22 < horros> rather, what's not too complicated even a dork like me can write about it?-) 10:22 < _cheerios> fill in the blanks in the manual :) 10:23 < Wombert> heh 10:23 < Wombert> everything, basically 10:24 < horros> well, I have an hour and a half on the train today, I'll try to get a "PC seat" (read: with an AC-socket) and get started :) 10:25 < Wombert> cool 10:25 < Wombert> focus on whatever you like 10:25 < Wombert> maybe how and when validation occurs 10:25 < Wombert> or 10:25 < horros> hmm, I really need the 9-cell battery for my laptop 10:25 < Wombert> the template layers 10:25 < Wombert> etc 10:26 < horros> well, the validation-part is probably easier to start with, I have a gut-feeling I'd spend the whole train trip going "WTF?! what the hell is this now? stupid layers #)¤(%)#(¤½!" :D 10:27 < v-dogg> xylakant had written some notes about validators 10:28 * horros prints Wombies mail 10:28 * horros runs out of paper and toner 10:28 < horros> :D 10:28 < v-dogg> :P 10:30 < horros> Wombert: how much has changed with the FPF? 10:30 < Wombert> not much I believe 10:30 < v-dogg> nopes 10:30 < Wombert> you can now order it to pre-populate forms by id 10:30 < Wombert> it handles foo[][][][bar][1] etc 10:31 < horros> right, so I should be able to write at least something about it 10:31 < Wombert> yeah that would be cool 10:31 < horros> the basics, really. 10:31 < Wombert> a chapter on "how to deal with forms" 10:31 < horros> right 10:31 < Wombert> cool 10:31 < Wombert> www.xmlmind.com/xmleditor 10:31 < horros> o_O 10:32 < horros> so 10:32 < horros> humm 10:32 < Wombert> of course you can just write text 10:32 < _cheerios> Wombert, pus videos http://www.youtube.com/profile?user=jpilonmd 10:32 < horros> I'm supposed to write the docs in docbook? 10:32 < Wombert> you should but text is fine too 10:32 < v-dogg> don't have to if ya dont wanna 10:32 < Wombert> I'll then port it to docbook 10:33 < horros> I've never written anything in docbook :) 10:35 -!- eremit [n=eremit@p5490E685.dip.t-dialin.net] has joined #agavi 10:35 * horros tries to get Boss to buy him Joe Celko's SQL for Smarties, Agile Java Development with Spring, Hibernate and Eclipse and Professional Java Development with the Spring Framework 10:40 < horros> Wombert: do I just do a checkout from trunk before I start? 10:41 < Wombert> branches/0.11 please 10:41 < v-dogg> Wombert: validatormanager's (or AgaviIValidatorContainer's) getChilds is not used other than "internally", right? 10:41 < Wombert> think so 10:41 < Wombert> no idea tbh 10:41 < v-dogg> so renaming it to getChildren wouldn't break anything... ?-) 10:44 < Wombert> hmh 10:44 < Wombert> well 10:44 < Wombert> your registerValidators() could get the children of a certain validator and remove one of them or so 10:44 < Wombert> don't think anyone does that yet tho 10:45 < v-dogg> I'm pretty sure no-one does :) 10:57 -!- theoden [i=theod@host-80-238-115-6.jmdi.pl] has quit [] 11:01 -!- eremit_ [n=eremit@p5490DD09.dip.t-dialin.net] has joined #agavi 11:04 -!- eremit [n=eremit@p5490E685.dip.t-dialin.net] has quit [Nick collision from services.] 11:04 -!- eremit_ is now known as eremit 11:07 -!- luke` [n=luke`@61.95.206.107] has joined #agavi 11:19 < Wombert> hah v-dogg 11:20 < Wombert> class MyBaseAction extends AgaviAction { 11:20 < Wombert> public function isArielAtom() { 11:20 < Wombert> return $this instanceof IMyFastAction; 11:20 < Wombert> and 11:20 < Wombert> class MyCoolSlotAction extends MyBaseAction implements IMyFastAction 11:20 < Wombert> :) 11:21 < Wombert> or, of course, a base slot action thing 11:35 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 11:35 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 11:37 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Funny face"] 11:46 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:46 < Xylakant> hi 11:51 < v-dogg> g'day 12:04 < Wombert> HAH! 12:04 * Wombert does the it-works-dance 12:05 < v-dogg> woot works 12:05 < Wombert> caching 12:05 < Wombert> I think I got it now 12:05 < v-dogg> extremely cool 12:05 < Wombert> just a couple more tests, then I can write the config handler 12:09 < Wombert> oh cock 12:09 < Wombert> gnnnnnnnnhhhhhrrrrrr 12:11 < Wombert> LOOOOOOL 12:11 < Wombert> over at #symfony they're recommending to toss data around inside the app using.... 12:11 < Wombert> $GLOBALS 12:11 < Wombert> my goodness 12:11 < horros> ahahahahaha 12:13 < v-dogg> ehm... what? 12:14 < v-dogg> backlogs to pastebin, please ;) 12:16 < Xylakant> a cow-orker of mine once hacked together an mvc framework that used globals to pass data between the actions 12:17 < Xylakant> man, that was a mess. 12:17 < Xylakant> took month cleaning up. 12:17 < horros> IT WORKS IT WORKS IT WORKS! 12:17 * horros runs around waving arms 12:18 < v-dogg> people @ #symfony are just clueless? Symfony has Request, right? 12:18 < horros> [2007-02-02 12:12:27] User with id 10 (Bar, Foo) DELETED object of type CalendarEvent with primary key 9 12:18 < horros> \o/ 12:18 < Wombert> http://pastebin.ca/336874 12:20 < Xylakant> yikes. 12:21 -!- digitarald [n=Miranda@229.Red-83-50-112.dynamicIP.rima-tde.net] has joined #agavi 12:23 < v-dogg> so no-one at #symf has ever heard about $_GLOBALS beeing... well.. not a good choice? 12:24 < v-dogg> OR has heard about sfRequest (or what ever they call it) 12:24 < Wombert> baguetteRequest 12:24 < Wombert> fromageRequest 12:24 < v-dogg> haha 12:24 < Wombert> something like that afaik 12:25 < Wombert> have to say 12:25 < Wombert> their new book thing is even a bit funny 12:25 < Wombert> Why "symfony" and not "FooBarFramework"? Because Fabien wanted a short name containing an s, as in Sensio, and an f, as in framework--easy to remember and not associated with another development tool. Also, he doesn't like capital letters. symfony was close enough, even if not completely English, and it was also available as a project name. The other alternative was "baguette." 12:26 < Wombert> that might actually not be a joke, but it's funny either way xD 12:26 < horros> haha 12:26 < horros> "baguette" 12:26 < horros> lol 12:27 < Xylakant> i like baguette. 12:27 < Xylakant> it's hard to get a decent one here though... 12:27 < horros> It sounds rather... "french" 12:27 < horros> :) 12:28 < Wombert> it's much more difficult to get good croissants 12:28 < Wombert> ze germans don't have the slightest clue what a croissant should be like 12:29 < Xylakant> shure. 12:29 < Wombert> they make excellent headphones 12:29 < digitarald> come to spain, best baguette ever ... or "bocadillos" ... its hard here to get bread that has actually taste. they forgot all spices/salt in all their breads ... 12:29 < Xylakant> should we send a care packet? 12:29 < Wombert> yeah, digitarald, that's true, tastes like nothing 12:30 < Wombert> in fact, the germans are about the only people in the world who know how to bake bread properly 12:30 < digitarald> BUT, they taste delicious with salt and oil, thats the trick ;) 12:30 < Wombert> take italy, for instance 12:30 < Wombert> uuuaaah 12:31 < Wombert> the pizza is good tho 12:31 < Wombert> mmh 12:31 < Wombert> pizza 12:31 < Wombert> I'd fancy one right now 12:31 < Wombert> mmmh yes 12:31 < Wombert> I might just get one for lunch 12:31 < horros> hmm 12:31 < horros> k k 12:31 < digitarald> my luck, we have german bakers here 12:31 < horros> now we need to implement log rotating for these objects... :I 12:31 < horros> wtf 12:32 < horros> s/objects/log files/ 12:32 < Xylakant> someone needs to accomodate all these german tourists :) 12:32 < Wombert> horros: agavi 0.11 has rotating logging ;) 12:32 < Xylakant> it's so sad that log4php seems pretty dead 12:32 < Xylakant> the idea of porting log4j was a nice one. 12:32 < Wombert> woooot finally 12:32 * Wombert dances 12:32 < Wombert> [Fri Feb 2 10:32:21 2007] Adding response of slot "menu" to cache... 12:33 < Xylakant> do we get cache groups and cache sweepers as well? 12:33 < Wombert> of course 12:33 * Xylakant appends to the wishlist 12:34 < Wombert> caches can be permanent, then you clear them by hand, or with a lifetime 12:34 < Wombert> and per request method 12:34 < Wombert> and per output type 12:34 < Wombert> and with groups, of course 12:34 < Wombert> groups support constants, the locale, request params, request attributes, user parameters, user attributes, user credentials 12:35 < Wombert> you can restore action attributes, request attributes, template variables 12:35 < Wombert> you can cache the innermost layer and a slot on the outermost layer in the same cache 12:35 < Wombert> etc etc etc 12:35 < horros> ~/ Kalla sinnen och härdat ståååål, är det våra måååål?! ~/ 12:35 < horros> lalala 12:36 * horros bops to Dia Psalma 12:36 < horros> <3 <3 12:36 < digitarald> Xylakant, these bakers are for the 50.000 germans who live her and the 50.000 britons ... and the ... ah, mallorca is a melting pot :D 12:36 < Wombert> the brits wouldn't notice 12:36 < Xylakant> are there any spanish left? 12:36 < Wombert> all they need is toast and baked beans 12:37 < Wombert> you could swap the toast for cardboard, wouldn't make a difference :D 12:37 < Wombert> that's what it tastes like over there anyway 12:37 < Xylakant> actually, that's what they do for the germans that visit them. 12:37 < Wombert> with all the (delicious!) hp sauce you don't taste the food itself anyway 12:39 < Xylakant> wombert: what's more interesting for me: is it possible to implement something like that: Data X got modified, clear all caches that depend on this data, leave the rest untouched. 12:39 < Wombert> very very maybe for 1.0, but likely not 12:39 < Wombert> you have to do that by hand 12:39 < Wombert> not much of a problem with the caching groups 12:40 < Xylakant> i'm fine with doing that by hand as long as it's simple to do so. 12:40 < Wombert> AgaviExecutionFilter::clearCache($groups); 12:40 < Wombert> all you need 12:42 -!- codecop [n=codecop@85.206.205.145] has joined #agavi 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Caching enabled, configuration file found, loading... 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Current action and request method are configured for caching, proceeding... 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Fetched groups "index", "mad coding skills", "de_DE", "Default_SearchEngineSpam" 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Action is cached, loading... 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] View is cached, loading... 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Starting rendering... 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Running layer "decorator"... 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Loading cached slot "menu"... 12:43 < Wombert> [Fri Feb 2 10:43:02 2007] Merging in response from slot "menu"... 12:43 < Wombert> :>>>>> 12:44 < digitarald> sounds so professional, cool 12:44 < digitarald> ;) 12:45 < digitarald> i will love it! 12:49 -!- codecop_ [n=codecop@85.206.205.145] has joined #agavi 12:49 -!- codecop_ [n=codecop@85.206.205.145] has quit [Client Quit] 12:50 < Wombert> I hope so :) 12:53 < horros> oh well 12:53 < horros> I'm off for the weekend 12:53 < horros> have a nice one, see you monday 12:54 < Xylakant> have nice weekend. 12:54 < Wombert> oh nice 12:55 < Wombert> 1pm and he calls it a day :) 12:55 < Wombert> bye horros 12:55 < _cheerios> cool, can't wait for the caching example via email/sample app 12:57 < Wombert> email 12:57 < Wombert> but only if you read it this time! 12:59 < _cheerios> i read everything. what i remember is another thing. 13:00 < _cheerios> is google analytics logging for anyone? 13:25 < _cheerios> Wombert, was in the cafe and this guy asked me if I had been playing ICE HOCKEY after glancing at my eyebrow ! 13:26 < Xylakant> well, it is the right time of year to play ice hockey. 13:27 < Xylakant> at least it should be, doesn't look like the guy in charge of the weather knows about it :P 13:27 < digitarald> in spain we have a lot of snow, at least in andalucia and north of spain ... 13:28 < digitarald> didnt see any snow here ... only in the mountains :) 13:28 < Xylakant> we had some - like a day and a half. 13:29 < Xylakant> so i canceled my snowboard vacation this year. will go to afrika instead. 13:30 < Wombert> lol _cheerios 13:31 < Xylakant> so. off to grab some food. 13:34 < digitarald> italian food? ;) 13:40 < v-dogg> hey, ajax people, I asked this once before but forgot what you answer: 13:41 < digitarald> am i ajax people? 13:41 < v-dogg> to should I organize my js code and especially what's the easiest/cleanest way to write inclues ( 14:13 < Wombert> 14:13 < AngryMikeSeth> yeah, but its more complicated than that :) 14:14 < Wombert> then read that array in your global filter and do the necessary stuff 14:14 < Wombert> I don't see why you need any helper stuff for that 14:14 < Wombert> that's what request attributes with namespaces are for 14:14 < AngryMikeSeth> because this initialization is only a part 14:14 < AngryMikeSeth> the other part is actually generating YUI html and using YUI facilities 14:15 < Wombert> and what should agavi do 14:16 < AngryMikeSeth> basically, load the helper class, pass it a copy of the context, and export instances of it into templates like you do with slots and template variables 14:17 < AngryMikeSeth> I mean, I can do everything without involving Agavi just using autoload and global class namespace, but I would still have to pass the helper the application's context 14:18 < Wombert> eeeehm 14:18 < Wombert> haha :> 14:18 < Wombert> okay 14:18 < Wombert> easy 14:18 < Wombert> you create a new model 14:18 < Wombert> implements AgaviISingletonModel 14:19 < Wombert> in your base view setup() method, you grab that model instance and assign it 14:19 < Wombert> et voila 14:19 < Wombert> all you need 14:19 < Wombert> or did I miss something 14:20 < AngryMikeSeth> but.. its not a model 14:20 < Wombert> who cares 14:20 < AngryMikeSeth> I do! 14:20 < Wombert> bad luck then 14:20 < AngryMikeSeth> I mean the facility should be similar to getModel() 14:20 < Wombert> I still think you can use request attributes to store info about what you need, and let the global filter do the rest 14:20 < AngryMikeSeth> In my particular case, yes 14:21 < Wombert> I have a suggestion 14:21 < Wombert> if you don't like the "model" in the name 14:21 < AngryMikeSeth> But what if I wanted to wrap a larger code base as a plugin for Agavi? For example, xajax: this would involve xajax routes, xajax request handler, own context and environment for xajax, bridging between Agavi requests and xajax 14:22 < Wombert> XAJAX 14:22 < Wombert> ARE YOU KIDDING 14:22 < Wombert> seriously 14:22 < Wombert> don't 14:22 < Wombert> _ever_ 14:22 < Wombert> mention it again 14:22 < AngryMikeSeth> well its not something I would personally EVER touch 14:22 < AngryMikeSeth> but the principle stays the same 14:27 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 14:32 < Wombert> should a "simple" action still run Action::validate() ? 14:32 * Wombert ponders 14:32 < Wombert> yeah it should 14:32 < Wombert> right= 14:40 * Wombert ponders 14:40 < AngryMikeSeth> mm? 14:40 < Wombert> we could even establish that a simple action isn't run at all 14:40 -!- benny`work [n=benny@p54AC1829.dip0.t-ipconnect.de] has joined #agavi 14:40 < Wombert> but instead just getDefaultViewName() would be called 14:40 < Wombert> opinions? 14:40 < Wombert> v-dogg? 14:40 < Wombert> everyone else? 14:41 * Wombert pokes _cheerios, benny`work, codecop, digitarald, eremit, feiichi, horros, MrJeep, splatch, ttj 14:42 < _cheerios> an empty action? 14:42 < Wombert> no 14:42 < AngryMikeSeth> Wombert, what is a simple action? 14:42 < Wombert> usually a slot 14:43 < Wombert> actions have an isSimple() method that, if it returns true, will run the action without filters, without validation and without request parameters, only the arguments it's container has been given 14:44 < AngryMikeSeth> new feature?! 14:44 < Wombert> http://trac.agavi.org/ticket/407 14:47 < digitarald> XajaxAction's ... yeah 14:48 < AngryMikeSeth> dear god, IE doesnt understand fixed position 14:49 < digitarald> ? that would be new 14:50 < AngryMikeSeth> there's a bug in IE6 that prevents position: fixed from working 14:51 < _cheerios> CSS PROBLEMS IN IE6? :D 14:52 < AngryMikeSeth> hehehe 14:58 < digitarald> ah, this #html channel is stupid too, maybe a bit more stupid than #php 14:58 < digitarald> somebody asked which doctype to use, he wants to start with some ajax stuff 14:59 < digitarald> and they answered: HTML Transitional is the best!? WTF! 15:00 < Wombert> that's correct 15:00 < Wombert> XHTML is XML, so it should not be served as text/html, but as application/xhtml+xml 15:00 < Wombert> that, however, breaks quite some DOM things, like innerHTML 15:01 < digitarald> yes, with table layouts. The time where i used table layouts i never had problems with css in ie or something ... great time 15:01 < Wombert> so if you you want absolute standards compliance AND make your life easier while doing ajax stuff... use HTML, not XHTML 15:02 < digitarald> the problem with non-xhtml-strict values are element-document-measurements with javascript ... so for ajax i suggest xhtml strict 15:02 < Wombert> no no, that only happens with transitional doctypes 15:02 < Wombert> html strict would use the "standard" box model 15:02 < Wombert> which, by the way, is horribly broken 15:03 < Wombert> only god knows why the W3C didn't use microsoft's implementation for CSS 15:04 < Wombert> but yes, html transitional is a little stupid 15:05 < digitarald> i can/have to work the standard box model, so ie is the one that needs the strict xhtml, otherwise u have to hack around box model problems all the time 15:07 < digitarald> even prototype does not work properly with transitional doctype 15:12 < _cheerios> hmm, ive been using XHTML Strict 1.0 myself 15:12 < AngryMikeSeth> nothing does, I once had to spend a night tracking a firefox bug when a third party menu would suddenly draw itself upwards 15:13 < AngryMikeSeth> turned out the genius developer didnt have templates per se.. he just pasted the doctype declaration into every file 15:13 < AngryMikeSeth> and of course, some of them were transitional, and some strict 15:15 < codecop> so if we use ajax's requests, should we place doctype declaration into every file requested by ajax? 15:15 < codecop> or Master.php is enouth? 15:17 < digitarald> no doctype in ajax responses! u serve no complete documents, only fragments 15:17 < AngryMikeSeth> You should have a separate layer for ajax requests 15:18 < AngryMikeSeth> a separate layout configuration, that is.. 15:23 < codecop> u mean define separate layout in output_types.xml ? 15:24 < Wombert> codecop: read the mailing list thread on layouts 15:24 < Wombert> I have an example on how to use the sample template, just different layouts, for ajax 15:26 < AngryMikeSeth> Wombert, mind a /msg re: documentation 15:28 < Wombert> not at all even though I'd appreciate if that could wait a couple of hours until my fucking headache is gone 15:29 < Wombert> just looking at the computer every couple of minutes atm 15:29 < Wombert> but sure, go ahead 15:40 < AngryMikeSeth> ah stupid motherfucking IE doesnt handle onChange events in elements outside of a form 15:40 < AngryMikeSeth> god damnit 15:47 < _cheerios> PIIIIIIIIIIIIIIIIIZZZZZZZZZZZZZZZZAAAAAAAAAAAAAAAAAAAAAa 15:47 < AngryMikeSeth> EXPLORER 15:49 < digitarald> Mike, check for onkeydown 15:49 < digitarald> and observe blur ;) 15:49 < digitarald> do u use prototype? 15:53 < AngryMikeSeth> no, YUI 15:53 < AngryMikeSeth> lemme check its fine manual 16:17 -!- codecop [n=codecop@85.206.205.145] has quit ["Have to go"] 16:20 -!- skiv02 [n=10330536@bzq-84-108-22-27.cablep.bezeqint.net] has joined #agavi 16:20 < skiv02> what's agavi? 16:24 < AngryMikeSeth> awesome 16:25 < AngryMikeSeth> skiv02, do you write PHP? 16:26 < skiv02> yep 16:26 < AngryMikeSeth> lookin for a job? 16:26 < skiv02> :) 16:26 < skiv02> you serious? 16:27 < AngryMikeSeth> yes, friend is hiring in Jerusalem 16:27 < skiv02> puff 16:27 < skiv02> where are you from? 16:27 < AngryMikeSeth> Kfar Saba 16:27 < skiv02> walla 16:27 < AngryMikeSeth> raita ma ze 16:27 < skiv02> hmmm 16:29 < skiv02> you there? 16:29 < AngryMikeSeth> yes 16:29 < AngryMikeSeth> why 16:30 < skiv02> you're not answering the private chat 16:30 < skiv02> maybe it's my stupXX client 16:30 < AngryMikeSeth> no, you need to log in 16:30 -!- skiv03 [n=skiv02@bzq-84-108-22-27.cablep.bezeqint.net] has joined #agavi 16:30 < AngryMikeSeth> you cant privmsg if you arent logged in 16:30 < digitarald> register nick for freenode 16:31 < digitarald> http://freenode.net/faq.shtml#identify 16:32 < skiv03> what IRC clients you use? 16:34 < digitarald> i see no client now, before it was emule ;) 16:34 < skiv03> what client do you use? 16:35 < skiv03> agavi looks nice 16:35 < Wombert> it is nice! 16:35 < skiv03> anybody wrote some kind of documentation? 16:35 < skiv03> or SVN docs ? 16:35 < AngryMikeSeth> I use xchat 16:36 < digitarald> its a bleeding edge framework, docs are not really impressive now 16:36 < Wombert> what should we do about simple actions now 16:36 < Wombert> should they run at all 16:37 < Wombert> or just skip to the view 16:37 < digitarald> i need no execute 16:37 < digitarald> skip execution 16:37 < AngryMikeSeth> Wombert, if there's an execute method, run it. Otherwise, skip it? 16:37 < Wombert> well the thing is 16:37 < Wombert> if you have execute() 16:38 < Wombert> the action would serve all request methods in non-simple mode 16:38 < Wombert> so I can't just look for execute() 16:38 < Wombert> $executeMethod = 'execute' . $method; 16:38 < Wombert> if(!method_exists($actionInstance, $executeMethod)) { 16:38 < Wombert> $executeMethod = 'execute'; 16:38 < Wombert> $useGenericMethods = true; 16:38 < Wombert> } 16:39 < Wombert> we could save the method_exists call 16:40 < Wombert> plus right now it still runs an action's validate() method 16:40 < Wombert> the main issue is 16:40 < Wombert> a slot typically doesn't care about the request method 16:40 < Wombert> but it might have to if the action is "dual use", i.e. standalone and slot 16:41 < AngryMikeSeth> Wombert, why would an action be simple and not simple at the same time? E.g. what's the purpose? 16:41 < Wombert> I've heard the argument that for such things as displaying a product, or showing an edit form, you should use the view, not the action 16:41 < Wombert> AngryMikeSeth: if the action can run as a slot or work standalone 16:41 < Wombert> I have no idea 16:41 < Wombert> but it is possible because isSimple() is a method so you could programatically decide it's mode 16:42 < AngryMikeSeth> I dont like it. isSimple() does not necessarily correspond with an Action running is a Slot 16:42 < Wombert> I can't think of a use case but I'm sure over time someone will find it useful 16:42 < Wombert> huh? 16:43 -!- horros41 [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 16:43 < horros41> HELO 16:44 < AngryMikeSeth> Wombert, I just cant conceive a case where the action can be simple and not simple at the same time 16:45 < Wombert> 250 Hello horros41 16:45 < Wombert> I can, AngryMikeSeth 16:46 < Wombert> LatestProductAction 16:46 < Wombert> can be a full page 16:46 < Wombert> or a box in the sidebar 16:49 < AngryMikeSeth> yes, *and* it can also be a product summary with a picture 16:49 < horros41> Wombert: heh, took me an hour on the train today to get even a simple test to work with agavi 0.11 :D 16:49 < AngryMikeSeth> how would isSimple() help that? 16:49 < horros41> Wombert: then I disabled routing and all was well in horrosland :) 16:55 < _cheerios> what happened to my firebug. it's appending every page request to existing data instead of starting from scratch 16:56 < AngryMikeSeth> huh? 16:56 < AngryMikeSeth> i use it daily and I dont observe such.. effects 16:56 < _cheerios> must be the switch to iceweasel 16:57 < AngryMikeSeth> iceweasel lol 16:57 < AngryMikeSeth> Debian trying to be bad ass 16:59 < _cheerios> re-installed. working now. 16:59 < AngryMikeSeth> eh heh heh 17:00 < _cheerios> iceweasel has the eyes of a psycho killer 17:00 < _cheerios> don't say his name in vain... 17:00 < AngryMikeSeth> hah talking heads flashback 17:08 < Wombert> horros41: oO wtf? 17:08 < Wombert> what was wrong? 17:09 < horros41> no idea :) 17:10 < horros41> I added /test to routing.xml, but.. *shrug* 17:10 < Wombert> oh come on 17:10 < Wombert> you still got "welcome to agavi", right? 17:10 < horros41> yes, that part worked 17:10 < horros41> but not when I made my own action 17:10 < Wombert> why 17:10 < Wombert> you still got that message? 17:11 < horros41> hold on, let me re-enable routing 17:11 < horros41> o_O 17:11 < horros41> wtf 17:11 < horros41> now it works :O 17:11 * horros41 scratches head 17:11 < AngryMikeSeth> voodoo :D 17:11 < horros41> yeah, black magic :) 17:12 < AngryMikeSeth> Well, Routing IS black magic 17:12 < horros41> the error was from some XML-parser or the other complaining that there's no data 17:12 < horros41> and the resulting page was completely blank except for the comment that the executiontimefilter stuffs in there 17:12 < horros41> oh well 17:12 * horros41 shrugs 17:13 < horros41> this brings me to another thing... if one's using routing, then you have to edit routing.xml for every new module or action you add, yes? 17:14 < AngryMikeSeth> horros, not necessarily, but in many instances likely 17:14 < horros41> hmm 17:14 < horros41> :I 17:14 < horros41> one more obstacle in upgrading to 0.11 17:15 < v-dogg> how do you generate urls now? 17:16 < horros41> umm, the normal way? index.php?module=Foo&action=Bar 17:16 < AngryMikeSeth> so what'd you need routing for then? 17:17 < v-dogg> horros41: the norma way being controller::genUrl or what it used to be? 17:17 < horros41> well, if I'm upgrading to 0.11, why not go "all the way"?-) 17:17 < horros41> v-dogg: never used genUrl 17:17 < v-dogg> ok 17:18 < v-dogg> migrating to 0.11 might be a pain then 17:18 < v-dogg> but routing.xml is very nice after that, though 17:18 < horros41> agreed 17:18 < horros41> v-dogg: except I have to programmatically edit it, which means giving the webserver write-access to the file :) 17:19 < AngryMikeSeth> not really :D 17:19 < horros41> sure I do/it does. 17:20 < v-dogg> or you write a MyDbRouting and keep routes in the db 17:20 < horros41> hmm 17:20 < horros41> :O 17:20 < v-dogg> should be easy 17:20 < horros41> sounds like a plan! 17:20 < horros41> I can probably stuff the rbac-stuff into the db too instead of the xml-file I noticed not two hours ago?-) 17:21 < v-dogg> :) 17:21 < v-dogg> you had your own rbac implementation, right? 17:21 < v-dogg> 0.11 has one too 17:22 < horros41> yeah, I have my own implementation, and yes, I noticed 0.11 has an implementation :) 17:22 < horros41> hmm 17:22 * horros41 ponders 17:23 < v-dogg> I need an antivirus software for win 2003 server 17:23 < v-dogg> something very light weight 17:24 < AngryMikeSeth> Debian netinst CD 17:24 < v-dogg> sorry, not an option :) 17:24 < horros41> v-dogg: antivir.com 17:24 < v-dogg> the server runs win32-only software 17:24 < horros41> v-dogg: or clamav :) 17:25 < horros41> I run clamav on my laptop 17:25 < v-dogg> don't know either 17:25 < horros41> I run antivir on the other laptop (missus' laptop) 17:25 < horros41> and clamav on this one 17:25 < horros41> granted, clamav doesn't have "on-access" scanning 17:26 < horros41> then again, I don't download and run everything I come across on the net :) 17:26 < Wombert> horros41: as an alternative, you could also xinclude other routing.xmls 17:26 < Wombert> or 17:27 < Wombert> you xinclude from a stream that grabs routes from a database 17:27 < Wombert> or as v-dogg suggested, you write a custom routing implementation that reads directly from the database. I expect that to be the most difficult one, tho 17:27 < horros41> I'll have to investigate this 17:27 < horros41> and start porting the app to 0.11 17:27 < Wombert> of course, you can load rbac definitions from a database 17:28 < Wombert> agavi's rbac implementation works like this: 17:28 < Wombert> you define roles 17:28 < Wombert> it reads the role definitions 17:28 < horros41> my documentation-writing won't really take off before that, since I know jack shit about the 0.11-branch :) 17:28 < Wombert> then isntead of granting credentials to the user 17:28 < Wombert> you grant roles 17:28 -!- skiv03 [n=skiv02@bzq-84-108-22-27.cablep.bezeqint.net] has quit [] 17:28 < Wombert> and the role's credentials will then be set for you 17:28 < horros41> that's how mine works too :) 17:28 < Wombert> the default loadRoleDefinitions() reads from an xml file 17:28 < Wombert> but you can simply overwrite that method and load from a database 17:28 < Wombert> piece of cake, as you may imagine 17:29 < horros41> right 17:29 < horros41> I'll have to check it out a bit later, have to go to the dog park with ze dog 17:30 < horros41> btw 17:30 < horros41> what was that svn command so you could like... copy another svn repository to "inside" another repository? 17:32 -!- MikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has joined #agavi 17:33 < v-dogg> external somethingorother? 17:39 < Wombert> yah 17:39 < Wombert> v-dogg: what do you think about simple actions and execute() 17:39 < v-dogg> what about them? 17:41 < Wombert> should a simple action run execute()? 17:42 < Wombert> or just jump directly to the view (with getDefaultViewName) 17:42 < Wombert> problem is that your method might be write, but the action only serves read, since it's... for instance a LatestProductAction that can run both as slot and standalone 17:43 < Wombert> and I stumbled over another problem 17:43 -!- AngryMikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 17:43 < Wombert> if the actiondoesn't serve any request methods... then the view gets unvalidated data :S 17:46 -!- skiv02 [n=10330536@bzq-84-108-22-27.cablep.bezeqint.net] has quit [Read error: 110 (Connection timed out)] 17:49 < v-dogg> hhmm.. 17:50 < Wombert> but that's okay I guess, that's how our (crappy!) system is designed 17:50 < Wombert> now the question is just whether or not to run an execute method 17:50 < Wombert> we cannot rely on execute() since it might not be there (as it declares an action serving all methods) 17:50 < Wombert> should we skip execution altogether? 17:50 < Wombert> or should i still call it 17:51 < Wombert> and if yes, should validate*() be called 17:51 < v-dogg> I actually thought turboactions would skip execute 17:51 < Wombert> okay then 17:51 < v-dogg> no validation so no execution 17:51 < Wombert> well you get the stuff in the view 17:51 < Wombert> but 17:52 < Wombert> simple actions don't get request data anyway, just the arguments of the container 17:53 * MikeSeth pokes Wombert 17:53 < MikeSeth> noes! Action returning isSimple() or not does not coincide with it being in the slot or not 17:54 < MikeSeth> a simple action is not the same as an action in a slot 17:54 < Wombert> nobody said so 17:54 < MikeSeth> so can you define the simple actions then? cuz I think we really are talking about different ideas 17:54 < Wombert> to make an action "simple", you do 17:55 < Wombert> public function isSimple() 17:55 < Wombert> { 17:55 < Wombert> return true; 17:55 < Wombert> } 17:55 < MikeSeth> yes, but what does it *mean* when an action is simple? What changes in the framework's behaviour? 17:55 < Wombert> if you prefer to have simple actions implement an interface instead, your base action isSimple returns $this instanceof IMySimpleActionInterface 17:55 < v-dogg> or return FigureOutIfSimpleUsingVoodooMagic(); 17:56 < Wombert> a simple action will not run through filters, will not use execute(), therefor not run validation, and not get data from the request 17:56 < Wombert> only the container arguments will be available 17:56 < Wombert> so you can do 17:57 < MikeSeth> so basically its a shortcut to one of the action's states skipping all logic and proceeding straight to the view? like 'dont do nothing, just load the default form/controls/page'? 17:57 < Wombert> $this->createExecutionContainer('Default', 'Menu', new AgaviRequestDataHolder(array('parameters' => array('category' => 6)))); 17:57 < Wombert> MikeSeth: you'll usually only use it for slots 17:57 < Wombert> because request args aren't available 17:58 < Wombert> oh and 17:58 < Wombert> I will add 17:58 < Wombert> createSlotContainer 17:58 < Wombert> and createForwardContainer 17:58 < Wombert> to the view 17:58 < Wombert> both accept an array OR a request data holder 17:58 < Wombert> if it's an array, it will be used as the parameters in the holder 17:58 < MikeSeth> er um.. if the action is running in a slot, it doesnt mean it should skip validation, execution and filters.. does it? 17:58 < Wombert> makes it a little more convenient 17:59 < Wombert> and they will set "is_slot" or "is_forward" in their containers 17:59 < Wombert> so you can easily detect if it's a slot 17:59 < Wombert> so yes, I finally accept your wish for such a feature :p 17:59 < Wombert> MikeSeth: it usually does 18:00 < MikeSeth> Lemme think 18:00 < Wombert> in most situations, a slot doesn't need any information to do it's job, and if it needs such information, in 99% of the cases YOU have to give it that info, and it can be assumed that this information does not need to pass through validation 18:01 < MikeSeth> yeah makes sense now that I think of it 18:01 < Wombert> simple actions will only have container arguments, i.e. the data you pass in as the third argument to createExecutionContainer 18:01 < MikeSeth> I'm not so sure about filters though.. 18:01 < Wombert> then use a normal action ;) 18:01 < Wombert> you can still make it non-validating by simply having it serve no request methods 18:02 < MikeSeth> I think I finally get your point 18:02 < MikeSeth> though I am now unsure about execute() :) 18:02 < Wombert> me too but we can change it 18:03 < Wombert> the next days will have to show how people use it 18:03 < Wombert> another point is that simple actions don't run through the execution filter 18:03 < Wombert> err 18:03 < Wombert> security filter I mean 18:03 < MikeSeth> oh.. you confused me there for a moment 18:03 < MikeSeth> why not though? 18:04 < Wombert> because they don't run through any filters ;) 18:04 < MikeSeth> so they're by definition insecure? 18:04 < Wombert> heh 18:04 < Wombert> no :) 18:04 < MikeSeth> then i dont know what security does 18:05 < Wombert> they're only insecure if you mess something up :D 18:05 < Wombert> security for slots is a bit "meh" anyway 18:10 < v-dogg> baah... kazillion and one tooltip implementations out there 18:10 < v-dogg> something wrong with each and everyone 18:11 < Wombert> tooltip? 18:12 < v-dogg> mouse over hovering kinda thingy gizmo system 18:12 < v-dogg> with html content fetched w/ ajax 18:12 < Wombert> woot 18:12 < Wombert> that sucks 18:12 < Wombert> what for 18:12 < v-dogg> extra info 18:13 < Wombert> uncool 18:13 < v-dogg> why is that 18:13 < Wombert> add an "i" icon button thing next to the element 18:13 < Wombert> with a link 18:13 < Wombert> the link links to a real page with the additional info (for those without javascript) 18:13 < v-dogg> that's the idea, but you would also get that extra info as a tooltip 18:13 < Wombert> and an onclick event handler then grabs the info and displays a popup 18:14 < Wombert> and, of course, returns false, so the browser won't follow the link 18:14 < Wombert> mouseovers are problematic 18:14 < Wombert> since the user has moved the mouse away by the time the ajax response arrives 18:14 < v-dogg> ok, different trigger method, otherwise the same implementation 18:16 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:17 < Wombert> anyone played with the caching yet btw? 18:18 < v-dogg> is it in? woot 18:18 < Wombert> yup 18:20 * digitarald not 18:20 < digitarald> lets do it ... in 30min 18:20 < CIA-23> david * r1638 /branches/0.11/ (4 files in 4 dirs): 18:20 < CIA-23> support for lightweight actions. these don't run through action filters, don't 18:20 < CIA-23> call execute() on the action (and thus don't pass validation) and don't get any 18:20 < CIA-23> data from the actual request, only the arguments set on their containers. good 18:20 < CIA-23> for slots. make an action 'simple' by returning true from isSimple() in the 18:20 < CIA-23> action. closes #407 18:21 < v-dogg> brilliant for menu actions and alike 18:21 < Wombert> jup 18:22 < Wombert> I measured only a slight performance increase, around 10%, but that action didn't serve any request methods anyway, so no validation either, and there were no filters in place 18:25 < Arme[N]> -!- Irssi: Join to #agavi was synced in 466 secs 18:25 < Arme[N]> WTF with my connection!? 18:25 < Wombert> for you, MikeSeth: http://trac.agavi.org/ticket/410 18:26 < Wombert> Arme[N]: mister ahmadinedschad must personally confirm every single TCP packet 18:26 < Wombert> :D 18:26 < MikeSeth> ahahahah great thanks 18:26 < Arme[N]> ah you right :P 18:28 -!- horros41 [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 18:32 < CIA-23> david * r1639 /branches/0.11/src/controller/AgaviExecutionContainer.class.php: aaah, ze debug output 18:33 < CIA-23> david * r1640 /branches/0.11/ (2 files in 2 dirs): added createSlotContainer and createForwardContainer methods, closes #410 18:34 < Wombert> there ya go, MikeSeth 18:37 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 18:44 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:54 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 19:07 -!- horros41 [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 19:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Nick collision from services.] 19:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 19:21 -!- horros41 [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)] 19:33 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 19:37 < Wombert> anyone care to fix http://trac.agavi.org/ticket/402 19:39 < Wombert> horros: ping 19:49 -!- horros_ [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 19:50 < Wombert> hah! 19:50 < Wombert> horros_: ping ping ping 19:50 < horros_> hi 19:50 < Wombert> can you help with http://trac.agavi.org/ticket/340 19:50 < Wombert> write down everything you come across 19:50 < Wombert> doesn't have to be organized or perfect 19:51 < horros_> I had some filesystem problems :) 19:51 < Wombert> just write down all changes you notice, so someone can write a proper migration guide 19:51 < horros_> will do 19:51 < Wombert> (you said you'd port your app these days) 19:51 < Wombert> speaking of days 19:51 < Wombert> today 19:51 < Wombert> is top gear day 19:51 < horros_> hmm, I don't have a trac username, do I?-) 19:51 < Wombert> and I believe I must buy a satellite thing first thing tomorrow :p 19:51 < Wombert> lemme check 19:51 < horros_> oh, right you are! have to download tomorrow :) 19:53 < horros_> Wombert: alles gut 19:53 < Wombert> horros_: jawoll 19:54 -!- horros [n=Miranda@a81-197-134-106.elisa-laajakaista.fi] has quit [Nick collision from services.] 19:54 -!- horros_ is now known as horros 19:55 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 20:09 < Wombert> v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg v-dogg 20:09 < Wombert> aaaand 20:09 < Wombert> who else 20:09 < Wombert> digitarald: digitarald digitarald digitarald digitarald digitarald digitarald digitarald digitarald digitarald digitarald 20:10 < MrJeep> whats up ! 20:10 < Wombert> oooh thou art here too 20:10 < Wombert> doing http://trac.agavi.org/ticket/406 right now, MrJeep 20:10 < Wombert> should I put getErrors etc into the container 20:11 < Wombert> or into the validation manager 20:11 < Wombert> I'd prefer the latter, makes the container a little slimmer, and thus potentially faster 20:11 < MrJeep> yep, i guess I was tired since I sleeped from midnight to 1 pm 20:11 < MrJeep> hum 20:11 < Wombert> even though I don't think there is any difference in instantiation time 20:13 < MrJeep> I would say in the validation manager 20:13 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection] 20:13 < MrJeep> it makes sense 20:13 < MrJeep> brb 20:14 < Wombert> me too 20:14 < horros> hmm 20:14 < horros> I think it's shower time, then a bit of tv, and then Zzzzz 20:15 < horros> see you tomorrow morning :) 20:16 -!- horros [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:16 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 20:17 -!- feiichi [n=feiichi@local.hide-forest.net] has joined #agavi 20:17 < _cheerios> 4hrs till midnight! aarrr!! 20:20 < feiichi> sup? 20:37 < _cheerios> anyone got some trance mixes online for dl ? 20:38 < MikeSeth> hmmm 20:38 -!- forda [n=feiichi@local.hide-forest.net] has joined #agavi 20:38 -!- feiichi [n=feiichi@local.hide-forest.net] has quit [Read error: 104 (Connection reset by peer)] 20:38 < MikeSeth> not really but i got some stuff here 20:39 -!- forda is now known as feiichi 20:41 * MikeSeth pokes _cheerios 20:41 * _cheerios head butts MikeSeth 20:41 < MikeSeth> what kinda music you look for? 20:41 < _cheerios> i could use some new tunes 20:41 < MikeSeth> Frontline Assembly good? 20:41 < _cheerios> these 80min trance mixes are getting old after Nth repetition 20:41 < _cheerios> whatever sounds good (!) 20:42 < _cheerios> i'll judge after listening 20:42 < MikeSeth> okay. It's on my local windows box. How do I get it to you? 20:42 < _cheerios> preferably something i can just wget 20:42 < MikeSeth> nuuh :( 20:43 < MikeSeth> anywhere I could FTP? 20:43 < MikeSeth> or actually.. got MSN? 20:45 < _cheerios> yeah, but transfers really don't work that good 20:49 < _cheerios> googled a few tunes for dl. 20:49 < _cheerios> i could setup ftp, but that means typing adduser, and hey :/ 20:50 < MikeSeth> oh yes.. too much pain 20:50 < MikeSeth> anyway, head over to tormentedradio.com 21:05 < _cheerios> 9pm... 3hrs... final stretch... time for weekends last cup of coffee! 21:08 < _cheerios> dj cyberwolf. some kind of psychedelic techno. too depressing, too hard beats :/ 21:11 < v-dogg> why are you worrying about midnight? 21:12 < _cheerios> cuz it means bedtime, end of weekend. 21:12 < _cheerios> and also that i have so much time left to meet whatever i wanted to accomplish! 21:20 < _cheerios> MikeSeth, your radio recommendation beat all 3 tunes I downloaded. 21:20 < MikeSeth> yes. I know. :D 21:25 < Wombert> so 21:25 < Wombert> _cheerios, MikeSeth, v-dogg 21:25 < MikeSeth> yessir 21:25 < Wombert> getErrors() etc into the container 21:25 < Wombert> or the validation manager 21:25 < Wombert> mind you, validation manager is per-container now 21:25 < MikeSeth> cant say - dont know the facility 21:27 < _cheerios> havent dabbled with multiple containers 21:28 < Wombert> guys 21:29 < Wombert> it's just about moving AgaviRequest::getErrors() and friends 21:29 < Wombert> to either the container 21:29 < Wombert> or the validation manager in the container 21:29 < Wombert> which? 21:30 < _cheerios> are you seeking for the "correct" place for it? 21:30 < Wombert> yes 21:33 < _cheerios> -blank vote- 21:33 < Wombert> very helpful 21:34 < _cheerios> it means i trust your choice, whichever it ends up being. 21:34 < Wombert> :p 21:38 < _cheerios> Showing rows 0 - 12 (13 total, Query took 0.0232 sec) << not too good 21:45 < _cheerios> missing index. even with only 13 items in the table 0.02 -> 0.002s 21:52 < splatch> Wombert: don't poke me! ;) 22:27 < v-dogg> hmph, my irssi doesn't hilite unless my nick is in the begining of the line 22:27 < v-dogg> need to fix that 22:27 < Wombert> v-dogg: 22:27 < Wombert> v-dogg: 22:27 < Wombert> v-dogg: 22:27 < Wombert> :> 22:46 < _cheerios> ... 22:49 < v-dogg> I don't know if it makes any difference whether getErrors() lives in the vm or in the container 22:50 < Wombert> I believe it would be cleaner to have it in the vm 22:50 < v-dogg> vm would be the logical place for _validation_ errors, but what about eg. incorrect login? 22:51 < v-dogg> well... both go for me 22:51 < v-dogg> put them into the vm 22:54 < v-dogg> to bed -> 22:58 < _cheerios> STILL ONE HOUR, DOGG! 23:12 < CIA-23> david * r1641 /branches/0.11/samples/app/modules/Default/ (2 files in 2 dirs): fixed typos 23:13 -!- AngryMikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has joined #agavi 23:13 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 23:15 < CIA-23> david * r1642 /branches/0.11/ (9 files in 7 dirs): each container has its own validation manager now. all error-related methods moved from request to validation manager. sample app adjusted accordingly. closes #406, fixes #405 23:30 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 23:39 < _cheerios> 20min x_X 23:39 < Wombert> man, I'll finish just in time 23:39 < Wombert> close last bug ticket 23:39 < Wombert> clean up unit tests 23:39 < Wombert> clean up copyright info 23:40 < Wombert> that means >99% on the roadmap 23:40 < Wombert> then write an email wrt caching 23:40 < Wombert> then bed 23:40 < Wombert> or 23:40 < Wombert> hmmmh 23:40 < Wombert> superbowl 23:40 < _cheerios> it's been a good weekend \o/ 23:40 < _cheerios> does it even begin for a few hrs? 23:40 < splatch> Wombert: ! :) 23:40 < Wombert> any news from darek, splatch? 23:41 < splatch> no, can you wrire any mail to him? 23:42 < Wombert> sure 23:42 < Wombert> will do that later 23:45 -!- nakadai [n=farafa@S0106001346f3d20b.vc.shawcable.net] has joined #agavi 23:46 < nakadai> Hi.. is there any one that help :-) 23:46 < Wombert> of course 23:47 < Wombert> #1 IRC rule: just ask your question, and wait 23:47 < Wombert> with patience 23:47 < Wombert> not only for five or ten minutes 23:47 < nakadai> I am new to agavi.. and I like it because I can set up very easy :-D 23:47 < Wombert> :p 23:47 < nakadai> ok .. thanks wombert 23:47 < nakadai> then here is my question .. 23:47 < nakadai> I don't mod_rewrite ... can I still use agavi? 23:48 < Wombert> of course! 23:48 < nakadai> cool 23:48 < Wombert> agavi uses mod_rewrite _only_ to remove the "index.php" part from the url 23:48 < nakadai> ok I see... I created a module called parts ... how can I access it 23:48 < nakadai> in the browser 23:49 < nakadai> :-( I could not find anywhere in the docs 23:49 < nakadai> and looked at the code with no luck ... I know it is something too simple.. bu I got stuck there 23:50 < Wombert> okay 23:50 < Wombert> first, modules are basically just a container for many actions 23:50 < nakadai> I get to the default module alright .. 23:50 < Wombert> typically an instrument to structure your application 23:50 < nakadai> yes I understand that part... thanks for elaborating 23:51 < Wombert> now you have two options 23:51 < Wombert> a) disable routing and use index.php?module=parts&action=Index 23:51 < Wombert> b) add a route 23:51 < Wombert> b) is the way to go 23:51 < nakadai> ok.. great... how can I disable routing.. I guess the XML settings file .. right? 23:52 < Wombert> yes but as I said... that's not really the recommended way ;) 23:52 -!- feiichi [n=feiichi@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 23:52 < Wombert> you should use the routing, it's more convenient to generate URLs with it, you can easily control access to parts of your app, and it does much more than just "nice urls" 23:52 < nakadai> I see 23:53 < Wombert> now for a route to your "Index" action in module "parts" (is the case correct?) 23:53 < nakadai> Yes 23:53 < Wombert> 23:54 < Wombert> now you also have a ViewAction in the parts module to view a part 23:54 < Wombert> 23:54 < nakadai> Yes 23:54 < Wombert> that matches urls like /part/13 but not /part/13/ or /part/abc 23:54 < Wombert> the matched number is put into the request parameter "id" 23:55 < Wombert> you can access it in the action 23:55 < Wombert> by the way 23:55 < Wombert> if you can, use the latest version from SVN 23:55 < Wombert> we will release RC2 on wednesday, it will contain some changes 23:55 < nakadai> I can do that :-D 23:55 < Wombert> oh great 23:55 < Wombert> branches/0.11 please 23:55 < nakadai> Yes 23:56 < nakadai> So if I don't add the routs .. I will not be able to access the module/action .. right? 23:56 < Wombert> you could setup a generic route that allows urls like /module/action 23:56 < Wombert> but that sucks 23:57 < Wombert> one of the points of the routing is that your URLs don't have to follow your application's internal structure 23:57 < Wombert> you could rebuild the entire app, but the URLs stay the same 23:58 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.agavi.org :: 0.11RC2 WEDNESDAY :: http://trac.agavi.org/milestone/0.11 (98%) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 23:58 < nakadai> ok .. great .. now .... where do I change/add routes 23:58 < Wombert> routing.xml 23:58 < nakadai> duh 23:59 < Wombert> aaah but 23:59 < Wombert> I wanted to show you something 23:59 < nakadai> please do 23:59 < Wombert> now let's assume you want the following 23:59 < Wombert> .../parts for the "main" parts overview page 23:59 < Wombert> .../part/13 to view a part 23:59 < Wombert> .../part/13/gallery for it's gallery --- Day changed Mon Feb 05 2007 00:00 < Wombert> now you can use a nice feature: nested routes 00:01 < nakadai> ok.. I am all eyes... please go on 00:01 < Wombert> 00:01 < Wombert> 00:01 < Wombert> 00:01 < Wombert> 00:01 < Wombert> and in your template 00:01 < Wombert> $ro->gen('parts.view', array('id' => 13)); 00:01 < Wombert> will generate url "/part/13" 00:01 < nakadai> ahh I see 00:01 < nakadai> cool 00:01 < Wombert> so for nested routes, if you prepend the name with a dot, they are concatenated 00:02 < nakadai> gotcha 00:02 < Wombert> that works with actions, too (you can have "subactions") 00:02 < Wombert> a general recommendation 00:02 < Wombert> _always_ anchor URLs as much as possible 00:02 < Wombert> let's assume the "list" route looks like this: 00:03 < Wombert> 00:03 < Wombert> then this url: /partLALALALALAs 00:03 < Wombert> would match! 00:03 < Wombert> but that can be very useful. 00:03 < Wombert> are you familiar with the concept of agavi's output types? 00:03 < nakadai> not very much 00:03 < Wombert> okay here's the idea 00:03 < Wombert> you write your action once 00:04 < Wombert> it only contains logic code 00:04 < Wombert> no presentation 00:04 < Wombert> then you can use it to generate html 00:04 < Wombert> a json respose for ajax 00:04 < Wombert> rss 00:04 < Wombert> a pdf file 00:04 < Wombert> etc 00:05 < Wombert> for instance, the sample application has an XMLRPC interface 00:05 < nakadai> ahh ... that is controlled by the context... and accordingly spits out the correct template .. right? 00:05 < Wombert> it uses the exactly same code as in the html version 00:05 < Wombert> BUT 00:05 < Wombert> different response type 00:05 < Wombert> in a way, yes 00:05 < Wombert> a context can also hvae different request and response implementations 00:05 < Wombert> for ajax, you use the same context as for html 00:05 < nakadai> .. you are get my attention very easily .. please keep going on the same line of thought 00:06 < Wombert> but for xmlrpc, you'd need a different context 00:06 < Wombert> it all depends on the protocol, not the output format 00:06 < Wombert> let me quickly call a friend to come here... 00:07 < nakadai> I gotcha.... are decorations autmatically removed from Ajax calls 00:07 -!- AgaviBot [n=dzuelke@dslb-084-056-033-128.pools.arcor-ip.net] has joined #agavi 00:07 -!- AgaviBot [n=dzuelke@dslb-084-056-033-128.pools.arcor-ip.net] has quit [Remote closed the connection] 00:07 < Wombert> no 00:07 < nakadai> ok 00:07 < Wombert> ooh he crashed 00:07 < Wombert> anyway 00:07 < Wombert> simple 00:07 < Wombert> for ajax calls, a different output type is used 00:07 < Wombert> and that output type would have a different default layout 00:07 < Wombert> without decorators 00:07 < nakadai> ok.. 00:07 < Wombert> so yes, in a way, that happens automtically 00:07 < Wombert> however, we changed the decorators stuff for RC2 00:07 < Wombert> drastically 00:08 < Wombert> there are some emails on the mailing list regarding that 00:08 < Wombert> you can now have any number of template layers 00:08 < Wombert> also each can have different renderers, so the inner one uses PHP, the outer ones use Smarty or so 00:09 < nakadai> Wombert: When does the community expect to release a stable 0.11 00:10 < Wombert> 0.11RC2 is coming wednesday 00:10 < Wombert> we're also working on a migration guide for those who still use 0.10 (uuuaaah) 00:10 < nakadai> so this will only take bug fixes and no features .. right? 00:10 < Wombert> 0.11RC2 has new features and even some breaking changes 00:10 < Wombert> but after that, no more changes, right 00:10 < nakadai> excellent.... 00:10 < Wombert> 1.0 comes after 0.11 00:11 < Wombert> 1.0 = 0.11 + FULL (!) documentation, a _really_ good website, new unit tests, and a full testing infrastructure for applications 00:11 < Wombert> plus maybe some improvements, but certainly no breaking changes (unless necessary to fix bugs, of course) 00:12 < nakadai> great... 00:12 < nakadai> Wombert: I really appreciate all the time you've given me here ... I will go and try to use all the tips you've given me here and hope to be succesful :-) 00:13 < Wombert> nakadai: please, stay around! 00:13 < Wombert> I'll be here for some more time and happy to help 00:13 < Wombert> there's also a lot more activity here during the week, and during daytime :) 00:13 < nakadai> ohh.. I'll be here 00:13 < Wombert> aaah 00:13 < nakadai> great... I really appreciate your help 00:14 < Wombert> just a second 00:14 < nakadai> ok 00:14 < Wombert> 00:14 < Wombert> and 00:14 < Wombert> 00:14 < Wombert> the first route sets the output type to "rss" for all URLs that end on /rss 00:15 < Wombert> then removes that portion from the URL input for following routes 00:15 < Wombert> and also continues execution on a match 00:15 < Wombert> since it's non-stopping, it can be attached to normal routes 00:15 < Wombert> $ro->gen('parts.list+rss'); will generate /parts/rss 00:16 < nakadai> ok.. that went a bit over my head :-( .. but will get there eventually :-D 00:16 < Wombert> the second route will set the output type to "ajax" if the HTTP Accept header contains "text/javascript". prototype sends such a header when making a request, and I think other ajax frameworks do that, too 00:16 < nakadai> ah ... ok 00:17 < Wombert> so you can use the exactly same url to make an ajax call and get back a different response 00:17 < nakadai> just a quick recap on the routing ... after adding routs in the routing xml file.. is this how I access the url: /index.php/parts/Index 00:18 < Wombert> no 00:18 -!- AgaviBot [n=dzuelke@dslb-084-056-033-128.pools.arcor-ip.net] has joined #agavi 00:18 -!- AgaviBot [n=dzuelke@dslb-084-056-033-128.pools.arcor-ip.net] has quit [Remote closed the connection] 00:18 < Wombert> just /index.php/parts 00:18 < nakadai> ok 00:18 < Wombert> since "/parts" is mapped to module parts, action Index 00:18 < Wombert> and /index.php/part/13 will call ViewAction in the module parts, and you will find a request parameter called "id" with the value "13" 00:19 -!- AgaviBot [n=dzuelke@dslb-084-056-033-128.pools.arcor-ip.net] has joined #agavi 00:19 -!- AgaviBot [n=dzuelke@dslb-084-056-033-128.pools.arcor-ip.net] has quit [Remote closed the connection] 00:19 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 00:40 < nakadai> Wombert: works like a charm... thanks ... I first downloaded the 0.11 (Not from svn) and I love the new exception page.. made my life easy .. yaaha 00:40 < Wombert> ;) 00:42 < nakadai> Wombert: Very quick question... is there a way to package propel... i.e. not using pear .. you know for clients that don't have access to command line and can't install propel on their own 00:42 < Wombert> of course 00:42 < nakadai> you rock :-D 00:42 < Wombert> I usually add a "libs" folder to my project dir 00:42 < nakadai> let me gues.. download and put in the libs 00:42 < Wombert> i.e. on the same level as app/ pub/ etc 00:42 < nakadai> I have that too 00:42 < Wombert> okay 00:43 < Wombert> in there, you need a "propel" folder 00:43 < Wombert> runtime/classes/propel/ contents go there 00:43 < nakadai> inside libs? 00:43 < Wombert> yep 00:43 < Wombert> then in config.php (in app/) do 00:44 < Wombert> set_include_path(AgaviConfig::get('core.app_dir') . '../libs/' . PATH_SEPARATOR . get_include_path()); 00:44 < Wombert> also, I have my schema stuff in a folder dev/om 00:44 < Wombert> in there, I have a build.properties that will generate the classes into app/lib/ 00:44 < Wombert> so I add app/lib to the include path, too 00:45 < Wombert> I also package the generator the same way, except that the entire generator/ content sits in libs/propel-generator 00:45 < Wombert> if you can, use propel 1.3 00:45 < nakadai> okkkiieee 00:45 < Wombert> if you use svn to manage your project, you can also use svn externals 00:46 < Wombert> I always bundle agavi inside libs/, too 00:46 < nakadai> great... sounds simple enough.. I will get on it now .. and will let you know how it goes :-D 00:46 < Wombert> sure 00:47 < nakadai> thanks again 00:47 < Wombert> my pleasure 01:11 -!- benny`work [n=benny@p54AC1829.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:18 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 01:20 < CIA-23> dominik * r1643 /branches/0.11/src/ (2 files in 2 dirs): make validators construct the correct variable path when using validators with a base with a wildcard not in the end 01:31 -!- MikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has joined #agavi 01:46 -!- AngryMikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has quit [Read error: 110 (Connection timed out)] 02:47 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit ["plop!"] 03:26 -!- Wombert [n=Wombert@dslb-084-056-033-128.pools.arcor-ip.net] has quit [] 04:57 -!- MrJeep [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #agavi 04:57 < MrJeep> hi 04:58 < MrJeep> how can I get the validations error now ? 04:59 < MrJeep> since it's been moved to the validator manager 06:00 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 06:14 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:33 -!- nakadai [n=farafa@S0106001346f3d20b.vc.shawcable.net] has left #agavi [] 06:53 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 07:00 -!- Fr0zen_ [i=Fr0zen_@c-67-175-92-171.hsd1.il.comcast.net] has joined #agavi 07:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 07:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 07:33 -!- MrJeep [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [Read error: 104 (Connection reset by peer)] 07:41 -!- feiichi [n=feiichi@local.hide-forest.net] has joined #agavi 08:57 -!- horros [n=Miranda@a81-197-134-106.elisa-laajakaista.fi] has joined #agavi 08:57 < horros> morning 08:57 < horros> http://www.riemurasia.net/jylppy/displayimage.php?pos=-15690 08:57 < horros> lol 09:31 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has joined #agavi 09:31 < MikeSeth> hay gyus!!1! 09:33 < horros> omg hai 2 u MikeSeth lol 09:33 < MikeSeth> wat u do 09:33 < horros> slowly starting to port the huge app of ours to 0.11 :( 09:39 < MikeSeth> ahhh welcome to the club 09:48 < splatch> oi! 09:49 < splatch> *yaaaawn* ^n! 09:54 < horros> what the smeg.. 09:54 < horros> my svn update hung at 0% and won't die :( 09:54 < MikeSeth> oh noes 09:55 < MikeSeth> kill & restart :D 09:55 < MikeSeth> so, where should the base View go? to lib/? 10:05 * horros decides it'd be a good idea to take a backup of the Projects -directory for once 10:06 < horros> dumdedumdedume 10:06 * horros watches 37 000 files get backed up 10:10 < MikeSeth> kekeke 10:13 < v-dogg> huomenta 10:17 < MikeSeth> what does that word mean?! 10:18 < ttj> Good morning. 10:18 < feiichi> i just wanted to ask :)) 10:23 * v-dogg has an evil plan to turn #agavi into Finnish only channel 10:24 < feiichi> I can learn Finnish 10:24 < feiichi> lol 10:25 < raidman> v-dogg, lol 10:25 < raidman> huomenta 10:29 < MikeSeth> yeah? 10:29 < MikeSeth> I have an evil plan to make everyone speak HEBREW 10:31 < MikeSeth> any specific reason for me not to use output buffering? 10:59 -!- horros [n=Miranda@a81-197-134-106.elisa-laajakaista.fi] has quit [Read error: 131 (Connection reset by peer)] 11:04 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 11:05 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has quit [Read error: 104 (Connection reset by peer)] 11:05 -!- MikeSeth [n=mst@192.115.27.162] has joined #agavi 11:06 -!- eremit [n=eremit@p5490F507.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 11:06 -!- eremit [n=eremit@p5490F1F8.dip.t-dialin.net] has joined #agavi 11:12 -!- horros [n=Miranda@a81-197-134-106.elisa-laajakaista.fi] has joined #agavi 11:21 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 11:22 < _cheerios> morning 11:22 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 11:22 < RossC0> morning 11:29 < _cheerios> lo RossC0 11:29 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:44 < MikeSeth> ohhhhhh svn is heaven, svn + agavi is like heaven giving you head 11:45 < MikeSeth> no in fact 11:45 < MikeSeth> its like heaven approarching you on the street and going like 11:45 < MikeSeth> "You are so pretty, I'd like to suck you off, but since you're probably a very busy man, I am willing to compensate you for your time" 11:45 < MikeSeth> hehehehehe 11:47 -!- codecop [n=codecop@85.206.207.115] has joined #agavi 11:48 -!- Wombert [n=Wombert@dslb-084-056-031-135.pools.arcor-ip.net] has joined #agavi 11:51 < Wombert> huomenta 11:51 * Wombert pokes horros 11:51 < Wombert> you there buddy 11:52 < RossC0> in php is there a way to check if a script is run from the commandline ? 11:53 < RossC0> I need to change the line returns accordingly 11:54 < Wombert> PHP_SAPI or php_sapi_name() will be "cli" 11:54 < RossC0> champion - thanks 11:54 < Wombert> at least I think sop 11:54 < Wombert> awwwesome top gear episode by the way 11:55 < RossC0> man I missed 90% of it due to a phone call! 11:56 < RossC0> I'll watch the rerun in the week 11:56 < RossC0> :-) 11:56 < Wombert> download it! 11:56 < Wombert> :> 11:56 < Wombert> http://www.mininova.org/get/571328 11:56 < Wombert> 700megs tho 11:57 < RossC0> lol 11:57 -!- codecop [n=codecop@85.206.207.115] has quit ["Have to go"] 11:58 < MikeSeth> aw fuck 11:59 < MikeSeth> did !r on a working directory thinking it invokes ruby shell.. it invoked rm * 11:59 < RossC0> its repeated on wednesday - so I can wait! 12:04 < _cheerios> lol 12:05 < Wombert> "top gear" and "can wait" are mutually exclusive 12:06 < MikeSeth> I cant understand you. It's a car show! 12:08 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 12:11 < horros> Wombert: that bloke hasn't come back yet?-) 12:11 < horros> I want the 300 meg files, I don't have time to wait for 3580398485 hours! 12:12 < MikeSeth> I have a paid easynews account :D 12:15 < horros> :O 12:15 < horros> no peers?! 12:16 < Wombert> horros: no vuk, I'm afraid 12:16 < Wombert> horros: a suggestion while you port your project 12:17 < Wombert> app/lib/view/YourAppBaseView.class.php 12:17 < Wombert> app/lib/action/YourAppBaseAction.class.php 12:17 < Wombert> even if they're empty 12:17 < Wombert> do it 12:17 < Wombert> plus 12:17 < Wombert> same for every module 12:17 < horros> k k 12:17 < Wombert> app/modules/lib/view/YourAppModuleBaseView.class.php 12:17 < Wombert> you can autoload the module base view and action using a module autoload.xml 12:19 < Wombert> horros: also, DO NOT use execute() in any of your views 12:19 < Wombert> in your base view, public final function execute() throws an exception 12:20 < Wombert> or forwards to ze 404 page 12:21 < horros> #)¤(%)(#% 12:21 < horros> I can't seem to get an export of 0.11 :I 12:21 * horros does checkout and then export 12:22 < MikeSeth> Wombert, the framework should create them for you! I insist! 12:22 < horros> wtf...? 12:22 < horros> $ svn co http://svn.agavi.org/branch/0.11 agavi_0.11 12:22 < horros> svn: URL 'http://svn.agavi.org/branch/0.11' doesn't exist 12:22 < horros> oh 12:22 < horros> branches 12:24 < splatch> btw 12:24 < splatch> Are 0.11 branch is stable? 12:24 < v-dogg> stable as it can be :p 12:24 < v-dogg> that is, yes, most of the time :) 12:25 < ttj> It's stable when it's not unstable. :P 12:27 < v-dogg> yes :) 12:29 < horros> I like your reasoning :) 12:31 < Wombert> no more changesplanned 12:31 < Wombert> unless you guys spot something 12:32 < v-dogg> we never 12:34 < Wombert> the coolest thing about no-more-breaks is that I defeatet v-dogg :) 12:34 < Wombert> he said he didn't believe me when I said layouts was ze last big thing :>>>>> 12:34 * Wombert hugs v-dogg 12:36 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 12:36 < Xylakant> hi 12:36 < v-dogg> ello 12:37 < digitarald> Morning fellows 12:37 < raidman> ze is Finnish? :) 12:37 < raidman> you are spam every where it and I'm interested about it :P 12:37 < digitarald> ze is german english i think 12:37 < raidman> btw I can use turobo actions now? 12:38 < Wombert> yeah 12:38 < digitarald> method isSimple 12:38 < digitarald> return true 12:38 < Wombert> isSimple() { return true; } 12:38 < digitarald> in your action 12:38 < horros> "turbo actions"?! 12:38 < digitarald> simplefastsuperactions ;) 12:38 < Wombert> they don't pass validation, filters or actionexecution 12:38 < Xylakant> hmm. have there been any breaking changes during the weekend? 12:38 < Wombert> skip to the view directly 12:39 < Wombert> Xylakant: only the request error blah methods were moved to the container's validation manager 12:39 < raidman> okey 12:39 < horros> Wombert: nice 12:39 < digitarald> in the sample app templates there is the $container var 12:39 < Wombert> horros: good for slots 12:39 < horros> aye 12:39 < Wombert> digitarald: yup 12:39 < digitarald> its not defined in output_types.xml 12:40 < horros> and for our 928592 templates that are like select "Add user", "Remove user", "Edit users" :) 12:40 < Xylakant> i just updated my agavi installation, now pretty much everything is broken 12:40 < horros> so 12:40 < horros> how "stable" is propel 1.3? 12:40 < raidman> good for slots == components ;) 12:40 < digitarald> for me the same, all this validation/geterror codes 12:40 < digitarald> i use propel 1.3 12:40 < Xylakant> Fatal error: Call to a member function getContent() on a non-object in /opt/local/agavi-svn/src/filter/AgaviExecutionFilter.class.php on line 393 12:40 < Xylakant> propel 1.3 is pretty ok 12:41 < Xylakant> some bugs still, but nothing major so far 12:41 < Wombert> digitarald: doesn't have to be 12:41 < Wombert> horros: mind you, since there are no filters, these actions don't pass the security filter 12:41 < Wombert> you should only use them for slots 12:42 < digitarald> like MenuAction 12:42 < horros> right right. 12:42 < Wombert> remember that you can now give a slot request arguments 12:42 < Wombert> that should come in handy, too 12:42 < Wombert> no need to toss data around as request attributes or so 12:42 < horros> sweet 12:43 < raidman> is there any example out there? 12:43 < Wombert> raidman: for? 12:43 < digitarald> sample app, like always 12:43 < raidman> using args in slots 12:43 < raidman> ah MenuAction 12:43 < raidman> okey 12:44 < Wombert> raidman: an execution container accepts a request data holder as the third argument 12:45 < Wombert> but I added createSlotContainer and createForwardContainer to the view 12:45 -!- codecop [n=codecop_@85.206.207.115] has joined #agavi 12:45 < Wombert> they also accept an array, this array will be used as the parameters in the request data holder 12:45 < raidman> then I can call slot directly from view 12:46 < Wombert> plus, they set "is_slot" or "is_forward" parameters on the container, might come in handy if your action/view must find out whether or not it is run as a slot (if you have to do this check in the action, then something is broken) 12:46 < Wombert> nah, you register the slot as usual 12:46 < raidman> hmm 12:48 -!- codecop [n=codecop_@85.206.207.115] has quit [Client Quit] 12:48 -!- codecop [n=codecop_@85.206.207.115] has joined #agavi 12:49 < raidman> okey I got it, thanks 12:49 < Wombert> guys 12:49 < Wombert> another example for simple actions 12:50 < Wombert> public function isSimple() { 12:50 < Wombert> return $this->container->getAttribute('is_slot', false); 12:50 < Wombert> } 12:50 < Wombert> :) 12:50 < Wombert> oops 12:50 < Wombert> public function isSimple() { 12:50 < Wombert> return $this->container->getParameter('is_slot', false); 12:50 < Wombert> } 12:50 < Wombert> that way 12:50 < raidman> heh :) 12:51 < Wombert> keep in mind though that any slots added by hand (i.e. not loaded automatically through a layout) have to be created via $this->createSlotContainer, not via $this->container->createExecutionContainer 12:52 < Xylakant> what's the proper way if an action decides not to return any output? 12:53 < Xylakant> just return "null" or '' from execute? 12:54 < Wombert> null 12:54 < Wombert> that will skip execution 12:56 < v-dogg> in what situation do you use this? DoThingsInTheSideAction that you trigger as a slot but doesn't actually output anything? 12:57 < Xylakant> Wombert: found a bug then 12:57 < digitarald> every container should have a response, or am i wrong? In my BaseView $this->container->getResponse() returns null 12:57 < Wombert> Xylakant: ? 12:57 < Wombert> digitarald: in initialize? 12:58 < Xylakant> if an action returns null for a slot, no response seems to be created 12:58 < digitarald> yes 12:58 < Wombert> digitarald: hmm 12:58 < Wombert> what do you do there, in initialize? 12:58 < Xylakant> and the executionFilter dies on if(($output[$slotName] = $slotResponse->getContent()) !== null) { 12:58 < Xylakant> because slotResponse is null 12:59 < Wombert> good catch, Xylakant 12:59 < digitarald> i just assign some protected shortcuts in the BaseView 12:59 < Xylakant> at least that's as far as i could track it 12:59 < digitarald> request, routing and all these useful things 12:59 < Wombert> Xylakant: you're right 12:59 < digitarald> so, nothing bad 12:59 < Wombert> digitarald: will look into it 12:59 < Wombert> mmmh the problem is 13:00 < Xylakant> fix should be easy, however something similar is somewhere else - AgaviExecutionContainer:setResponse seems to get called with a null parameter. 13:00 < Wombert> Xylakant: where? 13:00 < Xylakant> haven't found that one yet, but i'll dig :) 13:00 < Wombert> Xylakant: http://xdebug.org/ 13:01 < Wombert> will give you a nice stack trace and show where it was called 13:01 < digitarald> Xylakant, working on your mac or still on your pc? 13:03 < Xylakant> Wombert: i can give you the call stack, had to fix the slots problem first 13:03 < Xylakant> digitarald: on my mac, why? 13:03 < Xylakant> Womber: call stack is 13:03 < Xylakant> 1 0.0001 262144 {main}() /Users/fgilcher/Sites/CMS2.0/src/ExoCMS/htdocs.ssl/index.php:0 13:03 < Xylakant> 2 0.3729 3670016 AgaviController->dispatch() /Users/fgilcher/Sites/CMS2.0/src/ExoCMS/htdocs.ssl/index.php:66 13:03 < Xylakant> 3 0.3843 3670016 AgaviFilterChain->execute() /opt/local/agavi-svn/src/controller/AgaviController.class.php:193 13:03 < Xylakant> 4 0.3843 3670016 AgaviFormPopulationFilter->executeOnce() /opt/local/agavi-svn/src/filter/AgaviFilterChain.class.php:91 13:03 < Xylakant> 5 0.3843 3670016 AgaviFilterChain->execute() /opt/local/agavi-svn/src/filter/AgaviFormPopulationFilter.class.php:77 13:03 < Xylakant> 6 0.3843 3670016 AgaviFilter->executeOnce() /opt/local/agavi-svn/src/filter/AgaviFilterChain.class.php:91 13:03 < Xylakant> 7 0.3843 3670016 AgaviDispatchFilter->execute() /opt/local/agavi-svn/src/filter/AgaviFilter.class.php:81 13:04 < Xylakant> 8 0.4302 3932160 AgaviExecutionContainer->setResponse() /opt/local/agavi-svn/src/filter/AgaviDispatchFilter.class.php:48 13:04 < Xylakant> the action on question does a redirect 13:04 < Wombert> without a view? 13:04 -!- horros [n=Miranda@a81-197-134-106.elisa-laajakaista.fi] has quit [Read error: 145 (Connection timed out)] 13:05 < Xylakant> yes 13:05 < Wombert> don't do that 13:05 < Wombert> a redirect is behavior/presentation, and also specific to a context and maybe even output type, do it in the view 13:06 < Xylakant> hmm. ok, i can change that - used to work and saves you an object instantiation. 13:06 < Wombert> yes but the thing is 13:06 < Wombert> let's say you want to add a REST interface to your app 13:06 < Wombert> or an XMLRPC interface 13:06 < Wombert> those wouldn't redirect 13:06 < Xylakant> however, the flaming death is not beautiful :) 13:07 < Xylakant> i'll change that, np 13:07 < Wombert> they'd return a "success" response with the location of the created resource or so 13:07 < CIA-23> david * r1644 /branches/0.11/src/filter/AgaviExecutionFilter.class.php: create a response even if no view is run 13:07 < Wombert> Xylakant: test that please 13:07 < Xylakant> and i'm shure that i won't be adding an XMLRPC interface for the next couple of years :) 13:07 < Wombert> should fix the slot issue 13:08 < Wombert> Xylakant: but the year after that, and then you will thank agavi for forcing you to go walk the extra mile 13:08 < Xylakant> Wombert: fix works fine 13:08 < digitarald> my response is still null 13:08 < Wombert> and digitarald: this should fix your problem too 13:09 < Xylakant> and fixes the redirect issue as well 13:09 < Wombert> debug mode, digitarald? 13:09 < digitarald> yes, debug on 13:09 < digitarald> wait, 3th refresh helps 13:10 < digitarald> agavi magic ;) 13:10 < Wombert> digitarald: you know that initialize() gets the container as the argument, right, so call parent::initialize first 13:10 < Wombert> okay 13:10 < Xylakant> Wombert: maybe, maybe not. I still believe in "make it work, make it right, make it fast". sometimes in the short run you need to take shortcuts so you're still there for the "make it right" step 13:10 < digitarald> i know 13:10 < digitarald> had BaseView's since mojavi ;) 13:11 < Xylakant> you need to know what shortcuts you took and at what cost. 13:12 < digitarald> what shortcuts u took? 13:12 < Xylakant> like redirecting in the action 13:12 < Xylakant> instead of creating a view. 13:13 < digitarald> i do that too, a 4 line error view ... i don't like that 13:14 < digitarald> next step ... image cache 13:14 < Xylakant> from the 'strict' point of view, wombert is right :) 13:14 < Xylakant> waa. once again changes to the validation? 13:14 < digitarald> Wombert is always right ;) 13:17 < Xylakant> how do i access the validationmanager from action::registerValidators() 13:24 < Xylakant> hmm. found it. 13:29 < MikeSeth> Wombert, will shit break if I svn up from your exec flow merge? 13:29 * MikeSeth heads to trac 13:30 < digitarald> hell breaks loose 13:30 < Wombert> MikeSeth: nope, but the template stuff will break things 13:30 < Wombert> MikeSeth: read ze emails 13:30 < MikeSeth> no no, from *after* the big switch 13:31 < Wombert> ah 13:31 < Wombert> no I think there were no big changes since 13:31 < MikeSeth> good 13:31 < Xylakant> validation might 13:31 < Xylakant> if you're using custom validators or the register*Validator methods 13:32 < MikeSeth> I dont use validators at all. It's a migrated project. Validation is useless :( 13:32 < Xylakant> k, then you should probably be fine *the usual disclaimers apply :)* 13:34 < MikeSeth> heh 13:38 < digitarald> mh, still no way to set one error text for multiple elements 13:42 -!- neotekk [n=zwc@c-1d5370d5.013-12-73746f7.cust.bredbandsbolaget.se] has joined #agavi 13:43 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 13:44 < neotekk> Hi! Im not using routing, but I'd still like to enable 'text/xml' as a Content-Type for my XML-templates, where do I put in the configuration for this? 13:59 < Wombert> neotekk: first, you need an output type for this 13:59 < Wombert> then you have to select the output type 13:59 < Wombert> since you're not using the routing, you obviously can't use that one ;) sooo... 13:59 < Wombert> you can write a global filter that checks for a request parameter, or for an Accept header in the request 14:00 < Wombert> or you do the check in your base view initialize() method 14:00 < Wombert> a view's initialize() is the last opportunity to change the output type 14:00 < neotekk> ah, okej 14:00 < Wombert> let me know if you have any trouble 14:00 < neotekk> i 14:00 < Wombert> neotekk: are you using RC1 ? 14:00 < neotekk> i'll try the initialize function 14:01 < neotekk> got latest beta from pear (; 14:01 < neotekk> whatever version that is 14:01 < Wombert> okay 14:01 < Wombert> we'll release 0.11RC2 on wednesday 14:01 < Wombert> it will contain some changes 14:01 < neotekk> tried experimented with routing, but I couldnt figure out how to make it go to the correct action 14:02 < Wombert> oh that's unfortunate 14:02 < neotekk> so I disabled it, and did a normal rewrite rule 14:02 < Wombert> you should have come here and ask for help! 14:02 < Wombert> nooooo! 14:02 < Wombert> don't do that :( 14:02 < Wombert> with the routing, you can generate URLs 14:02 < neotekk> heh, i dont like rewrite rules either 14:02 < Wombert> 14:03 < Wombert> $ro->gen('viewproduct', array('id' => 4)); willl generate /products/4 14:03 < neotekk> So, basically, I need to add a route for each action? 14:03 < Wombert> you don't have to, no, but it's recommended 14:03 < Wombert> don't be afraid, it's a very simple task because you can nest routes and organize them nicely 14:03 < neotekk> I see, ill try turning it on again instead 14:03 < Wombert> it really is very very easy 14:03 < Wombert> do that! 14:04 < Wombert> and let us know when you need assistance, we're all happy to help 14:06 < neotekk> in order for routing to work, i need just 1 special rewrite rule? 14:06 < Wombert> nope, you need nothing 14:06 < Wombert> the rewrite rule is just to eliminate "index.php" in the URLs 14:07 < neotekk> ok, so how does it know that /products/4 is a valid url? 14:07 < Wombert> because of 14:07 < digitarald> Wombert, how do i send images, in the View i do: 14:07 < digitarald> $fp = fopen($req->getAttribute('filename'), 'rb'); 14:07 < digitarald> $res->setContent($fp); 14:07 < digitarald> does it still use the template then? 14:07 < neotekk> or .. do I call it by saying index.php?/products/4 ? 14:07 < Wombert> without the rewrite rule, you have to use index.php/products/4 14:08 < neotekk> ah, i see 14:08 < Wombert> index.php?/products/4 is used by the rewrite rules 14:08 < Wombert> it's the only method that works also for CGI PHP etc etc 14:08 < Wombert> digitarald: no layers = no rendering 14:09 < Wombert> digitarald: don't forget to craete a new output type for images! 14:09 < Wombert> so the headers are sent 14:09 < Wombert> which reminds me 14:09 < digitarald> i set the headers by hand 14:09 < Wombert> why 14:09 < Wombert> use an output type... 14:10 < Wombert> it has no layers, but the content type header for image/png or whatever 14:10 < Wombert> easy :) 14:12 < digitarald> this output type would be for one action that has one possible view... 14:14 < digitarald> ok, this works ... $res->setContent($fp); $res->send(); 14:14 < Wombert> ??????????? 14:14 < Wombert> no 14:14 < Wombert> certainly not 14:15 < neotekk> gah! im using 14:15 < neotekk> wait a sec (; im gonna fix the camelcase (; 14:15 < Wombert> neotekk: pub/index.php/templateEdit/3 will match that url 14:16 < Wombert> oh by the way 14:16 < Wombert> action names should start with an uppercase letter 14:16 < Wombert> do you also have actions to view or delete a template? 14:16 < neotekk> ive changed it to : 14:16 < Wombert> I wouldn't use mixed case in URLs 14:16 < Wombert> but that's just me 14:17 < neotekk> true, but im so used to it ^^ 14:18 < neotekk> I have to check the rewrite logs, so that works as well .. 14:18 < Wombert> you don't need rewrites 14:18 < Wombert> 14:18 < Wombert> 14:18 < Wombert> 14:18 < Wombert> 14:18 < Wombert> 14:19 < Wombert> $ro->gen('templates.edit', array('id' => 3)) will generate /template/3/edit 14:19 < neotekk> Ah, that looks nice 14:19 < Wombert> a leading dot in names or actions concatenates with the parent value 14:20 < Wombert> Templates.Edit runs module/Default/actions/Templates/EditAction.class.php 14:20 < Wombert> an old feature called sub-actions 14:20 < neotekk> I see 14:21 < Wombert> if you have many of these CRUD groups... put this in a sandbox: 14:21 < Wombert> 14:21 < Wombert> 14:21 < Wombert> 14:21 < Wombert> 14:21 < Wombert> and then xinclude it: 14:21 < neotekk> That will keep my Actions directory tidy too 14:21 < neotekk> Its frustrating to have 100 actions in there 14:21 < Wombert> 14:22 < neotekk> Would the action still be named Default_TemplateEditAction ? 14:22 < Wombert> nope, Default_Templates_EditAction 14:23 < Wombert> or just EditAction 14:23 < Wombert> Default_EditAction works, too 14:23 < Wombert> but the full name is best, of course 14:23 < Wombert> prevents name collisions 14:23 < Wombert> "agavi action" will do this for you, of course 14:23 < Wombert> just use "Templates.Edit" or "Templates/Edit" as the action name 14:25 < neotekk> Ouch, got a DOM error on my routing.xml (; 14:26 < Wombert> the svn version of agavi has much better error messages that help you track down the issue 14:27 < neotekk> Ah, the version was on the bottom : 0.11.0-DEV 14:29 < neotekk> The .xsd file didnt like multiple inside another 14:29 < Wombert> fixed in svn 14:29 < Wombert> for now, put it into a element 14:30 < Wombert> *put them 14:30 < neotekk> Ah, ill try that 14:31 -!- horros [n=Miranda@a81-197-134-106.elisa-laajakaista.fi] has joined #agavi 14:32 < Wombert> digitarald: does it work? 14:33 < Wombert> digitarald: remember... your html output type has filters that might corrupt the image 14:33 < Wombert> like execution time filter 14:33 < Wombert> you really should create a dedicated output type, even if it's only used once 14:35 < neotekk> Finally! The rewrite rules were of course faulty. 14:36 < neotekk> So, now I have routing, and want to change the content type for my XML module (: 14:36 < Wombert> did you use those from the sample app / documentation / default project 14:36 < neotekk> That is easy, right? 14:36 < Wombert> xml module? 14:36 < Wombert> what does it do 14:36 < neotekk> I have a Default module and a XML module 14:36 < Wombert> they both do the same, only different output? 14:36 < neotekk> Was going to put my AJAX xml outputs in there 14:36 < Wombert> ooooh 14:36 < Wombert> wrong wrong wrong! 14:37 < neotekk> hihi 14:37 < Wombert> why do you want to write everything twice 14:37 < Wombert> agavi has output types! 14:37 < Wombert> your action only generates the data, and the view handles the presentation 14:37 < neotekk> These XML things, arent going to exist anywhere else though 14:37 < Wombert> doesn't matter 14:37 < neotekk> So I wouldnt need another module then? 14:37 < Wombert> first of all, the actions never care about the output format 14:38 < Wombert> only the views 14:38 < Wombert> and 14:38 < Wombert> well 14:38 < Wombert> first of all, if you are doing ajax, you should use json, not xml, it's a lot more convenient 14:38 < Wombert> second, if you use ajax, then in 99,972361% of cases, your action must be able to generate html AND ajax output 14:39 < digitarald> Wombert, i created one 14:39 < digitarald> but, an empty type 14:39 < neotekk> Just started out on AJAX (as well as the new version of agavi) and the framework for AJAX im using insists on XML 14:39 < digitarald> BUT, now i have no output 14:39 < neotekk> Using Rico 14:39 < Wombert> neotekk: okay :) 14:39 < Wombert> now what's important 14:39 < Wombert> ajax, pdf, rss, html... these are all just presentation variants 14:40 < Wombert> they represent the same information of an entity, just in different formats 14:40 < neotekk> Indeed 14:40 < Wombert> now what you do is create normal actions, and then have an executeXml() and executeHtml() etc in your views 14:40 < Wombert> executeHtml is only run for output type "html" and so on 14:41 < Wombert> then you just need a route that sets the output type to "xml" or "ajax" or however you call it when rico makes a request 14:41 < Wombert> if rico sends some headers like Accept: text/xml, that's cool 14:41 < Wombert> if not, you have to use a url postfix or something 14:41 < Wombert> like 14:42 < Wombert> 14:42 < Wombert> execution continues if the route matches ("stop"), the matched part is cut from the input for following routes ("cut") and the output type is set to "xml" 14:42 < Wombert> you can then generate any url with that additional data: 14:43 < Wombert> $ro->gen('templates.edit+xml", array('id' => 4)) 14:43 < Wombert> will generate /template/4/edit/xml 14:45 < digitarald> when i have an output type that just should send an imagefile (resource) i i just need to define an empty output type, or should i add a layer? 14:49 < MikeSeth> Wombert, are you supposed to ALWAYS define execute() for a View? Cuz AgaviView is an abstract class 14:50 < Wombert> no layers or layouts, digitarald 14:50 < Wombert> MikeSeth: I was just about to suggest that we drop execute() entirely 14:51 < digitarald> it outputs: Resource id #178 14:51 < Wombert> digitarald: then you still hvae a filter that modifies output 14:52 < digitarald> do i have to filter the output types in the filters? 14:52 < Wombert> I guess execution time filter is the culprit here 14:53 < Wombert> restrict it to only fiddle with "html" 14:53 < digitarald> exec filter is not enabled 14:53 < MikeSeth> Wombert, imagine how much stuff would break 14:53 < Wombert> MikeSeth: what would break? 14:54 < Wombert> nothing would break, I guess 14:54 < MikeSeth> Wombert, all the code that uses execute() blindly 14:54 < MikeSeth> I mean.. nothing in YOUR code will break, but user applications would 14:54 < Wombert> MikeSeth: but that's a matter of replacing "execute" with "executeHtml" 14:54 < Wombert> in all views 14:54 < Wombert> piece of cake 14:54 < MikeSeth> *shrugs* 14:55 < Wombert> we've done a lot worse breaks before 14:55 < Wombert> I think it would help new users understand how output types work 14:55 < Wombert> executeWhatever() is a lot more expressive 14:56 < digitarald> maybe its my strange cache config 14:57 < Xylakant> digitarald: i do the same thing, works fine here 14:57 < Wombert> I also tested it with caching 14:57 < MikeSeth> wait, is executeHtml() declared in the base view? or is there a magic handler to trap it? 14:57 < digitarald> i said strange config, not sure if its right ... i take a deeper look 14:58 < digitarald> i set output_type in the route, the imageaction does not use the baseaction, for perfomance reason 14:58 < Wombert> MikeSeth: not declared in the base view 14:58 < Wombert> BUT 14:58 < digitarald> ... no trap 14:58 < Wombert> you could do that yourself 14:58 < Wombert> in fact, you should, and you should throw an exception there or forward to a 404 page or so 14:59 < MikeSeth> OH! Damn! I copied a wrong file, that's why 14:59 < Wombert> because if the base view method is called, that means that the actual view did not implement that output type 14:59 < Wombert> it would be really really really cool IMO 14:59 < Xylakant> this is my view: 14:59 < Wombert> the same sort of declarative programming as you have it in the action 14:59 < Xylakant> public function execute(AgaviRequestDataHolder $rd) 14:59 < Xylakant> { 14:59 < Xylakant> .... 14:59 < Xylakant> 14:59 < Xylakant> $response = $this->getContainer()->getResponse(); 14:59 < Xylakant> 14:59 < Xylakant> $response->setHttpHeader('Content-Type', $binary->getMimetype()); 14:59 < Xylakant> $response->setHttpHeader('Content-Length', $binary->getFilesize()); 14:59 < Xylakant> $response->setHttpHeader('Content-Disposition', 'inline; filename='.$binary->getFilename()); 14:59 < Xylakant> 14:59 < Xylakant> $response->setContent(fopen($field->getPathname(), 'rb')); 14:59 < Xylakant> } 15:00 < Wombert> Xylakant: I'm checking in a feature in a minute that sends Content-Length for you (if it can be determined) 15:01 < digitarald> Yalakant, mine looks similar 15:01 < Xylakant> Wombert: nice, but i already have the content-length so i can explicitly set it :) 15:01 < Xylakant> at least in this case 15:01 < Wombert> Xylakant: it won't overwrite an already set value, of course 15:02 < Xylakant> i assumed that. 15:03 < Xylakant> digitarald: this is the output type associated with the route: 15:03 < Xylakant> 15:03 < Xylakant> 15:03 < Xylakant> 15:03 < Xylakant> 15:03 < Xylakant> application/octet-stream 15:03 < CIA-23> david * r1645 /branches/0.11/src/response/ (AgaviResponse.class.php AgaviWebResponse.class.php): send Content-Type automatically if it can be determined (and unless it is set already, of course). also refs #408 15:03 < Xylakant> 15:03 < Xylakant> 15:03 < Xylakant> 15:03 < Xylakant> 15:03 < Wombert> Xylakant: no need for etc btw 15:04 < Wombert> plural containers are only needed if their attributes are required, as with 15:05 < digitarald> mh, mine looks similar, too ... w/o parameters 15:05 < horros> phew 15:05 < horros> FINALLY got the bloody cisco VPN client to work 15:05 < Wombert> horros: did you get my query messages 15:05 < horros> jesus what a fight that was again 15:05 < Wombert> hahaha cisco VPN = uber retarded 15:05 < MikeSeth> horros, lemme guess. Management interface? 15:05 < digitarald> how do i enable/disable caching? 15:05 < Wombert> globally? 15:05 < horros> Wombert: I think I did, but then the VPN client crashed my computer and rebooted it :D 15:05 < horros> MikeSeth: aye 15:06 < MikeSeth> horros, let me guess... you wanted to route traffic through it.. and it didnt work "for some reason" 15:06 < Wombert> false for the exec filter to turn it off everywhere 15:06 < MikeSeth> my flatmate spent a week figuring out the damn thing 15:07 < MikeSeth> $employer didnt have documentation for his PIX, and online docs weren't suggestive. He didnt know the management interface is its own DMZ with no routing or forwarding or anything else. 15:07 < horros> MikeSeth: not really, I just have to have it installed so I can access a box via ssh that's inside a client's private network 15:07 < MikeSeth> *shrug* something a solid state lunix box can do 15:08 < digitarald> and how do i disable it for special output types? 15:08 < horros> funky thing was on my win2k box, after entering username/password... it'd just *CLICK* and reboot the whole box :O 15:08 < Wombert> digitarald: just don't setup any rules for that output type!? 15:08 < MikeSeth> horros, one of them viruses? 15:08 < horros> and on the laptop I had to bloody reboot the machine 298956878632 times to get it removed and reinstalled because apparently the certificate or something was corrupt 15:08 < MikeSeth> ah 15:09 < horros> stupid VPN client 15:09 < Wombert> horros: http://tinyurl.com/pkefc 15:09 < horros> worst piece of crap I've ever had the misfortune to use 15:10 < MikeSeth> yep, cisco vpn client is shit 15:10 < MikeSeth> I use SSH for all VPN needs. 15:10 < horros> Wombert: http://cache.gizmodo.com/gadgets/images/iProduct.gif 15:11 < digitarald> when i use $res->send() i have my expected output 15:11 < Wombert> digitarald: and that's wrong! 15:11 < horros> MikeSeth: I wish I could have done that too, but nope. 15:11 < Wombert> and it will severely break things if you do that 15:11 < Wombert> and 15:11 * horros blames client for all his misfortunes 15:11 < Wombert> it really, really works for me and Xylakant 15:11 < Wombert> if it outputs "resource id #..." then something modifies the response content before sending 15:12 < Wombert> you are using latest svn right? 15:12 < digitarald> my outputtype is "resource", and executeResource in my view is executed 15:12 < digitarald> right 15:12 < Wombert> yes, but some filter or so is changing your output 15:12 < digitarald> i have no other action filters and no global filters 15:12 < digitarald> fpf is restricted to output types 15:14 < digitarald> mh, ok ... massive var_dump to the rescue 15:15 < Wombert> are you using a custom response implementation? 15:16 < digitarald> when i disable AgaviExecutionTimeFilter it works 15:16 < digitarald> ok, lunch 15:16 < Wombert> O 15:16 < Wombert> M 15:17 < Wombert> G 15:18 -!- feiichi [n=feiichi@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 15:18 < Xylakant> Thats what I said friday. The executiontimefilter should really check wether the returned content-type is text/something and bail out if not. 15:18 < Wombert> that's why you can restrict it to certain output types 15:19 < Wombert> maybe you want it to run for application/svg+xml 15:19 < Wombert> etc etc etc 15:20 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 15:20 < Whisller> hi all :] 15:20 -!- feiichi [n=feiichi@local.hide-forest.net] has joined #agavi 15:20 -!- feiichi [n=feiichi@local.hide-forest.net] has quit [Client Quit] 15:24 < Wombert> horros, v-dogg, Xylakant: should we throw out View::execute() ? 15:25 < Wombert> I think that would help new users a lot 15:25 < Xylakant> Wombert: I know that digitarald is quite a competent programmer and yet he fell in the same trap as I did. I think something should be done here. 15:26 < Xylakant> Maybe something as svn does it could be fine: respond to text/* only *unless* told otherwise 15:26 < Wombert> competent enough to right-click in the browser and click "show source" to see the comment :p 15:27 < Wombert> Xylakant: I'll set the filter defaults to only run for "html" output type 15:27 < Wombert> it's pretty much just a sample filter anyway 15:27 < Xylakant> the problem is that if you're serving an image it breaks the image 15:27 < Wombert> an image shouldn't be served in "html" output type 15:27 < Xylakant> and you can't show the source of an image. 15:27 < Xylakant> yes, if the default is that way. 15:29 < Xylakant> all that output type stuff is pretty cool if you're used to it but new users will not know the difference and serve their images using html as output type and set the proper header, thus creating the same trap 15:29 < Wombert> that's why we should get rid of execute() 15:29 < Xylakant> throwing an exception would be a nice thing imho 15:29 < Wombert> and also explain output types in the manual 15:30 < Xylakant> yes, shure. who reads manuals :) 15:30 < Wombert> I couldn't care less about anyone who doesn't 15:30 < Wombert> we're not going to take the PHP way of preventing users from being lazy, incompetent or drop down retarded 15:31 < Wombert> frameworks aren't for beginners. if someone who just bought a "PHP for Dummies" book wants to use agavi, bad luck for him 15:31 < horros> Wombert: <3 <3 <3 15:31 < Wombert> it's in his own interest to learn programming first 15:31 < Xylakant> no, shure. but the users will still be lazy, retarded and incompetent 15:32 < Wombert> Xylakant: then we'll tell them "you're lazy/retarded/incompetent" and ask them to RTFM :p 15:32 < Wombert> that's the #1 reason why we dropped the forums 15:32 < Xylakant> they'll still ask. you'll be pissed. they'll be pissed and move to symphony 15:32 < Xylakant> back to $_GLOBALS. 15:32 < horros> good riddance, I say! 15:32 < horros> :) 15:33 < Wombert> yep 15:33 < Wombert> it's a good thing 15:33 < Wombert> we send the fools over to symfony 15:33 < Wombert> ;) 15:33 < Wombert> Xylakant: I know what you mean. but I and anyone else has better things to do than to implement a bazillion measaures to keep unexperienced people from walking into dead ends 15:33 < Xylakant> i'd rather present them with a friendly exception telling them "Hey, you're probably doing something wrong" instead of silently breaking 15:34 < Xylakant> if that's the issue, i'll implement the path 15:34 < Wombert> Xylakant: as I said, I'll now change it so it runs for "html" output type only 15:34 < Xylakant> patch... 15:34 < Wombert> Xylakant: think about it for a second 15:35 < MikeSeth> Xylakant, I was about to argue 15:35 < Wombert> what are the odds that someone figures out how to set a resource as the response content AND prevent layers from being set up etc etc etc inside executeHtml() 15:35 < MikeSeth> but.. 15:35 < Wombert> without knowing what an output type is 15:35 < Wombert> I'd say 1% 15:35 < MikeSeth> we send the fools over to symfony 15:35 < Xylakant> i fell for the trap, digitarald fell for it too 15:35 < Xylakant> and I fell *twice* for it - once in mojavi, once in agavi 15:35 < MikeSeth> Wombert, how about we make it the official project tagline? 15:36 < Wombert> you wouldn't have if the default had been set so it only runs for "html" 15:36 < Wombert> MikeSeth: excellent idea 15:36 < horros> hahaha 15:36 < MikeSeth> Actually 15:36 < horros> Agavi - We send the foold over to baguet... err... symfony 15:36 < MikeSeth> I would do it subtler 15:36 < horros> fools 15:36 < horros> * 15:36 < digitarald> Wombert, there is no comment, as i said, only the Resource Id 15:36 < Xylakant> and i don't think that i'm completely clueless 15:37 < digitarald> there is a parameter, "comment" ... its false 15:37 < MikeSeth> "Agavi - We send fools to $dest *$dest = /(rails|symfony|cake|zope|drupal|joomla)/i" 15:37 < MikeSeth> as development proceeds you can add new items to the regexp 15:37 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 15:38 < Xylakant> wombert: so would you accept a patch or not. if yes, I'll provide one, if no i'll keep it ofr myself 15:38 < Wombert> Xylakant: the issue is that such a patch cannot cater for all situations 15:38 < Xylakant> what's the problem with rails? i'm currently developing a rails app and it's pretty nice 15:38 < MikeSeth> so move the stupid filter to the demo app.. or contrib. or something.. just dont enable it by default 15:38 < v-dogg> here we go again... ;) 15:39 < Xylakant> i'm sincerely interested, maybe in a private discussion 15:39 < Xylakant> no flames though 15:40 < Xylakant> ok, what i propose is that text/html, text/plain, and the xhtml content-types are regarded safe 15:40 < MikeSeth> Xylakant, for me. personally, it's three things. First, too much magic under the hood. You need to be a core dev to understand anything. Second, shitty documentation. Third, it forces you to adopt a frame of mind that isn't very suitable for anything that isn't a pretty website 15:41 < Xylakant> i'd add a parameter that allows you to override the default save content-types 15:41 < Wombert> plus for everything outside of the creator's imagination, you have to use a "plugin", which is a nice name for "ugliest hack you could possibly imagine to kind of, but not quite, achieve what you want" 15:41 < MikeSeth> since stuff I write usually has UI as the least important and complicated part, Rails doesnt appeal to me, since that's where its strength is 15:41 < Xylakant> and throw an exception if the filter runs on a content-type that is not on the list 15:41 < Whisller> Maybe users are layzy - true. But agavi doesn't have a "good manual", and this is a big problem for beginners. 15:41 < MikeSeth> now as for the Rails ripoffs such as cake I can go all day long on that 15:41 < Whisller> And for me ;p 15:41 < Wombert> Whisller: that's what we'll work on starting wednesday ;) 15:42 < MikeSeth> Whisller, as soon as I am familiar enough, there will be a manual 15:42 < Xylakant> i don't like the php rails ripoff either. rails is fine with ruby as it leverages the power of the language 15:42 < horros> and as soon as I start porting our friggen huge 0.10-app to 0.11, I'll write documentation too 15:42 < Xylakant> but you can't do rails in php 15:42 < horros> probably starting wednesday or so 15:42 < MikeSeth> Wombert, I'm in talks with a couple of companies with in-house development to give lectures on Agavi. If that works out within like half a year or so, there are your donations! :D 15:43 < Whisller> Wombert, MikeSeth great :) 15:45 < digitarald> Wombert ... a stupid question maybe ... i have NO AgaviExecutionTimeFilter, disabled caching for AgaviExecutionFilter. There are NO comments in the output (found the source code button by random clickin in my IE) ... its just "Resource id #250" 15:45 < Whisller> You talking about forum, I think forum is important for project what is agavi. 15:46 < Xylakant> MikeSeth: I don't get your last point. The first point, I guess that's something you either like or dislike. But what frame of mind does rails enforce? 15:47 < RossC0> their configuration is the right configuration? 15:47 * RossC0 troll 15:48 < Wombert> you mean no configuration is the right configuration 15:48 * Wombert troll 15:48 < Wombert> the problem of rails is 15:48 < MikeSeth> Xylakant, well, take away ActiveRecord (which I dont like), scaffolding (which I never use), HTML helpers (which I dont care about) 15:48 < Xylakant> you can configure anything you like. 15:48 < Wombert> it locks you in 15:48 < Wombert> precisely the thing agavi desperately tries not to do 15:48 < digitarald> Xylakant, thanks for the compliment ... 15:48 < digitarald> All the time this religious framework discussions :D 15:48 < MikeSeth> You're left with a framework that does everything under the hood, is poorly documented, constantly altered, written in an obscure (sniff) language 15:49 < Wombert> that's why we don't have form/javascript(muha)/image(ZOMGLOL)/blah helpers 15:49 < MikeSeth> The biggest problem with Rails is that you CAN make fully working applications without knowing *anything* about how Rails operates 15:49 < Xylakant> oh, i could say a thing or two about php as a language 15:49 < Wombert> or ruby, for that matter 15:49 < Xylakant> and where's the problem with that? 15:50 < MikeSeth> Xylakant, the majority of Rails developers sell themselves as expensive Web 2.0 uberninja programmers, but when AR breaks (which it does), they're stuck drooling over the keyboard. 15:50 < Xylakant> and about the documentation and constant alteration: rails and agavi have two things in common then 15:50 < CIA-23> david * r1646 /branches/0.11/src/ (2 files in 2 dirs): added ability to define an sprintf string as the execution time filter comment in addition to just on/off. changed defaults so sample app and new projects only enable it for preconfigured output type 'html' 15:51 < Wombert> MikeSeth: HAHAH 15:51 < MikeSeth> Xylakant, but here in Agavi, we *know* what we will have. Over there in Rails, who cares? They've got rdoc. 15:51 < Xylakant> so you'Re having problem with the mindset of people claiming to be rails experts rather than with rails 15:51 < Xylakant> an 15:51 < Wombert> digitarald: hmmm 15:51 < MikeSeth> Xylakant, no, I am having a problem with a framework which sells on shininess 15:51 < RossC0> Rails is just another framework - not some obscure himalyan cult. The problems I have with it are: 1) people think it is Ruby and worship it 15:51 < Xylakant> and the rails book. granted, you need to pay for it but it *is* there 15:51 < Wombert> but didn't you say it works if you disable the execution time filter? 15:51 < RossC0> 2) I always seem to have a problem in the 10% - so its a pig 15:52 < Wombert> what 10% 15:52 < RossC0> or is 20% 15:52 < MikeSeth> Xylakant, besides, Rails is too specific for my purposes. "Put javascript here" doesn't cut it. If I wanted to create an application that doesnt have a frontend at all, or only has a XUL frontend, Agavi would allow me to do that. Good luck hacking up Rails. 15:52 < Wombert> the 10% it doesn't do for you? 15:52 < Wombert> haha no joke there, RossC0 :) 15:52 < RossC0> you know they go for the masses and cover 80% of all web problems 15:52 < Xylakant> where's the problem? 15:52 < Wombert> I was really wondering what these 10% are 15:52 < MikeSeth> Also.. Rails doesnt have modules :D 15:52 < Wombert> RossC0: ah yes, what I thought then 15:53 < Xylakant> rails has controllers. 15:53 < Wombert> = agavi actions 15:53 < _cheerios> arr, MikeSeth you wouldnt have a proxy to listen to tormentedradio on port 80? 15:53 < Xylakant> wrong 15:53 < MikeSeth> _cheerios, no, but little prevents you from setting one up 15:53 < _cheerios> yeppers 15:53 < Wombert> digitarald: `? 15:54 < Xylakant> and yes, rails does have modules 15:54 < RossC0> rail Engines 15:54 < MikeSeth> it does? see, the hype goes ahead and the documentation doesn't. I wrote like 3 Rails applications before I realized it annoys me 15:54 < Xylakant> no 15:54 < MikeSeth> Engines were kicked out of Rails, IIRC 15:55 < Xylakant> if you create a subdirectory structure in the app/controller etc directories, these will be regarded as modules 15:55 < Xylakant> or what would be the equivalent of agavi modules 15:55 < Xylakant> rails engines were integrated in the core (more or less) 15:56 < Xylakant> where's the problem with the xul frontend? you can change the output to whatever you like, rhtml templates should do fine but you're free to choose anything else 15:56 < RossC0> anybody used any other frameworks in Ruby? 15:57 < Wombert> I only heard of turbogears which seems to be rubbish 15:57 < Xylakant> you can't use scaffolding then 15:57 < Wombert> maybe we _should_ port agavi to ruby after all... ;) 15:57 < RossC0> yeah! 15:57 < RossC0> configuration over convention! 15:57 < RossC0> the anti Rails 15:57 < Xylakant> i don't think that would work any better than a rails port to php 15:58 < Xylakant> where's the problem with the "convention over configuration"? 15:58 < RossC0> nothing if you agree with the conventions 15:59 * Wombert pokes digitarald 15:59 * Wombert shakes digitarald 15:59 < Wombert> you still alive? 15:59 < Xylakant> it's all about reasonable defaults, i can overwrite *any* convention with an explicit directive if i don't agree 15:59 < digitarald> ... now, yes 15:59 < RossC0> I agree its just the database ones that are problematic 15:59 < MikeSeth> Wombert, actually, I *am* writing a Ruby appserver, but I want it to be XUL specific 16:00 < Xylakant> RoccC0: how are the database conventions problematic? 16:01 < RossC0> ActiveRecord doesn't support my database design 16:02 < Xylakant> Rossc0: how? what is not working? 16:03 < Wombert> digitarald: did you find what causes the stringification of the resource yet 16:05 < CIA-23> david * r1647 /branches/0.11/samples/app/config/action_filters.xml: forgot ze sample app config in [1646] 16:05 < digitarald> not yet, i'll write u later, still looking for my source-code button 16:07 < Wombert> if you get back the resource name string, then the response content is not a resource anymore in Response::sendContent() 16:08 < _cheerios> anyone worked with text analysis, finding patterns? 16:11 < RossC0> Xylakant: actually there seems to be some plugins that now do help support it 16:11 * RossC0 end troll 16:13 < MikeSeth> RossC0, I tried to use Og/Nitro. I couldn't even start it, dependencies were fucked up 16:14 < MikeSeth> Xylakant, Agavi gives me clarity. Rails doesn't. The rest is objective ;) 16:14 < RossC0> http://redhanded.hobix.com/bits/campingAMicroframework.html 16:15 < RossC0> thats one wierd page 16:16 < Xylakant> MikeSeth: i guess we have to disagree on that point. Once you know how rails works, everything is perfectly clear and intuitive... 16:17 -!- epaulin [n=epaulin@61.191.26.228] has quit [Read error: 113 (No route to host)] 16:18 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 16:18 < RossC0> Xylakant: I can see you like Rails - if I had a job writing rails apps it would be good - but is there anything you dislike about the framework? Outside scaffolding and inline js? 16:20 < Xylakant> RossC0: hey, i'm the only pro-rails person here, i'm not supposed to dislike anything. 16:21 < Xylakant> Rossc0: shure, i dislike the people that regard rails as the bringer of the holy grail. that attitude is not helpful in any way 16:21 < RossC0> ok I'll revert back to devils advocate! :) 16:21 < Xylakant> Rossc0: it's hard to initially set up, there are few competent hosters with rails experience 16:22 < Xylakant> Rossc0: the learning curve might be steeper, it's easy to get simple things done, but more advanced things require more advanced methods :) 16:23 < Xylakant> Rossc0: ActiveRecord can't properly handle combined primary keys easily if i'm not mistaken - that's currently a non-issue so i'm not watching this closely 16:24 < Xylakant> I used to dislike the view-helpers but once i got used to them the 16:24 < RossC0> that goes for all frameworks, you pay the cost up front to save you paying bigger costs later... 16:24 < Xylakant> they turn out to be pretty useful, such as adding a timestamp to the linked resource in case of image_tag etc 16:25 < Xylakant> helps against stylesheet caching 16:25 < Xylakant> haven't used the soap methods yet, but as php5 SOAP support outright *SUCKS* it can't possibly be any worse 16:25 < RossC0> yup - but thats platform independent and a version number is better than a timestamp as some caching is good ! 16:26 < RossC0> SOAP sucks full stop - refuse to use it! 16:26 < Xylakant> no, it adds the last-modified timestamp of the linked file 16:26 < Xylakant> so when you modify the file, it gets reloaded 16:27 < RossC0> ah good 16:27 < Xylakant> SOAP is pretty useful if you need to connect to a variety of clients/services written in languages from java ranging over flash, .net back to php 16:28 < RossC0> so is REST and its simpler 16:28 < RossC0> xmlrpc is also easier 16:28 < Xylakant> and it integrates nicely into any of those languages, just not into php. 16:28 < Wombert> but into agavi ;) 16:28 < Xylakant> xmlrpc or soap? 16:29 < horros> soap is nice 16:29 < Xylakant> and as i need to connect to a soap server/client, i don't have much of a choice anyways 16:30 < RossC0> for keeping yourself clean - it sure is :) 16:30 < Xylakant> and the rails scaffolding is pretty nice as well - it makes it quick to get up and running, just don't expect to keep much of the scaffolding code later. 16:31 < RossC0> I disagree its horrid - I look forward to ujs and scaffolding being integrated 16:31 < Wombert> speaking of SOAP... if anyone would like to contribute routing, request and response implementations, let me know 16:32 < Xylakant> i've looked into it and I haven't found a way to make this integrate nicely with agavi 16:32 < horros> Wombert: I can look at it 16:32 < horros> Wombert: not that I've ever written a SOAP server in PHP 16:32 < horros> just the client part 16:32 < Wombert> horros: problem is that php's soap server thing requires a method for the handler class 16:32 < Wombert> not sure if we can cheat with __call 16:33 < Wombert> horros: the idea is that you use the routing to map soap method names to actions 16:33 < Wombert> like with xmlrpc 16:33 < Wombert> and rest 16:33 < Xylakant> you can pass it an object or a class, but the problem is that soap handles the method names diffently 16:34 < Xylakant> you could probably do that with routing, but you'd need to remap all method calls with __call or something 16:38 -!- MrJeep [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #agavi 16:38 < Xylakant> the problem is that the method being called is hidden in the xml being passed around, you'd have to disassemble that or map all soap calls one endpoint to a specific action and i don't know wether the php5 soap server implementation likes that 16:41 < MrJeep> morning! 16:43 < Wombert> Xylakant: yeah that's exactly the issue 16:53 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:00 -!- Arme[N] [n=Arme[N]@80.191.141.181] has joined #agavi 17:02 < horros> what the... 17:02 < Wombert> woot 17:02 < horros> my network is slow as a grandmother's marathon in a tar factory! 17:02 < horros> :( 17:03 < Wombert> digitarald, eremit, horros, MikeSeth, MrJeep, RossC0, v-dogg: should we remove support for view::execute() ? 17:03 < horros> I have no idea :I 17:04 < MikeSeth> If .10 codebases can be sacrificed. I have no objections. 17:04 < horros> porting .10 => .11 is a shitload of work anyway 17:04 < Wombert> the method signature has to be updated anyway to have the AgaviRequestDataHolder type hint... 17:04 < horros> :) 17:05 < horros> what the smeg is going on here?! 17:05 * horros kicks ISP 17:07 < MrJeep> why removing view::execute ? 17:07 < MrJeep> to execute* ? 17:07 < Wombert> yeah, only executeOutputtype then 17:07 < Wombert> I think that is a lot less confusing to beginners 17:08 < MrJeep> i think, using the same logics as the action::execute and execute*, the view::execute should stay there and behave like the action::execute method 17:08 < Wombert> hmm 17:08 < Wombert> okay :) 17:08 < MrJeep> like a executeAllIfNothing happens 17:08 < MrJeep> this is my point of view :) 17:11 < Arme[N]> Wombert: you want to make it final with 404 or whatever return? 17:11 < Wombert> I would have thrown it out, Arme[N] 17:11 < Wombert> but now I think 17:11 < Wombert> hmm 17:11 < Wombert> aaah I have an idea 17:11 < Wombert> let me implement that :) 17:12 < Arme[N]> go go go :) 17:17 < MrJeep> what did you come up with ? 17:18 < RossC0> ?? 17:18 < RossC0> v-dogg will be happy - another BC! 17:18 < horros> what 17:18 < horros> the 17:18 < horros> fuck?! 17:19 < horros> this cisco vpn client is completely idiotic 17:19 < horros> It's in my friggen start menu, but it refuses to acknowledge the fact that it is installed 17:19 < horros> so when I click "Remove Cisco VPN client"... it tries to *INSTALL* it! 17:19 * horros breaks down and cries 17:19 < horros> I HATE YOU CISCO! I HATE YOU WITH A PASSION! 17:20 < Arme[N]> s/HATE/LOVE/ 17:20 < Arme[N]> s/CISCO/AGAVI/ 17:20 < Arme[N]> boo 17:21 < MikeSeth> horros, you did not get it from mininova did you? Cuz if you did your box is now owned. 17:24 < MrJeep> what's all these s/ things ? 17:24 < MikeSeth> Wombert, if I want to execute some action, I just spawn an execution container for it and execute it, right? I mean a piece of logic with no views 17:24 < MikeSeth> MrJeep, perl jokes 17:24 < MrJeep> ahh ;P 17:25 < Wombert> MikeSeth: yup 17:25 < MikeSeth> s/foo/bar/ means 'replace foo with bar by regexp' 17:25 < Wombert> MikeSeth: I'm adding default base views 17:25 < Wombert> and actions 17:25 < MikeSeth> sed syntax actually 17:25 < Wombert> to new projects right now 17:25 < MrJeep> hehe i see ;P 17:25 < Wombert> you got me convinced 17:25 < MikeSeth> duh :D 17:25 < Wombert> still sucks tho because they're called "MyProjectBaseAction" etc... 17:25 < Wombert> gonna need a "project name" question for the 1.0 builders 17:26 < Wombert> no breaking change btw, RossC0 17:26 < MikeSeth> Wombert, wtf for? Dont! Use a fixed name! 17:26 < Wombert> MikeSeth: literally "MyProject" 17:26 < MikeSeth> no 17:26 < Wombert> what else should I do 17:26 < MikeSeth> just use ProjectBaseView 17:26 < Wombert> mmh okay 17:26 < Wombert> but "Project", not the name of the project 17:27 < MikeSeth> the whole 'my' thing comes from Windows. "My computer" "My music" "My pictures" - redundant and stupid 17:27 < MikeSeth> yes 17:27 < MikeSeth> cuz if not then you either have to ask for the name or change it 17:27 < Wombert> base models too? 17:27 < MikeSeth> I dont think so 17:28 < MikeSeth> Optionally perhaps? Cuz after all models are wrappers over other database libraries 17:28 -!- horros [n=Miranda@a81-197-134-106.elisa-laajakaista.fi] has quit [Read error: 145 (Connection timed out)] 17:31 < MrJeep> I dont add project name to base view and base action since they are so common with other projects 17:31 < MrJeep> I think it's not specific enough to put the project name to it 17:32 < MrJeep> but I may be wrong 17:40 < MikeSeth> no youre not. if you need to move code between projects, renaming the classes is the least of your problems 17:41 < MrJeep> :) 17:51 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has quit ["Leaving"] 18:01 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:03 < Wombert> AgaviViewException 18:03 < Wombert> This is an internal Agavi exception. Please consult the documentation for assistance with solving this issue. 18:03 < Wombert> An exception of type AgaviViewException was thrown, but did not get caught during the execution of the request. You will find information provided by the exception along with a stack trace below. 18:03 < Wombert> The View "Default_IndexSuccessView" does not implement an "executeHtml()" method to serve the Output Type "html", and the base View "AgaviSampleAppDefaultBaseView" does not implement an "executeHtml()" method that would catch this situation. 18:03 < Wombert> I guess that works 18:21 -!- benny`work [n=benny@p54AC3EFC.dip0.t-ipconnect.de] has joined #agavi 18:22 -!- benny`work [n=benny@p54AC3EFC.dip0.t-ipconnect.de] has quit [Client Quit] 18:23 < Wombert> hmmmh 18:23 < Wombert> guys 18:23 < Wombert> should the stack trace contain the actual location in the code that throws the exception? 18:24 < digitarald> i vote for keep execute 18:25 < RossC0> Wombert - would be helpful if it did :-) 18:25 < RossC0> you mean the line number? 18:33 < Wombert> digitarald: yup we keep it, just "smart" defaults that implement the recommended approach 18:33 < Wombert> RossC0: right now the "throw new FooException()" code itself is in the trace, too 18:33 < Wombert> as the first element 18:34 < Wombert> however, that doesn't happen if the calling code is in the compiled compile.xml result 18:34 < Wombert> so something is broken either way 18:39 -!- Arme[N] is now known as Arme[0] 18:40 < CIA-23> david * r1648 /branches/0.11/ (8 files in 7 dirs): 'agavi project' creates base actions and views now which implement defaults that comply with the general guidelines on action and view organization. 18:40 < Wombert> feel free to check if you like this 18:40 < MrJeep> wombert, is it hard to implement the AgaviPhpRenderer into some other classes 18:41 < Wombert> MrJeep: to render an email, for instance? 18:41 < Wombert> not at all 18:41 < MrJeep> i'm working to build some Html classes 18:41 < Wombert> in fact, there's a much better way, too 18:41 < MrJeep> for stuff like tabs, panels and fields 18:41 < Wombert> template layers have an execute() method that renders the template and all slots if any of these are set 18:42 < MrJeep> ok 18:43 < MrJeep> yeah rendering an email is a possibility 18:47 < digitarald> can somebody give me a hint how to use caching. I have an image-generating action, one view, one output-type ... it has ALWAYS the parameters id and field. When users are authenticated output is not watermarked. How to write a cache xml for that? 18:51 < MrJeep> jeez I'd like to try ubuntu so much... 18:52 < MrJeep> anyone uses it ? 18:57 < _cheerios> no. ms vista \o/ 18:58 < Wombert> digitarald: I'll show you in a minute 18:58 < Wombert> do you have a caching.xml for that already 18:59 < Wombert> I'll also write a detailed email to the lists later 19:00 < MrJeep> i guess my best bet would be to install ubuntu on my laptop 19:00 < digitarald> thx Wombert, tried to read the sample code but failed, my xml don't work 19:01 < _cheerios> MrJeep, if you just want to test a linux, install vmware, and the linux on that 19:02 < Xylakant> there are a couple of linux distros out there that have a "test mode" where they install and boot from an image file that may reside on a FAT32 partition 19:02 < Xylakant> and there's always knoppix as a test as well, runs off a regular cdrom 19:03 < _cheerios> http://goodbye-microsoft.com/ 19:03 < Xylakant> no need to install anything, however once you reboot everything is gone (which may be a desired effect if you use it as a "safe internet platform" for children etc) 19:04 < Xylakant> yikes. finder opens textmate with that file 19:04 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 19:07 < RossC0> MrJeep: Ubuntu also has a live cd now like knoppix - so try before you er.. download :) 19:10 < Wombert> digitarald: can you paste what you have already 19:15 < v-dogg> hmm... do I want to upgrade camilla.fi's agavi... 19:15 < v-dogg> I mean just now 19:15 < Wombert> go go go ! 19:15 < CIA-23> david * r1649 /branches/0.11/src/filter/AgaviExecutionFilter.class.php: added 'user_authenticated' source to possible caching groups 19:15 < v-dogg> I need to release a new version this week :) 19:16 < v-dogg> ah, what the hell, let's break the project! 19:16 < v-dogg> for good! 19:17 * Wombert pokes digitarald 19:20 < Wombert> digitarald: try http://pastebin.ca/341441 19:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 19:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 19:21 -!- MrJeep [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [Read error: 113 (No route to host)] 19:22 < v-dogg> ohh.. this upgrading is sooo booring :) 19:23 < v-dogg> some friendly perl hax0r could write some nice little script... 19:24 < Wombert> are there any real breaks, v-dogg? 19:24 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 19:24 < v-dogg> I don't think so 19:33 -!- ick [n=shoan@59.92.168.157] has joined #agavi 19:33 < Wombert> thanks for the link, ick 19:35 < Wombert> http://www.ecossemoto.com/heretic.htm oh god I want this 19:35 < digitarald> great wombert, mine looks similar, just w/o the user_authenticated, that was myproblem 19:35 < Wombert> I just added that, totally forgot it 19:36 < Wombert> but does it work? :p that's the question 19:36 < digitarald> what about credentials as source? 19:36 < Wombert> work, too 19:36 < Wombert> user_credential 19:36 < digitarald> nice 19:36 < Wombert> uses hasCredentials then 19:36 < Wombert> the groups work just like in smarty... basically subdirs 19:36 < digitarald> i'll better add that, more power about controlling the watermark rights 19:36 < digitarald> lets try ... *pasting* 19:38 -!- ick is now known as shoan 19:40 < Wombert> digitarald: http://trac.agavi.org/browser/branches/0.11/src/filter/AgaviExecutionFilter.class.php#L161 19:44 < digitarald> yes, saw that list during my bracking change studies 19:44 < v-dogg> mm... has routing cbs been changed? 19:45 < v-dogg> ah, ofcourse - AgaviExecutionContainer 19:46 < Wombert> v-dogg: cbs? 19:47 < v-dogg> callbacks 19:47 < Wombert> ah 19:47 < v-dogg> :) 19:47 * v-dogg puts on his ninja mask again... 19:50 * v-dogg makes a mental note: always steal code from a source that is updated when agavi updates 19:50 * v-dogg hugs wombie and Ze Sample App 19:50 < v-dogg> :) 19:51 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 19:52 < Wombert> v-dogg: heh what did you copy 19:54 < v-dogg> AgaviSampleAppLanguageRoutingCallback 19:58 -!- RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 110 (Connection timed out)] 20:04 < Xylakant> k then, have a nice day 20:04 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["gone, but not for long"] 20:08 < v-dogg> the "default" template (MyActionResult.php) is loaded automatically if I don't say otherwise? 20:08 -!- codecop [n=codecop_@85.206.207.115] has quit ["Leaving"] 20:08 < v-dogg> so I can in most cases just remove $this->setTemplate? 20:11 < Wombert> v-dogg: yup 20:12 < Wombert> you have to load the layout of course 20:12 < Wombert> v-dogg: create a blank project quickly 20:12 < Wombert> using latest svn 20:12 < Wombert> to see what your views and your base view should look like 20:12 < Wombert> (app/lib/view/... and the IndexSuccessView it generated) 20:13 < v-dogg> ok, will do 20:13 < v-dogg> but before that another question 20:13 < v-dogg> how to define template dir at runtime? 20:14 < Wombert> $layer->setDirectory(...) 20:14 < Wombert> you can use ${module} in there for ze module name 20:15 < Wombert> but if you only have your stuff in the normal dir and in, say, app/templates, you should create two layouts 20:18 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 20:21 < v-dogg> wohoo, static pages work \o/ 20:22 < v-dogg> there's light at the end of the tunnel after all 20:22 < Wombert> v-dogg: but 20:22 < Wombert> v-dogg: if you set an absolute path as the template dir 20:22 < v-dogg> yeah... I know 20:22 < v-dogg> it's a train 20:22 < Wombert> you don't have to set a directory 20:22 < Wombert> cool 20:22 < Wombert> ahah 20:22 < Wombert> :> 20:23 < Wombert> v-dogg: you can do, for instance 20:23 < v-dogg> setting the template dir at runtime happens only in one view (the view that handles static pages) 20:23 < Wombert> $layer->setTemplate('/path/to/templates/{$locale}/foo'); 20:26 < _cheerios> http://www.typeonline.co.uk/typingspeed.php 20:26 < _cheerios> 76wpm (4 errors) on standard bulky keyboard earlier today, 91wpm (2 errors) on this extremely small kb i have at home. rusty :/ 20:31 < Wombert> I'm getting around 85 wpm 20:32 < Wombert> the test doesn't seem to count punctuation at all 20:32 < Wombert> lame 20:34 < Wombert> and it's interesting how much fewer mistakes I make when typing on the laptop keyboard 20:40 < _cheerios> and tbh, i type in a non-ideal way, my 10-finger system has the wrong fingers pressing the wrong keys :) 20:41 < Wombert> I have the typical programmer's disease and use... maybe three fingers or so 20:41 < _cheerios> would need a bit of practice to get back in shape 20:41 < Wombert> I can't see how anyone would be capable of programming properly with the ten finger system 20:41 < Wombert> on a german keyboard, at least 20:42 < Wombert> I guess it's a lot easier on an english one 20:42 < _cheerios> no idea, i have a finnish one 20:42 < Wombert> with all the square and curly braces in nicer positions etc 20:51 < _cheerios> http://antwrp.gsfc.nasa.gov/apod/ap070205.html << pretty cool 20:58 < Arme[0]> for using translator manager in template I have to do somthing? 20:58 < Arme[0]> $tm is null ATM 20:58 < Wombert> use_translation in settings.xml? 20:59 < Arme[0]> ow 20:59 < Arme[0]> lemesee 20:59 < Arme[0]> :X 20:59 < Arme[0]> sorry 20:59 < v-dogg> :p 21:06 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 21:07 < MrJeep> for anyone using IE 21:07 < MrJeep> http://mrjeep.dyndns.org:81/Project/Web/Etrouve/pub 21:07 < MrJeep> i have a very weird error on this page 21:07 < MrJeep> well, the page loads but somehow IE decide it's not accessible anymore 21:07 < MrJeep> http://mrjeep.dyndns.org:81/Project/Web/Etrouve/pub/register/ 21:07 < MrJeep> but that works 21:07 < MrJeep> anyone can check 21:08 < Wombert> mac here, sorry 21:08 < MrJeep> :S 21:09 < _cheerios> IE, heh 21:09 < _cheerios> iceweasel, baby! 21:12 < Arme[0]> MrJeep: I have IE 21:13 < Arme[0]> MrJeep: you need screenshots? 21:13 < Arme[0]> I got an error 21:13 < digitarald> got autoload error 21:14 < Arme[0]> Could not complete the opration due to error 80004004 21:14 < Arme[0]> lol 21:15 < MrJeep> try agian 21:15 < MrJeep> the autoload error should be gone 21:15 < Arme[0]> lemesee 21:16 < MrJeep> Internet Explorer cannot open the Internet site http://localhost:81/Project/Web/Etrouve/pub/. 21:16 < Arme[0]> nope 21:16 < MrJeep> Operation aborted 21:16 < Arme[0]> same error 21:17 < MrJeep> still an autoload error ?? 21:17 < Arme[0]> yep 21:17 < Wombert> form population filter? 21:17 < MrJeep> hum this is weird since I don't have these auto load error 21:18 < Arme[0]> MrJeep: and now I cant view any thing 21:18 < MrJeep> try with FF 21:18 < Arme[0]> ah back 21:18 < MrJeep> IE is giving me trouble 21:18 < Arme[0]> but same error in IE 21:19 < MrJeep> which one ? 21:19 < MrJeep> the "Could not complete..." ? 21:19 < Arme[0]> http://mrjeep.dyndns.org:81/Project/Web/Etrouve/pub/ 21:19 < MrJeep> no error with FF, nothing works with IE 21:20 < MrJeep> and.. I'm wondering why 21:20 < Arme[0]> yep no error in Fx 21:20 < MrJeep> hum, maybe the flash 21:21 < MrJeep> ahh, the flash 21:21 < MrJeep> now it's "workable" with IE 21:22 < Arme[0]> yes it is 21:33 -!- Arme[0] is now known as Arme[N] 21:40 < Arme[N]> night 21:40 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 21:49 < _cheerios> [05-Feb-2007 21:48:13] PHP Fatal error: Interface 'AgaviIParametersRequestDataHolder' not found in /code/agavi011/src/request/AgaviRequestDataHolder.class.php on line 30 21:52 < Wombert> _cheerios: debug off? 21:53 < _cheerios> latest svn, development mode 21:54 < Wombert> problem on your side 21:54 < Wombert> it's in agavi's autoload 21:56 < _cheerios> k. ive had this problem before. files are there, but they dont load. 21:56 < Wombert> apc 21:56 < Wombert> or something 21:56 < Wombert> brb 21:56 -!- Wombert [n=Wombert@dslb-084-056-031-135.pools.arcor-ip.net] has quit [] 21:57 -!- Wombert [n=Wombert@dslb-084-056-031-135.pools.arcor-ip.net] has joined #agavi 21:58 -!- Wombert [n=Wombert@dslb-084-056-031-135.pools.arcor-ip.net] has quit [Client Quit] 22:00 < _cheerios> ah, nuub mistake of not clearing cache dir (even when in development mode). 22:05 < v-dogg> woot?! everything works already \o/ 22:05 < v-dogg> [o[ 22:05 < v-dogg> ]o] 22:06 * v-dogg does the update dance 22:13 < v-dogg> and goes to bed 22:13 < v-dogg> night 22:14 < _cheerios> 2 hours more, dogg! 22:16 < _cheerios> if i had a magic wand id turn my m3 app to agavi 22:26 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #AGAVI 22:26 < MikeSeth> YARRR 22:34 < _cheerios> yo 23:05 -!- AngryMikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has joined #AGAVI 23:17 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 23:20 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 23:23 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 23:30 -!- impl [n=impl@adsl-227-107-200.rmo.bellsouth.net] has joined #agavi 23:37 < AngryMikeSeth> hay impl 23:37 < impl> hai 23:38 -!- Wombert [n=Wombert@dslb-084-056-031-135.pools.arcor-ip.net] has joined #agavi 23:38 < MrJeep> arg, anyone know how to fix utf mail subject ? 23:39 < MrJeep> utf8 encoding in mail subject 23:39 < Wombert> use ezcMail 23:39 < impl> Afternoon Wombert 23:45 < Wombert> hi impl 23:52 < Wombert> impl: would you happen to be in the mood to implement http://trac.agavi.org/ticket/402 ? :p 23:53 * impl looks 23:55 < impl> Wombert: inheriting permissions would require Apache to run as either a) the user owning that parent directory or b) root 23:55 < impl> Right? 23:55 < Wombert> the idea is that people set the permissions they want on that directory 23:55 < impl> okay 23:55 < Wombert> e.g.. 755 or something 23:55 < Wombert> I have no idea TBH 23:55 < Wombert> you probably know this better than me 23:56 < Wombert> I have not too much of a clue about unix permissions stuff 23:56 < Wombert> for instance I don't understand why php's mkdir() takes the umask into account 23:56 < Wombert> my idea was basically: make move() and Toolkit::mkdir() default modes "null" and implement code in Toolkit::mkdir that creates folders with the same permissions as the first existing folder 23:57 < impl> okay 23:58 < Wombert> waitwaitwait 23:58 < Wombert> I'd rather have a discussion about this :p 23:58 < _cheerios> i always chmod a file after uploads, to be sure. maybe because i dont know better :) 23:58 < impl> I'd say we just give an optional parameter to move() and mkdir() with the permission 23:59 < impl> oh 23:59 < impl> It's already there 23:59 < Wombert> that's what it is like already :p 23:59 < impl> hehe 23:59 < impl> So what's the issue? 23:59 < impl> Just move()? --- Day changed Tue Feb 06 2007 00:00 < Wombert> the problem is that the files created by move() get 0666 00:00 < Wombert> which indeed is a little stupid 00:00 < Wombert> plus if a folder needs to be created for the destination, that's getting 0777 00:01 < Wombert> which is a little stupid as well 00:01 < Wombert> 0664 and 0775 would be better defaults to begin withz 00:01 < Wombert> -z 00:02 < impl> k 00:02 < Wombert> I can do that, obviously 00:02 < Wombert> but the question is 00:02 < Wombert> would it be a good idea to inherit permissions 00:03 < impl> Is that how unix normally works? 00:03 < impl> I don't think it is 00:03 < impl> but I might be wrong 00:03 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 00:04 < impl> (17:04)impl:sovereign:~/code/php/test/test2% mkdir test3 00:04 < impl> (17:04)impl:sovereign:~/code/php/test/test2% ls -al test3 00:04 < impl> total 8 00:04 < impl> drwxr-xr-x 2 impl impl 4096 2007-02-05 17:04 . 00:04 < impl> drwxrwxrwx 3 impl impl 4096 2007-02-05 17:04 .. 00:04 < impl> . == 755, .. = 777 00:04 < impl> So no, it doesn't inherit permissions 00:04 < Wombert> that's not how it works, right 00:05 < Wombert> hence the question 00:05 < Wombert> would it make sense ;) 00:05 < impl> If UNIX doesn't think it makes sense, it probably doesn't 00:05 < Wombert> would it maybe make sense for the move() method 00:05 < Wombert> I have no clue 00:05 < impl> I'd just as soon leave it with default modes 755 and 644 00:05 < impl> (dir and file) 00:05 < Wombert> not group writeable 00:05 < Wombert> hmh 00:09 < impl> Wombert: whatcha think? 644/755? 00:09 < impl> or should we do group too? 00:09 < Wombert> http://trac.agavi.org/ticket/402 suggests group writeable, yeah 00:09 < Wombert> kaos? 00:10 < impl> only reason I say 644 and 755 are those are the default permissions for *nix 00:11 < impl> of course those can be changed with umask 00:11 < Wombert> well 00:11 < Wombert> yeah 00:11 < Wombert> my umask is 0022 00:12 < Wombert> => 0755 for dirs, 0644 for dirs 00:12 < Wombert> files 00:12 < Wombert> we could of course also use the umask but... 00:12 < Wombert> that's not thread safe 00:13 < impl> anyone who uses a threaded MPM with PHP is probably expecting some screwups 00:13 < Wombert> hmmmh 00:14 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/util/AgaviToolkit.class.php#L86 00:14 < impl> Hmm, we should use Toolkit::mkdir in move() shouldn't we? 00:17 < Wombert> yep 00:17 < splatch> i must write text about agavi 00:17 < splatch> but i don't know about what version 00:19 < AngryMikeSeth> holy fuck 00:19 < Wombert> splatch: ? 00:20 < AngryMikeSeth> my ISP kicks so much ass 00:21 < AngryMikeSeth> they sold themselves to a bigger ISP with fatter pipes 00:22 < AngryMikeSeth> switched the whole WAN routing in one single swift move. Pings abroad are now halved. 00:22 < AngryMikeSeth> Total switch downtime: 30 seconds. 00:22 < AngryMikeSeth> God bless these people. 00:23 < Wombert> cool 00:23 < Wombert> that means low pings on european game server, heh? :) 00:23 < AngryMikeSeth> yes. My flatmate is raping the french ATM :) 00:23 < Wombert> splatch: do you mean RC1 or RC2 etc? 00:24 < Wombert> I shall pwn you a bit in css then 00:24 < AngryMikeSeth> oh really? 00:24 < AngryMikeSeth> i should find a mouse and give you good whooping ;) 00:25 < Wombert> not today anyway ;) 00:26 -!- implement [n=impl@httpcraft/php/impl] has joined #agavi 00:27 -!- impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.] 00:27 -!- implement is now known as impl 00:30 < splatch> Wombert: i don't know rc's 00:30 < Wombert> what do you know 00:30 < splatch> Wombert: FPF usage, validators, auth and flow 00:30 < splatch> i never heard about 'layers' 00:31 < Wombert> then don't write a text 00:31 < impl> Wombert: Are you discouraging documentation? 00:31 < impl> He can write about FPF and validators and auth just fine without layers 00:31 < splatch> Wombert: why? 00:31 < impl> :P 00:31 < Wombert> I think he means a text for a magazine or something 00:31 < Wombert> right? 00:31 < splatch> Wombert: yuo right 00:32 < splatch> *you 00:32 < Wombert> don't write a text 00:32 < Wombert> unless it's about RC2 00:32 < Wombert> if you write about what you know, that will hurt agavi 00:32 < Wombert> because people will read your text 00:32 < Wombert> understand everything 00:32 < Wombert> then try agavi 00:32 < Wombert> and be disappointed because many things are different 00:32 < Wombert> that is not good 00:32 < Wombert> do you know what I mean? 00:32 < splatch> Wombert: i start write this text in november, 3 months pass, but api still isn't stable 00:33 < Wombert> the API is stable now 00:33 < Wombert> we finished the last changes 00:33 < splatch> flow also? 00:33 < impl> splatch: The changes have been for the better 00:33 < Wombert> yes, everything 00:33 < Wombert> impl: they always are 00:33 < Wombert> but I can understand that all this breakage is frustrating to people 00:33 < Wombert> however, I really really really have to ask you NOT to write about anything except the latest version, splatch 00:34 < Wombert> please don't do that 00:35 < AngryMikeSeth> I second that. 00:35 < splatch> Wombert: but in may article will be not stable 00:36 < splatch> back 00:36 < splatch> will be deactual also 00:36 < Wombert> splatch: do you speak russian? 00:36 < splatch> Wombert: yes, little 00:36 < Wombert> :S 00:36 < splatch> Wombert: 8 years with russian 00:37 < AngryMikeSeth> splatch, we do not want people to KNOW about this at the stage 00:37 < splatch> 2 years break 00:37 < Wombert> splatch: agavi is in a very very critical stage 00:37 < splatch> Wombert: why you ask about my russian? 00:37 < Wombert> we must AVOID(!) any strong public attention 00:37 < Wombert> splatch: I was just wondering, because if your russian is good, you can talk to mike in russian and he can explain it to you 00:37 < Wombert> I just don't want any confusion, you know 00:38 < splatch> Wombert: we can try 00:38 < splatch> :) 00:38 < Wombert> I don't want you to misunderstand this and be disappointed or anything because you thing we're mad at you or so 00:38 < AngryMikeSeth> splatch, do we have to? I mean your English looks fine to me 00:38 -!- AngryMikeSeth is now known as MikeSeth 00:38 < splatch> AngryMikeSeth: haha, my english is very poor 00:38 < splatch> poor ^ n! 00:38 < MikeSeth> splatch, doesnt look like that 00:39 < splatch> MikeSeth: you have skype id? 00:39 < Wombert> MikeSeth: I'm not worried about that, his english is good enough, I understand him just well 00:39 < MikeSeth> no, I detest skype 00:39 < MikeSeth> text chat ftw 00:39 < MikeSeth> msn - evilmeow@gmail.com 00:39 < Wombert> you could talk in irc private chat, too 00:39 < splatch> MikeSeth: i don't use russian chars ;) 00:41 < Wombert> splatch: do you understand what we mean? 00:41 < Wombert> the #1 problem of agavi is that it has no documentation 00:41 < Wombert> a lot of attention _now_ would hurt the project 00:41 < Wombert> but what hurts the project even more is outdated information 00:42 < Wombert> I didn't quite understand 00:42 < Wombert> [23:35] splatch: Wombert: but in may article will be not stable 00:42 < Wombert> [23:36] splatch: back 00:42 < Wombert> [23:36] splatch: will be deactual also 00:42 < Wombert> what do you mean? 00:42 < splatch> Wombert: I would not understand 00:48 < Wombert> :( 00:48 < MikeSeth> splatch, read /msg plz 00:54 < splatch> MikeSeth: i read 00:54 < splatch> but i want write one text about agavi 00:54 < splatch> the text will be available on may 00:54 < splatch> so, agavi will be stable 00:55 < splatch> and text with "that's article isn't based on stable version" 00:55 < Wombert> NO! 00:55 < Wombert> NONONONONONONONNO 00:55 < Wombert> PLEASE 00:55 < Wombert> NOT 00:55 < Wombert> please 00:55 < Wombert> please 00:55 < splatch> in poland Agavi doesn't exists 00:55 < MikeSeth> it doesnt exist anywhere 00:55 < MikeSeth> and it must stay that way until its ready 00:56 < Wombert> yes and if you do that article, it will NEVER exist in poland, splatch 00:56 < Wombert> because people read your article 00:56 < Wombert> but the "real" agavi they find is totally different 00:56 < Wombert> and then they walk away and use rails, prado, whatever 00:56 < Wombert> that's not good 00:56 < Wombert> please please please don't do this 00:56 < splatch> Wombert: i can give any port instructions for users 00:56 < Wombert> splatch: no. please. don't 00:56 < Wombert> splatch: RC2 will be out on _wednesday_ 00:56 < Wombert> that means: tomorrow! 00:57 < Wombert> RC2 is stable, the final version 00:57 < Wombert> no more changes 00:57 < Wombert> base it on that 00:57 < splatch> Wombert: on, i don't say when i'll start write my text :) 00:57 < splatch> i can't wait to wednesday 00:58 < MikeSeth> splatch, this is not what he's trying to say 00:58 < splatch> *i can 00:58 < splatch> i can wait 00:58 < splatch> only few days :) 00:58 < _cheerios> get a grip ppl, lol 00:59 < MikeSeth> _cheerios, its a very important subject 00:59 < MikeSeth> splatch, please, do not do this yet. 01:00 < MikeSeth> splatch, if you do, you will harm Agavi reputation 01:00 < splatch> what reputation? 01:00 < MikeSeth> splatch, the one that doesnt exist yet! 01:01 < splatch> yes, so i can write text to help you 01:01 < splatch> to build it 01:01 < Wombert> but you won't build it unless it's based on the latest version 01:01 < MikeSeth> no 01:01 < Wombert> please do not write about old stuff 01:01 < Wombert> write about 0.11 RC2 = 0.11 final 01:01 < MikeSeth> If you write an article now you will be telling people to go and look at Agavi now 01:01 < Wombert> if you write about the old ways of templating etc 01:01 < Wombert> people will try and fail because it is different now 01:01 < Wombert> templates, execution flow etc 01:02 < Wombert> and then they are disappointed and they blame agavi for it 01:02 < Wombert> and never use it again 01:02 < Wombert> even worse, they tell others that agavi sucks 01:02 < Wombert> => poland will hate agavi 01:02 < Wombert> ;) 01:03 < Wombert> in fact, I would prefer if nobody wrote anything at all about agavi, but I won't stop you from that, since I appreciate your effort 01:03 < Wombert> it is important that agavi is ready for any kind of publicity 01:03 < Wombert> we must have a good website 01:03 < Wombert> good, full documentation 01:03 < Wombert> and THEN we can tell people about it 01:03 < Wombert> chances are that by may, we'll have a website and pretty good documentation 01:03 < Wombert> so yes, of course, you can write a text! 01:03 < splatch> you will have two months! 01:03 < Wombert> but PLEASE 01:04 < splatch> only 0.11 RC2 01:04 < Wombert> PLEASE write about the _latest_ version 01:04 < Wombert> yes 01:04 < Wombert> please 01:04 < Wombert> this is very, very, very important 01:04 < splatch> i can do this 01:04 < Wombert> thank you 01:04 * Wombert hugs splatch 01:04 * splatch lick Wombert 01:04 < splatch> ;))) 01:04 < Wombert> :p 01:04 < MikeSeth> Wombert, two words for you 01:04 < MikeSeth> "Das Reichspropagandaleiter" 01:04 < Wombert> hahah 01:04 < Wombert> good one 01:05 < splatch> Wombert: try to say Brzenczyszczykiewicz 01:05 < splatch> :) 01:06 < MikeSeth> haha 01:06 < MikeSeth> you think that is complicated? 01:06 < Wombert> what does that mean? :) 01:06 < splatch> Wombert: that's some polish surname 01:06 < MikeSeth> try globalgidroelektrifikacija :D 01:06 < splatch> MikeSeth: i can do this 01:06 < Wombert> splatch: that's like the greeks with their weird long names 01:07 < splatch> that's russian, right? 01:07 < Wombert> papalandolexipapadoupoulous 01:07 < MikeSeth> splatch, communist slang, yeah ;) 01:07 < Wombert> or poupououououlous 01:07 < Wombert> very strange 01:07 < splatch> MikeSeth: maybe in future we'll tok in russian? 01:07 < MikeSeth> splatch, if you feel comfortable, sure 01:08 < splatch> MikeSeth: after two beers.. why not? 01:08 < splatch> :) 01:08 < Wombert> haha 01:09 < splatch> Wombert: so.. conferences will be god way to popularize Agavi? 01:09 < MrJeep> is there a way somewhere with the DOMDocument to clear all the spaces ands tabs from a text node ? 01:09 < Wombert> I guess I would need a whole box of beer before I'm brave enough to try and speak russian 01:09 < Wombert> until that, I can say "da", "njet" and "nastrovje" 01:09 < Wombert> MrJeep: I think there is a save option that does that... hmmm 01:09 < splatch> ja znaju ruskija jazyk! ;P 01:09 < Wombert> but I don't think for text nodes 01:10 < MikeSeth> splatch, -iya is for female :D 01:10 < MikeSeth> rather, -aya, -iya is a little different 01:10 < splatch> MikeSeth: i'm man! ;] 01:10 < Wombert> splatch: conferences would be cool, yes, but again, we need website and documentation first! 01:10 < splatch> Wombert: i need time to organize any conference 01:10 < MikeSeth> splatch, no, I mean the language. "yazyk" is male. 01:12 < splatch> MikeSeth: ach, i forgot 01:12 < splatch> ach = polish ;) 01:12 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 01:12 < MikeSeth> russian has ach too 01:12 < MikeSeth> though we typicaly transliterate it as "ax" 01:13 < MikeSeth> so you had your beers yet? 01:13 * MikeSeth illegalSubstances() 01:13 < splatch> MikeSeth: bottle's are empty 01:13 < splatch> but, i have helper 01:13 < CIA-23> david * r1650 /branches/0.11/src/ (2 files in 2 dirs): Toolkit::mkdir() mode defaults to 0775, UploadedFile::move() modes default to 0775 and 0664. fixes #402 01:13 < splatch> one beer :) 01:14 < Wombert> uhm 01:14 < Wombert> is "ach" the same as in german? 01:14 < MikeSeth> Wombert, pretty much the ah/oh exclamation in all western cultures 01:14 < Wombert> oO 01:14 < MikeSeth> Japanese would be like "waiiii" 01:14 < MikeSeth> and Jews would be like "oyyyy" 01:14 < MikeSeth> everyone else would be like "ahhhh" 01:14 < Wombert> haha 01:15 < Wombert> the japanese... funny guys aren't they 01:15 < splatch> vodka: 01:15 < MikeSeth> I want to live in Japan 01:15 < splatch> # 0.1 l - demo 01:15 < splatch> # 0.25 l - trial version 01:15 < splatch> # 0.5 l - personal edition 01:15 < splatch> # 0.7 l - professional edition 01:15 < splatch> # 1.0 l - network edition 01:15 < splatch> # 1.75 l - enterprise 01:15 < splatch> # 3 l - for small business 01:15 < splatch> # 5 l - corporate edition 01:15 < splatch> # wiadro - home edition 01:15 < splatch> # .klin. - Service pack 01:16 < splatch> # rosó³ - Recovery tool 01:16 < splatch> .klin. = bear on other alcohol 01:16 < Wombert> MikeSeth: are you serious? 01:16 < MikeSeth> eh then I must've been doing network deployments since 13 01:16 < MikeSeth> Wombert, yes. I am fascinated with Japan - not the way it is today but the way it used to be before Hiroshima 01:16 < Wombert> MikeSeth: I would freak out and kill everyone five minutes after arrival 01:16 < splatch> # soup - Recovery tool 01:16 < impl> Wombert: did you fix ::move() to use AgaviToolkit::mkdir? 01:16 < MikeSeth> Wombert, Japanese mentality is so vastly different 01:17 < splatch> ok, i going to sleep 01:17 < Wombert> impl: aye 01:17 < impl> :D 01:17 < splatch> bye everyone! 01:17 < Wombert> good night, splatch :) 01:17 < splatch> don't try RoR, don't try Cake, just use Agavi :) 01:17 < MikeSeth> heh beer + sleep = kickass 01:17 < Wombert> MikeSeth: different is a nice word. I wouldn't call it different. they have issues, and these issues are coming from a totally perverted society 01:18 < MikeSeth> Well in many ways they are a very vertical, tense and sexually repressed society, but with this also comes distinction 01:18 < MikeSeth> I mean.. the spoken language has about 100 used words for different colors 01:18 < Wombert> mind you, it's not a western stupid way of thinking or so if you find them odd 01:19 < MikeSeth> there's like 7 differently emotionally loaded ways to say "I ate" 01:19 < Wombert> the chinese are like "wtf", too, when they look at japanese life 01:19 < Wombert> MikeSeth: yes, and then there is travelling to other countries, which is only about eating 01:19 < MikeSeth> the distinction between vocal and subvocal conversation is blurred. Japanese think in different patterns 01:19 < Wombert> every sword has two sides 01:19 < MikeSeth> I mean 01:20 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.agavi.org :: 0.11RC2 WEDNESDAY :: http://trac.agavi.org/milestone/0.11 (99%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 01:20 < MikeSeth> Imagine if you met a programmer who would be like "Inversion of control? What for? We have a huge global hash table of parameters to be passed to functions. Singleton? What's the point? Any object in our system exists in exactly 4 copies." 01:20 < MikeSeth> you'd call them a pervert but he'd call you a pervert too 01:22 < Wombert> nah I don't think their society is perverted because they live in a strict set of rules, or because of the way their flats are laid out, or because of the fact that you ALWAYS slip out of your shoes and into clogs when you enter a house 01:23 < MikeSeth> youre just pissed at their farting porn? :D 01:23 < Wombert> I think their society is perverted because paramedics will put off their shoes, too, and slip into clogs, before they enter the house to provide first aid 01:24 < Wombert> and yes, the farting porn, and the porn with little fishes in the butt that are eaten afterwards and the "these girls are nine years old" shit in general 01:24 < MikeSeth> well japanese DO have different set of values. You do not disturb one's harmony by desecrating the house 01:25 < Wombert> but the bloke with a heart attack dies 01:25 < Wombert> cool 01:25 < MikeSeth> and porn is.. well.. trust me, the german porn I've seen beats japanese porn. Hell it beats the coreans. 01:25 < MikeSeth> yes, they are a deeply troubled society 01:26 < MikeSeth> i just dont think you or me with our western perception can comprehend their society adequately 01:26 < Wombert> they take tuna, add chemicals to remove the color, add chemicals to remove the flavor, then add in artificial beef flavor, press it into small pieces and sell it for outrageous prices 01:27 < MikeSeth> have you seen "Spirited Away"? 01:27 < MikeSeth> that is what happens in a japanese mind when its relaxed and wandering 01:27 < MikeSeth> this is very much how they live 01:27 < Wombert> whole factories produce ball pens that have a plastic piece of sushi at the top, and if you press a button, it's gone, as if someone had eaten it. imitations of oktoberfest steins with genuine looking plastic beer inside 01:27 < Wombert> etc etc etc 01:28 < Wombert> that's not bad per se 01:28 < Wombert> but then there's the restraints again that force everyone to buy at least two of each 01:28 < Wombert> if you want to take over japan, piece of cake 01:28 < MikeSeth> thats also an accepted way for Japanese.. they do the same with electricity 01:28 < Wombert> watermelons sell for... what... 50 dollars or so in tokyo 01:29 < Wombert> you cut off their supply 01:29 < MikeSeth> i remember reading something about the government forcing japanese people to replace electric widgets because of new consumption standards 01:29 < Wombert> then you sell squre watermelons for 100 bucks 01:29 < Wombert> honey melons for 150 01:29 < Wombert> etc etc etc 01:29 < MikeSeth> Americans would be outraged! 01:29 < Wombert> yes, but they obey rules 01:29 < Wombert> at all costs 01:29 < Wombert> you can't date a girl in a cafe 01:29 < MikeSeth> Um yeah, but try to get fresh calamari the same way you can get fresh watermelon 01:29 < Wombert> you have to go to a karaoke club into a cabin and talk there 01:29 < Wombert> because everyone does it 01:30 < Wombert> in the baths, you are not allowed to shower with soap or shampoo 01:30 < MikeSeth> and if you were japanese you'd do it too for the same reason that you do not urinate in public and japanese people are not troubled by it in the slightest 01:30 < Wombert> because you could slip and fall 01:30 < Wombert> so everyone goes in without a proper shower 01:30 < Wombert> mmmmh tasty 01:30 < Wombert> and... 01:31 < Wombert> every 30 minutes the pool attendant will blow the whistle 01:31 < MikeSeth> yep. 01:31 < Wombert> and everyone must get out of the water, since the body needs 10 minutes rest per hour 01:31 < Wombert> they can't rely on the people to think for themselves and make that decision on their own 01:32 < Wombert> I would so go beserk over there, seriously 01:32 < MikeSeth> yet, they have the finest technology in the world, finest crafts in the world, finest cultural heritage, and even their language does not actually coincide with anything, it just stands out on its own 01:32 < MikeSeth> well 01:32 < MikeSeth> since I am crazy already, I'd have much fun 01:32 < Wombert> have you seen lost in translation? 01:33 < MikeSeth> i would be able to get all the sushi I want *and* thank the chief properly 01:33 < MikeSeth> I mean 01:33 < MikeSeth> when was the last time you went to a restaurant and were satisfied so much you'd personally thank the chef 01:33 < Wombert> if you want to make it a good time, make it santori time. and the part where the director talked for five minutes and the translator said "please smile a bit more" had me cracking up 01:33 < Wombert> I don't like sushi 01:33 < Wombert> I adore asian food 01:33 < Wombert> and I like some sushis, too, for instance the one with rice and the raw fish on top 01:34 < Wombert> but... in genereal... uh uh I don't like it at all 01:34 < Wombert> I wish I was born chinese 01:34 < MikeSeth> but that's small penis and working on a factory for your entire life 01:34 < Wombert> a friend of mine is chinese and when I was young I sometimes had lunch or dinner over at his place 01:34 < Wombert> I tell you, it's the best food in the world, nothing beats it 01:34 < impl> Did he have a small penis? 01:34 < Wombert> not my favorite german food, not the best french cuisine I have tried in five star restaurants 01:35 < Wombert> I think he does, yes 01:35 < impl> err 01:35 < impl> You weren't actually supposed to know the answer to that 01:35 < Wombert> I can only assume, as I don't know 01:35 < Wombert> haha 01:35 < MikeSeth> but just in case you did we'll pretend we ignore that 01:35 < MikeSeth> :D 01:35 < Wombert> that's very kind of you 01:38 < MikeSeth> dont worry we'll oust you later when you expect it the least :D 01:46 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 01:46 < Whisller> hi :) 01:47 < MikeSeth> http://laviroutade.nuxit.net/francais/asie/chine/Jiangsu/Shanghai/bar.jpg 01:48 < Whisller> O.o 01:51 < Whisller> what a night, is so cold :/ 01:53 < MikeSeth> and boring 01:53 < Whisller> hehe :) 01:54 < Whisller> I don't think so. I have many thinks to work :/ 01:54 < GMFlash> MikeSeth!!!! 01:54 < GMFlash> sup? 01:54 < MikeSeth> hey gmflash 01:54 < MikeSeth> im pimping 01:54 < MikeSeth> reading the Perry Bible Fellowship 01:54 < MikeSeth> http://www.pbfcomics.com/?cid=PBF200-Les_Douleurs_de_la_Mort.jpg#191 01:56 < GMFlash> ahh nice 01:56 < Whisller> What is it? 01:56 < GMFlash> if you were pimping though, wouldn't you be reading this instead? http://www.pbfcomics.com/?cid=PBF191-Boy_Scouts.jpg#182 01:58 < MikeSeth> hehehhehe 01:58 < Whisller> This is better http://www.pbfcomics.com/?cid=0PBF01081BC-Stiff_Breeze.jpg#3 :D 01:58 < Whisller> MikeSeth, great :) 01:58 < GMFlash> lol 01:59 < Whisller> * GMFlash 01:59 < MikeSeth> its so mean and offensive 01:59 < MikeSeth> I love it so much 02:03 < Whisller> I like this comic, but it's in polish language http://toya.net.pl/~maldonka/bundz/pabel/index2.html. Some stories are translated to english. 02:06 < GMFlash> these are great lol http://www.pbfcomics.com/?cid=PBF106AD-Tunnel_Of_Love.gif#176 02:07 < GMFlash> wait wtf wrong one 02:07 < GMFlash> thats good too though 02:07 < GMFlash> http://www.pbfcomics.com/?cid=0PBF46024BC-New_Specs_for_Ken.jpg#48 02:10 < MikeSeth> my personal all time favourite comics is morning glory 02:11 < MikeSeth> for this NSFW reason: http://www.cant-touch-this.co.uk/morningglory/mg56.JPG 02:12 < Whisller> ble 02:13 < Whisller> This isn't joke this is terrible :/ 02:14 * GMFlash didn't understand that last one 02:14 < MikeSeth> which makes it so hilarious 02:14 < MikeSeth> http://www.cant-touch-this.co.uk/morningglory/mg28.jpg 02:15 < impl> Morning Glory is scary 02:15 < MikeSeth> yes 02:15 < Whisller> stupid not scary 02:16 < GMFlash> i'm liking that perry bible fellowship better 02:16 < MikeSeth> http://www.cant-touch-this.co.uk/morningglory/mg95.jpg 02:16 < MikeSeth> MG is pure evil 02:16 < MikeSeth> Evil is not something many people appreciate 02:17 < Whisller> O.o this is ... ehhh no comments 02:17 < MikeSeth> yeah 02:17 < impl> http://www.cant-touch-this.co.uk/morningglory/mg99-1.jpg 02:18 < MikeSeth> but to sum up the philosophy of MG in one line http://www.cant-touch-this.co.uk/morningglory/mg70.JPG 02:18 < CIA-23> david * r1651 /branches/0.11/src/request/ (2 files): made ctor arguments optional for request data holders 02:19 < Whisller> can someone explain me what mean the last story :> Author of this images must be very sick ;p 02:19 < impl> You got it =P 02:19 < impl> "Author of this images must be very sick" sums it up well 02:20 < GMFlash> i like that hover effect on PBF just noticed that, for author, news, things, pals 02:20 < MikeSeth> probably 02:21 < MikeSeth> oh yeah its uber 02:21 < MikeSeth> ok bed time 02:21 < MikeSeth> later all 02:21 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit ["Leaving"] 02:21 < GMFlash> nite mike 02:22 * Whisller is listening to 30. Ennio Morricone - The Good,The Bad and The Ugly 02:23 * Wombert yawns 02:23 < Wombert> god, unit tests are nightmare.ish 02:24 < CIA-23> david * r1652 /branches/0.11/src/buildtools/code_templates/defaults/base/ (. ProjectBaseAction.class.php ProjectBaseView.class.php): and maybe I should also 'svn add' files, kthxbye 02:52 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" good night"] 02:57 -!- um [n=um@noc.cavokintl.com] has quit [Nick collision from services.] 02:58 -!- um [n=um@noc.cavokintl.com] has joined #agavi 03:16 < CIA-23> david * r1653 /branches/0.11/tests2/ (35 files in 15 dirs): made tests run through again without breaking to smithereens (albeit with errors and failures). this closes #65 - we'll rewrite the tests from scratch for 1.0 03:27 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 03:53 -!- Wombert [n=Wombert@dslb-084-056-031-135.pools.arcor-ip.net] has quit [Nick collision from services.] 03:53 -!- Wombert [n=Wombert@dslb-084-056-005-195.pools.arcor-ip.net] has joined #agavi 03:58 < GMFlash> sup Wombert 03:58 < GMFlash> unit tests... i need to start writing those 03:58 < GMFlash> i always put them off 03:59 < GMFlash> they're just so *ugggh* boring 04:03 -!- shoan_ [n=shoan@59.92.154.176] has joined #agavi 04:05 < Wombert> you bet, GMFlash 04:07 < Wombert> but 04:07 < Wombert> I gotta get some sleep now 04:07 < Wombert> GMFlash: that offer's still good - gotta tell you about (and sell you on) agavi 04:08 < GMFlash> perhaps tomorrow :) 04:08 < GMFlash> goodnight 04:08 < Wombert> bye 04:09 -!- Wombert [n=Wombert@dslb-084-056-005-195.pools.arcor-ip.net] has quit [] 04:16 -!- shoan [n=shoan@59.92.168.157] has quit [Read error: 110 (Connection timed out)] 04:40 -!- shoan [n=shoan@59.92.138.230] has joined #agavi 04:47 -!- shoan_ [n=shoan@59.92.154.176] has quit [Read error: 110 (Connection timed out)] 04:59 -!- shoan_ [n=shoan@59.92.202.115] has joined #agavi 05:14 -!- shoan [n=shoan@59.92.138.230] has quit [Read error: 110 (Connection timed out)] 05:17 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 06:21 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:37 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 06:37 < MrJeep> hi 06:37 < MrJeep> i've been wondering 06:37 < MrJeep> what exacly the modpub directory is used for ? 06:46 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 07:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 07:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 08:53 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:39 < v-dogg> huomenta 09:39 < ttj> Huomen. 09:44 < splatch> *yawn* 09:45 < splatch> hello :) 09:49 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:49 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 09:49 < horros> lol 09:49 < horros> "this is no longer a cow in a tracksuit -- it's a Cow GTi! In a racing overall!" 09:51 < ttj> New Top Gear? 09:51 < horros> aye 09:51 < _cheerios> did you watch the new mac vs pc ad, about vista? 09:53 < _cheerios> http://movies.apple.com/movies/us/apple/getamac/apple-getamac-security_480x376.mov 09:54 < splatch> :) 09:54 -!- shoan [n=shoan@59.92.130.252] has joined #agavi 09:56 * horros shivers 09:57 < horros> time to fire up Cisco VPN client again! 09:57 < horros> wish me luck 09:57 < horros> STAND BACK! I'M GOING IN! 10:00 -!- shoan__ [n=shoan@59.92.199.114] has joined #agavi 10:00 < splatch> time to drunk ;) 10:02 < horros> oh smeg 10:07 -!- shoan_ [n=shoan@59.92.202.115] has quit [Read error: 110 (Connection timed out)] 10:14 -!- shoan_ [n=shoan@59.92.145.182] has joined #agavi 10:15 -!- shoan [n=shoan@59.92.130.252] has quit [Read error: 110 (Connection timed out)] 10:24 -!- shoan [n=shoan@59.92.188.255] has joined #agavi 10:30 -!- shoan__ [n=shoan@59.92.199.114] has quit [Read error: 110 (Connection timed out)] 10:30 < _cheerios> im still not used to not seeing the firefox icon on my taskbar 10:30 -!- shoan__ [n=shoan@59.92.207.159] has joined #agavi 10:30 < _cheerios> i keep going, "where's my browser??" 10:36 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:36 < RossC0> watch ya 10:36 < horros> the whatnow in the wherenow? 10:38 < horros> \o/ 10:38 < horros> I believe I'm done! 10:38 < horros> I only got annoyed like three billion times with the VPN client this time! 10:39 -!- shoan_ [n=shoan@59.92.145.182] has quit [Read error: 110 (Connection timed out)] 10:44 < RossC0> woot! 10:45 < RossC0> horros: was it you that recommended the Magician? 10:45 < horros> aye 10:46 < RossC0> well its dam good :) 3/4 the way through 10:46 -!- shoan [n=shoan@59.92.188.255] has quit [Read error: 110 (Connection timed out)] 10:46 < horros> told you :) 10:46 < horros> I just bought the king's buccaneer the other day \fs20 :)\fs18 10:46 < horros> haven't had time to read it yet though 10:47 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 10:55 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 10:56 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 10:56 < Whisller> hi 11:05 < _cheerios> hello 11:06 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"] 11:07 -!- eremit_ [n=eremit@p5490F11E.dip.t-dialin.net] has joined #agavi 11:07 -!- eremit [n=eremit@p5490F1F8.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 11:26 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:29 -!- shoan [n=shoan@59.92.137.6] has joined #agavi 11:34 < horros> gh 11:34 < horros> damn customers 11:34 < horros> I just spent an hour trying to figure out wtf was going on at a customers 11:34 < horros> ... 11:35 < horros> "Say, what does your browser window say? Does it say 'Internet Explorer'?" 11:35 < horros> "Yes" 11:35 < horros> d'oh. 11:35 < horros> :) 11:35 < horros> "We only support browsers that at least *attempt* to follow some form of standards. plz 2 get firefox lol" 11:35 < horros> IE5 is such a heap of shit 11:37 < v-dogg> hear hear 11:40 -!- eremit_ is now known as eremit 11:45 -!- shoan__ [n=shoan@59.92.207.159] has quit [Read error: 110 (Connection timed out)] 12:05 < horros> OH NOES 12:05 < horros> [PHP Error] DOMDocument::schemaValidate(): Element 'foreign-key', attribute 'for 12:05 < horros> eignTable': [facet 'pattern'] The value 'public.module' is not accepted by the p 12:05 < horros> attern '[\w_]+'. [line 391 of D:\Projects\propel_1.3\generator\classes\propel\ph 12:05 < horros> ing\AbstractPropelDataModelTask.php] 12:06 < horros> need to h4x0r propel 1.3 then too :I 12:06 < horros> *sigh* 12:13 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 12:13 < Xylakant> good morning 12:21 < horros> hrrm 12:21 -!- digitarald [n=Miranda@152.Red-83-55-56.dynamicIP.rima-tde.net] has joined #agavi 12:27 < _cheerios> are slots dead now, only layers left? 12:31 < v-dogg> slots are still there, but handled via layers 12:32 < v-dogg> $this->getLayer('master')->setSlot('slotname 12:32 < _cheerios> just did my first layer test, but then noticed i need slots instead of layers 12:34 < _cheerios> and as slots are handled by layers, i take it slots get cached in this case too? 12:39 < horros> whee! 12:39 < horros> propel h4x0red :) 12:39 < horros> hmm 12:39 < horros> with crap results, it seems 12:39 < horros> [PHP Error] implode(): Bad arguments. [line 789 of D:\Projects\propel_1.3\generator\classes\propel\engine\builder\om\php5\PHP5BasicPeerBuilder.php] 12:39 < horros> :(( 12:41 < Xylakant> hmm. php implodes :) 12:48 < _cheerios> ok, slot is set, slot gets run, but where is the data, hmm 12:48 < digitarald> short voting: when u (would) use ajax autocompleters, would u like to return an xhtml fragment that just is inserted in the suggestion-popup or return json and create the list for the popup dynamic? 12:49 * digitarald restarts, Tortoiseupdate 12:49 -!- digitarald [n=Miranda@152.Red-83-55-56.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 12:50 -!- digitarald [n=Miranda@152.Red-83-55-56.dynamicIP.rima-tde.net] has joined #agavi 12:51 < digitarald> ok ... opinions? 12:52 < RossC0> xhtml would be quicker 12:52 < _cheerios> v-dogg, what's the way to have the slots output available in the layer? 12:53 < RossC0> but json ultimately more flexible 12:53 < RossC0> depends on how generic you want it to be 12:54 < digitarald> xhtml is not quicker, eval is a bit slow, but it just evals an array, so this time does not really matter 12:56 < RossC0> ah what I ment was: innerHTML is quicker than evaling json and processing it 12:57 < RossC0> _cheerios: you looked at the sample app? 12:57 < RossC0> the output_types.xml declares the slots i.e. Menu and its outputted in the Master template via $slots['menu'] 13:04 -!- Wombert [n=Wombert@dslb-084-056-005-195.pools.arcor-ip.net] has joined #agavi 13:05 < horros> hmm 13:05 < horros> this isn't very nice 13:06 < horros> why is propel erroring at me?! 13:06 < horros> :( 13:06 < horros> RossC0: ...except innerHTML usually doesn't work if you're using XHTML 13:06 < Wombert> _cheerios: if you cache a slot, the layers are included 13:06 < Wombert> unless you specify slots on that layer, then that means that the layer itself is excluded, but the slots are included 13:07 < Wombert> I'll write that mail in a bit 13:07 * horros slaps propel over the face repeatedly 13:18 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 13:38 < _cheerios> i need to have the slots in output_type ? hmm 13:38 < _cheerios> i thought that it'd be available via the name i crea the slot with 13:39 < Wombert> ... 13:39 < _cheerios> that is, setSlot('useThisname', ... 13:39 < Wombert> you define the slots in the layout, for each layer, yes 13:39 < Wombert> you can of course also create them programatically, if necessary 13:39 -!- shoan_ [n=shoan@59.96.37.75] has joined #agavi 13:39 < Wombert> i.e. if the slots are totally dynamic 13:40 < horros> Wombert: how the smeg do I use the agavi build.xml to create actions? 13:40 < _cheerios> well, there's going to be a lot of them, was just wondering why i have to type in in .xml too 13:40 < Wombert> ???? 13:40 < Wombert> you have to configure them _only_ in the xml 13:40 < Wombert> if you just need to give dynamic arguments to the slot, you can use $this->getLayer('foo')->getSlot('bar')->getRequestDataHolder()->setParameter('foo', 'bar'); 13:40 < Wombert> horros: oh yes you should definitely do that 13:41 < Wombert> can I query you in one minute, horros 13:41 < horros> yeah but no but yeah but no but 13:41 < horros> :) 13:41 < horros> sure 13:42 < _cheerios> im creating a Profile page. it has n different things relating to the profile, which i'd like to keep cached separately, and just echo $slot['slotname'] in the decorator 13:43 < _cheerios> bbl after lunch 13:47 < Wombert> yes, _cheerios, you can do that, but why does that require you set up the slots in your code, and not in the layout definition 13:55 -!- shoan [n=shoan@59.92.137.6] has quit [Read error: 110 (Connection timed out)] 13:57 < _cheerios> none really. i did not know how to do this, first time :) 13:58 < Wombert> there's also two strategies here 13:58 < Wombert> first, you could cache the profile page so the individual chunks are included in one page cache 13:58 < Wombert> or you setup cache rules for the slots themselves 13:58 < _cheerios> so, whenever i create a view with slots/layers, i should create a separate into the .xml? 13:58 < Wombert> ??? 13:58 < Wombert> no 13:58 < Wombert> you use the same layout in 99% of the cases 13:59 < _cheerios> even if the vars are never used elsewhere, by other views ? 14:01 < _cheerios> ( if so, i take it naming them there doesn't execute anything, just makes data available -- if such a slot was Set) 14:01 < horros> ls 14:01 < horros> oops 14:01 < Wombert> _cheerios: aaaah okay wait 14:02 -!- shoan_ [n=shoan@59.96.37.75] has quit [Read error: 110 (Connection timed out)] 14:02 < Wombert> _cheerios: so your content and decorator template are the same on all pages 14:03 < Wombert> but for this profile page, you want the content assembled from many slots? 14:03 < _cheerios> yes 14:03 < Wombert> okay 14:03 < Wombert> first thing to keep in mind 14:03 < Wombert> do not touch the decorator for this 14:03 < Wombert> if the inner content should consist of slots, not of just a layer template, that's none of the decorator's business 14:04 < Wombert> that's the whole point of slots - you can insert another layer here or there without bothering other parts 14:05 < _cheerios> the view's success template will place the slots, and that output is then for decorator as $inner 14:06 < Wombert> yes, but the slots are placed on the content template! 14:06 < Wombert> so in this case, you're right 14:06 < Wombert> you want to load the normal layout 14:06 < Wombert> with all the slots (login box etc) on the outer decorator layer 14:06 < Wombert> and then you programatically add slots on the content layer 14:06 < Wombert> in the code 14:06 < Wombert> got it? :) 14:08 < _cheerios> $this->getLayer('content')->setSlot('gallery', 14:08 < _cheerios> $this->context->getController()->createExecutionContainer('Test','Gallery') 14:08 < _cheerios> ); 14:08 < _cheerios> i was using this, everything runs, but i didnt get content 14:08 < Wombert> no, $this->createSlotContainer() 14:08 < _cheerios> ah 14:08 < Wombert> you have to output the slot in the content template of course 14:09 < _cheerios> ok, that runs it once 14:09 < Wombert> you likely want to pass the user id to the gallery action, too 14:09 < _cheerios> now you say i need that information in the .xml, so i have the output available for the content layer? 14:09 < Wombert> no no no 14:09 < Wombert> not in this special case 14:09 < Wombert> maybe I'm explaining this wrong :S 14:09 < _cheerios> ok, cuz that was giving infinite loop :) 14:10 < Wombert> yes the problem is that the slot ALSO loads the default layout, which has decorators, which then loads the slots, which loads the decorator etc etc etc 14:10 < _cheerios> so, how do i have the output from that slot available for me, in the template? 14:10 < Wombert> $slots['gallery'] 14:10 < Wombert> set up a different layout for the slots 14:10 < Wombert> that only has a content layer 14:11 < _cheerios> ok, so it works as I thought, just was mistakenly using ExecutionContainer 14:11 < Wombert> no 14:11 < Wombert> that doesn't make a difference 14:12 < Wombert> all it does is set a is_slot parameter on the container (which you can read to know if you're run as a slot or not) and accept an array as the third argument in addition to a request data holder 14:14 < _cheerios> ok, now how do i do this without killing performance totally? 14:15 < Wombert> what 14:16 < _cheerios> every added slot is like -5 req/s 14:17 < _cheerios> or, lets see. initially 80req/s. add 2 slots (just text, nothing else). down to 40req/s 14:17 < _cheerios> -20req/s penalty per each slot. i'm never going to be able to have 15 slots on a single page like this. 14:18 < Wombert> what do these slots do? 14:18 < Wombert> first, you can setup caching rules for them 14:18 < _cheerios> parts of the profile content 14:18 < Wombert> like? 14:18 < Wombert> or you can cache the entire content section with the slots in it 14:19 < v-dogg> 15 slots / page seems wrong? 14:19 < Wombert> yeah 14:19 < _cheerios> http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=13503520 14:19 < v-dogg> that whole page seems wrong in so many ways :) 14:20 < _cheerios> i don't need a slot as in mvc slots, i just need a "container" for additional data, that i can cache 14:20 < _cheerios> like a standalone "layer" 14:21 < Wombert> okay BUT 14:21 < Wombert> do you re-use any of these chunks anywhere else 14:21 < _cheerios> profiles are user-specific 14:21 < _cheerios> though, i was thinking with this "slot" approach, could easily make widgets out of the data 14:22 < _cheerios> so people can copy badges for their sites of their own data at will 14:22 -!- shoan [n=shoan@59.92.199.129] has joined #agavi 14:22 < _cheerios> since it's nicely lockered up, plus agavi can switch the output type so easily 14:23 < Wombert> okay 14:24 < Wombert> the thing is, however, that these slots likely won't be exactly the same as the widgets 14:24 < Wombert> I'd do the following 14:24 < Wombert> make slots for each 14:25 < Wombert> setup the caching so "contacting" and the main box and such are included in the page cache 14:25 < _cheerios> c'mon, slots have to be out of the question with the current page penalty. no serve can serve multiple users efficiently if the initial page request takes several seconds (dozens of slots). 14:25 < _cheerios> *serve(r) 14:26 < Wombert> if you say so 14:27 < _cheerios> if i say so? you don't think if i setup 15 slots and initial page creation takes (lets be positive) 2 seconds, that such a service would be utterly slow? 14:28 < Wombert> then don't use slots 14:28 < Wombert> first of all, you could make the slots "simple", that would likely help 14:28 < Wombert> and then there's caching 14:28 < _cheerios> these are profiles. they're changing a lot. these social network people, what do they do all they long, they modify their profiles. 14:28 < Wombert> aaaand I think there's something wrong with your setup or you're still in debug mode or something 14:29 < Wombert> you can selectively clean caches without wiping everything 14:29 < _cheerios> im not caching anything atm. 14:29 < _cheerios> the numbers i gave you were w/out caching 14:30 < v-dogg> without caching the config files? 14:30 < v-dogg> that would explain it 14:30 < _cheerios> running in production mode, though 14:30 < _cheerios> otherwise it'd been really pitiful 14:31 < _cheerios> i need something between slots and layers, i guess 14:31 < Wombert> slots and layers are totally different things 14:31 < _cheerios> cacheable data containers 14:31 < Wombert> SLOTS ARE CACHEBLE 14:31 < Wombert> LAYERS ARE CACHEABLE 14:31 < Wombert> ffs 14:31 < _cheerios> they are, never said they arent 14:31 < _cheerios> slots are too slow, and layers aren't singular entities, but depend on a single dataset 14:31 < Wombert> you can even say "include this whole layer, and slot foo from this layer, and slot bar from this layer" 14:31 < Wombert> slots are not slow 14:32 < _cheerios> have you benchmarked? 14:32 < Wombert> yes 14:33 < Wombert> a normal slot run where the slot doesn't do much is barely measurable 14:33 < Wombert> I guess it depends on what you do in these slots 14:33 < _cheerios> do you have caching on? 14:33 < Wombert> no 14:33 < Wombert> there's no way two emtpy slots would cut your rendering time in half 14:34 -!- shoan_ [n=shoan@59.92.201.234] has joined #agavi 14:34 < _cheerios> i wish that was the case too 14:35 < Wombert> ... 14:37 < _cheerios> i'll try something, just to see no errata, creating 2 actions using agavi, and adding the other one as slot 14:37 -!- shoan [n=shoan@59.92.199.129] has quit [Read error: 145 (Connection timed out)] 14:40 < _cheerios> shrug. added a module, then another action 14:40 -!- shoan [n=shoan@59.92.131.49] has joined #agavi 14:40 < _cheerios> added that action as a slot to the indexview 14:40 < _cheerios> $this->getLayer('content')->setSlot('addme', 14:40 < _cheerios> $this->createSlotContainer('Bench','Addme') 14:40 < _cheerios> ); 14:41 < _cheerios> setup routing 14:41 < _cheerios> production mode into index.php, ab -n100 /bench, and with the slot -30req/s 14:42 < _cheerios> so, is there something wrong with my setup? what kind of times do you get? 14:43 -!- shoan_ [n=shoan@59.92.201.234] has quit [Read error: 60 (Operation timed out)] 14:45 < _cheerios> hmm, seems like routing bringing the roof down 14:45 < _cheerios> pattern="^/(username:[a-z0-9]+)" 14:46 < _cheerios> or no, had taken off the slot. that one is fine. 14:48 < _cheerios> did you really benchmark and get different numbers? 14:48 < Wombert> I will in a bit, just a minute please 14:52 < _cheerios> layers are pretty fast, only -8req/s penalty (using your ircbot example) 14:57 < Wombert> 230msecs for the sample app 14:57 < Wombert> if I add 14:57 < Wombert> 14:57 < Wombert> 14:57 < Wombert> 14:57 < Wombert> 14:57 < Wombert> I get 300msecs 14:57 < Wombert> entire rendering time (measured index.php start to end) 14:58 < _cheerios> run ab, so we have something common 14:58 < _cheerios> also add the slot into view by code 14:58 < Wombert> that doesn't make a difference 14:59 < _cheerios> can you put the test code up, so we can compare same code 15:00 < _cheerios> btw. what is wrong with: 15:00 < _cheerios> 15:00 < _cheerios> 15:00 < _cheerios> 15:00 < _cheerios> i take it that's the wrong way to add a slot? 15:00 < Wombert> no, that's correct, why 15:00 < _cheerios> do i need to put something into thte view? 15:00 < Wombert> no 15:00 < Wombert> loadLayout() calls setSlot() for you 15:00 < _cheerios> Too many execution runs have been detected for this Context. 15:01 < Wombert> because your slot uses the same layout 15:01 -!- shoan_ [n=shoan@59.92.137.72] has joined #agavi 15:01 < Wombert> and this layout again loads the slot 15:01 < Wombert> which then loads the layout with the slot 15:01 < Wombert> and so on 15:01 < _cheerios> hmk 15:01 < Wombert> you need to define a new layout with only the content layer, call it "slots" and load it in slot views 15:02 < Wombert> Requests per second: 4.20 [#/sec] (mean) 15:02 < Wombert> with one slot 15:03 < _cheerios> how many without? 15:03 < Wombert> takes a while to benchmark :p 15:03 < _cheerios> you can drop it to ab -n10 , same rough indicator 15:04 < Wombert> Requests per second: 2.53 [#/sec] (mean) 15:04 < Wombert> with ten slots 15:04 < Wombert> that ratio is identical to my 230/300msecs 15:04 < _cheerios> that's 23% penalty per slot 15:05 < _cheerios> it's about the same i got, with requests dropping from 70 -> 50 on the first slot 15:06 < Wombert> Requests per second: 5.29 [#/sec] (mean) 15:06 < Wombert> no slots 15:06 < Wombert> BUT 15:06 < Wombert> I gotta add the output of the menu 15:06 < Wombert> just a sec 15:08 < Wombert> Requests per second: 5.23 [#/sec] (mean) 15:08 < Wombert> within the margin of error then :p 15:08 < _cheerios> the reason im looking at slots in the first place is to boost performance ( having stuff cached, eliminating the sql calls needed to create piece X of the profile ) 15:08 < Wombert> _cheerios: you can setup caching rules for the slots 15:08 < Wombert> remember 15:08 < Wombert> they are just actions 15:08 < Wombert> then the slots are served from the cache, and not run 15:08 < _cheerios> however, at the moment, it's faster to output everything in a single go, as the performance penalty for a single slot is higher that just generating all data again and again 15:09 < Wombert> why 15:09 < Wombert> don't 15:09 < Wombert> you 15:09 < Wombert> listen 15:10 < Wombert> you can _cache_ the stuff 15:10 < Wombert> having slots doesn't mean generating data again and again 15:10 < Wombert> you have to generate it either way 15:10 < _cheerios> that is true, but it's still a slow solution. not all can be cached, plus some will be highly dynamic. 15:11 < Wombert> everything can be cached 15:11 < _cheerios> i dont mean in agavi, but in application context 15:11 < Wombert> you can have three slots in the cache, one slot cached in itself, and the last slot always runs 15:14 < _cheerios> it's all nice but slots don't seem to be usable in high numbers. memcached or a self-made dataobjects cache will serve better. 15:14 < Wombert> as I said, _cheerios 15:15 < Wombert> you can include the slots in the PAGE cache 15:15 < Wombert> the slot will not be run at all 15:15 -!- shoan [n=shoan@59.92.131.49] has quit [Read error: 110 (Connection timed out)] 15:15 < Wombert> also, the slot will NOT be served from the cache 15:15 < Wombert> the slot output is INCLUDED in your page cache 15:18 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."] 15:21 < _cheerios> need to think over how to do this. slots seemed like such a nice clean solution. 15:22 -!- shoan [n=shoan@59.92.186.121] has joined #agavi 15:23 < _cheerios> if only the penalty had been 2-3% :( 15:27 < _cheerios> i think i'll go with a class, that creates the html fragments and does file-based cache checks while at it. slots are overkill. can use it to create additional actions for the widgets too, if needed. 15:31 < Wombert> and these checks... would load the content from a cache? 15:31 < Wombert> my goodness... 15:31 < Wombert> that's what slots+caching would do 15:31 < Wombert> only the first hit is more expensive 15:34 < _cheerios> those hits add up 15:37 -!- shoan_ [n=shoan@59.92.137.72] has quit [Read error: 110 (Connection timed out)] 15:38 < horros> _cheerios: just out of curiosity, how did you plan on evading the initial performance penalty when using, say, mmcache or "self-made dataobjects"? 15:38 < Wombert> all you do is get rid of the slight overhead that you get from running a slot 15:38 < Wombert> _cheerios: did you put the slots into "simple" mode? 15:38 < _cheerios> it can't be avoided, but instead of ~20% it will be 0.1% 15:39 < _cheerios> simple mode? 15:39 < Wombert> that's a) bull and b) it's not 20% for each slot 15:39 < kaos> and c) what cache hit rates do you have to fear 20% perofmance loss on the first hit ? 15:40 < kaos> 2 hits per cache or what ? 15:40 < horros> and d) "It's a COW GTi!" 15:40 < _cheerios> c) it's not about cache hit rates, it's pure agavi speed w/regard to slots 15:40 < Wombert> kaos: we measured a 20% performance hit for no slots vs 1 slot 15:40 < Wombert> subsequent slots run faster for some reason 15:41 < kaos> <_cheerios> i think i'll go with a class, that creates the html fragments and does file-based cache checks while at it. slots are overkill. can use it to create additional actions for the widgets too, if needed. 15:41 < kaos> this was about caching too :P 15:41 < horros> time to dig out xdebug :) 15:42 < horros> ...and cachegrind 15:43 < Wombert> main performance hits are the module.xml loading and the autoload loading 15:43 < Wombert> we _could_ a) prevent module.xml in simple mode and b) cache module autoload.xmls 15:43 < _cheerios> 70->50(1st)->40(2nd)->36(3rd)->31(4th) 15:47 < _cheerios> yeah, it gets much faster after the initial load 15:49 < _cheerios> but i'm taking away precious developer time due performance reasons, albeit ones that would have me stay away from slots :) 15:53 < _cheerios> kaos: what are you talking about ? :) 15:55 < CIA-23> david * r1654 /branches/0.11/src/response/AgaviWebResponse.class.php: added 'send_content_length' config parameter to web response, good for testing debug output, should be off in development mode 16:02 < shoan> is there any better ajax/js framework than yui? 16:03 < RossC0> prototype or mootools fanboys in here! 16:03 < v-dogg> (and one yui fanboy) 16:03 < v-dogg> (not me, though :) 16:05 < Wombert> Xylakant: you there? 16:05 < shoan> then whos it? ;) 16:05 < horros> do I still do initialize() with models? 16:05 < horros> and 16:05 < _cheerios> depends what you want done, not all frameworks offer the same things. 16:05 < v-dogg> shoan: mikeseth 16:05 < horros> if so, with what parameters? 16:05 < _cheerios> use what suits you best 16:05 < Wombert> horros: getModel does it for you 16:06 < RossC0> digitarald: are there any event selectors stuff for mootools akin to: http://encytemedia.com/event-selectors/ 16:06 < horros> wombert: I mean when I create models 16:06 < Wombert> horros: ah 16:06 < Wombert> well 16:06 < Wombert> works like this 16:06 < Wombert> if the class has a constructor 16:06 < _cheerios> RossC0, digitalard had some syntax for that $$(''). something, forgot it. check logs? :) 16:06 < Wombert> all parameters passed to getModel() are used as constructor args 16:06 < Wombert> one by one 16:07 < Wombert> also, the parameters array is passed to initialize if there is an initialize 16:07 < Wombert> takes the context as the first argument 16:07 < Wombert> _cheerios: not as nice tho because you can't do :mouseover 16:07 < horros> but I don't need to have neither a contructor or an initialize() ? 16:07 < Wombert> horros: not if you extend AgaviModel 16:07 < horros> right right 16:07 < horros> sweet 16:07 < Wombert> you can implement AgaviIModel, too 16:07 < RossC0> Actually EventSelectors might work out the box... 16:08 * RossC0 ponders 16:08 < Wombert> then your class doesn't even have to be called *Model 16:08 < _cheerios> 01:02 < digitarald> $$('a.my-class').addEvents({'mouseover': func3, 'mouseout': func2, 'click': func1}); 16:08 < Wombert> horros: also, class MyModel extends AgaviModel implements AgaviISingletonModel will give you back the same instance each time 16:08 < Wombert> per context 16:09 < _cheerios> is that the same, RossC0 ? haven't used mootools meself. 16:09 < horros> Wombert: hmm, so... for initialize().. it takes $context as the first parameter... which, since I just remembered I have to do stuff when we init the model... I just pass on to the parent? ie, parent::initialize($context) 16:09 < Wombert> yes 16:09 < horros> right 16:09 < Wombert> preferredly with the params, too 16:09 < Wombert> parent::initialize($context, $parameters) 16:09 < horros> which is... what, an array? 16:09 < horros> right right. 16:10 < Wombert> public function initialize(AgaviContext $context, array $parameters = array()) 16:10 < Wombert> must have that signature, mind you 16:10 < horros> so nothing peculiar there then, works like it did in 0.10 16:10 < RossC0> kind of - but not as nice - but thats what wrappers are for.. 16:10 < Wombert> if you often need initialize(), then add it to your custom code template 16:10 < horros> 'xcept for the sig 16:10 < horros> I don't really. Just for my menu models :) 16:10 < Wombert> these then should probably be singletons 16:10 < Wombert> not sure tho 16:11 < Wombert> ah you'll get along 16:11 < horros> I will indeed :) 16:11 < horros> then after I've written 29859825 pages of notes about how to port from 0.10=>0.11, you can yell at me for doing everything completely wrong :D 16:11 < Wombert> harhar 16:12 < Wombert> that said, feel free to show it to me regularly 16:12 < Wombert> maybe at least once a day 16:12 < Wombert> also prevents you from heading into dead ends 16:12 < Wombert> ze list I mean 16:12 -!- Fr0zen_ [i=Fr0zen_@c-67-175-92-171.hsd1.il.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 16:12 < horros> yah 16:13 < horros> I was about to make a comment about showing "it" to you, but... meh. 16:13 < horros> :) 16:14 < horros> OH SHIT 16:14 < Wombert> :p 16:14 < Wombert> what 16:14 < horros> it's already 4:15pm!½ 16:14 < Wombert> is that bad? 16:14 < horros> I have to be at the train station in half an hour :/ 16:14 < horros> ...which includes driving through the city in rush hour :( 16:14 < horros> ...and hoping my riviera car will start (it's about -25C outside) 16:15 < _cheerios> Wombert, how'd you shorten $template to $t for use in templates? 16:15 * horros jets of 16:15 < RossC0> go go go! 16:16 < Wombert> _cheerios: t for the renderer 16:16 < Xylakant> Wombert: yes 16:17 < Wombert> Xylakant: is http://trac.agavi.org/changeset/1650 okay 16:18 < Xylakant> i'd prefer 0660/0770 but that's personal preference. i'm fine with that 16:19 < Wombert> hmh 16:19 < Wombert> I mean we could also make it so it inherits permissions from the directory.... 16:19 < Xylakant> maybe read the umask and act upon that 16:20 < Xylakant> but the most important thing is that it's not worldwritable any more 16:21 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 16:21 < Whisller> hi 16:26 -!- codecop [n=codecop@85.206.205.154] has joined #agavi 16:27 < _cheerios> [i hate porting old apps] 16:42 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 16:54 -!- benny`work [n=benny@p54AC4073.dip0.t-ipconnect.de] has joined #agavi 16:55 -!- shoan_ [n=shoan@59.92.166.63] has joined #agavi 16:57 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:10 -!- shoan [n=shoan@59.92.186.121] has quit [Read error: 110 (Connection timed out)] 17:18 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:24 < CIA-23> david * r1655 /branches/0.11/ (640 files in 37 dirs): updated copyright info, refs #382 17:46 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 17:47 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 17:50 -!- Arme[N] is now known as Arme[0] 17:55 < RossC0> cool event-selectors ported to mooSelectors :) 17:57 < digitarald> u dont need that 17:58 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 17:58 < digitarald> u can $$('a.coolFx').addEvents({ 17:58 < digitarald> 'click': myClick, 17:58 < digitarald> 'mouseover': myOver, 17:58 < digitarald> 'mouseout': myOut}); 17:59 < RossC0> digitarald - Sure but its the manner of solving the problem that I like 17:59 < RossC0> how does that handle reassigning after an ajax call? 18:00 < RossC0> does it clear the old events? or replace them 18:00 < RossC0> nm - I can test :) 18:07 < digitarald> addEvent checks for doubled events 18:07 < RossC0> digitarald: how'd I get the actioned element with your example? 18:08 < digitarald> var myOver = function(e) { ... new Event(e).target 18:25 < Xylakant> digitarald: do you know any good javascript implementation for the rounded corners problem? 18:25 -!- neotekk [n=zwc@c-1d5370d5.013-12-73746f7.cust.bredbandsbolaget.se] has quit [Read error: 110 (Connection timed out)] 18:25 < digitarald> for mootools, yes 18:26 < Xylakant> hmm. i'd prefer prototype/script.aculo.us based :) 18:26 < digitarald> and reflection, bells and whistles ;) 18:27 < digitarald> already heard ... openrico has rounded corners and is prototyped 18:27 < RossC0> Xylakant: don;' use openrico 18:27 < RossC0> *don't 18:27 < RossC0> its not very good 18:27 < RossC0> for rounded corners 18:28 < Xylakant> figured that out already 18:28 < RossC0> and i think is probably broken since 1.5 18:28 < Xylakant> it's not broken, but having sized divs etc is a pain 18:28 < Xylakant> and it adds padding to the element, making the whole page jump 18:28 < RossC0> sure - its been a while since it was worked on 18:29 < Xylakant> i just tried it with prototype 1.5, no errors so far. but the implementation is rather limited 18:30 < digitarald> http://inviz.ru/moo/transcorners/ 18:30 < digitarald> the guy is 16 years old and from siberia, i think he has pretty much time to code such stuff :D 18:31 < Xylakant> this one looks good, but i'd need to use mootools and i guess it will conflict with prototype on the same page 18:31 < RossC0> Xylakant - it would be easy to port 18:31 < Xylakant> i'm currently looking into it - we'll see 18:32 < _cheerios> hoh hoh @ transcorners name 18:33 < _cheerios> does mootools work with prototype loaded at the same time? 18:33 < digitarald> when u load it after prototype yes ;) 18:33 < digitarald> it overrides i.e. $ and Ajax 18:34 < digitarald> in $ it returns an element like prototype, but prototype allows multiple arguments in $, mootools just one 18:34 < _cheerios> humm. and need to rewrite all Ajax calls, i guess? 18:35 < Xylakant> however, two js frameworks on one page might be a bit heavy 18:35 < _cheerios> shrug. i use three. 18:35 < digitarald> right, take a look into the header from digg.com :) 18:35 < _cheerios> its just the initial load that is slow, then it's in cache. 18:36 < digitarald> yhey, they cleaned that up ... ok ... zoomr: 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> 18:36 < digitarald> ;) 18:36 < digitarald> http://beta.zooomr.com/home 18:37 < digitarald> kb javascript is too much, no arguments ;) 18:37 < digitarald> 350kb 18:38 < _cheerios> i load 123KB (gzipped) js on my site 18:40 < _cheerios> it'd be like half a meg without gzipping 18:41 < Wombert> quick poll 18:41 < Wombert> final public function getContext() 18:41 < Wombert> or 18:41 < Wombert> public final function getContext() 18:41 < Wombert> I prefer final public 18:42 < Xylakant> public final 18:42 < Wombert> but abstract public 18:42 < Wombert> :p 18:42 < Xylakant> acces qualifier first 18:43 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 18:43 < digitarald> public final 18:43 * Wombert ponders 18:43 < digitarald> my ex-boss is right ;) 18:43 < Wombert> http://php.net/manual/en/language.oop5.final.php uses final first 18:44 < Xylakant> actually this is more of a coding standard question 18:44 < Wombert> final class ... final () function ... 18:45 < Wombert> => final first 18:45 < Wombert> more consistent 18:45 < Wombert> that said, static should be first, too :p 18:45 < Wombert> static public 18:45 < Wombert> mhm 18:47 < Xylakant> in java i'd alway write "public static final int foo = 1" 18:47 < Wombert> hm 18:48 < Xylakant> why: because after the public, you can specify multiple public vars/methods 18:48 < Wombert> mmmhm 18:48 < Wombert> okay then 18:48 < Xylakant> it's valid until the next access qualifier 18:48 < Xylakant> php behaves a little different 18:49 < Xylakant> but that's the way i'm used to it. 18:50 < Xylakant> digitarald: transcorners spits errors at me. 18:50 < digitarald> with prototype? 18:50 < _cheerios> public final seems more natural, probably read too many java books 18:51 < Xylakant> no, mootools 18:51 < Xylakant> says $Element is not a funtion 18:52 < digitarald> its not converted to mootools 1.0, here is an updated version: http://forum.mootools.net/topic.php?id=1202&replies=15#post-5846 and next post 18:52 < Xylakant> ah 18:56 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:57 -!- Arme[N] is now known as Arme[0] 19:01 < _cheerios> that typing speed test is good practice for the fingers :p 19:02 -!- neotekk [n=zwc@c-575370d5.013-12-73746f7.cust.bredbandsbolaget.se] has joined #agavi 19:02 < Wombert> not for me. _cheerios 19:02 < Wombert> my brain swells 19:02 < Wombert> and then touches the skull bone 19:02 < Wombert> and then I feel very uncomfortable 19:02 < Wombert> and start to drool 19:02 < Wombert> and feel the urge to feast on raw dog flesh 19:02 < Wombert> and 19:02 < Wombert> oh nevermind, wrong chat window 19:02 < Wombert> :DDD 19:03 < _cheerios> no need to relive top gear crashes.. i mean, leave them as idols, no need to experience what they have to idolize them! :D 19:03 < _cheerios> (not sure about the dog flesh part) 19:04 < Xylakant> herrgott lass hirn regnen! 19:04 < _cheerios> omg omg omg im so excited when thinking about text analysis :D 19:05 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 19:05 < Xylakant> just caught a developer here trying to parse an sql update query with explode() and regexp to extract the values being written... 19:06 < digitarald> whom Xylakant? ;) 19:06 < Xylakant> a new guy. 19:06 < digitarald> ah, these new guys ... 19:08 < Xylakant> i'm not commenting any further on that. anything i could say would make me feel like needing a shower. 19:08 < MrJeep> any recent changes in the build tool ? 19:08 < Wombert> yep 19:08 < Wombert> new templates 19:08 < Wombert> I'll also throw out test skeleton generation in a minute 19:09 < MrJeep> ah ok, i'll wait a little then 19:09 < Wombert> starting a new project, MrJeep? 19:10 < MrJeep> yep. 19:10 < MrJeep> but I also want to create an "empty project" project 19:10 < Wombert> k 19:10 < Wombert> I'll hurry up 19:10 < MrJeep> it ok :) thanks 19:13 < digitarald> table sorting with javascript ... who thought that up ... 19:13 < digitarald> anybody has a good live grid solution? 19:13 < Wombert> paper, pen, scissors, tape 19:13 < Wombert> :D 19:14 -!- codecop [n=codecop@85.206.205.154] has quit ["Have to go"] 19:14 < kaos> alternatively: a whiteboard + pen 19:14 < digitarald> uh, i don't want the A-Team solution ;) 19:14 < Xylakant> hmm. somehow this is not working the way it should be 19:15 < _cheerios> Xylakant, that's a cool webby you have there (exozet) 19:17 < Xylakant> _cheerios: thanks, i'll forward that to the developer in charge :) 19:17 < digitarald> it does now work ... oh ... then u need to switch to mootools ;) . 19:17 < Xylakant> no, it does *not* work digitarald 19:17 < Xylakant> it adds the border, but the rounding is missing 19:17 < digitarald> its also a nice company ... only the coffee for the developers is/was a crime 19:18 < digitarald> mh, mootools has some setStyle tweaks, maybe this is the reason 19:18 < digitarald> i'll take a look at the code 19:19 < Xylakant> yeah, the coffee is still a crime 19:19 < Xylakant> but at least it's a free crime 19:19 < Xylakant> so, got it so far that it only adds a little line that does not belong there 19:21 < digitarald> prototype issue ;) ... mmh 19:21 < digitarald> saw that problem some time ago 19:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 19:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 19:22 < Xylakant> removed prototype for the time being till i have that one sorted out 19:22 < Xylakant> so no prototype issue 19:22 < Xylakant> and it's not working in ie7 19:22 < digitarald> don't think so, do u have margin/padding on the element? 19:23 < Xylakant> i tried with and withou 19:23 < Xylakant> with padding it breaks horribly 19:24 < Xylakant> i do have floating elements inside though 19:25 < Xylakant> and a fixed height 19:26 < Xylakant> but i tried to add a container around the element i actually wanted to round and apply the rounding on that container, pretty much works in ff, but not in ie7 19:26 < digitarald> i took a lok at the code, but i don't use it. searching the mootools forum might be a good idea 19:27 < MrJeep> how can flash make a page unavailable !? 19:28 < digitarald> give me ftp access ;) 19:29 -!- codecop [n=codecop_@85.206.205.154] has joined #agavi 19:29 < Xylakant> well, that would mean that our sysconfigs would have to reroute all that stuff to my desktop :) 19:30 < Xylakant> ok, i figured that out - only one thin line of background-color on the top and the bottom 19:33 < Xylakant> and it does that in any browser - might be an off-by-one error. *sigh* 19:36 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 19:38 * RossC0 is converted to Mootools 19:39 * RossC0 raises the mootools fanboy banner and waves night night 19:39 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:47 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 19:47 < MikeSeth> hey guys 19:50 < digitarald> ha, converted one more victim to mootools ... 19:51 < digitarald> he stripped the code for prototype css selectors from 40 lines to 10 ;) power of the moo :D 19:51 < Wombert> MikeSeth: check out the cool food the japs have: http://www.youtube.com/watch?v=fND6K4n5hXA and http://www.youtube.com/watch?v=e6hmrjmm74A 19:53 < MikeSeth> digitarald, I cant wait for the day someone slaps a xpath query interface over moo... and then the euphoria would wear off and people would be "So now we can do xpath queries over a DSL over javascript into a DOM tree" and then there would be this awful silence 19:53 < MikeSeth> and someone in the back rows would be like "um *cough*" 19:55 < digitarald> mh ... xpath like in prototype? 19:56 < MikeSeth> dude 19:56 < Xylakant> digitarald: do you have any idea why i could be getting a 1px border of the fillcolor of the rounded element on the top/bottom of it? 19:56 < MikeSeth> you are not serious are you? 19:56 < MikeSeth> they did not implement xpath in prototype.. DID THEY 19:56 < MrJeep> a finished project with agavi : http://mrjeep.dyndns.org:81/Project/Web/Etrouve/pub/ 19:56 < digitarald> ;) 19:57 < MrJeep> and mootools too 19:57 < MikeSeth> a couple or more of those and we can start agaviforge 19:57 < digitarald> they added xpath for browsers who support it ;) 19:57 < MrJeep> user : foo@foo.com password : foo 19:57 < digitarald> xpath is just a catalyst for the css-query-engine 19:58 < digitarald> art least in prototype 19:58 < MikeSeth> what a grand waste of precious developer effort 19:58 < digitarald> u want xpath for all browsers ;) 19:59 < digitarald> ok, lets rehash my french knowledge 20:00 < MikeSeth> MrJeep, first user experience: opening tabs on the index page is uncomfortable. When I want to close it I want to click in the same place that opened it cuz the mouse is already there.. but when the tab opens the button is scrolled down 20:00 < digitarald> put a handler on the tab-titles 20:01 < MikeSeth> digitarald, heh, RIGHT? 20:01 < MrJeep> hehe ok 20:01 < digitarald> right what? 20:03 < MikeSeth> digitarald, you meant put a handle on the tab titles.. at MrJeep's project page, right? 20:03 < Xylakant> digitarald: ok, it was an off by one error in the loop that displays the corners. i'll post a patch in the forums... 20:03 < digitarald> RIGHT! ;) 20:05 < Xylakant> MrJeep: why no images for the ads? 20:05 < Xylakant> or am i just looking at the wrong ones? 20:05 < digitarald> seems they didn't tested it with ie7 ... 20:06 < MrJeep> removed temporary 20:07 < Xylakant> ah 20:08 < Xylakant> when i click on the right part of an ad, some layer starts loading but never finishes :) 20:09 < digitarald> the post-form has ajax-select-box-updating ... loads forever, maybe firebug blocks it, dont know 20:09 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 20:09 < Xylakant> hmm 20:09 < Xylakant> the form fields in the right form a some px too wide in Safari, they scrape at the border 20:10 < MrJeep> arg 20:10 < MrJeep> not that bug again 20:10 < MrJeep> i'll have to setat that once it's online 20:10 < MrJeep> test* 20:10 -!- Arme[0] is now known as Arme[N] 20:10 < Xylakant> and the whole thing is not working in safar 20:10 < Xylakant> i 20:11 < Xylakant> can't access any of the categories 20:11 < MrJeep> ah well, too bad 20:11 < MrJeep> I've worked enough on this 20:11 < Xylakant> it looks nice though 20:11 < MrJeep> how much do you think I've earned with this site ? 20:11 < Xylakant> layout it pretty perfect in safari, apart from those form fields 20:12 < digitarald> u've used mootools, u must have earned a lot of money ;) 20:12 < Xylakant> i have no clue what they pay in france :) 20:12 < Wombert> MrJeep: nothing happens if I click these down arrows on the start age in safari 20:12 < Wombert> start page 20:12 < Wombert> Xylakant: canada ;) 20:12 < Xylakant> well, canada 20:13 < Xylakant> see - i never looked where the page was from, french -> france 20:13 < Xylakant> but i don't have a clue what they pay in canada either 20:13 < MrJeep> hehe well, I've worked 3 week 20:13 < MrJeep> lots of overtime 20:13 < MrJeep> 1000$ CND 20:14 < MrJeep> this totally sucks 20:14 < MrJeep> it was supposed to take 3 to 4 days 20:14 < MrJeep> and it was supposed to change the layout only 20:14 < MrJeep> but the thing was so badly coded 20:15 < Xylakant> ups. that's not good 20:15 < Wombert> MrJeep: may I suggest something 20:15 < MrJeep> sure 20:15 < Xylakant> how is the current conversion ratio? 20:15 < Wombert> at the top 20:15 < Wombert> that will prepend /fr_CA to all routes 20:16 < Wombert> makes your links and search engine hits forward compatible if there comes the day where you add en_CA etc 20:16 < MrJeep> ok why not 20:16 < Wombert> right now it's just a static route - but in the future it can be dynamic 20:16 < Wombert> it's just a suggestion, not sure if it's really necessary 20:16 < Wombert> I mean, people speak french in quebec, not english 20:17 < MrJeep> I've been ask if it was possible to translate it ... someday 20:17 < digitarald> ok, feierabend, cya later guys 20:17 < Wombert> but still, maybe some day the client wants an english version of the page 20:17 < Wombert> MrJeep: then do it! 20:17 < Wombert> let's see if it works anyway :D 20:17 * Wombert keeps his fingers crossed 20:17 < MrJeep> done 20:17 < MrJeep> work 20:18 < Xylakant> cya 20:19 < MikeSeth> oh wombie!! 20:19 < MikeSeth> check this out, there's a post on dzone 20:19 < MikeSeth> someone in the rails community proposed they adopt, hear this: a :name attribute for a route... so that they can refer to it during URL generation! 20:20 < Xylakant> ? 20:20 < Wombert> MrJeep: very cool 20:20 < Wombert> MikeSeth: they'll all eventually realize that their efforts are useless and use agavi 20:20 < Xylakant> rails has had named routes ever since 20:21 < Xylakant> so what's should that name attribute be used for? 20:21 < MikeSeth> Xylakant, I dont know there's like a serious discussion to implement this 20:21 < Xylakant> do you have an url? 20:21 < MikeSeth> sec 20:21 < Xylakant> shure 20:23 -!- digitarald [n=Miranda@152.Red-83-55-56.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:24 < MikeSeth> shit its on my cellphone.. and there is no browsing history in the stupid things, one sec Ill find it on reddit 20:26 < Xylakant> this one: http://weblog.jamisbuck.org/2007/2/5/nesting-resources ? 20:29 < MikeSeth> ah here 20:30 < MikeSeth> http://jroller.com/page/obie?entry=seo_optimization_of_urls_in 20:32 < MikeSeth> omg they killed it off reddit wtf 20:32 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 20:32 < Xylakant> but this is something completely different 20:33 < MikeSeth> is it? 20:33 < Xylakant> the post is about "how do i add the name stored in my model into the url with the least effort" 20:34 < Xylakant> and you do this by overwriting "to_param" in your model and have it spit out the representation you want in the generated url 20:34 -!- Arme[N-11 [n=Arme[N]@80.191.141.181] has joined #agavi 20:34 < Xylakant> something the "searchenginespam" route does in the agavi sample projet 20:35 < MikeSeth> errr 20:35 < Xylakant> or change the ususal /post/id/title url to /post/id-title 20:36 -!- Arme[N-12 [n=Arme[N]@80.191.141.180] has joined #agavi 20:36 < MikeSeth> AHAHAHAHAAH I've been trolled by reddit 20:36 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 20:37 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 20:37 < MikeSeth> Xylakant, sorry I must've been misleading 20:37 < Xylakant> the original suggestion was to make something like /post/id/name and then specifically add the name into the parameters for the url, which is indeed akward and not "the rails way" 20:37 < Xylakant> hey, i've learned something out if this 20:37 < Xylakant> this is actually quite a neat suggestion 20:38 < Xylakant> *must change my rails app to use this* 20:38 < MikeSeth> the original reddit post was like "this Rails guy wants a strange routing feature - routing names. Here's another blogger explaining why this is a stupid idea" 20:38 -!- Arme[N-12 [n=Arme[N]@80.191.141.180] has quit [Client Quit] 20:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 20:38 < MrJeep> jeez, I'm trying to find a nice clean xp theme.. these things are hard these days.. 20:39 < Xylakant> http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/ this is the original post 20:39 < Xylakant> and the guy who posted that really did it the wrong way and deserves the flames 20:39 < MikeSeth> MrJeep, what was your total development time? 20:40 < MrJeep> i would say round 150hrs 20:40 < Xylakant> Wombert: could I add a rails feature to the agavi wishlist? 20:40 < Xylakant> the so called "flash" 20:40 < MikeSeth> Xylakant, "make PHP not suck" 20:40 < MikeSeth> heh 20:41 < Xylakant> this is a session storage that gets cleared after each request 20:41 < kaos> yeah 20:41 < kaos> its on our todo 20:41 < kaos> but we want a proper solution 20:41 < Xylakant> k, then i don't need to write any further explanation 20:41 < Xylakant> this really rocks 20:41 < Wombert> along with http://trac.agavi.org/ticket/328 and http://trac.agavi.org/ticket/378 20:42 < Xylakant> transporting error messages over redirects etc 20:43 < Wombert> and the ajax request happening in the background tab kills that :p 20:43 < Xylakant> k, i'll wait and see what you figure out 20:44 < kaos> we're always open to suggestions too ;) 20:44 < Xylakant> i'll post a proposal if I should have a sudden stroke of genious 20:50 < Xylakant> hehe. server error on dev.rubyonrails.org 20:51 < Xylakant> trac just died - maybe a little language war going on :) 20:58 -!- Arme[N-11 [n=Arme[N]@80.191.141.181] has quit [No route to host] 20:59 < Arme[N]> http://www.columbia.edu/~sss31/rainbow/god.qa.html 21:03 < _cheerios> caching rocks, execution time from 0.00015s to 0.000025s! 21:03 -!- Arme[N] is now known as Arme[0] 21:10 < MikeSeth> you shaved off a millisecond? 21:10 < MikeSeth> :D 21:12 < _cheerios> yeah! fuckin-A! 21:12 < _cheerios> when you loop the values 40 times there's a noticeable difference! 21:13 < v-dogg> whats the proper way to detect & set ajax output type? (what header in the routing) 21:13 < MikeSeth> "Premature optimization..." 21:14 < v-dogg> when using prototype, if that makes a difference 21:14 < _cheerios> MikeSeth, nah! This'll speedup my app veeeeeery nicely. 21:14 < Wombert> v-dogg: I recommend testing Accept for text/javascript 21:15 < _cheerios> 6x faster ain't nothing to put down :) 21:15 < Wombert> others use X-Prototype-Version or see if X-Requested-With is "XMLHttpRequest" 21:15 < Xylakant> i my c++ programming course, the teacher was incretibly happy shaving soemthing like 10 processor cycles of a loop 21:15 < Xylakant> he was doing numerical analysis and the program was indended to run something like two years. 21:16 < _cheerios> i bet. if he has research going on, it's nice to get something done before you have a stroke and die ;) 21:16 < Xylakant> well, optimizing that loop saved him month in the end 21:17 < MikeSeth> optimization was an art on the old machines.. people cramming amazing games into 8kb ram 21:17 < Xylakant> ok, got to go, need to catch a train 21:17 < MikeSeth> and then demoscene 21:17 * MikeSeth cries 21:17 < Xylakant> sad the art is lost 21:17 < v-dogg> wom: ta 21:17 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["This computer has gone to sleep"] 21:18 -!- MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 21:20 < MikeSeth> oh.. the sleep/wakeup detach/reattach context in the renderer is pretty 21:21 < Wombert> thanks ;) 21:21 < _cheerios> v-dogg, "nälkä kasvaa syödessä" in english? 21:21 < Wombert> I have to do this because I need to cache custom renderers people set on layers 21:21 < Wombert> otherwise I'd just use the renderer name... 21:21 < Wombert> in the serialized layer 21:21 < MikeSeth> Wombert, its *aesthetical* 21:22 < Wombert> is that up or down from "pretty" 21:22 < Wombert> _cheerios: "weird sentence with too many umlauts" 21:22 * Wombert hugs finland 21:22 < _cheerios> direct translation is "hunger grows while eating" 21:22 < Wombert> MikeSeth: otherwise, the whole context and all objects in it would be serialized and caching would give a 81238163% performance hit :p 21:23 < MikeSeth> Wombert, yeah, I understand you aren't doing it because you like flower gardens ;) 21:23 < _cheerios> trying to find a similar way of saying it in english, that is, when developing some 1 thing.. next you want to do 2 others. 21:23 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 21:23 < _cheerios> agavi, only 23% penalty 21:24 < _cheerios> slogan material 21:24 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 21:25 < MikeSeth> I would consent to "im in ur meeting room.. refacturin ur pattorns" :D 21:26 -!- Arme[N] is now known as Arme[0] 21:31 < v-dogg> hmm 21:32 < v-dogg> Im using the same template for both html and html-ajax output (the first one is decorated, the second is not) 21:32 < v-dogg> but normal output nees 21:33 < v-dogg> (err) 21:33 < v-dogg> ...needs a Back link, ajax output needs a Hide link 21:34 < v-dogg> whats the correct way to do this? 21:34 < Wombert> conditionals in the template 21:34 < Wombert> or you wrap it in another layer maybe 21:35 < MikeSeth> conditionals in template, aye 21:35 < v-dogg> yeah, though so 21:35 < v-dogg> thanks again 21:36 < v-dogg> btw, couldn't get sanbox+xinclude to work 21:36 < Wombert> http://thread.gmane.org/gmane.comp.php.zend.framework.general/8446/focus=8448 haha 21:36 < Wombert> v-dogg: why not :< 21:36 < v-dogg> it threw some xml parsing errors 21:36 < _cheerios> Your new virtual assistant - ICQ gin. 21:36 < _cheerios> There was a new version of popular addition to ICQ, ICQ - GIN!  21:36 < _cheerios> The program is to the address of www.icqgin.fatal.ru/ICQ_GIN_v.3.exe  21:37 < _cheerios> sounds safe! lets try 21:37 < Wombert> v-dogg: look at the sample app output_types.xml 21:37 < v-dogg> womb: ill get back on this when my adsl starts to go again 21:38 < _cheerios> Wombert, eek @ discussion thread 21:38 < v-dogg> typing w/ noki e70 is no fun in the long run 21:38 < v-dogg> i did copy it from the sample app 21:39 < MikeSeth> _cheerios, another 14 year old downloaded a trojan construction kit.. this is getting old. Seriously :( 21:39 < _cheerios> the internet is so evil 21:40 < MikeSeth> its not evil, its stupid 21:40 < MikeSeth> evil is usually smart 21:40 < Wombert> http://movies.apple.com/movies/us/apple/getamac/apple-getamac-security_480x376.mov mahahaha 21:41 < Wombert> v-dogg: really latest svn? 21:42 < _cheerios> that clip is pretty good 21:43 < v-dogg> wob: from last night 21:44 < Wombert> did you get xsd errors or something from the config handler 21:44 < v-dogg> how do i find out the current output type 21:44 < Wombert> $container->getOutputType()->getName() 21:44 < v-dogg> ta :) 21:54 -!- MrJeep [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 21:58 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:07 -!- benny`work [n=benny@p54AC4073.dip0.t-ipconnect.de] has quit ["unset($this);"] 22:14 -!- codecop [n=codecop_@85.206.205.154] has quit ["Leaving"] 22:23 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 22:24 < CIA-23> david * r1656 /branches/0.11/ (618 files in 33 dirs): more copyright info updates, formatting fixes etc. refs #382 22:32 * _cheerios does the millisecond dance 22:33 < CIA-23> david * r1657 /branches/0.11/src/ (19 files in 8 dirs): svn:keywords=Id 22:43 -!- benny`work [n=benny@p54AC07DC.dip0.t-ipconnect.de] has joined #agavi 22:45 < CIA-23> david * r1658 /branches/0.11/src/ (4 files in 2 dirs): removed unit test generatorstuff from project phing tasks, scheduled to be back in 1.0 (we can rebuild him. we have the technology.). closes #412 22:52 < CIA-23> david * r1659 /branches/0.11/src/ (4 files in 4 dirs): oopsie, that replace was too greedy :) 23:04 < CIA-23> dominik * r1660 /branches/0.11/src/validator/ (18 files): 23:04 < CIA-23> update copyright info 23:04 < CIA-23> closes #382 23:07 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.agavi.org :: 0.11RC2 WEDNESDAY :: http://trac.agavi.org/milestone/0.11 (99.5780591%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 23:12 < CIA-23> david * r1661 /branches/0.11/src/config/defaults/autoload.xml: autoload.xml... 23:27 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 23:39 < MrJeep> back on vista --- Day changed Wed Feb 07 2007 00:18 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 00:19 < Whisller> dam dara dam hello hello :] 00:24 -!- MrJeep [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 60 (Operation timed out)] 00:34 < Whisller> test 01:25 < Wombert> works 01:26 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 54 (Connection reset by peer)] 01:27 < Whisller> hmm 01:27 < Whisller> good idea 01:28 * Whisller -> I'm searching mobilization to work... 01:30 < Whisller> hide-and-seek with work :D 01:43 < _cheerios> PHP Notice: A non well formed numeric value encountered 01:43 -!- Wombert [n=Wombert@dslb-084-056-005-195.pools.arcor-ip.net] has quit [] 01:45 < _cheerios> man its lat 01:50 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 02:34 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 02:54 < Whisller> http://www.smog.pl/wideo/7330/plaga_myszy/ 02:54 < Whisller> mice attack 02:55 < Whisller> mouse* 02:56 < Whisller> *mice :D 02:56 < Whisller> heh 03:46 -!- benny`work [n=benny@p54AC07DC.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:50 -!- shoan [n=shoan@59.92.145.161] has joined #agavi 03:55 -!- shoan_ [n=shoan@59.92.166.63] has quit [Read error: 145 (Connection timed out)] 04:21 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 04:35 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit [Read error: 145 (Connection timed out)] 04:41 -!- shoan [n=shoan@59.92.145.161] has quit [Read error: 145 (Connection timed out)] 04:44 -!- shoan [n=shoan@59.92.198.14] has joined #agavi 04:58 -!- shoan_ [n=shoan@59.92.195.51] has joined #agavi 05:04 -!- shoan [n=shoan@59.92.198.14] has quit [Read error: 60 (Operation timed out)] 05:06 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 06:35 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 06:43 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Nick collision from services.] 06:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 06:49 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 07:02 -!- kaos- [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 07:02 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 07:37 -!- epaulin [n=epaulin@61.191.26.228] has left #agavi ["Leaving"] 08:34 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:29 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 09:29 < splatch> jo£ 09:30 < horros> huomenta 09:33 < v-dogg> huomenta 09:34 * v-dogg does the RC2 Day Dance 09:44 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:01 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 10:07 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 10:07 < _cheerios> morning! 10:08 < _cheerios> 0.11 clearly needs more tickets filed 10:09 < v-dogg> such as? 10:09 < _cheerios> none specific, it's running out of them on the roadmap 10:12 < _cheerios> v-dogg, how do run an action and only print out the decorator 10:12 < _cheerios> without the $inner contents 10:13 < v-dogg> hmm.. empty template? 10:14 < v-dogg> don't know any other way (doesn't mean it does exist:) 10:14 < v-dogg> but why? 10:14 < _cheerios> to get the content of the decorator without $inner, naturally 10:15 < _cheerios> do you think a routing rule, like there is /rss, could make /decorator and a filter would return decorator only (is it possible?) 10:15 < horros> It never ceases to amaze me how utterly crap this Cisco VPN client is. 10:17 < v-dogg> _cheerios: I've never heard anyone would want such a feature 10:17 < v-dogg> and I still don't see why you do :) 10:19 < _cheerios> there's always a reason to things! 10:20 < v-dogg> sometimes it's not a good reason, though :) 10:21 < _cheerios> pfft, so you think! 10:21 -!- Wombert [n=Wombert@dslb-084-056-039-146.pools.arcor-ip.net] has joined #agavi 10:23 < v-dogg> good morning 10:26 < _cheerios> a good -20C morning. felt warmer than yesterday, though. 10:28 < v-dogg> -23.7 °C and relative humidity: 87 % makes it frigging cold... 10:29 < horros> bah 10:30 < horros> my thermometer outside the window said -28C when I got up 10:30 < horros> surprisingly enough my riviera-car actually started 10:30 < _cheerios> the wind yesterday made it feel a lot colder here in Hki 10:30 < horros> a bit of coughing though :) 10:30 < _cheerios> even at a mere -15C 10:30 < horros> _cheerios: heh, I stood for three minutes on the train station platform yesterday. -23C or so 10:30 < horros> nearly froze my damn ears off 10:31 < horros> stupid windchill 10:31 < horros> Tuorein havainto: 07.02.2007 08:00 10:31 < horros> lämpötila -31.4 °C, paine 1013.2 hPa, kosteus 74%, tyyntä, 10:31 < horros> olé! 10:32 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:33 < RossC0> 99.5780591% ? 10:33 < RossC0> Woot! 10:34 < horros> http://www.kolumbus.fi/oittinen.matti/Rahola/Weatherlink/Weatherdata/MOI_Rahola_Weatherlink.htm 10:38 < v-dogg> even my awesome winter car Ford Mondeo made a nasty noise when I started it after work (in -20C) 10:38 < v-dogg> it started right away still 10:40 < codecop> my Ford Mondeo starting too in -15C with no prob 10:40 < horros> I'ma buy a Lada Niva 10:40 < v-dogg> you simple gotta love those heater elements in the windscreen :) 10:40 < horros> then I'll never have any starting problems in the winter ever again :D 10:41 < v-dogg> yeah, after you firts warm it up with a small camp-fire under it :) 10:41 < codecop> hehe 10:41 < v-dogg> remember to keep some dry wood with you all the time :) 11:02 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Read error: 60 (Operation timed out)] 11:03 -!- shoan [n=shoan@59.92.130.209] has joined #agavi 11:04 -!- MikeSeth [n=mst@192.115.27.162] has joined #agavi 11:04 < MikeSeth> zoo 11:04 < MikeSeth> i mean zomg 11:05 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:05 < Xylakant> hi 11:05 < MikeSeth> hey 11:06 < splatch> paka! :) 11:06 -!- eremit_ [n=eremit@p5490C219.dip.t-dialin.net] has joined #agavi 11:06 < splatch> ops 11:06 < splatch> priviet! 11:06 < MikeSeth> zdarova ;) 11:06 -!- MikeSeth changed the topic of #agavi to: Welcome to Agavi :: http://www.agavi.org :: 0.11RC2 TODAY :: http://trac.agavi.org/milestone/0.11 (99.5780591%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 11:10 -!- shoan__ [n=shoan@59.92.133.157] has joined #agavi 11:12 < v-dogg> is there a way to calculate the center point of an element (
)? prototype's Element.getDimensions only return height and width 11:13 < v-dogg> aaah, Position 11:14 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 11:16 -!- eremit [n=eremit@p5490F11E.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 11:17 < horros> am I right in assuming that if I do, in my model, $module = $context->getController()->getModuleName() I get the name of the currently executing module? 11:18 -!- shoan_ [n=shoan@59.92.195.51] has quit [Read error: 110 (Connection timed out)] 11:18 < MikeSeth> heh youll have to ask wombie that 11:19 < Wombert> horros: nope that doesn't work anymore 11:19 < Wombert> the container has it 11:19 < Wombert> since you don't have the container in the model 11:19 < Wombert> you must give that information to the model 11:19 < Wombert> maybe during initialize 11:19 < horros> sooo, the API docs are out of date? 11:19 < Wombert> pretty 11:19 < horros> :/ 11:19 < horros> ok 11:19 < Wombert> _cheerios: okay let's see 11:20 < Wombert> you want only the decorator template? 11:20 < _cheerios> aye 11:20 < Wombert> then only set the decorator template :) 11:20 < Wombert> or am I missing something 11:20 < _cheerios> i want the decorator output from existing action(s) 11:21 < _cheerios> kind of like i might want xml served, now i want only the decorator served :) 11:21 < Wombert> as I said 11:22 < Wombert> set only the decorator template in a layer, and that's it 11:22 < Wombert> nothing else you need I think 11:24 < _cheerios> mmm, so, in customView instead of a normal loadlayout, i'd load the decorator as a layer? 11:24 < Wombert> v-dogg: aye, QuickClear windscreens for ze win! 11:24 < Wombert> _cheerios: yeah 11:24 < Wombert> or you load a normal layout and then remove the content layer 11:24 -!- shoan [n=shoan@59.92.130.209] has quit [Read error: 110 (Connection timed out)] 11:24 < Wombert> or you create another layout that only has the decorator template 11:24 < Wombert> what are you doing anyway? 11:25 < _cheerios> this is just a special run, i don't want to have layers normally in the views 11:27 < _cheerios> is it possible to have a filter for a route, that sets the decorator as a layer, given a unique route eg. /decorator appender to urls? 11:28 -!- shoan__ [n=shoan@59.92.133.157] has quit [Read error: 60 (Operation timed out)] 11:28 < _cheerios> a hook in setupHtml 11:29 < _cheerios> im just trying to capture the decorator output, nothing more to it 11:29 < _cheerios> (without $inner contents) 11:30 -!- shoan_ [n=shoan@59.92.150.43] has joined #agavi 11:33 * horros scratches head 11:33 < horros> since Wombert is MIA, anyone know how to get the container in a model? 11:34 < MikeSeth> I dont think you can 11:34 < horros> nonsense! 11:35 < horros> I must! 11:35 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 145 (Connection timed out)] 11:35 < MikeSeth> why? 11:35 < horros> because! 11:36 < horros> :) 11:36 < horros> to be serious for a while; it builds the menus 11:36 < MikeSeth> and it needs the container for what? 11:36 < horros> so I need to know which module is the "parent" module in order to be able to build the correct set of menus for the module. 11:36 -!- shoan [n=shoan@59.92.205.69] has joined #agavi 11:37 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 11:37 < MikeSeth> Well then, you want menu building as an action, and you want to look up the module in the action and pass it on to the model 11:37 < horros> that's what I was thinking 11:37 < horros> it was easier before :) 11:38 < horros> stupid phpide 11:38 < horros> )#¤() 11:39 < horros> well 11:40 < horros> since we no longer have an action stack per se apparently (?), how the hell do I get the "parent" module name? 11:40 < Wombert> [10:19] Wombert: horros: nope that doesn't work anymore 11:40 < Wombert> [10:19] Wombert: the container has it 11:40 < Wombert> [10:19] Wombert: since you don't have the container in the model 11:40 < Wombert> [10:19] Wombert: you must give that information to the model 11:40 < Wombert> [10:19] Wombert: maybe during initialize 11:40 < horros> but 11:40 < Wombert> give the module name to the model, horros 11:41 < Wombert> your models should work independently of the state of the application 11:41 < horros> that's what I'm attempting 11:41 < horros> if I could only figure out how the smeg to get the parent module name 11:41 < horros> since doing $this->getContainer()->getModuleName() would give me "Menu". 11:41 < Wombert> in your getModel() call, you pass $container->getModuleName() 11:41 < horros> which, obviously is wrong. 11:41 < Wombert> remember that the view might be in a different model 11:41 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:41 < Wombert> is that a slot, horros? 11:41 < horros> I suppose so, yes. 11:41 < Wombert> then give the information to the slot. 11:42 < Wombert> is the slot set up in the layout xml? 11:42 < horros> I have nothing set up yet 11:42 < Wombert> $this->getLayer('decorator')->getSlot('menu')->getRequestData()->setParameter('module', $this->container->getModuleName()); 11:43 < horros> I'm not sure that'll give me quite what I want 11:43 < horros> I'll do some poking around, basing my head against the desk, chainsmoking 93858 cigarettes and I'll get back to you. 11:45 -!- shoan__ [n=shoan@59.92.146.170] has joined #agavi 11:50 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 11:51 -!- shoan_ [n=shoan@59.92.150.43] has quit [Read error: 110 (Connection timed out)] 11:52 -!- shoan_ [n=shoan@59.92.166.208] has joined #agavi 11:58 -!- shoan [n=shoan@59.92.205.69] has quit [Read error: 110 (Connection timed out)] 11:59 -!- shoan__ [n=shoan@59.92.146.170] has quit [Read error: 104 (Connection reset by peer)] 12:00 -!- shoan [n=shoan@59.92.202.160] has joined #agavi 12:07 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 12:08 -!- shoan__ [n=shoan@59.92.196.250] has joined #agavi 12:14 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 12:15 -!- shoan_ [n=shoan@59.92.166.208] has quit [Read error: 110 (Connection timed out)] 12:20 < Wombert> any progress, horros 12:22 < horros> not really, no. 12:23 < horros> I managed to get me a recursion somehow 12:23 < Wombert> the slot uses the normal layout 12:23 < Wombert> which uses the decorator 12:23 < Wombert> with the slot 12:23 < Wombert> which uses the normal layout 12:23 < Wombert> with the decorator 12:23 < Wombert> with the slot 12:23 < Wombert> and so on 12:23 < Wombert> make a new layout for slots 12:24 -!- shoan [n=shoan@59.92.202.160] has quit [Read error: 110 (Connection timed out)] 12:24 < Wombert> $container->getParameter('is_slot') to know if it's a slot should you have actions/views that can run as both normal action AND slot 12:24 < horros> 12:24 < horros> Master 12:24 < horros> %core.template_dir%/html 12:24 < horros> 12:24 < horros> 12:24 < horros> that's my output_types.xml 12:24 < Wombert> yap 12:25 < Wombert> and now you need a new layout 12:25 < Wombert> with only the content layer 12:25 < Wombert> and use that in your slot view 12:25 < horros> right. 12:25 < Wombert> otherwise your slot loads the normal layout, too! with the decorator! which sets up the same slot again! and so on and so on 12:31 -!- shoan [n=shoan@59.92.179.228] has joined #agavi 12:40 < RossC0> anybody used zend_search ? 12:43 -!- shoan__ [n=shoan@59.92.196.250] has quit [Read error: 110 (Connection timed out)] 12:44 < horros> RossC0: nope 12:46 < RossC0> xapian ? 12:49 < Xylakant> Rossc0: i' currently using ferret in one of my rails projects (ferret is lucene for ruby) it works fine so far 12:51 < Xylakant> the site is not live yet, so my opinion might still change :) 12:53 < RossC0> ah ok - looks like I'll give zend_search ago and if its cack replace with xapian 12:56 < MikeSeth> is their any simple way to check a var to see if it only has a-z vars? 12:56 < MikeSeth> sigh 12:58 -!- codecop_ [n=codecop@85.206.207.76] has joined #agavi 12:59 -!- shoan_ [n=shoan@59.92.192.84] has joined #agavi 13:07 -!- shoan__ [n=shoan@59.96.40.127] has joined #agavi 13:12 -!- shoan [n=shoan@59.92.179.228] has quit [Read error: 110 (Connection timed out)] 13:13 < horros> smegging smeg of a smegging smeghead 13:14 < horros> ")¤#(%"(% 13:22 -!- shoan_ [n=shoan@59.92.192.84] has quit [Read error: 110 (Connection timed out)] 13:24 -!- shoan [n=shoan@59.92.194.94] has joined #agavi 13:28 < Xylakant> Rossc0: I'd be interested in your results 13:31 < digitarald> Xylakant, will u add sorting tables to the cms again, or something like a live grid? 13:33 < Xylakant> digitarald: i don't know yet. for the first shot, i'll be heading for a non-ajax solution 13:34 < Xylakant> i'd like to keep the system usable with js disabled 13:34 < Xylakant> at least basic functionalitxy 13:36 -!- shoan_ [n=shoan@59.92.201.72] has joined #agavi 13:37 < digitarald> thats the core of my degree work ;) ... i added an unobstrusive live grid to my project that degrades to standard pagination ... 13:39 < digitarald> its like (http://www.searchmash.com/search/live+grid), but updates on scrolling and does not disable the backbutton 13:41 -!- shoan__ [n=shoan@59.96.40.127] has quit [Read error: 110 (Connection timed out)] 13:42 < Xylakant> digitarald: if you're willing to contribute i'd try it :) 13:42 -!- shoan [n=shoan@59.92.194.94] has quit [Read error: 145 (Connection timed out)] 13:44 < digitarald> later, when my project is released, 1-2 months 13:50 < Xylakant> digitarald: that's fine with me. i'll add you to the "about box" :) 14:06 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 14:06 < digitarald> great, my name is already in agavi ;) 14:12 -!- benny`work [n=benny@p54AC3081.dip0.t-ipconnect.de] has joined #agavi 14:14 < _cheerios> Xylakant, you setup lucene before? 14:19 < RossC0> Xylakant: I did an implementation of Rico's live grid with Rails in an unobtrusive way a while back 14:20 < RossC0> very easy to do - although when I did it my Ruby / Rails wasn't up to much 14:22 < MikeSeth> hows your experience with Rico? someone called me today at 8 am to hear my opinion hh 14:22 < RossC0> I used to be a dev for Rico 14:22 < RossC0> but the project is now stagnent 14:23 < MikeSeth> dojo really fucked everything up hasnt it 14:23 < MikeSeth> there's so many kits now 14:23 < RossC0> the main Rico lead went off to write YUI 14:24 < MikeSeth> YUI is nice 14:24 < MikeSeth> the API is fabulously clear 14:24 < RossC0> the adobe courted Rico but decided to strike out on their own with Spry 14:25 < RossC0> *then 14:26 < RossC0> mainly due to dependency with prototype and the fact that people had learnt how better to write these 'frameworks' 14:30 < _cheerios> rico was nice in its day 14:30 < _cheerios> (2005) 14:30 < RossC0> yup 14:31 < RossC0> got me into OO js and now moo! 14:31 < Wombert> so you dran ze moo koolaid, eh, RossC0? 14:31 < Wombert> *drank 14:32 < RossC0> yup: look mooSelectors: http://pastie.caboo.se/38289 14:32 < Wombert> did you do these 14:32 < RossC0> yup - will blog soon :-D 14:32 < Wombert> I mean, port event:selectors 14:32 < Wombert> cool 14:32 < _cheerios> have i understood output types completely wrong, as im setting "Accept: text/xhtml", but it has no effect on agavi output, even as i have 14:32 < RossC0> I'll be famous yet!! 14:32 < Wombert> not much work was it 14:33 < Wombert> maybe that event:selectors dude can add your code so it runs on more than one framework 14:33 < RossC0> well digitarald gave council 14:33 < Wombert> that would be ace 14:33 < Wombert> yes, _cheerios, you understood output types completely wrong 14:33 < Wombert> an output type could be "lala" 14:33 < _cheerios> i saw that one benchmark on .each being 10x slower than for() 14:34 < _cheerios> it it wrong headers im sending, or that i cant control the output like this? 14:34 < RossC0> _cheerios got a URI? 14:35 < Wombert> _cheerios: you have to set the output type first 14:35 < digitarald> RossC0, u want no :loaded support? 14:35 < _cheerios> Wombert, in more places than output_types.xml ? I'm trying to invoke the default xhtml stuff there 14:35 < RossC0> eh? 14:36 -!- shoan [n=shoan@59.96.34.84] has joined #agavi 14:36 < RossC0> how'd ya mean digitarald? 14:36 < digitarald> "a.click:loaded" 14:36 < digitarald> like in the original 14:37 < Wombert> _cheerios: what you define in output_types.xml can be "foo", "bar", "baz" 14:37 < Wombert> agavi cannot auto-select your output type 14:37 < Wombert> you must set the output type somehow 14:37 < RossC0> ah it does that 14:37 < Wombert> you can use the routing to do that 14:37 < Wombert> or in a filter 14:37 < Wombert> or in the view (latest chance) 14:38 < RossC0> ah hmm 14:38 < Wombert> view::initialize, that is 14:38 < Wombert> typical ways to set an output type in the routing would be 14:38 < _cheerios> i set the output type in the http request using Accept:, or atleast am trying w/curl 14:38 < Wombert> DUDE 14:38 < Wombert> LISTEN 14:38 < Wombert> ffs 14:38 < RossC0> it does '#me:click' and it does '#me' and allows you to add your own events 14:38 < Wombert> 14:38 < _cheerios> RossC0, http://solutoire.com/2007/02/02/efficient-looping-in-javascript/ 14:39 < RossC0> many thanks 14:39 < Wombert> 14:39 < Wombert> and a quick look at the sample app would have shown you that btw :p 14:39 < _cheerios> ah, so im missing the source="" that's why it's not using it 14:40 < Wombert> ... 14:40 < digitarald> :onload fires when it found the element ... http://encytemedia.com/event-selectors/ - Extended Elements 14:41 < RossC0> hmm I think that should be ok _cheerios the main bottleneck would be the $$() the loop should be quick 14:41 < Wombert> but but but but 14:41 * Wombert cries 14:41 < digitarald> RossC0, u can use getElementsBySelector, then u don't need so split by hand 14:41 < Wombert> for() is much faster 14:42 < RossC0> ok I'll fix :) 14:43 < RossC0> k time for a curry! 14:43 < _cheerios> Wombert, thanks for the tips 14:43 < RossC0> and a beer then I'll be back - muhahahaha 14:43 < Wombert> _cheerios: working? 14:43 < _cheerios> yes 14:43 < RossC0> woot! 14:43 < Wombert> _cheerios: really, just think aobut it, agavi cannot guess things 14:43 < Wombert> I implemented a lot of witchcraft, but I didn't go that far :p 14:43 < _cheerios> i was under the impression that each action could decide this for itself 14:44 < Wombert> yes 14:44 < Wombert> of course 14:44 < Wombert> each container can have different output types 14:44 < Wombert> if you like 14:46 < digitarald> RossC0, a feature would be nice to give seperate container to the rules. Then u could call .assign after ajax calls 14:48 -!- shoan_ [n=shoan@59.92.201.72] has quit [Read error: 110 (Connection timed out)] 14:48 < _cheerios> Wombert, k. something to keep in mind. this'll do great for now. 14:50 < CIA-23> v-dogg * r1662 /branches/0.11/ (etc/phing/AgaviPackageTask.php src/version.php): Version numbers updated for RC2 14:51 < MikeSeth> ITS HAPPENING 14:51 -!- MikeSeth changed the topic of #agavi to: Welcome to Agavi :: http://www.agavi.org :: 0.11RC2 CLOCK TICKING :: http://trac.agavi.org/milestone/0.11 (99.5780591%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 14:51 < Wombert> sure is 14:51 < MikeSeth> :D 14:51 < Wombert> just gotta finish release notes and changelog 14:51 < Wombert> I even fixed the tests :D 14:52 < Wombert> almost 14:52 < _cheerios> \o/ 14:56 < codecop_> cool 15:01 < v-dogg> "just gotta Finnish release notes and changelog" 15:01 < v-dogg> I can do that :p 15:10 < CIA-23> david * r1663 /branches/0.11/src/request/AgaviWebRequest.class.php: default 'unset_input' to false since that prevents cleaning up $_GET with rewritten routing. gotta think about a better solution later, maybe. 15:11 < CIA-23> david * r1664 /branches/0.11/tests2/ (6 files in 6 dirs): fixed tests for good, refs #65 15:21 < CIA-23> david * r1665 /branches/0.11/ (UPGRADING etc/phing/AgaviPackageTask.php): added UPGRADING, improved package notes. refs #340 15:31 -!- eremit_ is now known as eremit 15:42 < horros> hmm 15:42 < horros> peculiar 15:43 -!- MikeSeth changed the topic of #agavi to: Welcome to Agavi :: http://www.agavi.org :: 0.11RC2 [***--] :: http://trac.agavi.org/milestone/0.11 (99.5780591%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 15:43 < MikeSeth> :D 15:43 -!- shoan [n=shoan@59.96.34.84] has quit [Read error: 110 (Connection timed out)] 15:44 < _cheerios> i take it that is not a movie rating out of five stars 15:47 < Wombert> in case of doubt we can pretend to live in hawaii 15:47 < Wombert> :p 15:47 < Wombert> buys us another 11 hours :D 15:48 < _cheerios> last time the dev team lived in hawaii it was an extra 96hrs ;) 15:53 < horros> what... the... 15:53 * horros strangles propel 15:53 < Wombert> what's going on, horros 15:53 < horros> criteria is behaving in a most peculiar way. 15:54 < horros> it's as if it's completely disregarding the foreign key here :O 15:55 < Wombert> addOr? 15:56 < horros> includes one, yes. 15:58 < Wombert> jesus christ has it been three months since RC1? 15:58 < Wombert> wtf 15:59 < v-dogg> yes, my son, it has been 16:00 < horros> WTF?!? 16:02 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 16:03 < MrJeep> hi 16:03 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 16:03 < MrJeep> anyone would indicate me 16:03 < MrJeep> http://nightlybuilds.tortoisesvn.net/latest/win32/ 16:04 < MrJeep> which one is the English one ? 16:04 < MrJeep> I need tortoise to run on vista with the less possible pain in the a$$ 16:07 < Xylakant> this one: http://nightlybuilds.tortoisesvn.net/latest/win32/TortoiseSVN-1.4.3.8654-dev-win32-svn-1.5.0dev.msi 16:07 < Xylakant> the other ones are only language packs that add another language to the basic one (english) 16:08 < Wombert> so http://nightlybuilds.tortoisesvn.net/latest/win32/LanguagePack-1.4.3.8654-dev-win32-fr.exe adds french 16:08 < Xylakant> but i'd be careful with that - it seems that the nightly build is linked against svn trunk 16:09 < v-dogg> who in his right mind would install vista?-) 16:09 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 16:09 < v-dogg> is that just begging for compatibility issues? 16:09 < Xylakant> and while i have faith in the svn developers, version control software is one of the few fields where i prefer "packaged and stable" over "nice, fresh and shiny" 16:10 < v-dogg> wise words 16:11 < Xylakant> well, i just reread the official statement from the tsvn developers: 16:11 < Xylakant> All interaction with the repository is handled by subversion itself, 16:11 < Xylakant> and usually only official subversion releases, or release candidates are used. 16:11 < Xylakant> This greatly reduces your risk exposure when using this Beta code. However, 16:11 < Xylakant> we do sometimes build from Subversion trunk just before a major release, 16:11 < Xylakant> so check on the mailing list if this is a concern. 16:11 < Xylakant> this looks a bit better, still i'd be rather careful. you'd trash your working copy only in any case, so the damage is at least limited if you commit often 16:11 < Wombert> v-dogg: You're pointing out Vista's flaws. Cancel or Allow? 16:11 < Wombert> :DDD 16:12 < _cheerios> heh 16:12 < Wombert> even windows fanboys must agree that that ad is cool :) 16:13 < v-dogg> apparently I've missed this one 16:13 < Wombert> v-dogg: http://images.apple.com/movies/us/apple/getamac/apple-getamac-security_480x376.mov 16:13 < MrJeep> ahh i see 16:14 < MrJeep> Womber : I actually don't have any french stuff on my computer 16:14 < MrJeep> no french app 16:14 < MrJeep> i really hate french app :) 16:15 < Wombert> or if you prefer youtube, v-dogg: http://www.youtube.com/watch?v=6nn-ttdcXvQ 16:15 < MrJeep> well brb reboot time 16:15 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 16:15 < horros> home time! 16:15 < horros> (assuming the car starts) 16:15 < horros> o( 16:15 < horros> o/ too 16:16 < Wombert> get a mondeo! 16:16 < Wombert> they always start! 16:16 < horros> pfft 16:16 < Wombert> and you don't have to clean the windscreen yourself 16:16 < horros> to quote clarkson somewhat: I'd rather cut off my right leg and beat myself to death with it 16:16 < horros> :) 16:16 < Wombert> he liked the st220 tho 16:16 < horros> ford and the new one even looks kick ass 16:17 < horros> anyway, see you tomorrow 16:17 < horros> adieu 16:17 * horros & 16:17 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 16:17 < MrJeep> woot 16:17 < MrJeep> sounds like it's working pretty nicely 16:18 < MrJeep> that's good news 16:18 < MrJeep> even the overlay icons works 16:18 < Wombert> TortoiseSVN is tying to overlay an icon. Cancel or Allow 16:18 * Wombert giggles 16:19 * Wombert pets his mac 16:19 * MrJeep allready turned this nice featured off 16:19 < kaos-> haha 16:19 < kaos-> still better then svn co -m "foo bar, ultra long message, fooo ...." 16:19 < MrJeep> I wish I could move to ubuntu, but I need photoshop 16:19 < MrJeep> and Cs 1.6 16:20 < kaos-> 1.6 should run on ubuntu (i think *g*) 16:20 < kaos-> and photoshop ... pfft, there's the gimp \o/ 16:20 < Wombert> UUUUUH BUT YOU CAN USE GIMMMMP IT'S BETTER THAN PHOTOSHOP IT'S OOOPEN SOUUUUURCE UUUUUUAAAAH 16:20 < MrJeep> yeah sure 16:20 < MrJeep> last time I've tried to run CS with wine or whatever wine 16:20 < MrJeep> I had a much lower FPS 16:21 < MrJeep> and seriously, I really hate to play a game, which on windows gives me 100 FPS and now i get 34FPS 16:21 < MrJeep> at 800x600 16:21 < MikeSeth> Wombert 16:21 < MrJeep> maybe things have changed 16:21 < MikeSeth> do I pwn you at CS tonight :D 16:21 < MrJeep> source ? 16:21 < MikeSeth> yeah, 1.6 sux 16:21 < MrJeep> ptfff! 16:21 < MrJeep> amateur 16:22 < MrJeep> didnt know Steam would run on a Mac 16:22 < MrJeep> hey wombert 16:22 < MrJeep> tell me 16:22 < MikeSeth> bs, 1.6 is about skillz, and css about tac 16:22 < Wombert> MikeSeth: likely not 16:22 < Wombert> too busy today 16:22 < MrJeep> Mac OS x is a little like linux ? 16:22 < kaos-> no, its both about using the right wallhack + aimbot 16:22 < kaos-> :p 16:22 < MrJeep> well, it's based on unix right ? 16:22 < Wombert> MrJeep: it _is_ a unix 16:22 < Wombert> yep, FreeBSD based 16:22 < MrJeep> ok 16:22 < Wombert> or openbsd 16:22 < Wombert> you even have apt-get 16:22 < Wombert> you can install anything 16:23 < Wombert> I run KCachegrind for instance 16:23 < MrJeep> so what's the big deal between the Mac photoshop version and a linux photoshop version ? 16:23 < kaos-> you can install anything <-- except cs:s 16:23 < kaos-> :P 16:23 < Wombert> aaah well that's a different story, MrJeep 16:23 < MrJeep> i just don't get it 16:23 < Wombert> ui apps need drawing toolkits 16:23 < Wombert> window manager apis etc 16:23 < MrJeep> it's possible to install linux stuff on a mac, but now the opposite 16:23 < MrJeep> :S 16:23 < Wombert> photoshop is only built for windows and mac carbon 16:24 < Wombert> CS3 will be cocoa, I think 16:24 < MrJeep> which means ? 16:24 < Xylakant> Wombert: have you tried the CS3 Beta on your mac? 16:24 < Xylakant> Photoshop CS3 that is 16:24 < Wombert> Xylakant: no, I'm afraid my G4 would explode 16:25 < Xylakant> why would it do so? 16:25 < Wombert> they could port it to GTK or QT to make it properly multiplatform, but then it would look like crap and... uhm... nobody would buy it since photoshop 7 was pretty much all the world ever needed 16:25 < Wombert> Xylakant: I have no idea but CS2 is slow enough already 16:25 < Wombert> plus I can't be bothered 16:25 < Wombert> I have better things to do :D 16:25 < kaos-> Wombert: stop commenting about stuff (QT) you don't know, kthx :P 16:25 < kaos-> QT stuff does NOT look crap 16:25 < Wombert> it most certainly does on a mac 16:25 < Wombert> anyway 16:26 < kaos-> aha, so how many qt apps have you used on your mac ? 16:26 < Xylakant> well, QT stuff does not look "mac-like" on a mac... 16:26 < Wombert> and that's precisely the problem 16:26 < Xylakant> the problem is that most x-window based applications don't integrate into the classic mac look and feel 16:26 < MrJeep> :( 16:26 < Wombert> I refuse to use anything that looks non-native 16:27 < Wombert> that's why I don't use firefox either 16:27 < Wombert> it looks like... my god I gotta throw up 16:27 < MrJeep> so it's going to be a while until we have a native photoshop for linux 16:27 < Xylakant> they do work most of the time, but unless they are really ported, the don't share the common keyboard shortcuts etc 16:27 < Wombert> MrJeep: get a mac ;) 16:28 < Xylakant> Wombert: try these: http://www.takebacktheweb.org/ 16:28 < MrJeep> I'm not gonna say i'll never buy a mac 16:29 < MrJeep> but it's not comming soon 16:29 < Wombert> they are just themes, Xylakant 16:29 < kaos-> http://doc.trolltech.com/4.2/gallery-macintosh.html <-- can someone explain me pls whats NOT looking native there ? 16:29 < splatch> http://ichuj.pi2.pl 16:29 < splatch> ;P 16:29 < Wombert> the tabs, for instance 16:29 < Xylakant> yes, i know 16:29 < kaos-> the tabs, for instance <-- aha ? 16:29 < Wombert> yep 16:29 < kaos-> and whats that what you have in every config dialog ? 16:30 < Wombert> http://doc.trolltech.com/4.2/images/macintosh-tabwidget.png <- not the cocoa look 16:30 < kaos-> what then ? 16:30 < Wombert> plus it has a light gray background for the bullet text... pathetic 16:30 -!- shoan [n=shoan@59.92.158.230] has joined #agavi 16:30 < Wombert> http://doc.trolltech.com/4.2/images/macintosh-toolbox.png <- *cough* 16:30 < Wombert> http://doc.trolltech.com/4.2/images/macintosh-treeview.png <- *cough* 16:30 < Wombert> http://doc.trolltech.com/4.2/images/macintosh-slider.png <- *big cough* 16:31 < Xylakant> the firefox theme has quite a good tab theme. comes pretty close to what safari looks like 16:31 < Wombert> http://doc.trolltech.com/4.2/images/macintosh-calendarwidget.png <- ahahahaha 16:31 < Wombert> Xylakant: yeah but it still doesn't use key chain etc etc etc 16:31 < Wombert> :S 16:31 < Wombert> I use safari for surfing, and firefox for development 16:31 < _cheerios> in propel, is there a way to get the generated query after it's been executed? 16:32 < Xylakant> well, everyone as he wishes - i still prefer firefox over safari 16:34 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 16:35 < v-dogg> muahahaha (@ Cancel or Allow) 16:35 < Wombert> :> 16:37 < v-dogg> woot?! can't I download script.aculo.us manuals for off-line use? 16:38 < v-dogg> that's lame! 16:38 < v-dogg> sad! 16:38 < v-dogg> stupid! 16:38 < v-dogg> me has no interweb connection at home :( 16:40 < Wombert> woot? 16:40 < Wombert> HA! 16:40 < Wombert> see 16:41 < Wombert> that's another good argument not to use wikis for documentation 16:41 < Wombert> :> 16:41 < v-dogg> agreed 16:43 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."] 16:51 < kaos-> someone wanna buy me a commercial QT license ? xD 16:52 * kaos- goes steal all agavi funds 16:52 * kaos- returns with a negative amount of money from his stealing run 16:52 < kaos-> \o/ 16:53 < v-dogg> QT=QuickTime? 16:53 < Wombert> QT Toolkit 16:54 < kaos-> for quicktime i wouldn't need to rob someone ;) 16:55 < v-dogg> no, it's so awfull they give it away free 16:55 < MrJeep> anyway, what did change in the project generator by the way ? 16:55 < kaos-> v-dogg: GPL 16:55 < kaos-> :s 16:56 < kaos-> aaah, you mean quicktime 16:56 < kaos-> gg 16:56 < v-dogg> :) 16:56 < Wombert> MrJeep: it now creates base views and actions for you 16:56 < Wombert> v-dogg: haha 16:56 < Wombert> not at all 16:56 < Wombert> they want to rip you off and charge 40 dollars for quicktime pro so you can watch fullscreen movies :D 16:56 < Wombert> bastards 16:56 < v-dogg> huh 16:56 < v-dogg> didn't know that 16:56 < Wombert> yup, even on a mac 16:57 < v-dogg> but, it can never be as bad as Real Player 16:57 < Wombert> well okay on new macs there is front row which is a lot cooler anyway but still, that sucks 16:57 < Wombert> no, it certainly isn't 16:57 < v-dogg> maaaan that's an awfull piece of crap 16:57 < Wombert> remember, quicktime sucks on windows, but rocks on the mac 16:57 < Wombert> I sooo hated quicktime and itunes on windows 16:57 < v-dogg> like *everything* 16:57 < v-dogg> := 16:57 < v-dogg> ) 16:58 < v-dogg> hih, this script.aculo.us stuff is neat :p 16:59 < Wombert> RossC0: is mootools a bit better, or drastically better, than prototype 16:59 < v-dogg> gonna impress the missus reaaaally good with my fadein-draggable-fadeout infoboxthingy :D 16:59 < _cheerios> you will be run down by moo's in ... 3... 2... 16:59 < MikeSeth> Wombert, is rc1 in pear? or should I get it from SVN? 16:59 < Wombert> v-dogg: let's hope she'll thank you in an appropriate manner ^^ 16:59 < Wombert> rc1? 16:59 < Wombert> you mean rc2? 16:59 < Wombert> not out yet 16:59 < MikeSeth> i dont care 16:59 < MikeSeth> :D 16:59 < Wombert> finishing release notes, and I sincerely hope I convinced kaos- to do the changelog :) 17:00 * Wombert hugs kaos- 17:00 * MikeSeth pets everyone 17:00 < Wombert> everyone please hug kaos- 17:00 < v-dogg> uuh keep doing that MikeSeth 17:00 < Wombert> hahaha 17:00 < v-dogg> you know the right spot 17:00 < Wombert> HUG KAOS! 17:00 < Wombert> :< 17:00 * v-dogg hugs kaos- 17:00 < Wombert> :> 17:01 * v-dogg pets kaos- in a lewd way 17:01 < RossC0> Wombert: it is what prototype should have evolved to 17:01 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:01 < Wombert> RossC0: but does it have all of prototype's array niceties 17:01 < RossC0> i.e. include base for OO inheritance and forEach for loops 17:02 < Wombert> I really like the detect() and find() and inject() and each() and find() and apply() and... whatever 17:02 < RossC0> also its customisable on the download etc.. 17:02 < Wombert> and I really fear that I'd miss some of these 17:02 < RossC0> but so easy to implement! 17:02 < Wombert> plus I contributed to both prototype and scriptaculous so I don't really wanna switch :< 17:03 < RossC0> yup - but they bloat or are slow to update 17:04 < RossC0> I used base and prototype - but why? 17:04 < RossC0> brb meeting 17:04 < Wombert> Also, I fucking hate OO with prototype 17:04 < Wombert> is it any easier with moo? 17:04 < Wombert> extending, mainly 17:06 < digitarald> Its is, supports even calling parent methods and implementing interfaces ;) 17:06 < Wombert> show show show 17:06 < digitarald> this is an article about extending, shows not implements: 17:06 < digitarald> http://www.coryhudson.com/blog/2006/09/12/extending-objects-and-classes-with-mootools/ 17:07 < Wombert> var Square = Shape.extend({ 17:08 < Wombert> aaah yes that's what I want 17:08 < digitarald> and the getting started, including implements 17:08 < digitarald> http://dev.mootools.net/wiki/gettingStarted 17:08 -!- MrJEep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:08 < Wombert> Circle.implement(UsefulGlobalObject); 17:08 < Wombert> ooooh 17:08 * Wombert drools 17:09 < Wombert> BUT BUT BUT 17:09 < Wombert> var UsefulGlobalObject = { 17:09 < Wombert> :S 17:09 < Wombert> no new Class() there :S 17:09 < Wombert> ah it's an object 17:09 < Wombert> hummm 17:09 < digitarald> ... var Animal = new Class({ ...}); 17:10 < MrJEep_> this is no more Rendering filter config ? 17:10 < digitarald> ... var Mammal = Animal.extend({ ... }); 17:10 < Wombert> rendering filters are gone 17:11 < Wombert> Ajax.implement({ 17:11 < Wombert> hmm 17:11 < Wombert> Ajax.prototype.foo = function() would work as well wouldn't it 17:14 < Wombert> I can't set headers for ajax requests? wtf? 17:14 < digitarald> u can 17:14 < digitarald> setHeader is in XHR 17:14 < Wombert> ah XHR 17:14 < Wombert> does it send any defaults? 17:14 < digitarald> is missing in the docs, posted already a ticket 17:14 < Wombert> cookie 17:14 < Wombert> I'm beginning to like this 17:15 < digitarald> the standard stuff, like prototype too 17:15 < Wombert> oooh bugger 17:15 < digitarald> sends X-Requested-By 17:15 < Wombert> look 17:15 < Wombert> I like it 17:15 < Wombert> and then 17:15 < Wombert> I want to go back to the home page 17:15 < Wombert> but there is no link 17:15 < Wombert> the logo in the upper right won't take me to mootools.net 17:15 < Wombert> and that annoys me so much I lose all interest in trying it 17:16 < digitarald> i'll post a tecket for that too ;) 17:16 < Wombert> thanks 17:16 < Wombert> because I certainly couldn't be bothered :p 17:16 < Wombert> does it work in ie5? 17:16 < Wombert> it's not tested, sure, but will it work (5.5) 17:16 < Wombert> don't care about element dimensions being wrong and all 17:17 < Wombert> this.setHeader('X-Requested-With', 'XMLHttpRequest'); 17:17 < Wombert> this.setHeader('Accept', 'text/javascript, text/html, application/xml, text/xml, */*'); 17:17 < Wombert> excellent 17:17 < Wombert> I think I'll give it a shot 17:18 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 17:18 < digitarald> mh, it will work, only the strict-ie stuff like ... yes ... dimensions 17:20 -!- MikeSeth changed the topic of #agavi to: Welcome to Agavi :: http://www.agavi.org :: 0.11RC2 [****-] :: http://trac.agavi.org/milestone/0.11 (99.5780591%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 17:21 < Wombert> MikeSeth: GET ACE TIMEZONE NOOB KTHXBYE 17:22 * MikeSeth gives Wombert a look 17:22 < MikeSeth> what? 17:22 * MikeSeth takes away Wombert's crack pipe 17:23 < Wombert> I thought that's the progress bar for time :p 17:23 < MikeSeth> it is :D 17:23 < Wombert> oh god we're sending tornado jets to afghanistan 17:23 < Wombert> BUT ONLY FOR PHOTOS 17:23 < Wombert> NO CLOSE AIR SUPPORT 17:24 < Wombert> AND ONLY IF THE ALLIES GIVE US CANDY THEY GET THE PHOTOS 17:24 < Wombert> and then we get back to our safe camps in the north where we recycle litter according to german rules and then the afghans come, put it all into one container and set it on fire 17:25 < Wombert> but we can't do anything about it because the emissions tests on the vehicles have expired and nooooo we are not allowed to use them 17:25 < Wombert> god I hate germany 17:30 < digitarald> this is great, opimization in javascript ... so many tricks ... i have to write a book :D 17:31 < Xylakant> digitarald: is there a stfti 17:31 < Xylakant> strftime() like date-formatting method somewhere? 17:31 < digitarald> first my degree work, then the book 17:32 < Xylakant> in javascript naturally 17:32 < digitarald> date formatting in js? 17:33 < Wombert> guys 17:33 < Wombert> should we get rid of Content-Type in output types 17:33 < Wombert> and instead have a "headers" parameter 17:33 < Wombert> that accepts any headers? 17:34 < Wombert> you could then also set Content-Disposition and such 17:34 * digitarald votes yes 17:34 < Wombert> poll closed, one person(s) casted their votes, results: 1 yes, 0 no - yes wins 17:34 < Wombert> :D 17:38 < digitarald> great, i love democraty 17:38 < CIA-23> david * r1666 /branches/0.11/src/request/AgaviWebRequest.class.php: renamed 'PUT_file_name' to 'http_put_file_name' in WebRequest 17:41 < digitarald> yeah, tenacious-d on dradio :D 17:43 < Wombert> muhahha 17:43 < Wombert> 17:44 < Wombert> agavi >>>>>>> everything else :D 17:46 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 17:48 < CIA-23> david * r1667 /branches/0.11/ (7 files in 7 dirs): in output types, please put any http response headers (such as the common 'Content-Type') into the parameter 'http_headers', now. closes #413 17:53 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 17:55 < MrJEep_> any recent changes with the autoload ? 17:55 < Wombert> nope 17:55 < Wombert> why? 17:55 < MrJEep_> seems it won't autoload my files :S 17:56 < MrJEep_> there is only agavi stuff in cache file app_config_autoload 17:57 < MrJEep_> arg 17:57 < MrJEep_> wrong environment 17:58 < CIA-23> david * r1668 /branches/0.11/RELEASE_NOTES: 0.11RC2 release notes, first take 17:59 < Wombert> everyone please check if I forgot something 17:59 < Wombert> http://trac.agavi.org/changeset/1668 18:04 < _cheerios> aarrr!!! blimey!!! just remembered i still havent checked out latest heroes 18:05 < Wombert> you fool 18:05 < Wombert> best episode so far IMO 18:05 < digitarald> e13? 18:05 < Wombert> 14 18:05 < digitarald> oh oh 18:05 < Wombert> I think 18:05 < Wombert> 13 was crap 18:05 < _cheerios> chuck! (the agavi way of shouting f*ck) 18:05 < digitarald> with mister u-cant-see-me? 18:06 < _cheerios> aye 18:06 < _cheerios> it wasnt that bad tho 18:06 < _cheerios> some highlights (pigeons!) and the ending 18:08 < _cheerios> anyone done their own caching solution for mojavi/other frameworks ? 18:08 < digitarald> only sending the right headers and saving generated images 18:10 < _cheerios> wondering how others have gone about creating near static caching performance while using frameworks 18:11 < _cheerios> also, any propel guru know if you can get the generated SQL that propel just used? 18:11 < Wombert> it can be logged 18:11 < Wombert> I think 18:11 < Wombert> v-dogg would know 18:11 < RossC0> man long meeting! 18:12 < RossC0> so Wombert: you gonna drink from ze moo zoo? 18:12 < Wombert> I believe I will 18:12 < Wombert> is it really that much lighter and all? 18:12 < Wombert> I must say, especially scriptaculous feels sooo heavy 18:12 < RossC0> yeah - thats the main reason 18:13 < MrJEep_> so what changed with the output type ? 18:13 < MrJEep_> any changes in the output_type.xml file ? 18:13 < Wombert> out: 18:13 < Wombert> ... 18:13 < Wombert> in: 18:13 < Wombert> 18:13 < Wombert> ... 18:13 < Wombert> 18:14 < MrJEep_> ok 18:15 < CIA-23> david * r1669 /branches/0.11/RELEASE_NOTES: ffforgot 18:15 < Xylakant> _cheerios: i implemented a simple caching solution for mojavi2 that cached the result of actionchains 18:16 < Wombert> not what he's after though 18:16 < Wombert> he means generating a .php file that runs without the framework 18:16 < Xylakant> i guessed so 18:16 < Wombert> for maximum performance 18:16 < Xylakant> ? 18:16 < Wombert> yeah 18:16 < Xylakant> why then generate a php file 18:16 < Wombert> I told him it's nonsense, too :p 18:16 < Wombert> well because you need session stuff and whatever, no idea 18:17 < Xylakant> i did use the include feature of lighttp and generate parts of a page as static html snippets 18:17 < Xylakant> lightning fast, but a hell to manage 18:17 < _cheerios> that's more like server side includes, tho 18:17 < Xylakant> yes, it is 18:18 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 18:19 < Xylakant> does anybody know wether javascript regexp support lookback assertions? 18:19 < Wombert> don't think so 18:20 < Wombert> the js regexps are pretty crappy 18:20 < Xylakant> hmm. k 18:21 < Xylakant> does anyone know how fast java regexp are? is it worth parsing the string char by char? 18:24 < Wombert> new email on the list 18:29 < Xylakant> :) 18:38 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 18:40 < Xylakant> auff auff auff 18:40 < MrJEep_> by the way, what's the use of the modpub directory ? 18:40 < Xylakant> ups. wrong chat 18:41 < digitarald> :D :D :D 18:41 < Xylakant> yeah, that joke is still around :) 18:42 -!- um [n=um@noc.cavokintl.com] has quit [Remote closed the connection] 18:43 < _cheerios> heh 18:43 < _cheerios> Xylakant, what kind of performance increasement did you see from your m2 cache? 18:43 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [] 18:43 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has quit [Read error: 113 (No route to host)] 18:44 -!- keke [n=mst@192.115.27.162] has joined #agavi 18:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 18:44 * Wombert pokes GMFlash 18:44 -!- keke is now known as MikeSeth 18:44 < Wombert> whoa mike would you happen to be keke rosberg? 18:45 < ttj> Keke. :o 18:45 < Wombert> haha :>>> 18:45 < MikeSeth> No. KEKEKEKKEKEKEKE ^_^_^__^_^^^^____^ 18:45 < _cheerios> keke :) 18:45 < ttj> The Knights Who Until Recently Said Keke. 18:58 -!- um [n=um@noc.cavokintl.com] has joined #agavi 18:58 < MikeSeth> bbl, ~ 18:59 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has quit ["Leaving"] 19:07 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 19:22 < Whisller> ho 19:22 < Whisller> *hi 19:28 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 19:34 < RossC0> bbl 19:34 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:35 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <-"] 19:36 < _cheerios> http://www.japanator.com/wp-content/uploads/2007/02/tubesblacksmall.jpg 19:46 < Xylakant> _cheerios: well, somewhere around 50% perhaps 19:47 < Xylakant> but YMMV, we were able to unload a pretty heavily loaded database and cache really tough queries 19:50 < _cheerios> i need a better apartment. it's windier inside than outside. 19:50 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 19:50 < digitarald> Xylakant, is LGPL a good license for free script-snippets and classes? 19:51 < Wombert> for snuppets, I'd use MIT/BSD 19:51 < Wombert> snippets 19:53 < Xylakant> LGPL is good for something that may be extended, snippets are rather incorporated into a lib 19:55 < digitarald> so for snippets MIT and for bigger classes LGPL ... thx :) 20:00 < Xylakant> wombert: is there a way to retrieve the date/time/number formatting information from the agavitranslationmanager? 20:00 < Wombert> Xylakant: kaos- knows 20:00 < Wombert> what do you need that for? :) 20:01 < Wombert> the actual info, good question... but I think so, yes 20:01 < Xylakant> i'd need to pass that on to a javascript 20:01 < Wombert> uuuuhm 20:02 < Wombert> keep in mind that these are ICU formatting rules 20:02 < Wombert> I don't think they work with javascript 20:02 < Xylakant> i could hardcode it but i'd rather have an action return the proper javascript 20:02 < Xylakant> well, i'm shure the format can be translated 20:03 < Xylakant> and the information is available in the xml data files 20:03 < Xylakant> i'll ask again tomorrow 20:05 < Xylakant> right then, have a good evening all of you 20:05 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 20:30 < _cheerios> loool @ heroes ending 20:30 < Wombert> awesome ain't it 20:30 < _cheerios> if they give cheese, i say cheese 20:31 < _cheerios> how many women does that guy have 20:31 < Wombert> and he's not even good looking 20:31 < Wombert> with his nutcracker face 20:31 < Wombert> xD 20:31 < _cheerios> looks better than me, but that's no accomplishment 20:31 < Wombert> yeah sure better than me, too, I guess 20:31 < Wombert> still he looks like a nutcracker 20:31 < Wombert> at least most of the time 20:32 < _cheerios> i'd kick his ass 20:32 < _cheerios> i still have this memory of high school where this girl freaked out when i gave her a stare :) 20:32 < _cheerios> she saw in me what you see in him :) 20:33 < MrJEep_> i have a problem with eclipse 20:33 < MrJEep_> http://mrjeep.dyndns.org:81/Temp/eclipse.jpg 20:33 < MrJEep_> On the update, both next and finish button are disabled 20:33 < Wombert> free space: unknown 20:33 < Wombert> that's why 20:34 < Wombert> haha look at that 20:34 < Wombert> you install vista 20:34 < MrJEep_> no kidding 20:34 < Wombert> and apps cannot get the free space anymore 20:34 < Wombert> Eclipse is trying to determine the free space on drive D: - Cancel or Allow? 20:34 < Wombert> MUAHAHAHAH 20:35 < MrJEep_> lol 20:35 < MrJEep_> i guess you won't get tired of saying this 20:36 < Wombert> no 20:36 < Wombert> neer 20:36 < Wombert> never 20:36 < Wombert> : 20:36 < Wombert> D 20:36 < MrJEep_> ;P 20:38 < CIA-23> david * r1670 /branches/0.11/src/config/xsd/ (14 files): xsd cleanup 20:39 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 20:40 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Client Quit] 20:40 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 20:48 -!- chx [n=chx@pdpc/supporter/professional/chx] has joined #agavi 21:21 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"] 21:25 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [] 21:28 -!- codecop_ is now known as kamaz 21:30 -!- kamaz is now known as codecop 21:33 -!- chx [n=chx@pdpc/supporter/professional/chx] has quit [Remote closed the connection] 22:10 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 22:10 < MikeSeth> poop 22:11 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:13 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 22:23 -!- codecop [n=codecop@85.206.207.76] has quit ["Have to go"] 22:26 < Wombert> email explaining caching sent to ze lists 22:26 < Wombert> enjoy 22:26 < Wombert> let me know if you have questions 22:27 < MikeSeth> release yet? 22:28 < Wombert> no 22:28 < Wombert> still working on changelog 22:29 < MikeSeth> <3 22:30 * Wombert pokes digitarald 22:31 * digitarald wears his anti-poking suit 22:31 < digitarald> yes Wombert ;) 22:32 < digitarald> still have to read your mail if u want to ask for that ;) 22:36 < _cheerios> such short email this time. i feel cheated. 22:37 -!- MrJEep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 22:39 < MikeSeth> you can satisfy yourself by re-reading the older ones 22:39 < MikeSeth> you can like.. put on candles and shit xD 22:50 -!- codecop [n=codecop@85.206.207.76] has joined #agavi 22:54 < digitarald> Wombert, small thing i found, there is enable attribute for the execution filter config entries but in most of the other configs ... 22:54 < digitarald> or maybe i just not saw it 22:54 < Wombert> ? 22:56 < digitarald> its there after rebuilding the project in eclipse ... php-zend plugin ... explains everything ;) 22:57 < Wombert> huuuh? 22:57 < Wombert> I don't get it 23:05 -!- codecop [n=codecop@85.206.207.76] has quit ["Have to go"] 23:09 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC with a difference"] 23:16 < _cheerios> http://www.pfadvice.com/2007/01/26/skid-mark-safe-disgusting-but-if-it-works/ 23:25 < CIA-23> dominik * r1671 /branches/0.11/CHANGELOG: updated changelog 23:45 -!- AngryMikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has joined #agavi 23:53 < _cheerios> http://youtube.com/watch?v=YxZJYbVd1hE << ace vid 23:54 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 23:55 < AngryMikeSeth> wtf is ace 23:55 < AngryMikeSeth> what are all these ace jokes 23:55 < _cheerios> BLINKING LIGHTS 23:55 < _cheerios> BLINKING LIGHTS! --- Day changed Thu Feb 08 2007 00:01 < ttj> It's blinken lights! 00:01 -!- Netsplit niven.freenode.net <-> irc.freenode.net quits: impl 00:02 -!- Netsplit over, joins: impl 00:02 < ttj> Without the space, even. 00:03 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 00:06 < _cheerios> my simple mind got addicted to the chorus 00:12 < CIA-23> david * r1672 /branches/0.11/ (3 files in 2 dirs): updated manuals a bit 00:43 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 00:47 < CIA-23> david * r1673 /branches/0.11/src/ (5 files in 2 dirs): zomgffs phpdoc... 01:06 < _cheerios> so late.. so late... and Vga Planets turn left 01:06 < _cheerios> *fires up vmware* 01:08 < impl> Wombert: API_CHANGELOG needs to be updated 01:08 < Wombert> oh bugger 01:09 < Wombert> awwwwwww ffs 01:09 < impl> :x 01:09 < Wombert> now 01:09 < Wombert> if we all had a mac 01:09 < Wombert> we could all fire up subethaedit 01:10 < Wombert> and work on it together 01:10 < Wombert> :D 01:10 < impl> We can use Google docs 01:10 < Wombert> writely? 01:10 < impl> Yeah 01:10 < Wombert> google docs 01:10 < Wombert> man that company sucks 01:10 < impl> Writely was a gay name =P 01:11 < Wombert> maybe, but google sure ruined it 01:11 < impl> ahh I can't read anything on the site because I set my locale to Dutch 01:11 < impl> Naamloos bewerkt op 7 februari 2007 23:11 door Noah Fontes 01:13 < Wombert> oh god I need to throw up 01:14 < impl> :| 01:14 < impl> Ew. 01:14 < Wombert> I'll open a paypal account 01:14 < Wombert> once we have enough money 01:14 < Wombert> we call the japanese 01:14 < Wombert> and order a documentation writing robot 01:14 < Wombert> they have robots for everything 01:14 < Wombert> but I guess it would produce horrible engrish... 01:15 < impl> Well, when you get over that, http://trac.agavi.org/browser/branches/0.11/etc/agavi-dist <-- you can use "#! /usr/bin/env bash" for the shebang 01:15 < impl> With the space, for making BSD happy 01:15 < Wombert> and with a space after the ! ? 01:15 < impl> Yeah 01:16 < Wombert> cool 01:16 < impl> now as for Solaris I don't know 01:16 < impl> I've never used it for more than a few minutes 01:16 < impl> and right now my Sparc box doesn't have EEPROM 01:16 < impl> or IDPROM 01:16 < impl> yeah, it doesn't have IDPROM. 01:17 < Wombert> is it a sun pizza box thing 01:17 < Wombert> man we had one of these in school 01:17 < Wombert> it was awesome 01:17 < Wombert> 64bit cpu IIRC 01:17 < Wombert> kick ass 01:17 < impl> yup 01:17 < Wombert> it wasn't a pizza box tho, only half the size, but double height 01:17 < Wombert> and unmount ejected the floppy 01:17 < Wombert> that was ace 01:17 < impl> http://www.sunstuff.org/hardware/systems/sun4/sun4u/ULTRA1/sun.ultra1.2.jpg 01:18 < impl> It's a ghetto pizza box 01:19 < Wombert> we had some kind of sparcstation 01:19 < Wombert> http://philippe.legrand10.free.fr/over245.jpg 01:19 < Wombert> not an IPX tho 01:19 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 01:20 < CIA-23> david * r1674 /branches/0.11/etc/agavi-dist: changed shebang line in agavi-dist, should play nicer with *BSD. Thanks Noah. 01:25 < impl> :P 01:26 * impl has a name now 01:26 < Wombert> don't you like your name? 01:26 < impl> Not really 01:26 < Wombert> why not 01:26 < Wombert> too religious 01:26 < impl> I often refer to myself in real life in the third person as impl 01:26 < Wombert> ? 01:27 < Wombert> oh boy 01:27 < impl> No, I just never cared much for it. It's hard for me to pronounce for some reason 01:27 < Wombert> that's rather geekish 01:27 < Wombert> nerdy even 01:27 < impl> Yeah :P 01:27 < Wombert> I wonder if you are a nerd 01:27 < Wombert> or a geek 01:27 < Wombert> I imagine you as a ~ 175 tall skater kind of guy 01:28 < Wombert> but that's probably completely wrong 01:28 < Wombert> xD 01:28 < Wombert> I'm a geek and proud of it 01:28 < impl> http://shells.crlf.ws/~impl/IMG_4847.JPG 01:28 < Wombert> ! 01:28 < Wombert> :> 01:28 < impl> Bad picture 01:28 < impl> but 01:28 < impl> that's me 01:28 < Wombert> well 01:28 < Wombert> not too far off actually! 01:28 < Wombert> how tall are you 01:29 < impl> like... 5'8" :P 01:29 < impl> So you were almost spot on 01:29 < Wombert> oh my god 01:29 < Wombert> get a metric system man 01:29 < Wombert> imperial is so for retarded people and americans 01:29 < impl> ehe there's a difference between the two now? :P 01:29 < Wombert> can you tell me how many inches are in 6.831 feet? 01:29 < Wombert> see 01:30 < Wombert> nailed you 01:30 < impl> 81.97200 01:30 < impl> :-D 01:30 < Wombert> you googled it 01:30 < impl> maybe... 01:30 < Wombert> I recently found that 01:30 < Wombert> awesome, really 01:30 < Wombert> 19 mpg l/100km 01:30 < Wombert> it does that 01:30 < Wombert> cool ain't it 01:30 < Whisller> Hmm I've got a problem (no, no with agavi :)), I have that query http://phpfi.com/201381 (PDO MySQL) and this return a error. I don't know but maybe it's a bug http://bugs.php.net/bug.php?id=38178 but I'm not sure. What You think? 01:31 < Wombert> oh wait 01:31 < Wombert> 19 mpg in l/100km 01:31 < Wombert> that works 01:31 < Wombert> Whisller: :digit: 01:32 < Wombert> pdo things that is a bound parameter 01:32 < Wombert> thinks 01:32 < Whisller> ooo yes 01:33 < Whisller> it's a problem 01:33 < Wombert> DEAR GOD WHY THE FUCK CAN'T THE APIDOCS NOT UPDATE THEMSELVES FFS 01:33 * Wombert bursts into tears 01:34 < impl> If we prefix API changes with something in svn can we pull them all at once? 01:35 < Wombert> huh? 01:35 < impl> e.g. svn commit -m 'API: blah blah blah' 01:36 < Wombert> good idea, we should remember that for ze future 01:39 < Whisller> Maybe know someone what I can do with it? 01:42 < Wombert> try to escape it? 01:42 < Wombert> or use ? 01:42 < Whisller> hmm 01:43 < impl> Whisller: I'd use WHERE path REGEXP ? 01:43 < impl> and then fill in that ? 01:43 < Wombert> or WHERE path REGEXP :regex 01:45 < Whisller> hmm i try it. 01:47 < Whisller> no :/ 01:47 < Whisller> with WHERE path REGEXP '^".preg_quote($aParentNode->path)."[[:digit]]+\.$' $rQ->bindValue(':digit', ':digit:', PDO::PARAM_STR); 01:48 * Wombert bangs head on the wall 01:48 < impl> lol 01:48 < Whisller> :( 01:48 < Wombert> :digit: 01:48 < Wombert> you sure about that? 01:48 < impl> I'm sorry, I laughed a little 01:48 < Wombert> that won't work I think because it's nested somehow 01:49 < Wombert> try to put the entire regexp into a bound param thing 01:49 < Wombert> or 01:49 < Wombert> use something else than :digit: 01:49 < Wombert> I bet you can use \d 01:49 < Wombert> or something 01:49 < Whisller> [0-9+] or [0-9]+ doesn't work 01:50 < impl> $rQ = $this->rSQL->prepare('SELECT path FROM tree WHERE path REGEXP ?'); $rQ->bindValue(1, '^'.preg_quote($aParentNode->path).'[[:digit:]]+\.$'); 01:50 < Whisller> o wait 01:50 < impl> or so 01:50 < Whisller> my foule 01:50 < Whisller> *fault 01:50 < Whisller> [0-9]+ 01:51 < Whisller> ehh I'm so stupid, sorry 01:59 < CIA-23> david * r1675 /branches/0.11/ (API_CHANGELOG CHANGELOG): changelog... 02:00 < impl> wee 02:00 < CIA-23> david * r1676 /branches/0.11/build.xml: typo 02:00 < impl> http://trac.agavi.org/browser/branches/0.11/API_CHANGELOG#L229 <-- XslRenderer is gone now :P 02:01 < impl> http://trac.agavi.org/browser/branches/0.11/API_CHANGELOG#L276 -> "moved to" 02:02 < Wombert> it's a pretty half-assed attempt anyway 02:02 < CIA-23> david * r1677 /branches/0.11/API_CHANGELOG: tttypo 02:03 < impl> well it only matters at 0.11-RELEASE really 02:03 < Wombert> it's the diff between 0.10.2 and 0.11 02:03 < Wombert> so... 02:03 < Wombert> :p 02:04 < impl> You could just say "everything, except we still have controllers, actions, and filters" 02:10 < Wombert> AAAAARGH 02:10 < Wombert> I hate PEAR 02:10 < Wombert> b00h 02:12 < CIA-23> david * r1678 /branches/0.11/etc/phing/AgaviPackageTask.php: missing UPGRADING file, umlauts in names 02:29 < CIA-23> david * r1679 /tags/0.11.0RC2/: tagging 0.11.0RC2 for release 02:30 < AngryMikeSeth> woooooooooooohooooooo 02:32 -!- epaulin [n=epaulin@61.191.26.228] has quit [Read error: 104 (Connection reset by peer)] 02:43 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11.0RC2 :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 (99.5780591%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 02:43 < Wombert> and 2am already 02:43 < Wombert> god damnit 02:43 < impl> :OOOOOO 02:43 < impl> yay! 02:51 < AngryMikeSeth> winner! 03:18 -!- benny`work [n=benny@p54AC3081.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:35 -!- AngryMikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has quit [Read error: 104 (Connection reset by peer)] 03:37 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 03:46 -!- Wombert [n=Wombert@dslb-084-056-039-146.pools.arcor-ip.net] has quit [Nick collision from services.] 03:46 -!- Wombert [n=Wombert@dslb-084-056-059-146.pools.arcor-ip.net] has joined #agavi 03:52 < Whisller> 04:12 -!- Whisller is now known as Whis 04:16 -!- shoan_ [n=shoan@59.92.150.83] has joined #agavi 04:20 -!- shoan [n=shoan@59.92.158.230] has quit [Read error: 145 (Connection timed out)] 04:35 < Whis> good night 04:35 -!- Whis [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"] 04:50 -!- shoan [n=shoan@59.92.158.72] has joined #agavi 05:00 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 05:04 -!- shoan_ [n=shoan@59.92.150.83] has quit [Read error: 110 (Connection timed out)] 05:14 -!- shoan_ [n=shoan@59.92.167.40] has joined #agavi 05:19 -!- shoan [n=shoan@59.92.158.72] has quit [Read error: 60 (Operation timed out)] 05:24 -!- shoan [n=shoan@59.92.136.252] has joined #agavi 05:37 -!- shoan_ [n=shoan@59.92.167.40] has quit [Read error: 110 (Connection timed out)] 05:40 -!- Wombert [n=Wombert@dslb-084-056-059-146.pools.arcor-ip.net] has quit [] 05:55 -!- kaos- [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 06:41 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 06:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 07:51 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 08:05 < v-dogg> huomenta 08:37 < Arme[N]> huomenta 08:44 -!- shoan_ [n=shoan@59.92.195.9] has joined #agavi 08:59 -!- shoan [n=shoan@59.92.136.252] has quit [Read error: 110 (Connection timed out)] 09:51 < horros> huomenta 09:52 < horros> v-dogg: can you try to access www.tenue.fi for me, please? 09:52 < v-dogg> not responding 09:52 < horros> wtf½! 09:52 < v-dogg> Firefox can't find the server at www.tenue.fi. 09:52 < horros> maybe they're under some DDoS... again 09:53 < horros> oh well 09:53 < horros> not much I can do about that then 09:54 * horros leans back and sips his coffee 09:55 < horros> maybe some cleaning lady has unplugged the Big Router to get a socket for her vacuum cleaner 09:55 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:57 < _cheerios> morning 10:21 -!- Arme[N] is now known as Arme[0] 10:35 < splatch> ;] 10:36 -!- splatch [n=splatch@s3.przytulski.net] has left #agavi [] 10:38 -!- splatch [n=splatch@s3.przytulski.net] has joined #agavi 10:38 < splatch> :) 10:39 < Arme[0]> http://www.youtube.com/watch?v=JD6BiKnLzck&NR 10:43 < v-dogg> pretty cool 10:44 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 10:49 < splatch> xgl and ubuntu? 10:52 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has joined #agavi 10:56 < v-dogg> wow... YUI has a heaps of example code 10:56 < v-dogg> -a 10:56 < MikeSeth> you only discover that now? 10:57 < MikeSeth> I was pondering to implement Rails-style RJS with YUI.. and release an Agavi helper 10:57 < v-dogg> this is the first time I even look at YUI :) 10:58 < MikeSeth> its a little bit heavy.. but very solid, extremely well documented, and really consistent 10:58 < v-dogg> I love the documentation already 10:59 < v-dogg> prototype's api docs are ok'ish, but examples and tutorials are non-existent 11:00 < _cheerios> YUI is like "response? hello? working?" heavy ;) 11:02 < MikeSeth> well 11:02 < MikeSeth> latest corporate craze is dojo, and latest developer craze is mootools 11:03 < _cheerios> im prototype+dojo :) 11:05 -!- eremit [n=eremit@p5490C219.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 11:12 < _cheerios> shame my vidcard isn't only 2years old. that vid makes working on a desktop sexier. 11:13 < RossC0> mooo!!! 11:14 < Arme[0]> splatch: Beryl 11:16 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:16 < Xylakant> hi 11:18 < v-dogg> hi 11:35 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 11:36 -!- raidman2 [n=raidman@62.60.194.3] has joined #agavi 11:45 -!- raidman2 [n=raidman@62.60.194.3] has quit [Remote closed the connection] 11:58 -!- codecop [n=codecop@85.206.207.187] has joined #agavi 12:04 < splatch> Arme[0]: yes? 12:05 < _cheerios> anyone done a sticky tooltip? those that open on hover, and you can cursor over the content without the tooltip disappearing? 12:15 < digitarald> i use them, yes 12:15 < digitarald> image preview 12:16 < digitarald> extended the mootools Tips 12:19 < _cheerios> what's the procedure to make it "sticky" ? 12:20 < digitarald> native method is, they follow the mouse 12:21 < digitarald> i attached them to the element position, according to window size 12:21 < digitarald> and then u used a delayed hide on mouseout that the able can move with the mouse to the tip 12:22 < digitarald> have to buy some stuff, when u use mootools i can give u the code later 12:23 < v-dogg> _cheerios: http://veikkomakinen.com/temp/ajax/popup.html (not exactly what you wanted but close perhaps 12:24 < digitarald> _cheerios, what framework do u use? 12:24 < _cheerios> prototype mostly 12:24 < horros> smeg smeg smeg 12:25 < digitarald> k 12:29 < horros> postfix is driving me nuts! 12:34 < Xylakant> to all the mootols experts here: did anyone find strange behaviour of the Hash() class when adding two values (with different keys) that each are a hash of their own with the same keynames 12:34 < Xylakant> such as in 12:34 < Xylakant> var hash1 = new Hash({ 12:34 < Xylakant> test1: new Hash({ 12:34 < Xylakant> key1: 'value_from_test1' 12:34 < Xylakant> }), 12:34 < Xylakant> test2: new Hash({ 12:34 < Xylakant> key1: 'value_from_test2' 12:34 < Xylakant> }) 12:34 < Xylakant> }) 12:34 < Xylakant> it seems to me that the second value overwrites the first one 12:45 -!- shoan [n=shoan@59.92.198.235] has joined #agavi 12:59 -!- shoan_ [n=shoan@59.92.195.9] has quit [Read error: 110 (Connection timed out)] 13:09 -!- codecop [n=codecop@85.206.207.187] has quit ["Have to go"] 13:15 < Xylakant> yuck. the hash implementation of mootools is borked. if i read this properly, the hashmap is global, meaning that every hash shares the same values... 13:16 -!- RossC0_ [n=RossC0@80.4.120.163] has joined #agavi 13:19 < RossC0_> hmm - not good 13:21 < v-dogg> what's not? 13:22 < RossC0_> what xylakant said about the hashes 13:22 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 13:23 < v-dogg> ah 13:23 < digitarald> Xylakant, ticket is already posted, think it will be fixed today 13:25 < Xylakant> this one: http://dev.mootools.net/ticket/62? 13:28 < digitarald> yes, i'm talking with the devs about it 13:29 < v-dogg> digitarald is The Inside-Man 13:29 < Xylakant> well, it's marked as fixed. so i guess i'll need an svn download as the fix is not in the stable version 13:29 < v-dogg> he knows The People 13:29 < v-dogg> :) 13:29 < digitarald> :D ... Important People 13:29 < digitarald> who know Other People 13:29 < digitarald> ... Big People :D 13:30 < digitarald> Xylakant, they implemented the new $merge method yesterday, fix for hash will come soon 13:33 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Read error: 110 (Connection timed out)] 13:33 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 13:33 < Xylakant> i merged that changeset into my version, seems to work fine 13:33 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Remote closed the connection] 13:34 < digitarald> u merged ... library hacker ;) 13:34 < Xylakant> i even did that manually :) 13:34 < Xylakant> it's a two-line fix 13:34 < Xylakant> right, off to grab some food 13:35 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 13:36 -!- RossC0 [n=RossC0@80.4.120.163] has quit [Client Quit] 13:38 < _cheerios> digitarald hangs with cows. cool! 13:39 < _cheerios> i saw a similar "feature" of js objects in a blog post a week back 13:40 < _cheerios> Founders Hurley and Chen have registered to sell stock worth $326.2 million each (valued using today’s closing price). Jawad Karim, the quiet “third founderâ€, has registered to sell 137,443 shares worth around $64.6 million - and all these guys are in their late twenties. Sequoia could sell shares worth $504.4 million, according to a filing today with the U.S. Securities and Exchange Commission. 13:42 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 13:42 < v-dogg> Founders of what? 13:43 < digitarald> Tube You? 13:43 < _cheerios> OMG DOGG 13:44 < digitarald> tube yourself 13:44 < _cheerios> heh 13:44 < _cheerios> go tube yourself 13:46 < digitarald> Ey, tube u, u mother-tuber! 13:46 -!- Wombert [n=Wombert@dslb-084-056-059-146.pools.arcor-ip.net] has joined #agavi 13:47 < _cheerios> http://flickr.com/photos/jonnodotcom/330673112/in/set-1603647/ << sweet tattoo 13:50 -!- RossC0_ [n=RossC0@80.4.120.163] has quit [Read error: 110 (Connection timed out)] 13:51 -!- RossC0_ [n=RossC0@80.4.120.163] has joined #agavi 13:56 -!- shoan [n=shoan@59.92.198.235] has quit [Read error: 60 (Operation timed out)] 14:00 -!- shoan [n=shoan@59.92.202.239] has joined #agavi 14:02 -!- RossC0 [n=RossC0@80.4.120.163] has quit [Read error: 110 (Connection timed out)] 14:07 < Arme[0]> splatch: nothing, you asked xgl and ubuntu, I asked Beryl ;) 14:07 < splatch> what's beryl? 14:08 < Arme[0]> check this out http://www.youtube.com/watch?v=JD6BiKnLzck&NR 14:18 -!- shoan_ [n=shoan@59.92.159.145] has joined #agavi 14:19 < digitarald> beryl ... nice ... too bad i have only my old notebook .. 14:20 < Arme[0]> yep, me too :( 14:21 -!- MikeSeth is now known as AngryMikeSeth 14:24 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 14:24 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 14:28 -!- Arme[N] is now known as Arme[0] 14:33 -!- shoan [n=shoan@59.92.202.239] has quit [Read error: 110 (Connection timed out)] 14:39 < Wombert> 0.11RC2 announcement mail sent, too 14:39 < Wombert> keep the feedback coming, guys! 14:39 < Wombert> => 14:39 < Xylakant> i'm overwhelmed. 14:40 < Xylakant> and currently messing around with javascript, so didn't have time to read the mail properly yet :) 14:41 < digitarald> playing with mootools? 14:41 < _cheerios> busy convering shit php code to agavi. x_X 14:41 < digitarald> mh, there has to be the way to add the agavi commands into eclipse ant 14:43 < Xylakant> digitarald: more or less. trying to figure out the best way to get basic localization for number and date formats in javascript 14:44 < digitarald> extend Date object with your own Class maybe 14:45 < Xylakant> i did that 14:45 < Xylakant> but the problem is how to get the information about the preferred date formats to the javascript 14:46 < Xylakant> i don't want to use the localized format of the browser but the format the application is localized in 14:46 < Xylakant> so far i've settled with a hash that contains that information 14:47 < Xylakant> and spent half the day finding the mootools hash-bug :/ 14:48 < digitarald> mh, hash containing the localized data 14:50 < Xylakant> the hash contains the format strings that should be used for localized display 14:50 -!- shoan [n=shoan@59.92.141.162] has joined #agavi 14:50 < Xylakant> and then my application can dynamically create the localization data 14:51 < Xylakant> the other way might have been to make an ajax request for any date that i want formatted, but that seemed like a bad option 14:51 < digitarald> why not an object, what is the benefit of Hash holding the templates? 14:53 < _cheerios> sweet. ms live email updated, doesn't give "loading..." all the time anymore 14:53 < Xylakant> convinience methods such as Hash.hasKey() etc 14:53 < _cheerios> plus they integrated links to calendar etc., similar to google's offering now, when going into gmail 14:54 < Xylakant> the mootools hash maps pretty directly to the underlying object 14:54 < digitarald> mh, have to refactor my Actions ... initialize() is called even in caching ... move my shortcuts to execute ... or ... bad idea ... there no execute anymore ... mh 14:54 < digitarald> u're right Xylakant, its cleaner 14:55 < Xylakant> best support request ever: customer complains that a domain he doesn't own does *not* display the content he want there. 14:55 < _cheerios> i'd be angry too if my Star Trek mind tricks weren't working on website anymore 14:55 < digitarald> http://dev.digitarald.de/tbl.html : i mapped the parsing functions for td-content as object to the class, so extending the class would also extend the parsing rules if u need it 14:57 < digitarald> Xylakant, a client complained, that he wants that domain, there is no website, its free and not taken ... 14:57 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."] 14:57 < Xylakant> well, at least you could help him, i couldn't 14:57 < digitarald> ... just costs 20.000 bugs because the FREE domain is for sale 14:58 < Xylakant> oh. 14:58 < digitarald> but, hey ... there is no page ... so its free ... only a big "FOR SALE" page 14:58 < digitarald> seems free to me ... 14:58 < digitarald> for sale - free ... isnt it the same 14:58 -!- eremit [n=eremit@p5490C046.dip.t-dialin.net] has joined #agavi 15:00 < Xylakant> guess not 15:00 < Xylakant> you could have replied: no problem, that makes 20.000 for the registration, 5.000 handling fees :) 15:00 < digitarald> this woman really drives me crazy, 30 mails a day ... i will setup mantis next week :D 15:00 -!- shoan__ [n=shoan@59.92.153.229] has joined #agavi 15:01 < digitarald> wouldn't be a is_response($response->getContent() ) check in AgaviExecutionTimeFilter an easy solution to prevent corrupted resource handlers 15:02 < digitarald> because now agavi handles resources as content 15:02 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 15:03 < _cheerios> people whom just want things done, whom dont understand about what they're asking [but they want it done] are tough cookies, idd 15:03 -!- shoan_ [n=shoan@59.92.159.145] has quit [Read error: 110 (Connection timed out)] 15:03 < Xylakant> hey, sometimes they're pretty coold 15:03 < Xylakant> cool... 15:04 < Xylakant> one customer here always says "well, it looks easy to me, but you're the expert so i trust you". 15:04 < Xylakant> easy to handle. 15:04 < Wombert> digitarald: could add that, yes, but sample app and new code templates now set the filter up so it only runs for "html" mode 15:04 < Wombert> you really should have output types for images and stuff 15:04 < Wombert> but yes, it's an idea, I'll add that 15:04 < digitarald> thx, add my name ;) 15:05 < Xylakant> but you could read a static html file as well ;) 15:05 < _cheerios> SAY MY NAME 15:05 < Xylakant> and serve it as "html" output type 15:05 < Wombert> ... 15:05 < digitarald> :D give me animal names ;) 15:05 < Wombert> SAY BABY I LOOOOVE YOU 15:05 < Wombert> mmmh that song is ace 15:06 < digitarald> Xylakant ... right ... is_resource check will fix this 15:06 < digitarald> and now i add output_types parameter in my app ;) 15:07 < digitarald> Xylakant, which table sorting script do u use in the "old" cms? 15:08 < Xylakant> there is no table sorting javascript 15:08 < AngryMikeSeth> YUI has a sortable component 15:08 < digitarald> thought there was one, the one that filled memory because it cloned the table for sorting 15:08 < Xylakant> oh no, that was something different 15:09 < digitarald> Mike u mean YUI Pagination? 15:09 < Xylakant> some bright guy had the idea of implementing a navigation as a set of nested tables 15:09 < Xylakant> and collapsing a node removed all child dom nodes from the page and stored them in a javascript array 15:10 -!- RossC0_ [n=RossC0@80.4.120.163] has quit [Read error: 60 (Operation timed out)] 15:10 < AngryMikeSeth> digitarald, sorry, wrong. Not the same as I thought. 15:14 -!- shoan [n=shoan@59.92.141.162] has quit [Read error: 110 (Connection timed out)] 15:16 < AngryMikeSeth> hm 15:16 < AngryMikeSeth> I just realized that with a little recursion and __call() magic I can create an *almost* useful DSL in PHP 15:16 * AngryMikeSeth shudders at the thought of using PHP voodoo to imitate a functional language 15:19 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 15:19 < horros> v-dogg: *nudge* 15:20 * horros pokes v-dogg with AngryMikeSeth 15:20 < AngryMikeSeth> what I did 15:20 < AngryMikeSeth> i wasnt even there 15:20 < AngryMikeSeth> someone must've planted it 15:21 < CIA-23> david * r1680 /branches/0.11/src/ (4 files in 2 dirs): added Response::isContentMutable() plus some checks, closes #414 15:22 < horros> do I remember completely wrong, or was there some fancy-schmancy way of running some arbitary queries after setting up the database connection? 15:22 < Wombert> propel 1.3? 15:22 < horros> ayea 15:22 < Wombert> I added that the other day, yeah 15:22 < Wombert> lemme have a look 15:22 < horros> I have some vague memories of it :I 15:22 < horros> need to set the schema search path for my pgsql database 15:22 < horros> last time I did it by h4x0ring creole :) 15:23 < Wombert> in your runtime-conf.xml 15:23 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)] 15:23 < Wombert> 15:23 < Wombert> SELECT * FROM foo 15:23 < Wombert> SELECT * FROM bar 15:23 < Wombert> 15:23 < horros> ah, yes, there it is 15:24 < Wombert> that was added a month ago tho :p 15:24 < Wombert> also, for mysql, there is utf8 15:24 < Wombert> that will run SET NAMES utf8 for you 15:25 < horros> luckily I don't have to use that heap of dung :) 15:25 < digitarald> Wombert ... wow ... never knew that ... 15:25 < _cheerios> what does the charset setting do behind scenes 15:25 < digitarald> so i can kick my DatabaseFilter 15:25 < Wombert> digitarald: it hasn't been in very long, I added that because... uhm... no idea 15:27 < digitarald> is there also now a good way for logging the queries? 15:28 < digitarald> i disabled it since propel 1.3 ... havent tested it 15:33 < Xylakant> "SET NAMES utf8" changes the connection charset to utf8, returning all result data as utf8 as well as parsing the queries as utf8. 15:33 < Wombert> not important for mysql < 4.1 15:33 < Xylakant> you can then use utf8-chars in table/fieldnames as well if the database itself has been created as utf8 15:33 < Wombert> but as of 4.1, you'll only get back ? for utf8 chars 15:34 < Xylakant> (not recommended though, might lead to funny results when you ever connect with a different charset...) 15:40 < horros> smegging smeg 15:40 -!- shoan [n=shoan@59.92.146.80] has joined #agavi 15:42 < Wombert> looking back now, rc1 should have been beta1, and rc2 should have been rc1 :p 15:42 < Wombert> what's going on, horros 15:42 < horros> nothing much 15:42 < horros> PDO is confusing me :) 15:46 < Wombert> mmmmh 15:46 < Wombert> new lost episode 15:46 < Wombert> fffinally 15:47 < Wombert> I'll watch that now 15:47 < Wombert> the person who dares to highlight me will die a horrible, slow death 15:47 < Wombert> and I mean that literally 15:47 < Wombert> => 15:48 < Xylakant> ? 15:48 < Xylakant> you just lost me. 15:54 -!- RossC0_ [n=RossC0@80.4.120.163] has joined #agavi 15:56 -!- shoan__ [n=shoan@59.92.153.229] has quit [Read error: 110 (Connection timed out)] 16:02 < horros> hmm 16:02 < horros> what am I supposed to use instead of $request->setError() nowadays? 16:07 < digitarald> getValidationManager()->setError() 16:07 < digitarald> its in the container 16:16 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Read error: 110 (Connection timed out)] 16:17 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:22 < horros> home time 16:22 * horros & 17:17 -!- Arme[N] is now known as irix 17:17 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:17 -!- irix is now known as Arme[N] 17:21 -!- shoan [n=shoan@59.92.146.80] has quit [Read error: 110 (Connection timed out)] 17:26 < Wombert> dominik posted a message to the users list explaining some date formatting things if anyone is interested 17:30 < RossC0_> cool - that going into the docs ;) 17:39 < Wombert> oh man 17:39 < Wombert> I desperately need some cableyoyos 17:44 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 17:48 < RossC0_> cableyoyos ? 17:48 < Wombert> www.cableyoyo.com 17:49 < RossC0_> I think I asked this yesterday - but anyone used xapian? I'm wondering how I index a pdf or document.. 17:50 < RossC0_> oww cool - I have an ipod sock but I need a yoyo! 17:51 < Wombert> I have too many damn cables all over the place 17:51 < Wombert> the cool thing is 17:51 < Wombert> there's adhesive tape on one side so you can stick it to the back of your monitor or so 17:52 < Wombert> (look at the six slides in products -> cableyoyo) 17:53 < Wombert> the cool thing is that only one end of the cable can be rolled off 17:53 < Wombert> but order them from their site 17:53 < Wombert> I found a german store that charges 30 euros for 3 w/ shipping 17:53 < Wombert> if I order from the US, I get 6 w/ shipping for less than that 17:55 < RossC0_> applestore uk has them :) 17:55 < Wombert> good idea, maybe gravis sells them here 17:56 < Wombert> I wonder when apple will open the first store over here 17:56 < RossC0_> expensive: http://tinyurl.com/24uatt 17:58 < digitarald> Wombert, we have 3 apple stores here in palma ... but they all suck 17:59 < digitarald> the best shop for apple here is Corte Inglés, its like the german Karstadt 18:04 -!- Arme[N] is now known as Arme[0] 18:05 < Wombert> digitarald: yes but no APPLE stores right? 18:05 < Wombert> RossC0_: how much are they in the uk store? 18:05 < digitarald> the 2 others call themself 'Apple Store' and they only have apple 18:05 < Wombert> digitarald: yes but are they owned and run by apple 18:06 < digitarald> ah, right 18:06 < Wombert> we also have apple-only shops here but no "real" apple store 18:06 < RossC0_> £9.00 18:06 < RossC0_> we have an apple store - its full of tourists and people surfing for free! 18:06 < Wombert> RossC0_: plus shipping 18:07 < Wombert> that means it's cheaper to order from cableyoyo.com, even though the difference is not as big 18:07 < Wombert> you'd save only a couple of pounds 18:07 < Wombert> whereas I get double the amount for the same price :) 18:07 < Wombert> and in the apple store... mmmh... let me check 18:08 < Wombert> I'd save 11 euros if I order from cableyoyo.com over apple.de 18:08 < Wombert> which means I get another three for free 18:08 < Wombert> :) 18:08 < Wombert> RossC0_: don't you have two now? 18:08 < Wombert> and one is the world's largest or something? 18:08 < RossC0_> yeah we do :) 18:08 < RossC0_> greedy brits! 18:09 < Wombert> the one in 18:09 < Wombert> aaah damn 18:09 < Wombert> regent street? 18:09 < Wombert> is that right? 18:09 -!- benny`work [n=benny@p54AC33C2.dip0.t-ipconnect.de] has joined #agavi 18:10 < RossC0_> yup 18:11 < RossC0_> I used to work on regent street! 18:11 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:11 < _cheerios> yo 18:11 -!- codecop [n=codecop@85.206.207.187] has joined #agavi 18:11 < RossC0_> is the apple one for a single or pack of 3? 18:11 < Wombert> 3 18:11 < RossC0_> few 18:11 < Wombert> is regent street the one with the many shops 18:12 < Wombert> ze expensive ones, even 18:12 < Wombert> I don't remember all the street names 18:12 < Wombert> aaah man it's time I visit london again 18:12 < RossC0_> yup - and hamleys the toy store! 18:12 < RossC0_> amazon sell the yoyo pops for my ipod :) 18:13 < Wombert> I just remember a lot of fashion stores, and, if I'm not mistaken, there was to H&Ms there or something like that 18:13 < Wombert> two 18:14 < RossC0_> yeap - not a good street really 18:16 < Wombert> ah but still an awesome city, really 18:16 < digitarald> ... and the Harrods 18:16 < Wombert> must say though I was lucky. a whole week without a single cloud 18:16 < Wombert> harrods is insane 18:17 < Wombert> I remember how the salesboys in the toy department tried the rc cars all the time 18:17 < Wombert> and a mum bought birthday presents for her daugher, sixth birthday 18:18 < Wombert> "yeahhh you know we're from floridaah and it's our sweeties sixth birthday so we thought we'd come to yurop for some shawpping" 18:22 < RossC0_> lol 18:22 < Wombert> seriously 18:23 < Wombert> and while not everything there is utterly expensive (just... expensive)... I was flattered about some things I discovered 18:23 < Wombert> like that ralph lauren polo shirt... 18:23 < Wombert> ugliest colors ever, huge light green / pink stripes 18:24 < Wombert> 379£ 18:24 < Wombert> I mean... wtf 18:24 < Wombert> but they have delicious sweets in the basement 18:24 < Wombert> mmmh 18:25 < Wombert> anyone tried http://www.techcrunch.com/2007/02/07/yahoo-launches-pipes/ yet? 18:25 < RossC0_> london is an expensive place! harrods is just a magnet for stupid rich people ! 18:26 < Wombert> it is horribly expensive, unfortunately 18:26 < RossC0_> and for people who want to look at stupid rich people! 18:26 < Wombert> haha 18:26 < Wombert> :> 18:28 < RossC0_> pipes.yahoo.com ? 18:28 < RossC0_> fails to load :-S 18:28 < Wombert> won't load for me 18:28 < Wombert> yah 18:28 < Wombert> bummer 18:29 < MikeSeth> god whats up with all the pipes hype 18:29 < MikeSeth> its just a stupid rss reader 18:30 < MikeSeth> #phpc is all freaking about it 18:38 < _cheerios> i checked out pipes earlier today, seemed like an exciting toy 18:41 < _cheerios> probably because seemed like EVERY site covering web stuff was hyping it today 18:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 18:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 19:07 * RossC0_ makes infinite loops ... 19:08 < Wombert> load a special layout without decorators in ze slots! 19:08 < Wombert> use $this->container->getParameter('is_slot') in the view to know if you're a slot or not 19:09 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 19:09 < Whisller> hi 19:09 < RossC0_> nah - it was a xapian loop thang *eek* 19:11 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 19:11 < MrJeep> hi! 19:11 < RossC0_> hi hi! xD 19:13 < Wombert> it xapian any good, RossC0_? 19:14 < RossC0_> dunno - better than zend - little documentation thou - so having to translate the C++ docs 19:15 < RossC0_> doesn't help I'm using an example from 2005 before the php5 class helper was about 19:16 < RossC0_> but looks like it will do the job and theres no java server to manage 19:17 < RossC0_> unlike if I used java lucene 19:17 < RossC0_> not sure how to index docs and other media yet thou.. 19:17 < _cheerios> hahaha 19:19 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 19:23 < _cheerios> zommmGG *ouch* too much sitting on comp 19:25 < v-dogg> where do I set the error messages now (in an action) 19:25 < Wombert> b00h! 19:25 < Wombert> RTFL! 19:25 < Wombert> [15:02] horros: hmm 19:25 < Wombert> [15:02] horros: what am I supposed to use instead of $request->setError() nowadays? 19:25 < Wombert> [15:07] digitarald: getValidationManager()->setError() 19:25 < Wombert> [15:07] digitarald: its in the container 19:25 < Wombert> :) 19:26 < v-dogg> thanks :) 19:27 < v-dogg> my ADSL is still dead so I can't be bothered to (a) read the log or (b) try to get the info from svn commit messages :) 19:29 < RossC0_> pipes is back up 19:31 < RossC0_> hmm : System Error 19:31 < RossC0_> :) 19:31 < v-dogg> not reading the zource before asking here is just me being lazy :) 19:32 < _cheerios> everyone wants to see the pipes! 19:32 < _cheerios> first tubes, then pipes, what next? 19:33 < RossC0_> man its foobarred! 19:33 < RossC0_> I like how it has all the YUI files and then one named Maxwell :-) 19:34 < RossC0_> Maxwell should have called it Maxwell_the_pipe_master :p 19:35 < RossC0_> now theres a Super Mario spin off in the making 19:35 < RossC0_> I like the error message: "Our Pipes are clogged! We've called the plumbers!" 19:41 < _cheerios> there's good money to be made in plumbing, Yahoo is smart! 19:42 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 19:44 -!- shoan [n=shoan@59.92.146.232] has joined #agavi 19:54 < MrJeep> oh yhea, I asked before 19:54 < MrJeep> but I'm not sure if I had an answer 19:54 < MrJeep> what's the use of the modpub directory ? 19:58 < _cheerios> it's where your css+js++images++ went in mojavi 20:06 -!- shoan [n=shoan@59.92.146.232] has quit [Read error: 110 (Connection timed out)] 20:17 < _cheerios> neighbour sure likes to drill the walls... 20:33 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 110 (Connection timed out)] 20:40 -!- RossC0_ [n=RossC0@80.4.120.163] has quit [Read error: 110 (Connection timed out)] 21:20 -!- shoan [n=shoan@59.92.128.98] has joined #agavi 21:24 -!- codecop [n=codecop@85.206.207.187] has quit ["Have to go"] 21:28 -!- codecop [n=codecop_@85.206.207.187] has joined #agavi 21:42 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 21:57 < splatch> Wombert! 21:57 < Wombert> y000! 21:57 < Wombert> what's up splatch 21:57 < Wombert> AngryMikeSeth: ping 21:57 < splatch> Wombert: you have to write to kazek :) 21:58 < Wombert> okay 21:59 < digitarald> hey, the new site ... its not dead ... 21:59 < digitarald> if u need a helping hand for some fancy-ajax-candy ;) 22:00 < Wombert> heh nah we won't have any of that 22:12 < digitarald> no ... 22:13 < digitarald> i thought u wanted to add javascript to switch the header ;) 22:16 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:18 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 22:31 < GMFlash> nothing like waiting for mysql to import 300,000 rows... zzzz 22:33 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 22:59 < splatch> Wombert: can I write any post on my bog about Agavi? 23:02 -!- codecop [n=codecop_@85.206.207.187] has quit ["Leaving"] 23:03 < Wombert> sure 23:03 < Wombert> I have to blog about RC2, too 23:03 < Wombert> aaaah so much stuff to do 23:05 -!- epaulin [n=epaulin@61.191.26.228] has quit [Read error: 113 (No route to host)] 23:11 < splatch> Wombert: can you write me some changes, in few points? 23:14 < Wombert> splatch: changelog, release notes, emails 23:15 < splatch> :) 23:18 < Wombert> email to darek sent 23:19 < Wombert> I'm calling it a day 23:19 < Wombert> see you guys tomorrow 23:19 < Wombert> splatch: look at the mailing list archives 23:19 < Wombert> the RC1 and RC2 announcements contain a list of things 23:19 < Wombert> plus the RELEASE_NOTES file 23:19 < Wombert> good night 23:20 < _cheerios> nn Wombie :) 23:22 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 23:23 < impl> Wombert: night 23:26 < splatch> Wombert: wow, sub actions! 23:26 < splatch> shutdown listeners :) 23:49 -!- [1]Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 23:49 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [Read error: 131 (Connection reset by peer)] 23:49 -!- [1]Whisller is now known as Whisller 23:55 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] --- Day changed Fri Feb 09 2007 00:12 < MrJeep> anyone know about this error : Headers already sent, output started in "D:\Web\Project\Web\Etrouve\libs\agavi\storage\AgaviSessionStorage.class.php" on line "103" ? 00:12 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 00:13 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 00:18 < MrJeep> hum this one is pretty weird 00:20 < MrJeep> I also get "Warning: session_start() [function.session-start]: defined (__autoload) but not found in D:\Web\Project\Web\Etrouve\libs\agavi\storage\AgaviSessionStorage.class.php on line 103" 00:21 < impl> using SVN or RC2? 00:22 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- The professional IRC Client"] 00:22 < MrJeep> svn 00:22 < impl> http://trac.agavi.org/browser/branches/0.11/src/storage/AgaviSessionStorage.class.php#L103 00:22 < impl> that shouldn't be output :\ 00:23 < MrJeep> odd 00:25 < MrJeep> could I be displaying something that screw up the header stuff ? 00:26 < impl> Yeah 00:26 < impl> if you use echo anywhere except in templates it could be screwing stuff up 00:27 < MrJeep> but I'm prettu sure I don't :S 00:27 < MrJeep> it suddently stoped 00:27 < MrJeep> http://mrjeep.dyndns.org:81/Project/Web/Caffucino/pub/ 00:28 < impl> it's magically working now? 00:28 < MrJeep> on my comp it's not 00:28 < impl> :S 00:28 < MrJeep> lol 00:29 < MrJeep> with localhost it's not working 00:29 < MrJeep> with mrjeep.dyndns.org it does 00:29 < MrJeep> I don't get it 00:29 < MrJeep> http://localhost:81/Project/Web/Caffucino/pub/ -> Not working 00:29 < MrJeep> http://mrjeep.dyndns.org:81/Project/Web/Caffucino/pub/ -> Working 00:29 < impl> and they're both the same physical box? 00:29 < MrJeep> exacly 00:29 < MrJeep> the same 00:29 < impl> wtf 00:29 < MrJeep> yhea 00:30 < MrJeep> w t f 00:30 < MrJeep> i get this for the stack trace : 00:30 < MrJeep> # $this->setHttpHeader('Location', $this->redirect['location']); 00:30 < MrJeep> # $this->setHttpStatusCode($this->redirect['code']); 00:30 < MrJeep> # } 00:30 < MrJeep> # 00:30 < MrJeep> $this->sendHttpResponseHeaders($outputType); 00:30 < MrJeep> # if(!$this->redirect) { 00:30 < MrJeep> # $this->sendContent(); 00:30 < MrJeep> # } 00:31 < impl> are you trying to redirect somehow? 00:31 < MrJeep> nop, 00:31 < MrJeep> just displaying a basic page 00:31 < MrJeep> i tried to remove my template content 00:31 < MrJeep> but it's not working either 00:31 < impl> I've not no idea why that wouldn't be working 00:33 < MrJeep> wow 00:33 < MrJeep> wombert ? 00:33 < impl> got* 00:34 < MrJeep> clearing the cache does not fix it 00:35 < splatch> code house - opened doors to better solutions 00:36 < MrJeep> the weird thing is it suddenly stopped :S 00:37 < splatch> anyone get idea of my slogan? 00:38 < impl> splatch: I'd say "opening the door to better solutions" or so 00:38 < impl> The present tense is more effective for English slogans 00:39 < splatch> impl: ok, we can use this :) 00:39 < splatch> impl: thank you! 00:39 * splatch hugs impl :] 00:40 < MrJeep> i'll try rebooting 00:40 < impl> splatch: :) 00:40 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 00:40 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 00:42 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Success] 00:44 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 00:45 < MrJeep> working ... 00:45 < MrJeep> wow 00:45 < MrJeep> this is weird 01:02 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 01:33 -!- benny`work [n=benny@p54AC33C2.dip0.t-ipconnect.de] has quit ["unset($this);"] 01:38 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 01:48 -!- Wombert [n=Wombert@dslb-084-056-059-146.pools.arcor-ip.net] has quit [] 03:00 -!- shoan_ [n=shoan@59.92.148.48] has joined #agavi 03:05 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" good night"] 03:08 -!- shoan [n=shoan@59.92.128.98] has quit [Read error: 110 (Connection timed out)] 03:32 -!- shoan [n=shoan@59.92.150.103] has joined #agavi 03:48 -!- shoan_ [n=shoan@59.92.148.48] has quit [Read error: 110 (Connection timed out)] 04:00 -!- implement [n=impl@httpcraft/php/impl] has joined #agavi 04:00 -!- impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.] 04:00 -!- implement is now known as impl 04:14 -!- ttj [n=tjorri@kosh.hut.fi] has joined #agavi 04:14 -!- Topic for #agavi: Welcome to Agavi :: latest: 0.11.0RC2 :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 (99.5780591%, woot!) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 04:14 -!- Topic set by Wombert [] [Thu Feb 8 02:43:01 2007] 04:14 [Users #agavi] 04:14 [ AngryMikeSeth] [ eremit ] [ impl ] [ shoan ] [ um ] 04:14 [ Arme[N-1] ] [ GMFlash] [ MrJeep ] [ splatch] [ v-dogg] 04:14 [ CIA-23 ] [ horros ] [ neotekk] [ ttj ] 04:14 -!- Irssi: #agavi: Total of 14 nicks [0 ops, 0 halfops, 0 voices, 14 normal] 04:14 -!- Channel #agavi created Sun Nov 26 08:43:22 2006 04:14 -!- Irssi: Join to #agavi was synced in 3 secs 04:42 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 04:47 -!- shoan_ [n=shoan@59.92.147.210] has joined #agavi 04:51 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 05:01 -!- shoan [n=shoan@59.92.150.103] has quit [Read error: 110 (Connection timed out)] 05:05 -!- shoan [n=shoan@59.92.146.72] has joined #agavi 05:19 -!- shoan_ [n=shoan@59.92.147.210] has quit [Read error: 110 (Connection timed out)] 05:29 -!- shoan_ [n=shoan@59.92.137.221] has joined #agavi 05:44 -!- shoan [n=shoan@59.92.146.72] has quit [Read error: 110 (Connection timed out)] 05:55 -!- shoan [n=shoan@59.92.173.46] has joined #agavi 06:10 -!- shoan_ [n=shoan@59.92.137.221] has quit [Read error: 110 (Connection timed out)] 06:36 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 06:44 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 09:04 -!- shoan_ [n=shoan@59.92.190.13] has joined #agavi 09:20 -!- shoan [n=shoan@59.92.173.46] has quit [Read error: 110 (Connection timed out)] 09:23 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 09:24 < v-dogg> huomenta 09:32 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 09:51 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 10:02 -!- Wombert [n=Wombert@dslb-084-056-034-093.pools.arcor-ip.net] has joined #agavi 10:02 < Arme[N]> huomenta 10:03 < Arme[N]> huomenta X14 10:06 < Wombert> huomenta 10:12 < v-dogg> got my adsl back \o/ 10:15 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 10:24 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 10:27 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Nick collision from services.] 10:28 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 10:45 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:46 < horros> huomenta 10:49 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:50 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 10:50 < Xylakant> hello 10:54 -!- v-dogg [i=vmakinen@phantom.daug.net] has quit [Read error: 110 (Connection timed out)] 10:54 < _cheerios> huomenta 10:54 * horros humms 10:56 < RossC0> howdy 10:56 < horros> there we go! 10:56 < horros> hmm, this whole porting to 0.11 isn't really such a big mess I feared it would be 11:07 -!- eremit_ [n=eremit@p5490D970.dip.t-dialin.net] has joined #agavi 11:09 * RossC0 considering porting my webapp to yahoo pipes :p 11:09 < Wombert> haha 11:11 -!- v-dogg [i=vmakinen@phantom.daug.net] has joined #agavi 11:12 < horros> hmm 11:12 < horros> this is peculiar 11:12 * horros kicks css in the nuts for not working 11:13 < horros> ah 11:13 < horros> there we go 11:13 < Wombert> I bet it was your fault 11:14 < horros> of coursae 11:14 < horros> I'm not a HTML monkey 11:14 < horros> :) 11:15 < horros> peculiar... it changes the font for everything inside a div... except for a submit button :O 11:17 -!- eremit [n=eremit@p5490C046.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 11:20 < RossC0> horros: use firebug! it will show you the inheritance of the css 11:20 < codecop> this line giving error in sample app when username and pass incorrect, how change it? $this->getContext()->getRequest()->setError($e->getMessage(), 'Wrong ' . ucfirst($e->getMessage())); 11:20 < codecop> Call to undefined method AgaviWebRequest::setError() in 11:22 < v-dogg> $this->container->getValidationManager()->setError('message', $e->getMessage()); 11:22 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["will be back in a while"] 11:22 < _cheerios> anyone done a "related articles" feature, where from a database of articles you find ones that are similar to each other (eg. google news)? 11:23 < codecop> v-dogg, thanx 11:31 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Funny face"] 11:36 < _cheerios> suddenly things got very scientific o_O 11:41 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:42 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 11:48 < pressureman> how stable is 0.11-head? 11:50 -!- eremit_ is now known as eremit 11:53 < Wombert> pressureman: stable 11:53 < v-dogg> pressureman: svn branches/0.11 was released as a RC2 the other day 11:53 < Wombert> see mailing lists 11:53 < Wombert> we released RC2 11:53 < Wombert> no more changes 11:53 < Wombert> also see http://trac.agavi.org/milestone/0.11 11:53 < Wombert> codecop: can you file a ticket for that 11:53 < Wombert> or someone else 11:53 < Wombert> gotta run 11:53 < Wombert> bbiab 11:53 < pressureman> i keep getting this: Fatal error: Declaration of Default_IndexSuccessView::execute() must be compatible with that of AgaviView::execute() 11:54 < Wombert> v-dogg: can you help him 11:54 < pressureman> and i'm damn sure it's the same declaration 11:54 < v-dogg> sure 11:54 < Wombert> t 11:54 < Wombert> y 11:54 < Wombert> base view too please 11:54 < Wombert> maybe start fresh with"agavi project" or copy from there 11:55 < _cheerios> haha @ Web 2.0 University graphic ad 11:56 < v-dogg> pressureman: are you sure it's using agavi from the right place? 11:56 < _cheerios> i got that when upgrading once, the view's had public, while the definition changed to protected or something 11:56 < v-dogg> because if php says that, it must be so :) 11:56 < pressureman> yep, same location as before 11:57 < Wombert> pressureman: execute(AgaviRequestDataHolder $rd) not execute(AgaviParameterHolder $r) 11:58 < Wombert> but you shouldn't use execute() in views 11:58 < Wombert> mailing lists and v-dogg can explain why 11:58 < pressureman> this is the last major api change before 0.11 final, right? 11:58 < v-dogg> pressureman: yup. you should move to using executeHtml and friends 11:59 < v-dogg> pressureman: yes (wombie promised :) 12:00 < pressureman> weird thing is, i'm using executeHtml 12:00 < pressureman> so i don't know where it's getting the execute from 12:03 < v-dogg> hmm... 12:03 < codecop> Wombert, ok i make ticket 12:03 < v-dogg> your view extends AgaviView directly? 12:03 < pressureman> yes, one of them 12:03 < pressureman> most of them extend a class of mine, which extends agaviview 12:04 < pressureman> but this one is about as simple as you could get 12:05 < pressureman> i've even commented out my executeHtml 12:05 < pressureman> and it still gets the error 12:05 < pressureman> i suspect maybe it's my app config dir 12:06 < pressureman> or some other setting buried deep in some xml somewhere 12:06 < pressureman> this is starting to remind me of struts 12:06 < v-dogg> that's a php error 12:07 < _cheerios> remember to clear caches... 12:08 < horros> why the smeg can't I add margin-top/padding-top to a div that has display: table-cell ?! 12:08 < horros> grumble grumble 12:08 < pressureman> i have it running in dev mode. the cache clears with each request 12:09 < _cheerios> it has helped me occasionally, after an svn update keeps old cached data (even in dev mode) 12:09 < v-dogg> that can't be... 12:09 < _cheerios> though very different errors, probably won't apply in this case. 12:09 < pressureman> nope, no diff 12:10 < v-dogg> can you pastebin your Default_IndexSuccessView, please? 12:11 < v-dogg> did you install agavi via pear or manually? 12:11 < pressureman> svn 12:11 < pressureman> rev 1680 12:11 < pressureman> from 0.11 branch 12:15 < pressureman> http://pastebin.ca/346378 12:15 < pressureman> it's about as simple as i can get 12:15 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 12:16 < pressureman> oops, disregard the Foo, i was playing 12:16 < pressureman> i'm upgrading from rc1 to rc2 12:16 < pressureman> do i need to overhaul my routes or something? 12:16 < v-dogg> you need to implement View::execute 12:17 < v-dogg> it's abstract 12:17 < v-dogg> what is it error message php gave you? 12:17 < pressureman> Fatal error: Declaration of Default_DirectorySuccessView::execute() must be compatible with that of AgaviView::execute() 12:18 < v-dogg> because it should say just that: "class needs to be declared as abstract blaa blaa blaa..." 12:18 < v-dogg> that's weird 12:18 < pressureman> should i try cobbling the AgaviSampleAppDefaultBaseView into my app? 12:19 < pressureman> looks like a reasonable starting point, and i'll customise it later 12:20 < v-dogg> or just use MyOwnBaseView and implement execute method 12:20 < v-dogg> one way is to make execute final and make it forward to 404 action 12:21 -!- Arme[N] is now known as Arme[0] 12:21 < pressureman> ok now this is weird 12:21 < pressureman> class Default_DirectorySuccessView extends Talk2BaseView 12:22 < pressureman> should be throwing an exception, because i haven't defined that class 12:22 < pressureman> but i'm still getting the same error 12:22 < v-dogg> ehm... ok... 12:24 < pressureman> f&*&k 12:24 < pressureman> it's probably less work to migrate to zend framework or django 12:24 < _cheerios> hihi 12:25 < pressureman> flipping moving target this api is 12:26 < pressureman> ok, i think i'll start a new project, then move my files in one by one 12:26 < pressureman> it's the only way i can think of at least getting something intelligent to happen 12:26 < v-dogg> pressureman: my bets are on some include_path/some other path problem 12:26 -!- eremit [n=eremit@p5490D970.dip.t-dialin.net] has left #agavi [] 12:26 < v-dogg> or some other weird-ass-php-problem 12:27 < v-dogg> because if you not getting an error from an undefined class, something is seriously not right 12:27 < pressureman> right then, where is up to the minute docs on creating a new project? 12:28 < v-dogg> uuuummm... dunno if they exist :) 12:28 < pressureman> i've never actually used the agavi tool to create a new project 12:28 -!- eremit [n=eremit@p5490D970.dip.t-dialin.net] has joined #agavi 12:29 < v-dogg> setting it up is easy 12:29 < v-dogg> and worth it 12:29 < horros> pressureman: windows? *nix? 12:29 < v-dogg> makes project and action building so much easier 12:29 < pressureman> nix 12:30 < pressureman> erg. i need phing? 12:30 < horros> k, so grab the file "agavi" from the etc -directory of the agavi branch, edit AGAVI_INSTALLATION to point to the correct directory, then just run it with ./agavi project 12:31 < horros> pressureman: yes, 2.2.0 I believe 12:31 < CIA-23> v-dogg * r1681 /branches/0.11/samples/app/modules/Default/actions/LoginAction.class.php: Fixed setError call. closes #415 12:34 < pressureman> hmm, no debian package for phing 12:35 < _cheerios> get it via pear 12:36 < _cheerios> you probably have a massive find&replace operation ahead for setting actions+views to use BaseAction+BaseView's :) 12:37 < pressureman> massive find&replace... sounds like the 0.11 rc1 12:37 < horros> I'd suggest doin agavi action to create the action and copy+paste the code from the original action and change where needed 12:37 < horros> it's not too bad, to be honest. 12:37 < horros> also 12:38 < horros> why the hell do I have a big bump in my forehead? 12:38 < pressureman> maybe you've been smashing your head on the desk like me 12:38 < horros> well 12:39 < horros> I saw regurgitate and rotten sound yesterday... maybe that's a hint. 12:42 < pressureman> woohoo 500 internal server error 12:43 < v-dogg> php/cgi? 12:43 < pressureman> allowoverride and .htaccess having a fight 12:43 < v-dogg> if not, then foobar'd .htaccess 12:43 < v-dogg> ok 12:44 < pressureman> well, got the sample app to load. it's a start i guess 12:45 < horros> v-dogg: umm, how do I use $ro->genUrl() ? 12:46 < horros> if I want to, say, generate an url to post a form to module Default, action Login? 12:47 < v-dogg> genUrl was removed ...uh... like 5 years ago 12:47 < v-dogg> do you use routing? 12:47 < horros> yes 12:47 < v-dogg> ok then 12:48 < v-dogg> $ro->gen('routename' [,array parameters] [,array options]) 12:48 < horros> right 12:48 < horros> so in my case it'd be 12:48 < horros> $ro->gen('login'); 12:48 < horros> ? 12:49 < v-dogg> yes, but there are some shortcuts 12:49 < v-dogg> gen(null) creates a route to that was used for this action 12:49 < horros> right 12:49 < v-dogg> good for forms that are handled by the action that shows them 12:49 < horros> yeah 12:49 < horros> hmm 12:50 < horros> what was it I remember reading about being able to forward to the originally requested module/action after first shoving the user to the secure action? 12:50 < horros> is that implemented yet, or is it "coming in version 55295.5"? 12:51 < pressureman> that's already in the sample app :) 12:51 < v-dogg> yup 12:51 < horros> right, I'll have a peek at that then too 12:51 < v-dogg> if a routing parameter was matched, it will be used for generated url too, unless you explicitly set it to null 12:52 < horros> :O 12:52 < horros> interesting... 12:52 < v-dogg> eg. /products/123 was called, then gen('products') -> '/products/123' 12:52 < horros>
12:53 < horros> "error, undefined variable $ro" 12:53 < horros> :I 12:53 < v-dogg> but gen('products', array('prdid'=>null)) -> '/products' 12:53 < horros> I thought they were supposed to be automatically available in the templates? 12:53 < v-dogg> you need to use auto_assign in output_types.xml 12:53 < v-dogg> see the sample app 12:54 < horros> there is no auto_assign in output_types.xml in the sample app :P 12:55 < v-dogg> sorry, it was renamed :) 12:55 < v-dogg> ... 12:55 < horros> I do have that in my app's output_types 12:55 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 12:56 < horros> 12:56 < horros> 12:56 < horros> ro 12:56 < horros> etc 12:57 < v-dogg> in the output type that is actually used? 12:57 < v-dogg> (do you have more than one?) 12:58 < horros> I only have output_type="html" 13:00 < v-dogg> hmm 13:00 < horros> none of the assigns seem to work 13:00 < horros> :I 13:00 < v-dogg> and those parameters are inside that output_type block? 13:00 < horros> yes 13:00 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 13:00 < horros> the output_types.xml is the one generated by agavi :) 13:02 * horros scratches head 13:06 < v-dogg> I'm out of ideas too 13:07 < horros> where's Wombert when you need him?-) 13:18 -!- fastly [n=fast@81-86-145-67.dsl.pipex.com] has joined #agavi 13:18 < fastly> hey david, really well done on the 0.11.0RC2 release 13:18 < fastly> the new execution flow looks badass 13:18 < fastly> and better to make this breaking change now rather than later 13:19 < horros> v-dogg: *nudge* 13:19 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 13:19 < RossC0> horros: isn' it: 13:19 < RossC0> 13:19 < RossC0> 13:19 < RossC0> ro 13:20 < horros> yes, that's what I have 13:20 < RossC0> no parameters 13:20 < RossC0> tag 13:20 < horros> oh 13:20 < horros> umm 13:20 < horros> my output_types.xml is exactly what "agavi project" generated, plus some changes to the layout and some slots 13:22 < horros> and, well, removing the extra tags around didn't do anything really :I 13:23 < horros> hmm, so, how do I use the new validation system? 13:23 < v-dogg> plurals were made optional 13:23 < v-dogg> and friends 13:24 < RossC0> ah ok 13:24 < v-dogg> and 13:24 < v-dogg> :p 13:24 < v-dogg> oooh.. feck... the dog farted 13:24 < v-dogg> and then left the room 13:25 < horros> haha 13:25 < v-dogg> bastard :D 13:25 < horros> v-dogg: hint: since dogs are meat-eaters, get food that has meat listed as the first ingredient 13:25 < horros> v-dogg: if it says "grains" or whatever as the first ingredient, it means the food has more grains than meat in it 13:25 < v-dogg> man it stinks 13:26 < v-dogg> it rarely smells this bad 13:26 < horros> I've noticed our dog's fur is much better now that we changed food. also he poops less, the poop is firmer and doesn't stink, and he doesn't really fart anymore :) 13:26 < Xylakant> guess the dog knew why he left the room afterwards... 13:27 * horros looks around 13:27 < horros> new validation system? anyone? 13:28 < digitarald> what do u want to know? 13:28 < v-dogg> I'm just trying to remember what has changed since pre-0.11 13:28 < Xylakant> pretty much everything 13:28 < horros> digitarald: well mostly... how do I use it? 13:28 < digitarald> setError is now in container->getValidationManager() 13:28 < horros> :D 13:28 < digitarald> :D ... like the old system? 13:28 < horros> yeah but no but yeha but no but 13:28 < Xylakant> the interface, the classnames, how to use it and how it works... 13:28 < digitarald> sample app uses it 13:29 < horros> hmm 13:29 * horros plays around 13:36 < horros> k, next question: how do I use/set up the translation doohickey? 13:37 < horros> yeah, I'm looking at translation.xml 13:39 < v-dogg> set use_transaltion in the settings.xml, set up a dictionary (for testing you can use AgaviSimpleTranslator and translate everything in translation.xml) 13:39 < v-dogg> and you are good to go 13:39 < v-dogg> use_translation, even 13:40 < horros> but but but 13:40 < horros> what about the mo-files? 13:40 < horros> what if I want to use that?-) 13:41 < v-dogg> then I can't help you :) 13:41 < codecop> its possible to translate Login.xml or with validation in xml is just 1 language? 13:41 < Xylakant> you can pass a translation_domain parameter to each validator you define in the xml 13:41 < v-dogg> you give the translation domain in validation config (Login.xml) 13:41 < v-dogg> yep yep :) 13:41 < Xylakant> and the error message will be translated with the given translator 13:42 < codecop> just a little egz please dont gettit what is "translation_domain parameter" 13:42 < v-dogg> hmm.. the sample app doesn't show this 13:42 < codecop> no in different languages all messages are the same 13:43 * v-dogg creates a ticket 13:44 < horros> nice 13:44 < horros> poEdit crashed 13:44 < horros> :( 13:44 < _cheerios> *burp* 13:44 < v-dogg> poEdit is poo 13:44 < v-dogg> the win version at least 13:45 < horros> right. 13:45 < codecop> horros, my poEdit crashed too when clicked 2snd mouse button, but when i used po files from sample app crashes stopped 13:46 < codecop> in linux KBabel can edit po files too 13:51 < horros> so 13:51 < horros> anyone know of a proper pdf library? 13:51 < horros> ezPDF is a stinking heap of dung 13:52 < v-dogg> the closest I have found was ... Zned 13:53 < horros> you mean zend?-) 13:53 < v-dogg> yep 13:53 < v-dogg> Zned sounds better 13:53 < horros> omg, they've actually managed to do something that doesn't completely suck? 13:53 < v-dogg> sounds like something that came up with a cough 13:54 < v-dogg> and that's how it feels like, too 13:54 < v-dogg> naah, it still sucks. it's just that all other (open source) pdf libs sucks more 13:55 < horros> ezPDF doesn't work with anything other than your ordinary US-ASCII 13:55 < horros> thatotherpdflibIcan'trememberthenameof breaks when you have > 5 pages 13:55 < horros> pdflib is commercial 13:55 < horros> :( 13:55 < v-dogg> yeah 13:57 < v-dogg> I actually has some hacked version (hacked by me) of ezpdf that had char encoding "plugin" 13:57 < v-dogg> but still changed to zned 13:57 < v-dogg> BUT had to hack that too :D 13:58 < v-dogg> it had some stupid encoding problem 14:00 < horros> surprisingly enough 14:00 < v-dogg> but that was almost 6 months ago, don't know what has happened since 14:00 < horros> we've hacked ezpdf too 14:00 < horros> but it's still a mess 14:00 < horros> like... we can't get it to calculate the width of non-us-ascii chars properly 14:00 < horros> and the euro-sign is always fubar and breaks the damn PDF 14:01 < v-dogg> character sets are such a pain :D 14:02 < v-dogg> just like printing in win32 environment - there is _always_ something a bit off :) 14:02 < horros> not if everyone would just use unicode :) 14:02 < v-dogg> yeah.. 14:02 < Xylakant> pdflib lite is free afaik 14:07 < Wombert> fastly: thanks :) 14:07 < Wombert> horros: did you sort that assign issue 14:07 < Wombert> it has to be in the renderer 14:07 < horros> I didn't sort it, no, and it is, yes. 14:08 < horros> http://pastebin.ca/346470 14:09 < _cheerios> omgomgomg im so excited \o/ 14:09 < horros> and you just can't hide it? 14:09 < Wombert> horros: can you show the whole file 14:09 < horros> and you want me? 14:10 < horros> Wombert: sec 14:10 < Wombert> did pressureman eventually solve his issue? 14:10 < v-dogg> don't think so 14:10 < Wombert> bummer 14:10 < horros> Wombert: http://pastebin.ca/346472 14:10 < Wombert> he should have installed xdebug for a more detailed explanation of what was wrong 14:11 < horros> I bet it was some include_path thing 14:11 < Wombert> me too 14:11 < horros> I've had similar problems 329846 times with propel 14:11 < horros> well, mostly "cannot redeclare class" -problems 14:11 < horros> also, always make sure you don't have skype turned on, since it hogs port 80 in some strange manner and causes all kinds of funky stuff :) 14:11 < Wombert> no need for plural tags anymore btw 14:12 < Wombert> except if they require an attribute like default="smeg" 14:12 < Wombert> and 14:12 < Wombert> 14:12 < Wombert> 14:12 < Wombert> text/html; charset=UTF-8 14:12 < Wombert> 14:12 < Wombert> out 14:12 < Wombert> and 14:12 < Wombert> 14:12 < Wombert> text/html; charset=UTF-8 14:12 < Wombert> 14:12 < Wombert> in 14:13 < _cheerios> blah. youtube keeps removing too many videos. 14:14 < _cheerios> horros, text analysis just is so interesting :) 14:15 < horros> I can't make heads or tails from this poEdit crap 14:15 < _cheerios> and weekend ahead too! 14:20 < horros> right 14:20 < horros> apache sucked some 600 megs of memory and then proceeded to crash 14:20 < Wombert> horros: does it work in the sample app 14:21 < Wombert> this is very odd 14:21 < Wombert> $ro should be defined 14:21 < horros> ...then restarted it and started sucking a billion megs of memory again :O 14:22 < horros> I'll tell you in a minute when I've managed to kill firefox 14:27 < horros> onfiguration file "D:/Projects/agavi_0.11/samples/app/config/output_types.xml" could not be parsed due to the following errors that occured while resolving XInclude directives: 14:27 < horros> Line 40: trying to build relative URI from D:///Projects/agavi_0.11/samples/app/config/output_types.xml 14:27 < horros> interesting 14:28 < Wombert> in that file? 14:28 < Wombert> wtf oO 14:28 < horros> that's the sample index :( 14:28 < v-dogg> hey! that's what I got, too 14:29 < Wombert> php version? 14:29 < horros> 5.1.6 14:29 < v-dogg> heh... I'm not gonna tell :D 14:29 < horros> v-dogg: 5.0.0?-) 14:30 < v-dogg> ok... 5.1.2 ;D 14:30 < Wombert> my god @  php/windows 14:30 * v-dogg goes to get 5.2 14:30 < Wombert> let me know if that works 14:32 < Wombert> I'll try something in the meantime 14:33 < RossC0> windows 5.2 works for me.. 14:33 < Wombert> it might also be a libxml problem 14:33 < RossC0> on the sample app 14:33 < Wombert> I'll try an alternative syntax for 14:33 < Wombert> I never got it to work hence I used href="#xpointer" 14:34 < Wombert> oO it works! :D 14:34 < Wombert> horros: ping 14:34 < Wombert> I have a fix for you 14:35 < Wombert> can you try it for me please 14:35 < horros> just a sec, I'm updating agavi :) 14:35 < Wombert> it's not checked in (ze fix) 14:35 < horros> yeah, I just decided to update it and it updated like three billion files 14:36 < horros> zere we go 14:36 < horros> Wombert: what's ze fix? 14:36 < Wombert> try 14:36 < Wombert> 14:36 < Wombert> 14:37 < Wombert> you have to do it twice, for html and xhtml output type definitions 14:38 * Wombert keeps fingers crossed 14:38 < horros> Configuration file "D:/Projects/agavi_0.11/samples/app/config/output_types.xml" could not be parsed due to the following errors that occured while resolving XInclude directives: 14:38 < horros> Line 40: trying to build relative URI from D:///Projects/agavi_0.11/samples/app/config/output_types.xml 14:38 < horros> :( 14:38 < v-dogg> "PHP 5.2.1 Released" 14:39 -!- RossC1 [n=lawleyr@80.4.120.164] has joined #agavi 14:39 < v-dogg> php.net is quite ugly 14:40 < fastly> i agree 14:42 < v-dogg> but most likely the whole site (and the system underneath) is so messed up that updating the UI is simple not possible :) 14:42 < Wombert> horros: that's a php/libxml bug then, sorry :< 14:42 < Wombert> horros: as a quick fix, copy the respective xinclude targets to the respective locations 14:43 < Wombert> v-dogg: let me know if it works with 5.2 14:44 < horros> uhh 14:44 < horros> and said xinclude targets would reside... where? 14:44 < Wombert> in the same file 14:44 < Wombert> configurations/sandbox/renderers :) 14:44 * horros blinks 14:44 < Wombert> i.e. 14:44 < Wombert> replace 14:44 < Wombert> 14:44 < Wombert> with 14:44 < Wombert> 14:44 < Wombert> 14:44 < Wombert> etc 14:44 < horros> there is no configuration sandbox renderer doohickey 14:44 < Wombert> from the sandbox 14:44 < Wombert> 'course there is, at the top! 14:45 < horros> which would probably explain why it errors :) 14:45 < Wombert> wootß 14:45 < horros> aha 14:45 < Wombert> is it there? 14:45 < horros> yeah, I'm just blind as a bat. 14:46 < horros> that works, yes. 14:46 < horros> I wonder what PHP version I have on my laptop, because the sample app worked there. 14:46 < Wombert> it might be an libxml issue 14:47 < horros> and yeah, $ro->gen() works in the sample app 14:47 < horros> so I must apparently have something configured wrong 14:48 < Wombert> aaah 14:48 < Wombert> does that happen in the login action? 14:48 < Wombert> the one that was generated for you? 14:48 -!- RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)] 14:48 -!- RossC1 [n=lawleyr@80.4.120.164] has quit [Read error: 104 (Connection reset by peer)] 14:48 < Wombert> make sure the view there is identical to your others 14:48 < Wombert> i.e. it loads the default layout etc 14:48 < Wombert> the stuff "agavi project" generates for you uses it's own renderer 14:49 < Wombert> so these actions always work even if the user changes their default renderer to smarty ot so 14:49 < Wombert> or so 14:49 < horros> but 14:49 < horros> but 14:50 < horros> I don't want to load the default layout. 14:50 < horros> I don't want to display the Master template when I display the login screen 14:50 < Wombert> that's okay 14:50 < Wombert> then load a different layout 14:51 < Wombert> uuuh wtf 14:51 < Wombert> it doesn't generate a login action 14:51 * Wombert scratches head 14:51 < Wombert> why doesn't it do that anyway 14:51 < Wombert> horros: please show me ze view and output_types.xml again please 14:51 < Wombert> if you changed it 14:53 < horros> hold on please 14:53 < horros> I'm messing around 14:54 < horros> there we go 14:55 < horros> yay 14:55 < horros> it is a-working 14:55 < horros> I had to extend my baseaction/baseview in order to get the auto-assigns, apparently. 14:55 < Wombert> huuuuh? 14:56 < Wombert> uhm 14:56 < Wombert> not really 14:56 < horros> well 14:56 < Wombert> what did your view look like? 14:56 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 14:56 < RossC0> works on php5.2 windows for me 14:56 < Wombert> I recommend public function setupHtml(AgaviReuqestDataHolder $rd, $layoutName = null) in your base view, horros 14:56 < horros> Wombert: I didn't touch the SecureSuccessView at all 14:56 < Wombert> makes loading a different layout easy 14:57 < horros> I have that in my base view, yes. 14:57 * Wombert sighs 14:57 < Wombert> so what did your view look like 14:57 < horros> and the instant I extended NappulaBaseView instead of AgaviView, it started working 14:57 < Wombert> and what does it look like now? 14:57 < Wombert> in SecureSuccessView? 14:57 < horros> Wombert: It was plain vanilla what "agavi action" generated. just had some manually setup renderer thing 14:57 < Wombert> but that's for "hey fool you don't have ze credentials" 14:57 < Wombert> horros: CODE TEMPLATES! 14:57 < Wombert> :< 14:58 < horros> ... 15:00 < RossC0> ??? 15:00 < CIA-23> david * r1682 /branches/0.11/samples/app/config/output_types.xml: cleaner xincludes 15:33 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)] 15:44 < Wombert> lunch => 15:53 * RossC0 head hurts 15:56 < v-dogg> Wombert: both xpointer="xpointer(... and href="#xpointer(... work with 5.2.1 16:39 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: neotekk, feiichi, CIA-23, _cheerios, Arme[0], v-dogg, Whisller, digitarald, RossC0, AngryMikeSeth, (+2 more, use /NETSPLIT to show all of them) 16:39 -!- Netsplit over, joins: RossC0, feiichi, v-dogg, Arme[0], codecop, Wombert, _cheerios, AngryMikeSeth, neotekk, CIA-23 16:40 -!- Netsplit over, joins: Whisller, digitarald 16:40 < RossC0> wow 16:42 < v-dogg> split splat 16:43 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."] 16:44 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 16:51 < kaos> Agavi - now supporting the german "bundes-trojan" 16:51 < kaos> \o/ 16:52 < Xylakant> hehe 16:52 < Xylakant> does it read you blogs 16:52 < kaos> no, it will automatically post everything you think while developing with agavi with the e-brain interface directly to mr. schäuble 16:53 < kaos> this is so ridiculous 16:53 < Xylakant> i hope so. 16:53 < Xylakant> information overflow is the best way to hide important stuff 16:53 < Xylakant> nobody is *ever* going to be able to filter that amount of information 16:53 < kaos> i mean, i which 1938 are we living ? 16:54 < kaos> well, if its specially crafted for your pleasure 16:54 < kaos> they wont have information overflow :s 16:55 < kaos> "Außerdem ist ein Laptop ja auch leicht zu verstecken, vielleicht wird er bei einer Durchsuchung gar nicht gefunden. Ans Internet muss er aber immer wieder" 16:55 < Xylakant> oh shure. there's so much trash hidden on my computer, even i can't find all i search for 16:55 < Xylakant> how are they supposed to :) 16:55 < kaos> i wonder what the goal of an durchsuchung should be ? 16:55 < kaos> ceize everything intetersting you can find 16:55 < Xylakant> but think of it - it may have it's advantages 16:56 < Xylakant> sort of a cheap and reliable "offsite" backup. 16:56 < kaos> which are ? 16:56 < kaos> stupid ppl are now officially spied by the government ? 16:56 < Xylakant> "Hello, your local police department speaking" 16:56 < kaos> hrhr 16:56 < kaos> that's an argument ofc :D 16:56 < kaos> I LOST ALL MY BLOG ENTRIES 16:56 < kaos> HELP 16:57 < kaos> the police will be your friend 16:57 < Xylakant> "Yes, hi, ähm, i just deleted an important email, you might have a copy of it. could you please" 16:57 < Xylakant> "Die Polizei, dein Freund und Helfer" 16:57 < kaos> yeah ;) 16:57 < Xylakant> but seeing that you're online: I actually do have an "on-topic" question. 16:57 < kaos> yup ? 16:58 < Xylakant> Is it possible to extract the date and number formatting rules from the agavitranslator/formatter etc objects? 16:58 < Xylakant> so that i can pass them on to a javascript? 16:58 < kaos> yes 16:58 < Xylakant> how would i do that? 16:58 < kaos> the problem is that you can't really easily receive the translator/foirmatter objects 16:59 < kaos> the method should be called getFormat in both the date and number formatter 16:59 < Xylakant> i knew there was a gotcha... 16:59 < kaos> lemme check 16:59 < kaos> gimme 5 min ;) 16:59 < Xylakant> shure 16:59 < Xylakant> i'd trade against a pretty complete strftime() implementation in javascript :) 17:01 < kaos> heh 17:01 < kaos> you can copy our php code :P 17:01 < kaos> which is copied from icu ;D 17:05 < kaos> Xylakant: ok, i will add an getDomainTranslators($translation_domain) method to the tm 17:05 < kaos> this will return an array of all the translators/formatters registered with the domain 17:05 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 17:05 < kaos> will have the keys msg, num, cur, date 17:06 < kaos> from these objects you will be able to fetch the format via getFormat (need to add that to the date formatter too) 17:06 < kaos> so if you need anything special 17:07 < kaos> now its the time ;) 17:08 < Xylakant> no, actually i only need to read the list of possible formats and the list of localized day/monthnames 17:08 < kaos> localized day/month names should be easy 17:08 < Xylakant> but i can generate those using sprintf 17:08 < Xylakant> strftime... 17:09 < kaos> na ;) 17:09 < kaos> $locale->getCalendarMonthsXXX('gregorian'); 17:09 < kaos> you can query the Wide/Abbreviated/Narrow months 17:09 < kaos> same for days 17:09 < Xylakant> ok 17:10 < kaos> or quarters 17:10 < kaos> etc 17:10 < kaos> getCalendarDayWide($calendar, $day) 17:10 < kaos> or for individual days/months 17:10 < kaos> etc ;) 17:14 < CIA-23> dominik * r1683 /branches/0.11/src/date/AgaviDateFormat.class.php: add getFormat to retrieve the original format in the date formatter 17:19 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:23 < Xylakant> thanks 17:25 < kaos> thats nat the full story yet 17:25 < CIA-23> dominik * r1684 /branches/0.11/src/translation/AgaviTranslationManager.class.php: fix e_strict issue 17:27 < Xylakant> hehe :) 17:28 < Xylakant> beating the team here to programm e_strict/e_notices compatible has been a major task 17:28 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 17:29 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 17:43 -!- Wombert [n=Wombert@dslb-084-056-034-093.pools.arcor-ip.net] has quit [Nick collision from services.] 17:43 -!- Wombert [n=Wombert@dslb-084-056-053-208.pools.arcor-ip.net] has joined #agavi 17:45 -!- Wombert [n=Wombert@dslb-084-056-053-208.pools.arcor-ip.net] has quit [Nick collision from services.] 17:45 -!- Wombert [n=Wombert@dslb-088-064-068-075.pools.arcor-ip.net] has joined #agavi 17:48 < Arme[0]> oO spam in commits mailing list!! 17:48 < Arme[0]> heh :) 17:49 < Arme[0]> but how? 17:50 < Arme[0]> anywhere, it was interesting :P 17:52 -!- codecop [n=codecop@85.206.199.142] has joined #agavi 17:52 < Wombert> Received: from [200.97.68.112] (helo=ricardo-a8f99eb) 17:52 < Wombert> by agavi.vms.r00lerz.de with smtp (Exim 4.63) 17:52 < Wombert> (envelope-from ) id 1HDW8T-0007AK-6E 17:52 < Wombert> for commits@lists.agavi.org; Sun, 04 Feb 2007 01:25:42 +0000 17:52 < Wombert> hmm 17:55 < Wombert> okay dominik is fixing it 17:55 < Wombert> thanks for the heads-up, Arme[0] 17:58 < Wombert> ah, Xylakant, that's easy 17:58 < Wombert> just enable E_STRICT with a comment above it 17:59 < Wombert> "whoever dares to override and disable this will be shot in the face. with the elephant gun. your missus wouldn't be pleased. save the planet, code properly" 17:59 < Wombert> or something 17:59 < Wombert> :p 18:01 < Xylakant> trust me. been there, done that. it's not that easy - all you need is one legacy library that is *not* e_notices compatible and the dirt starts spreading again 18:02 < Xylakant> or people will just freely prepend @ to each and every function call which is even worse 18:02 < Wombert> I always wrap them in a loader that disables e_strict during inclusion 18:02 < Wombert> but yes, runtime E_STRICT problems suck 18:02 < Wombert> did you 18:02 < Wombert> really shoot someone in the face? :D 18:02 < Xylakant> me? 18:02 < Xylakant> no. public humiliation is good enough 18:02 < Wombert> :D 18:03 < Xylakant> i get each and every commit email here and if i catch a particularly bad example, i just snap the code and send it to all developers 18:03 < Xylakant> works even without mentioning *who* wrote it. 18:04 < Xylakant> sometime you even catch yourself... 18:04 -!- MikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has joined #agavi 18:04 -!- MikeSeth [n=ohnoes@line21-134.adsl.actcom.net.il] has quit [Remote closed the connection] 18:04 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 18:04 < Xylakant> stuff you've written somewhere around 6 o'clock in the morning after 24hours at the desk somehow tends to be somewhat strange. 18:05 < MikeSeth> especially if you wrote it 5 years ago 18:05 < Xylakant> yeah. 18:06 < MikeSeth> http://www.itema-pg.com/PC/Desktop/secondHand.htm <- wtf is going on here 18:06 < Xylakant> but at least that gives you the confirmation that you learned something in the last 5 years 18:06 < MikeSeth> Xylakant, youd be surprised how much people dont hold that as true 18:07 < Xylakant> at somepoint i swore to myself that should i ever reach the point that i think "well, enough learned, stick with what you can", i'll quit this job. 18:07 < Xylakant> do something else. 18:08 < MikeSeth> haha 18:08 < Xylakant> no, really. 18:09 < Xylakant> my goal is that every project that i do must be better than the one before: either more advanced or more efficient or something i've never done before 18:09 < RossC0> its a good but fustrating philosophy 18:09 < Xylakant> no, not frustrating 18:09 < Xylakant> why? 18:09 < RossC0> *frustrating - because of co workers :p 18:10 < Xylakant> hehe :) 18:10 < Xylakant> they do what i tell them to. 18:11 * MikeSeth ponders opening a company in another country 18:11 < MikeSeth> Xylakant, the word is 'monkies' 18:12 < Xylakant> i thought it was "cow-orkers" :) 18:12 < RossC0> web monkies? 18:12 < MikeSeth> no, that'd be 'web construction workers' 18:12 < Xylakant> code monkies. 18:12 < Xylakant> i have one project where we have to work with one clueless external developer 18:13 < Xylakant> personally, he's a nice guy and it's the customers decision that he's working with us, but the mess he creates sometimes. no comment. 18:14 < Xylakant> this is frustrating. 18:15 < Xylakant> has anyone managed to get transcorners working with background images? 18:15 < Arme[0]> Wombert: np 18:16 -!- Arme[0] is now known as Arme[N] 18:38 -!- Arme[N] is now known as Arme[0] 18:41 < digitarald> Xylakant, there is an incompleted version of transcorners with a new algorithm, but no release date ... 18:41 < digitarald> ... from the original author 18:46 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:49 < _cheerios> w00t 18:50 < Xylakant> digitarald: and i guess no way to get it 18:52 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 18:52 < MrJeep> hi everybody 18:53 < digitarald> author is a perfectionist, don't think so ... i'll ask him 18:55 < Xylakant> not nessesary 18:55 < Xylakant> hacked one together 18:58 < Xylakant> needs three times as many stripes to display the same thing, but it's working :) 19:00 < digitarald> are rounded corners a have-to? 19:01 < Xylakant> if you ask me: no 19:01 < Xylakant> if i ask the gfx people: yes 19:02 < Xylakant> so this all depends on your point of view i guess 19:02 < digitarald> so ... no ;) 19:02 < digitarald> but they are not for the cms2.0, or? 19:03 < Xylakant> shure they are 19:03 < Xylakant> localized buttons with round corners 19:03 < Xylakant> so i either create the graphics or make the buttons round 19:03 < Xylakant> i chose to make the buttons round... 19:04 -!- eremit [n=eremit@p5490D970.dip.t-dialin.net] has quit [] 19:05 < Xylakant> seemed like the easier way to go - and it was 19:09 < Xylakant> ok then, people. this is it, here starts the weekend. 19:09 < Xylakant> have a nice one 19:10 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 19:28 < _cheerios> weekend seems awfully like the weekday... 19:30 < RossC0> woo! weekend! 19:31 < _cheerios> JS error on line 57, char 5.. whee 19:32 < Wombert> F 19:32 < Wombert> I 19:32 < Wombert> R 19:32 < Wombert> E 19:32 < Wombert> B 19:32 < Wombert> U 19:32 < Wombert> G 19:32 < MikeSeth> hax 19:32 < _cheerios> does it support IE ? 19:45 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:47 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit ["Leaving"] 19:54 < Arme[0]> _cheerios: nope :) 19:54 < Arme[0]> Firbug rocks 19:54 -!- Arme[0] is now known as Arme[N] 19:55 < _cheerios> can't find anything on line57 of any file *sigh* 19:58 < MrJeep> what's the url ? 20:01 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" ---> TVN TV"] 20:01 -!- eremit [n=eremit@p5490D970.dip.t-dialin.net] has joined #agavi 20:06 < Arme[N]> lol http://www.flickr.com/photos/22017189@N00/42340871 20:06 -!- Wombert [n=Wombert@dslb-088-064-068-075.pools.arcor-ip.net] has quit [Nick collision from services.] 20:06 -!- Wombert [n=Wombert@dslb-084-056-052-060.pools.arcor-ip.net] has joined #agavi 20:08 -!- Wombert [n=Wombert@dslb-084-056-052-060.pools.arcor-ip.net] has quit [Nick collision from services.] 20:08 -!- Wombert [n=Wombert@dslb-084-056-047-216.pools.arcor-ip.net] has joined #agavi 20:09 < _cheerios> hmm, complains about Behaviour 20:09 -!- eremit [n=eremit@p5490D970.dip.t-dialin.net] has quit [] 20:09 < Wombert> behaviour sucks 20:09 < Wombert> use event:selectors... 20:09 < _cheerios> list = document.getElementsBySelector(selector); << gives an object does not support this property or method error 20:15 < kaos> exim ffs :< 20:16 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 20:36 < MrJeep> anyone know a good script to merge multiple js file into a single one ? 20:37 < MrJeep> removing comments too.. 20:50 < Wombert> http://dean.edwards.name/packer/ 20:54 < _cheerios> hmm, i had an
and that broke Behaviour on IE. wtf... 20:55 < Wombert> duplicate id? 20:55 < Wombert> or did you have ? 20:55 < Wombert> or was it
? 20:56 < _cheerios>
20:56 < _cheerios> i rename div to ANYTHING else and it works on IE 20:56 < _cheerios> behaviour does use a var name list internally, but that shouldnt matter 20:57 < Wombert> haha it does man, it does 20:58 < Wombert> IE has tons of issues with javascript variable scope etc 20:58 < _cheerios> 20:58 < _cheerios> that was one way to waste an hour and then some 20:59 < Wombert> http://feeds.autoblog.com/~r/weblogsinc/autoblog/~3/88584179/ wicked 21:08 < _cheerios> now you can tell when an MB has been speeding... just look at the pile of people thrown around after it has passed ;) 21:11 < _cheerios> hehe @ ticket 21:12 < _cheerios> (http://dev.rubyonrails.org/ticket/2707) oh seems it was a genuine error, not a joke ;) 21:53 -!- horros [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 21:56 -!- codecop [n=codecop@85.206.199.142] has quit ["Have to go"] 22:10 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:27 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 22:28 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 23:13 < CIA-23> dominik * r1685 /branches/0.11/src/validator/AgaviValidationManager.class.php: fix addIncident not using the validator of the incident for submitting field results 23:29 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 23:29 < MrJeep> anyone knows if it's possible, with eclipse, to open an external file (with explorer) and make it open in the same, current editor 23:32 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] --- Day changed Sat Feb 10 2007 00:08 -!- shoan [n=shoan@59.92.129.48] has joined #agavi 00:20 < v-dogg> hmm.. 00:21 < v-dogg> any idea why the fpf stoped populating after update to rc2? 00:21 -!- shoan__ [n=shoan@59.92.132.46] has joined #agavi 00:23 -!- shoan_ [n=shoan@59.92.190.13] has quit [Read error: 110 (Connection timed out)] 00:24 < v-dogg> $response->isContentMutable() returns false 00:24 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 00:24 < v-dogg> that's why 00:24 < MikeSeth> boys 00:25 * MikeSeth pokers Wombert 00:25 < MikeSeth> I'm going to test Agavi on the real shit 00:27 < v-dogg> I'm a bit confused now 00:28 < MikeSeth> abouy? 00:28 < MikeSeth> *t 00:28 < v-dogg> Response::isContentMutable 00:28 < Wombert> oh bugger 00:28 < MikeSeth> god I wish I had the grasp of Agavi internals 00:28 < MikeSeth> Wombie, I need your blessing 00:29 -!- Arme[N] is now known as Arme[0] 00:29 < Wombert> that warrants an RC3 tomorrow I'd say 00:29 < MikeSeth> It turns out that Wordpress is WAY buggier than I thought 00:29 < MikeSeth> so, I'm going to use Agavi as a porn delivery platform :D 00:30 < Wombert> MikeSeth: cool 00:30 < Wombert> :> 00:30 < CIA-23> david * r1686 /branches/0.11/src/response/AgaviResponse.class.php: fixed AgaviResponse::isContentMutable, closes #418. *hugs v-dogg* 00:30 < v-dogg> thanks :) 00:30 < MikeSeth> Wombert, I take it no objections ;) 00:31 < v-dogg> and that hug came in need, too :) 00:32 < Arme[0]> heh :) 00:33 < Wombert> MikeSeth: why would I object? 00:33 < MikeSeth> Wombert, I dont know, just making sure. 00:35 < Wombert> you mean because of porn or what 00:35 < Wombert> who cares 00:35 < Wombert> aaah fantastic 00:35 < MikeSeth> mkay. To ze code! :D 00:36 < Wombert> v-dogg: turns out isContentMutable isn't in RC2 :D 00:36 -!- shoan [n=shoan@59.92.129.48] has quit [Read error: 110 (Connection timed out)] 00:36 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 00:38 -!- shoan [n=shoan@59.92.132.46] has joined #agavi 00:41 -!- shoan__ [n=shoan@59.92.132.46] has quit [Read error: 60 (Operation timed out)] 00:43 < _cheerios> AGAVI + PORN ? hmmmmmmmmm 00:44 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 00:47 -!- shoan_ [n=shoan@59.92.129.188] has joined #agavi 01:00 -!- shoan [n=shoan@59.92.132.46] has quit [Read error: 110 (Connection timed out)] 01:03 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 01:06 < Wombert> right guys 01:07 < Wombert> I'm out for ze night 01:07 < Wombert> catch ya tomorrow 01:07 -!- Wombert [n=Wombert@dslb-084-056-047-216.pools.arcor-ip.net] has quit [] 01:13 -!- benny`work [n=benny@p54AC3312.dip0.t-ipconnect.de] has joined #agavi 01:15 -!- horros [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 01:32 -!- shoan [n=shoan@59.92.142.45] has joined #agavi 01:47 -!- shoan_ [n=shoan@59.92.129.188] has quit [Read error: 110 (Connection timed out)] 01:47 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 01:52 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 01:54 < pressureman> wtf is "too many execution runs" exception? 02:02 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 02:04 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 02:05 < pressureman> what has become of controller->getModuleName() ? 02:12 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 02:14 < pressureman> gah.... what's happened to controller->redirect() ? 02:14 < pressureman> this ain't no rc2, this is like a whole new version 02:15 < pressureman> are there any class diagrams available so i can see the class hierarchy without having to trawl through code? 02:21 < pressureman> ffs 02:22 < impl> you ues um 02:22 < impl> View::createForwardContainer or something 02:22 < impl> oh wait redirect 02:22 < impl> I think that's in Response now 02:22 < pressureman> is it gonna be there next week i wonder 02:25 < pressureman> so i should be able to do $this->getContainer->getResponse()->redirect('http://foo') right? 02:25 < pressureman> except getResponse appears to be null 02:26 < impl> getContainer() 02:26 < pressureman> yes, that's what i have (pasted it wrong into here) 02:26 < pressureman> var_dump($this->getContainer()->getResponse) shows null 02:29 < pressureman> btw, don't ever try var_dump($this->getContainer()) - it recurses indefinitely 02:29 < pressureman> nice DoS on the webserver 02:30 < pressureman> hmm maybe i'll just use a php header() call and circumvent agavi 02:30 < impl> usually var_dump catches that 02:31 < pressureman> when it's made this hard to do something stupidly simple like a redirect, you have to wonder why we use frameworks 02:31 < impl> are you doing this in your view? 02:31 < pressureman> no, action 02:32 < pressureman> it's a logout page, that redirects to the login page 02:32 < pressureman> http redirect, not a forward 02:33 < impl> hmm 02:33 < pressureman> i also like to do http redirects after any form submissions, to get around page refresh / form resubmits 02:33 < impl> I feel like ->redirect should be in View::executeHtml 02:34 < pressureman> but the action doesn't display anything at all, it just does a redirect 02:34 < pressureman> surely it's possible to do actions that don't display anything.... isn't it? 02:34 < impl> ahh it's ->setRedirect 02:35 < impl> pressureman: of course... but consider if your application was running on the command line vs. the Web 02:35 < impl> there's still a view 02:35 < impl> you can't redirect the command line like you can HTTP 02:35 < pressureman> heh, this app ain't never gonna be command line 02:35 < pressureman> or punch card, or telepathic 02:35 < impl> It was just an example :P 02:35 < pressureman> it's a web app 02:36 < pressureman> ok, so setRedirect is in AgaviWebResponse 02:36 < pressureman> but that is null 02:36 < impl> public function setRedirect($location, $code = 302) 02:36 < pressureman> $this->getContainer()->getResponse() evaluates to null from my action 02:36 < impl> I really don't think the response is constructed until you get to the view 02:38 < pressureman> if so, that's a royal pain in the ass 02:38 < pressureman> maybe i'll just keep my app on rc1 for now, and port it to ZF 02:38 < impl> It's not too bad 02:38 < pressureman> i'm getting real tired of these api changes tho 02:39 < impl> Well, they've all been for the better 02:39 < pressureman> yeah but they've been at the wrong time 02:39 < pressureman> the difference between rc1 and rc2 is like chalk and cheese 02:39 < pressureman> that's not what release candidates are about 02:39 < impl> I know, it was a mistake to release that last one as RC1 02:39 < impl> a huge mistake 02:41 < pressureman> hmm, $this->getContainer()->getResponse() is populated in the view 02:41 < impl> yeah, that's what I figured 02:41 < pressureman> that means i've got to add a bunch of useless views for my "silent" actions that simply do a redirect 02:41 < pressureman> wow, that's progress. 02:42 < impl> I'll ask Wombert if there's an easier way 02:42 -!- benny`work [n=benny@p54AC3312.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:42 < impl> brb, dinner's ready 02:43 < pressureman> i'll use header() for now 02:49 < pressureman> damnit, can't even use that. agavi must be overriding the http response code with a 200 03:01 < pressureman> well, it works ok from a view... it's just a PITA since i use quite a few redirects from actions, and this now means i've got to go and make a bunch of views that do nothing more than redirect 03:01 < pressureman> hopefully there is an easier way 03:22 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 03:23 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"] 03:30 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 04:21 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 04:38 -!- shoan_ [n=shoan@59.92.146.161] has joined #agavi 04:42 -!- shoan [n=shoan@59.92.142.45] has quit [Read error: 145 (Connection timed out)] 04:55 -!- shoan [n=shoan@59.92.204.53] has joined #agavi 05:10 -!- shoan_ [n=shoan@59.92.146.161] has quit [Read error: 110 (Connection timed out)] 05:12 -!- Wombert [n=Wombert@dslb-084-056-047-216.pools.arcor-ip.net] has joined #agavi 05:13 < Wombert> rrrrre 05:13 < Wombert> pressureman: hi 05:14 < pressureman> hi 05:16 < pressureman> wombert, is it no longer possible to do a redirect from an action? 05:17 < Wombert> pressureman: nope, hasn't been for a long time 05:17 < Wombert> redirects happen in views 05:17 < Wombert> they are presentational! 05:17 < Wombert> you want that redirect for html 05:17 < Wombert> but usually not for ajax, for instance 05:18 < pressureman> hmm... true... 05:18 < Wombert> or xmlrpc, soap, REST etc 05:18 < pressureman> althought i have been using them up until you did that big merge from your branch to 0.11 05:18 < pressureman> svn 1567 i think 05:19 < pressureman> i use quite a lot of redirects, after form submissions for example 05:19 < pressureman> i don't need to display a success page, but i want to avoid the browser-refresh-form-resubmit problem 05:19 < Wombert> yup 05:19 < Wombert> redirects are now done on the response 05:19 < pressureman> so i will need to create a bunch of success views 05:20 < Wombert> which isn't available until after the view is known 05:20 < Wombert> did you solve your execute() problems 05:20 < pressureman> yeah... 05:20 < Wombert> "agavi action" will do it for you 05:20 < pressureman> heh... 05:20 < Wombert> what was the problem? 05:20 < pressureman> i feel like a twit 05:20 < pressureman> i have a dev server and a production server 05:20 < pressureman> i was editing files on one, and viewing them on the other :) 05:21 < Wombert> hahahaha 05:21 < pressureman> i can see your point re the redirect in view... it makes sense 05:21 < pressureman> i've just been cutting quite a few corners in my code until now 05:21 < pressureman> it will force me to write nicer code :) 05:22 < Wombert> it really does 05:22 < Wombert> note that "agavi project" will now create the much-recommended base views and actions for you 05:23 < Wombert> especially the view is important 05:23 < Wombert> do not use execute() in views 05:23 < pressureman> yeah, i'm getting around to that too 05:23 < pressureman> are u around for a while? i might pop in later and get some tips on the new layout / slots stuff 05:24 < Wombert> how much later is later 05:24 < pressureman> 3-4 hours? 05:24 < Wombert> mmmmh 05:24 < Wombert> not so sure bout that I'm afraid 05:24 < Wombert> just came back from some partying 05:24 < Wombert> didn't drink too much but still... :p 05:24 < pressureman> that's ok... if you're here, great, if not it can wait 05:24 < Wombert> cool 05:25 < pressureman> this IS the last major api change before 0.11 final right? ;-) 05:25 < Wombert> yes 05:26 < Wombert> we're relaly, really, really done now 05:26 < Wombert> seriously, I can't be bothered to change anything anymore 05:26 < Wombert> enough's enough and agavi is close to perfection now :D 05:26 < pressureman> thank goodness 05:27 < pressureman> just need to get some more followers now... show those symfony boys a thing or two 05:27 < impl> well 05:27 < impl> pre-2.0 perfection 05:27 < impl> ;D 05:28 < Wombert> before we step up and shout "we've got the biggest ones" out into the world, we deffo need some documentation 05:28 < pressureman> err yeah, that'd help 05:28 < pressureman> would also reduce the number of dumbass questions you must get asked wombert 05:28 < impl> :P 05:29 < pressureman> a certain proportion of which are from me 05:29 < Wombert> no worries 05:29 < Wombert> I don't mind these 05:29 < Wombert> I just freak out if people walk in and ask how to open a window without a toolbar using agavi 05:29 < impl> haha 05:30 < Wombert> plus 05:30 < Wombert> to be totally honest 05:30 < Wombert> Dominik and I hope that all our efforts eventually pay off 05:30 < impl> paid support? =P 05:30 < Wombert> since people think "oooh these are ze brains behind agavi mmmh okay mmmh they probably know a thing or two" 05:30 < Wombert> yeah precisely 05:30 < Wombert> we'll offer that starting with 1.0 05:30 < Wombert> plus training, of course 05:31 < Wombert> consulting 05:31 < Wombert> and development 05:31 < pressureman> job offers from yahoo/google? 05:31 < Wombert> not yet, no 05:31 < Wombert> funny you ask that 05:31 < Wombert> because dustin whittle, one of the symfony contributors, got a job with yahoo the other day 05:32 < Wombert> and it seems that was because he got "famous" through his symfony efforts 05:32 < pressureman> pfft...symfony just cobbles together other people's code 05:32 < Wombert> not that I'd ever work at either yahoo or google 05:32 < Wombert> but I guess it would be good for my ego at leats :p 05:32 < Wombert> *least 05:32 < pressureman> i've even seen my agavi PDO driver in symfony... 05:32 < Wombert> ewww 05:32 < Wombert> really? 05:33 < Wombert> those fockers 05:33 < pressureman> yeah... didn't u know? they basically took a copy of agavi 05:33 < impl> They stole a few of our things 05:33 < Wombert> I bet it was that rovert moron 05:33 < Wombert> pressureman: we know, and we even had a dispute over it, because they just couldn't be arsed to do anything about it 05:33 < Wombert> funny thing is 05:33 < Wombert> they're not allowed to take any code from us! 05:34 < Wombert> we're LGPL, and they are MIT (or, rather "copyright fabien potencier" 05:34 < impl> wait 05:34 < impl> They can't be MIT licensed 05:34 < impl> Symfony is effing based on Mojavi 05:34 < Wombert> nah he granted them permission 05:34 < impl> oh 05:35 < pressureman> they're still just rebading others' code 05:35 < pressureman> rebadging 05:35 < pressureman> doesn't take that much skill to do that 05:35 < pressureman> oh well, the agavi they took would be way old by now, and nowhere near as spiffy as 0.11 05:36 < Wombert> I noticed the other day 05:36 < Wombert> while porting an app from 0.10 to 0.11 05:36 < Wombert> how lightyears ahead 0.11 is in comparison 05:36 < Wombert> it's just night and day's difference 05:36 < Wombert> and a breeze to work with, too 05:36 < Wombert> you take a propel object 05:36 < Wombert> you call toArray() on it 05:36 < Wombert> and pass that to the form population filter 05:37 < pressureman> yeah, the FPF stuff is quite nice 05:37 < Wombert> piece of cake 05:37 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 05:37 < pressureman> quite clever how you do it with DOM tree manipulation too 05:37 < Wombert> other way round: set up validators, so only validated stuff arrives in your action, then call fromArray on the request data, save(), done 05:37 < impl> http://www.symfony-project.com/trac/browser/trunk/lib/storage/sfPDOSessionStorage.class.php?rev=748 05:37 < impl> Gotta love that 05:37 < Wombert> they fucking suck 05:37 < pressureman> i've seen other form libraries, and the lengths they go to to repopulate fields... yeuck 05:37 < Wombert> * This file is part of the symfony package. 05:37 < Wombert> 5 * (c) 2004-2006 Fabien Potencier 05:37 < Wombert> 6 * (c) 2004-2006 Sean Kerr. 05:37 < Wombert> 7 05:37 < Wombert> goodness 05:38 < Wombert> I'm so sick of that 05:38 < Wombert> why do WE have to run after THEM to point this out 05:38 < impl> omg 05:38 < impl> http://www.symfony-project.com/trac/changeset?new=trunk%2Flib%2Fstorage%2FsfPDOSessionStorage.class.php’986&old=trunk%2Flib%2Fstorage%2FsfPDOSessionStorage.class.php’971 05:38 < impl> oops 05:38 < impl> http://www.symfony-project.com/trac/changeset?new=trunk%2Flib%2Fstorage%2FsfPDOSessionStorage.class.php%402986&old=trunk%2Flib%2Fstorage%2FsfPDOSessionStorage.class.php%402971 05:38 < impl> that's effing unbelievable 05:38 < Wombert> mmmh nah wait 05:39 < impl> They just removed his name :\ 05:39 < Wombert> hey WHAT THE FUCK? 05:39 < pressureman> hmm.. well at least i'm still in the code 05:39 < Wombert> they got rid of the agavi notes in COPYRIGHT etc? 05:40 < Wombert> WTF 05:40 < Wombert> WTF 05:40 < Wombert> WTF 05:40 < Wombert> or 05:40 < Wombert> huuuuh 05:40 < pressureman> time to ring 1800-FSF-SUES ? 05:40 < Wombert> ah 05:40 < Wombert> nah 05:41 < Wombert> ?rev=2985:p 05:41 < Wombert> http://www.symfony-project.com/trac/browser/trunk/licenses/LICENSE.Agavi 05:42 < Wombert> they used to have other copied code 05:42 < kaos> impl: their pdo session storage 05:42 < Wombert> I didn't realize they had copied PDODatabase, too 05:42 < Wombert> god these fuckers 05:42 < kaos> is a 1:1 copy of the creole storage 05:42 < Wombert> their pdo storage sucks 05:42 < impl> PDOSessionStorage 05:42 < kaos> which is not from us 05:42 < pressureman> not like it was a huge amount of code either... 05:42 < pressureman> crikey, you could scribble that out on a cocktail napkin 05:42 < kaos> because ours actually works ;p 06:03 < Wombert> any questions so far, pressureman ? 06:11 < pressureman> not yet... i'm just organising my evening's drinking activities myself 06:11 < pressureman> don't wait up :) 06:18 < Wombert> heh okay 06:18 < Wombert> just watching daily show and colbert report 06:18 < Wombert> then... bedtime 06:19 < Wombert> catch ya later 06:22 < pressureman> cya, thanks for help 06:27 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 07:04 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 07:04 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 08:09 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 09:25 -!- AngryMikeSeth [n=mst@unaffiliated/mikeseth] has quit [Read error: 54 (Connection reset by peer)] 09:25 -!- AngryMikeSeth [n=mst@192.115.27.162] has joined #agavi 09:40 < v-dogg> huomenta 09:43 < v-dogg> lol @ symfony 09:43 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 09:44 < v-dogg> hmm... to /join #symfony or not to join :) 11:05 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 11:16 -!- benny`work [n=benny@p54AC05A0.dip0.t-ipconnect.de] has joined #agavi 11:51 -!- horros [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 11:52 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 12:21 -!- Wombert [n=Wombert@dslb-084-056-047-216.pools.arcor-ip.net] has quit [Nick collision from services.] 12:21 -!- Wombert [n=Wombert@dslb-084-056-029-130.pools.arcor-ip.net] has joined #agavi 12:31 -!- codecop [n=codecop@85.206.199.142] has joined #agavi 12:41 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 12:41 < _cheerios> morning 12:54 < horros> morn 12:54 < ttj> Yo. 12:58 < _cheerios> http://cgi.ebay.com/ebaymotors/Ferrari-Testarossa_W0QQitemZ300076657156QQihZ020QQcategoryZ6212QQssPageNameZWDVWQQrdZ1QQcmdZViewItem 12:58 < _cheerios> a funny... click the sellers name to see what he bought on the 30th... 13:00 < ttj> I've been meaning to get me one of those... 13:07 -!- codecop [n=codecop@85.206.199.142] has quit [Remote closed the connection] 13:10 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 13:30 < _cheerios> http://www.rvc.cc.il.us/faclink/pruckman/humor/grading.htm 13:32 < v-dogg> my mother-in-law (a high-school teacher) is going to love this. she always has tons of exams to correct 13:33 < ttj> Interesting, that URL didn't load through the school proxy. 13:33 < v-dogg> heh 14:36 -!- shoan_ [n=shoan@59.92.205.36] has joined #agavi 14:39 -!- shoan [n=shoan@59.92.204.53] has quit [Read error: 110 (Connection timed out)] 14:58 * Wombert yawns 14:58 < Wombert> huomenta 15:03 < v-dogg> hi 15:10 -!- shoan [n=shoan@59.92.172.7] has joined #agavi 15:15 -!- shoan_ [n=shoan@59.92.205.36] has quit [Read error: 60 (Operation timed out)] 15:15 < _cheerios> watched LOST. hmm. nothing really happened? 15:17 < Wombert> well 15:17 < Wombert> we all knew what would happen, that was the problem of that episode 15:17 < Wombert> we knew kate and sawyer would try to escape 15:17 < Wombert> we knew they needed a boat 15:17 < Wombert> we knew jack didn't know that they were on a different island 15:18 < Wombert> still liked it 15:18 < Wombert> the "hit by a bus scene" was uber funny 15:18 < _cheerios> maybe the boy being hooked for some mindbending was somewhat new 15:18 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 15:18 < Wombert> probably a hommage to Final Destination :D 15:18 < _cheerios> well... kinda.... but it's been done so many times (even recently in Heroes) 15:18 < Wombert> and sawyers nicknames etc were cool, again 15:18 < Wombert> like the wookie trick thing 15:18 < Wombert> in heroes? hit by a bus? 15:18 < _cheerios> heh 15:18 < _cheerios> in the drawn version 15:20 -!- codecop [n=codecop@85.206.199.142] has joined #agavi 15:27 < _cheerios> the whole running away, being caged -theme has been getting old for several eps now 15:30 < MikeSeth> there is NEW lost? 15:33 -!- shoan_ [n=shoan@59.92.159.16] has joined #agavi 15:34 -!- shoan [n=shoan@59.92.172.7] has quit [Read error: 110 (Connection timed out)] 15:35 < Wombert> yeah, MikeSeth, Feburary 7th 15:35 < Wombert> didn't you mark that in your calendar? 15:35 < MikeSeth> no 15:35 < MikeSeth> i dont track it atm 15:35 < MikeSeth> also, i dont have a calendar 15:37 < Wombert> pkefc 15:39 -!- kaos- [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 15:39 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 15:41 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 15:42 -!- kaos- [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 15:42 -!- digitarald| [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 15:56 -!- shoan [n=shoan@59.92.167.34] has joined #agavi 15:58 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit [Read error: 110 (Connection timed out)] 16:00 -!- digitarald| [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 16:01 -!- shoan__ [n=shoan@59.92.173.110] has joined #agavi 16:05 -!- shoan [n=shoan@59.92.167.34] has quit [Read error: 145 (Connection timed out)] 16:10 < _cheerios> dahaamn... prison break ending was \o/ 16:11 -!- shoan_ [n=shoan@59.92.159.16] has quit [Read error: 110 (Connection timed out)] 16:11 < _cheerios> gently down the street.. gently down the street... 16:11 -!- shoan [n=shoan@59.92.164.233] has joined #agavi 16:14 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 16:26 -!- shoan__ [n=shoan@59.92.173.110] has quit [Read error: 110 (Connection timed out)] 16:26 -!- shoan_ [n=shoan@59.92.165.90] has joined #agavi 16:34 -!- shoan [n=shoan@59.92.164.233] has quit [Read error: 110 (Connection timed out)] 16:47 -!- shoan [n=shoan@59.92.194.235] has joined #agavi 16:48 -!- shoan_ [n=shoan@59.92.165.90] has quit [Read error: 110 (Connection timed out)] 17:36 -!- codecop [n=codecop@85.206.199.142] has quit ["Have to go"] 17:39 -!- Xylakant [n=fgilcher@115.205.27.217.static.versanetonline.de] has joined #agavi 18:05 < Xylakant> hi 18:05 < Xylakant> is there a way to format a date so that it contains the time using the agavi translation system? 18:06 < Xylakant> and is there a way of formatting a date with a different format without defining a completely new translation domain (i'd need the short date format in one single place) 18:08 < Wombert> nope, you have to create a translation domain 18:09 < Xylakant> hmm 18:09 < Wombert> the idea behind that is that this way, you will never run into the situation where you all of a sudden have not one, but 27 places in your code where some special formatting is used 18:09 < Wombert> think about it... 18:09 < Wombert> you introduce a new format 18:09 < Wombert> complicated string 18:09 < Wombert> all developers have to go through the code and find a location where it is used because they can't remember the format 18:10 < Wombert> plus if you want to change it, you can't do it centrally 18:10 < Wombert> whereas everyone can remember "dates.long" 18:10 < Wombert> "dates.invoiceStyle" 18:10 < Wombert> "dates.orangeCow" 18:10 < Wombert> or something like that 18:10 < Xylakant> why not define the format in the dateformatter param 18:10 < Wombert> because :p 18:10 < Xylakant> and pass a format name instead of a domain 18:10 < Wombert> where's the difference 18:11 < Xylakant> would achieve the same and the standard format would be available without creating a full new domain 18:11 < Wombert> from inside the code, it doesn't matter 18:11 < Wombert> mmmmh 18:11 < Wombert> wait 18:11 < Xylakant> it feels wrong in some way 18:12 < Wombert> I believe http://groups.google.com/group/agavi-users/browse_frm/thread/b34348f9d2b28662 is what you're looking for 18:12 < Wombert> or 18:12 < Wombert> uuuhm 18:13 * Wombert ponders 18:13 < Wombert> kaos? 18:13 < Xylakant> a domain is a set of directives that belong together, a format does not justify a full new domain 18:13 < Xylakant> that thread explains how i create my own date format 18:14 < Xylakant> that's the answer to my first question :) 18:14 < Wombert> yes but 18:14 < Wombert> I believe you can do it this way 18:14 < Wombert> you define a translation domain for the date formatter 18:14 < Wombert> and then 18:14 < Wombert> mmh 18:14 < Wombert> no 18:14 < Wombert> that's not gonna work 18:14 < Wombert> but I can ask kaos if he could do it this way... 18:14 < Xylakant> yes. but for every date format that i want to use i need my own translation domain 18:14 < Wombert> essentially... you set up the formatter for domain "foo" 18:15 < Wombert> and if you use it with "foo.bar", it would grab "bar" from the destination domain 18:25 < Xylakant> hmm. i did not get the custom format to work, but i figured from the example how to include the time in the format 18:27 < horros> heh 18:27 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 18:27 < horros> I've so far today watched three seasons of red dwarf, had a bunch of beers and an excellent florida beef 18:27 < Whisller> Good afternoon 18:27 < horros> I love saturdays <3 18:28 < _cheerios> sweet. naruto fillers ended up after 2½ years and the actual anime continues \o/ 18:29 < Xylakant> but still, i can only define one dateformatter per domain so if I need the three standard formats (long, medium, short) once with and once without time i need 6 extra translation domains in my translations.xml instead of calling translationManager->_d(date, formatname) 18:30 < Xylakant> well, need to go shopping, otherwise: no food today. 18:30 < Xylakant> be back later. 18:31 < Wombert> we're working on a solution, Xylakant 18:31 < Xylakant> :) 18:31 < Xylakant> might i place another feature-request? 18:31 < Wombert> sure 18:32 < Xylakant> make the translation manager accept PHP5.2 Date object in addition to ints 18:32 < Wombert> you mean the date translator 18:32 < Xylakant> handling dates as timestamps is a dangerous thing, some platforms do not handle negative unixtimestamps properly... 18:32 < Wombert> _d() 18:32 < kaos> Xylakant: we don't handle dates as timestamps 18:33 < kaos> you can only pass timestamps to _D 18:33 < Xylakant> i know 18:33 < Wombert> but yes, we can have a look 18:33 < Xylakant> but i'd like to keep my developers from doing so 18:34 < Xylakant> and always calling Date::toTimeStamp() or whatever before formatting would be possible but it would be nicer if the translationmanager or dateformatter could do so :) 18:50 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 145 (Connection timed out)] 18:56 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"] 19:04 < _cheerios> oh, didnt even notice 5.2.1 being out 19:12 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 19:17 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 19:19 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 19:21 < MrJeep> hum 19:21 < MrJeep> listen to this : 19:22 < MrJeep> In my propel TigerZonePeer, I created a recursive method called retrieveTree 19:22 < MrJeep> which of course get called in this method 19:22 < MrJeep> now in a model, I have : $this->data = TigerZonePeer::retrieveTree(); 19:23 < MrJeep> and this makes an error 19:23 < MrJeep> Fatal error: Call to undefined method Indicator_IndexModel::retrieveTree() in D:\Web\Project\Web\Tiger\app\lib\propel\classes\tiger\TigerZonePeer.php on line 57 19:23 < MrJeep> could this be a php bug ? 19:27 < Wombert> oO 19:27 < Wombert> what is line 57 19:28 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 19:29 < MrJeep> $tree[$i]['child'] = $this->retrieveTree($node->getId()); 19:30 < MrJeep> somehow, php think that $this is refering to the model class 19:30 < MrJeep> hum, maybe I should use self:: 19:30 < MrJeep> yeah, self 19:30 < CIA-23> dominik * r1687 /branches/0.11/src/translation/ (3 files): 19:30 < CIA-23> use extra domain info in the formatters for constructing the final translation domain to be used with the format 19:30 < CIA-23> closes #419 19:32 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 19:35 < MrJeep> wombert, do you know a way to display something recursive inside the template without using a function ? 19:46 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 19:47 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 19:54 < Xylakant> MrJeep: have you worked with the SPL Iterator classes? 19:54 < Xylakant> using iterators, that is pretty simple 19:55 < Xylakant> Write a RecursiveIterator to walk your tree, wrap it in a RecursiveIteratorIterator and you're pretty much set 19:56 < Wombert> yup 19:56 < Wombert> Xylakant: so we fixed that issue with formatters and domains 19:56 < Xylakant> if you're using propel 1.3 nested set trees, the iterator is already there 19:56 < Xylakant> Wombert: thanks 19:56 < Xylakant> i'll eat something and then have a look 19:56 < Wombert> you now configure a date formatter for a domain, let's say "default", and you give it a translation domain "dates" 19:57 -!- shoan_ [n=shoan@59.92.138.51] has joined #agavi 19:57 < Wombert> and for translation domain "dates", you have a simple text translator 19:57 < Wombert> then you format "default.asdf" 19:57 < Wombert> and it will grab that from dates.asdf 19:58 < Xylakant> ok, that sounds reasonable 19:58 < Arme[N]> http://www.alistapart.com/articles/paperprototyping 19:58 < Wombert> we will also add the ability to nest date formatters and translators for 1.0, Xylakant 19:59 < Wombert> DateTime and DateTimeZone support is coming in a couple of minutes 19:59 < impl> Arme[N]: haha 19:59 < impl> That's great :P 19:59 < Arme[N]> impl: :) 20:01 * horros slaps impl 20:01 < horros> I mean... 20:01 * impl slaps horros 20:01 * horros hugs impl 20:01 < impl> pssh 20:01 < impl> Fruitcake! 20:01 < horros> I love almost everyone tonight! 20:02 < horros> <3 20:02 < impl> Is your project done? 20:02 < v-dogg> you hign on something? 20:02 < v-dogg> high, even 20:02 < horros> no, having beers, listening to rolling stone magazine's top 500 songs of all time and playing the guitar 20:02 < horros> can't get any better than this 20:02 -!- shoan [n=shoan@59.92.194.235] has quit [Read error: 145 (Connection timed out)] 20:02 < Arme[N]> heh :) 20:03 * horros plays blues riffs 20:03 < horros> ~/ AIN'T NO SUNSHINE WHEN SHE'S GONE ~/ 20:03 < horros> lalala 20:03 < v-dogg> haha 20:03 < Wombert> you can play the guitar? 20:03 < Wombert> oO 20:03 < v-dogg> how many beers have had?-) 20:03 < v-dogg> you 20:04 < horros> v-dogg: humm, one point-five sixpack and a couple of bottles... have to go get more before the stores close :) 20:04 < horros> Wombert: aye, I do play ze guitar 20:06 < Arme[N]> lol 20:09 < horros> only problem with this guitar playing is... 20:09 < horros> the damn dog ate my plectrum 20:09 < horros> )#¤)#(%¤ 20:09 < kaos> wtf, you only have ONE plectrum ? 20:09 < v-dogg> anyone seen this somewhere before: Firefox on a luunix box just leaves words out when rendering the page (http://www.tuug.fi/~spica/veikko4.png <- Main menu links should be "Första _sidan_", "Till _deltagarna_" and "Logga _in_") 20:09 < horros> one left 20:09 < horros> the dog's had the rest of them too :( 20:10 < kaos> heh 20:10 < kaos> must be tasty ones :D 20:10 < v-dogg> horros: they'll come out, just wait and pick them from the poo 20:10 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- The future of IRC"] 20:11 < horros> v-dogg: I found some pieces from my last pectrum on the floor today :( 20:12 < _cheerios> v-dogg, looks fine on ff linux. 20:13 < _cheerios> *correction, iceweasel 20:13 < Wombert> v-dogg: the words wrap 20:13 -!- shoan [n=shoan@59.92.154.229] has joined #agavi 20:13 < Wombert> v-dogg: and your fixed height for the elements causes clipping 20:13 < Wombert> decrease text size and it shows up 20:13 < Wombert> (I guess) 20:13 < horros> :O 20:13 < horros> steppenwolf! 20:13 < kaos> WTF WTF WTF WTF WTF WTF WTF WTF 20:13 < kaos> W T F 20:13 < impl> Uh oh 20:14 < v-dogg> Wombert: the same happens with

För föreningar

(only "För" in the picture) 20:14 < kaos> $locale = $this->locale; 20:14 < kaos> $foo = clone $this; 20:14 < kaos> err 20:14 < kaos> yay 20:14 < _cheerios> hehe 20:14 < kaos> mirc 20:14 < Wombert> the locale won't be cloned 20:14 < horros> off to the store 20:15 < horros> bbiab 20:15 < kaos> $locale = $this->locale; 20:15 < kaos> # $locale object id => 60 20:15 < kaos> $foo = clone $this; 20:15 < kaos> # $locale object id => 67 20:15 < kaos> can ANYone explain that behaviour ? O_o 20:15 < horros> ahaha 20:15 < horros> I ask "börjar du bli hungrig?!" (are you getting hungry?!) 20:16 < horros> and the dogs yet at a million miles an hour to the kitchen and barks at me :D 20:16 < horros> jet* 20:16 < v-dogg> they know when you are talking about food :) 20:17 < v-dogg> do you speak swedish with the dog? 20:17 -!- shoan_ [n=shoan@59.92.138.51] has quit [Read error: 60 (Operation timed out)] 20:17 < Wombert> kaos' dog mistakes everything for food 20:18 < Wombert> I brought him back his digicam the other day and she thought it was something to eat :D 20:18 < Wombert> and I remember when I once got a pizza from the italian restaurant around the corner and then went visit him 20:18 < Wombert> I opened the box and put it on a chair 20:18 < kaos> well, have you ever seen a dog crack and eat walnuts ? 20:18 < Wombert> looked into the other direction for the split of a second 20:19 < Arme[N]> horros: wow http://www.torrentz.com/9b6b8c81a4b6009a059bed57c66310a500dca164 :) 20:19 < Wombert> and reached out just in time to stop her from pulling a slice of pizza from the box :D 20:19 < Wombert> she's ultra funny 20:19 < Wombert> very stupid dog 20:19 * Arme[N] hids 20:19 < Wombert> and very lovely 20:19 < Wombert> and very funny 20:19 -!- shoan_ [n=shoan@59.92.156.139] has joined #agavi 20:20 < horros> v-dogg: yes, I do, my mother tongue is swedish 20:20 < horros> v-dogg: svenska-talande bättre folket and all that 20:20 < horros> :) 20:20 < Wombert> you are swedish? 20:20 < Wombert> oO 20:20 * Wombert scratches head 20:20 < horros> Arme[N]: whole-heartedly recommended :) 20:20 < Wombert> you finns are weird 20:20 < v-dogg> horros: ok. my missus is too 20:21 < Wombert> horros: is ze torrent any good 20:21 < Wombert> i.e. are they all same quality and >= 192kbits? 20:21 < horros> Wombert: probably, I grabbed it off pirate bay 20:21 < horros> and... I really don't know what the quality is, good enough :) 20:21 < horros> I can't be arsed to boot up the missus' laptop 20:22 < horros> v-dogg: orly? from turku originally or...? 20:22 < v-dogg> espoo 20:22 < horros> Wombert: and, oh, yes, I speak swedish, think in swedish, and I do speak better swedish than finnish :) 20:23 < Wombert> do I hvae to understand this? :< 20:23 < v-dogg> and you think swedish is better than anything else 20:23 < horros> v-dogg: ah, if she were male, we (from ostrobothnia) would call them "gumipitt" :D 20:23 < Wombert> holy jesus 20:23 < horros> v-dogg: oh bollocks 20:23 < v-dogg> haha 20:23 < Wombert> I guess I'm not weird enough 20:23 < horros> Wombert: finland is a bilingual (well, tri-lingual, to be precise, but who cares about the sami?) country 20:24 < Wombert> yeah okay I know that 20:25 < horros> v-dogg: I care nothing about what language people speak. as long as I understand them and they understand me -- all the better 20:26 < horros> so please don't give me no crap about "and you think swedish is better than anything else" 20:26 < horros> my mother, grandmother and grandfather are all completely finnish 20:26 < v-dogg> forgot the smiley, sorry 20:26 < horros> s'ok 20:26 < horros> I'm just sick and tired of people going "saatanan hurrit" and "satans finnjävlar" 20:27 < v-dogg> haha 20:27 < Wombert> what does that mean 20:28 < Wombert> so is it like 20:28 < Wombert> that in some parts of finland 20:28 < Wombert> people speak swedish? 20:28 < horros> Wombert: "fucking swedes" and "fucking finns" 20:28 < Wombert> or prefer swedish over finnish? 20:28 < horros> Wombert: not really 20:28 < horros> Wombert: yeah, that's maybe more close to the truth... 20:28 < Wombert> why do you speak swedish better than finnish then 20:28 < Wombert> ah okay 20:28 < horros> Wombert: some parts of finland (mainly the coastal areas) have higher population of swedish-speaking finns than other parts 20:29 < horros> and some parts (say, eastern finland, near the russian border) have fuck-all swedish speaking people 20:29 < Wombert> like turku :) 20:29 < Wombert> oO 20:29 < horros> well, turku actually have more finnish-speaking people than swedish-speaking 20:29 < impl> Finland is west of Sweden? 20:30 < impl> wtf 20:30 < horros> even if it was originally a swedish city :) 20:30 < Wombert> impl: east 20:30 < impl> wait no it's east 20:30 < impl> okay 20:30 * impl loves being an American 20:30 < Wombert> haha at least you know it's next to sweden :D 20:30 < horros> heh 20:30 * horros grabs the book very few people in North America knows about 20:30 < Wombert> "aah yah finland, yeah, isn't that in the rocky mountains" 20:30 * horros slaps impl around a bit with a very large atlas 20:31 * impl grabs the book everyone in American reads constantly 20:31 -!- Arme[N] is now known as Arme[0] 20:31 * impl slaps horros around a bit with the Bible 20:31 * horros ducks for the bible 20:31 -!- shoan [n=shoan@59.92.154.229] has quit [Read error: 110 (Connection timed out)] 20:31 < horros> anyway 20:31 < horros> => out with the dog 20:31 < horros> bbiab 20:31 * impl takes a shower 20:43 < MrJeep> well, I've asked on the propel chan about nested set trees but, as usual, no answer 20:43 < MrJeep> arg, I have to go 20:43 < MrJeep> next time 20:48 < Xylakant> MrJeep: i'm using those 20:48 < Xylakant> maybe i can answer your question(s) 20:54 < CIA-23> dominik * r1688 /branches/0.11/src/translation/ (2 files): 20:54 < CIA-23> it is now possible to pass a php DateTime object to _d() or createCalendar 20:54 < CIA-23> closes #420 20:56 < Wombert> there you go, Xylakant 20:56 -!- shoan_ [n=shoan@59.92.156.139] has quit [Read error: 104 (Connection reset by peer)] 21:00 < Xylakant> great, thanks 21:00 -!- shoan [n=shoan@59.92.156.139] has joined #agavi 21:01 < MrJeep> Xylakant : well, what's the nested set trees ? 21:01 < Xylakant> rule #1: Never rub your eye. 21:01 < MrJeep> oh by the way, I have to display the recursive data as a tree 21:01 < MrJeep> with tabs and stuff 21:01 < Xylakant> Rule #2: if you feel like breaking rule #2, at least do so before slicing chilies. 21:01 < Xylakant> *sigh* 21:02 < Xylakant> nested set is a way or representing trees in sql databases 21:02 < horros> nonono 21:02 < horros> rule #1 is: never touch your privates 21:02 < horros> :) 21:02 < MrJeep> with something like a "parent" field 21:02 < Xylakant> let me tell you something, horros: it won't hurt as much... 21:03 < Xylakant> MrJeep: no 21:03 < Xylakant> it doesn't use a parent field 21:03 < horros> Xylakant: I've rubbed me' eye after poking in dried chili 21:03 < horros> I've also rubbed me' privates after poking in dried chili 21:03 < horros> guess which one I'd rather have?-) 21:03 < Xylakant> MrJeep: http://dev.mysql.com/tech-resources/articles/hierarchical-data.html 21:04 < Xylakant> this explains pretty well how it is supposed to work 21:04 < Xylakant> horros: washing your privates with soap and hot water is way easier than washing your eye. 21:04 < Xylakant> and i won't ask why you tried that. 21:05 < horros> Let's say it was an accident and leave it at that, eh?-) 21:05 < Xylakant> nested tree is more efficient when reading partial trees while less efficient when writing 21:05 < Xylakant> horros: i never asked ;) 21:06 < horros> modified preorder tree traversal <3 21:06 < Xylakant> in typical web-environements, you'd rather want efficient reading, this is what makes nested set your #1 choice 21:06 < Xylakant> and propel 1.3 features a full implementation 21:07 * kaos still wants an effective way to store a undirected graph in sql 21:07 < kaos> nested trees are nice 21:07 < kaos> but when you need multiple parents 21:07 < kaos> boom :D 21:07 < horros> kaos: I bet joe celko has some good advices for that 21:08 < horros> and 21:08 < kaos> i had some 30 page paper talking about doing that stuff in oracle 21:08 < kaos> well, that used like 90% oracle sql extensions nobody ever understands :p 21:08 < horros> why the SMEG won't my xlink work on my lenovo, but works fine on my fujitsu-siemens?! 21:08 < horros> stupid computer 21:08 < horros> :( 21:12 < Xylakant> kaos: what do you mean with 'multiple parents' - multiple root nodes or that an arbitrary node may have multiple parents? 21:13 < kaos> arbitrary 21:13 < Xylakant> ok, but then we're not talking about trees any more ;) 21:13 < horros> pretty much what an undirected graph means, yes?-) 21:13 < kaos> thats why i said undirected graph ;) 21:13 < Xylakant> yes 21:14 < Xylakant> but the classic adjecency list won't work either 21:14 < kaos> no 21:14 < kaos> its a problem which definitly shouldn't be used with an rdbms 21:15 < kaos> problem class 21:15 < Xylakant> i agree 21:16 < kaos> db4o made me be a fanboy of real object databases tho 21:16 < Xylakant> if you're only looking for storage, you could represent it as an n-m relationship between nodes, but that would not be very efficient 21:16 < kaos> which would probably excel at these kind of tasks 21:16 < kaos> well, its the classical news system problem really 21:16 < kaos> take spiegel.de for example 21:17 < kaos> many of their articles have multiple parents 21:17 < kaos> like sports + whatever 21:17 < horros> kaos: http://www.amazon.com/Hierarchies-Smarties-Kaufmann-Management-Systems/dp/1558609202 21:17 < horros> that's the best I could do :) 21:17 < kaos> illustrates several major approaches to representing trees and hierarchies 21:18 < kaos> now it depends what he means with hierarchies 21:18 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 21:18 < horros> kaos: should cover acyclic graphs 21:18 < kaos> cool, when i have to much time+money i'll look at that ;) 21:19 < horros> also 21:19 < horros> http://www.dbazine.com/oracle/or-articles/tropashko4 21:19 < horros> should cover, as far as I can tell from a quick glance, DAGs 21:19 < Xylakant> well, no 21:19 < Xylakant> the articles have multiple categories 21:19 < Xylakant> but the category list should be a regular tree 21:19 < horros> (Directed Acyclic Graphs) 21:19 < kaos> oh and anyone here wrote an (la)lr parser generator ? ;) 21:20 < kaos> Xylakant: spiegel is a really simple example 21:20 < kaos> another one would be any social networking site 21:20 < kaos> which shows you "connections" to other ppl 21:20 < kaos> so over whom you know who 21:20 < kaos> etc 21:22 < kaos> does anybody KNOW what an LALR parser is at all ? :p 21:22 < horros> well, yes I do, but I've never written one :) 21:22 < horros> hmm, 21:22 < horros> wait 21:22 < horros> maybe I have 21:23 < kaos> heh 21:23 < horros> although, that has been in prolog :D 21:23 < horros> Prolog <3 21:23 < kaos> omg 21:23 < kaos> well, i wrote a generator too 21:23 < kaos> but errrm, yeah 21:23 < horros> because I've definitely written grammar parsers in prolog :) 21:23 < kaos> its quite stupid when you only read the parts of a book you think you need 21:23 < kaos> and notice that you implemented LALR(0) instead of LALR(1) 21:24 < kaos> which is sadly quite useless for parsing programming languages :p 21:24 < horros> that never really works out, because there's always something written in the parts that you skip that you really need to know to understand the part you think you need to know :) 21:24 < kaos> yeah 21:25 < kaos> and when the book is written in an english 21:25 < horros> I wish I could figure out some project that I'd need to use prolog in :) 21:25 < kaos> where you think you'r reading chinese 21:25 < kaos> doesn't help either :D 21:25 < horros> I quite fancy that language for some perverted and obscene reason. 21:25 < Xylakant> i wish that i never need prolog again ever 21:25 < horros> pfft 21:25 < horros> prolog is loverly 21:25 < horros> nobody understands the beauty of it :) 21:26 < kaos> pff 21:26 < kaos> c++ is everything you'r gonna need :P 21:26 < Xylakant> i had to take 2 classes and the teacher was so absent minded that he always had to backtrack in his explanations 21:26 < horros> I mean, c'mon, I've written a (very bad) pascal's triangle -generator in 10 lines of prolog :) 21:26 < Xylakant> which is pretty bad in a language that is strictly logic 21:27 < horros> haha 21:27 < horros> my teacher was actually very good 21:27 < horros> once you figured out his method of teaching 21:27 < Xylakant> i'd trade 21:27 < Xylakant> well, too late anyways 21:27 < horros> unfortunately I never finished my AI-course 21:27 < Xylakant> kaos: what do you need an lalr parser for? 21:28 < horros> all the AI-apps we did we wrote in prolog 21:28 < kaos> ah well, i'd use bison 21:28 < horros> I should probably still have some of them left on missus' laptop 21:28 < kaos> but i need to parse a dynamic syntax definition 21:28 < kaos> on program start 21:28 < kaos> which the user should be able to edit 21:29 < kaos> and i need it for some "fun" project i'm doing ;) 21:29 < Xylakant> ok 21:29 < kaos> i'm building a syntax editor control in qt 21:30 < kaos> all the editing stuff works already 21:30 < kaos> i got a syntax file driven lexer 21:30 < kaos> which powers coloring 21:30 < kaos> but i need to make some sense of my tokens ;) 21:31 < horros> kaos: in what language do you need it? 21:31 < kaos> c++ ^^ 21:31 < kaos> but i already got most of it done 21:31 < kaos> just need to read that friggin dragon book over and over again 21:31 < kaos> until i fully understand that parser stuff :D 21:32 < kaos> some algorithms in there are really easily written on paper 21:32 < kaos> but when you have to implement them 21:32 < kaos> you have to store like a quadzillion information, etc :P 21:33 < kaos> and changing my old lookahead 0 algorithm doesn't really do it either 21:33 < kaos> since the lookahead is one major player in these algorithms ;) 21:33 -!- codecop [n=codecop@85.206.199.142] has joined #agavi 21:34 < horros> kaos: you should rewrite it all in Prolog :D 21:34 < kaos> no thanks :P 21:34 < horros> why not? :D 21:34 < kaos> i rewrote that code from wtl (winapi) to qt already 21:35 < kaos> that was enough work :P 21:35 < kaos> and i don't have QT in prolog 21:35 < kaos> :p 21:35 < horros> pfft, QT... you have XPCE in SWI-Prolog :) 21:36 < horros> ought to work on pretty much any platform :) 21:36 < kaos> and looks like what ? 21:36 < kaos> motif ? :P 21:36 < horros> not really 21:38 < kaos> http://www.swi-prolog.org/packages/xpce/examples.html 21:38 < kaos> aha O_O 21:38 < horros> http://www.swi-prolog.org/packages/xpce/figs/hypoth.gif 21:38 < horros> :) 21:38 < kaos> lol 21:38 < kaos> beauty++ 21:38 < kaos> :D 21:38 -!- Xylakant [n=fgilcher@115.205.27.217.static.versanetonline.de] has quit ["Leaving"] 21:38 < horros> ;) 21:39 < kaos> http://kaos.kicks-ass.net/qtedit.png <-- THATS beautyful :p 21:40 < horros> pffft 21:41 < horros> I'll give you a screenshot someday of my 3x1600x1280 desktop at work running eclipse :P 21:41 < kaos> ;p 21:42 < horros> which reminds me, I need to yell at Boss to get me a new graphics card 21:42 < kaos> with the difference that my thing works at light speed even on a 500mhz box :P 21:42 < horros> I don't have a fancy machine at work, just a one-point-something ghz duron 21:43 < horros> granted, one gig of memory, but the processor speed isn't that vital 21:43 < horros> heck, I even have more memory in this laptop 21:43 < horros> :) 21:43 < kaos> heh 21:44 < horros> I think I'ma boot up missus laptop and play some multiplayer Halo 2 21:47 < v-dogg> oh for f sake. I updated the software for a digi-tv usb-dongle and now it doesn't work at all 21:47 < horros> haa-haw 21:47 < horros> you bricked it 21:47 < horros> 21:47 < Wombert> what dongle, v-dogg? 21:47 < v-dogg> the software version that it shipped with doesn't show subtitles (some of them) and is a huge pile of crap anyway 21:48 < horros> v-dogg: uhh, neither of my digiboxes show subtitles all the time 21:48 < v-dogg> Wombert: twinhanDTV 21:48 < horros> it's an error in the transmission, not the box itself :) 21:48 < Wombert> v-dogg: http://tinyurl.com/2luvb9 21:49 < Wombert> NOOOO 21:49 < Wombert> NOOOO 21:49 < Wombert> :<<<<< 21:49 < Wombert> oh damn 21:49 * Wombert kicks tinyurl 21:49 < v-dogg> horros: but the seller's website told that yle's (the finnish bbc) subtitles would show after an update 21:49 < horros> oh? 21:49 < horros> it didn't show them _at all_? 21:50 < v-dogg> I don't think so 21:50 < horros> well 21:50 < horros> that's a different story then :) 21:51 < Arme[0]> http://www.guidebookgallery.org/guis 21:51 < horros> both of my boxes randomly stop showing subtitles, then show them for like a split second, then not showing them again... and on and on for a good 10-15 minutes 21:51 < horros> usually on YLE1 and 2 21:51 -!- Arme[0] is now known as Arme[N] 21:52 < Wombert> I bought myself a DVB-T tuner box the other day 21:52 < Wombert> god damnit what a crappy shit this is 21:52 < Wombert> gave it back 21:52 < Wombert> guess I'll get digital cable now 22:10 < _cheerios> http://en.wikipedia.org/wiki/Star_Wars_Christmas_Special, i didnt know, but that's a funny piece of history 22:16 -!- horros [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 22:21 -!- Arme[N] is now known as Arme[0] 23:03 -!- shoan_ [n=shoan@59.92.135.249] has joined #agavi 23:16 -!- shoan__ [n=shoan@59.92.139.202] has joined #agavi 23:19 -!- shoan [n=shoan@59.92.156.139] has quit [Read error: 110 (Connection timed out)] 23:22 -!- shoan_ [n=shoan@59.92.135.249] has quit [Read error: 145 (Connection timed out)] 23:30 -!- codecop [n=codecop@85.206.199.142] has quit ["Have to go"] 23:43 -!- neotekk_ [n=zwc@c-575370d5.013-12-73746f7.cust.bredbandsbolaget.se] has joined #agavi 23:47 -!- neotekk [n=zwc@c-575370d5.013-12-73746f7.cust.bredbandsbolaget.se] has quit [Read error: 113 (No route to host)] --- Day changed Sun Feb 11 2007 00:28 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 00:47 -!- benny`work [n=benny@p54AC05A0.dip0.t-ipconnect.de] has quit ["unset($this);"] 00:58 < digitarald> ah, css3 selector stuff for js is totally scary. these w3c specs ... oh noooo 01:22 -!- neotekk_ [n=zwc@c-575370d5.013-12-73746f7.cust.bredbandsbolaget.se] has quit [Read error: 131 (Connection reset by peer)] 01:35 < _cheerios> imm yourrr turrrbo loverrr... 01:35 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 01:58 < impl> Wombert: Around? 01:58 < Wombert> y0 01:58 < impl> I want to get your opinion on something 01:58 < Wombert> sure 01:59 -!- shoan [n=shoan@59.92.141.79] has joined #agavi 01:59 < impl> http://pastebin.ca/349683 01:59 < impl> Which one would you prefer? 02:00 < impl> the bottom one will probably be an IRCParameterHolder too 02:00 < impl> either way 02:03 < Wombert> haha 02:03 < Wombert> damn 02:03 < Wombert> how long it took me to grasp that 02:04 < Wombert> I must admit I looked at thy lib only very briefly 02:04 < Wombert> kaos might be able to give the better answer 02:05 < Wombert> are these like... callbacks? 02:05 < impl> Yeah 02:05 < Wombert> I like the idea of having a class for that 02:05 < Wombert> simply because it allows for cool forward compatibility 02:05 < impl> I was thinking about that 02:05 < Wombert> you can implement new features and the old hooks still work, plus hooks that are in place can be extended to support new features 02:06 < Wombert> what I don't like about it is the validate thing to determine if it's the right action 02:06 < Wombert> that seems... I don't know 02:06 < impl> That's how M2 worked 02:06 < impl> back in the day :P 02:07 < Wombert> I take it IRCBinding has an initialize method to set the IRC context? 02:07 < Wombert> damn this smells agavi-ish 02:07 < Wombert> :D 02:08 < impl> It'll have something like setContext 02:09 < impl> Wombert: it's based on a lot of Agavi-ish things ;) 02:09 < Wombert> mhm 02:10 < Wombert> I was thinking bind() could initialize() it if not initialized already 02:10 < impl> Yeah, that's what would happen 02:10 < impl> well 02:10 < impl> I want to ensure the context in IOBinding is the same as in the binding handler 02:14 -!- shoan__ [n=shoan@59.92.139.202] has quit [Read error: 110 (Connection timed out)] 02:19 < kaos> i'd mix both 02:20 < impl> Well, I'll tell you guys the predicament with validate() 02:20 < Wombert> object, with READ | WRITE ? 02:20 < kaos> yes 02:20 < kaos> that validate thing 02:20 < impl> IRC messages have so many things you might want to match against 02:20 < kaos> i don't know 02:20 < kaos> maybe some IRCSocket::ALL 02:20 < kaos> where you would validate then 02:20 < impl> There's also IRCSocket::ACTION_OPEN, CLOSE, and ERROR 02:20 < kaos> impl: yeah, but you don't need to put the burden of matching for basics things on the user 02:21 < impl> What do you mean? 02:21 < kaos> that you should use both ;p 02:21 < impl> Oh :P 02:22 < impl> That's true 02:22 < impl> I can put the action and the message type in the ->bind() and then have the more specific matching up to the user 02:22 < ttj> Wombert: What are you doing here? 02:22 < kaos> that is exactly what i meant :) 02:23 < impl> :D 02:23 < impl> Thanks 02:23 < Wombert> ttj: that's an odd question 02:23 < ttj> Wombert: Go away! Go drink! 02:23 < kaos> pfft 02:23 < kaos> he has been out yesterday 02:23 < Wombert> I did yesterday, ttj :) 02:23 < impl> There are so many more productive things I could be doing right now 02:23 < ttj> Wombert: why not today? 02:23 * kaos should be partying tho :s 02:25 < ttj> I should've been partying considering that it was my birthday on the 10th. Instead I ate some wok-thingy, saw a romantic movie and have now drunk up two bottles of red wine. Alone. \o/ 02:25 < Wombert> happy belated birthday then 02:26 < Wombert> did you eat a wok or did you cook something in the wok and eat that 02:26 < impl> It's still the 10th here, happy birthday =P 02:26 -!- shoan_ [n=shoan@59.92.141.110] has joined #agavi 02:26 < ttj> Actually some cute chick cooked something for me with a wok. 02:26 < Wombert> and what movie was that 02:26 < ttj> At a restaurant. :-/ 02:26 < ttj> The Holiday. 02:26 < Wombert> and why didn't you ask her out 02:26 < Wombert> after all, it was your birthday :p 02:26 < Wombert> I mean 02:26 < impl> prly because she was working :P 02:26 < ttj> Because she was working and I was reading some articles on offshoring. 02:26 < Wombert> not that you should only do that on birthdays 02:26 < Wombert> impl: that's the point I'm trying to make 02:27 < Wombert> it was his birthday 02:27 < impl> oh I've gone and fucked something up in my bot 02:27 < ttj> Damnit. In retrospect it seems that I missed a brilliant opportunity. :-( 02:27 < ttj> Oh well, I'll remember this next year. 02:27 < impl> ttj: Code > women anyway 02:27 < ttj> Although I think I might have a hangover or something tomorrow... 02:27 < Wombert> your problem, dude, is 02:27 < ttj> impl: Actually, no. I decided I want to ditch code and do Powerpoints instead. :P 02:28 < Wombert> that you miss out on too many opportunities 02:28 < Wombert> like the one with the shoe salesgirl 02:28 < impl> hmm 02:28 < Wombert> +s 02:28 < ttj> Oh right, damn girl. 02:28 < ttj> Sold me a good pair of shoes, though. 02:28 < impl> Powerpoints are about on the same level as women I think 02:28 < Wombert> not only that 02:28 < Wombert> they also rip you off :p 02:28 < Wombert> how much did you pay at the restaurant 02:28 < ttj> Nothing. 02:28 < ttj> I paid with my card. :P 02:29 < ttj> Ergo it was free. :P 02:29 < impl> lol 02:29 < Wombert> your subconscious mind is like "tits... like tits... must buy... must comply to what girl says... must spend money" 02:29 < ttj> Yeah. 02:29 < ttj> But that's true for every man. 02:29 < impl> It's true for animals for god's sake :P 02:29 < Wombert> and your actual brain is like "oh a girl.... aha, she's smiling at me... mhm she likes me... okay I should go back home, nevermind her" 02:30 < ttj> Shut up. :-( 02:30 < Wombert> I forgot "and she's hot!" 02:30 < impl> ttj: I'll get him 02:30 < ttj> I'll have to cut these lines out of the logs I'll keep... 02:30 < impl> Wombert: If you know so much about girls, why don't you have a girlfriend? 02:30 < ttj> -'ll 02:30 < impl> :D 02:30 < Wombert> that is an interesting question, impl 02:30 < ttj> Because nice guys finish last. 02:30 < ttj> I should know. 02:30 < Wombert> even though I didn't pretend to know anything about girls (which I do) 02:31 < impl> :P 02:32 < Wombert> I believe the answer is that I can't remember meeting a girl that excites me and that will not annoy me to death after two minutes 02:32 < Wombert> since... oooh man 02:32 < Wombert> since when 02:32 < Wombert> since my last relationship! years ago! fubar 02:32 < impl> :< 02:32 < Wombert> now you got _me_ depressed, impl 02:32 < Wombert> thanks 02:32 < ttj> I can relate to that. 02:32 < impl> Sorry 02:32 < ttj> I don't think I'll be invited to the Kopeda annual party any time soon. 02:32 < ttj> I think I insulted quite many people before I eventually left the party. 02:33 < Wombert> no worries, it depresses me regularly (read: about once a day), so it doesn't matter 02:33 < Wombert> what party is that 02:33 < Wombert> and why do you insult people 02:33 < Wombert> and did they have hot chicks 02:33 < ttj> Basicly the chicks studying home economics stuff. 02:33 < impl> lol home ec 02:33 < ttj> "Oh, hi Hanna, you're here too." "My name is Tuire." "Oh, right. Of course you are." 02:33 < Wombert> LOL 02:34 < ttj> "Do you actually move your lips asides from when you drink beer and suck cock?" 02:34 < ttj> I was having a bad day. :-( 02:35 < ttj> But I did win the waltz competition with the real Hanna last autumn. 02:35 < Wombert> did you say that? 02:35 < Wombert> jesus 02:35 < ttj> Well, come on. She had the personality of a fish. Didn't say anything the entire night and she was the girl sitting on the right side of me. 02:36 < ttj> Ergo the one I should talk with. 02:36 < ttj> And I talked, she didn'. 02:36 < ttj> t 02:36 < ttj> And I sort of got fed up with it. 02:36 < impl> lol 02:36 < impl> You are awesome 02:36 * Wombert falls over 02:36 < Wombert> he is, man, he is 02:36 * Wombert hugs ttj 02:36 < Wombert> dude, that takes balls, I reckon 02:36 < Wombert> a party with a 87% girls ratio 02:36 < ttj> Not really. 02:36 < Wombert> and 02:36 < Wombert> haha 02:36 < impl> It's not a matter of balls 02:37 < impl> it's a matter of indifference I think 02:37 < ttj> I mean, I go to their parties every other year. 02:37 < ttj> Mainly due to the fact that I act like this. 02:37 < ttj> So I'll have to skip the parties next year and hope they forget me. 02:37 < Wombert> here's a thought 02:37 < ttj> Then they'll have new freshmen. :P 02:37 < Wombert> maybe 02:37 < Wombert> you're not getting laid because... 02:37 < Wombert> you insult the girls 02:38 < Wombert> or was that a one-time thing 02:38 < ttj> Actually the not getting laid part wasn't that bad a thing. You can just go to a bar and hit on someone with two legs. 02:38 < ttj> But if I want a deeper relationship, the requirements change altogether. 02:38 < Wombert> not talking about that specific night 02:39 < Wombert> they do, yeah, annoying, ain't it 02:39 -!- shoan [n=shoan@59.92.141.79] has quit [Read error: 110 (Connection timed out)] 02:39 < Wombert> what's up with the world these days 02:39 < Wombert> sometimes I wonder if I'm setting my expectations too high or anything 02:39 < ttj> Dunno. I'm drowning myself in studies and work. 02:39 < ttj> Works for me. 02:39 < Wombert> it does, but it doesn't feel too rewarding 02:39 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Read error: 104 (Connection reset by peer)] 02:40 < Wombert> or, well, it might 02:40 < Wombert> and it often does 02:40 < ttj> True. Especially when the largest mobile phone manufacturer decides not to reward its employees after a record year. 02:40 < ttj> No bonuses for me. 02:40 < Wombert> but I often enough realize how my life is missing that certain... 02:40 < Wombert> how do you say 02:40 < ttj> That certain something. 02:40 < Wombert> no I mean 02:40 < Wombert> an antipole, you know 02:41 < ttj> Well, I'm not certain you need a polar opposite of yourself. 02:41 < Wombert> that's not what I mean 02:41 < Wombert> better... 02:41 < Wombert> the certain balance? 02:41 < ttj> I did see this chick who was actually a female version of me. Only nicer. But apparently she didn't get along with me. :P 02:41 < Wombert> a calming influence 02:42 < Wombert> ttj: that doesn't work, come on 02:42 < impl> ANGER IS THE SECRET TO SUCCESS >:OOOOOOOOOOOO 02:42 < ttj> Wombert: It might. 02:42 < Wombert> how boring is that, a copy of yours minus penis plus tits/vagina and an affection for shopping 02:42 < Wombert> boooring 02:42 < ttj> Nah, she was actually a really nice person. 02:42 < ttj> Cared for others. 02:42 < Wombert> but 02:42 < ttj> I typically don't. 02:43 < impl> $impl->sex(clone $impl); 02:43 < impl> hmm 02:43 < ttj> You're not getting laid. :P 02:43 < impl> I'm getting assraped by my self :\ 02:43 < Wombert> so what is the problem, ttj a 02:43 < Wombert> about that girl, I mean 02:44 < ttj> Wombert: Nothing. She's perfect. But she's out of my league and I think there's nothing deeper there. 02:44 < ttj> We're still friends, but I don't think there's anything more. 02:44 < Wombert> ah who says she's out of your league 02:44 < Wombert> hm okay 02:44 < Wombert> I mean, you gotta know 02:44 < ttj> She's a better person than me. :P 02:44 < ttj> But then again, that isn't difficult. 02:44 < Wombert> they mostly are 02:45 < ttj> :P 02:45 < impl> You two are so pathetic 02:45 < Wombert> I'd rather be pathetic than american 02:45 < impl> :( 02:45 < Wombert> what do you know, little boy 02:45 < Wombert> you're young 02:45 < Wombert> and innocent 02:45 < ttj> impl: Just wait until you start growing hair on your chest. ;-) 02:45 < Wombert> and you've got the best time just ahead, trust me ;) 02:45 < impl> I have too much hair on my chest already 02:45 < impl> I'm fucking covered in it 02:46 < Wombert> aaah that's a bit too much information, thank you very much 02:46 < Wombert> anyway 02:46 < impl> I look like Chewbacca 02:46 < Wombert> haha 02:46 < Wombert> :> 02:46 < ttj> :P 02:46 < Wombert> now all you need is a girl that fancies star wars 02:46 < ttj> Shave once in a while? 02:46 < impl> Shave my chest? 02:46 < ttj> Yeah? 02:46 < impl> plz, I'm too lazy to shave my face 02:46 < Wombert> haha word 02:46 < Wombert> you are, man, you are :p 02:46 < ttj> I have a beard trimmer. 02:46 < ttj> Brilliant machine. 02:47 < impl> That requires effort too 02:47 < ttj> No it doesn't. 02:47 < Wombert> I have a razor 02:47 < impl> I get up, take a shower, brush my teeth, and I'm gone 02:47 < Wombert> beats every electric shaver thing 02:47 < kaos> i have a butler \o/ 02:47 < ttj> Wombert: Unless you wan't to keep a short stuble. 02:48 < impl> is that the 'thing' these days? 02:48 < Wombert> I don't think so 02:48 < ttj> It's just me. 02:48 < ttj> I have long hair, too. 02:48 < Wombert> maybe you should shave properly so the girls start talking to you, ttj :p 02:48 < impl> pfft 02:48 < Wombert> j/k ;) 02:49 * impl slaps Wombert with aesthetics 02:49 < ttj> Wombert: The "girls not talking to me" is not the problem. The problem is that the girls who do talk to me are 10 years older. :P 02:49 < impl> ew 02:49 < ttj> impl: Pfft. I'm young. 02:49 < ttj> They're still decently hot. 02:49 < impl> Ohk :P 02:50 < Wombert> look ttj 02:50 < Wombert> the women who work at the grocery store 02:50 < Wombert> are supposed to talk to clients 02:50 < Wombert> that's nothing special 02:50 < ttj> :P 02:50 < Wombert> sorry to burst your bubble 02:50 < Wombert> :p 02:50 < impl> That was cheap, man 02:50 < Wombert> okay 02:50 < Wombert> :< 02:50 < impl> :P 02:50 < ttj> Haha, that was brilliant. :P 02:50 < Wombert> I don't know 02:50 < Wombert> I'd like to cheer you up a bit, tbh 02:50 < Wombert> but I don't know how 02:51 < ttj> Wombert: Can I sleep at your place if I ever come to Germany? :P 02:51 < impl> aha... ha... 02:51 < ttj> I mean, as a precaution. In case the German chicks have no sense of humor. 02:51 < Wombert> LOL 02:51 < Wombert> :>>> 02:53 < impl> unf, I have no motivation to do anything 02:57 < ttj> I do seriously think that I have to censure this discussion from the logs. Hope you don't mind. :-) 02:57 < impl> ttj: It's pretty irrelevant in regards to Agavi, so whatever :P 02:57 < Wombert> fine with me 02:58 < impl> ttj: btw... I think you mean 'censor' 02:58 < ttj> Think carefully before you correct me again. I have a nearly full bottle of Russki Standart... 02:59 < impl> I'm only trying to further your English skills 02:59 < impl> You're all better off than me anyway since you're multilingual 02:59 < ttj> Please don't, if you're an American. 02:59 < Wombert> WAHAHA 03:00 < Wombert> NAILED 03:00 < ttj> You did a terribly bad job the first time round. 03:00 < Wombert> have to admit tho 03:00 < Wombert> impl is a smart american 03:00 < ttj> There's no such thing. 03:00 < impl> At least I'm aware I'm an ignorant fool :\ 03:00 < ttj> Smart Canadian I would've believed. 03:01 < Wombert> canadians are friendly, but backwards 03:02 < Wombert> still, impl is an exceptionally smart representative of his species 03:02 < Wombert> and he doesn't watch fox news 03:02 < Wombert> he's a good american! 03:02 < impl> =P 03:02 < ttj> Does he read The Economist? 03:03 < impl> I have no idea what that is 03:03 * ttj slaps impl 03:04 < impl> I don't think I've ever seen it here either 03:05 < impl> Anywho, I could really care less what the world does with itself. Politics is crap, and I'd be more than happy if we managed to completely annihiliate ourselves somehow. 03:06 < impl> annihilate, even 03:07 < ttj> Well, you guys are certainly doing a good job in it. 03:07 < ttj> Nothing personal. :P 03:08 < impl> :) 03:08 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 03:09 < impl> It would be nice of North Korea attacks us 03:09 < impl> Then we'd see the end of the human race in a few years 03:09 * impl waits for the NSA to show up at his doorstep 03:10 < ttj> Bah, NSA is overrated. 03:48 -!- shoan [n=shoan@59.92.154.61] has joined #agavi 03:54 -!- shoan_ [n=shoan@59.92.141.110] has quit [Read error: 60 (Operation timed out)] 04:05 -!- shoan_ [n=shoan@59.92.141.191] has joined #agavi 04:10 -!- shoan [n=shoan@59.92.154.61] has quit [Read error: 60 (Operation timed out)] 04:17 < Wombert> nn 04:17 -!- Wombert [n=Wombert@dslb-084-056-029-130.pools.arcor-ip.net] has quit [] 04:50 -!- shoan [n=shoan@59.92.142.114] has joined #agavi 05:05 -!- shoan_ [n=shoan@59.92.141.191] has quit [Read error: 110 (Connection timed out)] 05:24 -!- shoan [n=shoan@59.92.142.114] has quit [Read error: 110 (Connection timed out)] 05:44 -!- shoan [n=shoan@59.92.150.55] has joined #agavi 06:04 -!- shoan_ [n=shoan@59.92.160.4] has joined #agavi 06:09 -!- shoan [n=shoan@59.92.150.55] has quit [Read error: 60 (Operation timed out)] 06:14 -!- shoan [n=shoan@59.92.167.245] has joined #agavi 06:28 -!- shoan_ [n=shoan@59.92.160.4] has quit [Read error: 110 (Connection timed out)] 07:14 -!- shoan_ [n=shoan@59.92.168.44] has joined #agavi 07:19 -!- shoan [n=shoan@59.92.167.245] has quit [Read error: 60 (Operation timed out)] 07:20 -!- shoan [n=shoan@59.92.170.12] has joined #agavi 07:26 -!- shoan__ [n=shoan@59.92.186.154] has joined #agavi 07:29 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: shoan_, splatch 07:31 -!- Netsplit over, joins: shoan_, splatch 07:35 -!- shoan_ [n=shoan@59.92.168.44] has quit [Read error: 110 (Connection timed out)] 07:40 -!- shoan [n=shoan@59.92.170.12] has quit [Read error: 110 (Connection timed out)] 09:03 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 09:06 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Success] 09:44 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 09:51 < v-dogg> huomenta 09:56 < pressureman> v-dogg, do you know what became of getModuleName() ? 09:57 < pressureman> i can get to it via $this->getContext()->getController()->moduleName, but is there an accessor for it? 10:03 < v-dogg> I think you need to use the container 10:03 < v-dogg> lemme check 10:03 < pressureman> yes, $this->getContext()->getController()->moduleName is returning empty string 10:03 < pressureman> i see getModuleName in AgaviExecutionContainer 10:04 < v-dogg> that's probably what you want to use 10:05 < pressureman> ok, i'm trying to get the action/module name from AgaviUser 10:05 < v-dogg> hmm 10:05 < pressureman> getContext->getControler->? 10:07 < v-dogg> don't know 10:48 < Arme[0]> huomenta 10:48 -!- Arme[0] is now known as Arme[N] 10:49 * AngryMikeSeth checks in 10:51 < v-dogg> morning folks 11:01 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 11:22 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 11:28 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 11:43 < Arme[N]> 111,111,111 x 111,111,111 = 12,345,678,987,654,321 11:43 < pressureman> whoa... cool 11:43 < pressureman> heheh 11:48 < digitarald> hey ... css3 selectors in mootools 12:02 < AngryMikeSeth> haha, slapped over non-compliant browsers? 12:07 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 12:26 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 12:26 -!- Arme[N-1] is now known as Arme[N] 12:30 < digitarald> Mike, no ... css3 selectors are in javascript, only the syntax is copied from w3c specs 12:30 < digitarald> ok ... we copied not the 100% correct specs because they sometimes really suck 12:30 < digitarald> ever heard of tr:nth-child(2n+1) ... returns every odd row 12:31 < AngryMikeSeth> oh you are on the mootools team? I tried it just yesterday, making a pic gallery 12:31 < AngryMikeSeth> er.. that's a valid css3 selector?! 12:31 < digitarald> BUT if u tr:nth-child(0n+0) u would think to get all elements ... NO ... specs sais, return nothing! 12:31 < digitarald> i'm working with a dev and contribute some things 12:32 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 12:32 < _cheerios> good morning! 12:32 < digitarald> http://www.w3.org/TR/css3-selectors/#nth-child-pseudo 12:35 -!- Arme[N] is now known as Arme[0] 12:35 < pressureman> is there a simple way to have a particular view class always set a certain output type? 12:36 < pressureman> ie, the rc2-way of doing setOutputType() ? 12:37 < digitarald> mmh ... setting it in the route 12:37 < digitarald> output_type="special-one" 12:37 < pressureman> i know about that method, but i have a lot of views derived from this view class 12:37 < pressureman> i don't want to have to set it for each route 12:38 < pressureman> i'd rather set it from the view class, so that any view that extends that class will always be a certain output type 12:38 < digitarald> mh, tried to set outputtype in initialize? 12:38 < pressureman> that's how i used to do it, pre-rc2 12:38 < pressureman> i'm now getting AgaviExecutionContainer::setOutputType() must be an instance of AgaviOutputType, string given 12:38 < digitarald> but its not the best solution, setting it in route would be cleaner, because of caching and all that stuff 12:39 < pressureman> i don't use caching 12:39 < pressureman> it's low traffic, web gui front end admin 12:39 < digitarald> u have first retrieve the correct registered outputtype 12:39 < digitarald> there is a getOutputType somewhere 12:40 < digitarald> wait, i'll open eclipse 12:40 -!- benny`work [n=benny@p54AC1CE5.dip0.t-ipconnect.de] has joined #agavi 12:41 < digitarald> $this->container->setOutputType($controller->getOutputType('myopt')); 12:41 < digitarald> pressureman ... thats it 12:42 < pressureman> hmm 12:43 < pressureman> yep, that seems to be what i need 12:43 < pressureman> thanks 12:44 < pressureman> i may change this to an executeXml in my standard views, but for now i have some standalone xml views that _only_ serve xml 12:44 < pressureman> it's pretty cool how a single view can now server multiple output types tho 12:52 -!- horros [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 12:53 < _cheerios> 500 Internal Server Error << should have something in apache error logs for this? 12:59 < horros> probably, yes 13:00 < horros> humm, how the smeg do I run validators only for "write" actions? 13:00 < digitarald> method="write" 13:03 < AngryMikeSeth> Installed dumps 13:03 < AngryMikeSeth> 2:57 PM 2/8/2007 13:03 < AngryMikeSeth> Converted & conf 13:03 < AngryMikeSeth> Oops. Sorry. 13:04 < horros> hmm, give me a hand here; I'm supposed to use the -action for... what, doing the actual "logging in"? ie. check username/password, set the user as authenticated etc? 13:09 < horros> ...and if so, what the smeg is the "secure" system action for? 13:10 * horros is confused 13:11 < pressureman> afaik, the "secure" action is to be executed when a user does not have the required credentials for a certain page 13:12 < pressureman> basically, an "access denied" page that gets served up 13:13 < horros> ahaa 13:13 < horros> but but but 13:14 < horros> ahaa. 13:14 < horros> right right 13:14 < horros> that sort of clears things up :) 13:17 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 13:22 < pressureman> is there a way to override the template that gets chosen? 13:23 < v-dogg> $this->loadLayer('content')->setTemplate( 13:23 < v-dogg> getLayer 13:23 < v-dogg> sorry 13:23 < pressureman> ok, for a view that only renders xml, how would you suggest going about it? 13:24 < pressureman> i build the xml dom in my view, then saveXML() it to a template attribute 13:24 < pressureman> i have a barebones template that simply echoes $template['xmlString'] 13:24 < pressureman> sound ok? 13:25 < v-dogg> that's how I do it, but I'm not sure if that's the mos elegant way 13:25 < v-dogg> I think you can set output directly into the response 13:25 < pressureman> no, you can't echo from the view 13:26 < pressureman> agavi gets upset, as it sets http headers quite late 13:26 < v-dogg> no, not echo, but $this->getResponse()->dosomething($dom->saveXML()) 13:26 < v-dogg> I think 13:26 < v-dogg> setContent or something 13:27 < pressureman> hmm 13:27 < pressureman> send() maybe 13:27 < horros> v-dogg: any pointers on the FPF? I used to do like... $request->setError('fieldname', 'Error string'); $controller->forward('Module', 'Action'); and FPF would populate the input fields... now with the validator doohickey, it automatically tries to run LoginErrorView... 13:27 < horros> v-dogg: should I just make it run the LoginInput.php -template? 13:28 < pressureman> horros: put a handleError() method in your form edit action, that returns 'Input' 13:29 < horros> oh right 13:29 < horros> heh, we desperately need documentation :) 13:29 < pressureman> yes... when wombert isn't around, the agavi world falls apart 13:30 < pressureman> v-dogg, i'm using a decorator for my xml views... saves me having to override the template 13:30 < pressureman> just a decorator layer, no content layer 13:30 < pressureman> and i echo the $template['xmlString'] from the decorator... 13:31 < pressureman> a bit naughty probably, but Works For Now (TM) ;-) 13:32 < v-dogg> The Best Working Solution Until Wombert Tells me not to do it 13:42 < horros> umm 13:42 < horros> what happend to $request->hasErrors() ? 13:43 < v-dogg> it was moved to the validatormanager 13:43 < v-dogg> see the sample app :) 13:44 < pressureman> $container->getValidationManager()->hasErrors() 13:44 < horros> *sigh* 13:44 < pressureman> musical chairs 13:44 < horros> ok, so how do I access the validation manager in the template then? 13:45 < pressureman> $container->getValidationManager()->hasErrors() 13:45 < pressureman> it's in the sample app 13:45 < pressureman> see the logininput template 13:46 < pressureman> i'm off to bed... 'nite all 13:46 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 13:46 < horros> ahaa, my checkout was rather out of date 14:03 -!- codecop [n=codecop@85.206.204.172] has joined #agavi 14:06 -!- benny`work [n=benny@p54AC1CE5.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 14:18 < AngryMikeSeth> weeeeee 14:18 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 14:18 < _cheerios> russian bus got pulled over over an hour ago, now two more cars joined and they seem to be from customs. i wonder what's the commotion :) 14:21 < AngryMikeSeth> russians are probably drunk 14:21 < AngryMikeSeth> I know - I am one - and I would be 14:24 < _cheerios> of the few russians ive made friends with one was the son of a doctor turned rock singer, the other is a geek from some wealthy russian family 14:24 < _cheerios> oddly, neither was in to booze much 14:27 -!- Wombert [n=Wombert@dslb-084-056-000-198.pools.arcor-ip.net] has joined #agavi 14:34 -!- benny`work [n=benny@p54AC2271.dip0.t-ipconnect.de] has joined #agavi 14:46 < AngryMikeSeth> ok, who can explain me how the requests map to action execute*() methods? 14:51 < Wombert> there's a mapping in the request implementation that maps native types or verbs to custom ones 14:52 < Wombert> for HTTP, this is GET => read, POST => write, PUT => create and DELETE => remove 14:53 < Wombert> if an executeVerb method is found,that indicates that the action serves this request method 14:53 < Wombert> validation will be performed, and then that method is run 14:53 < Wombert> if there is no such method, getDefaultViewName is used to determine the name of the default view, which is then run 14:55 < Wombert> an exception is if an execute() method is in place 14:55 < Wombert> that means the action serves all request methods 14:55 < Wombert> note that request methods must not be defined in order for you to be able to use them 14:55 < Wombert> you could use the routing, for example, to set the request method to "lalala" 14:56 < Wombert> this opens a nice ability... you _could_ write all of your operations in one action, with "read", "write", "create" and "remove" methods 14:56 < Wombert> et voila, you have a RESTful API! 14:57 < Wombert> and after that, you could create the necessary hacks in the routing to make it work for "normal" HTTP, i.e. in browsers 14:57 < Wombert> for agavi2, we'll refine (read: throw away and rewrite) the whole module/action/blah stuff 14:57 < Wombert> I don't like it much 14:57 < Wombert> the RESTful stuff I described can't really be done in one action without introducing information about the request or output type, for instance 14:58 < Wombert> also, right now, you often have the problem that you must check for the request method by hand in your view, which sucks, too 14:59 < Wombert> (even though that could be avoided by simply creating two views so you don't have to, for example, check the request method before you order the initial population of the form on "read") 15:17 < AngryMikeSeth> I should save this and turn it into a piece of documentation 15:20 -!- shoan [n=shoan@59.96.37.218] has joined #agavi 15:22 < Wombert> what I would like to see in 2.0 is... that modules, should we keep them, are actual available objects 15:25 < AngryMikeSeth> why? modules are just a namespace, they dont have any context 15:26 < Wombert> mmmmh... 15:28 -!- shoan__ [n=shoan@59.92.186.154] has quit [Read error: 110 (Connection timed out)] 15:30 < _cheerios> Adobe's now open sourced ECMA script Virtual Machine is as fast as java, only it starts faster. << stumbled on this quote. is it loonie-talk, or is ECMA script going to take over the world in a few years? 15:30 < Wombert> it probably won't, since it has too many shortcomings 15:30 < Wombert> but adobe's VM is kick ass from what I hear 15:34 < AngryMikeSeth> _cheerios, I really cant see everyone writing javascript, its broken and horrible as it is 15:45 < digitarald> because of that there are clean and friendly frameworks, making everything wonderful and easy :D 15:48 < digitarald> voting ... are the animations smooth enough: 15:48 < digitarald> http://dev.digitarald.de/squeeze.html 15:49 < _cheerios> slow as usual on firefox when it comes to JS :) 15:49 < _cheerios> *linux 15:49 < AngryMikeSeth> dns dead 15:50 < AngryMikeSeth> michael@deathwish:~$ dig dev.digitalrald.de @194.90.1.5 +sh 15:50 < AngryMikeSeth> michael@deathwish:~$ 15:50 < AngryMikeSeth> ahh without l! 15:50 < _cheerios> there's this thing called copy and paste 15:51 < AngryMikeSeth> xchat is broken, wont do it right 15:51 < AngryMikeSeth> digitarald, awesome, though you'd prolly want to make it smoother 15:51 < _cheerios> it's probably smooth as fk on windows 15:52 < _cheerios> (unrelated) i get JS "script is taking a looooong time..." errors on linux, where as windows loads the same page fine 15:52 < Wombert> wtf is xchat 15:52 < digitarald> oh ... when u click? 15:53 < AngryMikeSeth> Wombert, gtk hax 15:53 < Wombert> www.colloquy.info 15:53 < AngryMikeSeth> i cant stand mirc 15:53 < _cheerios> xchat, irc client, using it too 15:53 < Wombert> oooh 15:53 < Wombert> windows 15:53 < Wombert> mahahah 15:53 < AngryMikeSeth> khaled mardam bey is a jew hating asshole 15:53 < Wombert> is he? 15:53 < AngryMikeSeth> fuck him and the goat he rode on 15:53 < AngryMikeSeth> yeah, he proclaimed himself a "palestinian" 15:54 < Wombert> okay but 15:54 < AngryMikeSeth> being a victim is so hip these days 15:54 < Wombert> being a palestenian doesn't mean you hate jews/isralies/wahtever, right 15:54 < Wombert> *israelis 15:54 < _cheerios> I HAD MY BRAINS STOLEN BY ALIENS THUS I WRITE PHP 15:54 < AngryMikeSeth> by itself? of course not 15:55 < AngryMikeSeth> but as soon as you utter "zionist occupation" you can pretty much consider yourself a jew hater 15:58 < AngryMikeSeth> http://www.mirc.com/khaled/palestine.html <- lying through his teeth he is 15:59 < digitarald> ... because of that u don't use mirc? 15:59 < AngryMikeSeth> no, because its payware, and I hate his ugly face showing up every time I start it 15:59 < AngryMikeSeth> also because it has security history longer than those of sendmail and bind combined 16:01 < Wombert> he sure has some points though 16:01 < Wombert> like the settlement thing 16:01 < AngryMikeSeth> well Wombie 16:01 < Wombert> I don't understand why israel is going through that hassle 16:01 < AngryMikeSeth> thats the KEY issue 16:01 < Wombert> all it does is cost shitloads of money and cause controversy 16:02 < Wombert> just because some fucked up extremists think it's their right 16:02 < AngryMikeSeth> oh no, not at all 16:02 < Wombert> oh yes, totally 16:02 < Wombert> look 16:02 < Wombert> israelis and palestenians must find a way to get along 16:03 < AngryMikeSeth> Wombie, the simple truth is: except for Israel and the "palestinian" people - the people, not the government - themselves, NO ONE IN THE WORLD wants to see the "palestinian" state to rise 16:03 < Wombert> right 16:03 < Wombert> so 16:03 < Wombert> what do you suggest instead 16:04 < AngryMikeSeth> Honestly? I think Israel should completely surround the territories, and then invest a shitload of money into the "palestinians", and then simply execute people who incite racism and riots 16:04 < AngryMikeSeth> within twenty years the sausage effect would settle in 16:05 < Wombert> hah... who would have thought... iran's envoy to the nato security conference in munich denies the holocaust 16:05 < AngryMikeSeth> they need to be taught to live like modern people, or stfu 16:05 < AngryMikeSeth> yeah 16:05 < AngryMikeSeth> like they said on a comedy show in Israel 16:05 < AngryMikeSeth> "Ahmadimejan is sorry for offending all the jews by denying the holocaust and promises not to deny the next one" 16:06 < Wombert> hahaha :> 16:06 < Wombert> you guys have a good humor, I have to say 16:06 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 16:06 < AngryMikeSeth> what option do we have? 16:06 < AngryMikeSeth> heh 16:06 -!- shoan_ [n=shoan@59.96.39.99] has joined #agavi 16:06 < Wombert> I read about the family of that kidnapped soldier yesterday 16:06 < AngryMikeSeth> but, fuck everyone, we have nukes, and we gonna pwn everyone if anything 16:06 < Wombert> (in Park Avenue, shoot me) 16:07 < Wombert> anyway, that made me laugh... just a second 16:07 < Wombert> goldwasser is his name, I'm sure you know about it 16:08 < Wombert> either way, his mother and his wife agreed to wear light make-up when they are talking to journalists, taking photos, public appearances etc 16:08 < Wombert> they want to look good for him in case he sees them on tv or whatever 16:09 < Wombert> anway, his father said (about the mother) 16:09 < AngryMikeSeth> well the truth is, noone is doing shit about it 16:09 < Wombert> "my wife is afraid that Udi will stay with Nasrallah if he sees her without make-up" 16:09 < Wombert> aaah don't say that 16:10 < AngryMikeSeth> the prime minister is under a criminal investigation 16:10 < AngryMikeSeth> the president is charged with rape 16:10 < Wombert> rumor has it we germans are moderating 16:10 < AngryMikeSeth> the minister of justice is convicted of sexual harassment 16:10 < _cheerios> every country has its problems ;) 16:10 < AngryMikeSeth> one of the senior members of knesset is under corruption trial 16:10 < AngryMikeSeth> we really need to kick the fuck outta the old establishment 16:12 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi [] 16:20 -!- shoan [n=shoan@59.96.37.218] has quit [Read error: 110 (Connection timed out)] 16:28 < _cheerios> gaah, it's 1630 already. where's my weekend, yo? 16:28 < Wombert> the good news, however, is that every minute that brings us closer to the end of the weekend also brings us closer to tonight's Top Gear episode 16:29 < _cheerios> another week of TV series 16:29 < Wombert> top gear, monday/tuesday is heroes, wednesday/thursday is LOST 16:30 < Wombert> and monday to thursday is daily show and colbert report 16:30 < Wombert> aaaah that makes me think 16:30 < Wombert> maybe I live in the wrong country 16:30 < Wombert> is there a country that has a the mix of US and UK cable television? 16:30 < Wombert> that would be awesome :) 16:31 < _cheerios> and sunday BSG, monday prison break 16:31 < Wombert> I wanted to download BSG season 1 the other day but didn't find a good torrent 16:32 < Wombert> and I couldn't find it on DVC either 16:32 < Wombert> DVD 16:32 < _cheerios> tbh, citizen TV would be everyone broadcasting TV programs via bittorrent on their computers after they've aired, automatically, in every country. 16:32 < digitarald> i'm waiting for new ncis :( 16:32 -!- codecop [n=codecop@85.206.204.172] has quit ["Have to go"] 16:32 < Wombert> I _love_ NCIS 16:33 < Wombert> I saw it on tv the other day 16:33 < Wombert> and it is kick ass 16:33 < Wombert> I also like CSI a lot 16:33 < digitarald> its celebration every new episode 16:34 < digitarald> i like cis too ... but ncis is better then cis ... the characters are so cool 16:34 < Wombert> yeah and they are all geeks which is pretty cool 16:34 < Wombert> even the girls 16:34 < digitarald> right ... csi are professionals ... w/o real life 16:37 < digitarald> and when there is a background for a character in cis its depressive ... if it is in las vegas, miami or ny, characters are depressive 16:37 < AngryMikeSeth> Wombert, NCIS is my FAVOURITE show 16:37 < AngryMikeSeth> it is amazing. 16:37 < Wombert> ze mossad girl is funny, too 16:37 < AngryMikeSeth> No!!!! 16:37 < AngryMikeSeth> watch from the first season!! 16:37 < digitarald> me too ... missing kate ;) 16:37 < Wombert> I just watched one or two episodes by accident and I always miss it on tv... 16:37 < AngryMikeSeth> digitarald, yeah that was quite.. unexpected. 16:38 < digitarald> have all seasons here, on english ... 16:38 < AngryMikeSeth> Wombert, download it. 16:38 < AngryMikeSeth> I pay $10/mo to easynews 16:38 < digitarald> episode 14 was really great! 16:39 < AngryMikeSeth> digitarald, have you seen the one where Gibbs gets almost blown up on a ship? 16:39 < AngryMikeSeth> man that kicked so much ass 16:40 < AngryMikeSeth> if not Abby's blatantly ignorant technological comments, it would be /the/ perfect show 16:40 < digitarald> yes, was the last episode from 3th season 16:40 < digitarald> then he left ... didn't know at this point if there is a 4th season :D 16:40 < digitarald> tony did quit good .. campfire! :D 16:41 < Wombert> meh fuck this 16:41 < digitarald> Mike, did u see the last episodes? 16:43 < AngryMikeSeth> I saw them all 16:43 < AngryMikeSeth> some more times than others 16:43 < AngryMikeSeth> ;) 16:44 < AngryMikeSeth> I think the most amazing moment of NCIS was when Gibbs has the flashback and his memory returns and he crashes into MTAC in the middle of a special op 16:44 < AngryMikeSeth> digitarald, remember an ep called "Semper Fi"? 16:44 < digitarald> what do u think of tony's girlfriend? ;) 16:45 < AngryMikeSeth> I dont know, I think it's an excess 16:45 < digitarald> uh ... with that old marine? 16:45 < AngryMikeSeth> it doesnt contribute much to the show, and only belittles Tony 16:45 < Wombert> of course with an old marine 16:45 < AngryMikeSeth> yeah, and his kid 16:45 < Wombert> hence "semper fi" :p 16:46 < AngryMikeSeth> with an exception of a couple, all episodes of NCIS are -amazing- 16:46 < digitarald> i think tony has to observe her, she is a job for him ... 16:46 < AngryMikeSeth> did you know that NCIS is a Jag spinoff? 16:46 < digitarald> yes, i saw the spin off episode in jagg :D 16:46 < digitarald> jag 16:46 < AngryMikeSeth> and have you seen the one where they FUCK OVER the Jag grew? ;) 16:47 < digitarald> yes ... 16:47 < digitarald> with that young advovat from jag 16:47 < AngryMikeSeth> yeah 16:47 < digitarald> advocat 16:47 < AngryMikeSeth> I laughed so damn hard 16:47 < AngryMikeSeth> speaking of crossovers.. there's a little known and soon cancelled L&O series called Trial By Jury 16:49 < digitarald> L&O is sometimes pretty good ... there was also another series with that strange detective 16:50 < digitarald> can't remember the title ... he was really cool 16:52 < digitarald> what i don't like is Numb3rs ... you can't expect the solution of the case ... it's like we-make-magic-with-math 16:53 < Wombert> numbers is a bit much IMO 16:54 < AngryMikeSeth> they did the most amazing crossover on TBJ.. between three series 16:54 < AngryMikeSeth> I think it was L&O Criminal Intent, L&O Special Victims Unit and TBJ 16:56 < digitarald> ah ... Criminal Intent 16:56 < digitarald> thats it 16:56 < digitarald> with that cool guy ... loved it 16:56 < digitarald> better than Columbo 16:56 < AngryMikeSeth> yeah but its overdramatized.. they are all like "huh huh you filthy criminal how do you like it now bitch huh huh" 16:57 < AngryMikeSeth> lol Columbo.. that old asshole owned 16:58 < Wombert> I want a FF button for my life 16:58 < Wombert> :< 16:58 < digitarald> patch it ;) 16:58 < AngryMikeSeth> yeah you prolly can use a bookmarklet or something 16:59 < AngryMikeSeth> this.prototype.life = function() { alert('OMG'); } 16:59 < AngryMikeSeth> dog bless screen, svn & emacs 17:10 < Wombert> how would that fast-forward my life? :< 17:16 < digitarald> Wombert, du don't like weekends? 17:16 < digitarald> du :D 17:37 < Wombert> not the ones with a headache 17:46 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 17:57 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 17:57 -!- Arme[0] is now known as Arme[N] 18:02 < AngryMikeSeth> yesssss 18:02 < AngryMikeSeth> works 18:04 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 18:08 < CIA-23> david * r1689 /branches/0.11/src/controller/AgaviOutputType.class.php: added OutputType::getDefaultLayoutName() 18:09 < AngryMikeSeth> ha! 18:09 < Wombert> hm 18:09 < Wombert> = 18:09 < Wombert> ? 18:09 < impl> =o 18:15 < splatch> oi! 18:15 < Wombert> splatch: 18:15 < splatch> can i use RC2 without "breaking changes"? 18:15 < Wombert> This message was created automatically by mail delivery software. 18:15 < Wombert> A message that you sent has not yet been delivered to one or more of its 18:15 < Wombert> recipients after more than 48 hours on the queue on wp005.webpack.hosteurope.de. 18:15 < Wombert> The message identifier is: 1HFGfF-0003aJ-6F 18:15 < Wombert> The subject of the message is: Re: Re[2]: agavi 18:15 < Wombert> The date of the message is: Thu, 8 Feb 2007 22:18:43 +0100 18:15 < Wombert> The address to which the message has not yet been delivered is: 18:15 < Wombert> kazek@roots.pl 18:15 < Wombert> Delay reason: No route to host 18:16 < splatch> Wombert: kazek@kazek.pl? 18:16 < Wombert> okay :) 18:17 < splatch> Wombert: RC2 are stable? 18:17 < Wombert> yes!? 18:18 < splatch> super 18:18 * splatch downloading RC2 18:44 -!- shoan [n=shoan@59.92.129.210] has joined #agavi 18:59 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:59 -!- shoan_ [n=shoan@59.96.39.99] has quit [Read error: 110 (Connection timed out)] 19:13 -!- Wombert [n=Wombert@dslb-084-056-000-198.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 19:19 -!- Wombert [n=Wombert@dslb-084-056-034-248.pools.arcor-ip.net] has joined #agavi 19:22 -!- Wombert [n=Wombert@dslb-084-056-034-248.pools.arcor-ip.net] has quit [Nick collision from services.] 19:22 -!- Wombert [n=Wombert@dslb-084-056-013-035.pools.arcor-ip.net] has joined #agavi 19:25 -!- shoan_ [n=shoan@59.92.159.169] has joined #agavi 19:27 < splatch> Wombert: RC2 == trunk? 19:28 < digitarald> rc2 is tagged 19:28 -!- shoan_ [n=shoan@59.92.159.169] has quit [Read error: 104 (Connection reset by peer)] 19:29 < Wombert> ... 19:29 < impl> lol 19:29 < splatch> sorry :) 19:30 < Wombert> splatch: look at the room topic... 19:30 < Wombert> http://svn.agavi.org/branches/0.11/ if you want to use SVN 19:30 < splatch> Wombert: to wrote article i need stable version :) 19:31 < Wombert> it 19:31 < Wombert> is 19:31 < Wombert> stable 19:31 < Wombert> ... 19:31 < digitarald> :D 19:31 < v-dogg> http://svn.agavi.org/tags/0.11.0RC2/ if you really need the actualy RC2 19:31 < digitarald> Wombert has new torture ... 19:31 < splatch> in my opinion tag will be better 19:31 < digitarald> its named "..." 19:31 < v-dogg> but that would just be silly :) 19:32 < impl> splatch: There are zips and tgzs of RC2 on the Agavi homepage 19:32 < Wombert> and you can install it via pear 19:32 -!- shoan_ [n=shoan@59.92.143.120] has joined #agavi 19:32 < Wombert> splatch: explain the pear install in your article 19:33 < Wombert> it will give people the latest version 19:33 < Wombert> don't write about a specific version number, no need for that 19:33 < splatch> Wombert: I'll do it 19:33 < Wombert> cool 19:33 < splatch> 19:33 < splatch> :) 19:33 < v-dogg> do you intent to release RC3? 19:34 < splatch> v-dogg: me? 19:34 < Wombert> nah 19:34 < Wombert> at least there is no need right now 19:34 < v-dogg> splatch: no, not you :) 19:40 -!- shoan [n=shoan@59.92.129.210] has quit [Read error: 110 (Connection timed out)] 19:45 * horros humms 19:49 < _cheerios> hahaha.. was wondering when horros wakes up :) 19:50 < horros> huh? 19:50 < horros> I've been up since about 10 this morning 19:51 < splatch> o_O 19:51 < splatch> rc2 crashes my apache ;| 19:51 * horros tries to wrap his head around this translation business 19:52 < digitarald> i've been up since 10 too ... 19:52 < digitarald> now its 7pm 19:52 < impl> splatch: What Apache version? 19:52 < impl> It shouldn't crash the Webserver... that'd be a PHP bug 19:52 < splatch> impl: 2.2 19:52 < splatch> impl: i checking logs 19:53 < horros> umm, how the hell do I set the translation messages for the translators? 19:53 < v-dogg> impl, splatch: my bets are on libxml 19:53 < Wombert> horros: $tm->_('ze message', 'ze.translation.domain'); 19:53 < Wombert> of course you can use ze_message_identifier and then translate that to the origin language, too 19:53 < v-dogg> invalid xml config has crashed my apache (winxp) kazillion times 19:54 < horros> Wombert: umm, yes, but where do I set the damn messages...? 19:54 < horros> I've no idea how to define the languages/messages in translation.xml 19:54 < kaos> you don't define messages in translation.xml usually 19:54 < kaos> (only the simpletranslator does that) 19:54 < v-dogg> (but you can, if you want to) 19:55 < v-dogg> (yes :) 19:55 < kaos> but its rather ugly for anything bigger 19:55 < horros> ie, I have, in my template $tm->_('Log in', 'default.Login'); 19:55 < v-dogg> I use it for one small'ish project 19:55 < Wombert> if you do, you'd use xinclude to incliude from other documents 19:55 < horros> which displays "Log in" just fine 19:55 < Wombert> but you should use gettext po/mo 19:55 < horros> but how the hell do I get it to finnish? where do I define the translation? 19:55 < v-dogg> horros: wanna me to pastebin an example? 19:55 < horros> yes yes yes, I know I should use gettext and whatnot, I'm testing, playing around and learning. 19:55 < v-dogg> me goes get one... 19:56 < horros> v-dogg: please do, kind sir. 19:56 < impl> horros: Are you patching your 0.10 app with translationmanager now? 19:56 < horros> no 19:56 < impl> Full-out 0.11 now? :o 19:56 < horros> yes 19:56 < impl> (different project I'm assuming) 19:56 < horros> no 19:56 < impl> damn 19:57 < impl> You have some motivation 19:57 < horros> yeah. it's called "moronic coworkers who write pretty much procedural code and glues it into the MVC" 19:57 < impl> lol 19:58 < impl> :( 19:58 < v-dogg> horros: http://pastebin.ca/350745 19:58 < v-dogg> yes, xinclude would make it better :) 19:58 < horros> I told Boss to get a big fire axe and put it on the wall in the Vaasa-office and tell cow-workers I'll come and chop their legs off if they do it again after I'm done porting to 0.11 19:58 < horros> v-dogg: cheers 19:58 < Wombert> eww what is http://redcross.fi/ensiapu/ensiapuohjeet/sv_SE/index/ 19:59 < Wombert> ah 19:59 < impl> What's an Ensiapukouluttaja 19:59 < Wombert> got it 19:59 < v-dogg> impl: first-aid instructor 20:00 -!- Arme[N] is now known as Arme[0] 20:00 < Wombert> and what's a first aid kit? 20:00 < impl> It only exists in Swedish? 20:00 < impl> :s 20:00 < horros> v-dogg: thanks, this'll get me started 20:01 < Wombert> horros: it might also make sense to have translation stuff in a database and read from there 20:01 < horros> yes, of course. 20:01 < v-dogg> impl: what do you mean? 20:01 < impl> v-dogg: You don't have a parameter for Finnish 20:02 < Wombert> that' sbecause the message keys are the finnish words 20:02 < v-dogg> yep 20:02 < impl> Oh 20:02 < impl> Weird. 20:02 < Wombert> nah, that's how most translation systems (notably gettext) work 20:02 < impl> They don't /have/ to work like that though, do they? 20:02 < Wombert> if no translation is found for a string, it returns the string 20:03 < v-dogg> that's faster way to do it but gets you into trouble when you need to change something 20:03 < splatch> Wombert: agavi needs short open tag? 20:03 < impl> I could do like 20:03 < Wombert> splatch: no, why? 20:03 < _cheerios> translation stuff in db? wth 20:03 < impl> $tm->_('some.parameter', ...) 20:03 < Wombert> yep 20:03 < Wombert> and then have translations for that to swedish and finnish 20:03 < impl> Okay 20:03 < splatch> products/buy-cheap-nonsense-at-agavi-dot-org/4815162342 20:03 < splatch> 20:03 < impl> cool 20:03 < Wombert> even though that would be mappings then, not not translations (technically) 20:04 < Wombert> ah, missed that, splatch 20:04 < CIA-23> david * r1690 /branches/0.11/samples/app/modules/Default/templates/SearchEngineSpamSuccess.php: removed debug output 20:05 < splatch> :) 20:06 < horros> eh 20:07 < Wombert> horros: ze 500 songs focus a bit too much on the 60s and 70s for my taste 20:08 < horros> well, they've only made crap since the late 80s anyway. 20:08 < horros> Interesting 20:09 < horros> I apparently fubared something in translation.xml and I now get a broken agavi exception 20:10 < Wombert> yeah that can happen when they occur in _() calls 20:10 < Wombert> not much we can do about that 20:13 < kaos> http://groups.google.com/group/symfony-devs/browse_frm/thread/aa557cf76befe125 20:13 < kaos> wow 20:14 < kaos> you only have to hack the entire framework to support such a simple thing 20:14 < kaos> *g* 20:16 < impl> ha 20:17 -!- fastly [n=fast@81-86-145-67.dsl.pipex.com] has quit [] 20:20 < Wombert> lukas smith is such a clueless idiot 20:20 < Wombert> More importantly, the text also becomes a link, that suppressed any click events from cascading (actually this one does not work reliably yet, but with returning false I at least got it to not follow , I need to investigate that one). 20:20 < Wombert> what a moron 20:21 < Wombert> why are dickheads like him syndicated on planet-php 20:23 < _cheerios> in #agavi, we hate you 20:24 < Wombert> the thing is 20:25 < Wombert> he obviously gets paid for what he does 20:25 < Wombert> what he does is build web sites / apps 20:25 < Wombert> but he doesn't even know what javascript event bubbling is 20:25 < Wombert> and yet, people look up to him and listen to his nonsense 20:26 < Wombert> I don't mean that posting there specifically, I've read some of his emails on the symfony list etc recently and... my goodness 20:28 < horros> what the smeg... 20:31 < horros> "Using domain 'Login' which has no path specified" 20:31 < horros> :O 20:33 < horros> ah, there we go 20:33 < horros> sweet, it's working \o/ 20:34 -!- shoan_ is now known as shoan 20:36 < horros> now then... 20:36 < horros> Wombert: is there anything special I need to do in order to get FPF working? 20:36 < Wombert> nope 20:36 < impl> FPF is pretty much magic 20:37 < horros> hah 20:37 < horros> enabling it would probably be a good start.... 20:37 < horros> :D 20:37 < horros> hmm 20:39 < horros> still nothing...? 20:39 * horros scratches head 20:39 < Wombert> create a form 20:39 < Wombert> submit it 20:39 < Wombert> values will be filled in 20:39 < Wombert> but 20:39 < Wombert> action="..." must be the current URL 20:39 < Wombert> use $ro->gen() to generate it 20:40 < Wombert> so if you want sth like ?step=2 use a hidden input instead 20:41 < horros> I do use $ro->gen('login') to generate the action 20:41 < horros> hmm 20:41 < Wombert> method="post" ? 20:41 < horros> yep 20:41 < Wombert> fpf enabled? 20:41 < Wombert> show me 20:41 < horros> 20:42 < horros> global_filters.xml: 20:42 < horros> tried with enabled="true" in there too 20:42 < Wombert> 20:42 < Wombert> 20:42 < Wombert> write 20:42 < Wombert> 20:42 < horros> yep, except it's wrapped in the optional 20:43 < horros> 20:43 < horros> 20:43 < horros> 20:43 < horros> 20:43 < horros> 20:43 < horros> write 20:43 < horros> 20:43 < horros> 20:43 < horros> 20:43 < horros> 20:43 < horros> 20:43 < v-dogg> horros: what version are you using? 20:43 < horros> v-dogg: 0.11 which I svn upped yesterday 20:44 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 20:44 < Wombert> yesterday, or the day before? 20:44 * horros updates again 20:44 < Wombert> up again 20:44 < Wombert> yep there was a bug until friday 20:44 < horros> ok, now it at least runs... but something breaks :I 20:45 < Wombert> invalid html ;) 20:45 < horros> apparently so 20:45 < horros> I'ma go have some supper and check in 15-20 minutes 20:45 < Wombert> be sure to ask us for directions 20:45 < Wombert> I'll go grab something to eat, too 20:49 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 20:53 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 20:58 < horros> there we go 20:58 < horros> it is a-working 20:58 < horros> sweet, my login screen is done :D 21:12 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 21:12 < Whisller> hi 21:14 < Whisller> hello ;p 21:14 < horros> I must say 21:15 < horros> this translation system is wonderful 21:15 < horros> well done, good sirs. 21:15 < Wombert> thanks 21:15 < Wombert> did you try number formatting yet 21:15 < Wombert> and currency formatting 21:15 < Wombert> and date formatting 21:15 < Wombert> you'll love it 21:15 < horros> yeah, I saw something about the date format in translation.xml 21:16 < horros> humm, the format-parameter... it says "full" now. what format does it accept? 21:16 < horros> the same as date()? same as strtotime? 21:16 < Whisller> o translation it's great. 21:20 < Whisller> "little" thinks like ->getCalendarMonthsWide are awesome 21:20 < Wombert> :) 21:20 < Wombert> horros: it accepts "full", "long", "short" and... uhm... 21:21 < v-dogg> pear package's sample app is broken 21:21 < v-dogg> it has #415 21:22 < Wombert> horros: http://trac.agavi.org/browser/branches/0.11/src/translation/data/locales/fi.xml#L1031 21:22 < Wombert> as an alternative, you can also give it something like "zombie" plus a translation_domain 21:23 < Wombert> then use a simple translator to translate "zombie" to the pattern for each locale 21:23 < Wombert> but in most cases, full, long, medium and short are enough 21:23 < horros> aha 21:23 < horros> cheers 21:25 < horros> hmm 21:25 < v-dogg> Wombert: can we introduce a nightly or something to fix the sample app? 21:26 < Wombert> how bout an rc3 on tuesday or so? 21:26 < horros> where should I check for client certificates when logging in? I can't display the login screen if the user logs in with a smart card... as the validator would poop on itself since we don't supply a username/password... 21:27 < horros> then again, if I put it in executeRead, I'd end up wiritng the login routine twice, pretty much... 21:27 < horros> and putting it into execute() would probably result in wombie yelling at me. 21:27 < horros> :D 21:29 < horros> although 21:29 < horros> execute() is probably the best... 21:29 < Whisller> I have a problem with ->setError (I suppose I don't know how I can use it :>), i use it in executeWrite($this->getContext()->getRequest()->setError('test', 'test message');) but this don't work :> Don't do anythink. 21:29 < horros> because I need to execute the "call home" feature too for both read and write 21:30 < horros> Whisller: $this->container->getValidationManager()->setError('e', 'msg'); 21:30 < v-dogg> Whisller: $this->container->getValidationManager()->setError( 21:30 < horros> :) 21:30 < Whisller> o 21:30 < Whisller> thanks :) 21:31 < Wombert> horros: do it in the user 21:31 < Wombert> it now has a startup() method 21:31 < Wombert> check for the cert there 21:31 < horros> what about the call-home feature? 21:31 < Wombert> no need to make him go through ze login form stuff 21:32 < Wombert> using execute() in actions is totally fine 21:32 < horros> oh, ok. good stuff. 21:32 < horros> humm, btw, how can I set my own "config" variables? 21:32 < v-dogg> AgaviConfig::set() 21:33 < horros> yeah but no but yeah but no but 21:33 < v-dogg> or what do you need? 21:33 < horros> well, I need to store them 21:33 < horros> in a file, preferably 21:33 < Whisller> Guys but is a little problem, this didn't works :) "Call to undefined method AgaviExecutionContainer::getValidationManager() " 21:33 < v-dogg> Wombert: one more user wants customconfig.xml :) 21:33 < horros> Whisller: I think you need to update your agavi :) 21:34 < v-dogg> Wombert: what version are you using? 21:34 < v-dogg> err... Whisller :) 21:35 < v-dogg> horros: I have a confighandler that parses simple xml config into AgaviConfig 21:35 < Whisller> Hmm I don't remember what rev it is. 21:35 < v-dogg> but soooo many users have asked about this that Wombert thought about adding something to agavi 21:37 < Whisller> Heh Download: 9.7 kb/s I like my lan ;p 21:40 < v-dogg> http://pastebin.ca/350836 <- config handler 21:40 < v-dogg> I tried to put example config into the description, but it didn't quite work :) 21:40 < horros> v-dogg: hehe 21:40 < horros> cheers 21:41 < horros> gah 21:41 < horros> stupid pastebin 21:43 < v-dogg> http://pastebin.ca/350839 <-the sample config 21:43 < v-dogg> but it seems to be a bit overloaded 21:44 < horros> "Waiting for pastebin.ca..." 21:44 < horros> *sigh* 21:54 < horros> v-dogg: hmm, I'm supposed to use it... how? AgaviConfig::get('asdf'); ? 21:58 < horros> hmm 21:58 < horros> it's not running :O 21:58 < horros> I must have edited config_handlers.xml wrong 21:59 < horros> hmm, it shows up in cache/.....config_handlers.blablabla 22:01 < horros> but no directivesxmlblabla showing up in cache... :I 22:03 < Whisller> ok I'm updated a agavi and now everything is ok :) 22:04 < horros> hmm 22:04 < horros> this is odd 22:06 < splatch> Whisller! :) 22:09 -!- codecop [n=codecop@85.206.204.172] has joined #agavi 22:09 < Whisller> splatch, :P 22:10 < codecop> ;) 22:11 < horros> humm 22:11 * horros nudges v-dogg 22:11 < v-dogg> yo 22:11 < horros> v-dogg: I can't get it to work :( 22:12 < horros> help plz kthx 22:12 < v-dogg> include(AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/myconfig.xml')); 22:12 < v-dogg> after agavi's bootstrap 22:12 < horros> I can't just add it to config_handlers.xml ? 22:13 < v-dogg> yes, it has to be there for that ^ to work 22:13 < horros> ahaa 22:13 < horros> yeah, it's working now 22:14 < horros> splendid! cheers! 22:15 < horros> hmm 22:15 * horros scratches his head 22:21 -!- shoan_ [n=shoan@59.92.131.121] has joined #agavi 22:24 < Wombert> uuuhm 22:25 < Wombert> 22:25 < Wombert> lala 22:25 < Wombert> yields mycusdtom.blah 22:25 < Wombert> that works already 22:25 < Wombert> via settings.xml 22:25 < horros> oh? 22:25 < Wombert> use xinclude to have it in a separate file 22:25 < horros> cool stuff 22:25 * Wombert slaps v-dogg 22:25 < Wombert> :p 22:26 < Wombert> I _think_ you can evern use parameters inside to make arrays 22:29 < splatch> Wombert 22:29 < v-dogg> Wombert: ooooooo, I forgot that :D 22:30 < v-dogg> sorry mate :) 22:30 < v-dogg> mates (horros too :) 22:30 < splatch> Wombert: do you have an CLA for Agavi? 22:32 < impl> splatch: http://trac.agavi.org/ticket/331 :x 22:32 < splatch> impl: yes, i know 22:33 < horros> :O 22:33 < horros> Line 3: Extra content at the end of the document 22:33 * horros scratches his head 22:33 < impl> You broke the XML! 22:33 < horros> I did indeed 22:33 < horros> 22:33 < horros> 22:33 < horros> 22:34 < horros> ...which contains 22:34 < horros> 22:34 < horros> 900 22:34 < horros> https://dev.necora.fi/axis/services/UpdateService 22:35 < v-dogg> nuq -> 22:35 < horros> hmm 22:35 < horros> oh yes 22:35 < horros> now I know... 22:35 < horros> v-dogg: night 22:35 < v-dogg> (a cool way of saying "going to bed") 22:35 < v-dogg> night 22:36 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 22:36 < horros> yeah, there we go 22:36 -!- shoan [n=shoan@59.92.143.120] has quit [Read error: 110 (Connection timed out)] 22:37 < horros> apparently I couldn't do it that way, I had to have and inside that bar 22:37 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 22:38 -!- codecop [n=codecop@85.206.204.172] has quit ["Have to go"] 22:45 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 23:02 < impl> Wombert: http://farm1.static.flickr.com/134/386727386_e5997a8616_o.png 23:03 < horros> well, boys and girls, now I'm off to ged 23:04 < horros> night-o 23:04 < impl> Bai. 23:05 < _cheerios> still 1hr! 23:06 < _cheerios> hehe impl 23:07 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has joined #agavi 23:09 -!- horros [n=Miranda@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 23:15 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection] 23:27 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 23:48 < Wombert> impl: I'm pretty (~96%) sure that's fake 23:48 < Wombert> the font seems wrong 23:48 < Wombert> too bright 23:48 < Wombert> plus 23:48 < Wombert> in germany, it's cool to say "bush sucks" and "america sucks" and bullshit like that 23:48 < Wombert> without, you know, reflecting things 23:49 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 23:49 < digitarald> whats a fake? 23:49 < Wombert> ah yes it is fake 23:49 < Wombert> look in the second picture 23:49 < Wombert> how "George" is off a bit vertically 23:50 < Wombert> and in the first 23:50 < Wombert> but not in the third 23:50 < Wombert> likewise, "Edmund" is off in the first and third, but not in second/third 23:51 < Wombert> and as I said, the font is wrong and too bright, it should be the same color as the percentage counts from the audience poll 23:51 < Wombert> digitarald: [22:02] impl: Wombert: http://farm1.static.flickr.com/134/386727386_e5997a8616_o.png 23:52 -!- benny`work [n=benny@p54AC2271.dip0.t-ipconnect.de] has quit ["unset($this);"] 23:53 < impl> plz, it's soo real! 23:53 < impl> :D 23:54 < digitarald> fake, wrong typo 23:58 < Wombert> where's a typo? --- Day changed Mon Feb 12 2007 00:00 -!- benny`work [n=benny@p54AC2271.dip0.t-ipconnect.de] has joined #agavi 00:04 < digitarald> typo = font 00:05 < Wombert> ah, typeface 00:21 < Whisller> My animals :] http://whisller.fotosik.pl/albumy/129767.html I have also one dog, but there she isn't. 00:22 < Wombert> haha borys rocks 00:25 < Whisller> big beast ;) 00:44 < _cheerios> ZING! 01:09 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 01:12 -!- Wombert [n=Wombert@dslb-084-056-013-035.pools.arcor-ip.net] has quit [] 01:16 -!- Wombert [n=Wombert@dslb-084-056-013-035.pools.arcor-ip.net] has joined #agavi 01:33 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 03:02 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 03:02 < pressureman> hihi 03:12 < pressureman> wombert, u here? 03:12 < Wombert> yep 03:12 < pressureman> i'm having trouble getting the module/action name from inside agaviuser class 03:13 < Wombert> that's not possible 03:13 < pressureman> used to be :P 03:13 < pressureman> i have some methods inside my user class that write audit log entries... 03:13 < pressureman> i think i need to move them to my action base class 03:13 < Wombert> it used to be possible to get the module/action name that was _supposed_ to be executed 03:14 < Wombert> could a filter help? 03:14 < pressureman> i don't need to audit every action... just certain critical ones 03:14 < Wombert> ah so that's not in user::initialize() ? 03:14 < Wombert> well what you could do is 03:15 < Wombert> class MyAction extends MyBaseAction implements MyAuditLoggedAction 03:15 < Wombert> and your filter would check if the action instance implements that interface (which is empty) 03:15 < Wombert> :> 03:15 < pressureman> groovy 03:15 < Wombert> but 03:15 < Wombert> wait 03:15 < Wombert> that user thing 03:15 < Wombert> you call a method on the user? 03:15 < Wombert> to log? 03:15 < pressureman> yep 03:15 < Wombert> and that used to grab the module/action name? 03:15 < Wombert> okay 03:16 < pressureman> it prolly wasn't the right place for it anyway 03:16 < Wombert> some advice: make such operations atomic 03:16 < Wombert> i.e. don't have it rely on outside data it must pull itself 03:16 < Wombert> that goes for models, too - always give them the data they need, never design them so they pull environmental data 03:17 < Wombert> that said, you could continue to use your current approach, just pass it the module and action name, too 03:17 < Wombert> even better, maybe pass it the execution container, in case you want to log... uhm... something else :p 03:17 < Wombert> instead of implementing interfaces, you could, of course, have a mustLog() method that returns true or false 03:18 < Wombert> that would allow you to programatically decide whether or not you want to log, if you ever need it 03:21 < pressureman> i'll just sprinkle auditLog() calls in my actions that need it 03:21 < pressureman> the action can easily find out it's module and action name 03:34 < pressureman> hmm... what has become of $this->getContext()->getRequest()->setError() ? 03:35 < pressureman> it's now in validators, right? 03:35 < Wombert> in the validation manager 03:35 < Wombert> $this->container->getValidationManager() 03:35 < Wombert> that way, every action has it's own, clean validation incident repository 03:37 < pressureman> and from a view? 03:37 < Wombert> same 03:37 < pressureman> oopsie, forgot the () 03:38 < pressureman> do you use $this->container->getValidationManager() or $this->getContainer()->getValidationManager() ? 03:38 < Wombert> sorry for all the breaking with RC2 03:38 < Wombert> I use $this->container because I'm lazy ;) 03:38 < pressureman> that's ok, i've had my bitchmoan about it already 03:38 < Wombert> plus it saves a method call 03:38 < Wombert> yeah saw it :D 03:38 < pressureman> i'm sure the changes are for the better 03:38 < Wombert> oh man you bet 03:38 < pressureman> i like the multiple output types per view 03:39 < Wombert> especially since you can now have slots inside the inner, content template etc 03:39 < pressureman> will make life very easy 03:39 < Wombert> and the multi-layered templates... perfect for ajax 03:39 < Wombert> did you read all the mails on the list? 03:39 < pressureman> skimmed over them 03:39 < pressureman> pretty long emails! 03:39 < Wombert> ;) 03:40 < pressureman> just need some docs so that beginners aren't scared off by it now 03:40 < Wombert> you bet 03:40 < Wombert> we'll start that soon 04:05 -!- benny`work [n=benny@p54AC2271.dip0.t-ipconnect.de] has quit ["unset($this);"] 04:11 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 04:15 -!- shoan [n=shoan@59.92.145.158] has joined #agavi 04:15 -!- digitarald [n=Miranda@62-43-155-81.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 04:16 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 04:22 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" good night :)"] 04:29 -!- shoan_ [n=shoan@59.92.131.121] has quit [Read error: 110 (Connection timed out)] 05:00 < CIA-23> david * r1691 /branches/0.11/src/filter/AgaviExecutionFilter.class.php: auto assign 'validation_manager' in templates 05:02 -!- shoan_ [n=shoan@59.92.223.98] has joined #agavi 05:16 -!- shoan [n=shoan@59.92.145.158] has quit [Read error: 110 (Connection timed out)] 05:16 -!- Wombert [n=Wombert@dslb-084-056-013-035.pools.arcor-ip.net] has quit [] 05:59 -!- shoan [n=shoan@59.92.184.50] has joined #agavi 06:06 -!- shoan_ [n=shoan@59.92.223.98] has quit [Read error: 110 (Connection timed out)] 06:08 -!- shoan_ [n=shoan@59.92.174.70] has joined #agavi 06:13 -!- shoan [n=shoan@59.92.184.50] has quit [Read error: 60 (Operation timed out)] 06:15 -!- shoan [n=shoan@59.92.159.112] has joined #agavi 06:25 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 06:31 -!- shoan_ [n=shoan@59.92.174.70] has quit [Read error: 110 (Connection timed out)] 06:38 -!- shoan_ [n=shoan@59.92.166.43] has joined #agavi 06:51 -!- shoan__ [n=shoan@59.92.161.210] has joined #agavi 06:53 -!- shoan [n=shoan@59.92.159.112] has quit [Read error: 110 (Connection timed out)] 07:06 -!- shoan_ [n=shoan@59.92.166.43] has quit [Read error: 110 (Connection timed out)] 07:12 -!- shoan__ [n=shoan@59.92.161.210] has quit [Read error: 110 (Connection timed out)] 07:19 -!- shoan [n=shoan@59.92.146.68] has joined #agavi 07:46 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 07:49 -!- shoan_ [n=shoan@59.92.146.232] has joined #agavi 07:57 -!- shoan [n=shoan@59.92.146.68] has quit [Read error: 110 (Connection timed out)] 08:02 -!- shoan [n=shoan@59.92.162.25] has joined #agavi 08:07 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 08:13 < horros> huomenta 08:16 -!- shoan_ [n=shoan@59.92.146.232] has quit [Read error: 110 (Connection timed out)] 08:42 < horros> hah, our chairman of the board is such a nerd 08:42 < horros> he got a shirt like this: http://xkcd.com/c149.html 09:07 < v-dogg> huomenta 09:19 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)] 09:32 < AngryMikeSeth> v-dogg, "boker tov" in Hebrew :D 09:32 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 09:33 < v-dogg> AngryMikeSeth: roger :) 09:41 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 09:41 < AngryMikeSeth> hmmm 09:42 * AngryMikeSeth ponders how to properly collect Agavi application code into reusable blocks 09:42 < v-dogg> fuuck... one of our servers' disk just dropped out from the raid.. 09:43 < v-dogg> after rescan it was restored and now it's rebuilding 09:44 < v-dogg> I hope the second disk survives... 09:44 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:44 < _cheerios> morning 09:45 < AngryMikeSeth> v-dogg, why did it drop if there isnt a hardware proble 09:45 < AngryMikeSeth> ..m? 09:51 < horros> hmmh? 09:51 < horros> Updating external location at: C:/Projects/nappula_ag11/dev/agavi 09:51 < horros> Command completed abnormally. 09:51 < horros> svn: PROPFIND request failed on '/branches/0.11/etc' 09:53 < AngryMikeSeth> *shrug* I can access it over the web just fine 09:55 < horros> what the smeg...? 09:56 < horros> something is setting the agavi -directory as read-only all the time 09:56 < horros> if I remove it, click "Ok", and check again, it's still read-only :O 09:56 < v-dogg> AngryMikeSeth: Dell's support (after sending a repair guy and a new disk) said there might be a firmware issues with the disk 09:57 < v-dogg> the replacement disk should be here in 2 hours now 09:57 < horros> ...or not... 09:57 < AngryMikeSeth> how nice of dell 09:59 < horros> how surprising of dell to break :) 10:08 < v-dogg> maxtor's disks... 10:10 < v-dogg> but I sure as hell am not going do any firmware-upgrade-boots before the second disk is here and running 10:21 < AngryMikeSeth> how come fucktards screwed up the firmware 10:36 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:39 -!- Arme[N] is now known as Arme[0] 10:39 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit] 10:40 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:46 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:47 < RossC0> ola 10:47 -!- Arme[N] is now known as Arme[0] 10:48 -!- Xylakant [n=fgilcher@92.207.27.217.static.versanetonline.de] has joined #agavi 10:48 < Xylakant> hi 10:49 < _cheerios> mmmm... hi 10:50 < Xylakant> kaos: i found a bug in the agavi date formatter that must have been introduced in the last changes: 10:50 < Xylakant> instead of - $message = $this->context->getTranslationManager()->createCalendar($locale); 10:50 < Xylakant> - $message->setUnixTimestamp($message); 10:50 < Xylakant> something like this should be used 10:50 < Xylakant> + $calendar = $this->context->getTranslationManager()->createCalendar($locale); 10:50 < Xylakant> + $calendar->setUnixTimestamp($message); 10:50 < Xylakant> + $message = $calendar; 10:50 < Xylakant> should i open a ticket? 10:59 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 11:01 < v-dogg> dell's support system is down :) 11:02 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 11:02 < v-dogg> calls get redirected to some foreign country and they can't access their system to retrieve the info about my case 11:02 < v-dogg> niiice 11:03 < horros> haha 11:05 < _cheerios> naturally you should blog about it, and submit to digg, to make a few bucks 11:06 < _cheerios> W...T...F DELL DOWN (PWNED!) should attract the digg usergroup, mainpage material 11:08 < v-dogg> nah :) 11:09 < v-dogg> I just want my server fixed and the repair guy already called me 11:09 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Funny face"] 11:10 < AngryMikeSeth> Xylakant, yeah you should 11:14 < Xylakant> http://trac.agavi.org/ticket/421 11:14 < Xylakant> done 11:15 < Xylakant> there's already been a question on the mailinglist ;) 11:20 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 11:35 < horros> ugh 11:35 < horros> someone shoot me in the head please 11:35 < v-dogg> me first! me first! 11:35 < Xylakant> shure. where do we meet? 11:35 * digitarald gets his out his curt cobain shotgun ... 11:36 < Xylakant> bring your own gun along, don't have one here 11:36 < digitarald> maybe we start a web2.0 startup ... social-suicide ... tag your favorite dead and share it 11:38 < Xylakant> digitarald: you're too late. 11:38 < Xylakant> this already exists. 11:38 < v-dogg> yeah, I remember reading about that 11:40 < digitarald> shit ... all these good ideas ... u could really make money with drugs, bullets and ropes 11:40 < Xylakant> there's an organization in switzerland that sells medication to commit suicide. 11:41 < Xylakant> They're just doing it for the good of mankind, so that people can die in dignity. 11:41 < Xylakant> at least they say so.... 11:43 < digitarald> sure, and they die with a smile because of chocolate taste swiss drugs ... ha, xpath is coming for the moo ... and css3 selectors too ... and my morning café-con-leche-corto-de-café 11:45 < Xylakant> well, i've been reading about different cases but i don't feel like spoiling your breakfast, so i'll stay silent 11:45 < Xylakant> just to say: rather use your shotgun. 11:47 < digitarald> but w3c still has funny specs ... tr:nth-child(2n+1) returns all odd rows, tr:nth-child(2n) returns even rows, tr:nth-child(0n+1) returns first child , tr:nth-child(n+0) returns all rows ... so what returns tr:nth-child(0)? 11:47 < digitarald> so grugs are baaaad, even for suicide ... curt knew that ;) 11:48 < Xylakant> oh no, just get some decent ones. 11:49 < digitarald> writing a parser for such stupid rules is a pain******** 12:19 -!- shoan_ [n=shoan@59.92.160.51] has joined #agavi 12:26 < horros> hehe 12:26 < horros> http://dev.necora.fi/markus/updatepackage.sh.txt 12:26 < horros> maybe that'll help my gigantic task a bit :) 12:28 < horros> I love bash+sed+awk :) 12:31 -!- AngryMikeSeth [n=mst@unaffiliated/mikeseth] has quit ["Leaving"] 12:34 -!- shoan [n=shoan@59.92.162.25] has quit [Read error: 110 (Connection timed out)] 12:36 -!- shoan [n=shoan@59.92.204.229] has joined #agavi 12:43 -!- shoan__ [n=shoan@59.92.184.216] has joined #agavi 12:44 -!- shoan_ [n=shoan@59.92.160.51] has quit [Read error: 110 (Connection timed out)] 12:51 -!- shoan_ [n=shoan@59.92.168.105] has joined #agavi 12:56 < horros> what the smeg..? 12:58 -!- shoan [n=shoan@59.92.204.229] has quit [Read error: 110 (Connection timed out)] 13:06 -!- shoan__ [n=shoan@59.92.184.216] has quit [Read error: 110 (Connection timed out)] 13:33 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 13:39 < _cheerios> eww...... do some eastern european women have a bit of transsexual look to them? 13:40 < _cheerios> (hovered over an msn contacts pic) 13:40 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)] 13:47 -!- Arme[0] is now known as Arme[N] 13:48 < _cheerios> http://farm1.static.flickr.com/126/387692151_2879ca2b7e_o.png << nice press release 13:50 < _cheerios> smilies evolved into a language... 13:52 < v-dogg> heh 13:58 < _cheerios> http://www.tieke.fi/julkaisut/ Web 2.0 - johdatus internetin uusiin liiketoimintamahdollisuuksiin 14:00 < _cheerios> the finnish translations of terms are worth a look alone :) 14:04 -!- Barfusslaeufer [n=fgilcher@92.207.27.217.static.versanetonline.de] has joined #agavi 14:04 -!- shoan [n=shoan@59.96.61.63] has joined #agavi 14:08 < horros> urrgghh 14:08 * horros has been reduced to a blubbering monkey 14:09 < horros> This is an *AWFUL* lot of fun! I'm writing migration scripts to migrate the database structure and data from version 2.0.1 to 2.0.3 14:09 < horros> which is a jolly nice 300-or-so revisions 14:09 < horros> *sigh* 14:10 -!- Xylakant [n=fgilcher@92.207.27.217.static.versanetonline.de] has quit [Read error: 110 (Connection timed out)] 14:16 -!- MikeSeth [n=mst@192.115.27.162] has joined #agavi 14:16 -!- MikeSeth [n=mst@192.115.27.162] has quit [Client Quit] 14:16 -!- shoan_ [n=shoan@59.92.168.105] has quit [Read error: 110 (Connection timed out)] 14:16 -!- shoan [n=shoan@59.96.61.63] has quit [Read error: 60 (Operation timed out)] 14:17 -!- MikeSeth [n=mst@192.115.27.162] has joined #agavi 14:17 -!- MikeSeth [n=mst@192.115.27.162] has quit [Read error: 131 (Connection reset by peer)] 14:17 < _cheerios> atleast yuo're not rewriting a 45k line php codehell to agavi :) 14:22 -!- guest_asdasdad [n=asd@80.4.120.163] has joined #agavi 14:25 < horros> what the smeg is zlango anyway? 14:28 < v-dogg> sigh... looks like something that should be made illegal 14:28 -!- guest_asdasdad [n=asd@80.4.120.163] has left #agavi [] 14:28 < v-dogg> English teachers are going to love it 14:30 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 14:30 < v-dogg> "Zlango - your universal icon language for the web and mobile" 14:30 < v-dogg> gosh these marketing people 14:31 < v-dogg> "hey, I have The Worst Idea Ever!", "No you don't, I HAVE EVEN WORSE!" 14:31 < horros> gah 14:31 < horros> this Elisa's DNS-yoyo is starting to get rather annoying. 14:36 -!- horros1474 [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 14:40 -!- shoan [n=shoan@59.92.169.207] has joined #agavi 14:41 < Barfusslaeufer> it reminds me of something the egyptians invented like a couple of thousand years ago 14:41 -!- Barfusslaeufer is now known as Xylakant 14:41 < Xylakant> and today's writing evolved from that 14:42 < horros1474> this is strange... :O 14:42 < horros1474> svn propedit svn:externals . 14:42 < horros1474> added propel-gen http://svn.phpdb.org/propel/branches/1.3/generator 14:42 < horros1474> svn update 14:42 < horros1474> and it says "skipped '.'" :( 14:46 -!- shoan_ [n=shoan@59.92.160.128] has joined #agavi 14:49 -!- shoan [n=shoan@59.92.169.207] has quit [Read error: 60 (Operation timed out)] 14:50 -!- Wombert [n=Wombert@dslb-084-056-013-035.pools.arcor-ip.net] has joined #agavi 14:53 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 14:54 -!- shoan [n=shoan@59.92.173.73] has joined #agavi 14:54 < _cheerios> CLIFFHANGER: http://farm1.static.flickr.com/181/381370883_182f878b99.jpg 14:55 < Wombert> thanks for the ticket, Xylakant 14:57 < RossC0> woot! 14:57 < RossC0> Agavi is now in! :-) 14:57 < Wombert> errr? 14:57 < Wombert> huh? 14:57 < horros1474> it is? 14:57 < Wombert> what? 14:57 < Wombert> where? 14:57 < Wombert> how? 14:57 < Wombert> :D 14:57 < Wombert> seen Top Gear, RossC0 ? 14:57 < RossC0> at work :-D 14:57 < Wombert> harhar 14:58 < RossC0> yeah - that was the funniest thing in the world 14:58 < Wombert> the cow 14:58 < Wombert> ahaha 14:58 -!- shoan_ [n=shoan@59.92.160.128] has quit [Read error: 145 (Connection timed out)] 14:58 < Wombert> and ze rednecks.... maaan wtf 14:58 < RossC0> I havent laughed so much 14:58 < RossC0> they picked 3 brilliant slogans 14:59 < horros1474> SHUSH NOW! 14:59 < horros1474> I haven't seen it yet :) 14:59 < Wombert> oh okay 14:59 < Wombert> :D 14:59 < v-dogg> RossC0: congrats :) 14:59 < Wombert> ah at work 14:59 < Wombert> cooooool 14:59 < Wombert> :> 14:59 < v-dogg> no more in-house frameworks? 14:59 < RossC0> not for me :-) 15:00 < RossC0> my colleague should be popping into here for advice etc.. 15:01 < v-dogg> we are glad to help him 15:01 < v-dogg> and when I say "we" I actually mean Wombert of course :) 15:01 < RossC0> of course :p 15:02 < v-dogg> what brings me to.. 15:02 < v-dogg> Wombert: help plz k thx 15:02 < horros1474> haha 15:02 -!- horros1474 is now known as horros 15:03 < _cheerios> sweet, the more agavi the merrier 15:05 < horros> hmmh...? 15:05 < horros> "No directory defined for rotating logging." 15:06 < horros> hmm 15:06 < horros> fixed that, stumbled across the next problem 15:06 -!- shoan_ [n=shoan@59.92.177.197] has joined #agavi 15:07 < Wombert> what's going on, v-dogg ? 15:07 < v-dogg> something weird with my validators 15:08 < Wombert> are they finnish? 15:08 < Wombert> :D 15:08 * v-dogg slaps Wombert around a bit with a huge trout 15:08 < Wombert> okayokay 15:08 < v-dogg> looks like one of my validator is not ran at all 15:10 -!- shoan [n=shoan@59.92.173.73] has quit [Read error: 145 (Connection timed out)] 15:10 < Xylakant> wasn't that "Sounds swedish"? 15:11 < Xylakant> digitarald: ajax question for you: is it possible to make post file uploads using ajax in all modern browsers (ie7 and better) 15:11 < Wombert> "Borg"? 15:11 < Xylakant> yes, that was the movie reference :) 15:11 < Wombert> yeah I believe they are from sweden 15:11 < Xylakant> you mean like evolved ikea workers? 15:12 < horros> "Tennis is futile" - Björn Borg 15:12 < Xylakant> *g* 15:13 < Wombert> no, Xylakant, evolved Ikea customers :D 15:14 < Wombert> that patch of yours 15:14 < Wombert> mmmh gotta look into that 15:14 < horros> I can't seem to get loggint to work. 15:14 < horros> help plz kthx keke np 4 u frn lar 15:14 < v-dogg> I can't get validation to work 15:15 < Xylakant> Wombert: you could change the patch so that variables are named otherwise, however you must store one of the two variables you're swapping around in a temporary 15:16 < Wombert> yeah that's now what I mean 15:16 < Wombert> ah whatever I'Ll just add some // FIXME: comments for dominik 15:17 < Xylakant> well, which one you choose is a matter of personal preference, so letting the author make up his mind might be a wise decision 15:17 < v-dogg> //Dominik, please touch this spot. Gently. 15:18 < Wombert> /not as rude as last time 15:18 < Xylakant> i just provided the patch to help the guy on the mailing list who ran in the same problem as i did 15:18 < Wombert> saw that, thanks 15:19 < CIA-23> david * r1692 /branches/0.11/src/translation/AgaviDateFormatter.class.php: fixed issue #421 in DateFormatter, thanks Felix Gilcher 15:22 < v-dogg> erm... what the feck... 15:24 < v-dogg> has the meaning of required="true|false" changed in the validator definitions? 15:24 < Wombert> issetvalidator? 15:24 < v-dogg> no, custom time validator 15:24 < Wombert> it might be a bug 15:24 < Wombert> maybe kaos can help 15:24 < horros> smeck und feg 15:25 < v-dogg> If I have "false", the validator is not ran (and null is not exported and propel bitches) 15:25 < v-dogg> if I leave it out (default is "true", right?) it's not ran either 15:25 < Wombert> oO 15:26 < v-dogg> and, of course, if I have "true" empty value doesn't pass 15:26 < Wombert> I smell huge bug 15:26 < Wombert> ONLY A DEAD BUG IS A GOOD BUG 15:26 < Wombert> I'll ask dominik to look into it 15:26 < RossC0> is there any rails style flash messaging in agavi - i.e. saves a message in the session and automatically removes it afterwards and passes it to the template layer? 15:26 < Wombert> RossC0: 1.0 15:27 < Wombert> sorry :S 15:27 < RossC0> ok I'll implement :) 15:27 < RossC0> anyway I can extend the stack via a config? 15:27 < v-dogg> should be piece of cake if I understand the feature correct 15:28 < Wombert> not quite 15:28 < Wombert> problem is that a background ajax request would pull and remove the flash variable 15:28 < Wombert> etc 15:28 < v-dogg> ah 15:28 < RossC0> ah ok - I'll just add it to my base view :) 15:28 < Wombert> we thought about an implementation where the var would live for a maximum of... five requests, and disappear as soon as it is read or so 15:28 < digitarald> Xylakant ... ajax uploads ... only via flash and external interface 15:29 < v-dogg> Wombert: what about output_type specific messages? 15:29 < Wombert> ? 15:29 < Xylakant> digitarald: thats what i gathered from the web resources i found, thanks for the confirmation 15:29 < Wombert> ah for ze flash stuff 15:29 < v-dogg> Wombert: if I said "pass this message to the next html response" 15:29 < v-dogg> yeah 15:29 < digitarald> Xylakant, here is my solution ... http://dev.digitarald.de/uplooad.html ... best on the market ;) 15:29 < Wombert> well that still doesn't solve the "I like tabbed browsing" problem ;) 15:30 < Wombert> but yes, that is a good idea, v-dogg 15:30 < Xylakant> using flash, you sent me this one before 15:31 < digitarald> ok 15:31 < Wombert> Xylakant: could you paste me an example of that date formatter / multi domain / simple translator stuff 15:31 < Wombert> or maybe you can show koen how it works (on the mailing list) 15:31 < digitarald> flash solution is not acceptable? 15:31 < digitarald> another solution is upload via iframe 15:31 < Xylakant> but if i feel like doing this, i can as well put the whole form in an iframe 15:31 < Xylakant> flash in general is acceptable 15:32 < Xylakant> i was just looking for a way to get around the iframe 15:32 < Xylakant> Wombert: if i had that figured out yet ;) 15:32 < Xylakant> i was hoping to ask kaos when he's here... 15:32 < kaos> i am here 15:32 < kaos> just readin up 15:33 < Wombert> ah then I'll let kaos reply to the email (can you do that mate? Koen asked about it on the list this morning) 15:33 < Wombert> While I'm at it. Here's another question. For some parts of the app I'd 15:33 < Wombert> like to use one format, for others another. Do I have to define domains 15:33 < Wombert> for both of them and then decide in the template in which domain the 15:33 < Wombert> date should be translated? 15:34 < kaos> #421 is nice, yeh 15:34 < kaos> next time heh 15:34 < kaos> i should switch brain on 15:34 < kaos> :D 15:35 < Xylakant> well, looks like a copy-paste error 15:35 * _cheerios hands over myspace.com/brain to kaos 15:35 < kaos> yeah, it _is_ 15:36 < kaos> v-dogg: can you paste your validator ? 15:36 < v-dogg> sure thing 15:37 < v-dogg> http://pastebin.ca/351913 15:37 -!- shoan [n=shoan@59.96.38.253] has joined #agavi 15:37 < v-dogg> valid_wantedtime is the one not working 15:38 < kaos> btw 15:38 < v-dogg> when required="false" the validator is not ran with an empty input 15:39 < v-dogg> and null is not exported and propel says "Unable to parse date/time value for [wantedtime] from input: ''" 15:39 < kaos> yes, thats the expected behaviour 15:41 < kaos> you can skip the and container btw 15:41 < kaos> if you don't really need an and 15:41 < kaos> but instead just want to group by error/method 15:41 < kaos> you can simply create a new validators block 15:43 < v-dogg> how can I skip it? adding depends on every other validator? 15:44 < v-dogg> but how do I handle empty input from now on? I need the validator to export nulls for propel? 15:47 < v-dogg> and what's this all about in the numbervalidator: 15:47 < v-dogg> $value =& $this->getData($this->getArgument()); 15:47 < v-dogg> replacement for $this->export() ? 15:50 -!- shoan_ [n=shoan@59.92.177.197] has quit [Read error: 110 (Connection timed out)] 15:54 < kaos> not really a replacement 15:54 < kaos> but serves kinda the same purpose 15:54 < kaos> if you want your validator always to be called 15:55 < kaos> no matter if the field exists or not 15:55 < kaos> overwrite checkAllArgumentsSet and always return true 16:02 < v-dogg> roger 16:03 < kaos> the isset validator uses that for example 16:14 < horros> hmm 16:15 < horros> if I have projects linked to my project with svn:externals and I change files in the external project... what happens on commit? 16:16 -!- codecop is now known as liutis 16:17 < digitarald> nothing 16:17 < digitarald> because they are external 16:17 < Xylakant> horros: unless you commit in the externals directory 16:18 < horros> hmm 16:18 < Xylakant> if you go into the externals directory and then commit, they get commited to wherever the external comes from 16:19 < horros> interesting 16:20 < digitarald> ah, clients ... "i want that effect from the gucci website ... exactly that effect" ... 16:20 * digitarald slaps clients 16:21 < Xylakant> which effect? that it maximizes the browser window to the full screen size like any good warez popup site? 16:22 < Xylakant> and that it is horrible broken in ff once you resize the window? 16:22 < digitarald> yes, that is pretty cool ... usability 150%, think for the user and maximize his ability to see all the photos that jerking over the screen 16:23 < Xylakant> well, that's 10k $ then 16:24 < Xylakant> however, they're using rails if i see that properly 16:24 < digitarald> even most of the people at gucci dont like the site, it does not match the ci with that web fonts and the colors 16:24 < digitarald> its from the prototype guys ... so its rails 16:24 < Wombert> should I ask thomas how much they charged gucci? :D 16:24 < Wombert> you could use that to scare off the client, digitarald :p 16:25 < Wombert> it's from www.wollzelle.com 16:25 < Wombert> => scriptaculous, a bit 16:25 < digitarald> i know, i like it ;) 16:25 < digitarald> you i mean 16:25 < digitarald> i don't like it ... because clients want it :D 16:27 < digitarald> but i can't say if the site is good, the transitions and fxs are not smooth, maybe i need a better pc to watch that website :) 16:27 < digitarald> some people upgrades because of games ... others to watch a website properly :D 16:27 < Xylakant> hmm. the german page doesn't even comply with the most basic laws 16:27 < Xylakant> dangerous thing here 16:28 < Wombert> wollzelle? 16:28 < Wombert> they're from Vienna, Austria :p 16:28 < Xylakant> no, the german gucci website 16:28 < Wombert> let's sue them 16:29 < digitarald> Xylakant, can u see nipples without over-18 check? ;) 16:29 < Xylakant> i know a couple of laywers, maybe i should start a second entrprise 16:29 < Xylakant> no, the imprint is missing 16:30 < Xylakant> it's hidden behind like three or four clicks, and even there it does not say "imprint" or "contact" as required 16:30 < Wombert> it isn't 16:30 < Wombert> http://www.gucci.com/de/german/about-gucci/legal-notices/legal-conditions.html 16:30 < Xylakant> but that would not qualify as easily reachable 16:30 < Wombert> two clicks, guess that's okay 16:30 < Xylakant> and you can't reach it when javascript is disabled 16:31 < digitarald> gucci site works w/o javascript? 16:31 < Wombert> the point is that it says "rechtliche hinweise", which I believe is enough 16:31 < Xylakant> nope 16:33 < Xylakant> you have to click "rechtliche hinweise", then a second one (of "kaufinformationen" or "datenschutz") and then "contact" 16:34 < Wombert> well the "imprint" (wrong word anyway in english) is missing, that's right 16:34 < Wombert> but assuming that it would be there 16:34 < Xylakant> we're required to put the imprint or a direct link even on "sorry, but this page is currently unavailable" error pages 16:34 < Wombert> then I think from a legal standpoint, two clicks would be okay because the "rechtliche hinweise" link is clear enough 16:34 < Xylakant> what's the proper word in english? 16:34 < Wombert> there is no such word 16:34 < Wombert> "imprint" is for books only 16:35 < Wombert> I believe it's "flag" or so for magazines 16:35 < Wombert> and for websites... well... I always use "legal info" 16:35 < Xylakant> well, one of our customer had that translated and checked by the legal department... 16:35 < Xylakant> legal info should be fine as well 16:35 < Wombert> and someone in the legal department used a dictionary but forgot to double-check :p 16:35 < Xylakant> maybe, maybe not 16:38 < Xylakant> whatever, it's missing on the gucci page. bad style, should not happen to professionals... 16:38 < Wombert> look at www.bmw.de 16:39 < Wombert> they don't have a complete impressum either 16:39 < digitarald> bmw got banned from google for seo, they never had good style ;) 16:39 < Wombert> their website sucks 16:40 < digitarald> u compare gucci with bmw website? 16:40 < Wombert> no, I'm just saying it's hopeless 16:40 < Wombert> they only halfway decent website is volkswagen.de 16:40 < Xylakant> Wombert: they do: at the bottom "Kontakt" as well as "Rechtlicher Hinweis" are both directly reachable 16:40 < Wombert> ford.de is HOPELESS 16:41 < Wombert> peugeot.de 16:42 < Wombert> ... german car makers have much to learn from the americans, that's for sure 16:42 < Xylakant> real men ride bikes: http://www.buell.com/de_de/home.asp 16:42 < Xylakant> they do have a link "Impressum" at the bottom 16:42 < Xylakant> but the fun starts when you click it 16:43 < Wombert> wtf how is that an impressum 16:43 < Xylakant> guess someone placed the wrong link 16:43 < horros> what the smeg is "rechtlicher hinweis"? 16:43 < _cheerios> odd, i include() a file in the template (note: building up ancient app, won't be in final ver), and firefox freezees for a whole minute before the page loads. 16:43 < Xylakant> but it's nice that they discourage riding a bike when under drug influence 16:44 < Wombert> legal notice, horros 16:44 < Wombert> you should know, you speak german! 16:45 < Wombert> NO NEED FOR THAT 16:45 < Wombert> ZERE IS MEAT 16:45 < Wombert> IN ZE BUILDING 16:45 < Xylakant> horros: legal notice, in germany, pretty much all webpages are required to have a specific set of information available, directly linked from the frontpage. 16:45 < horros> Wombert: haha 16:45 < horros> YOU STARTED IT! NO WE DIDN'T! YES YOU DID, YOU INVADED POLAND! 16:45 < _cheerios> photograph of prime minister, symbol of the nation, and a slogan ? :D 16:45 < horros> fawlty towers <3 16:46 < v-dogg> where is that from horros / Wombert? 16:46 < Xylakant> _cheerios: pretty much correct 16:46 < Xylakant> _cheerios: contact information mostly 16:47 < v-dogg> Wombert: and what don't you need? 16:47 < Xylakant> the problem is that there is a specific gang of laywers running wild and sueing people, making a good living from that 16:47 < Wombert> YOU DON'T KNOW FAWLTY TOWERS? 16:47 < Wombert> ZOMG 16:48 < Xylakant> we had that on christmas last year. a friend got the dvd series as present and we watched like 5 hours in a row, 16:48 < Wombert> v-dogg: http://www.youtube.com/watch?v=WvjUBrwpJWM 16:49 < Wombert> it's at the beginning 16:49 < Wombert> LOL 16:49 < Wombert> WAHAHAHHAH 16:49 < Wombert> :> 16:51 < Xylakant> this is hilarious 16:52 < horros> I'd love to watch it too 16:52 < horros> but my ISPs DNS-servers have fallen over themselves. again. 16:52 < Wombert> horros: http://208.65.153.253/watch?v=WvjUBrwpJWM 16:54 < _cheerios> that toyota hybrid sportscar concept that was on digg earlier seemed ok for a hybrid 16:54 < _cheerios> damn youtube video cut after 2mins :/ good laugh 16:55 < Xylakant> Wombert: do you know http://www.youtube.com/watch?v=w1DXbW3T6BQ 16:55 < _cheerios> http://www.trendpimp.com/article/162/The_Toyota_FTHS_Rocket.html 16:56 < Wombert> LOL 16:57 < Xylakant> or that one: http://www.youtube.com/watch?v=QSKCxrD12ss 16:57 < Wombert> DAS TOTALE SIEB 16:57 < Wombert> LOOOOOOOL 16:57 < Wombert> GRÖKAZ 16:57 < Wombert> MUAHAHAH 16:57 < Xylakant> "Jawoll, mein Rührer! 16:59 < horros> hahah, To quote Winstin Churchill "We are all worms, but I'm a glow worm!" 17:00 < horros> if he really said that... he was a bigger drunkard that I though :D 17:00 < horros> Wombert: thanks for the link, but it still won't work :) 17:01 < horros> as it tries to resolve foo237952-292gfagfdag26wsfg.youtube.com 17:02 < Xylakant> horros: edit your hosts file and make it a static entry 17:03 < Xylakant> don't forget to remove the entry once the nameservers are back up 17:03 < Wombert> he knows it in and out :D 17:03 < horros> Xylakant: I'm not *THAT* desperate :) 17:04 < horros> plus, I should have that episode on this other box, but I can't be bothered to dig it out 17:04 < horros> ...as I'm going home in a bit :) 17:04 < horros> ...to download the latest top gear episode \o/ 17:06 < Wombert> ...which is excellent 17:07 < horros> Wombert: hey, how do I forward nowadays? I couldn't quite make it out from Your Email(tm) 17:09 < horros> hmm 17:09 < horros> $container->createExecutionContainer('Foo', 'Bar') ? 17:09 < Wombert> no 17:09 < Wombert> return $this->createForwardContainer('Module', 'Action', array('id' => 1234)); 17:09 < Wombert> in the view 17:09 < horros> hmmkay 17:09 < horros> let's see... 17:09 < Wombert> createforwardcontainer is a shortcut that allows arrays as the third argument in addition to request data holders 17:10 < Wombert> it also sets an is_forward parameter on the container itself 17:10 < Wombert> as does createSlotContainer (with is_slot obviously) 17:14 < horros> hmm 17:14 < horros> there's some smeg here with my search paths :I 17:15 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:16 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"] 17:17 < horros> very very strange indeed 17:17 < Wombert> ? 17:17 < horros> well...ö 17:18 < horros> I do SET search_path TO public,patient,rbac,glue,dynamicforms ... 17:18 < horros> or rather, I have propel automagically do it 17:18 < horros> I have a query which selects a crapload from all kinds of tables in different schemas... 17:19 < horros> and now it decided to suddenly choke on "lastreport_cache" in the patient -schema 17:19 < horros> but it can select just fine from, for instance, treatmentperiod in the same schema :I 17:21 < horros> oh sod it 17:22 < horros> I'll look into it tomorrow 17:22 < horros> => home 17:23 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)] 17:34 -!- Arme[N-1] is now known as Arme[N] 17:38 < v-dogg> hmm.. 17:38 < v-dogg> kaos: ping 17:38 < kaos> hm ? 17:40 < v-dogg> "We need to return true here when this validator is not required" 17:40 < v-dogg> if($this->getParameter('required', true)) { return true; 17:40 < v-dogg> this confuses me 17:41 < kaos> -not 17:41 < v-dogg> ok :) 17:42 < CIA-23> dominik * r1693 /branches/0.11/src/validator/AgaviIssetValidator.class.php: fix comment typo 17:47 < v-dogg> now one more problem: something sets an empty error message 17:49 < kaos> yes 17:49 < kaos> probably the and validator 17:50 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: liutis, v-dogg 17:50 < CIA-23> dominik * r1694 /branches/0.11/src/translation/AgaviDateFormatter.class.php: 17:50 < CIA-23> add missing else 17:50 < CIA-23> refs #421 17:50 < Wombert> maybe errors should only be set if they are really defined 17:51 < Wombert> I guess the and validator fails, and then sets an error message, which is null 17:51 < Wombert> right? 17:54 < kaos> well, not setting it would prevent the fpf from marking the fields 17:54 < Wombert> hm 17:54 < kaos> but we could change the fpf to use the fieldresult information 17:55 < Wombert> could we change 17:55 < Wombert> yeah 17:55 < Wombert> so it uses incidents 17:55 < kaos> no 17:55 < kaos> fieldresults 17:55 < kaos> not incidents 17:55 < kaos> the incident would contain the empty error 17:55 < kaos> (i think *g*) 17:55 < Wombert> uuuaaaah 17:55 -!- Netsplit over, joins: v-dogg 17:56 < kaos> well, not necessarily 17:56 < kaos> but i don't know if the code can handle incidents w/o errors 17:56 < kaos> would need to check (but i wouldn't know where that could break atm) 17:56 < Wombert> wouldn't there be an error, but without messages? 17:56 < Wombert> or don't we have it that way 17:57 < kaos> well, it would still create an ValidationError object 17:57 < kaos> with the message set to null 17:57 < kaos> which would still result in getError returning it 17:58 < kaos> maybe we should filter in getError ? 17:58 -!- liutis [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 18:07 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:11 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:18 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 18:18 -!- Arme[N-1] is now known as Arme[N] 18:18 -!- Arme[N] is now known as Arme[0] 18:22 -!- codecop [n=codecop@85.206.204.172] has joined #agavi 18:22 < codecop> anyone tried cakephp, what your opinion about it? 18:24 -!- splatch [n=splatch@s3.przytulski.net] has quit [Nick collision from services.] 18:24 < _cheerios> i loaded the webby. looked colorful. 18:24 -!- splatch__ [n=splatch@s3.przytulski.net] has joined #agavi 18:28 < Xylakant> they are trying to clone rails in php, personally I don't think that's a clever idea as the languages are quite different. didn't test is personally but it was kicked out pretty soon when we had someone evaluation frameworks - however that was a while ago. 18:29 < Wombert> Xylakant: are you still evaluating agavi or are you using it for projects already? 18:29 < Xylakant> i'm building projects based on it 18:29 < Xylakant> the decision has been made quite a while ago 18:30 < Xylakant> i do have a release date somewhere in march 18:30 < Wombert> yeah I remember talking to you about it and you said you weren't using it _yet_ 18:30 < Wombert> cool 18:30 < Xylakant> not in a live application 18:31 < Xylakant> i don't know wether i can stick an "built with agavi" label on it, but i'll make shure i'll let you know privately at least 18:31 < Wombert> that's cool 18:31 < Wombert> no need for "made with agavi" 18:31 < Wombert> as I said back then, if you could contribute your experiences, and some samples, and some stories to the showcase on the new site, that would be great 18:32 < Wombert> always given that the clients agree, and the boss agrees, and so on, but I'll let you know in time when I need something 18:32 < Wombert> what were the other options you looked into? 18:32 < Wombert> you're using rails, too, right? 18:32 < Wombert> what made you use agavi instead of rails 18:32 < Wombert> for any of these projects 18:32 < Xylakant> symphony was on the list, cakephp and i think there was a fourth framework 18:33 < Xylakant> i'm using rails for all projects that i do for myself 18:33 < Xylakant> so why agavi: because customers want php 18:33 < Xylakant> you can't sell ruby 18:33 < Xylakant> at least thats what the sales department says 18:34 < Wombert> :p 18:34 < Xylakant> i actually would be using both 18:34 < Xylakant> but i think that php as a language outright sucks at some points and i haven't found that many problems in ruby 18:35 < Wombert> word 18:35 < Xylakant> they might be there, but i haven't had the pleasure to meet them :) 18:35 < Wombert> and why did you choose agavi over, say, symfony 18:36 < Wombert> after all, they're nice and shiny with tons of bling and a lot of hype 18:36 < Xylakant> one major point pro agavi: we used mojavi 2 extensively and while agavi is breaking some of the concepts, it's still familiar 18:36 < Wombert> well but that's just as true for symfony, it's based on mojavi3, like agavi 18:36 < Xylakant> and mojavi was the best at it's time and i suppose you'll make agavi the best at his time 18:37 < Wombert> in fact, we threw away _more_ of m3's concepts than symfony 18:37 < Xylakant> yes, but after the decision was made ;) 18:37 < Wombert> ah 18:37 < Wombert> hehe 18:37 < Wombert> :> 18:39 < Xylakant> and another point: i don't need a rails clone in php 18:39 < Xylakant> if i want to work the rails way, i take the "real thing(TM)" 18:40 < Wombert> :p 18:40 < Wombert> anything you don't like about agavi? 18:41 < Wombert> things we should change 18:41 < Wombert> make easier 18:41 < Wombert> whatever? 18:41 < Wombert> things you miss? 18:41 < Xylakant> html-helpers ;) 18:41 < Xylakant> yes, i know, thats a red flag 18:41 < Wombert> heh yeah we won't add that I'm afraid 18:41 < Xylakant> but stylesheet_include_tag is soo useful once you know how to use it 18:42 < Wombert> the problem is that if we add html helpers, they only work with php, not with smarty, or xsl, or phptal, or whatever template engine people use 18:43 < Xylakant> or the template engine would have to implement them 18:44 < Xylakant> a solution that works comfortably in 90% of all cases is a good start 18:44 < Wombert> the problem is that if we add it, we lock people in 18:44 < Wombert> or at least we don't have the same functionality across all template engines people might use 18:45 < Wombert> and that's not good, because one of agavi's main principles is to give users choice 18:45 < Xylakant> no, you don't 18:45 < Xylakant> but hey, i can add them for myself 18:45 < Xylakant> rails does support html_helpers only for rhtml templates afaik 18:45 < _cheerios> agavi is a lock-in by itself, just like rails or any other framework 18:45 < Wombert> that's also why we don't ship with our own database layer 18:45 < Wombert> Xylakant: once 1.0 is out, we'll have an AgaviForge thing where people will contribute their helper implementations 18:45 < Xylakant> if i wish to use a fancy different template system, i can - but i must either implement the helpers for my template system or do it "the long way" 18:46 < Wombert> yes, but that's a rail philosophy 18:46 < Wombert> rails 18:46 < Wombert> it's in the name already... it's not called "open road, go where you want", it's called "rails" 18:46 < Wombert> you follow a (more or less) fixed route towards success 18:46 < Wombert> that works nicely, but it also requires certain trade-offs 18:46 < Xylakant> open space, get lost on the route to the goal 18:47 < Wombert> one of them being that you must stick to the way the developers give you 18:47 < Xylakant> have you ever worked with rails? 18:47 < Wombert> briefly 18:48 < Wombert> I was always scared off by how the answer to every question I had was "mmh yeah I think there is a plugin" 18:48 < Xylakant> you really should 18:48 < Wombert> and plugins are just a nice word for "nasty hacks" 18:48 < Xylakant> but there is a plugin for every thing 18:48 < Wombert> I'd honestly rather port agavi to ruby :p 18:48 < Wombert> or python 18:48 < Xylakant> plugins are another word for "keep the core sleek and add functionality in little defined packages" 18:48 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 18:48 < Whisller> hi :] 18:49 < Xylakant> and rails plugins are really comfortable to handle 18:49 -!- benny`work [n=benny@p54AC14D9.dip0.t-ipconnect.de] has joined #agavi 18:50 < Xylakant> yes, some are buggy, some don't do as you need them, but they extend the core functionality without messing with the core 18:50 < Xylakant> so i can choose between at least 2 authentication plugins and if i need a third one i can write it 18:51 < Xylakant> but it would be impossible to port rails plugins to php 18:51 < Xylakant> they use too much inherent ruby functionality, such as the ability to modify and extend classes at runtim 18:51 < RossC0> can someone explain fpf to me :-) 18:51 < Xylakant> e 18:51 < Wombert> RossC0: enable it 18:52 < Wombert> then code a form, 18:52 < Wombert> make sure you use the routing to generate the action so the URLs match 18:52 < Wombert> do not use ?step=2 or something in the action 18:52 < RossC0> k 18:52 < Wombert> submit the form, et voila, all values you submitted are filled in again 18:52 < RossC0> oww - sweet 18:52 < Wombert> you don't have to do anything to make it happen, you just have to configure it so it populates forms on "write" (request method) 18:53 < Wombert> of course, you can always override settings in your runtime code 18:53 < Wombert> note that password fields are not filled in again by default 18:53 < RossC0> yup - ok how'd I configure it 18:53 < RossC0> / enable it ? settings.xml ? 18:53 < Wombert> if you want a CAPTCHA not filled in either, you can add the field name to the "skip" request attribute 18:54 < Wombert> http://trac.agavi.org/browser/branches/0.11/samples/app/config/global_filters.xml 18:54 < Wombert> leave out the , makes you happier 18:54 < RossC0> does it set defaults? 18:54 < Wombert> you mean for when the form is displayed for the first time? 18:54 < Wombert> sure 18:54 < RossC0> ie to null so I dont have to check in the template 18:55 < Wombert> two ways to do it 18:55 < Wombert> uhm 18:55 < Wombert> null? 18:55 < RossC0> '' 18:55 < Wombert> what for 18:55 < RossC0> nm - carry on 18:55 < RossC0> so I dont get notice errors :p 18:55 < Wombert> no no 18:55 < Wombert> you don't have to output anything in your form! 18:55 < Wombert> that's the whole point of it 18:55 < Wombert> http://trac.agavi.org/browser/branches/0.11/samples/app/modules/Default/templates/LoginInput.php 18:55 < Wombert> see that? 18:55 < Wombert> 18:56 < Wombert> :) 18:56 < Wombert> you submit the form, and when the form is shown again, on POST, the filter detects that and fills in the values you submitted 18:56 < RossC0> ah ok - so plays nicely with the validator 18:58 < Wombert> well yeah if a validator sets an error for a field 18:58 < RossC0> ah ok - I was basing my stuff from chuckwalla login - which assigns vars or nulls from the cookie 18:58 < Wombert> yeah nevermind that 18:58 < Wombert> no need to fill something in 18:58 < Wombert> the field will be given the class "error" (you can configure that) if a field didn't pass validation 18:58 < Wombert> and it's label, too 18:59 < RossC0> cool - and does it auto output an error message? 18:59 < RossC0> or can it rather.. 18:59 < Wombert> nope, not yet 18:59 < Wombert> I recommend you do that in the master template 19:00 < Wombert> http://trac.agavi.org/browser/branches/0.11/samples/app/modules/Default/templates/Master.php#L162 19:00 < Wombert> line 162 19:00 < RossC0> ah champion 19:00 < Wombert> in v1.0, the filter will, most likely, have the ability to automatically insert error messages into the form 19:00 < Wombert> you'll be able to use xpath expressions for that 19:00 < RossC0> ok - I'll hassle you more once I've created some more probs 19:01 < RossC0> cool - that would be handy 19:02 < Wombert> sure, do that 19:02 < Wombert> maybe create a simple empty test form first 19:02 < Wombert> submit it, and see how the values are filled in 19:03 < Wombert> you can also preset the values 19:03 < Wombert> two options for that 19:03 < Wombert> first, you write it into the form itself 19:03 < Wombert> handy for the newsletter checkbox for instance: 19:03 < Wombert> 19:03 < Wombert> that will check it (obviously) when the user calls the form 19:03 < Wombert> but if he unchecks the box and submits the form, it remains unchecked 19:04 < Wombert> the other way is for the forms where you edit an item or something 19:04 < RossC0> ah I'll put it in a hidden div :p 19:04 < Wombert> in the view, you do 19:04 < RossC0> ^ joke ;) 19:05 < Wombert> $request->setAttribute('populate', array('id_of_the_form_to_populate' => new AgaviParameterHolder(array('fieldname' => 'value'))), 'org.agavi.filter.FormPopulationFilter'); 19:05 < Wombert> or, if you just want to populate the form of the current action 19:05 < Wombert> $request->setAttribute('populate', new AgaviParameterHolder(array('fieldname' => 'value')), 'org.agavi.filter.FormPopulationFilter'); 19:05 < Wombert> must be a parameter holder because arrays are for populating forms by id 19:06 < Wombert> don't forget to wrap such a statement into an if($request->getMethod() == 'read') { 19:06 < Wombert> and here's ze coolest thing of them all 19:06 < Wombert> propel objects have a toArray() method 19:06 < RossC0> I'm using Doctrine :-( 19:06 < Wombert> $request->setAttribute('populate', new AgaviParameterHolder($this->getAttribute('product')), 'org.agavi.filter.FormPopulationFilter'); 19:06 < Wombert> oh 19:06 < Wombert> hmm 19:06 < RossC0> the shame! 19:07 < Wombert> has it the ability to export an object to an array? 19:07 < Wombert> oops 19:07 < Wombert> $request->setAttribute('populate', new AgaviParameterHolder($this->getAttribute('product')->toArray(BasePeer::TYPE_FIELDNAME), 'org.agavi.filter.FormPopulationFilter'); 19:07 < Wombert> TYPE_FIELDNAME does "user_id" instead of "UserId" 19:07 < Wombert> matter of taste 19:07 < RossC0> ah ok 19:08 < Wombert> and that would then fill in the respective elements in your form 19:08 < Wombert> with doctrone... humm 19:08 < Wombert> ze domain is still down 19:08 < RossC0> phpdoctrine.net 19:09 < RossC0> cool has a toArray() 19:09 < Wombert> even better 19:09 < Wombert> if it has a fromArray 19:09 < Wombert> you set up validators so only validated elements arrive in your action... 19:10 < Wombert> and then you just do fromArray($rd->getParameters()) !! 19:10 < Wombert> no more $obj->name = $rd->getParameter('name'); etc in ze action 19:12 < RossC0> hmm - you do that in chuckwalla ? 19:12 < Wombert> don't think so nope 19:13 < RossC0> ah ok 19:13 < RossC0> coolio - thanks Wombert! 19:13 < Wombert> but do you get the general idea? 19:13 < RossC0> yup 19:13 < Wombert> validators can filter input 19:13 < Wombert> even more, a number validator will cast to an int for you etc 19:13 < RossC0> excellent :) 19:14 < Wombert> and for fields that are not required, a validator could remove it, so it becomes null, instead of the empty string that arrived from the browser 19:14 < Wombert> propel lets me do this 19:15 < Wombert> $book = BookPeer::retrieveByPK($rd->getParameter('id')); 19:15 < Wombert> $book->fromArray($rd->getParameters()); 19:15 < Wombert> $book->save(); 19:15 < Wombert> a validator would have made sure that the id actually exists 19:15 < Wombert> (better: the validator also exports the respective propel row object so I don't have to fetch it twice) 19:16 < Xylakant> just wanted to mention that... 19:21 < Xylakant> right, i'll stop being a smartass and instead go grab some food at the grocery. 19:21 < Xylakant> cu all tomorrow 19:21 -!- Xylakant [n=fgilcher@92.207.27.217.static.versanetonline.de] has quit ["Leaving"] 19:22 -!- Wombert [n=Wombert@dslb-084-056-013-035.pools.arcor-ip.net] has quit [Nick collision from services.] 19:22 -!- Wombert [n=Wombert@dslb-088-064-080-155.pools.arcor-ip.net] has joined #agavi 19:25 < digitarald> Wombert, this $book->fromArray($rd->getParameters()); did not work in last releases, do now all type-validators also cast their value? 19:26 < Wombert> digitarald: number validators cast to int or float, date validators to... what you want 19:26 < digitarald> and isset validators? 19:26 < Wombert> you can control what it casts and how it casts etc, kaos knows 19:27 < Wombert> mmh... there is now an isempty validator 19:28 < digitarald> i have propel values with true/false ... i changed all isset to number validators anyway because isset validator ignored required="false" 19:28 < Wombert> yes, that's why we have isempty now 19:29 < digitarald> isempty does not cast to true/false ... 19:29 < Wombert> of course not :p 19:32 < digitarald> u said i can control what it casts ;) 19:32 < digitarald> ok ... i'll write my own 19:32 < Wombert> what does isempty have to do with booleans!? 19:32 < Wombert> a string can be empty, too 19:33 < digitarald> ... then its false 19:33 < digitarald> even in php ;) 19:33 < digitarald> ... and javascript 19:34 < digitarald> whoever invented this ... typecasting ... was nuts! 19:41 < _cheerios> nuts in butter is OK 19:43 < v-dogg> digitarald: isEmptyValidator can't cast empty values to false, that would be wrong 19:43 < v-dogg> because it's just, well, isEmpty -validator :) 19:45 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:55 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 20:22 < _cheerios> anyone got default firefox/IE favicon.ico ? 20:34 -!- Arme[0] is now known as Arme[N] 20:39 -!- codecop [n=codecop@85.206.204.172] has quit ["Have to go"] 21:17 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 21:26 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 21:27 -!- rhalff [n=rhalff@g179062.upc-g.chello.nl] has joined #agavi 21:28 < rhalff> is Context used standard with agavi or an option ? 21:28 < Wombert> mmmh not sure I understand the question, rhalff 21:28 < Wombert> hi btw 21:29 < Wombert> long time no see ;) 21:29 < rhalff> lol hm yeah 21:29 < splatch__> hello 21:29 < rhalff> 2007 allready 21:29 < splatch__> Wombert: did you wrote mail to kazek? 21:29 < Wombert> splatch__: ah no not yet but I will in a minute 21:30 < rhalff> this http://svn.agavi.org/trunk/src/core/AgaviContext.class.php 21:30 < Wombert> use branches/0.11 21:30 < rhalff> hm ok it's a lazy question, should actually look at the docs 21:31 < Wombert> sample app maybe 21:31 < Wombert> or create a new project with "agavi project" 21:31 < Wombert> as I said, use branches/0.11 or install 0.11-RC2 via pear 21:37 < rhalff> :p http://www.agavi.org/docs/latest/manuals/manual/ch03s04.html 21:37 < Wombert> well what's your question 21:37 < Wombert> didn't you use agavi 0.10? 21:37 < Wombert> or even mojavi 3? 21:38 < rhalff> ah sorry found information about it now 21:39 < rhalff> I'm not really using agavi, but want to understand how agavi uses context, implementing something like context myself also, seems like I'm using it the same way as agavi. 21:39 < Wombert> why don't you just use agavi 21:39 < rhalff> came to the point that I need context :) 21:40 < rhalff> maybe because I needed something like context and it wasn't there yet, dunno 21:40 < rhalff> and there was not much documentation before I think 21:40 < Wombert> agavi always had a context 21:40 < Wombert> well give it a shot 21:43 < Wombert> rhalff: agavi is now stable, documentation is growing, more and more people are using it, and it has everything you need 21:43 < Wombert> don't build your own framework! 21:43 * impl slaps Wombert with propaganda 21:43 < Wombert> no, really 21:43 < Wombert> nobody benefits from NIH syndrome 21:43 < impl> You do ;) 21:44 < Wombert> he can use agavi, learn to use it, help with documentation, contribute, etc 21:44 < Wombert> plus, another user to spread the word ;) 21:44 < impl> :P 21:44 < rhalff> right now I'm also using context to switch between sites, so load an action in the context of another site, that's bad ? :) 21:45 < Wombert> with your framework thing? or with agavi? 21:45 < rhalff> with my framework thing 21:45 < Wombert> well I don't know, because I don't know your framework, so I can't help you with that 21:45 < rhalff> hm context is made up by agavi or ? 21:45 < Wombert> ? 21:45 < Wombert> no, it was in mojavi 3, too 21:46 < rhalff> I mean is it a well known pattern 21:46 < CIA-23> dominik * r1695 /branches/0.11/src/ (3 files in 3 dirs): 21:46 < CIA-23> allow to be nested 21:46 < CIA-23> closes #422 21:46 * Wombert hugs kaos 21:55 < _cheerios> i suddenly pictured Wombert as the iraqi propaganda minister due impl's slap :p 21:58 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 21:58 < Wombert> THERE IS NO OTHER FRAMEWORKS 21:58 < Wombert> THE DEVIL IS ONLY PRETENDING TO HAVE ONE 21:58 < Wombert> DEATH TO AMERIKA! 21:59 < impl> SIEG HEIL AGAVI 22:00 < impl> I don't know how to say to in German 22:00 < Wombert> xD 22:00 < _cheerios> i guess it's too late to mention Google's research into Natural Language Processing, which can make meaning out of sentences and link them to context, thus Wombert -> one of the creators of Agavi -> (we have your real name now) -> POSSIBLE TERRORIST (DANGEROUS) 22:00 < Wombert> oh maaan impl 22:01 < Wombert> you HAVE to watch that top gear episode 22:01 < Wombert> where they come to the us 22:01 < Wombert> that's so fucking awesome, really, you must watch it 22:01 < impl> o_O 22:01 < Wombert> wait I'll go find ze torrent 22:01 < Wombert> http://www.mininova.org/tor/579997 22:01 < Wombert> 700MB tho :( 22:02 < _cheerios> it must be good for you to hype it all day long 22:02 < Wombert> top gear is ze best show ever 22:03 < ttj> Or one can just /whois Wombert and figure out the realname. :P 22:19 < impl> bind(Some::ONE | Some::TWO, ...) or bind(array(Some::ONE, Some::TWO), ...) ? 22:19 < Wombert> first 22:19 < impl> mmk 22:24 < v-dogg> WE HAVE MEAT HERE 22:24 < v-dogg> IN ZE BUILDING 22:24 < v-dogg> MOOOOOORH 22:24 < v-dogg> hahaha 22:24 < v-dogg> splendid :D 22:33 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 22:35 < v-dogg> hahaha 22:35 -!- rhalff [n=rhalff@g179062.upc-g.chello.nl] has quit [] 22:46 < kaos> impl: i'd go for the second 22:46 < kaos> doesn't limit you to 32 different possibilities ;) 22:46 < impl> How many do you think IRC can possibly have? :P 22:46 < Wombert> but you couldn't do Some::ALL & ~Some::TWO 22:47 < kaos> if you get down to the individual irc messages 22:47 < kaos> way more then 32 ;) 22:47 < impl> those are checked in validate() 22:48 < impl> This is just basic socket operations 22:48 < kaos> then its like ... 4 ? :D 22:48 < impl> 5 :P 22:48 < kaos> 1. then ;) 22:48 < impl> okies 23:06 -!- splatch__ is now known as splatch` 23:08 < _cheerios> this "woman" song is quite rrrockin' 23:12 < splatch`> ble 23:12 < splatch`> work in polish are sux 23:15 < splatch`> http://www.bankier.pl/narzedzia/kalkulatory/placowy/ 23:17 < _cheerios> the more java, the more objects, the more objects the more cohesion, the more v-dogg likes! :D 23:18 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 23:21 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 23:22 < impl> kaos: Why is there a bin directory in your share directory? 23:22 < kaos> because we are one 23:22 < kaos> ZE BORG 23:22 < kaos> we share everything 23:22 < kaos> even our bin 23:23 < impl> Ookay 23:23 < impl> I'll just let that stand 23:24 < kaos> i think that quit msg is like 4 years old or so :D 23:25 < impl> haha :P 23:27 < kaos> LOL WTF 23:27 < kaos> winamp install 23:27 < kaos> wants me to reboot now 23:27 < kaos> ffs 23:27 < Wombert> winamp... 23:27 < Wombert> pkefc 23:27 < kaos> and i JUST REBOOTED ffs 23:27 < kaos> because of friggin oracle 23:27 < impl> I've taken to foobar2000 23:27 < kaos> and windows update 23:27 < _cheerios> wombert's vista joke would bite here 23:27 < kaos> foobar2000 is just soooo plain ugly 23:28 < kaos> even with all its quadzillion plugins 23:28 < impl> I mostly leave it minimized :) 23:28 < _cheerios> i need more cpu+ram for vmware, runs windows so slow while on :| 23:43 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 23:44 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] --- Day changed Tue Feb 13 2007 00:11 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)] 00:13 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 00:26 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit [".."] 00:33 -!- shoan [n=shoan@59.96.38.253] has quit [Read error: 145 (Connection timed out)] 00:51 < splatch`> Wombert! 01:03 < Wombert> yes? 01:04 < splatch`> Wombert: write mail to darek! :) 01:06 < Wombert> kazek@kazek.pl you sayß 01:06 < Wombert> ? 01:07 < Wombert> sent 01:45 < splatch`> Wombert: he got it :) 01:45 < Wombert> cool :) 01:57 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 01:59 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 02:01 -!- benny`work [n=benny@p54AC14D9.dip0.t-ipconnect.de] has left #agavi ["Leaving"] 02:08 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 02:21 -!- shoan [n=shoan@59.92.143.3] has joined #agavi 02:42 -!- shoan_ [n=shoan@59.92.143.52] has joined #agavi 02:57 -!- shoan [n=shoan@59.92.143.3] has quit [Read error: 110 (Connection timed out)] 03:03 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"] 04:13 -!- shoan [n=shoan@59.92.137.230] has joined #agavi 04:17 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 04:28 -!- shoan_ [n=shoan@59.92.143.52] has quit [Read error: 110 (Connection timed out)] 04:28 < Wombert> impl! 04:28 * Wombert pokes impl 04:28 * Wombert stabs impl 04:28 * Wombert slaps impl 04:28 < Wombert> wake up! 04:29 < impl> hwyty 04:29 < Wombert> public function getClosestMatchingLocale($identifier) 04:29 < Wombert> suxy 04:29 < Wombert> because 04:29 < impl> it's long? 04:29 < Wombert> a) LocaleIdentifier, it returns a string 04:29 < Wombert> b) sucks 04:29 < Wombert> :p 04:29 < Wombert> getClosestLocaleIdentifier() ? 04:30 < Wombert> or should we just make it getLocaleIdentifier() 04:30 < Wombert> you give it one 04:30 < Wombert> and it returns a "cleaned-up" version 04:30 < impl> wait 04:30 < Wombert> if you give it "de" and "de_DE@currency=EUR" is defined, you get back the latter 04:30 < impl> it returns a string? 04:30 < impl> ah 04:31 < impl> what class is this in? 04:31 < Wombert> TranslationManager 04:31 < Wombert> and 04:31 < Wombert> public function getLocaleFromIdentifier($identifier) 04:31 < Wombert> will be 04:31 < Wombert> getLocale() 04:31 < Wombert> :p 04:31 < impl> how about just getIdentifier()? 04:31 < Wombert> getLocale($identifier), of course 04:31 < Wombert> getCurrentLocale() will give the current instance 04:31 < Wombert> nah that's not descriptive enough IMO 04:32 < impl> getReformedMatchingNoniterativeLocaleInformationSessionIdentifier 04:32 < impl> :oD 04:32 < Wombert> are you making fun of me? 04:32 < Wombert> :p 04:32 < Wombert> and 04:32 < impl> nooo 04:32 < Wombert> DID YOU DOWNLOAD TOP GEAR 04:32 < impl> I was asleep 04:33 < Wombert> THAT IS NO EXCUSE SIR 04:33 < impl> my laptop was off :< 04:33 < Wombert> YOUR COMPUTER IS OLD ENOUGH TO DOWNLOAD ON IT'S OWN 04:33 < impl> but it might explode 04:33 < impl> It's a Dell after all 04:33 < Wombert> haha 04:34 < Wombert> apple sent me a replacement battery 04:34 < impl> Mine wasn't affected by the recall =P 04:34 < impl> I don't trust it anyway 04:34 < impl> I think getLocaleIdentifier() sounds okay 04:35 < Wombert> the problem is that people might not understand the point of it 04:35 < Wombert> "uhm I have an identifier here already, thank you very much" 04:35 < Wombert> but yes, I'll go with that 04:36 < impl> can't getLocale($identifier) call that first? 04:36 < Wombert> ah yeah it does that anway 04:36 < impl> do we even need a public getLocaleIdentifier() then? 04:37 < Wombert> yeah 04:43 -!- shoan_ [n=shoan@59.92.128.60] has joined #agavi 04:58 -!- shoan [n=shoan@59.92.137.230] has quit [Read error: 110 (Connection timed out)] 05:10 -!- shoan [n=shoan@59.92.206.99] has joined #agavi 05:17 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 05:23 < CIA-23> david * r1696 /branches/0.11/src/response/AgaviWebResponse.class.php: allow strtotime strings in WebResponse::setCookie, closes #423 05:25 -!- shoan_ [n=shoan@59.92.128.60] has quit [Read error: 110 (Connection timed out)] 06:17 < CIA-23> david * r1697 /branches/0.11/src/controller/AgaviController.class.php: removed auto-resolving of 'Index' subactions from Controller::resolveAction(), closes #424 06:33 < CIA-23> david * r1698 /branches/0.11/ (7 files in 4 dirs): new features and changed methods for translation manager and locales, closes #426 07:30 -!- Wombert [n=Wombert@dslb-088-064-080-155.pools.arcor-ip.net] has quit [] 08:01 -!- shoan_ [n=shoan@59.92.165.145] has joined #agavi 08:12 < horros> huomenta 08:12 < v-dogg> huomenta 08:12 < horros> 3y3 n33d c0ff33 08:14 < v-dogg> yes. lots of it 08:15 < horros> seven mugs of coffee coming right up! 08:16 < horros> btw, sunday's top gear... splendid! 08:16 -!- shoan [n=shoan@59.92.206.99] has quit [Read error: 110 (Connection timed out)] 08:21 < horros> and also 08:22 < horros> the appending log doohickeys should append a linebreak after the log message imho 08:22 < horros> actually 08:22 < horros> nevermind me 08:22 * horros stops opening files with notepad 08:22 < v-dogg> :p 08:24 < v-dogg> man.. I need a vacation 08:25 -!- shoan_ [n=shoan@59.92.165.145] has quit [Read error: 104 (Connection reset by peer)] 08:26 -!- shoan [n=shoan@59.96.39.17] has joined #agavi 08:29 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:42 < horros> oh smegging smeg 08:43 < horros> what the hell is wrong with this crap?! my ISP's DNS servers are up and down more than an Essex girl's knickers! 08:43 < horros> #(¤)¤%#¤% 08:50 < horros> I shall try to reboot the DSL-modem 08:55 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 08:57 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 09:12 < horros> \o/ 09:12 < horros> bitching enough paid off! 09:12 < horros> Boss just ordered me a 24mbit ADSL2+ :D 09:12 < v-dogg> and you think that actually helps with DNS problems?-) 09:13 < horros> well, it's not Elisa :) 09:13 < horros> anything not-elisa is good(tm) 09:14 < v-dogg> probably true 09:14 < horros> I've had sonera, saunalahti and dna, and they all were pretty much flawless 09:15 < v-dogg> I want to install a small fan to our server room in front of the ventilation hole in the wall 09:15 < v-dogg> but where do I get such a fan 09:15 < horros> I've had elisa here at work for about a year, and I'm just about ready to shoot mylself in the fac 09:15 < horros> e 09:15 < horros> v-dogg: Claes Olsson :) 09:15 < v-dogg> heh, I'll try that :) 09:17 < horros> fun too 09:17 < splatch`> oi! 09:17 < horros> sonera said it'll take 4-6 weeks, becase it's Elisa. 09:17 < splatch`> \o\ 09:17 < splatch`> \o/ 09:17 < splatch`> /o/ 09:18 < horros> uh oh 09:18 < horros> I'm running out of keyboard btteries! 09:21 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 09:58 < v-dogg> can someone concur that fpf's form input highlighting works with rc2? 10:04 < horros> one second 10:04 < horros> yep 10:04 < horros> works indeed 10:04 < v-dogg> yep, found the problem 10:04 < v-dogg> I was using a version just after the rc 10:05 < v-dogg> it had a bug in AgaviResponse 10:07 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:08 < RossC0> good morning! 10:08 < v-dogg> hyvää huomenta 10:08 < liutis> i can get it why i have this problem in so simple autoload config... http://pastebin.ca/353277 10:12 < v-dogg> that's a module autoload, right? 10:13 < liutis> no i placed it in app/config/autoload.xml 10:13 < v-dogg> ERROR: Configuration file "/home/ccc/public_html/www.ene.lt/app/modules/Slotai/config/autoload.xml" specifies class... 10:13 < v-dogg> are you looking at the wrong autoload.xml? 10:14 < liutis> include paths of this class files are different 10:14 < liutis> wey must be the same 10:15 < liutis> first is included second is searching deeper 10:15 < v-dogg> but the file you have pasted there is in app/config/autoload.xml and the error comes from app/modules/Slotai/config/autoload.xml 10:16 < liutis> e 10:17 < liutis> yeh missed this, that autoload file was created by ./agavi.sh, thanx 10:18 < liutis> stupid ,mistake :) 10:25 < horros> oh crap :( 10:25 < horros> BUILD FAILED 10:25 < horros> exception 'BuildException' with message 'Error reading project file [wrapped: /usr/local/nappula/trunk/update/install/Update-201_203/build/build.xml:17:190: > required]' in /usr/local/lib/php/phing/parser/ProjectConfigurator.php:95 10:26 < horros> I don't get it :I 10:30 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 10:30 < _cheerios> morning 10:37 < horros> the above would mean something's pooped on line 17, char 190, yes? 10:38 < _cheerios> i found a finnish video blog. O M G :D 10:38 < horros> problem is, I only have bloodt 105 chars on the line 10:38 < horros> what the smeg is going on here? 10:39 -!- raidman_ [n=raidman@unaffiliated/raidman] has joined #agavi 10:39 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 10:40 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 10:41 < ttj> Yeargh, the update to RC2 broke a bunch of config files. :-( 10:41 < horros> where's shoan when you'd need him? 10:44 < ttj> Whoa, what's this new layer-thinking in views? 10:44 < v-dogg> it's like an onion 10:44 < v-dogg> first it makes you cry 10:44 < ttj> Yeah, I was just going to say. :P 10:44 < v-dogg> but it's actually quite nice 10:45 < horros> hahaha 10:45 < horros> v-dogg++ 10:45 < ttj> So, umm... Is there a migration guide for changing the template stuff into this layer stuff? 10:47 < v-dogg> not really, just a few mails wombie wrote : http://groups.google.com/group/agavi-users 10:47 < v-dogg> Advanced Layout/Layers.... 10:50 < ttj> Fsck, this totally borked everything. 10:51 < horros> wtf 10:52 < horros> exception 'BuildException' with message 'UnknownElement::addChild() method MUST use a class hint to indicate the class type of parameter.' in /usr/local/lib/php/phing/IntrospectionHelper.php:259 10:52 * horros cries 10:56 < ttj> Hmm... Have to follow you guys a bit closer. :P 11:00 -!- raidman__ [n=raidman@62.60.194.3] has joined #agavi 11:00 -!- raidman_ [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 11:09 < v-dogg> what the fuck is going on with PDO 11:11 < RossC0> woot extended formPopulationValidator to do inline errors :) 11:11 < v-dogg> heh 11:12 < horros> what the smeg? 11:12 < horros> [exec] psql:build/201_203.sql:158: ERROR: syntax error at or near "CREATE" at character 1 11:12 < horros> what the hell is that junk there?! 11:15 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:15 -!- raidman__ [n=raidman@62.60.194.3] has quit [Read error: 104 (Connection reset by peer)] 11:31 < horros> hmm, I need to hire a code monkey 11:31 < horros> preferably one that knows agavi and works for no monies at all 11:31 < horros> :) 11:32 < horros> smeggin 'ell, looks like my update phing doohickey worked! 11:47 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 12:12 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 12:12 < Xylakant> hi 12:29 -!- digitarald [n=Miranda@224.Red-83-55-28.dynamicIP.rima-tde.net] has joined #agavi 12:36 < RossC0> anyway to get a class into the stack so that its autoloaded on each instance? 12:45 < digitarald> yes 12:45 < digitarald> do u mean something like putting it in compile.xml? 12:45 < RossC0> ah - explain :) 12:46 < RossC0> whats it do?? 12:47 < digitarald> u dont want it in autoload because u need it on every request 12:48 < RossC0> ok - got an example of using compile.xml? 12:50 < digitarald> the original one from agavi src 12:50 -!- shoan_ [n=shoan@59.92.159.220] has joined #agavi 12:51 < RossC0> ah ok :) 12:52 < digitarald> the files from compile.xml are compiled into cache 12:52 < digitarald> "compiled" ... one file holds all classes 12:53 < digitarald> w/o leading spaces and docs 12:54 < ttj> Hmm... 12:54 < ttj> Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 9 in /usr/share/pear/agavi/view/AgaviTemplateLayer.class.php on line 78 12:55 < ttj> RC2. 12:55 < RossC0> cheers digitarald 12:57 -!- shoan__ [n=shoan@59.92.181.33] has joined #agavi 13:05 -!- shoan [n=shoan@59.96.39.17] has quit [Read error: 110 (Connection timed out)] 13:08 < ttj> Hmm... Any idea what's happening with that warning? 13:10 -!- shoan_ [n=shoan@59.92.159.220] has quit [Read error: 110 (Connection timed out)] 13:12 < Xylakant> what php version are you using ttj? 13:12 < ttj> 5.1.4 13:13 < ttj> Has the behaviour of the function changed drastically since? 13:14 < ttj> Or what's the current "recommended" version of running Agavi on? 13:14 < Xylakant> hmm. the regexp uses unicode properties 13:14 < Xylakant> given the latest security fixes i would not recommend running anything other than php 5.2.1 on any production server 13:14 < Xylakant> maybe an older version with additional hardening 13:15 < Xylakant> but unicode properties should be supported since 5.1.0 13:15 < ttj> So... How do I go about this problem? Any suggestions? :-) 13:15 < Xylakant> so this should not be the problem 13:16 < Xylakant> what operating system are you on? 13:17 < ttj> A variant of RHEL. 13:17 < Xylakant> and you're using binary packages or did you compile php yourself? 13:17 < ttj> Compiled by hand. 13:19 < Xylakant> 6. The Perl escape sequences \p, \P, and \X are supported only if PCRE is built with Unicode character property support. The properties that can be tested with \p and \P are limited to the general category properties such as Lu and Nd. 13:20 < Xylakant> i don't know but probably your PCRE lib was not compiled with UTF8 support 13:20 < _cheerios> is there an etch repo that packages php, like dotdeb did for sarge? 13:20 < ttj> Hmm... 13:20 < Xylakant> make that a "maybe" instead of "probably" 13:21 < ttj> This is turning out to be one shitty day. :-) 13:21 < Xylakant> this might be of interest: http://www.ugcs.caltech.edu/manuals/libs/pcre-6.4/pcrebuild.html#SEC4 13:21 < ttj> Thanks. 13:22 < ttj> Although I wouldn't really want to go about compiling PCRE since it's deployed from RPMs... :-( 13:23 < Xylakant> but maybe there is a way to check how it was compiled 13:23 < RossC0> quick question - how'd I redirect to another action? i.e. after login 13:24 < v-dogg> return $this->container->createExecutionContainer(module, action); 13:24 < RossC0> does that do a http redirect? 13:24 < v-dogg> ah, wait 13:24 < v-dogg> no, that's a forward 13:25 < v-dogg> $this->getResponse()->setRedirect($url); 13:25 < RossC0> ah champion! 13:27 -!- shoan [n=shoan@59.96.38.142] has joined #agavi 13:33 -!- shoan_ [n=shoan@59.92.147.102] has joined #agavi 13:38 < RossC0> setRedirect is very slow.. - which is wierd 13:39 < v-dogg> oh 13:39 -!- shoan__ [n=shoan@59.92.181.33] has quit [Read error: 110 (Connection timed out)] 13:39 < v-dogg> measured with what? 13:42 < RossC0> hm - might be me.. 13:42 < RossC0> any idea how to get the default module name ? So I can generate a route? 13:44 < v-dogg> AgaviConfig::get('actions.default_module'); 13:44 < v-dogg> but to generate a route? 13:44 < v-dogg> with routing? 13:45 < RossC0> ie: 13:45 < RossC0> $url = $this->getContext()->getRouting()->gen(AgaviConfig::get('actions.default_module')); 13:45 < RossC0> $this->getResponse()->setRedirect($url); 13:46 < v-dogg> you have a route named "MyDefaultModuleName" ? 13:47 < v-dogg> ah 13:47 < RossC0> :-) 13:47 * RossC0 slaps himself with a wet trout 13:47 < v-dogg> 13:47 < v-dogg> and $ro->gen('index'); 13:49 -!- shoan__ [n=shoan@59.92.169.98] has joined #agavi 13:50 < RossC0> cool - all redirecting but its quite slow.. 13:50 -!- shoan [n=shoan@59.96.38.142] has quit [Read error: 110 (Connection timed out)] 13:50 < RossC0> compared to loading the default page directly 13:50 < v-dogg> what exactly is slow? can you figure out? 13:50 < RossC0> yup 13:53 < _cheerios> is firefox2 a p.o.s ? 13:53 < v-dogg> redirecting action of course does all the samethings as a normal action but doesn't render anything 13:53 < _cheerios> seems buggier than 1.5 13:54 < v-dogg> _cheerios: a linux-using friend of mine said the same 13:54 < v-dogg> I've had no problems with it on winxp 13:54 < horros> it's funny how FPF is more anal than the w3 validator :D 13:54 < horros> my page validated fine as XHTML 1.0 strict 13:54 < horros> but FPF yelled at me for having used   13:54 < v-dogg> wombies likes anal 13:54 < horros> :) 13:55 * v-dogg is being dirty 13:55 < _cheerios> well, i have ff rendering an effing webpage for 1-2 minutes 13:55 < _cheerios> when konqueror does it in 1sec 13:55 < _cheerios> and it's due me including another file in agavi template that ads more html to the page... 13:56 < v-dogg> pkefc, would someone say 13:56 -!- shoan [n=shoan@59.92.171.128] has joined #agavi 13:56 -!- shoan_ [n=shoan@59.92.147.102] has quit [Read error: 110 (Connection timed out)] 13:56 < v-dogg> you do know what it means, don't you _cheerios?-) 13:56 < RossC0> hmm - setRedirect is slow 13:57 < horros> v-dogg: others would of course say "EVO" 13:57 < _cheerios> that ff is shit 13:57 < horros> :) 13:57 < v-dogg> RossC0: setRedirect itself? or something else in you action? 13:57 < RossC0> it takes over 4 seconds to do a redirect - ah header(location: blah); exit; takes under 1 second 13:57 < v-dogg> woot? 13:58 < v-dogg> I use it extensively and never had any problems 13:58 < _cheerios> ive done redirects before, never noticed it being that slow 13:58 < RossC0> so its setRedirect or where / when it gets called - I don't output anything... 13:58 < v-dogg> RossC0: and you action doesn't do anything? 13:58 < v-dogg> your* 13:59 < RossC0> yeah to the action logins in a user 13:59 < v-dogg> something weird going on there 13:59 < _cheerios> remember to place a return; after your redirect method 13:59 < v-dogg> there's no way in hell a normal redirect would take any longer than a normal action 14:00 < _cheerios> $this->getResponse()->setRedirect($url); 14:00 < _cheerios> return; 14:00 < _cheerios> i use that myself 14:00 < v-dogg> you also need to clearLayers if you have loaded them 14:02 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 14:04 < RossC0> cool! it was the return; ?? 14:05 < RossC0> ah hmm 14:05 -!- shoan_ [n=shoan@59.92.194.22] has joined #agavi 14:06 < v-dogg> it still shouldn't take 4 secs! 14:06 < RossC0> ah I lied 14:06 < RossC0> I was still using header.. 14:06 < RossC0> ok layers 14:06 < RossC0> might / must be that .. 14:07 < _cheerios> redirect needs to call $agavi->shutdown clearly ;) 14:08 < RossC0> hurrah - it was the clearLayers 14:09 < RossC0> thanks guys :> 14:10 < RossC0> \o/ \o_ \o/ _o/ 14:10 < RossC0> all working nicely :-) 14:11 -!- shoan__ [n=shoan@59.92.169.98] has quit [Read error: 110 (Connection timed out)] 14:16 -!- shoan__ [n=shoan@59.92.181.53] has joined #agavi 14:16 < v-dogg> we aim to please 14:18 -!- shoan [n=shoan@59.92.171.128] has quit [Read error: 110 (Connection timed out)] 14:18 < _cheerios> who came up with this shit php coding style of deep includes, and 1000 line long pages with functions mixed together with sql with everything else calling templates calling global vars etc. 14:22 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 14:22 < Xylakant> i know some people who might have the brains for that 14:23 -!- Wombert [n=Wombert@dslb-088-064-080-155.pools.arcor-ip.net] has joined #agavi 14:27 < _cheerios> why are all the applying interns chinese.. gah 14:28 < _cheerios> it would be nice to have co-workers you can talk with beyond mime-language 14:28 < _cheerios> (chinese nerds atleast in this part of the region speak shit english) 14:29 -!- shoan_ [n=shoan@59.92.194.22] has quit [Read error: 110 (Connection timed out)] 14:29 < ttj> Ok, now it works. 14:30 < ttj> Just noticed that PHP does in fact ship with PCRE code and I, for some interesting reason, had decided to explicitly link PHP to use the older version of PCRE. 14:30 -!- shoan [n=shoan@59.92.204.151] has joined #agavi 14:30 < ttj> Now all I need is the "Ass" hat and I'll go in the corner for the rest of the day. :P 14:31 < Xylakant> well, at least your problem is solved ;) 14:31 < _cheerios> now that you know the problem, weed it out, heh heh 14:35 < Wombert> Xylakant: you can now nest tags 14:35 < Wombert> and then put only into these 14:35 < Wombert> etc 14:36 < Xylakant> fine 14:36 < Wombert> everyone else: you can now do $res->setCookie('name', 'value', '+1 year'); 14:36 < Wombert> or $res->setCookie('name', 'value', 'July 4 2007'); 14:36 -!- shoan__ [n=shoan@59.92.181.53] has quit [Read error: 110 (Connection timed out)] 14:36 < Wombert> strtorime() 14:36 < RossC0> ttj man! I feel for you ! 14:42 -!- shoan_ [n=shoan@59.92.193.2] has joined #agavi 14:48 < Xylakant> Wombert: that looks pretty straightforward 14:56 -!- shoan__ [n=shoan@59.92.222.225] has joined #agavi 14:57 -!- shoan [n=shoan@59.92.204.151] has quit [Read error: 110 (Connection timed out)] 15:03 < digitarald> sorry, can't hold it ... 15:03 < digitarald> $res->giveCookie('me', '3, Chocolate Taste', 'My Birthday'); 15:03 -!- shoan_ [n=shoan@59.92.193.2] has quit [Read error: 110 (Connection timed out)] 15:05 < v-dogg> HAAAAPPY BIRTHDAY TOOO YOOUUUU 15:05 < v-dogg> and so on :) 15:07 -!- MikeSeth [n=mst@192.115.27.162] has joined #agavi 15:07 < digitarald> :D 15:07 < digitarald> and in finnish? 15:07 < v-dogg> PALJOON ONNEAA VAAAN 15:08 < MikeSeth> HAY GUYS 15:10 -!- shoan [n=shoan@59.92.200.171] has joined #agavi 15:15 -!- shoan__ [n=shoan@59.92.222.225] has quit [Read error: 110 (Connection timed out)] 15:16 -!- MikeSeth [n=mst@192.115.27.162] has quit [Client Quit] 15:28 < _cheerios> :) 15:30 -!- shoan_ [n=shoan@59.96.34.210] has joined #agavi 15:32 -!- shoan [n=shoan@59.92.200.171] has quit [Read error: 110 (Connection timed out)] 16:03 -!- MikeSeth [n=mst@192.115.27.162] has joined #agavi 16:03 < MikeSeth> so, anything I can read on validation 16:04 < digitarald> mh ... the docbook 16:04 < v-dogg> Xylakant: you wrote something about validators, right? 16:04 < v-dogg> could we perhaps see it? even if it just a draft 16:05 < v-dogg> erm... except if it's in German :) 16:05 < _cheerios> lol 16:05 < digitarald> its in a ticket 16:06 < _cheerios> hehe.. the chinese guy that applied was a 1st year student with HIGH KNOWLEDGE OF HTML... that's it. 16:07 < Wombert> _cheerios: interns are supposed to learn 16:07 < digitarald> great ... we have better applications here :D 16:07 < _cheerios> they can learn elsewhere, heh heh 16:07 < Wombert> not be ripped off by asshole companies that use them as full-time workers 16:08 < horros> WHAT THE SMEG)(")#¤("% 16:08 < _cheerios> wombert have bad memories? :) 16:08 < horros> Warning: require_once(nappula/om/BaseNappulaUserPeer.php) [function.require-once]: failed to open stream: No such file or directory in C:\Projects\ny\lib\propel_classes\nappula\NappulaUserPeer.php on line 4 16:08 < Wombert> _cheerios: no 16:08 < horros> it bloody does exist! 16:08 < Wombert> horros: wrong include path 16:08 < v-dogg> my guess too 16:09 < v-dogg> but homehomehomehomehome 16:09 < Wombert> waitwaitwait v-dogg 16:09 < horros> Wombert: I see the include path here 16:09 < v-dogg> woooooooooooooot 16:09 < v-dogg> hurryhurryhurry 16:09 < Xylakant> v-dogg: it's in english 16:09 < Wombert> http://trac.agavi.org/ticket/425 feedback folks 16:09 < Wombert> v-dogg, Xylakant, digitarald, horros, _cheerios 16:09 < horros> Wombert: I copy+pasted the correct part of the include path, pasted nappula/om/blahblah after it and did ls -l 16:09 < Xylakant> it got outdated a bit by the latest changes 16:09 < horros> I can bloody see the file :( 16:10 < v-dogg> Xylakant: yep, found the ticket + attachement 16:10 < Wombert> I think dominik already worked on merging that into the manual 16:10 < v-dogg> Wombert: 425 is fine by me 16:11 < v-dogg> now can I go? 16:11 < Wombert> well yes but ze session cookie is ze problem 16:11 < v-dogg> plz 16:11 < Wombert> okay 16:11 < Wombert> :p 16:11 < v-dogg> thanks buddy :) 16:11 < v-dogg> later 16:11 < Xylakant> Wombert: i think that should be all or nothing. 16:12 < Wombert> Xylakant: me too 16:12 < Wombert> but 16:12 < Wombert> by the time the session storage starts up 16:12 < Wombert> I don't have the routing yet :p 16:13 < Xylakant> you could add a confg parameter to the session storage 16:13 < Xylakant> or a global config 16:13 < Xylakant> that way, it would not be automagic, but at least consistent 16:13 < Wombert> doesn't help, I still cannot read the base path at that point 16:13 < Wombert> ah you mean so people can define it by hand 16:13 < Xylakant> yes 16:13 < Wombert> that's already possible, but come on, that sucks :p 16:13 < Xylakant> it's fine with me 16:14 < Xylakant> better than a solution that places one cookie in one place, and all others in another 16:14 < Wombert> my idea was that all these classes (routing, request, storage etc) get an onDispatch() callback 16:14 < Wombert> or so 16:15 < Wombert> but that sucks, too 16:16 < Xylakant> but that would not change the session cookie problem, would it? 16:17 < Wombert> it would, I'd send the session cookie in that callback 16:18 < _cheerios> *dies bit by bit converting someones old code* 16:18 < digitarald> 425 is ok with me 16:18 < Wombert> I also thought about sending the session cookie in the response 16:18 < Wombert> hmmmmm 16:18 -!- liutis [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."] 16:19 < RossC0> agreed on 425 16:20 < RossC0> with 425 16:20 < MikeSeth> my blonde friend crashed the australian stock exchange 16:21 < Wombert> woot? :p 16:21 < MikeSeth> yes. 16:21 < MikeSeth> their noc ops moved the live system to the production boxes and took the main servers for maintenance 16:21 < MikeSeth> killed the reporting system while at it 16:22 < MikeSeth> someone calls my friend and goes like 'um er.. why i cant get reports' 16:22 < MikeSeth> s/production/test/ 16:22 < MikeSeth> so she went and turned on the main boxen 16:22 < MikeSeth> cuz the stupid noc monkeys left the door open or smth 16:23 < MikeSeth> and when main boxen went up the test network got derouted 16:23 < MikeSeth> and then the main boxen crashed 16:23 < MikeSeth> and chaos ensued 16:23 < MikeSeth> millions of $$$ damages 16:24 < Wombert> no shit? 16:24 < Wombert> did that just happen this morning or what 16:24 < MikeSeth> no idea 16:24 < MikeSeth> she told me a couple of hours ago.. 16:25 < MikeSeth> um errrrr 16:25 < MikeSeth> im so stupid 16:25 < MikeSeth> can anyone please cut the above thing from public logs? 16:25 < Wombert> uuuhm 16:25 < Wombert> gotta ask ttj :p 16:25 < MikeSeth> tits 16:25 < Wombert> hahaha 16:32 < CIA-23> david * r1699 /branches/0.11/src/ (6 files in 4 dirs): cleaned up AgaviArrayPathDefinition method names 16:34 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:36 < MikeSeth> what the fuck 16:36 < MikeSeth> hmmm 16:37 < MikeSeth> when I want to forward to another action, what do I do with the container I created for it? 16:37 < _cheerios> *me weeps at new batch of possible interns* 16:37 < MikeSeth> ah screw it I can use redirect 16:38 < digitarald> return it from view 16:38 < Wombert> yup 16:38 < Wombert> but in 99.5% of cases, redirect is better 16:38 < Wombert> prevents post warning on reload, plus gives the user the url to the new resource 16:39 < MikeSeth> makes sense 16:39 < Wombert> if you want to forward... 16:39 < Wombert> return $this->createForwardContainer('Module'; 'Action'); 16:39 < _cheerios> i had a version up for a few days that used ajax sloppy and didnt change urls... i dont recommend it, when ppl starting copying the urls they use :) 16:41 < MikeSeth> this kicks so much ass 16:42 < Wombert> what 16:42 < Wombert> the porn site? 16:42 < Wombert> I want a lifetime all-access pass 16:42 < Wombert> unless it's japanese 16:42 < Wombert> :D 16:42 < Wombert> or man love 16:43 < digitarald> or bdsm 16:43 < MikeSeth> if I ever make a paysite, you'll be the first to get a free vip pass 16:43 < Wombert> is it a tgp? 16:43 < digitarald> i already made such pay sites, a brokertool for payed content ... who want free pass? 16:44 < MikeSeth> no, there is no such thing as a paid tgp 16:45 < MikeSeth> digitarald, unless those are your own ones, you prolly shouldn't.. otherwise we may talk business 16:45 < Wombert> do I have to understand this stuff? :l 16:45 < Wombert> :p 16:46 < MikeSeth> for business? 16:46 < MikeSeth> yeah 16:46 < digitarald> tgp ... Terrorist Group Profile? 16:46 < MikeSeth> no, thumbnail site 16:46 < digitarald> pr0n for business people ... 16:46 < Wombert> are they called tgp? 16:46 < MikeSeth> like thehun.net 16:46 < Wombert> these thumbnail pages 16:46 < MikeSeth> yeah 16:46 < digitarald> web 2.0 ... social pr0n 16:46 < MikeSeth> thehun is a tgp 16:46 < MikeSeth> a tgp lives off traffic generated by content posted by others 16:47 < MikeSeth> its quite a symbiotic phenomenon 16:48 < Wombert> I thought they link to paid sites and get cash from the (possible) referral 16:48 < MikeSeth> they do\ 16:48 < MikeSeth> but the visitors never pay them, thus they are not paysites 16:48 < Wombert> okay but 16:48 < Wombert> if you don't make a tgp 16:48 < Wombert> and not a paysite either 16:48 < Wombert> what are you doing then 16:48 < Wombert> :p 16:49 < Wombert> FREE PORN? 16:49 < Wombert> :> 16:49 -!- Arme[N] is now known as Arme[0] 16:49 < MikeSeth> Wombert, there are other forms of promotion sites than tgp 16:50 < MikeSeth> there are link dumps, FFAs, blogs, mgps, mixed-style, freesites, freehosts, etc 16:50 < Wombert> now that sounds like rocket science 16:50 < Wombert> link dump? 16:51 < MikeSeth> yeah 16:51 < MikeSeth> like phatforums 16:51 < Wombert> a tgp without images 16:51 < Wombert> what is a phatforum 16:51 < Wombert> mmh I should surf more porn 16:51 < MikeSeth> google for phatforums 16:52 < MikeSeth> that's a link dump 16:52 < MikeSeth> and no, its not the same as tgp. tgp content is strictly controlled by its owner 16:52 < MikeSeth> there are often conditions imposed for posting on tgp [by other people] 16:53 < Wombert> so a phatforum is user generated content 16:53 < MikeSeth> tgp without control = FFA 16:53 < MikeSeth> yeah 16:53 < Wombert> on a tgp withotu control 16:53 < Wombert> do people link to... what 16:53 < MikeSeth> to any kind of porn 16:53 < Wombert> yes but 16:53 < MikeSeth> tgps live off what's called skimming 16:53 < Wombert> still preview sites with referrers? 16:53 < MikeSeth> maybe, maybe not 16:54 < digitarald> we have ze p0rn experts here 16:54 < _cheerios> circle jerking is evil, evil 16:54 < Wombert> and what's skimming 16:54 < Wombert> you guys suck! knowing this stuff might save your life one day 16:55 < Wombert> or be the final question at Who Wants To Be A Millionaire 16:55 < MikeSeth> skimming is basically when Jane posts a gallery on John's tgp, and X% of the traffic that lands there doesnt go to Jane's links but to John's instead 16:55 < v-dogg> no, actually you just go blind 16:55 < Wombert> MikeSeth: uh wtf 16:55 < MikeSeth> Wombert, it makes sense 16:56 < Wombert> nah I didn't get it 16:56 < MikeSeth> its specialization 16:56 < Wombert> so there's a thumb on the tgp 16:56 < MikeSeth> tgp owners provide the platform 16:56 < Wombert> that links to jane's gallery? 16:56 < MikeSeth> tgp posters provide the content 16:56 < Wombert> and then every second hit doesn't go to jane's gallery, but to one of joe's links? 16:56 < MikeSeth> something of the sort depending on the implementation, its how the posters pay the owners 16:56 < Wombert> so the tgp guys don't life off referrals? 16:57 < MikeSeth> they do, off their own ones 16:57 < Wombert> they get _paid_ for links to the gallery? 16:57 < MikeSeth> they get paid with TRAFFIC 16:57 < MikeSeth> traffic is money 16:57 < MikeSeth> depending on how good you are, you may or may not be able to convert it into real money 16:57 < Wombert> I never realized porn could be that complicated 16:57 < _cheerios> while() generateLinks(); profit! :D lol 16:57 < Wombert> I gotta fire up a tgp now and check that out 16:57 < Wombert> query 16:58 < MikeSeth> its more complicated than you imagine. hundreds of sites live off a single paysite.. and that paysite provides them with all the content they need for free AND pays them for the signups 16:58 < Wombert> wtdf 16:58 < Wombert> -d 16:58 < MikeSeth> being able to run your own program (= filming your own porn) is very lucrative business 16:58 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 16:59 < _cheerios> are the most succesful tgps those that have the most massive botnets gone undetected? 16:59 < MrJeep> morning 16:59 < MikeSeth> _cheerios, botnets are worthless, they do not generate signups and retention 17:00 < Wombert> hi MrJeep 17:00 < MrJeep> how are you wombert ? 17:00 < Wombert> we're talking about porn sites and how they make money right now, MrJeep, don't be scared :D 17:00 < MrJeep> me not scared, me interested :) 17:00 < _cheerios> it does generate traffic where needed 17:00 < MikeSeth> _cheerios, but traffic that doesnt convert is worthless 17:01 * Wombert pokes MikeSeth 17:01 < Wombert> talk to me! 17:01 < Wombert> you're not authed btw 17:07 < Wombert> http://www.autoblog.com/2007/02/13/new-x5-scores-good-rating-in-iihs-testing/ wow the new X5 does NOT look totally hopeless. I'm impressed 17:08 < MrJeep> speaking of cars 17:08 < MrJeep> mine didn't start this morning grrr 17:08 < MrJeep> it -28C or something here 17:08 < MrJeep> looks the battery still good, but.. well, those shit happens when you ride a 380 000 KM car 17:09 < Wombert> whoa 17:09 < Wombert> what is it? 17:09 < Xylakant> ups. i'll stop complaining about the weather... 17:09 < MrJeep> Acura Legend 17:09 < Wombert> with 380k km? 17:09 < Wombert> wow 17:09 < MrJeep> actually, it runs impressvely well 17:09 < MrJeep> when it _does_ start 17:09 < Xylakant> last winter, mine stopped working on the autobahn. fuel frozen... 17:09 < Wombert> Xylakant: woot? 17:10 < MrJeep> arg, i think this might me the issue too 17:10 < MrJeep> be* 17:10 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"] 17:12 < MrJeep> btw, I'll be paid for some job (used agavi) pretty soon ... 100$ donation 17:12 < MrJeep> the geomatic project is almost finished 17:14 < RossC0> anybody any good at xpath? 17:15 < MikeSeth> no but zvon.org tutorials are helpful 17:16 < Wombert> yep they are 17:17 < Wombert> what do you need, RossC0 17:18 < RossC0> http://pastie.caboo.se/39991 17:19 < RossC0> from an input I want to be able to reference the previous
17:19 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 17:19 < Wombert> there are axes for that I think 17:19 < Wombert> lemme check 17:19 < RossC0> nearly have the inline messages sorted - with custom xpaths 17:20 < Wombert> ah yeah 17:20 < RossC0> all works apart from my xpaths :) 17:20 < Wombert> try 17:20 < Wombert> hmm 17:20 < Wombert> there's preceding_sibling:: 17:21 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 17:21 < Wombert> try 17:21 < Wombert> preceding::dt[0] 17:21 < Wombert> or so 17:21 < Wombert> http://www.zvon.org/xxl/XPathTutorial/General/examples.html number 21 17:22 < Wombert> or maybe ancestor::dd[0]/preceding:dt[0] 17:23 < Wombert> or 17:23 < Wombert> hmm 17:23 < Wombert> ancestor::dd[0]/preceding-sibling:dt[0] 17:45 < RossC0> man that should work ! 17:49 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 17:49 < GMFlash> hola 17:53 < RossC0> xpath sucks 18:00 < GMFlash> never used it 18:01 < RossC0> man ../ works ../.. works ../preceding-sibling::dt -doesnt catch any elements 18:03 < GMFlash> don't you need to separate the ..'s with a /? 18:03 < GMFlash> man/../works/../../works/../preceding-sibling::dt 18:05 < RossC0> "../" works "../.." also works .. 18:05 < GMFlash> oh okay 18:05 < GMFlash> i thought you were doing a long expression 18:06 < GMFlash> well without knowing what the document looks like its hard to offer advice 18:06 < GMFlash> that and i never used xpath before, but it seems pretty common sense 18:06 < GMFlash> not too much different than using js to traverse the dom 18:06 < RossC0> wierdly "parent::node/parent::node" isn't working 18:07 < RossC0> ah its parent::node() 18:08 < RossC0> few thought axes were borked totally 18:14 < Wombert> RossC0: or ancestor::blah 18:15 < Wombert> ancestor::dd[0]/preceding-sibling:dt[0] 18:15 < Wombert> should do the job 18:16 < RossC0> I know its not picking up any elements with the context being the input element itself 18:16 < RossC0> driving me mad! 18:18 < RossC0> now get: Undefined namespace prefix 18:19 < RossC0> ah because ancestor::dd[0] doesnt return any elements 18:20 < RossC0> and the page is xhtml valid 18:20 -!- benny`work [n=benny@p54AC06B1.dip0.t-ipconnect.de] has joined #agavi 18:44 < Wombert> wahaha 18:44 < Wombert> man someone please smack me 18:45 < Wombert> I can just set a cookie on the global response in storage::startup and the problem is gone 18:45 < Wombert> wohooo 18:47 < GMFlash> reinstalling windows xp for someone... automatic update kicks in, 64 updates need to be download and applied 18:47 < GMFlash> gonna be a while 18:47 < Wombert> GMFlash: http://tinyurl.com/pkefc 18:47 < Wombert> :>>> 18:48 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Nick collision from services.] 18:48 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 18:49 < GMFlash> thats not going to help much, it isnt my computer 18:49 < Wombert> tell him "I can't fix it. Buy a mac" :) 18:49 < GMFlash> thats not going to help much, it isnt my computer 18:49 < GMFlash> i'm in the market for a mac though depending on how leopard turns out 18:49 < Wombert> I told many friends to buy a mac lately and a lot of them did, and guess what, my phone rings a lot less often since 18:50 < Wombert> plus they're all like "man this is so easy I get along just fine, nothing is complicated or confusing" 18:50 < Wombert> like... printer? plug in, works, not even a ding-dong confirmation sound 18:50 < Xylakant> oh 18:51 < GMFlash> its a dual core p4, 1gig ram, dual 230gig hard drives, dvd+-rw, 19" lcd with xp media center... how realistic would it be for me to say "uhh yeah ignore that computer you just got and buy another one", while you're at it buy all new software too 18:51 < Wombert> I plugged my computer back in the other day to watch tv 18:51 < Xylakant> Wombert: i never got my printer working over network 18:51 < Wombert> and I, wohoo, put the mouse into the wrong usb port 18:51 < Wombert> so it wanted to isntall drivers 18:51 < Xylakant> there are no drivers.. 18:51 < Wombert> sadly, I hadn't plugged in the keyboard 18:51 < RossC0> Xylakant: Cups ? 18:51 < Wombert> (windows) 18:52 < GMFlash> i've never had to install drivers for a usb mouse in xp, it supports them out of the box 18:52 < Wombert> now i couldn't click the "no I don't want you to seach the internet for drivers it's just a friggen mouse thank you very much" dialog away 18:52 < Xylakant> RossC0: no luck. at least at the time i trief 18:52 < Xylakant> tried 18:52 < Wombert> GMFlash: it always installs new drivers if you put it into a different port 18:53 < GMFlash> let me check, i have a box sitting right here with a usb mouse 18:53 < Wombert> for whatever reason 18:53 < Xylakant> i just gave in and connected it directly. no more network printing for my roommates 18:53 < Wombert> plug it into anotherusb port, it will say "new hardware found" 18:53 < GMFlash> ok 18:53 < GMFlash> i unplugged it 18:53 < GMFlash> plugged it into a different port 18:53 < GMFlash> no prompt to install drivers 18:53 < GMFlash> mouse just worked 18:53 < Wombert> YES! 18:53 < Wombert> man 18:53 < Wombert> ... 18:53 < GMFlash> pwnt :) 18:53 < Wombert> I got the dialog for windows update drivers blah so it wouldn't continue without my interaction 18:54 < Wombert> after that, it would have installed it's own generic driver 18:54 < Wombert> so what did I do... 18:54 < GMFlash> what kind of mouse is it? 18:54 < Wombert> mmmh maybe plug in the keyboard and press return 18:54 < Wombert> GMFlash: that doesn't matter 18:54 < kaos> its not a ms mouse :p 18:54 < Wombert> it doesn't need special drivers 18:54 < Wombert> windows _always_ installs drivers for mice, generic ones, but it does that 18:55 < GMFlash> yeah, i'm using the generic drivers 18:55 < Wombert> and it installs new drivers for devices each time you change the usb port (once, of course, not _every_ time) 18:55 < Wombert> yes I'm using them too 18:55 < GMFlash> same principle as usb key drives, you install them once, and you can plug them into any port, doesn't prompt to reinstall 18:55 < Wombert> but they wouldn't install before I told windows whether or not to try and grab newer drivers from the net 18:55 < GMFlash> there's nothing about usb that ties a device to a port 18:55 < Wombert> no, that's wrong 18:55 < GMFlash> so your installation must be borked 18:55 < Wombert> it's always been like that in windows 18:55 < Wombert> no 18:55 < Wombert> nonsense 18:55 < Wombert> every computer I had with every windows I had behaved like that 18:56 < GMFlash> well i just proved your theory wrong when i plugged the mouse into a different port 18:56 < Wombert> anyway, the keyboard wouldn't work either, just "ding dong"; but not responding 18:56 < Wombert> a reboot didn't help either 18:56 < kaos> then try something which requires a driver 18:56 < Wombert> so I had to crawl under the friggen dek and swap the plugs 18:56 < Wombert> then boot again 18:56 < Wombert> so I missed the first six minutes of 24 18:56 < GMFlash> once you install a driver for a device, its in the system for good until you uninstall the device 18:57 < Wombert> YES 18:57 < Wombert> but 18:57 < Wombert> if you plug it into a different socket 18:57 < Wombert> it will re-install the device drivers 18:57 < Wombert> trust me 18:57 < GMFlash> and i'm telling you i just did that 18:57 < Wombert> I didn't have to _install_ new drivers 18:57 < GMFlash> and it didn't reinstall 18:57 < Wombert> YES 18:57 < Wombert> BUT 18:57 < GMFlash> it didnt even pop up "detecting new hardware" 18:57 < Wombert> windows asked me if I wanted to _update_ my drivers 18:57 < Wombert> well then you had your mouse plugged into that port before maybe 18:57 < GMFlash> nope 18:57 < GMFlash> its a brand new install 18:58 < GMFlash> i literally just installed it 20 mins ago 18:59 < Wombert> then you're lucky 18:59 < GMFlash> in my opinion there are other forces at work 18:59 < Wombert> you're the first person I know who doesn't have that problem 18:59 < Wombert> no, certainly not 18:59 < GMFlash> perhaps different chipsets / boards handle it differently 18:59 < Wombert> kaos can confirm that it's the same with his computer 18:59 < Wombert> yeah maybe 18:59 < GMFlash> well let me try with my main pc, 1 sec 18:59 < Wombert> it _might_ not happen if you re-plug the device at runtime 19:00 < kaos> well, for the old xbox controller it does 19:00 < Wombert> it definitely happens if you boot up and the device is in a different port than last time 19:00 < kaos> everytime 19:00 < Wombert> I've had it numerous times that I had to wait for the mouse to start working because windows had yet to intsall the drivers 19:00 < GMFlash> okay, i moved my mouse to a different port, never used this port before... i'm going to restart and see what it does 19:00 < Wombert> there 19:00 < Wombert> wrong 19:00 < Wombert> shutdown first 19:01 < Wombert> then move the plug 19:01 < Wombert> now the port is registered already 19:01 < Wombert> trust me man, it happens 19:01 < GMFlash> ok, i have another one 19:01 < GMFlash> i'll try 19:01 < Wombert> I told it a friend of mine who is an it guy in a big company and they have the problem all the time with automated installs 19:01 < GMFlash> back in a min 19:01 < Wombert> the logon dialog won't work because drivers aren't installed yet etc etc etc if people re-plug their mice/keyboard 19:01 < Wombert> k 19:01 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 19:02 < Wombert> I've had this happen a bazillion times, I would be surprised if he didn't have this issue 19:02 < Wombert> as he said, might be chipset related 19:02 < kaos> asus ftw \o/ 19:06 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 19:06 < GMFlash> okay back 19:06 < GMFlash> here's what happened 19:07 < GMFlash> i shut down my pc, moved my mouse and keyboard to different ports 19:07 < GMFlash> booted up, i'm at the windows login screen now 19:07 < GMFlash> mouse and keyboard didn't work 19:07 < Wombert> HAHA 19:07 < GMFlash> waited about 30 seconds 19:07 < Wombert> PWNED 19:07 < Wombert> :> 19:07 < GMFlash> and it automatically reinstalled them 19:07 < Wombert> yes 19:07 < Wombert> it did the same in my case 19:07 < GMFlash> typed my password, clicked my name, go 19:07 < Wombert> but before finishing the installation 19:07 < Wombert> it asked me if it should look for new drivers on windows update 19:08 < Wombert> it does that since sp2 or something unless you disable it 19:08 < GMFlash> i'm using sp2 19:08 < GMFlash> it seamlessly set up my devices in the background 19:08 < Wombert> okay, then you have that stuff disabled 19:08 < GMFlash> i didn't disable anything 19:08 < Wombert> yes, yes, yes, yes, but I got the dialog, which is a default setting 19:08 < Wombert> I'm not so sure 19:09 < Wombert> chances are you clicked "never use windows update to download updated drivers" the first time the dialog appeared 19:09 < GMFlash> whenever i install new hardware, i tell it "check windows update this time and every time for new drivers" 19:09 < GMFlash> and after that i never get that dialog 19:09 < Wombert> ah see 19:09 < Wombert> I always choose "not this time" or so 19:09 < GMFlash> why wouldn't you enable it? much more convenient to just plug in the device, and have it download over the internet 19:09 < Wombert> the dialog doesn't have a default value either, so people don't know what to choose, and might end up in the same situation as me 19:10 < Wombert> well... I have no idea, maybe because I use that PC every other week 19:10 < Wombert> still, this is absolutely broken by design, it really is 19:10 < Wombert> I hope they fixed that retardedness in vista 19:10 * GMFlash shrugs ... i've never been bitten by this "feature" yet 19:11 < GMFlash> in my opinion, windows has a stronger development platform, apple has better overall packaging, and freebsd is a better server 19:11 < GMFlash> i like all 3 though 19:11 < Xylakant> the best design piece in windows xp is the dialog to join wireless networks 19:12 < Wombert> windows has good design all over the place 19:12 < Xylakant> you have to enter the network key, which is usually pretty long (32/64+chars) 19:12 < Wombert> I'd take the explorer over the finder any day 19:12 < Xylakant> and as this is sort of a password, the letters are not shown... 19:12 < GMFlash> Xylakant: why are you still using WEP? 19:12 < Xylakant> and to make this even more comfortable, and because it is sort of a password field 19:12 < Wombert> haha yeah nothing beat's OS X's Keychain.app anyway 19:13 < Wombert> you have to enter it twice 19:13 < Wombert> :D 19:13 < Xylakant> you have to enter the same sequence *TWICE* 19:13 < GMFlash> whats keychain? 19:13 < Xylakant> blind 19:13 < Wombert> keychain holds all passwords etc of all aps 19:13 < Wombert> certificates 19:13 < Wombert> wireless passwords 19:13 < Xylakant> GMFlash: You can use long keys with WPA as well... 19:13 < Wombert> website passwords etc etc etc 19:13 < GMFlash> ahh, i use RoboForm 19:13 < Wombert> the nice thing is that you can enter your admin password to make a password visible 19:13 < Wombert> yeah but 19:14 < Wombert> keychain integrates with all apps 19:14 < Wombert> you hvae your imap server password in the same place as the one from ebay or your neighbor's wifi network 19:14 < Xylakant> Thats wouldn't change anything in that case: you need to enter the password once. 19:14 < GMFlash> i store my imap server in the mail client 19:15 < Wombert> which sucks, because you don't know if it's safe there 19:15 < GMFlash> and my WPA key is only entered once when i set up my router 19:15 < Wombert> it's gone when you uninstall the app 19:15 < Xylakant> The stupid point is that you have to enter that information twice - not as if the network would just say "hey dude, wrong pass" 19:15 < Wombert> etc etc 19:15 < Wombert> Xylakant: well in OS X, you can toggle the checkbox that shows the password ;) 19:15 < Wombert> (only for wifi networks, but that's where it matters) 19:15 < Xylakant> GMFlash: and everytime a friend want so connect his computer to your wireless network 19:16 < GMFlash> Wombert: i get your point that OSX has a better user interface in general, but its not always the best solution for desktop users 19:16 < Xylakant> Wombert: missed that checkbox, maybe i was already much in the "microsoft way" - use notepad, enter the key, copy & paste.. 19:17 < GMFlash> Xylakant: notepad? CTRL-R, enter password, copy/paste :) 19:17 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 19:17 < Whisller> hi :) 19:18 < GMFlash> hello 19:18 < Xylakant> whatever woraround you use, it does not make the fact better that you have to enter it twice, just because it is a passkey and passkeys always have to be entered twice, regardless of wether it makes sense at that point or not 19:19 < GMFlash> the problem with windows is all of the legacy support embedded in it, but that is also its greatest strength, no other o/s has support like that 19:19 < Xylakant> back on topic: Wombert, i need a route that cuts out a parameter from the url and then sets a request parameter to true if the parameter was present, is this possible? 19:19 < Wombert> of course 19:20 < GMFlash> from what i've been reading, future versions are most likely going to use virtualization to support legacy features, allowing them to depart from the current branch and do major rewrites 19:20 < Xylakant> GMFlash: well, i prefer the macos X way: emulation 19:20 < Wombert> show me what you have so far 19:20 < GMFlash> the thing i honestly hope for most is for the o/s to become irrelevant and great apps will just run anywhere 19:21 < Xylakant> Wombert: the url can look like this host://reference/rest_of_url/ or host://vrest_of_url/ 19:21 < Xylakant> the url can look like this host://base/reference/rest_of_url/ or host://base/rest_of_url/ 19:21 < Xylakant> and depending on wether the part "reference" is in there, i want a parameter set 19:22 < Xylakant> so my route looks something like that 19:22 < Xylakant> 19:22 < Xylakant> 19:22 < Xylakant> reference 19:22 < Xylakant> 19:22 < Xylakant> 19:22 < Xylakant> 19:23 < GMFlash> fyi, you don't want to put underscrores in your URLs. google will see http://mysite.com/mac_osx_apps as the keyword "mac_osx_apps" vs http://mysite.com/mac-osx-apps google sees as "mac" "osx" "apps" 19:23 < Xylakant> but i can't figure from the docs how to get the parameter to have true/false values 19:24 -!- Wombert [n=Wombert@dslb-088-064-080-155.pools.arcor-ip.net] has quit [Nick collision from services.] 19:24 -!- Wombert [n=Wombert@dslb-088-064-069-168.pools.arcor-ip.net] has joined #agavi 19:24 < Xylakant> GMFlash: rest_of_url denotes only that there is another (unbounded) set of params following 19:24 < Xylakant> but thanks for the hint ;) 19:24 < GMFlash> Xylakant: ahh i haven't used agavi yet, i just stir things up in here :) 19:25 < kaos> Xylakant: you could add an default 19:26 < kaos> which you can check for existance afterwards 19:26 < Wombert> [18:21] Xylakant: Wombert: the url can look like this host://reference/rest_of_url/ or host://vrest_of_url/ 19:26 < Wombert> [18:21] Xylakant: the url can look like this host://base/reference/rest_of_url/ or host://base/rest_of_url/ 19:26 < Wombert> [18:21] Wombert: you want to cut from the beginning of the url? 19:26 < Wombert> [18:21] Sie haben den Chat verlassen, da sie vom Server getrennt wurden. 19:26 < kaos> setting it explicitly to true/false will only work with an callback 19:26 < Xylakant> yes 19:26 < Xylakant> ok, guessed that 19:27 < kaos> you could probably use the validation too tho ;) 19:27 < Xylakant> hmm. i'd prefer validation to handle that 19:27 < Xylakant> routing i mean... 19:27 < Xylakant> whatever. 19:28 < Xylakant> man, i need to get home and have a longer meeting with my pillow. 19:29 < Xylakant> thanks, kaos. i'll try to figure out how those callbacks work 19:29 < Wombert> pattern="^/({reference:reference})" 19:29 < Wombert> ttern="^/(reference:reference)" sto 19:29 < Wombert> is enough 19:30 < kaos> and you can skip the plural tags 19:30 < kaos> ( ...) 19:31 < Xylakant> hmm. copy and paste from the locale route 19:31 < Xylakant> back from when they were required, will remove them 19:31 < Wombert> { and } is for pre and postfix 19:31 < Wombert> they were never required 19:31 < Wombert> you can do 19:32 < Wombert> pattern="^/(item-{id:\d+})" 19:32 < Wombert> then /item-1234 will match, but only 1234 ends up in the "id" parameter 19:32 < Xylakant> does it have any negvative impact keeping them? 19:32 < Wombert> the locale pattern uses that to match the / in front, too 19:32 < Wombert> no 19:33 < Wombert> but... well why have them :p 19:33 < Xylakant> so i'll keep them 19:33 < Xylakant> for the same reason i always use {} with if/loops etc 19:34 < Xylakant> when adding something to it you always get the correct syntax without having to remember adding something else (the curly brackets etc) 19:35 < Xylakant> thanks for the help, i'm off for a meeting... 19:35 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["this user has gone to sleep"] 19:42 < Wombert> woot! 19:42 < Wombert> got it 19:42 < Wombert> :> 19:44 < digitarald> mh, the creator of jquery is in the mootools channel ... maybe he need some new ideas or is searching for a good framework ... 19:46 < Wombert> I think you wanted this the other day, digitarald ... 19:46 < CIA-23> david * r1700 /branches/0.11/src/ (3 files in 3 dirs): 19:46 < CIA-23> cookies and session cookies now use the current routing's base href as the 19:46 < CIA-23> default path if possible (and not configured otherwise with 19:46 < CIA-23> session.cookie_path), and unless configured explicitely, of course. enjoy. 19:46 < CIA-23> closes #425 19:46 < Wombert> or maybe it was eremit 19:47 < digitarald> eremit :) 19:48 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11.0RC2 :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 (98.8047809%) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 19:49 < Wombert> holy SHIT http://www.youtube.com/watch?v=uEnpV_3gHH0&eurl= 19:53 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 19:53 < _cheerios> rrrrrrrrrraaaaaarrr!!! 19:53 < digitarald> he's awaken 19:55 < _cheerios> more work offers. :/ where's the list of ppl whom will work for free for you? :( 19:55 < digitarald> mh ... i need that list 19:56 < Wombert> I work free for you, _cheerios :p 19:56 < Wombert> I hope you rememebr that when we add ze donate button 19:57 < Wombert> xD 19:57 < _cheerios> someone wants to use my "old" social networking code on a new site, bleh. 19:57 < Wombert> probably not worth the hassle 19:57 < _cheerios> well, i'm just gonna ship the code to him and let him worry about it :) 19:57 < _cheerios> i dont have time for it myself 19:58 < RossC0> laters all 19:58 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 20:01 < _cheerios> i think he wanted to use it, cuz i have the servers to run it and he didnt want to pay for 'em :) 20:14 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 20:17 < Wombert> aaaah crap 20:17 * Wombert kicks ze session cookie shit 20:20 < v-dogg> woot 20:20 < Wombert> oh fuck man fuck fuck fuck fuck 20:20 < Wombert> can't I tell PHP to use cookies for the sessions, but NOT send a cookie itself 20:20 < Wombert> maaan 20:21 < _cheerios> you want to use sessions without using sessions? alright! 20:22 < Wombert> ? 20:22 < Wombert> no, not really 20:22 < Wombert> I guess you lost me 20:22 < _cheerios> cool 20:23 < _cheerios> new heroes good? 20:23 < Wombert> not seen it yet 20:26 < _cheerios> i have a bug in my other service, but i have no time to look it up and fix :| 20:27 < _cheerios> doing many things at a time is OK, as long no mistakes come up. when they do, things suck. 20:29 < GMFlash> how can you use cookies for sessions without sending a cookie? 20:29 < Wombert> I'm sending the cookie myself 20:30 < GMFlash> ahh okay 20:31 < GMFlash> you probably just have to implement your own session_start function 20:32 < v-dogg> can you do that? 20:32 < v-dogg> I mean override php's session start? 20:32 < kaos> no 20:33 < kaos> you can't prevent the cookie beint sent when use_cookies is on 20:33 < _cheerios> fork php! and distribute it w/agavi 20:33 < CIA-23> david * r1701 /branches/0.11/src/storage/AgaviSessionStorage.class.php: 20:33 < CIA-23> most retarded hack ever to prevent cookies be sent twice when session is 20:33 < CIA-23> generated for the first time. otherwise we have two cookies sent, one for 20:33 < CIA-23> '/~dzuelke/_projects/agavi/branches/0.11/samples/pub/en/login' and one for 20:33 < CIA-23> '/~dzuelke/_projects/agavi/branches/0.11/samples/pub/' that doesn't do any harm, 20:33 < CIA-23> but it doesn't look nice either 20:34 < Wombert> the en/login cookie is sent because the cookie path is set to null, which makes it "" 20:34 < GMFlash> why can't you just read the cookie info directly, look up the session, and set $_SESSION ? 20:34 < Wombert> yeah, that might be a good idea 20:34 < GMFlash> thats all session_start does basically, just implemented in c instead of php 20:35 < GMFlash> to be sure just look at the source code for the session ext in php 20:35 < kaos> http://lxr.php.net/source/php-src/ext/session/session.c#1192 20:36 < kaos> hf :p 20:37 < GMFlash> looks pretty easy to implement in php 20:38 < kaos> well, thats just the reading of the session id 20:39 < kaos> and you can't disable the session ext all together since that would kill _SESSION 20:39 < v-dogg> uh... c code... 20:40 < GMFlash> my question is what's wrong with php's sessions that you can't just use the native ones? 20:41 < _cheerios> viikate \o/ 20:41 < _cheerios> guess: he's trying to do something w/routing on them? 20:42 < GMFlash> if its that much of a hassle its probably a feature that almost nobody is going to use 20:44 < Wombert> not at all 20:44 < Wombert> agavi will set the session cookie on the base path of the application 20:44 < Wombert> not simply "/" 20:44 < Wombert> but "/myproj/trunk/pub/" or so 20:45 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" don't wory be happy usialal lala la :]"] 20:45 < v-dogg> hmm.. 20:46 < Wombert> same for cookies, agavi will not set them on / 20:46 < Wombert> of course, we could tell people to configure the paths, but that sucks, especially with many developers 20:46 < Wombert> sure they could do it easily in their own environment configurations, but still 20:46 < _cheerios> ive used cookies against /, a subdomain or a relative directory from the document_root, not agavi root. 20:47 < Wombert> having it done automatically is better 20:47 < Wombert> what agavi root 20:47 < _cheerios> app root 20:47 < Wombert> no, pub/ 20:47 < Wombert> not app root 20:47 < Wombert> which is what you want in 97.5% of the cases 20:47 < kaos> your app root should be accessible at all 20:47 < kaos> +noz 20:47 < kaos> not 20:47 -!- Arme[0] is now known as Arme[N] 20:48 < _cheerios> aye, well, it isn't when devving with mojavi/agavi. 20:48 < Wombert> ... 20:48 < Wombert> that's why we have added this feature 20:48 < _cheerios> this is only needed when running agavi from a subdir? 20:49 < Wombert> no, it is not needed either 20:49 < Wombert> it's for your convenience 20:49 < Wombert> we've had people with more than one app running 20:49 < Wombert> and the "Agavi" cookies would then collide 20:49 < Wombert> since they're all set on / 20:49 < _cheerios> in different domains? 20:49 < Wombert> which is default php behavior 20:49 < Wombert> nooooo 20:49 < Wombert> look 20:50 < Wombert> I have /projects/agavi/branches/0.11/samples/pub/ 20:50 < Wombert> and then I have 20:50 < Wombert> this: /projects/agavi/trunk/samples/pub/ 20:50 < Wombert> and both set a cookie "Agavi" (= PHPSESSID) on /, as PHP does by default 20:50 < Wombert> so I can't be logged in in both 20:50 < _cheerios> just make cookie name configurable? 20:51 < Wombert> that's why agavi now figures out it's running in "/projects/agavi/trunk/samples/pub/" and uses that instead of / unless you configure a path in php.ini or agavi's config 20:51 < Wombert> ... 20:51 < Wombert> you can already configure the cookie name 20:51 < Wombert> we have users that run the same instance of the same application in different subdirs 20:51 < _cheerios> ok, so it is a subdir problem, as i thought earlier 20:52 < Wombert> no, the problem is that php will send a cookie for /, and we send one for /projects/agavi/trunk/samples/pub/ 20:53 < Wombert> or, rather, php sends one for /projects/agavi/trunk/samples/pub/whatever/the/url/is 20:53 < _cheerios> i have trouble following you, my mind is elsewhere. 20:54 < GMFlash> Wombert: can't you just put: ini_set('session.cookie_path', $detected_app_root); ? 20:54 < Wombert> I'd rather use session_set_cookie_params, but no, that's not possible, because at the time we start the session, the routing is not initialized yet 20:55 < v-dogg> heh, you people aren't really seeing the point here :) 20:55 < Wombert> so I cannot determine the base href 20:55 < GMFlash> the php language has failed you :) 20:55 < v-dogg> _everything_ is already configurable (in agavi, no php.ini shit needed), this new fix (hack) just makes it easier 20:56 < GMFlash> isn't there some kind of bootstrap or environment or config file that runs BEFORE anything else in agavi? 20:57 < GMFlash> you can auto-detect what the application root is, and just set the cookie path in there if it isn't yet defined 20:57 < GMFlash> with dirname(__FILE__) or something 20:58 < GMFlash> and then anything cookie-related will work relative to just that app 20:58 < Wombert> that is web specific 20:58 < Wombert> and we would have to duplicate all the code in the web routing that detects rewrites etc etc etc 20:58 < Wombert> no way 21:16 -!- Arme[N] is now known as Arme[0] 21:17 < GMFlash> aren't cookies web specific? 21:18 < Wombert> yes they are 21:25 < _cheerios> write once, run everywhere. or how did it go. 21:30 < GMFlash> java? 21:30 < GMFlash> c stdlib? 21:35 -!- shoan [n=shoan@59.92.136.239] has joined #agavi 21:37 -!- digitarald [n=Miranda@224.Red-83-55-28.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 21:48 -!- shoan_ [n=shoan@59.96.34.210] has quit [Read error: 110 (Connection timed out)] 21:52 < _cheerios> Jyllands-Posten editor 21:56 < _cheerios> http://news.bbc.co.uk/2/hi/europe/6356707.stm serve your country... 21:56 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:58 < v-dogg> according to an article I read a few weeks ago 230 people commited suicide in the russian army last year 21:59 < v-dogg> only 30 (iirc) were killed so it was a good year (that's only 50% from the year before that) 22:02 -!- Arme[0] is now known as Arme[N] 22:08 < _cheerios> WE WANT YOU! (this year 50% less chance of death) 22:11 < v-dogg> those 30 were not killed in battle 22:11 < v-dogg> don't know what that figure would be 22:12 < v-dogg> but despite that I'm going to bed now 22:12 < v-dogg> night 22:12 < Arme[N]> night v-dogg 22:16 -!- Xylakant [n=fgilcher@111.205.27.217.static.versanetonline.de] has joined #agavi 22:16 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 22:17 < Xylakant> hi again 22:17 < Xylakant> does anyone feel like helping me with a routing problem? 22:18 < Wombert> shoot 22:18 -!- Arme[N] is now known as Arme[0] 22:18 < Wombert> as always on irc... just ask 22:19 < Xylakant> ok, i explained the first part before leaving the office, i have a parameter that may be set or not 22:19 < Xylakant> url look like that: http://base/reference/rest or http://base/rest 22:20 < Xylakant> i wish to add the parameter to the url when it was set 22:20 < Xylakant> and leave it out when it was not set in the request 22:21 < Xylakant> so i figured i'd use a route which cuts the parameter just as the "locale" route 22:21 -!- shoan_ [n=shoan@59.92.128.213] has joined #agavi 22:21 < Xylakant> 22:21 < Xylakant> 22:21 < Xylakant> i need the imply, because otherwise somehow the parameter does not get included in the generated url 22:22 < Xylakant> even if it was set in the request 22:22 < Xylakant> but with the imply, i can't remove the parameter from the url any more 22:24 < Xylakant> i don't know how to figure out wether the parameter was set in the request in the callback 22:25 < Xylakant> i can't access the request data, the default parameters always contain the parameter in onGenerate() 22:27 < Xylakant> and even if i could figure that out, i can't set the parameter to an empty value in onGenerate 22:27 < Xylakant> because then the url looks like that: http://base/(:reference:)/rest 22:28 < Xylakant> this is my ongenerate: 22:28 < Xylakant> public function onGenerate(array $defaultParameters, array &$userParameters, array &$userOptions) 22:28 < Xylakant> { 22:28 < Xylakant> $defaultParameters['reference'] = array( 22:28 < Xylakant> 'pre' => '', 22:28 < Xylakant> 'val' => '', 22:28 < Xylakant> 'post' => ''); 22:28 < Xylakant> 22:28 < Xylakant> return $defaultParameters; 22:28 < Xylakant> } 22:28 < Xylakant> so what do i do? 22:32 < Wombert> first, as I said, don't do { } 22:33 < Wombert> then the pattern should show up in all routes even without imply="true" 22:34 < Wombert> imply="true" is for when you want to have the portion included in the url generation even if it did not match, i.e. always 22:34 < Wombert> you can skip parameters with 'reference' => null 22:34 -!- shoan__ [n=shoan@59.92.134.156] has joined #agavi 22:34 < Xylakant> it doesn't 22:35 -!- shoan [n=shoan@59.92.136.239] has quit [Read error: 110 (Connection timed out)] 22:36 < Xylakant> without imply, the parameter does not get included 22:37 < Wombert> because no default is set for it 22:38 < Xylakant> yes,but i don't want no default for the parameter 22:38 < Xylakant> i want to omit it if not set 22:38 < Xylakant> setting an empty default has no effect 22:39 -!- shoan_ [n=shoan@59.92.128.213] has quit [Read error: 110 (Connection timed out)] 22:39 < Xylakant> setting a non-empty default has no effect either 22:40 < Xylakant> 22:40 < Xylakant> test 22:40 < Xylakant> 22:40 < Xylakant> the parameter is now omitted even if it was set in the request 22:41 < Wombert> don#t set imply at all 22:42 < Xylakant> no chan ge 22:42 < Wombert> do you still have that ongenerate there? 22:42 < Xylakant> no 22:42 < Wombert> it sets the value to empty, of course you won't get anything that way 22:43 < Wombert> show me what you have 22:43 < Xylakant> removed that 22:43 < Wombert> in a pastebin 22:43 < Wombert> please 22:43 < Wombert> the route 22:43 < Wombert> the callback 22:43 < Wombert> the gen call 22:44 < Xylakant> i removed the callback 22:46 < Xylakant> this is the route definition 22:46 < Xylakant> http://pastebin.ca/354200 22:46 < Xylakant> or do you need the full routing file? 22:47 < Wombert> no 22:47 < Xylakant> and the gen call is Routing::gen('start'); 22:47 < Xylakant> no parameters 22:47 < Wombert> 22:47 < Wombert> /{test} 22:47 < Wombert> 22:47 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection] 22:47 < Wombert> works fine for me 22:48 < Wombert> creates /{test} if no such part was in the url, otherwise the numbers that matched 22:49 < Wombert> but I see another bug there 22:49 < Xylakant> well, you have imply on 22:49 < Xylakant> that worked for me as well 22:50 < Wombert> sorry, I believe I didn't explain "imply" correctly 22:50 < Wombert> imply means a route is used in gen() even when you don't specify it 22:50 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 22:51 -!- Arme[N] is now known as Arme[0] 22:55 < Xylakant> the problem is that if i set the parameter to null in the ongenerate call, the marker does not get removed 22:56 < Xylakant> from the url 22:56 < Wombert> might be a bug 22:56 < Wombert> dominik is looking into it 22:57 < Wombert> I'm seeing a similar problem here 22:57 < Wombert> with the sample app 22:58 < Xylakant> ok, i'll wait till tomorrow :) 22:59 < Wombert> he's looking into it right now 22:59 < Wombert> if you can wait a bit ;) 22:59 < Wombert> session and normal cookies now use the "best" path btw, I was able to fix it 22:59 < Xylakant> cool 23:00 < Xylakant> i'll wait till tomorrow, need to stop working at some point ;) 23:01 < Xylakant> thanks for the effort 23:01 -!- Xylakant [n=fgilcher@111.205.27.217.static.versanetonline.de] has quit ["Leaving"] 23:03 -!- Wombert [n=Wombert@dslb-088-064-069-168.pools.arcor-ip.net] has quit [] 23:05 -!- Arme[0] is now known as Arme[N] 23:07 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 23:12 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit [Read error: 113 (No route to host)] 23:16 < _cheerios> Result: Failed validation, 146 errors 23:16 < _cheerios> doh! :D 23:19 -!- Wombert [n=Wombert@dslb-088-064-069-168.pools.arcor-ip.net] has joined #agavi 23:28 -!- shoan [n=shoan@59.92.130.196] has joined #agavi 23:33 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Nick collision from services.] 23:33 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 23:34 -!- shoan__ [n=shoan@59.92.134.156] has quit [Read error: 145 (Connection timed out)] 23:37 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi --- Day changed Wed Feb 14 2007 00:05 < kaos> var_dump(array('foo') + array('bar')); 00:05 < kaos> array(1) { 00:05 < kaos> [0]=> 00:05 < kaos> string(3) "foo" 00:05 < kaos> } 00:05 < kaos> welcome to php 00:06 < impl> hehe 00:07 * impl points kaos to array_merge 00:07 < kaos> haha 00:08 < CIA-23> dominik * r1702 /branches/0.11/src/routing/AgaviRouting.class.php: 00:08 < CIA-23> array_merge to the rescue 00:08 < CIA-23> closes #428 00:08 < _cheerios> hoho 00:08 < Wombert> array_merge is slower, by several magnitudes 00:08 < kaos> array_merge is a: ~ 3 times slower then array() + array() 00:08 < Wombert> I'd say at least ten times slower 00:08 < kaos> no 00:08 < kaos> not ten times 00:08 < Wombert> and that does matter with all the gen() calls 00:08 < Wombert> hundred times 00:08 < Wombert> maybe even more 00:08 < Wombert> but it's an awful amount slower 00:08 < impl> Better alternative? :\ 00:09 < kaos> ruby 00:09 < kaos> :P 00:09 < Wombert> I know because I profiled it once 00:09 < Wombert> haha I was about to say 00:09 < Wombert> "python" 00:09 < kaos> hehe :D 00:09 < impl> :< 00:09 < Wombert> seriously, php is so retarded 00:09 < Wombert> god damnit 00:09 < kaos> i don't think it's gods fault 00:10 < kaos> more like some retarted developers who fear they don't get any more money when all the noobs don't understand php anymore \o/ 00:10 < Wombert> retartet 00:10 < Wombert> haha 00:10 < kaos> ah fu 00:10 < Wombert> who is retartet now 00:10 < Wombert> :p 00:11 < kaos> # vserver agavi stop 00:12 < kaos> you know what that does ? :p 00:12 < impl> stops the Agavi vserver 00:12 * impl grins 00:12 < kaos> the retartet vserver 00:12 < kaos> :D 00:31 -!- shoan_ [n=shoan@59.92.128.146] has joined #agavi 00:39 -!- shoan__ [n=shoan@59.92.134.2] has joined #agavi 00:47 -!- shoan [n=shoan@59.92.130.196] has quit [Read error: 110 (Connection timed out)] 00:53 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 00:54 -!- shoan_ [n=shoan@59.92.128.146] has quit [Read error: 110 (Connection timed out)] 00:56 < Whisller> how I can get access to ->setRedirect in Action? 00:56 < impl> You can't 00:56 < impl> Response isn't populated until the View 00:57 < Wombert> redirects are presentation/behavior, they belong in the view 00:58 < Whisller> hmm 00:59 < Whisller> ok 01:09 < Whisller> heh splatch show me how I can "redirect" to other view from action ;) 01:09 < Whisller> This is why I need a documentation :D 01:10 < impl> eh? 01:10 < impl> splatch`: Stop misusing the framework! 01:10 * impl slaps 01:14 < Wombert> there are situations where returning another action's view makes sense, but it's generally not recommended 01:15 < _cheerios> fook 0115 already, damn SQL!! DAMN YOU SQL1!! 01:15 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 01:16 < Whisller> Ok. But situation: User send a id(via post), i checking it and if this exists in database show view with hmm for example form with this article. 01:20 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 01:22 < Wombert> okay 01:22 < Wombert> why do you use post? 01:23 < Whisller> Wombert, wait I show You. 01:25 < Whisller> http://phpfi.com/203439 01:26 < Wombert> wtf 01:26 < Wombert> ? 01:26 < Wombert> why do you use post? 01:26 < Wombert> that is stupid 01:26 < Wombert> just show the contentmanageedit page 01:27 < Wombert> pass the article id via get 01:27 < Wombert> and use... _validation_ to validate the article id 01:27 < Whisller> hmmm 01:27 < Whisller> you have a right O.o 01:28 < Whisller> this is not supid this is very stupid idea 01:28 < Whisller> ohh my god 01:29 < Wombert> articles/141/edit 01:29 < Wombert> then validate the id 01:29 < Wombert> display the form or... show error view 01:29 < Wombert> you need two views, Error and Input 01:29 < Wombert> use FPF in the Input view and check if request method is read, then populate the form 01:30 < Wombert> you could add a third view for successful editing that then redirects to the article overview page or so 01:30 < Wombert> do not use forward there, redirect, so the user cannot mess things up by reloading 01:30 < Wombert> always remember what http is about 01:30 < Wombert> resources are identified by their URL 01:30 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 01:32 < Whisller> yes i have 2 views for edit(EditInput) and success(EditSuccess). ehh why I wanted use forwar here...heh O.o 01:41 -!- Wombert [n=Wombert@dslb-088-064-069-168.pools.arcor-ip.net] has quit [] 01:53 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"] 03:23 -!- shoan [n=shoan@59.92.152.87] has joined #agavi 03:26 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 03:38 -!- shoan__ [n=shoan@59.92.134.2] has quit [Read error: 110 (Connection timed out)] 03:51 -!- benny`work [n=benny@p54AC06B1.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:57 -!- shoan [n=shoan@59.92.152.87] has quit [Read error: 110 (Connection timed out)] 05:40 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 06:41 -!- shoan [n=shoan@59.92.154.88] has joined #agavi 06:55 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 08:29 < horros> huomenta 09:00 -!- Wombert [n=Wombert@dslb-088-064-069-168.pools.arcor-ip.net] has joined #agavi 09:03 < Wombert> huomenta 09:03 < horros> huomenta 09:22 < v-dogg> huoemnta 09:50 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:50 < _cheerios> morning 09:55 * MikeSeth checks in 09:55 < v-dogg> welcome 09:55 * MikeSeth pets * 09:55 -!- shoan [n=shoan@59.92.154.88] has quit [Read error: 110 (Connection timed out)] 09:56 < _cheerios> :) 09:58 < _cheerios> datacenter stories are a good read, "i setup a 124cpu grid-network..", but it does make ones less than half a dozen box network seem puny in comparison :) 10:03 < MikeSeth> _cheerios, did you know that people.. lie on the internets? 10:04 < v-dogg> noooo, why would they do that? 10:04 < _cheerios> heh. it's not like that. i know this guy. he's for real. 10:04 < v-dogg> have a little faith 10:04 * MikeSeth pokes Wombert 10:06 < Wombert> I bought that honey 10:06 < Wombert> from france 10:07 < Wombert> and it smells like brand new sport shoes 10:07 < MikeSeth> you bought a french chick that stinks? 10:07 < MikeSeth> thats human trafficking 10:07 < MikeSeth> the most awesome and profitable type of crime 10:07 < Wombert> no no, honey ist something you put on your toast, buddy 10:08 < MikeSeth> I put cheese on mine :D 10:08 < Wombert> eww 10:08 < _cheerios> human trafficking, porn, spam... what next 10:08 < Wombert> if there's one thing I can't stand then it's cheese sandwiches 10:09 < MikeSeth> i like salty more than sweet 10:09 < Wombert> not in the morning 10:09 < MikeSeth> oh, true 10:09 < MikeSeth> but i dont normally eat in the morning 10:10 < MikeSeth> i just drink coffee 10:10 < Wombert> that's not very healthy my friend 10:14 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:14 < RossC0> Goood Morning! 10:15 < Wombert> morn 10:15 < MikeSeth> Wombert, as opposed to sitting in front of the computer every morning? ;) 10:15 < MikeSeth> anyhow 10:15 < MikeSeth> i have to go be productive 10:16 < v-dogg> it's enough if you just pretend 10:16 < Wombert> word 10:17 < v-dogg> any word? 10:17 < v-dogg> I like cohesion 10:17 < v-dogg> now, you can pick your word 10:18 < v-dogg> is this a game of some sort? 10:18 < v-dogg> are there prizes? 10:19 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 10:19 < v-dogg> all work and now word puzzles makes v-dogg a dull code monkey 10:19 < Wombert> haha 10:20 < Wombert> cohesion is the wrong word 10:20 < v-dogg> it can't be 10:20 < Wombert> carry on 10:20 < v-dogg> decoupling 10:20 < Wombert> no 10:20 < v-dogg> goes well with cohesion 10:20 < horros> what do my tired eyes read?! 10:20 < horros> sweet stuff in the morning?! 10:20 < horros> ewwwww 10:20 < Wombert> are you nuts 10:20 < Wombert> you stupid finn 10:20 < Wombert> you guys are all weird 10:21 < v-dogg> no, but you can touch my nuts, you weird germy 10:21 < Wombert> of course you put jelly or honey or whatever on the toast in the morning 10:21 < horros> eww 10:21 < Wombert> hahah 10:21 < horros> I never put jelly or honey or whatever on ANYTHING 10:21 < horros> well 10:21 < Wombert> oh god... 10:21 < Wombert> RossC0: please help me 10:21 < horros> I do put honey. on salted/garlicky russian pickles with smetana 10:21 < horros> <3 <3 10:22 < horros> not just in the morning 10:22 < v-dogg> yeah, bring on the crappiness of the Brittish cuisine 10:22 < v-dogg> that'll give you points 10:22 < Wombert> whatever it takes, man 10:22 < horros> brits in the morning eat what... a packet of crisps and a slob of liver?-) 10:22 < Wombert> they do make excellent jelly though 10:23 < Wombert> and they invented weetabix! 10:23 < horros> I can't stand that stuff 10:23 < Wombert> and hp sauce 10:23 < horros> nor that 10:23 < v-dogg> ok, weetabix, have to give you that 10:23 < Wombert> and baked beans 10:23 < Wombert> which I hate 10:23 < horros> I think brits invented HP sauce in order to make their food semi-edible 10:24 < v-dogg> hewlett-packard sauce 10:24 < v-dogg> to cover the actual taste? 10:24 < horros> aye 10:24 < Wombert> that is one enormous gap in education, v-dogg 10:24 < Wombert> a man is not a man until he tried hp sauce 10:24 < horros> well, pub food is actually pretty good there. as long as you have 34985938 pints to wash it down with 10:24 < Wombert> hp sauce is the best 10:24 < Wombert> perfect for fried eggs 10:24 < v-dogg> Wombert: of course I know hp :) 10:25 < v-dogg> it's ok'ish 10:25 < Wombert> hah you rock :) 10:25 < Wombert> I like it 10:25 < Wombert> but they make all kind of weird things from vegetables... not just hp sauce 10:25 < Wombert> oh got 10:25 < Wombert> god 10:25 < v-dogg> I once bought hp barbeque sauce and it was really nice 10:25 < Wombert> anyone know vegemite? 10:25 < Wombert> RossC0: do you know/eat vegemite? 10:25 < v-dogg> now that's something really weird stuff 10:25 < Wombert> it's the absolutely worst thing ever to put on a sandwich 10:26 < v-dogg> they use it in NZ 10:26 < horros> I hate pretty much everything that comes in glass jars, is a complete mush and is supposed to be used on "pretty much everything" 10:26 < Wombert> oh wait that is australian 10:26 < v-dogg> never really understood it 10:26 < horros> eww 10:26 < Wombert> not english 10:26 < Wombert> okay, nevermind 10:27 < Wombert> no, really, vegemite is absolutely disgusting 10:27 < Wombert> but then the aussies have other weird things they eat 10:27 < Wombert> fried bananas, for instance 10:27 < _cheerios> "A six-year Greek study found that those who took a 30-minute siesta at least three times a week had a 37% lower risk of heart-related death." Among working men, the risk was reduced by 64%. Naps all around! 10:28 < horros> ! 10:28 * horros naps 10:28 < v-dogg> wombats, kangaroos, aboriginals 10:28 < Wombert> GREEK 10:28 < Wombert> haha come on 10:28 < Wombert> they are on siesta all day 10:28 < horros> much like the spaniards 10:28 < Wombert> xD 10:28 < Wombert> yes 10:28 < horros> lazy bastards! 10:28 < Wombert> lazy bastards 10:28 < Wombert> lol 10:28 < horros> :) 10:29 < Wombert> man I love stereotypes so much 10:29 < horros> me too 10:29 < horros> especially if they involve greeks 10:29 < horros> :) 10:29 < Wombert> my favorite ones are those that you learn from top gear 10:29 < horros> haha 10:29 < Wombert> like that the french are stupid ignorant surrender monkeys 10:30 < Wombert> and yes, you're spot on about the greeks 10:30 < horros> "DON'T go belove 74th street. You'll be murdered." 10:30 < horros> below* 10:30 < Wombert> greece is my least favorite country in the entire world 10:30 < horros> agreed 10:30 < Wombert> no, really 10:30 < horros> then again, I'm not objective. 10:30 < horros> (missus is from macedonia) 10:31 < Wombert> all I ever hear about greece is that they "lost" a couple of hundred millions of eu subsidaries 10:31 < v-dogg> who is 10:31 < horros> greeks have pretty much "stolen" all of their history. taken stuff and claimed it as their own inventions/events 10:31 < Wombert> is that subsidies? 10:31 < horros> *shrug* 10:31 < Wombert> ah I'm not too sure 10:32 < Wombert> I don't doubt that they used to be great people back in... you know, the olden times 10:32 < horros> v-dogg: who is what? 10:32 < Wombert> but nowadays... corrupt and lazy! 10:32 < horros> Wombert: well, most of them weren't greeks. 10:32 < horros> :D 10:32 < horros> pythagoras, for instance. 10:32 < v-dogg> horros: objective 10:32 < horros> wasn't greek. 10:32 < Wombert> and they cheat on everyone, even themselves 10:32 < Wombert> do you know that ouzo commercial 10:32 < horros> god no 10:33 < horros> I avoid anything that remotely looks or reminds me of ouzo 10:33 < Wombert> where the greek guy in greece walks up to the barkeeper and says "ouzo... for my friends" 10:33 < Wombert> and the barkeeper (also a greek, remember, in greece) gives him a bottle 10:33 < v-dogg> Wombert: subsidy - subsidies (had to check because it bothered me :) 10:33 < Wombert> and the guys says... "hey... for my good friends" 10:33 < Wombert> and only then he hands him a bottle of 12 Ouzo 10:34 < horros> ... 10:34 < Wombert> and that makes me wonder 10:34 < horros> sounds like a completely stupid commercial 10:34 < horros> what does it want to say? "never trust a greek that says your his friend"? 10:34 < Wombert> it is 10:34 < Wombert> no 10:35 < Wombert> no what it says is that this guy likes his friends 10:35 < Wombert> and he wants them to have good ouzo 10:35 < Wombert> BUT 10:35 < Wombert> the barkeeper won't give him proper ouzo that doesn't kill / make you blind until he asks for it specifically 10:35 < Wombert> the catch is that they're both greeks 10:35 < Wombert> I mean I could understand that they give that shit to tourists 10:36 < horros> what it also might communicate is "greeks are corrupt and give the good stuff to their friends and the crap stuff to other people" 10:36 < Wombert> nooo! 10:36 < Wombert> no no 10:36 < Wombert> the greek guy is at the bar with some friends, they seem to be tourists 10:36 < Wombert> he wants them to have ouzo 12 10:36 < horros> aha 10:36 < horros> now I get it 10:36 < Wombert> but the barkeeper gives him the cheap one 10:36 < horros> "POISON THE FOREIGNERS!" 10:37 * horros giggles 10:37 < Wombert> ahaha :> 10:37 < horros> right, I'll stop being an ass and get back to work :D 10:37 < horros> actually 10:37 < horros> => cig 10:38 < Wombert> LAZY, CORRUPT FINNS! 10:38 < Wombert> did they ever say something about the finns on top gear? 10:38 < Wombert> I love the german jokes 10:38 < RossC0> you guys on crack? 10:38 < RossC0> ^ crazy conversation ... 10:38 < Wombert> like the ones about that the satnav in german cars will take you straight to poland 10:39 < v-dogg> haha 10:39 < Wombert> or "this fan belt lasts a thousand years" 10:39 * Wombert giggles 10:39 < Wombert> "everyone who sits in the back of a four seater convertible looks like hitler" 10:39 < _cheerios> OMG 10:39 < v-dogg> "we did not start it" "oh yes you did, you invaded Poland" 10:40 < Wombert> aah man that must be the best piece of british comedy I've ever seen 10:40 < Wombert> RossC0: do you know that fawlty towers episode? 10:40 < Wombert> he must 10:40 < RossC0> fawlty towers :-) 10:40 < MikeSeth> technically speaking, Stalin engineered world war 2 10:40 < _cheerios> http://www.youtube.com/watch?v=ATXV3DzKv68&eurl= could be old, but damn! 10:40 < RossC0> Basill! 10:40 < MikeSeth> instead.. what debugging facilities do we have in Agavi? ;) 10:40 < _cheerios> helsinki complaints choir, sun in FINNISH! 10:41 < _cheerios> *sung 10:41 < RossC0> actually technically speaking the East won world war II 10:42 < Wombert> we always lose to sweden in hockey and eurovision 10:42 < Wombert> ahahahha 10:43 < Wombert> a national trauma, eh? 10:43 < RossC0> http://4producers.co.uk/history/microsites/H/history/t-z/warworld.html 10:43 < RossC0> Was an interesting take on 20th century politics 10:43 < _cheerios> this video is hilarious 10:43 < horros> Wombert: btw, the top gear episode was splendid :) 10:43 < _cheerios> the whole premise of a complaint choir :p 10:43 < Wombert> LOL 10:43 < RossC0> http://www.topgear.com/blogs/planettopgear/027-sweet-home-alabama/ 10:44 < Wombert> "why is the vacuum cleaner cord too short... just like summer" 10:44 < RossC0> I like Rob F's comments 10:44 < Wombert> wahahah 10:45 < Wombert> "guess, what, you're in a hick town man" 10:45 < _cheerios> *me cries* 10:45 < Wombert> aaah man 10:45 < Wombert> awesome 10:45 < Wombert> I've never met anyone in Europe wearing a swastika T-shirt. 10:45 < horros> haha, the NASCAR SUCKS painted on the boot was funny :) 10:46 < RossC0> "Man love rules OK" 10:46 < Wombert> but I must say all this crap these guys talk about free speech etc... come on 10:46 < Wombert> free speech means the government won't bother you 10:46 < Wombert> but not necessarily others 10:46 < RossC0> they picked 3 brilliant slogans for their cars - I haven't laughed so much for ages 10:47 < Wombert> "James will probably say *hello* and get shot right away" 10:47 < Wombert> I never realized that alabama was that retarded 10:48 < Wombert> must say tho, the whole scene smells a bit staged 10:48 < RossC0> boo - 10:48 < RossC0> conspiracy theorist 10:49 < RossC0> well why did they turn off the cameras? 10:49 < MikeSeth> "silly jewth" 10:49 < horros> Wombert: staged or not, it was sill funny 10:49 < RossC0> I didn't get that but it added to the atmosphere! 10:49 < horros> "We have two top gear top tips today: yes, you can buy cheaper than rent and don't go to America" 10:50 < Wombert> RossC0: the pickup with the "boys" was parking to the right side with them all sitting inside and just looking when the "stones" started to fly 10:50 < Wombert> but yes, it was still awesome 10:50 < horros> and the whole cow was funny too 10:51 < RossC0> and ramming james car all the time :) 10:51 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 10:51 < horros> hehehe 10:51 < RossC0> ok - agavi question - how'd I find out the current route name I'm using - so I can hide and display the approriate div's in template 10:51 < horros> and fat stig 10:51 < horros> :D 10:52 < v-dogg> RossC0: sorry, agavi is not supported today 10:53 < Wombert> LOOOOL 10:53 < Wombert> "Our ancestors could have picked a sunnier place to be." 10:53 * Wombert falls over 10:53 < v-dogg> haha 10:53 < Wombert> RossC0: aaah no good idea man 10:53 < Wombert> set a flag in your view 10:53 < Wombert> i.e. a template attribute 10:53 < Wombert> and check that 10:54 < v-dogg> RossC0: $request->getAttribute('matchedRoutes', 'org.agavi.routing'); 10:54 < Wombert> BUT 10:54 < Wombert> that's an array 10:54 < Wombert> AND 10:54 < Wombert> the last route in there that matched is NOT necessarily the route with the module/action 10:54 < Wombert> e.g. 10:54 < v-dogg> yup 10:54 < v-dogg> more coffee 10:55 < v-dogg> I'd surely could use some siesta napping time today 10:55 < Wombert> 10:55 < Wombert> 10:55 < v-dogg> woke up at 6am and did a 60 minutes workout at the gym 10:55 < RossC0> good man! 10:56 < Wombert> and if you have a language route before that, the three entires in the array would be "language", "listproduct" and "rss" 10:56 < RossC0> hmm 10:56 < RossC0> ok - set flag var will do 10:56 < RossC0> I think 10:56 < Wombert> Les finlandais sont vraiment le peuple le plus pleurnichard du monde. Toute la chanson ils ne font que pleurer sur leur sort. Il ne reste plus de papier de toilettes, snif snif, le monde dans le sauna arrive trop tot, snif snif ...BANDE DE PLEURNICHARD ! Vous pouvez bin etre socialiste ...Tous ce qui vous arrive vous le méritez ! 10:56 < Wombert> wahahah 10:59 < horros> lol 10:59 < horros> "# 10:59 < horros> I am pre-emptively apologising on behalf of the state of Alabama. 10:59 < horros> Josette 10:59 < horros> Friday 09 February 2007, 3.41PM" 10:59 < horros> hahaha 10:59 < MikeSeth> awww YUI's debugger widget is cute 11:01 < Wombert> horros: yes that's so fantastic, cracked me up 11:02 < _cheerios> lol @ comment Wombert posted 11:02 < Wombert> "pleurnichard" means "whiner" right? 11:03 < Wombert> pleurer = to cry? 11:03 < _cheerios> babelfish didnt give me a word, i would assume it's something negative :) 11:04 < v-dogg> Wombert: yes, pleurer = to cry 11:04 < _cheerios> As complaining is a universal phenomenon the project could be organised in any city around the world. Kalleinen and Kochta-Kalleinen offered the concept to different events where they were invited as artists – but it was only after Springhill Institute in Birmingham got excited about the idea that the First Complaints Choir became a reality. 11:04 < _cheerios> Birmingham (to some known as the "arsehole of England") was a perfect place to start the project. 11:04 < v-dogg> and yes, pleurnichard = whiner 11:05 < Wombert> ah le monsieur parles francais 11:05 < Wombert> ah wait I messed that up 11:05 < Wombert> darn my french is rusty 11:06 < Wombert> didn't pleurer also mean to rain 11:07 < Wombert> ah 11:08 < Wombert> that was pleuvoir 11:08 < Wombert> dictionary ftw :D 11:09 < horros> http://www.topgear.com/content/timetoburn/sections/galleries/other/tg-telly-feb-4-2007/04/ 11:09 < horros> hahaha 11:09 < Wombert> I really liked hugh grant 11:09 < Wombert> couldn't stand him much before but damn he's a funny guy 11:10 < _cheerios> i love hugh films :D 11:10 < Wombert> http://www.topgear.com/content/timetoburn/sections/galleries/other/tg-telly-feb-4-2007/06/ 11:10 < Wombert> :D 11:10 < _cheerios> snicker @ caption 11:11 < Wombert> oooh top gear dog is alive! http://www.topgear.com/content/timetoburn/sections/galleries/other/tg-telly-feb-4-2007/09/ 11:11 < Wombert> http://www.topgear.com/content/timetoburn/sections/galleries/other/tg-telly-feb-4-2007/12/ hey they haven't shown that in the episode 11:13 < horros> I don't know what it is, but I think lambos are absolutely hideous 11:13 < horros> I'd never ever ever own one 11:13 < Wombert> YES! 11:13 < Wombert> THANK YOU! 11:13 < horros> and if I was given one, I'd sell it in an instant just to get rid of the ugly beast 11:13 < Wombert> yes 11:13 < Wombert> yes 11:13 < Wombert> yes 11:13 < Wombert> and buy an aston 11:14 < horros> agreed 11:14 < horros> or a jaguar xkr 11:14 < Wombert> oh god I saw one in person the other day 11:14 < Wombert> this car is gorgeous, it really is 11:14 < horros> yep 11:14 < Wombert> but... really... I like the v8 vantage better 11:14 < horros> and over here a whopping 100k less than a DB9 :D 11:14 < Wombert> the interior is... <3 11:14 < Wombert> with the rev counter going in the "wrong" direction and all 11:15 < Wombert> fantastic car, really, and the sound... mmmmh 11:15 < horros> see, that's the plan; if I had a lambo, I could sell it, get missus a Saab 9-5 Aero (I don't trust her driving), get myself a XKR and have money left to buy a friggen house :D 11:16 < Wombert> haha 11:16 < Wombert> sounds good 11:16 < MikeSeth> car freaks 11:16 < Wombert> now all you need is a lambo! 11:16 < horros> yeah 11:16 < horros> that's sort of the downside of the plan :( 11:16 < Wombert> the only thing uglier than a lambo is this other thing 11:16 < Wombert> uuuhm 11:16 < horros> cow dung? 11:16 < Wombert> the one they took to france with the ford gt and... the ohter... car 11:17 < Wombert> wtf my brain 11:17 < Wombert> pagani zonda, that's it 11:17 < horros> yes 11:17 < Wombert> and a ferrari I believe 11:17 < horros> hideously ugly 11:17 < horros> actually, the koneingzongngngongnaogngoangzegg is hideous too 11:17 < Wombert> but I have to say, the gallardo spyder review was the best car review ever on top gear 11:17 < Wombert> yes, and it's too brutal 11:17 < Wombert> I like astons and porsches because they... you know, they're not the "big hammer" type of car 11:18 < horros> I loved watching clarkson doing power slides in the jaguar :) 11:18 < Wombert> a bit more understated 11:18 < Wombert> speaking of nice cars, did you see the new X5 11:18 < Wombert> it actually looks a little bit good 11:18 < horros> hmm, can't say I did 11:18 < horros> I've never really liked BMW 11:18 < horros> and I've never liked SUVs 11:18 < Wombert> v-dogg: http://www.autoblog.com/2007/02/13/new-ford-mondeo-revealed-will-debut-in-geneva/ nice! 11:21 < Wombert> horros: http://www.autoblog.com/2007/02/13/new-x5-scores-good-rating-in-iihs-testing/ 11:21 < Wombert> and http://www.autoblog.com/2007/02/13/aston-martin-vanquish-s-going-out-in-style-with-ultimate-edition/ 11:21 < horros> what I'd really want as my "winter car" would be like a 1988 land cruiser with proper tyres (read: 32"), a big bull bar and a winch :D 11:22 < Wombert> man I have to say, ford got the mondeo right 11:22 < Wombert> that car will be a hit 11:23 < horros> http://misc.cible-auto.com/images/photos/6480/2.jpg 11:23 < horros> awesome 11:23 < horros> minus the yellow color and the snorkel 11:24 < horros> it should be a bland dark green, so when you notice a scratch you just go to the garage, grab a bucket of green house paint and paint it over :D 11:26 < horros> hahaha 11:26 < horros> "norwegian chrome" 11:26 < horros> hahaha 11:26 < horros> that's rust :D 11:28 < _cheerios> hehe 11:30 -!- digitarald [n=Miranda@224.Red-83-55-28.dynamicIP.rima-tde.net] has joined #agavi 11:33 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Client Quit] 11:34 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 11:35 < MikeSeth> GMFlash 11:35 * MikeSeth pokers GMFlash 11:36 < v-dogg> that new mondeo (wagon) looks a lot like the new Opel Astra 11:36 < v-dogg> and that is not a good thing :D 11:36 < Wombert> except it's twice the size :p 11:36 < v-dogg> yeah 11:37 < MikeSeth> http://www.craigslist.org/about/best/sea/274495936.html 11:37 < MikeSeth> BEST STORY EVAR 11:39 < v-dogg> still something fishy in my validators 11:41 < horros> hahaha 11:41 < horros> "She is glaring at me with all the moral self-righteousness that only a woman can muster up." 11:46 < horros> off to pick up a switch and to get lunch, bbl 11:49 < horros> smegging thunderbird 11:49 < horros> WHY AREN'T YOU PRINTING?! 11:49 < Wombert> pkefc 11:50 < horros> there we go 11:50 < horros> it hand fallen all over itself 11:52 < splatch`> hello :) 11:52 < RossC0> anyone help me with ze slots / layers 11:52 < Wombert> sure 11:53 < RossC0> ok I want to display 3 actions / views 11:53 < RossC0> 1 is the current action / view and the other 2 are the other related action / views 11:53 < Wombert> okay 11:54 < Wombert> just for this one action, or for all actions? 11:54 < RossC0> i.e. current may be 'View Profile' and the other 2 slots may be 'Edit Profile' and 'ResetPassword' 11:54 < Wombert> ah okay 11:54 < Wombert> piece of cake 11:54 < RossC0> then if I'm on the Edit Profile the current will be the other two 11:54 < RossC0> * the other slots will be the other two 11:54 < Wombert> two options: a) you create a new layout for that, b) you add a layer in your existing two-layer layout 11:55 < Wombert> I'll explain b), a) should be obvious 11:55 < Wombert> youload the layout 11:55 < Wombert> what you need now is another small wrapper layer between content and decorator 11:55 < RossC0> ok was thinking a) - but how'd I set it so its dynamic and has the other actions 11:55 < _cheerios> *grins* @ vasectomy story 11:55 < Wombert> it will output $inner (your view profile action) 11:55 < Wombert> plus will it have two slots with edit profile and reset password 11:55 < Wombert> code for that: 11:55 < Wombert> $this->loadLayout(); 11:56 < Wombert> $wrapper = $this->createLayer('AgaviFileTemplateLayer', 'wrapper'); 11:56 < Wombert> $wrapper->setSlot($this->createSlotContainer('Default', 'EditProfile')); 11:56 < _cheerios> that trapping a man by having a baby seems to be part of some "how to live off a man, while doing jackshit" guide women keep around 11:56 < Wombert> errr 11:56 < Wombert> $wrapper->setSlot('editprofile', $this->createSlotContainer('Default', 'EditProfile')); 11:57 < Wombert> $wrapper->setSlot('resetpassword', $this->createSlotContainer('Default', 'ResetPassword')); 11:57 < Wombert> $wrapper->setTemplate('ViewProfile.wrapper.php'); 11:57 < Wombert> and in there 11:57 < Wombert> echo $inner, $slots['editprofile'], $slots['resetpassword'] 11:57 < Wombert> got that so far, RossC0 ? 11:57 < RossC0> yup 11:57 < Wombert> i.e. you understand what that's doing :) 11:58 < Wombert> you have a sandwich, and you put a slice of ham between the sides 11:58 < RossC0> yeah I had that but didn't get how to get the current action -> $inner cool 11:58 < Wombert> you could, of course, simply create another layout 11:58 < Wombert> BUT! 11:58 < Wombert> hmm 11:58 < Wombert> well if you need this more often 11:58 < v-dogg> why the hell is my validators not run 11:58 < Wombert> i.e. where the inner content thing is not one, but many actions 11:59 * v-dogg breaks down and cries like a little baby 11:59 < Wombert> then you should create a generic layout for this 11:59 < Wombert> will help you in a second, v-dogg 11:59 < Wombert> RossC0: like this: 11:59 < RossC0> ok - this is option a) 11:59 < Wombert> haha man 11:59 < Wombert> yes 11:59 < Wombert> awesome 11:59 < Wombert> just a second 11:59 < Wombert> MUZAHAHHA 11:59 < Wombert> agavi ftw 12:00 < RossC0> ?? 12:00 < RossC0> ftw -? 12:00 < Wombert> you'll see in a second 12:00 < Wombert> for the win 12:00 < RossC0> cool :) 12:01 < Wombert> actually 12:01 < Wombert> RossC0: can you give me... five or ten minutes 12:01 < Wombert> because I need the same thing in an app of mine 12:01 < RossC0> sure :-) 12:01 < Wombert> and I want to play around a bit for the best way to set up that layout 12:01 < Wombert> cool 12:03 < RossC0> in layers can I nest another layout? 12:03 < Wombert> no, a layout is simply a set of layers 12:04 < Wombert> but you can have any number of layers 12:04 < Wombert> each layer is wrapped inside the next one 12:10 < Wombert> wohooo! it works! damn this is awesome 12:11 < Wombert> okay, here you go 12:12 < RossC0> cool 12:12 < Wombert> RossC0: http://pastie.caboo.se/40206 12:12 < Wombert> these are the two layouts from the sample app 12:12 < Wombert> plus a new "wrapped" layout 12:12 < Wombert> the "wrapper" layer has a different extension 12:13 < Wombert> so for ContactSuccess.php in the content layer, ContactSuccess.wrapper.php will be used on the wrapper layer 12:13 < Wombert> and Master.php on the decorator, as usual 12:13 < Wombert> that's because all layers that are created get the view name as the template name and the extension is done separately 12:14 < Wombert> then in your code, you just do 12:14 < Wombert> $this->getLayer('wrapper')->setSlot('foo', $this->createSlotContainer('Default', 'EditProfile')); 12:14 < Wombert> however, there's an alternative 12:14 < Wombert> because 12:14 < Wombert> if your ViewProfile can also be standalone, i.e. without the other two in the same document 12:15 < Wombert> you should consider having a ViewProfile, EditProfile and NewPassword action 12:15 < Wombert> and then have a CompositeViewProfile action, that uses the normal layout (decorator and content) 12:15 < Wombert> and then you simply set three slots on the content layer, with ViewProfile, EditProfile, NewPassword action 12:15 < Wombert> and assemble it like that 12:15 < Wombert> know what I mean? 12:15 < Wombert> _cheerios did this I believe 12:16 < _cheerios> *ding 12:16 < RossC0> cool - like it 12:16 < _cheerios> well, i'm going to build up without slots at first, and then move on to them later 12:16 < v-dogg> dingeling 12:16 < _cheerios> i had an idea for dynamic slots caching solution, which i'll see if i can make work w/agavi 12:16 < v-dogg> "My Dingeling, My Dingeling, I want you to play with my dingeling" 12:17 < Wombert> _cheerios: uuuh 12:17 < Wombert> you can cache slots already!? 12:17 < _cheerios> in a different way :) 12:17 * v-dogg gets a weird deja-vu 12:17 < v-dogg> guys... I think we've been here before 12:18 < v-dogg> I vividly remember this discussion 12:18 < _cheerios> yep 12:19 < _cheerios> RossC0/Wombert,did you do some trickery to have errors on forms showup where they originate (instead of the looping in decorator as in sample app) ? 12:19 < v-dogg> RossC0 specialized fpf to do that 12:19 < v-dogg> or tried, at least :p 12:19 < RossC0> #427 - still being tested 12:20 < RossC0> currently at a works for me in a limited manner stage 12:20 < v-dogg> awesomeness 12:20 < _cheerios> k, peaked my curiosity. will be an improvement (when it's done). 12:21 < Wombert> cool 12:21 < Wombert> bbl 12:22 < digitarald> oh, nice patch ... 12:22 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 12:22 < Xylakant> hi 12:22 < digitarald> lets extend my fpf with it 12:22 < digitarald> hi felix 12:23 < digitarald> RssC0, this is awesome, i'll test it too 12:23 < digitarald> +o 12:24 < Wombert> what does your fpf do, digitarald 12:24 < v-dogg> voodoo magic 12:24 < v-dogg> and vegemite sandwiches 12:24 < digitarald> just instanced yours for some changes, playing around with xpath 12:25 < digitarald> adding the error message for example as title to the input 12:25 < Wombert> k 12:25 < Wombert> I'll catch you guys later 12:29 < RossC0> cool - xpath seemed to be really obscure in that I couldnt even reference all dt elements as I was supposed to be able to =:< 12:30 < RossC0> php xpath that is 12:43 < Xylakant> Wombert: did you change anything else on the cookie stuff or only the path? 12:53 -!- shoan [n=shoan@59.92.172.11] has joined #agavi 12:56 < Xylakant> hmm. seems there was a bug introduced in those changes 12:56 < Xylakant> session cookie might get lost on redirects 13:18 < RossC0> argh! 13:18 < RossC0> how'd I detect if an action is being used in a slot? 13:19 < MikeSeth> there was an isSlot() added in one of the recent patches 13:20 < RossC0> ah ok :-) got to many executions going on 13:20 < MikeSeth> errr 13:21 < MikeSeth> WHAT THE FUCK!!!! 13:21 < MikeSeth> http://www.google.com/search?q=agavi+isslot&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a 13:21 < MikeSeth> anyone can explain the second result? 13:23 < RossC0> lol! 13:25 < RossC0> http://www.symfony-project.com/trac/search?q=agavi&wiki=on&changeset=on&ticket=on 13:25 -!- codecop [n=codecop@85.206.199.70] has joined #agavi 13:25 < RossC0> hmm no isSlot 13:26 < MikeSeth> AHAHAHAHAHAHAHAHAHA 13:26 < MikeSeth> they ripped off our code?! 13:26 < MikeSeth> teh lolz! 13:26 < MikeSeth> sec I'll find the patch 13:29 < Xylakant> funny 13:29 < Xylakant> and they didn't even mention the original copyright 13:29 < Xylakant> that's not so funny 13:29 < digitarald> thats symfony license style ... they forget always to add the license 13:31 < Xylakant> well, that's plain illegal 13:31 < Xylakant> and bad bad style 13:32 < Xylakant> the agavi source is open and may be used so why not mention the original author? 13:32 < Xylakant> credits to those who deserve it 13:32 < MikeSeth> RossC0, I cant find the patch.. I must be imagining things 13:36 < RossC0> boo :-( 13:37 < RossC0> any ideas how to have an action that is slottable and also avaliable via the global master ? 13:37 < RossC0> currently I need to be able to stop it going via the Master template if its in a slot 13:38 < RossC0> _cheerios: how'd you do compositeViews ? 13:38 < MikeSeth> RossC0, oh duh. Load another layout? 13:42 < RossC0> well I have a composite view which has 3 actions via slots - nested in the standard template. But those actions are also viewable separately, and as such load the standard layout 13:43 < RossC0> i.e. http://pastie.caboo.se/40206 13:43 < RossC0> normally the actions use default layout but can also be wrapped for the composite 13:44 < MikeSeth> well just pass a parameter to the action telling it which layout to load 13:44 < RossC0> oO -how'd I do that ? 13:44 < MikeSeth> how do you load your slots? configuration or other view code? 13:45 < RossC0> currently: $wrapper->setSlot('View', $this->createSlotContainer('Portal', 'Profile.View')); 13:46 < MikeSeth> so createSlotContainer('Portal', 'Profile.View', array('is_slot' => true)); 13:47 < MikeSeth> in the view: if ($this->getParameter('is_slot')) $this->loadLayout('my_blank_slot_layout'); 13:47 < RossC0> cool - thats brilliant 13:47 < MikeSeth> say thanks to wombie 13:48 < RossC0> wombie is brilliant! 13:48 < MikeSeth> say thanks to wombie's parents! :D 13:52 < digitarald> RossC0, there is no other way to check if the action is in a slot? 13:52 < MikeSeth> iirc not.. wombie is right it doesnt make a whole lot of sense to 13:52 < MikeSeth> there is isSimple() if that helps 13:55 < RossC0> how'd I set up a simple action? 13:56 < RossC0> AgaviSimpleAction? 13:56 < digitarald> isSimple() return true in action 13:56 < digitarald> simple ;) 13:56 < RossC0> ah even better :) 14:09 < MikeSeth> isSimple() returns true if its a simple action 14:09 < MikeSeth> has nothing to do with how it's executed 14:13 < _cheerios> my new found greek dna says i need a nap 14:42 -!- eremit [n=eremit@p5490CE82.dip.t-dialin.net] has joined #agavi 15:13 < horros> bah 15:13 < horros> silly clients 15:13 < horros> calling me up being all panicky about having two apparently similar objects 15:14 < horros> so I log in to the server, check the object logs (god bless propel) and see the same person has added the same object twice 15:14 < horros> probably by hitting the back button in the browser enough times 15:14 < horros> so I call back up wanting to ask which one to keep... 15:14 < horros> and the smegheads won't answer the phone anymore 15:14 < horros> and I bloody told them I'd call back in 10 minutes or so 15:18 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 15:56 -!- eremit [n=eremit@p5490CE82.dip.t-dialin.net] has quit [] 16:09 < GMFlash> heya MikeSeth 16:09 < MikeSeth> hey gmflash 16:11 < GMFlash> whats shakin? 16:12 < GMFlash> oh btw for all the devs in here, when i upgraded to php 5.2.1, str_ireplace() caused a segfault 16:13 -!- Wombert [n=Wombert@dslb-088-064-069-168.pools.arcor-ip.net] has quit [Nick collision from services.] 16:13 < RossC0> nice 16:13 -!- Wombert [n=Wombert@dslb-084-056-012-003.pools.arcor-ip.net] has joined #agavi 16:13 < RossC0> Any work rounds? or did you have to downgrade? 16:13 < GMFlash> for now i just replaced it with strtolower() then str_replace 16:14 < RossC0> ah ok 16:16 -!- Wombert [n=Wombert@dslb-084-056-012-003.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 16:17 -!- codecop [n=codecop@85.206.199.70] has quit ["Have to go"] 16:17 -!- Wombert [n=Wombert@dslb-084-056-060-002.pools.arcor-ip.net] has joined #agavi 16:20 -!- eremit [n=eremit@p5490CE82.dip.t-dialin.net] has joined #agavi 16:25 < horros> bah 16:25 < horros> I was supposed to get the damn update package online today 16:25 < horros> but nooooo, I was forced to spend the better part of the day with a silly client 16:30 * horros giggles at his // validate again in case smegheads hit Ctrl-R or back in the browser 16:46 * _cheerios curses @ ff2 taking minutes to open a page on localhost 16:58 < Wombert> GUUUYS 16:58 < Wombert> BAAAAH 16:58 < Wombert> slaps RossC0 16:58 * Wombert slaps RossC0 16:58 * Wombert slaps MikeSeth 16:58 < Wombert> read my emails :( 16:58 < MikeSeth> 'ןךך ×’× 16:58 < MikeSeth> shit 16:58 < MikeSeth> willdo 16:58 < MikeSeth> GMFlash, i's been givin fr0zen shit 16:58 < MikeSeth> he was all mad 16:59 < Wombert> no need for array('is_slot' => true) 16:59 < Wombert> craeteSlotContainer does that for you 16:59 < Wombert> and yo must then du 16:59 < Wombert> $this->container->getParmaeter('is_slot') 16:59 < Wombert> the flag is set on the _container_ , not in request data 17:00 < Wombert> Xylakant: symfony can't take code from us, they are MIT, we are LGPL, and yet they rip off our code every now and then 17:01 < Xylakant> Wombert: not trying to start a war, but this is unacceptable from my pov 17:02 < Wombert> yeah, well, I told them time and again, but they didn't give a shit 17:02 < Wombert> then I mentioned it on their mailing list 17:02 < Wombert> and they were all "uuh do you hvae to do that in public" 17:02 < Wombert> then I told them how to make proper LICENSE files and COPYRIGHT files which they haven't fully done yet either and... 17:02 < Wombert> I don't care 17:02 < Wombert> fuck them 17:03 < Wombert> they'll see what they got their users into once the first company that uses symfony gets sued over the license issues 17:04 < Wombert> best thing was... fabien (the symfony "boss") said oooh he doesn't know so much about licenses and oooh he never read the lgpl 17:04 < Wombert> the french are a bunch of retarded surrender monkeys if you ask me 17:04 < Wombert> harhar 17:04 < Wombert> :> 17:04 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 17:04 < Wombert> anyway, that RoVerT idiot was always hanging around here in our channel and then copied our checkins and contributed them as patches to symfony 17:05 < Wombert> I really don't give a damn anymore because their framework sucks, their IP policies suck, their lives suck, their users suck 17:06 < digitarald> long discussion ... http://www.mail-archive.com/symfony-devs@googlegroups.com/msg00271.html 17:06 < Wombert> it's just very sad that one of the reasons they get all the buzz is because their COPYRIGHT file says "copyright (c) fabien potencier. this is publique domaine. vive la france", even though they bundle propel, for instance, which is lgpl, too 17:07 < Wombert> I even talked to dustin whittle about it in person at last year's php conference but he never got back to me regarding that... 17:07 < RossC0> Cheers Wombert - updated to $this->container->getParameter('is_slot') 17:07 < Wombert> cool 17:07 < RossC0> doesn't Yahoo use Symfony ?? 17:07 < Wombert> RossC0: another thing you might find useful 17:07 < Wombert> yeah they do, and dustin now works at yahoo 17:08 < Wombert> in your base action, RossC0 17:08 < RossC0> yup 17:08 < Wombert> public function isSimple() { 17:08 < Wombert> return $this->container->getParameter('is_slot', false); 17:08 < Wombert> } 17:08 < Wombert> that will automatically set all slots to "simple" actions 17:08 < Wombert> don't forget to overwrite that again in actions you use regularly, though 17:08 < RossC0> hmm do my slots have validation? 17:09 < Wombert> yes, unless you set it to simple mode 17:11 < Wombert> digitarald: did you get that too, with the is_slot flag? 17:11 < Wombert> Xylakant: what's that about session cookies getting lost, any test case? 17:12 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 17:12 < digitarald> yes 17:12 < Wombert> cool 17:13 < digitarald> isnt there an easier way ... before that i check the entries in the action stack ;) 17:13 < Wombert> so remember, createSlotContainer (which is what loadLayout uses, too) sets a flag on the container, you can query that. is_slot 17:13 < Wombert> ??? 17:13 < Wombert> easier way? 17:13 < RossC0> (15:07:27) Wombert: don't forget to overwrite that again in actions you use regularly, though 17:13 < Wombert> you don't have to do anything 17:13 < RossC0> how'd you mean regularly 17:13 < Wombert> RossC0: ah sorry 17:14 < Wombert> OH YOU SPEAK GERMAN, I THOUGHT THERE WAS SOMETHING WRONG WITH YOU :D 17:14 < Wombert> anyway 17:14 < Wombert> I mean those actions that you run standalone, or as a slot in that composite thing 17:14 < Wombert> when used as a slot, they'd run in simple mode, which probably isn't what you want 17:14 < RossC0> Sie rauchender Sprung? 17:14 < RossC0> <3 bablefish 17:15 < Wombert> HAHAHAH 17:15 < RossC0> nah I think that'll work because they'll post not to the action which won't be simple 17:15 < Wombert> sprung... crack... brilliant 17:15 < Wombert> yes but... just to be on the safe side 17:15 < Wombert> remember, they skip execute() altogether when in simple mode 17:16 < Wombert> digitarald: let me recap that 17:16 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:16 < Wombert> $layer->setSlot('foo', $this->createSlotContainer('Default', 'Lala')); 17:16 < Wombert> the slot container created will have a parameter called "is_slot" set to true 17:16 < digitarald> ok 17:16 < digitarald> got it 17:16 < Wombert> likewise, $this->createForwardContainer() (which you return to do a forward) has a parameter called "is_forward" 17:17 < Wombert> then in your Lala action or view you can do $this->container->getParameter('is_slot') 17:18 < digitarald> i love it :) 17:18 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"] 17:19 < digitarald> worked on js all the time, have to update my app again, not updated 10 days ... 17:19 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 17:21 < Wombert> we haven't done any changes I think 17:28 < Xylakant> Wombert: no, not a simple one 17:29 < Xylakant> but if i back out revisions 1700-1701 all works fine 17:32 < Xylakant> out of interest: what was the original copyright on mojavi? it was lgpl iirc? 17:32 < Wombert> can't reproduce here with the redirect in the sample app login... hmm 17:32 < Wombert> you use setRedirect, right? 17:32 < Wombert> it was lgpl, yes 17:33 < digitarald> how can symfony be mit? 17:33 < Wombert> they got permission from sean kerr 17:33 < Wombert> fabien said 17:33 < digitarald> CakePHP is MIT too 17:34 < Wombert> but they're not based on mojavi, are they 17:34 < digitarald> of course 17:34 < Wombert> woot? 17:34 < Wombert> lol come on 17:34 < Xylakant> Wombert: the redirect line is 17:34 < Xylakant> $this->getContext()->getController()->getGlobalResponse()->setRedirect($this->getContext()->getRouting()->gen('start')); 17:35 < Wombert> I mean,... symfony stinks 17:35 < Wombert> Xylakant: do you do that in an action/view 17:35 < Wombert> (not that it makes a difference I think...) 17:35 < Xylakant> so the problem might be that i'm doing the redirect on the global response 17:35 < Xylakant> and it's in the action 17:36 < Xylakant> i loose my authentication information in that case 17:36 < Xylakant> the interesting part is that the next page gets displayed just fine 17:36 < Wombert> oooh oooh oooh please no redirects in actions :| 17:36 < Xylakant> only when i leave that page, everything breaks 17:36 < RossC0> ^ yup 17:37 < Wombert> set the redirect in the view 17:37 < Wombert> and not on the global response 17:37 < RossC0> its a view responsibility 17:37 < Wombert> but on the container's 17:37 < Xylakant> i disgress 17:37 < Wombert> $this->container->getResponse()->setRedirect() 17:37 < Wombert> or even $this->getResponse() 17:37 < Xylakant> control-flow is action/controller responsibility 17:37 < Wombert> no 17:37 < Xylakant> and not view 17:37 < Wombert> because 17:37 < Wombert> refirects aren't control flow 17:37 < Wombert> they are behavior or presentation 17:37 < Wombert> *redirects 17:38 < Xylakant> redirects are as much control flow as forwards 17:38 < Wombert> no, no, no 17:38 < Wombert> think about it 17:38 < Wombert> what if you added an xmlrpc interface 17:38 < Wombert> where you don't want to redirect after an item was added 17:38 < Wombert> but instead return the new item's code in the response 17:38 < Wombert> a view doesn't just produce output 17:38 < MikeSeth> Wombert i think what I *need* to do is re-read all channel logs since 0.11 17:39 < Wombert> it also controls flow things 17:39 < Wombert> MikeSeth: huh? 17:39 < MikeSeth> i dont have time :( 17:39 < Wombert> Xylakant: the action returns a view, which handles the details that depend on context, output type, whatever 17:40 < Xylakant> a redirect can be as well used to indicate that an item has moved 17:40 < Xylakant> so it can be control flow as well 17:40 < Wombert> not in xmlrpc 17:40 < Wombert> not in soap 17:40 < Wombert> maybe in REST 17:40 < Wombert> what if you have a command line interface 17:40 < Wombert> you don't even have setRedirect() there 17:40 < Xylakant> why not: it could indicate to the user where to find the new item 17:40 < Wombert> how would it do that 17:41 < Xylakant> print 'go there -> ' 17:41 < Wombert> no, no, that's not the job of setRedirect() 17:41 < Wombert> setRedirect() does the technical part of redirecting using the response 17:41 < Wombert> in a console app, that _could_ call another program or so 17:43 < Wombert> of course, you're free to do whatever you prefer, but in this case, I have to ask you to do the redirect in the view, and do it on the container's response, not on the global one, to check if that works 17:43 < Xylakant> i'll try that 17:43 < Wombert> thanks 17:45 -!- benny`work [n=benny@p54AC18E9.dip0.t-ipconnect.de] has joined #agavi 17:47 < Xylakant> seems to work 17:48 < Xylakant> so the problem seem to be the redirect on the global response 17:50 < Wombert> the redirect itself works? 17:51 < Xylakant> yes 17:51 < Wombert> are you setting any cookies or something? 17:52 < Xylakant> no 17:52 < digitarald> uuuhhh ... http://layout.constantology.com/builder/ 17:53 < digitarald> no more designs in photoshop ... 17:53 < Xylakant> ;) 17:56 < Wombert> your routing problem is fixed Xylakant? 17:56 < digitarald> who uses these tools ... build your app with drag&drop ... does cms2.0 have that, Xylakant? ;) 17:56 < Wombert> you can now nest tags by the way, in case I didn't mention it 17:58 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 17:58 < Wombert> Xylakant: that's very, very, very trange 17:58 < Wombert> strange 17:58 < Wombert> shouldn't happen 17:58 < Xylakant> Wombert: when i don't use the global response, all is fine 17:58 < Xylakant> and yes, you mentioned it 17:58 < Wombert> it merges them in the controller: 17:58 < Wombert> $response = $container->getResponse(); 17:58 < Wombert> $response->merge($this->response); 17:58 < Wombert> $response->send($container->getOutputType()); 17:58 < Xylakant> (the translator tags) 17:58 < Wombert> which does 17:59 < Wombert> if($otherResponse->hasRedirect() && !$this->hasRedirect()) { 17:59 < Wombert> $redirect = $otherResponse->getRedirect(); 17:59 < Wombert> $this->setRedirect($redirect['location'], $redirect['code']); 17:59 < Wombert> } 17:59 < Wombert> so the global response gets merged into the last local one 17:59 < Xylakant> maybe the session does not get written properly 17:59 < Wombert> are you forwarding, too, Xylakant ? 17:59 < Xylakant> Wombert: no 17:59 < Wombert> well the point is 18:00 < Wombert> if($this->redirect) { 18:00 < Wombert> $this->setHttpHeader('Location', $this->redirect['location']); 18:00 < Wombert> $this->setHttpStatusCode($this->redirect['code']); 18:00 < Wombert> } 18:00 < Wombert> $this->sendHttpResponseHeaders($outputType); 18:00 < Wombert> if(!$this->redirect) { 18:00 < Wombert> $this->sendContent(); 18:00 < Wombert> } 18:00 < Wombert> that's send() 18:01 < Xylakant> and after that the session gets shut down? 18:01 < Wombert> no 18:01 < Wombert> not immediately 18:01 < Wombert> but the session cookie header is sent long before 18:01 < Wombert> session_start does it 18:01 < Xylakant> it should get shut down before a redirect gets sent 18:02 < Xylakant> the issue is even more strange since the directly *next* page gets displayed properly 18:02 < Xylakant> it's only when i click a link on that page that i loose the logged in info 18:03 < Xylakant> and get logged out 18:03 < Xylakant> i'll try to set up a simple reprodcution application 18:04 < Xylakant> digitarald: maybe somewhere in the distant future. 18:05 < Xylakant> digitarald: once the boss decided we'd release as open source and some crazy german with spanish residence implemented it 18:06 < Wombert> what do you mean, Xylakant, "shut down" 18:06 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 18:07 < Xylakant> wombert: http://de.php.net/session_write_close 18:07 < Wombert> why does that have to be done before a redirect is sent 18:07 < Wombert> session_write_close won't send cookies or anything 18:07 < Xylakant> yes 18:08 < Wombert> no :p 18:08 < Xylakant> but it writes the session info to the storage 18:08 < Wombert> aaah yes but a redirect won't abort right away 18:08 < Wombert> the script finishes execution either way 18:08 < Xylakant> otherwise the old request may still run while the browser is happily retrieving the new page 18:08 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:08 < Xylakant> you got it 18:08 -!- eremit [n=eremit@p5490CE82.dip.t-dialin.net] has quit [] 18:08 < Xylakant> classic race condition 18:09 < Xylakant> and the second script may update the info before the first on is finished - and if the framework is still shutting down... 18:09 < Wombert> ah 18:09 < Wombert> good point 18:09 < Wombert> I see the issue 18:09 < Wombert> however... hmm 18:09 < Wombert> okay, we gotta look into that 18:09 < Wombert> BUT 18:09 < Wombert> it doesn't matter on which response the redirect is set 18:10 < Wombert> the sending procedure is identical 18:10 < Wombert> so what you're seeing is probably totally random 18:10 < Xylakant> funny enough: no 18:10 < Wombert> it's always the same send() call on the same response 18:11 < Xylakant> maybe the window of opportunity is larger when working with the global response from the action 18:13 < Wombert> no 18:13 < Wombert> if any, then it might be the different order of headers 18:13 < Xylakant> possible as well 18:14 < Wombert> certainly no difference between either approach 18:14 < Xylakant> i'll try to create a standalone testcase 18:14 < Wombert> we don't work with different responses or anything 18:14 < Wombert> it's always the same response that is used to send data back 18:15 < Xylakant> hang on, i need to go slap a developer 18:15 < Xylakant> stop him from commiting something stupid 18:19 < Xylakant> ok wombert: i'll get my stuff finished and then create a testcase. i'll open a bug report if i can reproduce the problem reliably 18:20 < Wombert> Xylakant: cool 18:20 < Xylakant> i think that closing the session before a redirect should still be done - unless at that point session data could still be written by a filter or what ever 18:22 < Wombert> and lolmao @ symfony, they don't have a send() method in their response, they call sendHttpHeaders and sendContent in the controller... my goodness 18:22 < Wombert> and LOL 18:22 < Wombert> they're setting http headers in the controller (not the web controller, mind you) 18:24 < Wombert> Xylakant: I have an idea 18:24 < Wombert> mmmh no 18:24 < Wombert> that won't work 18:24 < Wombert> bugger 18:26 < Wombert> or wait, that would work 18:26 < Wombert> I could send the response in the controller shutdown 18:26 < Wombert> which is called by context::shutdown() 18:26 < Wombert> which is called by register_shutdown_function 18:33 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi 18:36 < Wombert> Xylakant: hmm I could do ob_start() if a redirect has been set 18:37 < Wombert> could you try that? in WebResponse::send(), if a redirect is set, do ob_start() 18:46 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:46 -!- Arme[N] is now known as Arme[0] 18:49 -!- codecop [n=codecop@85.206.199.70] has joined #agavi 18:53 -!- Arme[0] is now known as Arme[N] 18:53 -!- Arme[N] is now known as Arme[0] 18:53 -!- digitarald [n=Miranda@224.Red-83-55-28.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 18:59 -!- Wombert [n=Wombert@dslb-084-056-060-002.pools.arcor-ip.net] has quit [Nick collision from services.] 18:59 -!- Wombert [n=Wombert@dslb-084-056-011-255.pools.arcor-ip.net] has joined #agavi 19:18 < RossC0> fpf - question - say I strip htmlchars - how'd I update fpf to the updated var 19:19 < RossC0> and should I do that in my view? 19:19 < RossC0> Should I use: $rd->setAttribute('populate', new AgaviParameterHolder(array('foo' => 'value!')), 'org.agavi.filter.FormPopulationFilter'); 19:19 < MikeSeth> dont know anything about fpf :( 19:20 < Wombert> yes, RossC0, that's how you do it 19:20 < Wombert> no need to htmlspecialchars() something 19:21 < Wombert> what do you mean, "how'd I update fpf to the updated var" ? 19:21 < RossC0> yup 19:21 < RossC0> as I strip all html to just text 19:22 < Wombert> it does that for you, no need to worry about xss 19:22 < RossC0> so fpf populates with the posted data - which may have html tags - which I don't want in this instance 19:23 < RossC0> so I clean the input and add to the db 19:24 < RossC0> but I need to update fpf to reflect my cleaned text only data 19:25 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has quit ["Leaving"] 19:25 < RossC0> ah 19:38 < Wombert> RossC0: huuuuh? oO 19:38 < Wombert> well if any, then use filters to clean the data 19:39 < Wombert> fiddling with the FPF to achieve that is not a good idea 19:40 < RossC0> ok - all I want is to clean a textarea of any html tags if someone copied and pasted in. Then redisplay the Input form on success 19:40 < RossC0> that make sense? 19:40 < Wombert> ah okay 19:40 < Wombert> I would do it like this 19:40 < Wombert> on success or on read, populate the form by hand 19:41 < Wombert> on error, let the fpf populate the form 19:41 < Wombert> your SuccessView could simply show the "Input" template 19:41 < RossC0> ok - how'd I toggle fpf? 19:41 < Wombert> or, better, extend the Input view, call parent::executeFoo() and then populate the form by hand 19:42 < Wombert> just like you said [18:19] RossC0: Should I use: $rd->setAttribute('populate', new AgaviParameterHolder(array('foo' => 'value!')), 'org.agavi.filter.FormPopulationFilter')) 19:42 < Wombert> you can set populate to false to prevent population altogether 19:42 < RossC0> sure done that but is there a way to merge 19:42 < RossC0> or do I have to redeclare all variables? 19:42 < Wombert> you mean the data that was sent and the data it would insert automatically? no 19:42 < Wombert> well don't you write them to the database anyway? 19:42 < Wombert> this is an edit form? 19:42 < RossC0> yeah 19:43 < RossC0> ah ok - I got you 19:43 < RossC0> I think oO 19:43 < RossC0> ok - well its valentines and my wifes cooking me tea - so I best not be late! 19:44 < RossC0> I'll review that conversation in the morning wombert - I should make more sense - as it was more conceptual at the time, now its implementable! 19:44 < RossC0> *it should make more sense as well ;p 19:45 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 19:45 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:47 -!- codecop [n=codecop@85.206.199.70] has quit ["Have to go"] 20:07 < _cheerios> can't even get an array sorted w/php today, not my day.. values are anything but in order :) 20:10 < Xylakant> does anyone know how to test objects for equality in php? 20:12 < Xylakant> hmm. ok, stupid question 20:14 < _cheerios> any hints as to why sorting a 2d array by key fails after the first 20 items and starts giving random results with usort? :) 20:18 < _cheerios> hmm, probably not getting the results while in an object 20:22 < _cheerios> better 21:27 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 113 (No route to host)] 22:35 < splatch`> Where is impl? 22:40 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [Nick collision from services.] 22:40 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 22:55 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 23:12 < _cheerios> lol @ mozilla browsers name in debian repos 23:13 < _cheerios> "iceape" 23:16 < Wombert> did I call these fools "gpl fascists with ugly beards and dirty fingernails" yet? 23:17 < impl> :( 23:17 < _cheerios> ice cool ones \o/ 23:23 < _cheerios> i would like to download opera for linux but operas site seems not wanting me to do so... grr 23:33 < splatch`> impl! 23:33 < impl> hy 23:34 < splatch`> impl: I shown Whisller how to use return values in actions to make "forwards" 23:35 < splatch`> 00:09:13 < impl> splatch`: Stop misusing the framework! 23:36 < splatch`> impl: i didn't do that :) 23:37 < impl> Uerm, okay 23:55 < splatch`> impl: i'll never do it :) --- Day changed Thu Feb 15 2007 00:40 < Wombert> *cough* 00:53 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 01:02 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 01:07 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 01:11 -!- Wombert [n=Wombert@dslb-084-056-011-255.pools.arcor-ip.net] has quit [Nick collision from services.] 01:11 -!- Wombert [n=Wombert@dslb-084-056-049-063.pools.arcor-ip.net] has joined #agavi 01:55 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 02:22 -!- Wombert [n=Wombert@dslb-084-056-049-063.pools.arcor-ip.net] has quit [Nick collision from services.] 02:22 -!- Wombert [n=Wombert@dslb-084-056-003-188.pools.arcor-ip.net] has joined #agavi 03:07 -!- horros [n=Miranda@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)] 04:01 -!- benny`work [n=benny@p54AC18E9.dip0.t-ipconnect.de] has quit ["unset($this);"] 04:23 -!- Wombert [n=Wombert@dslb-084-056-003-188.pools.arcor-ip.net] has quit [] 04:25 -!- shoan_ [n=shoan@59.92.141.247] has joined #agavi 04:40 -!- shoan [n=shoan@59.92.172.11] has quit [Read error: 110 (Connection timed out)] 04:57 -!- shoan [n=shoan@59.92.200.108] has joined #agavi 05:03 -!- shoan_ [n=shoan@59.92.141.247] has quit [Read error: 145 (Connection timed out)] 05:35 -!- impl [n=impl@httpcraft/php/impl] has quit [Client Quit] 05:39 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 06:12 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 08:11 < v-dogg> huomenta 08:32 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 08:32 < horros> huomenta 09:03 < horros> can I set some attributes in routing.xml? like... foo ? 09:04 < horros> aHA 09:04 < horros> parameter! 09:28 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 09:42 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 09:45 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:59 < horros> now if I only could figure out how to access that parameter... 10:03 < digitarald> ah, btw ... when chucky-release date? 10:07 < _cheerios> hiRr 10:08 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 10:11 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:11 < RossC0> good moaning 10:11 < RossC0> :) 10:14 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Nick collision from services.] 10:14 -!- horros_ is now known as horros 10:14 < digitarald> good morning ... RossC0, which mootools do u use? from svn or download from site? 10:14 < RossC0> horros: you succeded with setting params from routing? 10:14 < RossC0> download - is there an svn? 10:15 < horros> RossC0: well, I apparently succeeded in setting *SOME* parameter from routing... but I have no idea where it went and how to read it :D 10:16 < RossC0> :D 10:17 < RossC0> ah problematic ;) - I was hoping to read the url and get / set params i.e. http://mysite.com/search/$resultsPerPage/$pageNo/$searchTerm 10:17 < RossC0> was wondering if you can automagically do that in routing :) 10:19 < RossC0> digitarald: just seen the svn link on the downloads page ! - whats the news ? 10:19 -!- Arme[0] is now known as Arme[N] 10:21 < horros> hmm 10:21 < horros> isn't there some easy way to revert all changes in an svn wc? 10:21 < horros> svn revert . won't do :( 10:22 < horros> d'oh 10:22 < v-dogg> tortoisesvn does is 10:22 < horros> there's a smegging -R parameter 10:22 < v-dogg> heh 10:22 -!- MikeSeth [n=mst@192.115.27.162] has joined #agavi 10:22 < horros> nevermind me 10:22 < horros> I'm an idiot. 10:26 < MikeSeth> ÑŽÑŽÑŽ 10:27 < horros> наÑдравийе 10:27 < horros> or something 10:27 < horros> :) 10:27 < horros> раÑбираш? 10:28 < horros> Ñ Ð½Ðµ раÑбирам руÑкиий 10:28 < horros> interesting mixture of macedonian and russian there :) 10:29 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has joined #agavi 10:30 < digitarald> RossC0, some nice stuff like xpath and (hopefully) css3 selectors ... a lot faster than even jquery now :) ... 10:30 < MikeSeth> horros, ce makedonski e? ;)) 10:32 < horros> no, missus is from macedonia 10:32 < horros> :) 10:32 < horros> missus je makedonka 10:32 < MikeSeth> oh that must kick so much ass 10:32 < MikeSeth> well 10:32 < MikeSeth> if ass is your thing ;) 10:32 < horros> it kicks ass in many ways. also literally. 10:32 < horros> :D 10:32 < Arme[N]> horros: svn revert * -R ? 10:33 < horros> slavic temper and all that 10:33 < horros> Arme[N]: aye, I noticed 10:33 < Arme[N]> ow, you right :P 10:33 < horros> but thanks anyway :) 10:33 < Arme[N]> :) 10:36 < RossC0> digitarald: that in svn only? Also is there a packer / combiner script for svn? 10:38 < digitarald> http://mootools.net/download/svn 10:38 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 10:40 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [] 10:40 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has joined #agavi 10:42 < RossC0> oww those moo guys think of it all :-) 10:45 < digitarald> its hidden in the low-contrast menu ;) 10:56 < RossC0> how'd I change the template to use in a view ? 10:57 < RossC0> i.e. I have a success view and I want it to use the input template 10:58 < MikeSeth> RossC0, configure a layout in output_types.xml and load it in the view 11:12 < RossC0> hmm seems overkill - I should be able to override the content layer dynamically 11:13 < v-dogg> $this->getLayer('content')->setTemplate('AlternativeTemplate'); 11:14 < RossC0> cool :-) 11:14 < v-dogg> this is needed also when the template is not named MyActionSuccess etc. 11:27 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:27 < Xylakant> hi 11:28 < digitarald> hi Xylakant, how do u document javascript. Standard phpdoc-style ... anything to parse them? 11:29 < Xylakant> i've been considering natural doc 11:29 < Xylakant> but as of now: phpdoc style, but no parser 11:29 < Xylakant> doxygen might be an option as well 11:30 < digitarald> one big problem, in natural docs its really hard to modify the templates 11:30 < Xylakant> hmm 11:31 < digitarald> i'm trying jsdocs ... perl commandline ... u can hook it on svn and regenerate docs on every commit :) 11:31 < Xylakant> why do that? 11:31 < digitarald> and they have scriptdoc syntax 11:31 < digitarald> for mootools ... we don't like natural docs anymore :) 11:32 < Xylakant> regenerate the docs on every tag or release version, but leave them out of the repository for development versions (the api-docs, that is) 11:32 < digitarald> regenerate docs on commit ... ok ... because-we-can 11:32 < Xylakant> because-i-can has never been a valid reason to do anything 11:33 < Xylakant> i *can* slap my cow-orker in the face 11:33 < digitarald> don't slap your monkeys 11:33 < v-dogg> yet is used daily :) 11:33 < v-dogg> it 11:33 -!- Arme[N] is now known as Arme[0] 11:33 < Xylakant> v-dogg: you're right. but so is "we have never done this otherwise, so don't change the process" 11:34 < v-dogg> yes :) 11:35 < digitarald> i think its good to have an up-to-date documentation for development version online. ... so its not a 100% because-we-can 11:35 < digitarald> u really want to slap your co-workers? 11:35 < digitarald> ;) 11:35 < Xylakant> sometimes yes. 11:36 < digitarald> i want to slap clients from time to time ... 11:36 < horros> I usually don't stop at wanting to slap them. 11:36 < horros> I go as far as to wanting to strangle them and shoot them in the face at times. 11:36 < Xylakant> my "Bad Ideas, don't do this again" email series has just reached sequel 20 11:37 < Xylakant> soon i'll start my personal spin-off of the daily wtf 11:37 < digitarald> :D it will be a long mail? 11:37 < Xylakant> clients usually pay you, so living with their stupidity is far easier 11:38 < Xylakant> if it gets too hard, the just get a bonus on the bill 11:39 < Xylakant> digitarald: no, the misstake was short, sweet and straight to missing the point of the exercise 11:39 -!- Arme[0] is now known as Arme[N] 11:39 < Xylakant> 20 lines maybe 11:40 -!- Arme[N] is now known as Arme[0] 11:40 < digitarald> 20 lines bad practice 11:40 < Xylakant> you don't need a lot of code to screw up royally 11:40 < Xylakant> it was something along the lines of "check wether the user has the required credentials" 11:41 < Xylakant> "well, he doesn't" 11:41 < Xylakant> "oh heck, let's insert that row anyways" 11:41 < Xylakant> that's gold standard. 11:41 < Xylakant> i'd accept no less 11:42 < horros> hehe, we had quite a funky fuckup :) 11:42 < horros> more in the line of "user wants to do task A", "ok, check for a completely random credential" 11:42 < horros> :) 11:43 < digitarald> Xylakant: jsdocs example output http://dev.digitarald.de/docs ... geeky style :) 11:43 < Xylakant> well, i can accept misstakes, they just happen. they may be funny sometimes or stupid another time. but sometimes, it just looks like deliberate idiocy 11:44 < Xylakant> digitarald: any java developer instantly feels at home. 11:44 < horros> Xylakant: you should see our "dynamic forms" generator 11:44 * horros shakes head in sadness 11:45 < horros> I've tried to fix something in it a couple of times and ended up breaking everything 11:45 * horros shakes head in sadness again 11:45 < digitarald> ok, lets tune the templates ... cut the font tags, make it strict 11:46 < horros> hahha 11:46 < horros> "At the company Bryan worked for, they didn’t just use MUMPS, they used it cleverly. Partially as a result of MUMPS’ limitation and partially because they had all gone insane" 11:47 < Xylakant> great article 11:48 < Xylakant> thedailywtf sometimes is the last resort when you're drowning in despair. everything around here looks so bright after reading a few classics... 11:50 < horros> true that 11:50 < horros> makes you feel so much less miserable :) 11:56 < RossC0> btw - theres a jsDoc-2 all JS: http://code.google.com/p/jsdoc-2/ it was created to answer some of the Js-Doc problems 12:01 -!- eremit [n=eremit@p5490C675.dip.t-dialin.net] has joined #agavi 12:03 < ttj> FFS, how do I go about if I want to do the same simple thing as loading a template and having a decorator with these new layer-gadgetwidgetslot-thingies. :P 12:07 < RossC0> http://groups.google.com/group/agavi-users/browse_frm/thread/6e1a1033b4b8b77c - check out the standard layout 12:15 < ttj> Hmm... Might as well subscribe to the list... 12:18 -!- shoan [n=shoan@59.92.200.108] has quit [Remote closed the connection] 12:19 < RossC0> :-) 12:20 < _stachu> hi all 12:20 < _stachu> i have problem with agavi ... 12:21 < _stachu> when im trying to login (default agavi module) my apache server dosen't work 12:21 < _stachu> it uses a most of my RAM and then shut down... 12:21 < _stachu> I see this problem always when im validating data (in diffrent module,s actions where im using xml validation file) 12:21 < Arme[0]> RossC0: hi :) 12:22 -!- Arme[0] is now known as Arme[N] 12:22 < _stachu> Can you show me the way how to fix it? 12:22 < _stachu> i thought that is apache fault but i have the same problem in IIS 12:28 < RossC0> hi 12:28 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 12:29 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 12:29 -!- Arme[N-1] is now known as Arme[N] 12:29 < RossC0> _stachu: ok what version of php, I take it on a windows box, what version of apache 12:29 < Arme[N]> RossC0: did you try agavi with DB_DataObject ? 12:29 < _cheerios> maybe a different/newer version of libxml, if it's xml related at all. 12:30 < _stachu> Apache 2.0.52 12:30 < _stachu> PHP 5.0.3 12:30 < RossC0> Arme[N]: DB_DataObject ? 12:30 < MikeSeth> Arme[N], I use it 12:31 < MikeSeth> I wrote an adapter for it 12:31 < MikeSeth> Want it? 12:31 * RossC0 use Doctrine 12:31 < Arme[N]> RossC0: okey thanks :) 12:31 < Arme[N]> MikeSeth: do you have any examole code? 12:31 < Arme[N]> example* 12:31 < RossC0> MikeSeth - could you put a ticket in for that? - hopefully it can be added to 1.0 12:32 < MikeSeth> Arme[N], yeah sure 12:32 < MikeSeth> RossC0, yeah I will I just want to shape it up a lil bit its just a hack 12:32 < MikeSeth> because of how DB_DataObject works early initialization is needed sometimes 12:32 < MikeSeth> Arme[N], sec 12:33 < Arme[N]> then god bless you 12:33 < Arme[N]> :D 12:34 < _stachu> libxml 2.6.22 12:35 < Arme[N]> I have lots of codes with DB_DataObject and it will take too much time to port to propel, so DB_DataObjec really coulde be helpful 12:35 < MikeSeth> Arme[N], http://pastebin.ca/356915 <- adapter code itself 12:35 < _stachu> everything works fine without validation files 12:35 < Arme[N]> s/DB_DataObjec/DB_DataObjec Integriation with agavi/ :P 12:35 < Arme[N]> MikeSeth: thanks :) 12:36 < MikeSeth> http://pastebin.ca/356918 <- example database.xml 12:36 < MikeSeth> er 12:36 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 12:36 < MikeSeth> Arme[N], strike that last, wrong file 12:37 < MikeSeth> Arme[N], http://pastebin.ca/356919 <- the right one 12:37 < _cheerios> mm, interesting. 12:37 < MikeSeth> Arme[N], note that if you dont use MDB2, you will have to install it and its mysql driver 12:38 < RossC0> MikeSeth: so's my Doctrine - which reminds me I put a reminder to update 12:38 < MikeSeth> (you can use any supported driver) 12:38 < Arme[N]> no I'm useing MDB2, thanks a lot 12:39 < MikeSeth> if you hack on it, lemme know me@mikeseth.com 12:39 < Arme[N]> sure 12:40 < RossC0> _stachu: hmm works for me with: php 5.2.0 and libxml: 2.6.26 12:40 < RossC0> can you update your php? 12:40 < RossC0> and check? 12:40 < _stachu> ok 12:40 < MikeSeth> Arme[N], I actually find Agavi extremely useful for refactoring legacy macaroni applications 12:41 < MikeSeth> using routing tricks allows you to gradually migrate legacy functionality into Agavi application without your lusers even noticing 12:41 < _cheerios> any reason you use dbd over propel? 12:41 < MikeSeth> me? 12:41 < _cheerios> ye 12:41 < MikeSeth> Yes. Cuz the app I work on was abandoned by the original developers long before propel was even started. 12:42 < MikeSeth> also, I personally find propel too javaish for my taste. Doctrine is as close as it gets but in this particular project i am not about to throw out a working codebase 12:43 < Arme[N]> yeah 12:45 < RossC0> hmm - in output_types can I dynamically reference the current module when adding a template 12:45 < v-dogg> hm? 12:46 < RossC0> as I want to set a layout that called subMenu and the menu layer should include the %%Action%%/Menu 12:47 < RossC0> * that really should be subAction/Menu 12:48 < v-dogg> setTampone('subAction.Menu') should work 12:49 < v-dogg> ah, it's speled Tampon :) 12:49 < RossC0> :) 12:49 < RossC0> heres my layout 12:49 < RossC0> http://pastie.caboo.se/40478 12:49 < v-dogg> and spel is actually spelled with two l 12:50 < v-dogg> I think subAction.Menu works 12:50 < RossC0> initally I had it for my Profiles subaction so the template was: Profiles/Menu and thats cool - but now I want the same layout for my Search subaction 12:50 < v-dogg> that's how you use it in the view at least 12:50 < RossC0> Template "subAction.Menu" could not be found. 12:50 < v-dogg> how about subaction/menu 12:51 < RossC0> nope :( 12:51 < v-dogg> hmph 12:52 < RossC0> it might not have any dynamic parsing in output_types.xml for this 12:52 * RossC0 diggs in the code 12:52 < v-dogg> uhm wait.. what did you have in the config? 12:53 < RossC0> in output_types ? 12:53 < v-dogg> yep 12:54 < RossC0> initally it was hard coded to Profile/Menu - but I want to make the Profile part dynamic 12:54 < v-dogg> ah, got it 12:54 < v-dogg> I don't think that's possible 12:54 < RossC0> :-) 12:55 < RossC0> hmm - boo :-( 12:55 < v-dogg> didn't understand your question first. sorry about the confusing tips :) 13:00 < RossC0> ah it wasn't phrased well - my fault 13:07 < _stachu> haha 13:07 < _stachu> i got it 13:07 < _stachu> reason = charset 13:07 < _stachu> RossC0: it works when language is english but not polish 13:07 < _stachu> i had the same problem with agaviformpopulationfilter 13:08 < _stachu> i used iconv to fix it 13:08 < _stachu> try login in polish language - is it working? 13:10 < _stachu> when i had this problem with filter it was showing exception 13:10 < RossC0> yup polish works for me - wait let me svn up 13:11 < _stachu> showing - throwing 13:11 < RossC0> yeap - with latest svn not erroring :-S 13:13 < _stachu> eh 13:15 < _stachu> my mistake 13:15 < _stachu> i renamed validation folder ... 13:16 < RossC0> :-/ 13:17 < RossC0> cool - at least its sorted :) 13:22 -!- digitarald [n=Miranda@224.Red-83-55-28.dynamicIP.rima-tde.net] has joined #agavi 13:24 * v-dogg is about to start crying again... 13:24 * Xylakant pats v-doggs back 13:25 * Xylakant hands v-dogg a large towel for the tears 13:29 * RossC0 places bucket under v-dogg's weeping head 13:33 < _stachu> RossC0: i have tried launch agavi on php 5.1.5 , 5.2.1 and 5.0.3 ... 13:33 < RossC0> sorry its still not working? 13:33 -!- _stachu is now known as _stachu_aw 13:34 -!- shoan [n=shoan@59.92.140.73] has joined #agavi 13:37 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 13:37 < Whisller> Hi all. 13:38 < Whisller> ->isValueEmpty chec if value is empty, but which value? from where :> from form? 13:39 * digitarald feels so dirty when he writes php code w/o framework ... 13:54 < v-dogg> ah, svn... 13:54 < v-dogg> luvly 13:54 < v-dogg> The Rescuer 14:00 < digitarald> ha, utf8 in eclipse ... he shows useless chararacters because i write arabîya 14:10 < v-dogg> kaaaaaoooooooosssss, ... - - - ... 14:13 < RossC0> whats up v-dogg? 14:24 < _cheerios> http://www.youtube.com/watch?v=LD5sahXoj0U Amy Winehouse - rehab 14:24 < v-dogg> validator questions 14:25 < v-dogg> I figured out what the problem was and everything works now, but I want to go thru this one more time with kaos 14:31 < _cheerios> 'user_delete_comment' => $script_name == 'profile' && $b['user'] == $VAR[4] && $GLOBAL_COMMENTS['user'] != $VAR[4] ? 1 : 0, 14:31 < _cheerios> ... :p 14:37 < v-dogg> ehm.. what? 14:37 < v-dogg> :) 14:37 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 14:38 < _cheerios> the crap i have to convert. i'd come off more sane being an alcoholic. 14:39 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 14:42 -!- shoan_ [n=shoan@59.92.137.223] has joined #agavi 14:45 < MikeSeth> Arme[N], my stuff work? 14:46 -!- shoan [n=shoan@59.92.140.73] has quit [Read error: 60 (Operation timed out)] 14:47 < Arme[N]> MikeSeth: i didn't test it yet 14:48 < Arme[N]> I have some todo works after that I'll test it and I'll catch you :) 14:54 -!- shoan [n=shoan@59.92.144.20] has joined #agavi 15:00 -!- shoan_ [n=shoan@59.92.137.223] has quit [Read error: 60 (Operation timed out)] 15:09 < MikeSeth> k 15:09 < MikeSeth> evilmeow@gmail.com <- msn 15:12 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 15:16 -!- shoan_ [n=shoan@59.92.144.20] has joined #agavi 15:19 -!- Wombert [n=Wombert@dslb-084-056-044-253.pools.arcor-ip.net] has joined #agavi 15:28 -!- Wombert [n=Wombert@dslb-084-056-044-253.pools.arcor-ip.net] has quit [Nick collision from services.] 15:28 -!- Wombert [n=Wombert@dslb-084-056-003-059.pools.arcor-ip.net] has joined #agavi 15:29 -!- Wombert [n=Wombert@dslb-084-056-003-059.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 15:30 -!- shoan [n=shoan@59.92.144.20] has quit [Read error: 110 (Connection timed out)] 15:30 -!- Wombert [n=Wombert@dslb-084-056-026-116.pools.arcor-ip.net] has joined #agavi 15:32 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:32 < MrJeep> morning 15:33 < MrJeep> anyone wanna see how it is in quebec today ? 15:33 < MrJeep> we had the biggest snowstorm since a while 15:33 < Wombert> oO 15:33 < Xylakant> i trade against rain 15:34 < MrJeep> no you don't 15:34 < MrJeep> let me take some pictures 15:34 < Xylakant> shure i do - at least for a couple of days 15:34 < Xylakant> haven't had any real snow this winter and i'd love to get some before the winter is over 15:35 < Xylakant> or - it could all of a sudden get sunny and stop raining, so that i can take my new bike for the first ride. 15:35 < Wombert> yeah our winter sure was a crappy one 15:36 < Xylakant> weather absolutely has to be perfect for the first meeting ;) 15:36 < Xylakant> Wombert: where are you located? 15:37 < Wombert> munich 15:37 -!- shoan_ [n=shoan@59.92.144.20] has quit [Read error: 113 (No route to host)] 15:39 < Xylakant> hmm 15:39 < Xylakant> you at least had some snow :) 15:39 < Wombert> mmmh 15:40 < Wombert> _stachu_aw: agavi doesn't work on 5.0.3 15:40 < digitarald> i have 18C ... really nice sunny weather ... 15:40 < Wombert> I'm surprised it started at all 15:40 < Wombert> what agavi version is that? 15:44 * ttj stabs Wombert in the eye. :-( 15:45 < splatch`> oi! :) 15:47 < MrJeep> http://mrjeep.dyndns.org:81/Temp/Winter/ 15:47 < MrJeep> nobody would trade rain for this 15:48 * digitarald is dreaming ... 15:49 < MrJeep> video's comming 15:49 < digitarald> i want my winter! fuck climate change ... 15:49 < MrJeep> a friend of my dad, which live with us actually, wasent able to get his car at home. He had to let it down the street 15:50 < digitarald> this is your home there? 15:50 < MrJeep> yeah 15:50 < digitarald> with a boat parked in the garden 15:50 < digitarald> beautiful ... 15:50 < MrJeep> we don't do much boating anymore 15:56 < MrJeep> anyone here's using a 22" widescreen monitor ? 15:58 < Wombert> what's up, ttj 15:58 < Wombert> 20" widescreen 15:58 < ttj> Was supposed to get something done today, then I switched to RC2 yesterday and now I'm porting all the code over. :-( 16:00 < MrJeep> i'm wondering if there is a lot of difference with 22 and 19 16:00 < MrJeep> if it worth it 16:00 < Wombert> I have a 20" wide with 1680x1050 16:00 < Wombert> it's a dell 2007fpw 16:00 < Wombert> very very good monitor 16:00 < Wombert> and cheap 16:00 < MrJeep> 1680! wow 16:00 < ttj> Now, what I'd like to know, is RC2 anywhere near the final .11 release (i.e. will I get to do this annoying porting stuff anytime soon again)? :P 16:00 < Wombert> ttj: absolutely 16:00 < Wombert> and I really mean it 16:01 < Wombert> this is it for now 16:01 < ttj> Yay! \o/ 16:01 < Wombert> no changes since rc2 are breaking I think 16:01 * ttj refrains from stabbing Wombert again. :-) 16:01 < Wombert> MrJeep: all monitors >= 20" have 1680x1050 16:01 < Wombert> and I must say 16:01 < Wombert> I wish mine had a higher resolution 16:01 < Wombert> don't buy a 22" 1680x1050 16:01 < Wombert> the pixels are the size of elephants then 16:02 < Wombert> useless 16:02 < Wombert> if any, try to get a 1920x1200, but these don't start before 24" I think 16:02 < Wombert> and buy one with a dvi input 16:02 < Wombert> and don't buy a TN panel 16:02 < MrJeep> http://www.futureshop.ca/catalog/proddetail.asp?logon=&langid=EN&sku_id=0665000FS10078295&catid=22335&test%5Fcookie=1 16:02 < MrJeep> i was looking for this 16:02 < MrJeep> but.. like u said 16:02 < Wombert> most of the cheap ones, and all of the 22" are TN usually 16:02 < MrJeep> pixels are so big 16:03 < Wombert> not good, MrJeep 16:03 < Wombert> look at the response time 16:03 < Wombert> 5ms 16:03 < Wombert> means it's a TN panel 16:03 < MrJeep> tn ? 16:03 < Wombert> there's TN, PVA and IPS 16:03 < Wombert> TN sucks, but is fast ( = for gamers) 16:03 < Wombert> PVA is good 16:03 < Wombert> IPS usualyl are best 16:03 < _cheerios> i used to play quake fine with a 16ms response time tft 16:04 < Wombert> color reproduction and all 16:04 < Wombert> MrJeep: really... TN panels only have 16.2 million colors, you have stripes in gradients, all that stuff 16:04 < Wombert> if you move the head a little up or down,the colors are wrong immediately 16:04 < Wombert> you can't use that for work or designing 16:05 < MrJeep> just like my current monitor 16:05 < _cheerios> just don't be a photoshop-monkey 16:05 < MrJeep> it's not that bad however.. 16:06 < Wombert> uh wtf 16:06 < Wombert> dell canada doesn't have the 20" and 24" widescreen oO 16:08 < Wombert> MrJeep: http://prad.de/en/monitore/review-dell-2007wfp.html 16:08 < kaos> v-dogg: shoot ^^ 16:08 < Wombert> the problem they point out about the interpolation of smaller resolutions has been fixed in newer versions 16:10 < Xylakant> we use those at work for the gfx guys 16:10 < Xylakant> beautiful 16:11 < Wombert> a friend of mine worked for a big creative agency and they always only used dells 16:11 < Wombert> with some few exceptions 16:11 < Wombert> plug in, switch on, colors perfect, next please 16:11 < Wombert> like that ;) 16:12 < MrJeep> how much is it ? 16:13 < Xylakant> for my private desk, i'm considering this one http://prad.de/en/guide/screen1286.html 16:13 < MrJeep> hum nice one 16:15 < Xylakant> bit expensive though. 16:16 < Xylakant> the 30" is cool as well, but you have to be like a mile away to see the whole screen - more a TV than a monitor 16:16 < Wombert> the 23" has horrible pink tint I heard 16:16 < Wombert> I'd wait until they release new ones tbh... 16:16 < Wombert> the panels have recently been upgraded, but stil... 16:17 < Wombert> and it's only dvi, of course 16:17 < Wombert> MrJeep: the dell is... uhm... no idea 16:17 < Wombert> the normal 20" is 449CAD 16:17 < Wombert> the widescreen is a bit cheaper 16:17 < Wombert> I'm guessing 399 16:17 < Wombert> but 16:17 < Wombert> dell always has promotions 16:17 < Wombert> where you save 25% or more on monitors for a month 16:17 < Xylakant> Wombert: the 23" i've been looking at had no tint ;) 16:17 < Wombert> still, the problem is that they don't have it in the store 16:18 < MrJeep> 399 is right 16:18 < Wombert> maybe dell usa ships to canada 16:18 < MrJeep> http://accessories.dell.com/sna/category.aspx?c=ca&category_id=4009&cs=CADHS1&l=en&s=dhs <-- Looking at this right now 16:18 < Wombert> http://accessories.dell.com/sna/productdetail.aspx?c=us&l=en&s=dhs&cs=19&sku=320-4688 16:19 * RossC0 waves 16:19 < Wombert> uh 16:19 < Wombert> MrJeep: http://www1.ca.dell.com/content/topics/reftopic.aspx/gen/promos/en/snp/snp_flatpanel?c=ca&cs=CADHS1&l=en&s=dhs&~ck=ticker&~lt=popup 16:19 < Wombert> odd 16:19 < Wombert> but the 2007WFP is not available 16:20 < Wombert> MrJeep: call them 16:21 < Wombert> they probably ran out of 2007wfps and now they took them offline so they save money (because of the 40$ off thing) 16:21 < MrJeep> by the way, with the samsung, 5ms is an excellent response time right ? 16:22 < Wombert> yes but it really doesn't matter 16:22 < Wombert> even with games, it doesn't matter 16:22 < Wombert> I play 3d shooters on the dell which has... 16ms or so 16:22 < Wombert> no problem 16:22 < Wombert> 5ms, 8ms etc are only possible with TN panels 16:22 < Wombert> and TN panels are not good for movies or work 16:22 < kaos> actually my lcd tv is slower then that dell 16:22 < RossC0> Wombert: can I set parameters in routes? 16:23 < kaos> RossC0: yes, by "misusing" the defaults 16:23 < RossC0> if so can I dynamically set them based on parts of the url i.e. myapp/search/viagra and set viagra to $search 16:23 < Wombert> zevalue 16:23 < Wombert> they won't be added to the route during generating 16:23 < Wombert> unless "lala" is in the pattern, of course 16:23 < Wombert> uuuhm RossC0 that's the whole point of routing :) 16:24 < Wombert> 16:24 < Wombert> like that? 16:25 < RossC0> hmm - cool 16:25 < Wombert> or what do you mean 16:25 < Wombert> a good example how to structure routes properly: 16:26 < RossC0> well I want multiple parts to split up 16:26 < Wombert> like? 16:26 < RossC0> i.e: search/$noResults/$pageNo/$searchTerm 16:26 < RossC0> so may be search/10/1/viagra 16:27 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has quit ["nebera."] 16:27 < RossC0> which would search for 'viagra', display 10 results per page, starting page 1 16:27 < Wombert> 16:27 < Wombert> 16:27 < Wombert> 16:27 < Wombert> 16:27 < Wombert> 16:27 < Wombert> I would have the search term first so the others can be optional 16:28 < RossC0> yeah 16:28 < RossC0> good point 16:28 < Wombert> okay 16:28 < Wombert> easy 16:28 < RossC0> this is what I like to hear :-) 16:28 < MrJeep> http://accessories.dell.com/sna/productdetail.aspx?c=us&l=en&s=dhs&cs=19&sku=320-5205 I guess this one is TN too .. 16:28 < MrJeep> 269, so cheap 16:29 < Wombert> MrJeep: yes, don't buy these cheap ones 16:30 < Wombert> 16:30 < Wombert> oh wait 16:30 < Wombert> 16:30 < Wombert> this way 16:30 < Wombert> page and count are optional, hence the ? 16:30 < RossC0> jebbus - thats cool 16:30 < Wombert> since they are optional, we must have their slashes in the capturing part of the pattern 16:31 < Wombert> to prevent the slash from being in the parameters (count or page), we must use pre and postfixes 16:31 < Wombert> that's done using curly braces 16:31 * RossC0 hugs Wombert 16:31 < Wombert> I believe you have to set some defaults, too, in this case 16:32 < RossC0> no worries - didn't know about the default 16:32 < Wombert> 16:32 < Wombert> /{} 16:32 < Wombert> /{} 16:32 < Wombert> 16:32 < Wombert> let me know if that works 16:32 < RossC0> will do :-) 16:32 < kaos> * RossC0 hugs Wombert <-- that's my hug :< 16:32 < kaos> MIIIINEEEE 16:33 < kaos> you don't need the defaults tho 16:33 < Wombert> kaos did all this 16:33 * RossC0 hugs kaos 16:33 < Wombert> I just told him how I wanted it and he freaked out every time 16:33 < Wombert> BUT 16:33 * RossC0 sharing the agavi <3 16:33 < kaos> as long as you only use non regex chars in your pre/postfix 16:33 < Wombert> I think I found a problem htere with the stuff above 16:33 < Wombert> let me see 16:33 < kaos> it will automatically create the default pre/postfix 16:34 < Wombert> RossC0: maybe try [^/]+ instead of \w+ for the term 16:34 < RossC0> yup for urlencoded chars 16:34 < Wombert> it urlencodes for you when you do gen() btw 16:35 -!- Arme[N] is now known as Arme[0] 16:35 < RossC0> sweet - now I have to go some jiggery pokery when I post the form so it redirects to the nice url 16:35 < Wombert> can't you use gen() in the form? 16:35 < Wombert> aah because of the slashes 16:35 < Wombert> mmmh 16:35 < Wombert> I see 16:36 < RossC0> yeah - I wanted 100% nice urls and not ?term=blah 16:36 < _cheerios> digg users are a bunch of retards.. did you guys check out how much they spammed Yahoo's site? 16:36 < _cheerios> http://suggestions.yahoo.com/?prop=autos 16:39 < RossC0> wooohhooo! 16:40 < RossC0> it works like a dream :-) 16:40 < Wombert> RossC0: and then 16:40 < Wombert> $ro->gen('search', array('term' => 'lala')); 16:40 < Wombert> $ro->gen('search', array('term' => 'lala', 'count' => 1234)); 16:40 < Wombert> would work, but 16:40 < Wombert> the generated url wouldn't match 16:44 < RossC0> yeah - it auto adds the page and the count, even if not set - but thats no a real biggie - as works and its hackable 16:45 < Wombert> it auto adds? oO 16:45 < RossC0> yup 16:46 < RossC0> 16:47 < kaos> add them to the ignores to prevent that (i think) 16:47 < kaos> but that would prevent them being set in the request data too i think :p 16:47 < Wombert> ignores are so matched args don't show up in the request data 16:47 < kaos> well, i'm not 100% sure how i did it when there is ignore and default 16:48 < RossC0> ah I lie 16:48 < RossC0> $ro->gen('search.content', array('term' => 'wibble') 16:49 < RossC0> will auto add the page and the count if they exist in the url 16:49 < RossC0> which is wierd 16:51 < RossC0> but will use the defaults if they exist - so thats cool 16:51 < Wombert> hmmm 16:52 < Wombert> kaos: is that a bug 16:53 < kaos> no 16:53 < kaos> thats by desing 16:59 < kaos> it's related to the storage of the defaults/the stuff which gets matched (which gets stored to the defaults) 16:59 < _cheerios> it's not a bug, it's a feature *chuckle* 16:59 < kaos> and no, it wont change 16:59 < kaos> there are already like 3 different arrays which store all the different parameter possibilities in the routing 17:04 -!- Arme[0] is now known as Arme[N] 17:08 -!- codecop [n=codecop@85.206.207.167] has joined #agavi 17:13 < _cheerios> http://www.pantherhouse.com/newshelton/we-give-a-shit-about-having-fun/ 17:17 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"] 17:25 -!- Arme[N] is now known as Arme[0] 17:34 -!- E_mE [n=E_mE@81.168.18.2] has joined #agavi 17:36 < RossC0> Wombert: did you see my q regarding dynamic output_types? 17:37 < RossC0> I'll paste my output_types.xml - 2 tics 17:37 < Wombert> cool 17:37 < RossC0> http://pastie.caboo.se/40523 17:38 < RossC0> basically I want to merge into a generic subMenu layout - which will cater for both instances - as I will gave more as the app grows 17:38 < RossC0> * add more as the app grows 17:38 < RossC0> problem is it looks for the template in my Action dir and not the subAction dir 17:39 < RossC0> hence the Search/Menu 17:41 < Wombert> errrr 17:41 < Wombert> why do you have these two layouts? 17:41 < Wombert> I mean 17:41 < RossC0> this isn't currently possible with out splitting into different layers OR manually setting the menu template in the view 17:41 < Wombert> they are identical except for the template of the menu layer!? 17:41 < RossC0> yup - they both have different menus 17:41 < Wombert> but 17:41 < Wombert> hmm 17:41 < Wombert> shouldn't you use a slot for the menu 17:42 < Wombert> instead of a layer 17:42 < RossC0> hmm - maybe :-) 17:42 < RossC0> probably 17:42 < Wombert> in the decorator 17:42 < RossC0> definately :-) 17:42 < Wombert> 17:43 < Wombert> of course, you still need to figure out a way to determine _which_ menu to show 17:43 < RossC0> also - my master template doesn't necessarily have a menu slot 17:43 < Wombert> the sample app uses a slot for the menu, maybe look at that to get started 17:43 < Wombert> ah so it's only sometimes 17:43 < Wombert> like a related actions menu? 17:43 < Wombert> hmm okay 17:43 < Wombert> you could do two things 17:44 < Wombert> or 17:44 < Wombert> hmm 17:44 < RossC0> the wierd thing is - when I used extension it automatically checks the subAction dir 17:44 < RossC0> i.e. for the wrapper discussed yesterday 17:45 < Wombert> you want it to look inside the action's template dir? 17:45 < Wombert> right now it looks in Profile/Menu, right? 17:45 < Wombert> modules/Default/templates/Profile/Menu.php 17:46 < RossC0> yeah 17:46 < Wombert> for? ProfileSuccessView ? 17:46 < RossC0> ProfileSuccess & ProfileInput 17:46 < Wombert> hmmmmmh 17:46 < Wombert> lemme see 17:47 < RossC0> basically - I have the wrapper which has the slots of: Profile.view / profile.edit etc.. 17:48 < Wombert> well that's not possible really 17:48 < RossC0> which uses js to toggle display 17:48 < Wombert> what I could offer you is ProfileSuccess.menu.php or so 17:48 < Wombert> but not Profile.menu.php 17:48 < Wombert> or something like that 17:48 < RossC0> however, no js and it directs to the action directly - which needs a menu 17:48 < Wombert> is that menu always in the same spot? 17:49 < RossC0> ah but then I would need x number of menus 17:49 < Wombert> and you need different menus for some of the actions, but not all of them? 17:50 < RossC0> subActions - may have an action specific menu i.e. Profile has its own menu. Search has its own menu. But view Content doesn't need a menu 17:54 < Wombert> and what does that menu display 17:54 < RossC0> Profile Menu displays - links to the 3 Profile Actions 17:55 < RossC0> at the moment: View, Edit, ResetPassword 17:55 < RossC0> Search displays links to: content, category, people actions 17:55 < RossC0> *search meni 17:56 < RossC0> *menu ! 17:58 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 17:59 < _cheerios> weee 17:59 < RossC0> this expected behaviour: 17:59 < RossC0> http://mysite.com/search/viagra - runs executeWrite() 17:59 < RossC0> http://mysite.com/search/viagra/ - does defaultView 17:59 < RossC0> or is that my routing? 18:04 < Wombert> back 18:04 < Wombert> RossC0: can you show me your routing.xml 18:05 < Wombert> if you can, the complete one, then I can look over it a bit in general and see if all is okay 18:06 < RossC0> http://pastie.caboo.se/40532 18:07 < RossC0> currently - playing with the search.content route 18:07 < Wombert> olay 18:07 < Wombert> okay 18:08 < Wombert> first, that nestinf of routes is a bit problematic 18:08 < Wombert> the issue is that all the parent routes already point to actions, but aren't anchored at the end 18:08 < Wombert> of course you can't anchor them at the end, since they contain children 18:08 < Wombert> example: mysite.com/search-mysite-com-sucks 18:08 < Wombert> will call Search.Index 18:09 < Wombert> simple solution: 18:10 < RossC0> ah - see what you mean 18:11 < Wombert> http://pastie.caboo.se/40534 18:11 < Wombert> note the leading dot in action attributes, they work just like with the names 18:12 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi 18:12 < Wombert> but it's correct to nest routes 18:12 < Wombert> do it as often as possible 18:12 < Wombert> it drastically improves performance 18:12 < Wombert> now what search/viagra/ does is... match nothing! 18:12 < Wombert> and then your 404 aciton is shown 18:12 < Wombert> I guess 18:13 < Wombert> you can use the constraint attribute to specify request methods a route should be valid for, by the way 18:13 < Wombert> in case you need that 18:14 < RossC0> constraint? 18:14 < Wombert> well yeah "method" was already taken since it *sets* a request method 18:15 < Wombert> the name sucks, I know 18:15 < Wombert> kaos: we could use method_s_ for that... 18:15 < kaos> uuuh 18:15 < RossC0> you got an example of that? 18:15 < Xylakant> uh. prone to typing errors easily overlooked 18:15 < Wombert> but that's just as ambiguous 18:15 < RossC0> hmm search also 404's 18:15 < Xylakant> perhaps contrain_to_methods 18:15 < Xylakant> con*s*train_to_methods 18:15 < Wombert> that exceeds our seven meters max length for attribute names :p 18:16 < Xylakant> a bit verbose, but you don't type that too often 18:16 < Wombert> we thought about it the other way round back then 18:16 < Wombert> because the general issue is 18:16 < Wombert> some attributes are used for input settings 18:16 < Wombert> and others are used to set things 18:16 < Wombert> name, pattern etc are input 18:17 < Xylakant> unrelated but interesting: did you know that agavi does not even start up in dev mode when the memory limit it < 10 MB 18:17 < Wombert> output_type, action etc are output, so to say 18:17 < Wombert> Xylakant: haha yeah that could be 18:17 < Wombert> compiling configs eats huge amounts of memory 18:17 < Wombert> did you manage to nail down the session problem 18:18 < Wombert> RossC0: yeah sure you now need /saerch/ 18:19 < Wombert> and generate using search.index 18:20 < _cheerios> session problem? 18:22 < RossC0> I eased it up a little: - just because people can be lazy 18:23 < Xylakant> To make this worse: on 64bit architectures, the limit is even higher (somewhere around 16MB) 18:23 < kaos> Xylakant: is this with use_translation on or off ? 18:23 < Xylakant> with translation on 18:24 < kaos> well, no wonder then :) 18:24 < Xylakant> increasing the limit is fine with me, but it's perhaps a point to note 18:24 < kaos> yeah, should definitly be noted somewhere 18:24 < RossC0> cool thanks Wombert - thats nailed them down 18:25 < kaos> but there will be some improvements to the overall handling of the i18n data internally in 1.0 18:25 < Wombert> to be perfectly honest 18:25 < Wombert> I don't give a damn about how slow or memory intensive development mode is 18:25 < Xylakant> could there be an option to "precompile" the configs 18:25 < kaos> it doesn't matter 18:25 < kaos> yeah 18:26 < Xylakant> for deployment 18:26 < Xylakant> i don't care either wombert, however the same problem applies on you *first* request in production 18:26 < Xylakant> and if you run against the limit, the compilation either fails or even worse leaves a broken file behind 18:27 < Xylakant> so you need to make shure that the first request runs properly 18:27 < kaos> we were thinking about completely removing the config building when in production me some long time ago 18:27 -!- benny`work [n=benny@p54AC3299.dip0.t-ipconnect.de] has joined #agavi 18:28 < kaos> but that would need some code to compile all the stuff first 18:28 < kaos> i think me said we wanted that for 1.0 maybe, right Wombert ? 18:31 < Wombert> very maybe 18:31 -!- E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection] 18:31 < Wombert> you still need the memory either way 18:31 < Wombert> you can't compile on a different machine or so 18:31 < Wombert> in most cases 18:32 < Wombert> in fact, you can't compile any config 18:32 < Wombert> since you can't compile autoload.xml 18:32 < kaos> well, you can, in theory 18:32 < Xylakant> but i can set a different memory limit for a shell process 18:33 < Wombert> yes, okay, we might look into that 18:33 < Wombert> we wanted to do it anway for production mode 18:33 < Wombert> so it wouldn't even check modified configs 18:33 < Wombert> but too many people started whining 18:33 < v-dogg> me being one of them 18:33 < Xylakant> for me, that feature is not important 18:34 < kaos> you'r finnish, that doesn't count :p 18:34 < v-dogg> because you planned to make config building a phing task 18:34 < Xylakant> i just think that the manual should have a *BIG* *RED* *BOX* saying that... 18:34 < Wombert> why 18:34 < Wombert> I mean 18:34 < Wombert> what's so difficult to understand about "memory limit exceeded" 18:35 < kaos> and in 5.2 the default memory limit is 64mb anyways 18:35 < Xylakant> warnings off, white page 18:35 < v-dogg> whoaa? 18:35 < kaos> iirc 18:35 < kaos> (or was that 6.0 ?) 18:35 < v-dogg> I think I have 16 now :) 18:35 < Xylakant> the default memory limit that came with my installation was 8MB 18:37 < Wombert> Xylakant: warnings off... uuhm... 18:37 < kaos> http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?revision=1.209&view=markup <--ok, its 128mb now \o/ 18:37 < v-dogg> hehe 18:37 < v-dogg> they keep altering as the development of php6 goes on :) 18:38 < v-dogg> next week: 256, the first stable release: 1024 18:38 < kaos> :D 18:38 < kaos> http://groups.google.com/group/symfony-devs/browse_frm/thread/eabca4fb0d3af8 18:38 < kaos> they talk about you v-dogg 18:38 < kaos> :p 18:39 < v-dogg> hehee 18:40 < v-dogg> frankly, I can't be bothered to email him and start to figure out what they should do 18:40 < Wombert> haha 18:40 < Wombert> I think I could send fabien another license for it 18:40 < kaos> lol :p 18:40 < Wombert> which restricts them to a very old revision :D 18:41 < kaos> well, you would need to amend that 18:41 < Wombert> so they can't use recent changes 18:41 < Wombert> but 18:41 < kaos> since its based on the creolestorage 18:41 < Wombert> did they copy changes since? 18:41 < kaos> well, that author comment was _wrong_ 18:41 < kaos> since its the creolestorage 18:41 < kaos> with s/creole/pdo/ 18:41 < Wombert> http://www.symfony-project.com/trac/changeset?new=trunk%2Flib%2Fstorage%2FsfPDOSessionStorage.class.php%402986&old=trunk%2Flib%2Fstorage%2FsfPDOSessionStorage.class.php%402971 18:41 < Wombert> WTF 18:42 < kaos> yes 18:42 < kaos> he probably saw that its a 1:1 copy of the creole storage 18:42 < kaos> and thought 18:42 < kaos> vive la france 18:42 < kaos> ce le moi 18:42 < kaos> Moooooooiiiiiiiiiii 18:42 < kaos> :D 18:42 < v-dogg> :D 18:43 < RossC0> :-S 18:43 < kaos> tbh 18:43 < kaos> i couldn't be bothered less 18:44 < _cheerios> /* i modified this comment */ and then you can add @author MEMEME! on top of everyone else :) 18:44 * Xylakant starts modifying agavi's comments 18:44 < kaos> luckily we are lgpl 18:45 < Xylakant> I always wanted to *own* an open source project 18:45 < Wombert> RossC0: any issues? 18:45 < Wombert> I still think you should use a slot for the menu 18:46 < Xylakant> kaos: i do have enough code that i *have to* claim authorship for. 18:46 < Wombert> maybe I should tell you how we do this :) 18:46 < _cheerios> "how we roll"" 18:46 < Wombert> in the view, we do sth like 18:46 < Xylakant> kaos: nt all of it shines, though ;) 18:46 < kaos> hehe 18:46 < kaos> well, you dont want to see some of my code 18:47 < Xylakant> no. everyone has some skeletons hidden somewhere 18:47 < Wombert> $request->appendAttribute('relatedActions', array('url' => $url, 'title' => $title), 'com.myapp.layout.coolMenu'); 18:47 < Wombert> you can do this as often as you like 18:47 < Wombert> then in the decorator template, you'd do 18:47 < RossC0> Wombert: got a bug with the routing->gen using url vars as defaults - so trying nesting routes... 18:47 < kaos> (which was working in production and calculating invoices and stuff :D) 18:48 < Wombert> foreach($rq->getAttribute('relatedActions', 'com.myapp.layout.coolMenu', array()) as $item) { echo $titem['url']; } 18:48 < kaos> which i had to rewrite 5 times in 3 months or so :D 18:48 -!- GMFlash [n=gmflash@cpe-71-66-115-64.neo.res.rr.com] has quit [] 18:48 < Wombert> ... 18:48 < Xylakant> ;) 18:48 < kaos> and that code was in use for over 2 years \o/ 18:48 < Wombert> RossC0: show me 18:48 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- The future of IRC"] 18:49 < Xylakant> hehe. i had to make changes to an application that was in use for somewhere around 6-8 years 18:49 < Xylakant> nobody knew who originally had written it 18:49 < Xylakant> man, that was some beast... 18:49 < RossC0> 2 tics 18:49 < _stachu_aw> RossC0: not yet... 18:50 < _stachu_aw> RossC0: maybe i havent enabled some php extensions? 18:50 -!- _stachu_aw is now known as _stachu 18:51 < Wombert> _stachu: what is the problem 18:53 < _stachu> when im using agavi validation, apache dosent work 18:53 < Wombert> php version, libxml version, apache version, SAPI? 18:53 < _stachu> it uses a most of my RAM and then shut down... 18:55 < _stachu> PHP Version 5.1.5, libxml Version 2.6.22, Apache Version Apache/2.2.3 18:56 < Wombert> where does that happen 18:56 < Wombert> in the sample app? 18:56 < _stachu> yes 18:56 < Wombert> during login? 18:56 < Wombert> does it happen if you log in with "Chuck Norris" and "kick" (case sensitive) 18:57 < _stachu> validation - when i delete validation xml file it works 18:57 < _stachu> yes during login 18:57 < Wombert> that doesn't mean validation is the problem 18:58 < _stachu> this isnt apache fault - i tried run it on IIS, and i tried diffrent php versions 18:58 < _stachu> maybe configuration of php 18:59 < Wombert> does it happen if you log in with "Chuck Norris" and "kick" (case sensitive) 19:00 < _stachu> yes 19:00 < Wombert> okay 19:00 < Wombert> upgrade php and libxml 19:00 < Wombert> certain combinations of php and libxml have horrible memory leaks that cause crashes 19:02 < _stachu> ok 19:02 < v-dogg> _stachu: libxml and/or php can crash apache (win) when it tries to parse invalid xml 19:02 < v-dogg> happens to me very often 19:03 < v-dogg> have you modified some xml configs there? 19:03 < _stachu> no 19:09 * digitarald adds a regexp to his project builder that changes all @author tags to "owned by digitarald" 19:10 * Wombert stabs Xylakant 19:12 * RossC0 headbutts the desk 19:13 < Wombert> what's going on mate 19:13 < Wombert> come on 19:13 < Wombert> ask for help early 19:13 < Wombert> the desk will thank you 19:13 < Wombert> :) 19:13 < RossC0> lol 19:14 < RossC0> ok: problem > $ro->gen(search.content) as used in my forms my have defaults in the url 19:14 < RossC0> so I nest routes again to $ro->gen(search.content.index) - so form will post to clean url 19:14 < RossC0> http://pastie.caboo.se/40547 19:14 < RossC0> it *nearly* works :) 19:14 < _stachu> Wombert: what version of php, apache do you have? 19:15 < _stachu> i uninstalled server 19:17 < RossC0> wooohooo - it works :-) 19:17 < RossC0> http://pastie.caboo.se/40547 19:19 < Wombert> RossC0: don't do that :) 19:19 < RossC0> dont double nest? 19:19 < Wombert> $ro->gen('search.content', array('page' => null, 'count' => null)); 19:19 < RossC0> noo 19:20 < RossC0> why didn't I check that first?? 19:20 * RossC0 headbutts desk 19:20 < RossC0> why didn't I ask first?? 19:20 * RossC0 headbutts desk 19:20 < RossC0> :-) 19:21 < Wombert> does it work? 19:21 < Wombert> I didn't test that 19:21 < RossC0> testing.. 19:23 < RossC0> yeap! 19:23 < RossC0> huzzaah! 19:23 < Wombert> cool 19:23 < Wombert> BUT 19:23 < RossC0> thats simplified it a bit :) 19:23 < Wombert> we're looking into fixing that completely 19:23 < RossC0> thats a big BUT 19:23 < RossC0> the defaults? 19:24 -!- codecop_ [n=codecop@85.206.220.61] has joined #agavi 19:24 < RossC0> I had a look to see where the option['defaults'] were assigned form the URL - its late on in the route->gen process 19:25 < Wombert> no, that behavior 19:26 < Wombert> IMO it should use the input parameters only for imply="true" routes 19:26 < Wombert> that's why we have it like this in the first place - so the language is always there etc 19:26 < Wombert> we gotta check it again 19:26 < Wombert> I don't think it's too intuitive to have it this way, i.e. where it uses the params that came in 19:27 < Wombert> because that means the result of $ro->gen('search.index') is different depending on where it's called 19:27 < Wombert> but it might be a bit difficult to fix 19:27 < Wombert> we have to check it 19:27 < RossC0> cool 19:34 -!- codecop [n=codecop@85.206.207.167] has quit [Connection timed out] 19:44 < _cheerios> *phew* 19:44 < _cheerios> *phew* 19:44 < _cheerios> thought the coffee machine was broke 19:45 < _cheerios> but it works, just didnt like the new plug 19:45 < MrJeep> well well well, I'm switching back to xp 19:46 < MrJeep> i'm tired to restart eclipse each minutes since he's crashing 19:47 < MrJeep> and i'm very tired to play CS 1.6 at 45 fps at 640x480 19:47 < MrJeep> when I usually do 100 100 100 100 19:47 < MrJeep> "Warning, vista has detected you are trying to downgrade"... 19:48 < _cheerios> heh heh 19:49 < MrJeep> it's so insane, I've reformated something liek 5 time in one and a half month 19:54 -!- codecop_ [n=codecop@85.206.220.61] has quit ["Have to go"] 19:59 < Wombert> WAHAHAHA 20:00 < MrJeep> ? 20:00 < MrJeep> laughing about me ? 20:01 < Wombert> about vista, rather 20:01 < Wombert> or windows in general 20:01 < RossC0> <3 mac 20:01 < MrJeep> ahh ok, both (me or vista) is correct anyway< 20:02 < MrJeep> but vista is not that bad 20:02 < MrJeep> it just needs more time 20:02 < MrJeep> a _way_ more time 20:03 < _cheerios> is youtube like... slow? 20:03 < MrJeep> no youtube works fine 20:03 -!- MrJeep_ [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 20:04 < _cheerios> bleh. takes minutes for me to anything to load. 20:04 < MrJeep> odd 20:06 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 20:06 < MrJeep_> there it goes 20:07 < MrJeep_> time to make my comp fast again 20:07 < RossC0> thanks all for your help today :-) 20:07 * RossC0 waves 20:08 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 20:16 -!- digitarald [n=Miranda@224.Red-83-55-28.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:16 -!- shoan [n=shoan@59.92.140.52] has joined #agavi 20:19 -!- MikeSeth [n=mst@192.115.27.162] has quit [Client Quit] 20:31 < _cheerios> they tried to make go to rehab, i said nou no noo... 20:34 < splatch`> hello :) 20:38 < MrJeep_> go to rehab ?? 20:39 < Wombert> I believe he was singing 20:39 < Xylakant> _cheerios: maybe you should go. they do have good music therapy there ;) 20:39 < v-dogg> that song is not therapy 20:39 < MrJeep_> ah 20:39 < v-dogg> frigging annoying 20:39 < Xylakant> he was. actually i don't like *that* song so much 20:39 < Xylakant> the album is great, but this one, i don't know.. 20:40 < Xylakant> anyways, just dropped in to say goodbye folks, cya later or tomorrow 20:40 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 20:40 < _cheerios> you guys have no soul! :D 20:41 < v-dogg> haha 20:46 < MrJeep_> reformated :D 20:46 < MrJeep_> woot 20:46 < MrJeep_> now I miss vista) 20:46 < MrJeep_> *kidding* 20:46 < MrJeep_> I wont miss vista for a week for sure 20:48 < _cheerios> debian since 2005 w/out problems 20:48 < MrJeep_> great 20:48 < MrJeep_> I would switch to linux right now if Photoshop, Ilustrator and games would work perfectly 20:49 < Wombert> MAAAACINTOOOOSH 20:49 < MrJeep_> hahaha, I knew that was comming 20:49 < Wombert> because it's ze truth 20:50 < _cheerios> games are 4 kids 20:50 < Wombert> ... 20:50 < Wombert> idiot 20:50 < Wombert> you know you can run windows on a mac 20:50 < Wombert> plus 20:50 < Wombert> really 20:50 < Wombert> a mac is the best development platform 20:50 < Wombert> web development 20:50 < Wombert> for exactly that reason 20:50 < Wombert> it runs OS X 20:50 < Wombert> and everything else 20:51 < Wombert> you can test safari, camino, firefox, ie, everything 20:51 < MrJeep_> and can I run osx on my computer ? 20:51 < Wombert> plus it's not a pain in the ass 20:51 < MrJeep_> i guess not 20:51 < Wombert> no, you buy a mac ;) 20:51 < MrJeep_> the problem stands right there 20:51 < Wombert> the only reason why os x is so good and stable and not a total pain in the ass is because they don't run on every computer 20:52 < Wombert> I know that's a bit of an issue 20:52 < Wombert> _stachu: did you upgrade php already? 20:52 < MrJeep_> and macs, IIRC, are quite expensive 20:52 < Wombert> nah, not really 20:52 < Wombert> mac pros are and macbook pros 20:52 < MrJeep_> not anymore ? 20:52 < Wombert> no 20:52 < Wombert> macbooks are a bargain 20:53 < Wombert> 1000 dollars or something 20:53 < Wombert> show me a windows laptop with slot-in cd, built in camera, bluetooth, firefire, digital audio in/out, dvi out for that price 20:53 < Wombert> they really are a bargain 20:53 < Wombert> or iMacs, but I think you get pc+tft combos for less than that 20:54 < MrJeep_> maybe someday I'll give it a try 20:54 < Wombert> the question, however, is do you really save money in the long term just because a pc was 200 dollars cheaper 20:54 < MrJeep_> well, I thought a mac was 2500$ 20:54 < Wombert> I am a _lot_ more productive since I use OS X 20:54 < Wombert> plus 20:54 < Wombert> no 20:54 < Wombert> a macbook is 1000 dollars 20:54 < MrJeep_> what about desktops ? 20:54 < Wombert> the most expensive imac with 24" screen is 2000 dollars I think 20:55 < Wombert> MrJeep_: http://store.apple.com/1-800-MY-APPLE/WebObjects/canadastore.woa/wa/RSLID?mco=2B5CF23F&nclm=iMac 20:55 < MrJeep_> oh, that thing with everything inside the screen 20:56 < MrJeep_> I'd never buy that 20:56 < Wombert> why not 20:56 < MrJeep_> the screen breaks, no computer for a while 20:56 < Wombert> why would the screen break 20:56 < Wombert> plus you can attach an external monitor, of course ;) 20:57 < MrJeep_> I just don't like the all-in-one stuff 20:57 < Wombert> a laptop is all in one, too 20:57 < MrJeep_> yeah but my laptop is not my main computer 20:57 < Wombert> well okay then what about a mac mini 20:57 < MrJeep_> I just don't like to temporary loose my whole computer when a small piece of it stop to work 20:58 < Wombert> you could get a mac pro but they come with two intel xeon cpus etc, that's why they're so expensive 20:58 < MrJeep_> ah ok 20:58 < Wombert> and they're overkill anyway I guess 20:58 < Wombert> I'd never buy one 20:58 < Wombert> it's more for those cutting movies all day and stuff like that 20:58 < MrJeep_> well, like I said, I guess someday I'll try a mac 20:58 < MrJeep_> sounds interesting 20:58 < Wombert> but really 20:58 < Wombert> consider it 20:59 < Wombert> I haven't had a single problem since I have a mac 20:59 < Wombert> no crashes 20:59 < Wombert> no weird behavior 20:59 < Wombert> no dialog every fifteen minutes telling me to restart 20:59 < Wombert> no feckin bubbles when I plug in a mouse 20:59 < MrJeep_> no exageration ;P ? 20:59 < Wombert> really 20:59 < Wombert> no kidding 20:59 < Wombert> on windows, you have to install the printer drivers, restart, plug in the printer, restart, then it works 20:59 < Wombert> on the mac you plug it in, click file->print, click ok, it prints 21:00 < Wombert> and I mean literally 21:00 < Wombert> no dialogs to confirm 21:00 < Wombert> nothing 21:00 < Wombert> not even a dingdong sound 21:00 < MrJeep_> yeah but rebooting once in a while is not my concern 21:00 < Wombert> plus 21:00 < Wombert> if I put my mac to sleep 21:00 < Wombert> I just close the lid 21:00 < Wombert> when I open the lid 21:00 < Wombert> it's back instantly 21:00 < Wombert> not after 2 seconds or 5 seconds or 30 seconds 21:00 < MrJeep_> nice stuff there 21:01 < Wombert> windows wakes up, shows me a login screen, and when I click something, I get a bluescreen because the retarded webcam driver messed up power management or so 21:01 < MrJeep_> hehe 21:01 < MrJeep_> what about java app on mac ? 21:01 < Wombert> works, obviously 21:01 < Wombert> that's the point of java ;) 21:01 < MrJeep_> I've tried a G4 some time ago 21:01 < MrJeep_> java app were so slow 21:02 < Wombert> yeah they are 21:02 < Wombert> I have a powerbook g4 21:02 < Wombert> I wish I had an intel 21:02 < Wombert> they're about 871263 times faster 21:02 < MrJeep_> much more slower 21:02 < MrJeep_> hehe 21:02 < MrJeep_> that's an issue.. but I guess time will fix this 21:02 < Wombert> g4s aren't sold anymore 21:02 < Wombert> it's all intel now 21:02 < Wombert> and damn they're fast 21:02 < Wombert> that's why you can run windows on macs now 21:03 < MrJeep_> yeah I've heard that on g4tech-tv Call For Help 21:03 < MrJeep_> they are pretty much all mac-addict there 21:04 < MrJeep_> well, this is sure something I'll consider for my next computer 21:04 < MrJeep_> we'll see what microsoft is going to do 21:05 < MrJeep_> vista is not quite what I'm expecting 21:05 < MrJeep_> oh, what about counter-strike on a mac ?? 21:05 < Wombert> as I said, windows runs on macs 21:05 < Wombert> you still have a windows license, no problem there 21:06 < MrJeep_> yeah.. windows licence .... sure I do .... 21:06 < MrJeep_> so you mean dual booting ? 21:06 < MrJeep_> because if I someday buy a 2500$ mac, this is not to run windows on it 21:06 < Wombert> not necessarily 21:06 < MrJeep_> guaranteed 21:06 < Wombert> you can dual boot, yes 21:06 < Wombert> or you can use parallels 21:06 < Wombert> to use windows inside os x 21:06 < Wombert> virtualized 21:07 < Wombert> you can put it in a mode where you don't even have a windows desktop, just the windows app windows along the os x ones 21:07 < Wombert> wait 21:08 < MrJeep_> http://www.youtube.com/watch?v=SbMhk2fdl_k 21:09 < Wombert> yes but that is _inside_ OS X 21:09 < Wombert> without accelerated graphics 21:09 < Wombert> I think 21:09 < Wombert> you can use the same installation of windows for dual boot and virtualization 21:10 < Wombert> http://www.youtube.com/watch?v=HpdclE_Jqa8 maybe 21:11 < MrJeep_> impressive 21:14 < Wombert> that's the "coherence" mode where you don't have a windows desktop in a separate window 21:15 < MrJeep_> one thing I allready like of mac 21:16 < MrJeep_> is the way the desktop is "zen" 21:16 < MrJeep_> clean, relax 21:16 < MrJeep_> I like that 21:16 < MrJeep_> vista, on the other hand, is way more agressive 21:16 < MrJeep_> mac is peaceful 21:16 < Wombert> http://www.youtube.com/watch?v=cdmdrziE1KE 21:17 < _cheerios> get a PS3 with Cell -tech, those things will run circles around your PC, given you work with the tasks Cell was built for :) 21:21 < _stachu> Wombert: yes, thanks 21:21 < _stachu> its working 21:21 < _stachu> its throwing exception Input is not proper UTF-8 21:21 < _stachu> :) 21:28 < Wombert> huuuh? 21:28 < Wombert> what browser 21:28 < Wombert> did you change something 21:28 < Wombert> what agavi version is that? 21:28 < Wombert> you said you used 5.0.3 in the beginning 21:28 < Wombert> agavi doesn't work on that php version 21:29 < _stachu> 5.2 21:29 < _stachu> this exception is in my own website 21:29 < Wombert> yes but what agavi version 21:29 < Wombert> aha 21:30 < Wombert> well then it's not proper utf8 :p 21:30 < _stachu> :) 21:31 < Wombert> the fpf can detect the encoding from an xml prolog or the content-type meta tag in your html head 21:31 < Wombert> at least the latter should be in every document 21:31 < Wombert> and you really should use utf8, and not some other encoding, these days 21:32 < _stachu> but my website isnt multilanguage 21:32 < Wombert> that doesn't matter 21:32 < Wombert> you should always use utf, it saves you trouble, works everywhere, and so forth 21:33 < _stachu> i will change it ;) 21:33 < Wombert> if you don't use utf8, you must have the encoding in the Content-Type declaration so the fpf can detect it 21:33 < Wombert> that is not only an fpf requirement 21:33 < Wombert> you should always do it because otherwise browsers must try to guess the encoding of the page 21:34 < _stachu> ok 22:04 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:25 < CIA-23> david * r1703 /branches/0.11/samples/app/ (5 files in 4 dirs): translation for validation error messages in Login.xml, moved manual error setting to views, which were cleaned up a little. closes #416 22:26 -!- Arme[0] is now known as Arme[N] 22:27 < impl> STICK IT TO THE MAN 22:31 -!- MrJeep_ [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 145 (Connection timed out)] 22:47 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 22:47 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:55 -!- digitarald [n=Miranda@62.43.129.211] has joined #agavi 23:00 -!- digitarald [n=Miranda@62.43.129.211] has quit [Client Quit] 23:13 < splatch`> _stachu: :) 23:14 < splatch`> next Pole on #agavi ;) 23:18 < CIA-23> david * r1704 /branches/0.11/ (3 files in 3 dirs): login now stores autologon cookies without cleartext password, improved the sample app user a bit to make it a better example, added RbacUser::grantRoles. closes #429 and #430 23:18 < _cheerios> :p 23:18 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11.0RC2 :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 (99.2125984%) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 23:22 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["brb"] 23:23 < _stachu> [; 23:26 < impl> What'd you change? 23:26 < impl> Oh, the percentage 23:26 < impl> :P 23:46 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi --- Day changed Fri Feb 16 2007 00:04 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 00:05 < pressureman> hi wombert 00:06 < pressureman> is there a way to override the default template chosen from a view? 00:06 -!- Arme[N] is now known as Arme[0] 00:07 < Wombert> of course, pressureman 00:08 < Wombert> $this->getLayer('content')->setTemplate('Lala'); 00:08 < Wombert> or whatever the layer is called 00:09 < Wombert> do you just need a different template on one occasion? 00:13 < pressureman> i have a "report" view that needs to use multiple different templates, depending on the report type selected 00:14 < Wombert> ah okay 00:14 < pressureman> so it runs from a single action, single view, but has different templates 00:17 < pressureman> or would you recommend using multiple different views? 00:17 < pressureman> (but still a single action) 00:18 < Wombert> no 00:18 < Wombert> I think that's okay this way 00:39 < pressureman> just looking at the LoginErrorView in the sample app 00:40 < pressureman> curious why you override the template, as opposed to return 'Input' from handleError in the action 00:40 < Wombert> because the error view and the input view are a little different 00:40 < Wombert> I just did it to clean up code 00:42 < Wombert> the input view is the one that shows the form for the first time 00:42 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 00:42 < pressureman> btw, i suspect a bug in FPF for checkboxes 00:43 < pressureman> or maybe i'm not using it right 00:43 < pressureman> prolly the latter ;-) 00:43 < Wombert> is it foo[] checkboxes ? 00:43 < pressureman> the checkbox isn't getting ticked when it should 00:44 < Wombert> what is the element name 00:44 < Wombert> can you produce a reduced test case 00:44 < pressureman> input type="checkbox" 00:44 < pressureman> it'll be coming from a pgsql boolean field, which i think returns 't' for true 00:45 < pressureman> let my just try setting my checkbox to value="t" instead of value="yes" 00:45 < Wombert> ah, initial population? 00:45 < pressureman> yes 00:45 < Wombert> ah okay 00:45 < Wombert> no that has nothing to do with values 00:45 < Wombert> I think it must be true or false 00:45 < Wombert> let me have a look 00:47 < pressureman> yes, if i manually set the initial population array to 'yes' to match my checkbox element, it gets ticked 00:47 < pressureman> it's not a php bool value 00:49 < Wombert> ah 00:49 < Wombert> can you simply omit the "yes" 00:49 < Wombert> i.e. don't give it any value 00:50 < Wombert> but I guess the problem with that is that the "false" value is "f" 00:50 < pressureman> it needs "value" attribute to be xhtml compliant i think 00:50 < Wombert> nah don't think so 00:51 < Wombert> the problem is 00:51 < pressureman> PDO is interpreting the pgsql bool field and setting it to a php bool, because if i just echo that field, it prints '1' 00:51 < Wombert> checkboxes are very difficult to populate 00:51 < pressureman> but FPF is expecting "yes" to match my 'value="yes"' in the checkbox element 00:51 < Wombert> yeah, that's because you have a value attribute there 00:51 < Wombert> look the problem is 00:52 < pressureman> hmm... 00:52 < Wombert> you could have two checkboxes with the same name 00:52 < pressureman> never mind 00:52 < Wombert> but different values 00:52 < Wombert> like with radios 00:52 < pressureman> i just killed the "value='yes'" and it works 00:52 < pressureman> :) 00:52 < Wombert> yep, if you have a value, then the value must match what you populate 00:52 < Wombert> otherwise, it could not re-populate reliably if you re-post the form 00:52 < pressureman> and if not? just a simple bool true/false? 00:53 < Wombert> if you have no value, then if the parameter is set (unchecked checkboxes aren't sent) AND if the parameter evaluetes loosely to true, the checkbox is ticket 00:53 < Wombert> so false, 0, '' won't trigger it 00:53 < pressureman> right 00:54 < Wombert> but true, and the "checked" all browsers send as the default value will make it ticked 00:54 < Wombert> I realize that this is a bit annoying 01:02 < pressureman> well, i've completed migrating my app to rc2 api :) 01:02 < pressureman> and found numerous ways i could improve it in the process ;-0 01:27 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 01:30 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 02:57 -!- Wombert [n=Wombert@dslb-084-056-026-116.pools.arcor-ip.net] has quit [] 03:00 -!- benny`work [n=benny@p54AC3299.dip0.t-ipconnect.de] has quit ["unset($this);"] 03:22 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 03:46 -!- Wombert [n=Wombert@dslb-084-056-026-116.pools.arcor-ip.net] has joined #agavi 04:37 -!- shoan_ [n=shoan@59.92.157.14] has joined #agavi 04:50 < pressureman> f&*king magic_quotes_gpc! 04:51 < Wombert> omg you have that on? 04:51 < pressureman> new install. debian packages default to on 04:51 < Wombert> lol 04:51 < Wombert> god 04:51 < Wombert> debian 04:51 < Wombert> is so retarded 04:51 < pressureman> legacy support i guess 04:52 < pressureman> php has a lot of legacies like that 04:52 < Wombert> I'm guessing clueless gpl fascists 04:52 < Wombert> with long beards 04:52 < Wombert> and dirty fingernails 04:52 < pressureman> eww 04:52 -!- shoan [n=shoan@59.92.140.52] has quit [Read error: 110 (Connection timed out)] 05:11 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 05:19 < impl> [impl@sovereign]% cat /etc/issue.net 05:19 < impl> Debian GNU/Linux 4.0 05:19 * impl slaps Wombert 05:19 < Wombert> Benchmarking 127.0.0.1 (be patient)... 05:19 < Wombert> Test aborted after 10 failures 05:19 < Wombert> wtf wtf wtf 05:19 < impl> ab? 05:19 < Wombert> I had that before 05:19 < Wombert> yep 05:20 < Wombert> but I can't remember the reason 05:20 < impl> Any debug flag? 05:20 < Wombert> I can bench the sample app just fine 05:20 < Wombert> but not this new app 05:20 < Wombert> empty project thing 05:21 < impl> Weird 05:22 < Wombert> it works just fine in ze browser 05:26 < Wombert> GRRRR 05:27 < impl> D: 05:32 < Wombert> booooh 05:32 < Wombert> I want to test this :< 05:55 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:22 -!- Wombert [n=Wombert@dslb-084-056-026-116.pools.arcor-ip.net] has quit [] 07:05 -!- Arme[0] is now known as Arme[N] 07:07 < Arme[N]> huomenta :) 07:07 -!- Arme[N] is now known as Arme[0] 07:51 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 07:53 < pressureman> how can i do AgaviValidationManager->setError() from a model? 07:53 < pressureman> used to be getContext()->getRequest() 07:53 < pressureman> but setError was moved to ValidationManager 07:54 < pressureman> should i perhaps throw an exception from the model, and catch it in the action, where i'd setError() ? 08:12 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 08:36 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 08:50 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out] 08:53 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 09:04 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 09:19 -!- codecop [n=codecop@85.206.220.61] has joined #agavi 09:20 < v-dogg> huomenta 09:34 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 09:42 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:42 < _cheerios> huomenta 10:13 < v-dogg> wtf is going on here... 10:19 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:19 < RossC0> morning 10:21 -!- pressureman [n=pressure@210.48.105.162] has left #agavi [] 10:32 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 10:32 < Xylakant> hi 10:42 < RossC0> morning 10:54 < horros> huomenta 10:54 -!- shoan [n=shoan@59.92.173.161] has joined #agavi 11:01 -!- shoan_ [n=shoan@59.92.157.14] has quit [Read error: 145 (Connection timed out)] 11:05 < RossC0> can I have setSlot load a template - or do I need it to load a specific module action ? 11:08 -!- eremit_ [n=eremit@p5490ED99.dip.t-dialin.net] has joined #agavi 11:09 < RossC0> hmm - nm - I think I sorted out subMenu problems from yesterday - add a subMenu Action and depending on the params set the template accordingly 11:18 -!- eremit [n=eremit@p5490C675.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 11:33 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 11:38 < horros> hmmh 11:42 -!- Wombert [n=Wombert@dslb-084-056-026-116.pools.arcor-ip.net] has joined #agavi 11:42 < horros> herro wombie 11:43 < pressureman> hi wombert 11:44 * horros nudges Wombert 11:44 < Wombert> salut 11:44 < horros> Wombert: if I set a parameter for routes (like foo)... how the hell do I access it? 11:45 < Wombert> no, no, not like that 11:45 < Wombert> that is for calbacks 11:45 < Wombert> foo 11:46 < pressureman> wombert, did u get a chance to read the email i sent u? 11:47 < Wombert> yes 11:47 < Wombert> uhm 11:47 < Wombert> could you send that to the mailing list next time 11:47 < Wombert> so others learn something, too 11:47 < pressureman> user or dev list? 11:47 < Wombert> and others have the chance to reply 11:47 < Wombert> etc 11:47 < Wombert> that would be users, I guess 11:47 < Wombert> dev is for bugs and stuff like that 11:47 < pressureman> and API changes ;-) 11:48 < Wombert> what you should do is hand the validation manager to the model so it can use it 11:48 < Wombert> in general though, I don't think it's a good idea to do this 11:49 < Wombert> (setting the error in the model) 11:49 < pressureman> so u think letting the exception bubble up, or raising my own exception is a better way? 11:50 < Wombert> the model should throw it's own exception 11:50 < Wombert> think about it 11:50 < Wombert> who says that you always use the model from an action 11:50 < Wombert> with request params 11:50 < pressureman> i just need to get the primary key violation somehow conveyed to the user... maybe having the model method return an error to the action, where the action deals with validation manager stuff 11:50 < horros> Wombert: I don't get it... :( 11:50 < Wombert> where the field has that error 11:50 < Wombert> etc 11:50 < Wombert> horros: just use that code I gave you 11:51 < Wombert> pressureman: your model action could also just return false or so 11:51 < horros> Wombert: so... how do I access the parameter/attribute/whatever in the template then? 11:51 < Wombert> $rd->getParmameter('smeg') 11:51 < Wombert> how else 11:51 < Wombert> ... 11:51 < horros> *shrug* 11:52 < horros> as far as I'd know it could be $this->getContainer()->getWombertsCoolFeature85927()->getSmegBar(); 11:52 < Wombert> why would it 11:52 < horros> *shrug* 11:53 < pressureman> horros, it's probably a good idea to study the actual agavi classes and see how everything fits together 11:53 < horros> why would it be in the request data and not in $this->getContainer()->getRouting() ? 11:53 < pressureman> until there are docs, you kinda need to carry around a UML diagram in your head 11:53 -!- Arme[N-1] is now known as Arme[0] 11:54 < Wombert> huuuh? 11:55 < Wombert> what does the routing have to do with that 11:55 < Wombert> all it does is map urls or whatever to actions and set request parameters 11:55 < Wombert> just like will make id show up as a request param, where it belongs 11:56 < Wombert> and a declares a default value for a parameter in case it isn't given (because it's optional) or for when generating 11:57 < Wombert> you might consider $rd->getParameter('smeg', 'booh'); in your code though 11:57 < Wombert> are you populating a form or something, horros? 11:58 < horros> nossir, need to know if the user logged out themselves or was forcibly logged out because of the timeout doohickey 11:58 < Wombert> uuuuhm 11:58 < Wombert> and 11:58 < Wombert> uuhm 11:59 < Wombert> how do you do that with a parameter 11:59 -!- shoan_ [n=shoan@59.92.141.56] has joined #agavi 12:01 < pressureman> so wombert, u suggest making my model method raise an exception, to be handled by whatever called the method (the action in my case), and dealing with the validationmanager stuff in the action? 12:02 < pressureman> where i can map the exception to a validationmanager error 12:02 < Wombert> absolutely 12:02 < Wombert> or you could just return false fromthe method you call 12:02 < Wombert> and then have a getErrorInfo() method in the model or so 12:02 < pressureman> i kinda want to be more detailed than that 12:02 < Wombert> the point is that your field name might have changed 12:02 < Wombert> and then you have to adjust the model 12:02 < Wombert> and that's not good 12:03 < pressureman> believe me, a lot more stuff than my web app would break if the field name was changed ;-0 12:04 -!- shoan [n=shoan@59.92.173.161] has quit [Read error: 60 (Operation timed out)] 12:05 < pressureman> i like the idea of using exceptions though, since they bubble up through layered functions 12:05 * RossC0 waves :-) 12:05 < pressureman> more elegant than passing arrays around... 12:05 < horros> Wombert: well, setting the parameter to timeout=true when it's timed out? I don't see what's so spectacularly strange about that..? 12:05 < horros> I just want to display a message to the user that "You have been logged out because you did jack shit for quite a long time" 12:06 < pressureman> http is stateless... the concept of logging out is weird. 12:06 < horros> ... 12:06 < horros> so you never "log out" from your, say, internet banking site? 12:07 -!- Arme[0] is now known as Arme[N] 12:07 < pressureman> you could be sitting at a page for 3 hours, and in the meantime your session cookie has expired, but since there have been no http transfers in that time, both you and the webserver don't know that until you try to access something again 12:07 < RossC0> Any ideas how to get the current Routes Method / Action name in a slot ? 12:08 < pressureman> THEN you could display a page saying your session had expired in the meantime while you were doing jack shit for such a long time 12:08 < horros> pressureman: ...except when you have a javascript snippet that has a timeout and after said timeout redirects to a logout action. 12:08 < RossC0> in a slots View that is 12:08 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["brb"] 12:08 < horros> pressureman: I have this stuff working just fine with 0.10 12:08 < pressureman> oooh.... u have a long road ahead of u :) 12:08 < horros> elaborate, sir. 12:08 < pressureman> 0.10 to 0.11 migration 12:09 < horros> ah 12:09 < horros> yes, I'm quite aware of that. 12:09 < horros> been at it on and off for about a week or so now 12:09 < pressureman> well, the good news is that 0.11 forces u to write more elegant code 12:10 < horros> slowly starting to figure out how 0.11 is put together and how it works 12:10 < pressureman> certain things that were accessible in places they shouldn't have been in 0.10 12:10 < pressureman> eh wombert? ;-) 12:10 < horros> but I suspect this is going to take ages and ages to finish, we have some 500-600 actions in the app and a total of closer to 4000 files :( 12:11 < pressureman> wow... you're brave to write something so big on a framework so immature as agavi 12:11 < horros> which brings me again to the fact that we need to hire a code monkey with a thorough understanding of agavi 0.10 and 0.11 and preferably willing to work for free :D 12:12 < horros> pressureman: started out as a M3 app about two years ago 12:12 < horros> did a lot of framework hacking along the way too 12:12 < pressureman> and it bears less and less resemblance to that each day 12:12 < pressureman> the trouble with working for free is that at the end of the day, u have no spare time AND no money. 12:13 < horros> yes, that's why I need to find a smart idiot 12:13 < horros> :D 12:13 < pressureman> if u find some, send one my way too 12:13 < pressureman> i need someone to pass off my project to 12:14 < horros> I think I need all the smart idiots I can get my hands on :D 12:18 * digitarald starts coding with rails 12:18 * horros starts coding with Struts 2 / spring 12:18 < RossC0> anyone ? 12:18 * RossC0 beggs 12:22 < horros> RossC0: $container->getActionName() ? 12:25 -!- Arme[N] is now known as Arme[0] 12:25 < RossC0> points to the current action - which is the slot 12:27 < Wombert> RossC0: no reliable way to do this 12:27 < Wombert> all routes that were matched are in $rq->getAttribute('matchedRoutes', 'org.agavi.routing'); 12:27 < Wombert> the problem is that the action ordered there might have been changed by a filter 12:27 < Wombert> or by the framework itself 12:27 < Wombert> etc etc 12:28 < Wombert> so you might wanna consider passing that information to the slot instead 12:28 < RossC0> I think I best dynamically creating the slot in that instance 12:28 < RossC0> cool 12:29 < Wombert> horros: I don't quite understand why you need a request parameter to display a logged out message 12:29 < Wombert> RossC0: you don't even have to do that 12:29 < Wombert> you can modify a slot set by loadLayout 12:29 < horros> I need a request parameter to know *WHICH* logged-out message to display. 12:29 < Wombert> not a good idea 12:30 < Wombert> $this->getLayer('decorator')->getSlot('menu')->getArguments()->setParameter('action', 'zename'); 12:34 < RossC0> ah fanastic 12:35 < RossC0> cool - I'll wrap than in a addSubMenu function in my base view :) 12:40 < Wombert> horros: speaking of 0.10 to 0.11 migration 12:40 < Wombert> are you making some progress with the migration guide? 12:40 < Wombert> any issues? 12:40 < Wombert> maybe pressureman can help you ;) 12:41 < pressureman> crikey... i ended my time in 0.10 purgatory a while ago 12:41 < pressureman> i've been running 0.11 for a reasonable while 12:52 -!- shoan_ [n=shoan@59.92.141.56] has quit [Read error: 110 (Connection timed out)] 12:53 < RossC0> hmm - how'd I set the template of a slot? 12:54 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 12:54 < RossC0> using: $this->getLayer('content')->setTemplate($rd->getParameter('template')); infinate loops me 12:54 < RossC0> and its not a layer 12:57 < Wombert> you can't set the template from the outside, of course 12:57 < Wombert> a slot is just a normal action, remember 12:58 < RossC0> inside the slot? 12:58 -!- shoan [n=shoan@59.92.173.193] has joined #agavi 12:58 < RossC0> I've a default template, its just I want to override the name of the template 12:59 < RossC0> i.e. $this->getLayer('decorator')->getSlot('menu')->getArguments()->setParameter('subMenu', 'Profile/Menu'); 12:59 < RossC0> all goes back to my problematic subMenus :) 13:02 < RossC0> so the real question is inside my View how'd I set the template? 13:03 < RossC0> I can no longer do: $this->setTemplate 13:04 < Wombert> in the slot then? 13:04 < Wombert> sure you can 13:04 < Wombert> $this->setTemplate($rd->getParameter('subMenu')); 13:04 < Wombert> err 13:04 < Wombert> $this->getLayer('content')->setTemplate 13:05 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 13:05 < RossC0> I get: Too many execution runs have been detected for this Context. 13:05 < RossC0> ah - hmm 13:06 < RossC0> dam - I'm getting that anyway 13:06 < RossC0> agh! 13:06 < RossC0> omfg 13:06 < RossC0> I'm stupid 13:06 * RossC0 volunteers to do work for horros 13:06 * RossC0 for free 13:06 < Wombert> because you load the decorator layout with the slot again and so on :p 13:07 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 13:07 -!- Arme[N] is now known as Arme[0] 13:07 < RossC0> parent::setupHtml($rd) 13:07 < RossC0> parent::setupHtml($rd, 'slot') huzzah! 13:08 < Wombert> yup 13:08 < Wombert> I have 13:08 < horros> RossC0: I presume the "huzzah" means the offer no longer stands?-) 13:08 < Wombert> if($layoutName === null && $this->container->getParameter('is_slot', false)) { 13:08 < Wombert> $layoutName = 'slot'; 13:08 < Wombert> } 13:08 < Wombert> 13:11 < RossC0> horros: sorry I don't qualify - I'm just a stupid idiot 13:11 < RossC0> :) 13:11 < horros> :D 13:20 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 13:26 * horros scratches his head 13:38 < horros> help plz kthx 13:38 < horros> I can't seem to get route parameters to work :( 13:40 < horros> 13:40 < horros> what is wrong with that? :/ 13:41 < horros> ahm 13:41 < horros> nevermind 13:41 < horros> it seems to be working after all 13:41 < horros> seems I'm also a stupid idiot 13:41 < horros> :) 13:46 < _stachu> can i create one validator with many arguments which wont change classes of all labels when one input is wrong? 13:48 < _cheerios> damn ff2 crashes more than (insert something witty here) 13:58 -!- Arme[0] is now known as Arme[N] 14:00 -!- shoan_ [n=shoan@59.92.151.195] has joined #agavi 14:15 -!- shoan [n=shoan@59.92.173.193] has quit [Read error: 110 (Connection timed out)] 14:20 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 14:22 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 14:22 -!- Arme[N-1] is now known as Arme[0] 14:26 < horros> god damn subversion 14:29 -!- shoan [n=shoan@59.92.141.244] has joined #agavi 14:35 * RossC0 heads to the pub :) 14:37 -!- shoan_ [n=shoan@59.92.151.195] has quit [Read error: 110 (Connection timed out)] 14:39 < horros> RossC0: bastard! I want to head to the pub too! 14:40 < horros> hmm 14:40 < horros> I fail 14:40 < horros> $ro->gen("patient", array('patient_id', $patient_id)) 14:40 < horros> with the route being... 14:40 < horros> 14:41 < horros> what am I doing wrong? 14:41 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 14:49 < horros> there we go 14:49 * horros unfails 15:11 -!- codecop [n=codecop@85.206.220.61] has quit [Read error: 60 (Operation timed out)] 15:12 < horros> whatthe... 15:12 < horros> I can't believe this! 15:12 < horros> I got an action ported with pretty much changing only $request->setAttribute to $this->setAttribute 15:12 < horros> :O 15:17 -!- shoan_ [n=shoan@59.92.145.194] has joined #agavi 15:30 -!- shoan [n=shoan@59.92.141.244] has quit [Read error: 110 (Connection timed out)] 15:32 -!- codecop [n=codecop@88.118.232.54] has joined #agavi 15:41 -!- Wombert [n=Wombert@dslb-084-056-026-116.pools.arcor-ip.net] has quit [Nick collision from services.] 15:41 -!- Wombert [n=Wombert@dslb-084-056-031-121.pools.arcor-ip.net] has joined #agavi 16:09 * RossC0 back from pub :-) 16:09 * RossC0 expected to do work ; 16:09 < RossC0> ;P 16:13 < Wombert> why do you go to the pub for lunch oO 16:14 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 16:14 -!- shoan_ [n=shoan@59.92.145.194] has quit [Read error: 110 (Connection timed out)] 16:15 < RossC0> tradition :) 16:15 < RossC0> but means this afternoon should be left for: 16:16 < Wombert> I can't code after beer 16:16 < Wombert> makes be tired and all 16:16 < RossC0> 1) menial tasks - testing / docs 16:16 < Wombert> but a bottle of wine is goooood for a coding night 16:16 < RossC0> 2) Conceptual stuff 16:16 < Wombert> that sounds like no work at all 16:16 < RossC0> brb I have a conceptual question 16:17 < Wombert> 1) click around a bit and declare it tested 16:17 < Wombert> 2) "I think I have a good idea. if we connect the website to a ice cream machine, and then..." 16:19 < RossC0> 1) write unit tests.. 16:19 < Wombert> omg 16:19 < RossC0> and ensure there is full phpdocs 16:20 < RossC0> ok - conceptual question: I have autologon via cookies, I have an admin area, but I want to ensure that the user has actually gone through the login form - how should I code that? 16:20 < Wombert> Xylakant: ping 16:20 < Xylakant> remove the autologon 16:21 < Xylakant> pong 16:21 < Wombert> RossC0: one minute 16:21 < Wombert> Xylakant: I added experimental X-Sendfile support yesterday 16:21 < Wombert> ( http://blog.thinkphp.de/archives/136-Make-the-download-of-large-files-with-PHP-and-lighty-very-easy.html ) 16:21 < Xylakant> Wombert: I'll make shure to test that 16:21 < Wombert> wanna test it? 16:21 < Wombert> ah I didn't commit 16:21 < Wombert> the problem I have is 16:22 < Wombert> ab gives me "aborting after 10 errors" 16:22 < RossC0> btw - I want the autologon for lots of stuff - like general access to low security parts of the site but like in ebay when I or do something crucial I want to force the user to login 16:22 < Wombert> I believe it's some problem with session files not writeable because I start lighty as su but... 16:23 < Wombert> RossC0: in the login action, set a flag 16:23 < Xylakant> have you tried starting lighty as regular user? 16:23 < Wombert> that doesn't work, Xylakant 16:23 < Wombert> but the odd thing is it doesn't work with apache either somehow... 16:23 < Wombert> I can bench the sample app, but not the fresh empty project 16:23 < Wombert> and I can't remember what the problem was 16:24 < Wombert> it works just fine in the browser 16:24 < Xylakant> ? 16:24 < Wombert> well I created a blank project 16:24 < Xylakant> maybe lighty passes the header on and ab trips over it? 16:24 < Wombert> and that gives errors 16:24 < Wombert> nah, it doesn't work without it either 16:25 < Xylakant> strange 16:25 < Wombert> http://127.0.0.1/~dzuelke/_projects/agavi/branches/0.11/lol/pub/ works in ze browser 16:26 < Wombert> localhost:~/Sites/_projects/agavi/branches/0.11/lol dzuelke$ ab -n 100 -c 2 "http://127.0.0.1/~dzuelke/_projects/agavi/branches/0.11/lol/pub/" 16:26 < Wombert> This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3 16:26 < Wombert> Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ 16:26 < Wombert> Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ 16:26 < Wombert> Benchmarking 127.0.0.1 (be patient)... 16:26 < Wombert> Test aborted after 10 failures 16:26 < Wombert> : Operation now in progress 16:26 < Xylakant> did you try calling that with curl and dumping the header? 16:26 < Wombert> haha I'll show you what 16:26 < Wombert> localhost:~/Sites/_projects/agavi/branches/0.11/lol dzuelke$ ab -n 1 -v 4 "http://127.0.0.1/~dzuelke/_projects/agavi/branches/0.11/lol/pub/" 16:27 < Wombert> Benchmarking 127.0.0.1 (be patient)...INFO: POST header == 16:27 < Wombert> --- 16:27 < Wombert> GET /~dzuelke/_projects/agavi/branches/0.11/lol/pub/ HTTP/1.0 16:27 < Wombert> User-Agent: ApacheBench/1.3d 16:27 < Wombert> Host: 127.0.0.1 16:27 < Wombert> Accept: */* 16:27 < Wombert> LOG: header received: 16:27 < Wombert> HTTP/1.1 200 OK 16:27 < Wombert> and all the other headers 16:27 < Wombert> evenb 16:27 < Wombert> Content-Length: 1829 16:27 < Wombert> -b 16:27 < horros> Well, I'm off to Riga. Have a nice weekend and all that. 16:28 < Wombert> riga...riga... 16:28 < Xylakant> have a nice one too, horros 16:28 < Wombert> isn't that in... uhm... 16:28 < Xylakant> lettland iirc 16:28 < Wombert> one of the baltic states 16:28 < Wombert> yeah 16:28 < horros> latvia 16:28 < Xylakant> yes 16:29 < Wombert> have fun, horros 16:29 < Wombert> see you monday 16:29 < Wombert> RossC0: would that work? 16:29 < Wombert> Xylakant: I have no damn clue what the problem is 16:29 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [] 16:29 < Xylakant> Wombert: what do the headers look like when you call it with curl 16:30 < _cheerios> if content-length changes in ab benchmark, it marks it as failed request 16:30 < RossC0> yeah should do - how best to auto check? in a given action 16:30 < Wombert> yes, failed, but it doesn't abort due to errors 16:30 < Wombert> RossC0: huh? 16:30 < Wombert> I'd just set a flag on the user in the login action 16:30 < Wombert> $usr->setParameter('logged_in_properly', true); 16:30 < Wombert> or so 16:30 < Wombert> you can also use an attribute 16:31 < Wombert> Xylakant: http://pastebin.ca/359001 16:31 < Xylakant> Wombert: just noticed something on app here 16:32 < Wombert> curl works perfectly fine, too 16:32 < Xylakant> the content-length-header is off by two bytes in my app 16:32 < RossC0> I mean - is there anyway to get an action to automatically check that 'logged_in_propperly' is true and if not do the redirect login and back 16:32 < Xylakant> maybe ab marks that as a failure 16:32 < RossC0> perhaps thats one for my baseAction 16:33 < Wombert> Xylakant: utf8 BOM ? 16:33 < Wombert> or do you use utf8 and just count the chars, not the bytes? 16:33 < Wombert> RossC0: ah 16:33 < Wombert> yes you can do that 16:33 < Wombert> in a way 16:34 < Wombert> you can give the user a credential 16:34 < Xylakant> Wombert: i don't send a contentlength header myself, doesn't the framework do that 16:34 < Xylakant> i'm using utf8 files, but no BOM 16:35 < Xylakant> abd ab marks 7/10 request as failed 16:40 < Xylakant> and _cheerios mentioned something: seems that if the content-length varies on the request, ab treats all request that don't have the length of the first response as failed 16:40 < Xylakant> disabling the ExecutionTimeFilter helped for me 16:42 < Xylakant> and now the content-length sent matches the filesize of the response as well 16:43 < Xylakant> maybe some extra whitespace floating somewhere... 16:45 < _cheerios> diff to the rescue :) 16:47 * Xylakant is trying deperatly to get the task list shortened 16:47 < Xylakant> but instead, once i take an item off the stack as if by a miracle, a new one pops up and asks kindly to be inserted in the queue... 16:48 < Wombert> Xylakant: do you have execution time filter on 16:48 < Wombert> because then the content length may vary I think 16:48 < Xylakant> yes 16:48 < Xylakant> when i switch it off, all is fine 16:49 < Wombert> yeah but thenit's not the content length header 16:49 < Wombert> it's just ab seeing that the documents aren't all the same size 16:49 < Wombert> because you said 16:49 < Wombert> [15:32] Xylakant: the content-length-header is off by two bytes in my app 16:50 < Xylakant> yes, that happened with the executiontime filter on 16:50 < Xylakant> does your content-length match the size of the response? 16:51 < Wombert> yeah 16:51 < Wombert> I think 16:52 < Wombert> if($this->getParameter('send_content_length', true) && !$this->hasHttpHeader('Content-Length') && ($contentSize = $this->getContentSize()) !== false) { 16:52 < Wombert> $this->setHttpHeader('Content-Length', $contentSize); 16:52 < Wombert> } 16:53 < Wombert> that's a simple strlen()... 16:53 < Xylakant> which is ok 16:53 < Xylakant> because it counts the bytes 16:53 < Xylakant> unless you have mb_string overrides on 16:53 < Xylakant> which could get you into trouble 16:54 -!- shoan [n=shoan@59.92.166.60] has joined #agavi 16:57 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 16:57 < Xylakant> creating a new agavi application and running AB works fine here 16:58 < Wombert> Xylakant: http://pastebin.ca/raw/359052 16:59 < Wombert> I'll grab a coffee and stuff, be back in a bit 16:59 < Wombert> Xylakant: set use_sendfile_header to true for the response in factories.xml 16:59 < Wombert> and set sendfile_header_name to X-LIGHTTPD-send-file 16:59 < Wombert> if you send a file stream as response 16:59 < Wombert> it will use the header then 17:00 < Wombert> maybe you could test the performance difference to use_sendfile_header=false for me 17:00 < Wombert> thanks :) 17:00 < Xylakant> i'll do that 17:00 < Wombert> -> 17:05 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:18 -!- shoan [n=shoan@59.92.166.60] has quit [Read error: 110 (Connection timed out)] 17:21 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)] 17:24 < Xylakant> Wombert: ping 17:25 < Xylakant> Wombert: even without tweaking lighty, the effect is noticeable 17:26 < Xylakant> Wombert: small files don't benefit as much, a 1579 byte image improved from 8.88 [#/sec] (mean) to 10.90 [#/sec] (mean) 17:26 < Xylakant> Wombert: but a 11456262 bytes file was 5.65 [#/sec] (mean) to 7.74 [#/sec] (mean) 17:27 < Xylakant> which is somewhere around 40% improvement 17:27 < Xylakant> rough testing, concurrency level 1 17:27 < Xylakant> my lighty on my laptop won't handle much more than one connection easily 17:28 < Xylakant> Wombert: beautiful feature, don't give that to symfony for free ;) 17:30 < Xylakant> all test were 100 request, no fails 17:35 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 17:53 < devosc> I'm looking at the routing.xml config and noticing that '/secureApp' will invoke '/secure' is it possible to not do that (error_404), yet support '/secure/?a=1' and '/secure?a=1' ? 17:55 < Xylakant> either make your route '/secure' more specific by matching on something like '/secure[/?]' or change the ordering so that '/secureApp' gets listed first 17:55 < RossC0> woohoo - this rocks 17:55 < Xylakant> didn't try the second one though, but from what i gathered, that should work 17:56 < Xylakant> RossC0: what? 17:57 < devosc> re '/secureApp' that shouldn't occur at all since the action does not exist and should go to error_404 ... Ok ... was hoping someone know the regexp off the top of their head ... 17:57 < Xylakant> devosc: well, try the one i gave you 17:58 < RossC0> user can autologon via cookie - if its a secure area - it checks user credentials, redirects to secure action, secure view checks if user has actually logged in, if not sets the redirect url and redirects to the login action. On login redirects back to the action where the user *may* be allowed to go 17:58 < Xylakant> it should match /secure/ and /secure? 17:58 < Wombert> Xylakant: fantastic, I'll commit 17:59 < Xylakant> Wombert: cool. I'll have our sysadmins tweak lighty ;) 18:00 < Wombert> RossC0: fantastic, that's exactly the way to go for such a feature 18:00 < Wombert> well done, glad to hear it works 18:05 < CIA-23> david * r1705 /branches/0.11/src/response/AgaviWebResponse.class.php: (log message trimmed) 18:05 < CIA-23> X-Sendfile support for web response. to use, the webresponse factory needs 18:05 < CIA-23> parameters. set 'use_sendfile_header' to true, and optionally set 18:05 < CIA-23> 'sendfile_header_name' to sth like 'X-LIGHTTPD-send-file' if your webserver 18:05 < CIA-23> doesn't use X-Sendfile. then, plainfile streams in the response will be sent 18:06 < CIA-23> using that instead of fpasshtru, which typically means performance gains of up 18:06 < CIA-23> to 50%, and even more with concurrent requests. closes #431, which also has some 18:07 < Xylakant> Wombert: btw, I had the session lost problem even with the redirect in the view 18:07 < Xylakant> it is less frequent, but happens 18:07 < Wombert> yep 18:07 < Xylakant> don't have a reliable test case yet 18:07 < Wombert> I think it happens less often due to the different order of the headers 18:07 < Wombert> the problem is that you cannot create a test case 18:07 < Xylakant> didn't have the time to get one 18:07 < Wombert> if you have a test case that works for you... you bet it won't on my box 18:08 < Wombert> my computer is so slow there's no way this race condition could happen 18:08 < Wombert> but 18:08 < Wombert> bad news 18:08 * RossC0 really pleased with that 18:08 -!- Arme[0] is now known as Arme[N] 18:08 < Wombert> we cannot close the session when sending the response 18:08 < RossC0> <3 agavi 18:08 < Xylakant> i think it's a timing problem and happens more often on actions that take *long* and when the load is high 18:08 < Wombert> the reason is that people may do another dispatch() after the first one 18:08 < Wombert> just theoretical, but might happen 18:09 < Wombert> BUT 18:09 < Xylakant> so actually, this might even happen more often on your box than on mine :) 18:09 < Wombert> I also talked about it with dominik and 18:09 < Wombert> we agreed that you shouldn't really get logged out 18:09 < Wombert> if such a session race condition occurs, all whap happens is that session data might be written in the wrong order 18:09 < Wombert> so you might lose data, but it's weird that the session is lost altogether 18:09 < Xylakant> yes 18:10 < Xylakant> the weird thing is that it works for one request and that the next one fails 18:10 < Xylakant> and it is tied to those changes 18:10 < Xylakant> if i back those out, it never happens 18:10 < Wombert> yeah because the session cookie is sent last there 18:10 < Wombert> hmm hang on 18:11 < Wombert> let my try a fix 18:11 < Wombert> I'll send cookies first 18:11 < Wombert> then headers 18:12 < Wombert> Xylakant: http://pastebin.ca/raw/359162 18:12 < Wombert> can you test that 18:12 < Xylakant> shure 18:13 < Wombert> http://derickrethans.nl/files/xdebug-vancouver7.pdf http://derickrethans.nl/files/ezc-vancouver7.pdf 18:13 < Wombert> in case someone is interested 18:14 < Xylakant> that one breaks 18:14 < Wombert> uh? 18:14 < Xylakant> Call to a member function getGlobalResponse() on a non-object in /opt/local/agavi-svn/src/storage/AgaviSessionStorage.class.php on line 123 18:15 < Wombert> uhm 18:15 < Wombert> wtf 18:15 < Xylakant> ok, clearing the cache helped 18:15 < Xylakant> but it does not fix the problem 18:15 < Wombert> fuck 18:18 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 18:18 < Xylakant> interesting enough: firefox looses the cookie 18:19 < Wombert> yes 18:19 < Wombert> I know 18:19 < Wombert> I mean... 18:20 < Wombert> I thought you knew that, too :p 18:20 < Wombert> and "I know" is probably wrong 18:20 < Wombert> I suspected it yesterday but forgot about it 18:20 < Wombert> funny enough, I was just googling around the moment you mentioned it 18:21 < Xylakant> rhis is a firefix issue 18:21 < Xylakant> safari is fine 18:21 < Wombert> I believe I know what the problem is 18:21 < Xylakant> there are three cookie headers sent 18:21 < Wombert> yes 18:21 < Wombert> one with delete 18:21 < Wombert> one normal 18:21 < Wombert> and one with the actual cookie 18:22 < Xylakant> < Set-Cookie: Agavi=bd141f7c226f6c1e67a36fc355232773 18:22 < Xylakant> < Set-Cookie: Agavi=deleted; expires=Thu, 16-Feb-2006 16:17:35 GMT 18:22 < Xylakant> < Set-Cookie: Agavi=bd141f7c226f6c1e67a36fc355232773; path=/~fgilcher/... 18:22 < Xylakant> < Set-Cookie: locale=de; expires=Sun, 18-Mar-2007 16:17:36 GMT; path=/~fgilcher/... 18:22 < Wombert> and I'm guessing that firefox discards the other two when a redirect header is set 18:22 < Wombert> the problem is I cannot do anything about this 18:22 < Wombert> because php will send a header, and there is no way to prevent that 18:22 < Xylakant> session.use_cookie to off? 18:23 < Wombert> but then it won't eval incoming session cookies 18:23 < Wombert> tried that already 18:24 < Xylakant> hmm 18:24 < Xylakant> how are you setting the cookie? 18:24 < Xylakant> set_cookie i guess? 18:24 < Wombert> yes 18:24 < Wombert> the problem is 18:24 < Wombert> php's own session cookie is set on / 18:24 < Wombert> so I later delete that cookie 18:24 < Wombert> and set it on /the/real/path/to/pub/ 18:25 < Wombert> Xylakant: http://trac.agavi.org/browser/branches/0.11/src/storage/AgaviSessionStorage.class.php#L106 18:26 < Xylakant> i see 18:27 < Wombert> line 115 sends a cookie that overrides the one php sent and deletes it, it's in the wrong path. and then we use setCookie on the response to send the one with the correct path (by passing null as the path) 18:27 < Wombert> if I don't do that, then two cookies would be set, one on / and the other one on the proper path 18:27 < Wombert> which sucks IMO 18:28 < Xylakant> i might have a workarount 18:28 < Xylakant> -t +d 18:28 < Wombert> shoot 18:28 < Xylakant> it's about as messy as my spelling of workaround though 18:28 < Xylakant> you can use header() to overwrite a header directly, before it gets sent 18:29 < Xylakant> i don't know what happens if you use header('Set-Cookie', 'bogus'); 18:29 < Xylakant> or header('Set-Cookie', ''); 18:30 < Xylakant> but one could either build the proper cookie header 18:30 < Xylakant> or obtain it 18:31 < Xylakant> stupid 18:32 < Wombert> ewwww 18:32 < Xylakant> let me test something 18:33 < Wombert> HAH 18:33 < Wombert> I have an idea, Xylakant 18:33 < Wombert> or no 18:33 < Wombert> ob_start() won't capture cookies willit 18:33 < Wombert> booh 18:36 < Xylakant> ni 18:36 < Xylakant> no 18:37 < Xylakant> this does not as documented either: 18:37 < Xylakant> session_start(); 18:37 < Xylakant> setcookie('foo', 'bar'); 18:37 < Xylakant> setcookie('bar', 'foo'); 18:37 < Xylakant> header('Set-Cookie: test'); 18:37 < Xylakant> var_dump(headers_list()); 18:37 < Xylakant> the header call *should* overwrite all Set-Cookie headers 18:37 < Wombert> well 18:37 < Wombert> not in headers_list yet 18:38 < Xylakant> interesting enough: php pretends it does overwrite the second header call 18:38 < Wombert> it just means that only the header will be sent 18:38 < Wombert> uh 18:38 < Xylakant> curl says it overwrites neither 18:38 < Wombert> the second setcookie you mean 18:38 < Wombert> hm 18:38 < Xylakant> both cookies get sent 18:38 < Wombert> but but but 18:38 < Wombert> ony the last one is valid! 18:38 < Xylakant> no 18:38 < Wombert> the browser must discard the first one 18:38 < Wombert> yes 18:38 < Wombert> because 18:38 < Wombert> Set-Cookie contains *all* cookies 18:39 < Wombert> there are only a few headers that may occur multiple times 18:39 < Xylakant> ff does accept all of them 18:39 < Wombert> like WWW-Authenticate 18:39 < Wombert> wtf!? 18:40 < Xylakant> so does safari 18:40 < Wombert> ah wait 18:40 < Wombert> Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]. It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma. The ord 18:40 < Xylakant> it does not accept the one set with header, probably because it contains no value 18:42 < Xylakant> yes, if i set a value for the test-cookie, it gets accepted by safari 18:42 < Xylakant> *sigh* back to the drawing board 18:43 < Wombert> why the HELL does php not offer a method to clear cookies scheduled for sending 18:43 < Wombert> god damnit 18:43 < Wombert> I bet ruby has it 18:43 < Wombert> and I bet python has it 18:43 < Wombert> BUT NOT FUCKING PHP 18:44 < Xylakant> rails has it 18:44 < Xylakant> well, implicitly 18:44 < Xylakant> you store all cookies to be sent in a hash 18:44 < Wombert> yes, agavi has that too 18:44 < Xylakant> and as with every hash, you're free to remove items at any point :) 18:45 < Xylakant> the problem is that php does not have that internally... 18:45 < Wombert> but session_start() is a bloody jackass and doesn't give a feck 18:45 < Xylakant> i do have an idea 18:45 < Xylakant> set session.use_cookies to off 18:46 < Xylakant> read the session cookie directly 18:46 < Xylakant> and set the session id via session_id() 18:46 < Xylakant> or is the request not available at that time? 18:46 < Wombert> that means using ini_set 18:46 < Wombert> hackery 18:46 < Wombert> work 18:47 < Wombert> potential security issues 18:47 < Wombert> oooh my god 18:47 < Xylakant> you're handling most of the session cookie stuff manually anyways 18:47 < Wombert> just because of the retarded firefox 18:47 < Wombert> we don't have the request at that point, no, but we can use $_COOKIES by hand 18:47 < Xylakant> well, that means that there is a requirement on using agavi 18:47 < Wombert> and then an asshole admin switches on pecl/filter and we're screwed 18:48 < Xylakant> stupid solution 18:48 < Xylakant> hack the routing so you can retrieve the basebath earlier? 18:48 < Xylakant> make it a static call? 18:48 < Xylakant> not beautiful either 18:49 < Xylakant> but could work 18:49 < Wombert> nah, the base path determining is complicated 18:49 < Xylakant> just looking at it 18:50 -!- codecop [n=codecop@88.118.232.54] has quit [Connection timed out] 18:50 < Xylakant> but it seems it uses little class variables 18:50 < Wombert> I'm not in the mood to change a million internals just because firefox is buggy anyway 18:51 < Wombert> I realize it's important and all and yes, we need to find a fix... but... 18:51 < Wombert> Xylakant: look at webrouting::initialize 18:52 < Xylakant> don't feel like disappointing you, but IE7 behaves the same 18:52 < Xylakant> and "browser support: Safari only" would probably be a show stopper ;) 18:53 < Xylakant> Wombert: that's what i'm looking at 18:54 < Xylakant> is the request available the moment that the session storage starts up? 18:54 < Wombert> no 18:54 < Xylakant> hmm 18:55 < Xylakant> oh man 18:56 < Xylakant> that is annoying 18:57 < Xylakant> make that a bug report and have a good night's sleep? i can back out the relevant revisions for the time being and be done with it 19:04 -!- Wombert [n=Wombert@dslb-084-056-031-121.pools.arcor-ip.net] has quit [Nick collision from services.] 19:04 -!- Wombert [n=Wombert@dslb-084-056-028-069.pools.arcor-ip.net] has joined #agavi 19:07 < CIA-23> david * r1706 /branches/0.11/src/response/AgaviWebResponse.class.php: send headers after cookies in response 19:07 < Wombert> Xylakant: I'll try something else 19:07 < Xylakant> send me the patches, i'll test 19:08 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 19:12 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 19:17 -!- codecop [n=codecop@88.118.174.63] has joined #agavi 19:29 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 19:30 -!- codecop [n=codecop@88.118.174.63] has quit ["Have to go"] 19:37 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 19:39 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 19:41 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 19:47 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 19:48 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:59 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 20:20 < Wombert> Xylakant: hmm okay so messing with session_set_cookie_params before session_start works 20:20 < Wombert> I can set the domain to "invalid" or so 20:20 < Wombert> still not perfect 20:20 < Wombert> I'll try different session names next 20:30 < Xylakant> hmm. beautiful is something different, but if it works... 20:30 < Xylakant> i'll have to test that later, have to go grab some food 20:30 < Xylakant> cya 20:30 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 20:47 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 20:52 -!- codecop [n=codecop@88.118.174.63] has joined #agavi 21:12 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has joined #agavi 21:13 < devosc> Is there a reason for the routing class execution method to be called twice in one request ? it looks like the second call is from within the execution of the filter chain ? 21:14 < devosc> WebRouting* 21:18 < devosc> Sorry not Routing ... but the ExecutionContainer ... 21:20 -!- eremit_ [n=eremit@p5490ED99.dip.t-dialin.net] has left #agavi [] 21:20 -!- eremit_ [n=eremit@p5490ED99.dip.t-dialin.net] has joined #agavi 21:32 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 21:53 -!- benny`work [n=benny@p54AC3508.dip0.t-ipconnect.de] has joined #agavi 21:59 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 21:59 < Wombert> devosc: uuhm? 21:59 < Wombert> you mean executionfilter::execute 22:00 < Wombert> that can happen if you're being forwarded internally to the login action, for instance 22:00 < Wombert> or if the action doesn'texist and the 404 default action is shown 22:00 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:01 < devosc> even for the home page, i.e. no action in the url ? 22:02 < Wombert> is that a blank project or what 22:02 < devosc> no, checked out the svn 22:03 < Wombert> sample app? 22:03 < Wombert> ah 22:03 < Wombert> yeah the menu to the left is a slot, that's why 22:03 < devosc> If you put a var_dump in the AgaviExecutionContainer execute method, it displays twice ... 22:03 < Wombert> yes 22:03 < Wombert> because the menu is a slot 22:05 < devosc> ok, I think I understand, thanks. 22:05 < Wombert> slots are normal actions 22:05 < Wombert> so for the menu action, an execution container is created and run 22:06 < Wombert> why are you asking? :) 22:07 < devosc> I was trying to understand the flow of the execution ... 22:08 < devosc> Did you see my comment earlier about /secureApp invoking /secure .. I still havent figured out the regexp for it, and to still allow /secure/?a=1 or /secure?a=1 22:09 < devosc> secureApp doesn't exist, it should error_404 22:10 < Wombert> pattern="^/secure(/)?$" 22:10 < Wombert> anchors are key 22:10 < Wombert> the ? makes the trailing slash optional 22:10 < Wombert> the $ guarantees nothing comes after that 22:10 < Wombert> however, that will always generate /secure, not /secure/ 22:10 < Wombert> I recommend you always use trailing slashes for urls 22:11 < impl> Why? 22:12 < Wombert> impl: here: 22:12 < Wombert> 16:27 < Wombert> 22:12 < Wombert> 16:27 < Wombert> 22:12 < Wombert> 16:27 < Wombert> 22:12 < Wombert> 16:27 < Wombert> 22:12 < Wombert> 16:27 < Wombert> 22:12 < Wombert> these are nested 22:12 < impl> Right 22:13 < Wombert> it doesn't matter much if you use sub-actions 22:13 < Wombert> but if you don't 22:13 < Wombert> and the parent route has a valid action (the example above doesn't, Products/ is a folder in actions/) then everything will match 22:13 < Wombert> obviously you can't anchor a pattern at the end if the route has children (unless the inner route has a different source, of courrse) 22:13 < Wombert> -r 22:14 < Wombert> now to enhance that exmaple a bit: 22:15 < Wombert> 22:15 < Wombert> 22:15 < Wombert> 22:15 < Wombert> ... 22:15 < Wombert> 22:15 < Wombert> see? still works :) 22:15 < Wombert> err of course without the / in /rss$ 22:15 < devosc> I havent tried yet, but how to fixate the first url param to a particular module ... i.e. will the $r->gen($action) keep the current module ... 22:15 < Wombert> devosc: doesn't work that way 22:15 < impl> Wombert: question about that leaving out the / 22:16 < Wombert> you give gen() the name of a route 22:16 < Wombert> not the name of an action 22:16 < devosc> was roughly speaking .. 22:16 < Wombert> the idea is that the underlying implementation might change 22:16 < impl> http://site/productsrss 22:16 < impl> What would this do? 22:16 < Wombert> nothing 22:16 < Wombert> because 22:16 < Wombert> no valid action 22:16 < impl> It doesn't match the /$? 22:16 < Wombert> precisely 22:16 < impl> Gotcha 22:17 < devosc> i.e. thinking of /admin/login ... does the admin module login action etc.. will the template in the admin/templates still maintain the /admin ? 22:17 < Wombert> so it skips out of the product parent route and continues matching attempts 22:17 < Wombert> devosc: errrrr 22:17 < Wombert> you mean something like 22:17 < Wombert> 22:17 < Wombert> 22:17 < Wombert> ? 22:18 < Wombert> $r->gen('lala'); will produce /admin/lala/ 22:18 < devosc> yeah 22:18 < devosc> Cool! 22:18 < Wombert> in the products/list/rss example 22:18 < digitarald> new ncis ... yeah 22:18 < Wombert> $r->gen('products.list') would produce /products/ 22:19 < Wombert> and $r->gen('products.list+rss') would produce /products/rss 22:19 < devosc> action=".List" 22:19 < devosc> does what ? 22:19 < Wombert> leading dot will be appended to the respective parent parameter 22:19 < devosc> i.e. the period is confusing me > 22:19 < devosc> ? 22:20 < Wombert> works for action and name attributes 22:20 < Wombert> uhm 22:20 < Wombert> in agavi, action Foo.Bar runs modules/Blah/actions/Foo/BarAction.class.php 22:20 < Wombert> devosc: remember to use the agavi commandline script to generate actions and views 22:20 < devosc> ok thanks. 22:28 < CIA-23> david * r1707 /branches/0.11/src/ (2 files in 2 dirs): cookie settings cleanup in webresponse, HTTP-only flag for session cookie deletion call 22:32 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 22:32 * RossC0 waves 22:32 < Wombert> hi RossC0 22:32 < Wombert> do you have a gun? 22:32 < RossC0> a gun?? 22:32 < Wombert> yes 22:32 * RossC0 checks logs 22:32 < Wombert> the bigger the better 22:32 < Wombert> I just want to shoot some of the php devs 22:33 < RossC0> ah http://www.cs.cmu.edu/afs/cs/usr/wbardwel/public/nfalist/aberdn27.jpg 22:33 < RossC0> big enough ?? 22:34 < RossC0> this the cookies stuff? 22:34 < Wombert> yeah 22:34 < Wombert> so annoying 22:34 < Wombert> the gun seems decent enough 22:35 < RossC0> so to save me decrypting the logs - whats the low down of the problem? 22:35 < Wombert> by default, session cookies are created for / 22:36 < Wombert> that is a problem for some people who run multiple apps in subdirs on the same host 22:36 < Wombert> of course they can configure the session cookie path using agavi 22:36 < Wombert> but 22:36 < Wombert> I wanted to automate it for the sake of... doing things properly 22:37 < RossC0> sure 22:37 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/storage/AgaviSessionStorage.class.php#L106 22:37 < _cheerios> HELLO, THIS IS CLIPPY. I NOTICED YOU WANT TO COMMIT AUTO-SUICIDE, SEEK MORE INFORMATION? 22:38 < Wombert> the setCookie call on the response, RossC0, is done with null as the path in case the path from session_get_cookie_params is an empty string 22:38 < Wombert> it is set to an empty string in line 77 (null is converted to empty string) if nothing has been configured in the config and the default path, /, is set 22:39 < Wombert> if setCookie on the response is called with null as the path, then it tries to figure out the path using the basehref path from the routing 22:39 < v-dogg> just keep in mind that it's better to back down and draw a huge red box to the manual, than do some nasty hack :) 22:40 < Wombert> so your session cookies are always sent for /projects/lala/trunk/pub/ and not for / 22:40 < Wombert> same for all cookies you send by hand, unless, of course, you give a non-null value for the path 22:40 < Wombert> now that works perfectly, BUT session_start() has sent a cookie already, with / as the path 22:40 < Wombert> so we must remove that cookie again 22:41 < Wombert> that's done in line 117 (we must use setcookie because you cannot set cookies with the same name but different paths in agavi, only php allows that) 22:42 < CIA-23> david * r1708 /branches/0.11/src/ (2 files in 2 dirs): ah bloody hell 22:43 < Wombert> RossC0: the result is something like this: 22:43 < Wombert> Agavi=deleted; expires=Thu, 16-Feb-2006 20:42:23 GMT, Agavi=mues77lqfu3do3nhtng8armjq0; path=/~dzuelke/_projects/agavi/branches/0.11/samples/pub/ 22:43 < RossC0> ok 22:43 < RossC0> still with you 22:43 < Wombert> or if the session is created for the first time, it's even: 22:43 < Wombert> Agavi=5819qv62nda2oui9t0rts16ve5, Agavi=deleted; expires=Thu, 16-Feb-2006 20:43:19 GMT, Agavi=5819qv62nda2oui9t0rts16ve5; path=/~dzuelke/_projects/agavi/branches/0.11/samples/pub/ 22:44 < Wombert> this is perfectly fine and allowed in http. only the last cookie is set 22:44 < Wombert> this works in all browsers etc 22:44 < Wombert> BUT 22:44 < Wombert> firefox discards the cookie if the response also contains a Location: header 22:44 < Wombert> for whatever reaason 22:44 < Wombert> probably a bug 22:44 < Wombert> and all that is just because I cannot tell PHP _not_ to send a session cookie at all 22:44 < Wombert> or, even better, get a list of cookies queued for sending and remove some of them 22:45 < Wombert> which sucks big time because I'm absolutely sure that java has that, python has that, asp.net has that, ruby has that 22:45 < Wombert> just not php 22:45 < RossC0> so if the initial session cookie has the correct path - it wouldnt be an issue? 22:45 < Wombert> yes but 22:45 < Wombert> at that time, the routing isn't available yet 22:45 < Wombert> so we cannot know the #correct base path 22:45 < Wombert> -# 22:46 < Wombert> I am thinking about giving all factories startup() methods right now 22:46 < Wombert> that would solve some of the common chicken and egg situations 22:47 < Wombert> plus I could re-introduce the $_GET/$_POST/$_REQUEST/$_COOKIE/ removal code in the request 22:47 < Wombert> that would be pretty cool I think 22:49 < impl> startup() and initialize() and __construct() is too much 22:49 < RossC0> how about a config which holds the default path? 22:50 < Wombert> well yes that's possible already 22:50 < Wombert> but I'd like to have it determined automatically 22:50 < Wombert> 10 devs in a team have 10 different base paths... 22:51 < Wombert> yes, you can configure an environment for each etc etc etc but still 22:51 < RossC0> but if its set based on dir structure - that should always be available? 22:52 < Wombert> yes but I have my projects in /~dzuelke/projects/... 22:52 < Wombert> you have them in /work/... 22:52 < Wombert> joe cool has them in projectname.localhost/ 22:56 < RossC0> sorry I misread - so generally after routing what would an example path be 22:58 < RossC0> something like /module/action ? 22:58 -!- Arme[N] is now known as Arme[0] 23:01 < Wombert> ah no 23:01 < Wombert> the path to where index.php is 23:01 < Wombert> the path for which the cookie is valid 23:01 < Wombert> impl: we don't use ctors ;) 23:02 < Wombert> the thing is... storage already has startup() (not possible otherwise) and the user has it, too, because it's cleaner to have userland code there 23:02 < Wombert> and I think it would allow for much forward compatibility, even if we don't have stuff everywhere right now 23:03 < Wombert> at least the routing or the request could utilize it already, plus of course, this session cookie thing 23:03 < RossC0> can you set cookies using header() alone? 23:03 < RossC0> because that has a bool to replace 23:03 < Wombert> yeah but Xylakant tested that and it doesn't quite work 23:04 < Wombert> plus I cannot get a list of sent cookies so I couldn't build such a header 23:04 < RossC0> man it sucks 23:04 < Wombert> (I have all that were set on the response, yes, but maybe some idiot sets using setcookie()...) 23:04 < Wombert> it sucks uber 23:04 < impl> perhaps what we need is some sort of trigger 23:04 < impl> onInitializationComplete or something 23:05 < impl> Reminds me of .NET 23:05 < impl> because basically what I'm getting out of initialize() and startup() is that startup's code just has to come after everything is done initializing 23:06 < impl> or can we chain initializers somehow? 23:07 < RossC0> does session_set_cookie_params work? 23:08 < RossC0> nm 23:11 < RossC0> right I got to go 23:11 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi [] 23:15 -!- um [n=um@noc.cavokintl.com] has quit [Nick collision from services.] 23:15 -!- um [n=um@noc.cavokintl.com] has joined #agavi 23:26 < Arme[0]> JIT Watch, wow 23:26 < Arme[0]> http://gizmodo.com/gadgets/tag/gizmodo-gallery-networked-accessories-and-more-with-martin-frey-236292.php 23:41 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 23:49 -!- codecop [n=codecop@88.118.174.63] has quit ["Have to go"] 23:50 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 23:51 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 23:53 -!- Arme[N] is now known as Arme[0] --- Day changed Sat Feb 17 2007 00:28 < MrJeep> Fatal error: Out of memory (allocated 23330816) (tried to allocate 63 bytes) in /home/etrouve/private_src/libs/agavi/config/AgaviXmlConfigParser.class.php on line 133 00:28 < MrJeep> anyone knows the meaning of this error ? 00:28 < MrJeep> is it an agavi bug or a server bug ? 00:28 < impl> eep/// 00:29 < impl> do you have some huge XML config? 00:29 -!- devosc [n=devosc@rrcs-24-172-199-238.central.biz.rr.com] has left #agavi [] 00:29 < Wombert> stop stop stop 00:29 < MrJeep> i'm not moving 00:29 < Wombert> MrJeep: read the first five words again 00:29 < Wombert> then tell me what the problem is :) 00:29 < MrJeep> i guess the server is out of memory 00:30 < Wombert> well 00:30 < Wombert> php hit the memory limit 00:30 < MrJeep> I guess this would be a crappy server if he's out of memory for 63 bytes 00:30 < Wombert> while parsing a config 00:30 < Wombert> the limit is likely 8mb 00:30 < Wombert> or 16mb 00:30 < impl> Wombie 00:30 < Wombert> that's not enough in development mode or when compiling configs for the first time in production 00:30 < impl> that's over 22MB 00:30 < impl> Configs surely shouldn't take that much RAM 00:30 < Wombert> yeah that can happen, impl 00:30 < Wombert> hah 00:31 < Wombert> ever looked at the ldml data xmls? :) 00:31 < impl> Is that i18n stuff? 00:31 < MrJeep> the translation is set to off on this project 00:31 < Wombert> hmm 00:32 < Wombert> MrJeep: I'm guessing the memory limit is 8 megabytes 00:32 < Wombert> increase it 00:32 < impl> It's gotta be 24MB, Wombert 00:32 < impl> 23 330 816 bytes = 22.25 megabytes 00:32 < Wombert> it only needs so much memory for the first time 00:32 < Wombert> impl: true 00:32 < Wombert> smart guy 00:32 < Wombert> haha 00:32 < Wombert> :> 00:32 * Wombert is stupid 00:33 < impl> blaaah 00:33 < MrJeep> ok, increase memory 00:34 < MrJeep> well got to go 00:34 < MrJeep> thnx 00:34 < Wombert> heh 00:34 < Wombert> okies :) 00:34 < Wombert> impl: that callback stuff has a crucial weakness 00:34 < Wombert> we cannot reliably force the order of method calls 00:35 < Wombert> unless we hack in some priority shit 00:38 < impl> mmh, yeah 00:38 < impl> AgaviScheduler 00:38 < impl> ;x 00:38 < impl> We're going to have an operating system eventually 00:38 < impl> Okay, so that path is way overcomplicated 00:39 < Wombert> I mean we could steal ez component's signal and slots implementation or whatever 00:39 < Wombert> but... fuck that 00:39 < Wombert> we can do that for 2.0 00:39 < impl> The framework has enough execution overhead as is 00:39 < Wombert> yes 00:39 < Wombert> I was thinking the other day that agavi2 could be event based 00:40 < impl> I've never really taken to that 00:40 < impl> Maybe "components" should be able to send and receive events, but not the controllers 00:43 * Wombert ponders 00:43 < Wombert> look 00:43 < Wombert> for instance 00:43 < Wombert> you could safely overwrite WebRequest::startup() and apply XSS filters on all parameters or so 00:43 < Wombert> because the request is initialized very early, since others need the data, BUT 00:43 < impl> Why would you want to do that in ::startup()? 00:43 < Wombert> the startup, where such stuff is done, since others may not rely on it, happens very late 00:43 < impl> Couldn't you just use a global filter? 00:43 < Wombert> where else? 00:44 < Wombert> filter = slow = why another filter = doesn't belong there = can be disabled = blah 00:44 < Wombert> or something 00:44 < Wombert> :) 00:44 < impl> If filters are slow we need to fix that :P 01:13 < splatch`> *yawn* 01:14 < splatch`> blah, today i have exam 01:31 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 01:32 < Wombert> good luck, splatch` 01:32 * Wombert pokes ttj 01:32 < Wombert> you there mate 01:34 < splatch`> Wombert: thanks :) 01:45 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 01:57 < Wombert> http://www.youtube.com/watch?v=qHO8l-Bd1O4 02:08 -!- Wombert [n=Wombert@dslb-084-056-028-069.pools.arcor-ip.net] has quit [] 02:11 -!- benny`work [n=benny@p54AC3508.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:14 -!- Wombert [n=Wombert@dslb-084-056-028-069.pools.arcor-ip.net] has joined #agavi 03:36 -!- Wombert [n=Wombert@dslb-084-056-028-069.pools.arcor-ip.net] has quit [] 04:44 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has joined #agavi 04:45 < pressureman> v-dogg, u wrote the validator stuff, right? 05:49 -!- pressureman [n=pressure@60-234-213-71.bitstream.orcon.net.nz] has left #agavi [] 07:00 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 07:01 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 07:14 -!- Arme[N] is now known as Arme[0] 08:36 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 09:11 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 09:16 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 09:21 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 09:45 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 09:55 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 10:21 -!- eremit_ [n=eremit@p5490ED99.dip.t-dialin.net] has quit [] 11:20 -!- eremit [n=eremit@p5490FA21.dip.t-dialin.net] has joined #agavi 11:25 -!- eremit [n=eremit@p5490FA21.dip.t-dialin.net] has quit [Client Quit] 11:25 -!- eremit [n=eremit@p5490FA21.dip.t-dialin.net] has joined #agavi 12:03 -!- Wombert [n=Wombert@dslb-084-056-028-069.pools.arcor-ip.net] has joined #agavi 12:19 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 12:26 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 13:20 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 13:20 < _cheerios> morning 13:23 < _cheerios> noticed google is blacklisting websites, the will give you a warning after clicking on search results, so you can decide wether to proceed 13:32 < Wombert> Google is trying to warn you about a blacklisted website, cancel or allow 13:32 < Wombert> muahha 13:32 < Wombert> that means windows vista users now need five clicks to get to a website 13:32 < Wombert> xD 13:42 < _stachu> hello 13:42 < _stachu> i have a question about routes :) 13:42 < _stachu> is there any way to add extension to route with nested routes? 13:43 < _stachu> http://phpfi.com/204675 13:43 < Wombert> 13:44 < Wombert> but then that will be appended to all routes you generate 13:44 < Wombert> you could also include a lookbehind assertion to prevent matching /.html 13:44 < _stachu> wow 13:44 < Wombert> you don't have to use and and such by the way 13:45 < Wombert> these plural tags are always optional, except if they have an attribute that must be given 13:45 < Wombert> such as 13:46 < Wombert> and you should always use uppercase action and module names 13:46 < _stachu> thats fine 13:46 < Wombert> generate them from the command line with the "agavi" script 13:46 < _stachu> thanks 13:48 < _stachu> maybe when will be tutorial about using cmd line on agavi.org :) 13:49 < Wombert> it is in the manual... 13:50 < Wombert> http://www.agavi.org/docs/latest/manuals/manual/ch01s05.html 13:51 < Wombert> use the script 13:51 < Wombert> it saves you tons of trouble and time 13:54 < _stachu> i miss it 13:56 < Wombert> ? 13:58 < _stachu> i havent seen it when i was reading documentation 14:01 < Wombert> ah 14:09 < _cheerios> \o/ new Naruto anime 14:12 -!- codecop [n=codecop@85.206.205.13] has joined #agavi 14:45 -!- codecop [n=codecop@85.206.205.13] has quit ["Have to go"] 16:44 < _cheerios> Heroes :) 16:50 < digitarald> Heeeroes :) 16:50 < digitarald> is it good? 16:50 < digitarald> new ncis episode was really cool! 16:57 < _cheerios> my objectivity is gone. had Naruto come back after 2½ year break, so that was very.. nostalgic :) 16:57 < _cheerios> and last episode of Death Note had a really gripping scene. 17:02 * Wombert pokes ttj 17:16 -!- codecop [n=codecop@85.206.205.13] has joined #agavi 17:36 * ttj is poked. 17:36 < ttj> Wombert: What's up? 17:36 < Wombert> hang on, phone 17:37 -!- feiichi [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."] 17:37 < ttj> Ever heard of handsfree? :P 17:39 < Wombert> heh 17:39 < Wombert> nah I just heard that nokia is laying off 340 people in finland 17:39 < Wombert> especially in it and development 17:39 < Wombert> so I was wondering if your job is at stake or anything 17:40 < ttj> Dunno. :P 17:40 < ttj> I'm not technically in IT or development. :-) 17:40 < Wombert> oh? 17:41 < ttj> Standardization. 17:41 < ttj> Coordination, management and support functions. Essentially. 17:41 < Wombert> ah 17:42 < Wombert> so you're in charge of laying off people 17:42 < Wombert> hehe excellent 17:42 < Wombert> xD 17:42 < Wombert> ;) 17:44 < ttj> But yeah, I haven't gotten a memo and I don't know anything about that. I guess it's possible they'll kick me out. 17:44 < Wombert> http://www.heise.de/english/newsticker/news/85424 17:45 < ttj> http://www.nokia.com/A4136001?newsid=1105551 17:45 < ttj> "The adjustments mainly affect Nokia's Enterprise Solutions business group, Nokia's IT organization and part of the Software Platforms activities in Nokia's Technology Platforms unit." 17:45 < ttj> Those don't appear to affect us. 17:45 < Wombert> cool 17:45 < Wombert> glad to hear that 17:46 < ttj> It's fun how I get to hear these things from people on random IRC channels. :P 17:46 < ttj> "Hey Tuomo, did you hear that you guys aren't getting any bonuses?" "Wha...?" "It's all over the newspapers..." 17:48 < Wombert> lol? 17:48 < Wombert> oO 17:49 * Wombert pokes v-dogg 17:49 * Wombert pokes eremit 17:49 < Wombert> are you around eremit ? 17:51 < ttj> Yep. Some bonuses are tied to EPS-figures. The target was 0.60 euros and we got 0.53 euros. Mind you, we had quite possibly the best half ever, and it wasn't enough to get us bonuses. 17:51 < Wombert> I hate that 17:51 < Wombert> really 17:52 < Wombert> companies making _billions_ in profits 17:52 < Wombert> and laying off people etc 17:52 < Wombert> deutsche bank did that the other year 17:52 < Wombert> 4bn profit in the first quarter, and threw out 4000 staff 17:52 < Wombert> or something like that 17:52 < Wombert> "to remain competitive" 17:52 < Wombert> ... 17:53 < ttj> Yep. 17:53 < Wombert> I mean... what they say is right, it's not exactly their fault. they have to do everything they can to increasse profits otherwise the shareholders sue the hell out of the employees 17:53 < ttj> Well, the goal is to get yourself high enough up the corporate ladder... 17:53 < Wombert> plus if they don't look as good as possible they're easy targets for takeovers 17:53 < Wombert> but 17:54 < Wombert> all that is because of the world's fucked up system where all that counts is the stock price otherwise you'll be ripped apart by hedge fonds 17:54 < Wombert> funds 17:54 < Wombert> sorry 17:54 < Wombert> :p 17:55 < ttj> Yeah, well, you know how the world works. :P 17:55 < ttj> Adapt. :P 17:55 < ttj> Go work for the hedge funds. :P 18:23 < _cheerios> move to china, work for a fraction of what you make here and you will never be out of a job :) 18:29 < ttj> Or start working as an outsourcing consultant. :P 18:29 < ttj> (And I'm, in fact, doing my BSc thesis right now on small offshoring IT/software projects done by SMEs. :P) 18:30 < _cheerios> someones having a party in Hki tonight judging by the fireworks 18:31 < MrJeep> fireworks... ahh I miss summer 18:31 < ttj> _cheerios: Chinese New Year. 18:31 < MrJeep> i have something like 4-5 feet of snow in my backyard 18:31 < _cheerios> so it's the chinese-hki party ? hmm 18:31 < Wombert> nah that was last week 18:31 < _cheerios> or beijing-hki party tonight, that one im aware of 18:31 < _cheerios> ttj: send me a copy of the thesis, im interested :) 18:32 < ttj> Sure, I'm looking to have it done by April-May. 18:32 < ttj> But you'll most likely have to remind me. :-) 18:35 < v-dogg> huomenta 18:35 < Wombert> yoyoyo v-dogg zombie 18:35 < ttj> Up at this hour already? 18:35 < Wombert> I want to add startup() methods for ze factories 18:35 < v-dogg> yoyoyo, what's up 18:35 < Wombert> they're initialized() first 18:35 < Wombert> then startup()ped in a different order 18:35 < Wombert> that 18:35 < Wombert> - fixes the session cookie issue 18:36 < Wombert> - allows us to remove $_GET, $_POST, $_COOKIE etc (since request::startup() would be called last) etc 18:36 < Wombert> - aaaand uhm 18:36 < Wombert> well I reckon it's a lot more forward compatible in general 18:36 < Wombert> since we always have the opportunity to solve chicken and egg situations 18:36 < Wombert> storage and user have a startup already anywayx 18:36 < Wombert> -x 18:37 < v-dogg> fixes meaning removes the need for that delete-reset hack? 18:37 < Wombert> yes 18:37 < v-dogg> (session cookies) 18:37 < v-dogg> that alone justifies it :) 18:37 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)] 18:40 < Wombert> well 18:40 < Wombert> the more important thing is the unsetting of $_GET and friends 18:40 < Wombert> we cannot do that right now because the routing needs the request 18:41 < Wombert> and the routing needs $_GET 18:44 < _cheerios> why the need to unset? 18:47 < v-dogg> prevents ignorant newbies to do silly things 18:48 < _cheerios> DRM!!! 18:49 < v-dogg> with strict validation mode and $_* unset there's no way you can use unsecure input 18:50 < v-dogg> digital rights management? 18:50 < Wombert> well there is, you can assign the global request as a memer in action/view initialize, for instance, the locking is just there to prevent the most horrible mistakes (and, more importantly, things done by accident) 18:50 < Wombert> BUT 18:51 < Wombert> people might have custom request implementations that filter out XSS attacks etc 18:51 < Wombert> from the stuff that's set into the response 18:51 < Wombert> without filtering $_GET etc 18:51 < Wombert> so we should unset these 18:52 < MrJeep> is it possible to cancel a form action with js ? 18:54 < v-dogg> cancel after the user has pushed the submit button? 18:54 < v-dogg> yes, as far as I know 18:54 < Wombert> yup 18:54 < Wombert> onsubmit of the form 18:55 < Wombert> return false 18:55 < Wombert> but, has crossbrowser issues 18:55 < Wombert> even between firefox versions etc 18:55 < v-dogg> really? 19:04 -!- Wombert [n=Wombert@dslb-084-056-028-069.pools.arcor-ip.net] has quit [Nick collision from services.] 19:05 -!- Wombert [n=Wombert@dslb-084-056-013-210.pools.arcor-ip.net] has joined #agavi 19:24 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 19:27 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 131 (Connection reset by peer)] 19:33 < digitarald> MrJeep: http://www.quirksmode.org/js/forms.html 19:40 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 19:40 < MrJeep> thnx 19:41 < Wombert> v-dogg: do we still need the session auto_start stuff 19:44 -!- benny`work [n=benny@p54AC23F6.dip0.t-ipconnect.de] has joined #agavi 19:48 < _stachu> i have a problem with routing again 19:48 < _stachu> where can i set port for routing? 19:48 < _stachu> could anyone help? 19:51 < Wombert> what do you mean, set a port 19:52 < _stachu> when im using $ro->getBaseHref(); it doesnt display port 19:52 < Wombert> okay 19:52 < Wombert> might be a bug 19:52 < Wombert> I'll help you in five minutes 19:52 < Wombert> brb 19:53 < _stachu> thx 19:53 -!- benny`work [n=benny@p54AC23F6.dip0.t-ipconnect.de] has left #agavi ["Leaving"] 20:05 -!- codecop [n=codecop@85.206.205.13] has quit ["Have to go"] 20:24 < Wombert> okay sorry for the delay, _stachu 20:26 < _stachu> no problem 20:27 < digitarald> offtopic js question: is there any way for namespaces in prototype 20:27 < Wombert> so you're running on port 81 or so? 20:27 < Wombert> digitarald: #prototype 20:27 < _stachu> yes 20:27 < Wombert> okay 20:27 < Wombert> can you give me the results of 20:27 < Wombert> getUrlHost, getUrlPort, getUrlSceme and getUrlAuthority from the request 20:28 < Wombert> and, if you can, a phpinfo() 20:28 < Wombert> or a var_dump of $_SERVER and $_ENV 20:28 < Wombert> are you running a load balancer or anything 20:28 < Wombert> what web server, version, sapi, php version 20:43 < _stachu> i have forgotten to change servername in apache httpd.ini(i changed only listen)... port was 80 20:43 < _stachu> but now i have links looking like that: localhost:1/ 20:43 < _stachu> i set port = 2080 20:43 < _stachu> http://phpfi.com/204805 20:54 < Wombert> and what does getBaseHref return 20:54 < Wombert> the server name must be changed, that's correct, listen alone is not enough 20:55 < _stachu> localhost:2080 20:55 < Wombert> so that is correct? 20:55 < Wombert> okay then it must be a bug in gen() 20:55 < Wombert> I will have a look 20:56 < _stachu> ok 20:56 < Wombert> okay uhm 20:56 < Wombert> gan you show me the gen() call? 20:56 < Wombert> can 20:56 < Wombert> does gen() always generate complete urls for you? 20:56 < Wombert> odd 20:57 < _stachu> its working 20:57 < _stachu> sorry 20:57 < Wombert> uh? 20:57 < Wombert> oO 20:57 < _stachu> becouse i was looking where it check port 20:58 < Wombert> did you pass "true" for the port or so in the gen() options? 20:58 < _stachu> ;) 20:59 < _stachu> it was only wrong configuration of apache 20:59 < _stachu> i wast your time 20:59 < _stachu> *e 21:00 < _stachu> sorry again and thanks for help 21:01 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 21:03 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 21:14 < Wombert> _stachu: hey, no worries, no harm done! 21:17 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:20 < _stachu> :) 21:52 < impl> heya, Wombert: is ProjectBaseAction a standard object name, or should I change my templates to reflect something like BaseAction? 21:52 < impl> class name rather 21:57 < Wombert> impl: we can't make that dynamic since the code templates must know the base name 21:57 < Wombert> I recommend that you have MyprojectnameBaseAction 21:58 < impl> Yeah, I'm overriding all the code templates myself 21:58 < Wombert> also, it's a good idea to have separate base actions and views for each module 21:59 < impl> Hmm, okay 22:00 < impl> Oh, also, have we gotten ->getModel('some_propel_model') to work yet? 22:01 < Wombert> in a way, yes, but I have to modify propel heavily to achieve proper integration 22:01 < Wombert> propel doesn't support instantiable peers yet 22:01 < impl> Ack 22:01 < Wombert> I'll hack that in before 1.3beta1 (due march 1st) 22:02 < impl> I don't understand why they decided to use static classes everywhere :\ 22:18 < _cheerios> heh 22:41 < splatch`> hello 22:42 < splatch`> static = interitance problems ;) 22:49 < CIA-23> david * r1709 /branches/0.11/src/ (2 files in 2 dirs): moved global response creation from factories.xml to Controller::initialize, which also isn't a parameter holder anymore either (or does it have to be?) 22:49 < _cheerios> http://notcot.org/images/uploads/arrrrtoast.jpg 22:53 < _cheerios> http://dilbert.com/comics/dilbert/archive/images/dilbert2007916360215.gif (!) 22:56 < impl> woop woop 22:56 < impl> _cheerios: haha 23:00 < Wombert> HARRR! 23:00 < Wombert> HARRRRRR! 23:00 * Wombert has a plan 23:03 < _cheerios> if you need more methods for setting up classes, could use rc1.d(), rc2.d(), rc3.d(),..., rcn.d(), so things just like.. flow by numbers! 23:06 < _cheerios> http://www.celebrity-babies.com/images/britneybald.jpg 23:16 < MrJeep> did the validator manager changed again ? 23:17 < MrJeep> i mean, changed place 23:21 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 23:24 < MrJeep> Call to undefined method AgaviExecutionContainer::getValidatorManager() in D:\Web\Project\Web\Tiger\app\modules\User\actions\LoginAction.class.php on line 93 23:26 < MrJeep> $vm = $this->container->getValidatorManager(); 23:26 < MrJeep> that's the line 23:27 < impl> Wombert: We're going to need something like lxr.php.net soon enough :P 23:27 < MrJeep> arg. validation manager 23:27 < MrJeep> make sense 23:29 < impl> Wombert: in code_templates/defaults, all the actions (Login, etc.) should extend ProjectBaseAction instead of AgaviAction (same for views) 23:29 < impl> Want me to fix? 23:38 < Wombert> ah no that's intentional 23:38 < Wombert> they're just there to prevent exceptions 23:38 < Wombert> people are supposed to completely replace them 23:38 < Wombert> the views for instance don't use layouts and all 23:41 < impl> Alright then 23:42 < impl> ;o 23:53 < Wombert> okay I'll be out for a beer 23:53 < Wombert> catch you guys in a bit 23:54 < impl> Have fun 23:56 -!- JamieWolf [n=jamiewol@e177036031.adsl.alicedsl.de] has joined #agavi --- Day changed Sun Feb 18 2007 00:01 < MrJeep> did anything changed with the routing separator parameter ? 00:01 < MrJeep> array('separator' => ... 00:35 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 145 (Connection timed out)] 00:37 < _cheerios> is there an easy way to setup multiple trees with a few tables in sql? 00:37 < _cheerios> re: (any number) of trees with a few tables 00:57 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 02:11 < Wombert> re 02:15 < Wombert> MrJeep: shouldn't have, no 02:15 < Wombert> but 02:15 < Wombert> I have an idea 02:16 < Wombert> what do you think about allowing a string as the third argument, in addition to an array 02:16 < Wombert> and that string specifies the name of a preset 02:16 < Wombert> i.e. "noxml" for 'separator' => '&'; 02:17 < Wombert> and "email" for 'separator' => '&', 'relative' => false 02:17 * Wombert pokes impl 02:17 < Wombert> I need a good name for that 02:17 < Wombert> or is "preset" okay 02:18 < impl> whu 02:18 < impl> Hi 02:18 < impl> Wombert: Do we have a name for things like that already/ 02:18 < impl> s/\//?/ 02:18 < impl> I was thinking 'template' 02:19 < Wombert> too ambiguous imo 02:21 < impl> generator_type? 02:21 < impl> (to go with output_type) 02:21 < Wombert> 02:21 < Wombert> 02:21 < Wombert> & 02:22 < Wombert> false 02:22 < Wombert> 02:22 < Wombert> 02:22 < Wombert> false 02:22 < Wombert> 02:22 < Wombert> 02:22 < impl> huh 02:22 < impl> Should that really be a parameter? 02:22 < impl> It seems to me like it should be its own tag 02:22 < Wombert> yes, parameters to the routing factory 02:23 < impl> hmm, if you say so 02:23 < impl> I would have done ... in routing.xml 02:24 < Wombert> uuuh 02:25 < impl> No? :P 02:25 < Wombert> well it's just for options and... dunno 04:01 < CIA-23> david * r1710 /branches/0.11/src/routing/ (AgaviRouting.class.php AgaviWebRouting.class.php): Routing::gen() options presets support, see the ticket for instructions, but use 'gen_options_presets' (not 'options_presets' as in the ticket description), closes #432 04:21 -!- benny`gentoo [n=benny@p54AC0920.dip0.t-ipconnect.de] has joined #agavi 04:21 -!- benny`gentoo [n=benny@p54AC0920.dip0.t-ipconnect.de] has quit [Read error: 104 (Connection reset by peer)] 04:26 < Wombert> impl: gen_option_presets or gen_options_presets 04:27 < impl> I think it's just one option 04:27 < impl> so I'd go with the former 04:44 < Wombert> hmm okay 04:44 < Wombert> but 04:44 < Wombert> hmm 04:44 < Wombert> impl: isn't it an array of options 04:44 < Wombert> I have $defaultGenOptions and $genOptionsPresets in ze routing 04:45 < impl> It's an array of presets, isn't it? 04:45 < impl> one option: "presets", with many values, each of which is a preset 04:46 < Wombert> nah 04:46 < Wombert> you have many presets with any number of gen options int hem 04:46 < Wombert> http://trac.agavi.org/ticket/432#comment:1 04:46 < Wombert> http://trac.agavi.org/ticket/432 04:46 < impl> Maybe I have this backwards 04:46 * impl click 04:47 < impl> So is it more like gen_presets_options? 04:47 < impl> ohh wait I see what you're saying 04:47 < impl> yeah, gen_options_presets is fine 04:58 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 04:59 < Wombert> okay 04:59 < Wombert> cool 05:00 < Wombert> then I can go to bed ;) 05:00 < Wombert> have a good night 05:00 -!- Wombert [n=Wombert@dslb-084-056-013-210.pools.arcor-ip.net] has quit [] 05:09 -!- JamieWolf [n=jamiewol@e177036031.adsl.alicedsl.de] has quit [] 09:00 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:39 < v-dogg> huomenta 09:49 -!- impl [n=impl@httpcraft/php/impl] has quit [Client Quit] 09:50 < raidman> huomenta 09:57 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 11:08 -!- eremit_ [n=eremit@p5490C119.dip.t-dialin.net] has joined #agavi 11:18 -!- eremit [n=eremit@p5490FA21.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 11:46 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 11:46 < _cheerios> huoimenta 11:56 -!- eremit_ is now known as eremit 12:03 < _cheerios> Back to Black sounds \o/ on Winehouse's album 12:19 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 13:15 -!- MikeSeth [n=mst@l85-130-133-192.broadband.actcom.net.il] has joined #agavi 13:52 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 15:06 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 15:11 -!- Wombert [n=Wombert@dslb-084-056-013-210.pools.arcor-ip.net] has joined #agavi 15:24 < _cheerios> Mummified body found in front of blaring TV 15:24 < _cheerios> http://today.reuters.com/news/articlenews.aspx?type=domesticNews&storyid=2007-02-17T211521Z_01_N17362175_RTRUKOC_0_US-DEATH-TELEVISION.xml&src=rss 15:44 -!- feiichi [i=foresth@local.hide-forest.net] has joined #agavi 15:51 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11.0RC2 :: RC3 MONDAY :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 (99.2125984%) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 15:55 < MikeSeth> MONDAY?! 15:55 < Wombert> t-t-t-tomorrow! 15:57 < digitarald> rc3 ... tomorrow ... uh 15:57 < Wombert> uhm 15:57 < Wombert> anything wrong? :p 15:57 < MikeSeth> <333333 15:58 < digitarald> i'm so excited ;) 15:59 < _cheerios> o_O 16:02 < splatch`> i just wrote about agavi validators on forum.php.pl :) 16:02 -!- feiichi [i=foresth@local.hide-forest.net] has left #agavi [] 16:09 < splatch`> Wombert: what will do contributor? 16:11 < Wombert> ? 16:12 < splatch`> Wombert: what do the contributor? 16:13 < digitarald> ? 16:13 < Wombert> I don't understand 16:13 < splatch`> give me a moment 16:14 -!- benny`work [n=benny@p54AC0920.dip0.t-ipconnect.de] has joined #agavi 16:14 < splatch`> what is he going to do? 16:15 < Wombert> who? 16:15 < Wombert> :( 16:15 < digitarald> this conversation is pretty interesting 16:16 < splatch`> the contributor 16:16 < splatch`> contributor is an organization, yes? 16:16 < Wombert> uuuh 16:16 < Wombert> no 16:17 < splatch`> an person? 16:17 < Wombert> a contributor is someone who contributes (does some work for, helps, ...) someone else 16:17 < Wombert> in case of agavi, a contributor would submit patches or documentation or so to the project 16:19 < splatch`> i understand 16:20 -!- Arme[N] is now known as Arme[0] 16:20 < Wombert> another example 16:20 < Wombert> someone who contributes money to the red cross is usually called a donor 16:20 < Wombert> he donates money 16:21 < Wombert> but you could say he contributes money, even though that is not so common as saying "he donates money" 16:28 -!- Arme[0] is now known as Arme[N] 16:35 -!- Arme[N] is now known as Arme[0] 16:50 < digitarald> oh ... no - in routing names 16:51 < Wombert> ? 16:51 < digitarald> yep 16:52 < Wombert> becaue 16:53 < Wombert> profile+rss works already 16:53 < Wombert> and we'll add profile-rss to 1.0 16:53 < Wombert> forward compatibility 16:53 < Wombert> you should nest these anyway 16:53 < Wombert> profile.edit etc 16:53 < digitarald> regexp replace to the rescue ... nesting will not do the job for this routes 16:54 < digitarald> or ... mh 16:54 < digitarald> maybe 16:54 < digitarald> lets refactor 16:54 < Wombert> show me that part of the routing.xml 16:57 < digitarald> http://pastie.caboo.se/41209 16:57 < Wombert> oh my god 16:57 < Wombert> you know how slow that is? 16:58 < Wombert> nest the routes 16:58 < digitarald> the pastie? 16:58 < Wombert> no, that routing.xml 16:58 < Wombert> I recommend urls like tis: 16:58 < Wombert> this 16:58 < Wombert> /photos/ 16:59 < Wombert> /photo/15/ 16:59 < Wombert> /photo//15/edit/ 17:00 < digitarald> so i nest edit in the photo/id route 17:01 < digitarald> thats one nested route 17:01 < Wombert> btw 17:02 < Wombert> /photo-edit(/{id:\d+})(-{title:.*})?$ 17:02 < Wombert> the id is required anyway 17:02 < Wombert> so no need to have / as a prefix 17:04 < digitarald> can i or do i have to wrap it with 17:04 < Wombert> 17:04 < Wombert> 17:04 < Wombert> 17:04 < Wombert> 17:04 < Wombert> 17:04 < Wombert> 17:04 < digitarald> k, thats an answer 17:04 < Wombert> as usual, all plural tags are optional unless one of their attributes is required, like 17:05 < Wombert> you might want to consider sub-actions, too 17:05 < Wombert> instead of ".index", you could also use "photos" 17:12 < digitarald> .. had to wake up my girl 17:12 < digitarald> ok ... in the sample app login has the nested logout route 17:12 < digitarald> but loogout has no "." 17:12 < Wombert> yes 17:12 < Wombert> so you can use "login" and "logout" to generate them 17:13 < Wombert> if logout had a leading ., you would have to use login.logout 17:13 < Wombert> it's just an example 17:13 < digitarald> ok, cool 17:15 < digitarald> all these secrets ... feeling like a investigator 17:15 < digitarald> discovery of agavi features 17:16 < Wombert> the leading dot works for the action attribute as well 17:50 -!- MikeSeth [n=mst@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 17:53 -!- MikeSeth [n=mst@l85-130-133-192.broadband.actcom.net.il] has joined #agavi 18:05 * Wombert pokes v-dogg 18:05 < Wombert> you there buddy 18:06 < Wombert> and what about eremit 18:06 * Wombert pokes eremit 18:12 < v-dogg> pokety poke 18:13 < Wombert> can I please throw out auto_start for ze storage 18:13 < Wombert> or do we still need that 18:13 < v-dogg> no idea, never used it myself 18:13 < Wombert> $this->storage = new AgaviSessionStorage(); 18:13 < Wombert> $this->storage->initialize($this, array ( 18:13 < Wombert> )); 18:13 < Wombert> if($this->storage->getParameter("auto_start", true)) $this->storage->startup(); 18:14 -!- MikeSeth [n=mst@l85-130-133-192.broadband.actcom.net.il] has quit [Read error: 110 (Connection timed out)] 18:16 < Wombert> okay 18:16 < Wombert> goodbye to that then 18:24 < _cheerios> heh @ poker player quotes; "yeah, 15k euroes a/mo would be doable if i'd play 8hrs/day. But money ain't that big a factor, too lazy" 18:49 < splatch`> so.. Wombert i can be a contributor :) 18:58 < digitarald> rewriting all generated routes ... great 18:58 -!- Wombert [n=Wombert@dslb-084-056-013-210.pools.arcor-ip.net] has quit [Nick collision from services.] 18:58 -!- Wombert [n=Wombert@dslb-084-056-014-165.pools.arcor-ip.net] has joined #agavi 19:04 < splatch`> digitarald: i had problem with routing 19:04 < splatch`> on new serwer 19:05 < digitarald> i just nested them all properly 19:05 < digitarald> only 80 matches to change, good 19:06 < splatch`> only 80? ;) 19:06 < digitarald> most of them are in the propel models 19:07 < digitarald> so i can change them easily 19:08 < splatch`> Are you generate address from propel row classes? 19:08 < digitarald> no 19:09 < digitarald> but my usermodel generates the links to profile/account/etc. in his toArray method 19:35 -!- Arme[0] is now known as Arme[N] 19:45 < digitarald> mh, when i enable caching it slows down everything ... i think i did something wrong 19:46 < Wombert> are you caching propel objects or anything 19:46 < Wombert> check the cache files 19:47 < Wombert> maybe it serializes and restores the context and eeeeeeverything 19:48 < digitarald> i only cache image output 19:48 < Wombert> image output? oO 19:49 < splatch`> i create images with agavi too 19:50 < splatch`> in execute gd doing somthing and next store output to an file 19:50 < splatch`> and use route to that file 19:50 < Wombert> yep 19:50 < Wombert> you can also do $res->setContent($filePtr); 19:50 < splatch`> this file :) 19:50 < Wombert> if will then use fpassthru() to output fromt hat stream 19:50 < digitarald> i do 19:50 < digitarald> since i use that its slower 19:51 < digitarald> maybe the server configuration 19:51 < Wombert> if you use lighttpd, enable use_sendfile_header for the response factory and set sendfile_header_name to X-LIGHTTPD-send-file 19:52 < Wombert> it might be slower, yeah, for small files, since it doesn't use output buffering 19:52 < digitarald> any idea why its slower? 19:52 < digitarald> ok 19:52 < digitarald> then i'll switch it off for development 19:52 < digitarald> lets see how it works in production 19:53 < _cheerios> what changed (in configs?) to break $container->getValidationManager() ? 19:54 < _cheerios> (or is it just me? :)) 19:54 < Wombert> yup ^^ 20:00 < _cheerios> ah, had an old index file somehow in place that used older agavi svn *shrug* 20:05 < _cheerios> ... which meant i had old path in agavi, fixed. 20:06 < splatch`> Wombert: http://trac.agavi.org/ticket/303 that's must be in 1.0, that future (+validation) just killing other frameworks :) 20:07 < Wombert> yeah ross has done some work on it already, very cool 20:34 < splatch`> I don't know who is ross 20:40 < digitarald> RossC0 20:48 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:23 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 22:09 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 22:30 -!- Arme[N] is now known as Arme[0] 22:33 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 23:34 < digitarald> anybody ever tried xpdo? 23:46 < kaos> lol 23:46 < kaos> http://xpdo.org/documentation/getting-started/retrieving-objects.html 23:46 < kaos> check the complex criteria sample --- Day changed Mon Feb 19 2007 00:01 < _cheerios> xpod? pdo extended? pdo v2? hmm 00:11 < digitarald> its derived from some unkown cms ... then improved in MODx ... 00:11 < digitarald> we need an agavi cms :) 00:17 < kaos> nobody stops you doing that ;)) 00:20 < digitarald> oh ... right ... 00:20 < digitarald> i know people who are already working on that task ;) 00:32 < kaos> will it be open source ? ;)) 00:35 < digitarald> no 00:35 < digitarald> i don't work for these people anymore 00:36 -!- implement [n=impl@httpcraft/php/impl] has joined #agavi 00:36 -!- impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.] 00:36 -!- implement is now known as impl 00:43 < _cheerios> haha.. britney's hair on eBay 00:44 < kaos> lol 00:45 < _cheerios> "I haven't waxed my pubes in a few months. Maybe I should shave my cock and sell my pubes on eBay as well?" 00:45 < _cheerios> doh. ebay has removed the auction 00:46 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 01:06 < Wombert> it is... GPL 01:07 < Wombert> I mean 01:07 < Wombert> come on 03:03 < CIA-23> dominik * r1711 /branches/0.11/src/routing/AgaviRouting.class.php: don't merge ignores and params in gen but use the pattern_parameters instead 03:18 < CIA-23> dominik * r1712 /branches/0.11/src/routing/AgaviRouting.class.php: fix typo ... 03:29 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 03:44 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has joined #agavi 03:50 -!- digitarald [n=Miranda@62-43-129-211.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 03:54 < CIA-23> david * r1713 /branches/0.11/src/ (12 files in 10 dirs): 03:54 < CIA-23> startup() for all core objects. all session cookie issues are now fixed, and 03:54 < CIA-23> $_GET and friends are now unset again properly during startup. cleaned up 03:54 < CIA-23> factory config handler a lot. session cookie lifetime can now be in strtotime 03:54 < CIA-23> format, too (refs #423). closes #433 03:54 < Wombert> yay 04:19 -!- benny`gentoo [n=benny@p54AC3A9F.dip0.t-ipconnect.de] has joined #agavi 04:19 * Wombert pokes benny`gentoo 04:19 < Wombert> ping? 04:21 < benny`gentoo> whats up 04:21 < Wombert> icq icq icq! 04:22 < benny`gentoo> answer me ;) 04:22 < Wombert> I would but you went offline :p 04:23 < benny`gentoo> strange.. 04:32 -!- benny`work [n=benny@p54AC0920.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 04:38 < CIA-23> dominik * r1714 /branches/0.11/ (4 files in 2 dirs): 04:38 < CIA-23> slightly BREAKING CHANGE! 04:38 < CIA-23> changed the routing callback signature to return bool for indicating whether that route should be generated. 04:38 < CIA-23> the matched parameters during the routing are now only automatically used when generating urls when the route is implies. 04:38 < CIA-23> closes #434,#435,#436 04:46 < CIA-23> david * r1715 /branches/0.11/src/config/AgaviFactoryConfigHandler.class.php: small 'required' fix, refs #433 04:50 < CIA-23> dominik * r1716 /branches/0.11/src/translation/AgaviTranslationManager.class.php: 04:50 < CIA-23> add method to retrieve translator/formatter instances from the translationManager 04:50 < CIA-23> closes #417 05:14 < CIA-23> david * r1717 /branches/0.11/CHANGELOG: RC3 CHANGELOG 05:15 < impl> RC3, what 05:15 < impl> What are you guys up to 05:15 < impl> :P 05:24 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11.0RC2 :: RC3 MONDAY :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 (99.6153846%) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 05:33 -!- benny`gentoo [n=benny@p54AC3A9F.dip0.t-ipconnect.de] has quit ["unset($this);"] 06:34 -!- neotekk_ [n=zwc@c-575370d5.013-12-73746f7.cust.bredbandsbolaget.se] has joined #agavi 06:34 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:42 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 06:46 -!- Wombert [n=Wombert@dslb-084-056-014-165.pools.arcor-ip.net] has quit [] 07:03 -!- Wombert [n=Wombert@dslb-084-056-014-165.pools.arcor-ip.net] has joined #agavi 07:23 -!- Wombert [n=Wombert@dslb-084-056-014-165.pools.arcor-ip.net] has quit [] 08:37 < v-dogg> huomenta 08:52 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:33 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:36 < _cheerios> huomenta 09:36 < ttj> Yo. 09:38 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 145 (Connection timed out)] 09:55 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:41 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:41 < RossC0> morning 10:48 < v-dogg> morn 10:50 < _cheerios> morning 10:53 < splatch`> oi! 10:57 < RossC0> Anybody used / looked at: http://reductivelabs.com/projects/puppet/index.html 10:59 < splatch`> I don't used this. 11:00 < v-dogg> *sigh* 11:01 < v-dogg> wiki is not good for guides/manuals 11:01 < splatch`> v-dogg: for articles? 11:02 < v-dogg> depends 11:02 < v-dogg> but big books (like manuals) it just sucks 11:02 < v-dogg> +for 11:03 < splatch`> yes, that's right 11:03 < splatch`> anyone know TeX? 11:05 < v-dogg> RossC0: first time I see this but the idea seems nice 11:06 < v-dogg> I am, however, a bit sceptical :) 11:09 -!- eremit_ [n=eremit@p5490E3EB.dip.t-dialin.net] has joined #agavi 11:12 < splatch`> manuals only in docbook? 11:16 -!- eremit [n=eremit@p5490C119.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 11:17 < splatch`> for books and manuals only docbook, right? 11:17 < RossC0> It sounds interesting enough, could be combined with capistrano to make easy server deployment scripts 11:20 < RossC0> re: manuals - being in a web format is good, wiki's just aren't the most helpful method for a) managing the content b) discovering content c) distributing content. 11:22 < splatch`> just click and write 11:23 < RossC0> yeah wikis are very easy: http://wiki.docbook.org/ 11:34 -!- raidman is now known as raidman|Away 11:38 < RossC0> hmm - I updated agavi and now my database class is initialised twice? 11:38 < RossC0> ah hmm - nm 11:41 -!- MikeSeth [n=michael@unaffiliated/mikeseth] has joined #agavi 11:41 < MikeSeth> tumdedum! 11:41 < RossC0> its not related - AgaviDoctrineDatabase bug.. 11:43 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:43 < Xylakant> good morning 11:43 < RossC0> morning 11:43 -!- eremit_ is now known as eremit 11:44 < MikeSeth> so, how are you addicts doing? 11:45 < MikeSeth> RossC0: does my class work? 11:45 < RossC0> your class? 11:45 < MikeSeth> yeah, MDB2 adapter.. or was someone else trying it on? 11:45 < RossC0> hmm that was Arme 11:46 < RossC0> I think 11:48 < MikeSeth> ah 11:48 < MikeSeth> 'been away :) 11:48 < RossC0> no worries - good w/e ? 11:50 < MikeSeth> depends... got some interesting books to read 11:51 < MikeSeth> history of US UDT/SEALs.. and James Clavell's Tai Pen 12:01 < _cheerios> you mean Tai Pan ? 12:01 < _cheerios> if so, that book is SO GOOD 12:02 < _cheerios> i read it some ten years back and it had me engrossed till the last smear of ink. 12:02 < _cheerios> Noble House is another from the same saga 12:03 < MikeSeth> yeah 12:03 < MikeSeth> I've also read Shogun 12:03 < MikeSeth> Clavell is awesome! 12:03 < _cheerios> don't read Whirldwind... it's horrible :) 12:04 < _cheerios> Shogun and Gai-Jin seem like the missing pieces I should gather to further form my Clavell knowledge 12:06 < _cheerios> noble house + tai pan in any case are some of the best reads i remember 12:06 < _cheerios> the influence might be due having not read much asian themed books, but he sure had me :) 12:11 < _cheerios> maybe i should only dwelve into Shogun. whirlwind was a disaster and seems ½ of Gai-Jin is gibberish due his illness taking hold of him (he died the year following the publication in 1994); reading amazon. 12:12 < _cheerios> even as whirlwind did have a FINNISH character in it :) 12:13 < _cheerios> naturally he likes saunas, wielding an AXE and is into passionate sex 12:13 < MikeSeth> sounds like fun 12:13 < MikeSeth> I loved Shogun very much 12:13 < MikeSeth> it is unpredictable, detailed, and breathtaking 12:14 < _cheerios> you make me want to head to the library, asap, to get me a copy 12:14 < _cheerios> i'd say you won't be disappointed by the Struan saga (tai pan + noble house) 12:14 < MikeSeth> here's an Agavi question though: my boss asked to format all monetary values with decimal separaters in $application's reports. Should I just write a helper class to format output and use it directly in the templates? 12:14 < MikeSeth> I have tai pan at home 12:15 < MikeSeth> I am about to start reading it 12:15 * MikeSeth codes listening to Combichrist 12:19 < _cheerios> pkg --configure -a 12:19 < _cheerios> dpkg: unable to access dpkg status area: Read-only file system 12:19 < _cheerios> i have lunix problems :| 12:19 < MikeSeth> prolly /var readonly, are you running as root? 12:20 < _cheerios> yea, under Xen 12:21 < _cheerios> localhost kernel: journal commit I/O error 12:21 < _cheerios> dpkg: error processing /var/cache/apt/archives/lsb-base_3.1-23_all.deb (--unpack): 12:21 < _cheerios> failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./usr/share/doc/lsb-base/copyright': Read-only file system 12:21 < _cheerios> began there 12:21 < MikeSeth> oh um 12:21 < MikeSeth> mount -o remount,rw /var 12:21 < _cheerios> during apt upgrade 12:21 < MikeSeth> ..I guess? 12:21 < MikeSeth> or is it /usr/share.. 12:22 -!- digitarald [n=Miranda@62-43-163-115.user.ono.com] has joined #agavi 12:23 * MikeSeth pokes v-dogg 12:24 < MikeSeth> my security filter gets a null from $container->getResponse(), why is that?! 12:27 * MikeSeth scratches his head 12:27 < MikeSeth> things bork :( 12:30 * MikeSeth fix 12:35 < _cheerios> food, then trac, then something... 12:35 < digitarald> coffee ... then work ... then sleeping on desk ... then more coffee 12:37 < digitarald> working till 4 am and getting up at 10 ... no real kickstart in a day 12:38 < digitarald> happy rc3-release day :) 12:39 -!- digitarald [n=Miranda@62-43-163-115.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 12:59 -!- raidman|Away [n=raidman@unaffiliated/raidman] has quit [Connection timed out] 13:17 < MikeSeth> durrrrrr 13:25 < Xylakant> hmm. has there been a change in how the routing callbacks work? 13:25 < v-dogg> yes 13:26 < Xylakant> onGenerate does not seem to get called any more 13:27 < Xylakant> at least not for implied routes 13:40 < Xylakant> hm 13:40 < Xylakant> so how do i get the value set in the request for a parameter? 13:41 < Xylakant> it used to be in the defaultParameters, but now, all there is the defaultValue 13:46 < Xylakant> kaos? 13:48 < MikeSeth> there's a generation callback other than in the routing table itself?! 13:48 < Xylakant> you can specify a class that gets used as callback 13:48 < MikeSeth> awesome 13:48 < Xylakant> and i used that to strip some parameters if they were not set in the request 13:49 < Xylakant> but i don't see how i can access the parameter set in the request any more 14:02 -!- Wombert [n=Wombert@dslb-084-056-014-165.pools.arcor-ip.net] has joined #agavi 14:02 < Wombert> y0y0 14:02 < Wombert> Xylakant: all session cookie issues gone? 14:02 < Wombert> v-dogg: do session cookies witha lifetime still work? 14:03 < Wombert> RossC0: no need to set params to null anymore for the route that is the same as the incoming one, can you verify that 14:04 -!- eremit [n=eremit@p5490E3EB.dip.t-dialin.net] has quit [] 14:05 < Wombert> MikeSeth: ZOMG! 14:05 < Wombert> $tm->_c($amount); 14:05 < Wombert> we have all that already :( 14:05 < Wombert> _c for currency formatting 14:05 < Wombert> _n for numbers 14:05 < Wombert> _d for dates 14:11 < v-dogg> Wombert: lemme update and check 14:16 < Xylakant> Wombert: Session seems to work 14:16 * MikeSeth pets Wombert 14:16 < MikeSeth> you are the man 14:17 < MikeSeth> Wombert, I got another coder hooked on Agavi :D 14:17 < MikeSeth> he was bitching about two days wasted on cake 14:18 < MikeSeth> so when I told him about Agavi his first question "is it railsy" 14:18 < RossC0> wombert: it works :) 14:18 < MikeSeth> but then I showed him the execution container, the context, some routing, and configuration 14:18 < MikeSeth> and the guy was like "whoa!" 14:19 < MikeSeth> o/~ Fade.. made to fade 14:19 < RossC0> any xdebug gurus about? Can I have two xdebug.remote hosts? 14:19 < MikeSeth> Wombert: tm is translation manager, right? 14:20 < Xylakant> however, the latest changes to the routing broke my app 14:21 < MikeSeth> oookay.. how do I load id? 14:21 < v-dogg> Xylakant: you did notice r1714 (http://trac.agavi.org/changeset/1714), right? 14:21 * MikeSeth heads to configuration 14:21 * MikeSeth pets v-dogg 14:22 < Wombert> MikeSeth: riger 14:22 < Xylakant> v-dogg: i did, thanks 14:22 < Wombert> RossC0: cool glad to hear that 14:22 < Wombert> now, reminder for everyone: 14:22 < Xylakant> Wombert: how can i check in the routing callback wether a parameter was set in the request and to which value it was set? 14:23 < Wombert> a) in onGenerate callbacks, return true or false instead of the defaultParameters, which cannot be modified anymore. use the userParameters instead for that, and set it to an array with 'pre', 'val' and 'post' if you want different values than the defaults for pre and postfixes 14:23 < Wombert> Xylakant: in onMatched? 14:23 < Xylakant> in onGenerate() 14:23 < Wombert> Xylakant: $request->getRequestData()->getParameter ;) 14:24 < Wombert> b) IMPORTANT! read the example in http://trac.agavi.org/ticket/434 - this is considered a bugfix 14:25 -!- digitarald [n=Miranda@114.Red-83-58-163.dynamicIP.rima-tde.net] has joined #agavi 14:25 < Wombert> digitarald: logs! 14:25 < Wombert> Xylakant: onGenerate not called anymore for implied routes? oO wtf 14:25 < digitarald> zu befehl! 14:25 < Wombert> let me check that 14:26 < digitarald> Morning :) 14:26 < Xylakant> Wombert: nope, it's called 14:26 < Wombert> but gotta set user params right? :) 14:26 < Xylakant> it was just not getting into the if-block any more 14:26 < Wombert> cool then 14:27 < digitarald> Wombert, anything special? Its 1Mb logs 14:27 < Xylakant> because the values in defaultParameter() have changed as well 14:27 < digitarald> last 100 lines? 14:27 < Wombert> digitarald: last couple of minutes or so yeah 14:27 < digitarald> onGenerate problem ... i'll check 14:28 < v-dogg> probably from "14:22 < Wombert> now, reminder for everyone:" on 14:28 < Wombert> bit before that 14:29 < digitarald> i have /// in my generated urls ... maybe a onGenerate problem 14:29 < Wombert> uh 14:29 < Wombert> reproduce case please 14:29 < digitarald> just saw it a minute ago ... 14:30 < digitarald> i'll check it 14:32 < Xylakant> wombert: $this->getContext()->getRequest()->getRequestData()->getParameter('param') is not working in the RoutingCallback 14:32 < Xylakant> because: Access to request data is locked during Action and View execution, 14:32 < Wombert> Xylakant: can you show me the route and their parents, the gen() call, and the callback 14:32 < Xylakant> the callback gets called just fine 14:33 < Xylakant> i just can't access the request data as it is locked 14:33 < Wombert> haha 14:33 < Wombert> damn 14:33 < MikeSeth> hmmm 14:33 < Xylakant> and according to ticket 434, the values in the request don't get passed into the callback any more 14:33 < MikeSeth> exactly how do I control the currency translator? What's the format? 14:33 < Wombert> MikeSeth: whatever is defined for your locale 14:34 < Xylakant> so now there is no way for a callback to react according to the value set in the request 14:34 < Wombert> can you do $his->rd = $this->context->getRequest()->getRequestData() in initialize, Xylakant ? 14:34 < MikeSeth> Wombert: well one of the things it does is drawing negative currency values as $(123,456.78) 14:34 < digitarald> ticket 434 ... never saw that default-for pattern ... another agavi-secret i just discovered 14:34 < Wombert> Xylakant: can you show me the callback and explain what the route does 14:34 < MikeSeth> I'd like to adjust the format so that negative values aren't abs'ed and no parenthesis displayed 14:35 < Wombert> digitarald: that's for pre and postfixes but youdon't have to do it that way 14:35 < Wombert> it's only necessary if the pre or postfix is a regular expression 14:35 < digitarald> Wombert, fixing onGenerate fixed the /// 14:35 < MikeSeth> Wombert: the question is, what do I pass as a format parameter to the currency translator 14:36 < Wombert> the value to format 14:36 < MikeSeth> which is what, sprintf expression? 14:36 < Wombert> no, a number :p 14:36 < MikeSeth> er um 14:36 < MikeSeth> no, I am configuring the currency formatter! 14:37 < MikeSeth> 14:37 < MikeSeth> %d 14:37 < MikeSeth> 14:37 < MikeSeth> this doesn't work! :D 14:37 < Xylakant> Wombert: The task is simple, we had that before: I have a parameter that may or may not have a value 14:37 < Wombert> aaah 14:37 < Xylakant> and if it doesn't i don't want it to show up in the url at all 14:37 < Wombert> is that for paging or something? 14:38 < MikeSeth> Wombert: no, the default locale formats negative currency values into positive ones 14:38 < MikeSeth> oh you were speaking to Xylakant 14:38 < Wombert> because... if you look at http://trac.agavi.org/ticket/434 I believe the fix is okay because it's not really expected behavior 14:38 < Xylakant> so up to the latest changes i was able to use an implied route with a callback that checked wether the value was actually from the request or not (by knowing a special default value that could never be passed in the url) 14:38 < Xylakant> Wombert: something else 14:38 < digitarald> i have a pagination class, its used in several actions. can i define a route for the pagination and reuse it in several other routes? ... xinclude or can i "sum up" several routes (add a route to a the matched routes) ... can't really explain my idea :D ? 14:39 < Xylakant> I'm loading a special layout based on the existance of that parameter. 14:40 < Wombert> digitarald: you could have and then use that with $ro->gen('lala+pager') but then it matches for all routes 14:40 < Wombert> MikeSeth: which locale is that 14:40 < Xylakant> and the callback is pretty short 14:40 < Wombert> he_IL ? 14:40 < Xylakant> public function onGenerate(array $defaultParameters, array &$userParameters, array &$userOptions) 14:40 < Xylakant> { 14:40 < Xylakant> if (isset($userParameters['reference'])) 14:40 < Xylakant> { 14:40 < Xylakant> $userParameters['reference'] = array_merge($userParameters['reference'], array( 14:40 < Xylakant> 'pre' => '/reference/', 14:40 < Xylakant> 'post' => '')); 14:41 < Xylakant> } 14:41 < Xylakant> elseif (!$this->getContext()->getRequest()->getRequestData()->getParameter('reference', false)) 14:41 < Xylakant> { 14:41 < Xylakant> return false; 14:41 < Xylakant> } 14:41 < Xylakant> else 14:41 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 14:41 < Xylakant> { 14:41 < Xylakant> $userParameters['reference'] = array( 14:41 < Xylakant> 'pre' => '/reference/', 14:41 < Xylakant> 'val' => $this->getContext()->getRequest()->getRequestData()->getParameter('reference', false), 14:41 < Xylakant> 'post' => ''); 14:41 < Xylakant> } 14:41 < Xylakant> 14:41 < Xylakant> return true; 14:41 < Xylakant> } 14:41 < v-dogg> Xylakant: pastebin! 14:41 < MikeSeth> Wombert: en_US@currency=USD 14:41 < MikeSeth> Wombert: basically I need to ignore the negativeFormatString in AgaviDecimalFormatter 14:42 < Wombert> no need to set the currency in that case then :D 14:42 < MikeSeth> ooho 14:42 < Wombert> okay I'll have a look later 14:42 < digitarald> i generate the routes now with gen(null, ...) ... can i add tha "pager" route to the current matched routes? 14:42 < Xylakant> http://pastebin.ca/363457 14:42 < Wombert> digitarald: nah 14:42 < MikeSeth> Wombert: is it a potential issue? 14:42 < Wombert> or 14:42 < Wombert> well, digitarald 14:42 < Wombert> of course if it came in it gets implied 14:42 < Wombert> use xincludes 14:42 < digitarald> like routes voodoo magic :D 14:42 < MikeSeth> Wombert: what it does simply is formatting 123.45 to $123.45 and -123.45 to ($123.45) 14:42 < digitarald> ok, i give the pagination the route name to generate 14:43 < Wombert> MikeSeth: oh okay 14:43 < digitarald> does it hurt when i call >gen('photos+pager+pager') ? 14:43 < Wombert> that would work 14:44 < Wombert> Xylakant: is that an implied route? 14:44 < Xylakant> yes 14:45 < Wombert> then the incoming value will still be in the default params! 14:45 < Wombert> the behavior only changed for non-implied routes 14:45 < Wombert> at least it should be that way ;) 14:46 < Wombert> btw line 5 won't work, $userParameters['reference'] is not an array 14:46 < Xylakant> it is not 14:47 < Xylakant> i mean: The incoming parameter is not in the default params 14:48 < MikeSeth> Wombert: ..so how do I fix it? :) 14:48 * MikeSeth tries to figure out the format of translator configuration 14:55 < Xylakant> Wombert: the matched param gets passed on and is included in the generated route, but is not passed into onGenerate() via the defaultParameters array 14:58 < Xylakant> Wombert: so is this a bug or defined behaviour? 15:02 < v-dogg> what system uses .do file suffixes? 15:02 < v-dogg> or is it some general hide-the-actual-system suffix used in webapps? 15:02 < Xylakant> http://www.fileinfo.net/extension/do 15:02 < Wombert> [13:34] Wombert: can you do $his->rd = $this->context->getRequest()->getRequestData() in initialize, Xylakant ? 15:03 < MikeSeth> v-dogg: I think it's a Java thing. Struts or something. 15:04 < v-dogg> so it seems to be 15:04 < MikeSeth> yeah googling seems to confirm 15:04 < MikeSeth> so, who wants to explain me the translator configuration format? 15:04 < Wombert> Xylakant: gotta check with dominik if that's a bug 15:05 < Xylakant> Wombert: that seems to work 15:05 < Xylakant> Wombert: but is that before or after validation? 15:05 < Wombert> you can do it in onMatched too 15:05 < Wombert> that's not validated at all 15:05 < Xylakant> hmm. 15:06 < Xylakant> no problem in this case 15:06 < Xylakant> but not nice 15:09 < Xylakant> ok, 15:09 < Xylakant> *if* it is a bug, the problem is around line 480 - 500 in AgaviRouting. The order of merging the request parameters and the Callbacks onGenerate call got shuffled around if i read the code properly 15:10 < Wombert> MikeSeth: that seems to be a bug in the formatting codes for en_US 15:10 < Wombert> it works with de_DE for example 15:10 < Wombert> will look into it 15:12 < Wombert> MikeSeth: ¤#,##0.00;(¤#,##0.00) 15:13 < Wombert> that's in the LDML data for en_US... no idea why 15:13 < Wombert> can you use en_UK in the meantime 15:13 < Wombert> err, en_GB 15:14 < digitarald> Wombert ... 15:14 < digitarald> 15:14 < digitarald> 0 15:14 < digitarald> 15:14 < digitarald> is that ok to gen('photos+paged', ...) 15:15 < Wombert> no 15:15 < digitarald> its not nested 15:15 < Wombert> imply="false" is not necessary 15:15 < Wombert> also 15:15 < Wombert> it stops on a match 15:15 < Wombert> and it doesn't cut 15:15 < Wombert> as I said, you can have /contact/3/17 then, too 15:16 < Wombert> what's worse, if your contact route pattern _does_ allow a url like that, this route would grab the numbers and remove them 15:16 < Wombert> nest, or use xinclude 15:16 < Wombert> -or + and 15:17 < digitarald> ok 15:25 < Wombert> MikeSeth: that is a bug in our implementation, it does not comply with http://www.unicode.org/reports/tr35/#Number_Format_Patterns 15:25 < Wombert> I can fix that in a bit, but I first want to find out why the hell there are parentheses at all 15:30 < digitarald> great ... it workes ... xinclude and sandbox to the resque 15:33 -!- MikeSeth_ [n=michael@l85-130-133-192.broadband.actcom.net.il] has joined #agavi 15:33 < Xylakant> Wombert: do the routing changes mean that i have to set "imply" to true for each and every route for which i want the request parameters included in the output 15:34 < Wombert> Xylakant: can you please show me an example 15:34 < Wombert> or explain a bit more in detail what you're doing 15:34 < Xylakant> 15:34 < Xylakant> the gen call route->gen('edit'); used to include the module_id and id in the url 15:34 < MikeSeth_> Wombert: *shrug* :D 15:35 < Xylakant> now it does it only when i set imply="true" 15:35 < MikeSeth_> I'll use en_GB 15:35 < Wombert> MikeSeth_: I think I'Ll have it fixed in a minute 15:35 < Wombert> Xylakant: not anymore, yup, and that is expected behavior 15:35 < Wombert> because you#re not generating the _exactly_ same route 15:35 < Wombert> assuming defaults isn't a good idea in this case 15:36 < Xylakant> i am 15:36 < Wombert> think about it... if no module_id was in the request, then nothing is inserted there 15:36 < Xylakant> i am on de/edit/49/0 15:36 < Wombert> so it would be inconsistent 15:36 < Wombert> yes 15:36 < Wombert> well then use $ro->gen(null) 15:36 < Xylakant> i dislike that change. 15:36 < Wombert> of course you can have onGenerate callbacks to insert the stuff 15:37 < Wombert> imply="true" is not the right approach it would mean all gen() calls include that route 15:37 < Xylakant> imply="true" is somewhat simpler ;) 15:37 < Xylakant> hmm 15:37 < Wombert> but it doesn't work and it's not correct and it's slow and it will get you in trouble 15:37 < Wombert> Xylakant: look at http://trac.agavi.org/ticket/434 15:37 < Xylakant> thanks for that change 15:37 < Wombert> do you think it should be that way? :( 15:38 < Xylakant> i think that request parameters should get priority over default parameters 15:38 < Wombert> that's not the point here 15:39 < Xylakant> the rails behaviour is somewhat more intelligent 15:39 < MikeSeth_> may I again recommend Android Lust as the coding music of choice! 15:39 < Wombert> btw 15:39 < Xylakant> if you modify a parameter that is more "left" in the url, every parameter to the right of it gets discarded 15:39 < Wombert> pattern="^/edit/(module_id:\d+)(/{id:\d+})?" 15:40 < Wombert> better, easier, faster... no need for pre and postfix there 15:40 < Xylakant> so $ro->gen('tags', array('tag' => 'water')); would generate /tag/water/1/ 15:40 < Wombert> hmmmmm 15:40 < Xylakant> while $ro->gen('tags', array('tag' => 'agavi')); 15:40 < Xylakant> still generates /tag/agavi/3 15:45 < Xylakant> of course you can override that behaviour as well... 15:46 < Wombert> hmm hmm hmm 15:47 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:47 < MrJeep> morning 15:47 < Wombert> hi MrJeep 15:47 < Wombert> wanna dare an svn up and tell me if anything broke 15:48 < MrJeep> sure 15:49 < MrJeep> everything seems to be workign 15:50 -!- MikeSeth [n=michael@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 15:50 < Wombert> wow nice 15:57 < digitarald> routing defaults question ... 15:57 < digitarald> 15:57 < digitarald> 0 15:57 < digitarald> 15:57 < digitarald> wrong? 15:57 < Wombert> :: in a url? 15:57 < Wombert> ahem... 15:57 < digitarald> just for testing, finding something better 15:57 < Wombert> no, why would that be wrong 15:58 < digitarald> it does not set the default 15:58 < digitarald> i get ::-10 15:58 < digitarald> ::0-10 is expteced 15:58 < Wombert> set the offset to 1 please 15:58 < Wombert> does that work 16:01 < digitarald> works with 1, does not work with 0 16:01 < Wombert> haha zomg 16:03 < digitarald> ... : is not in the list of unsafe url characters ... 16:03 < digitarald> ... but reserved ... 16:03 < digitarald> who cares, looks cool :D 16:04 < Xylakant> parse_url will barf if you use : in the url 16:04 < Xylakant> can't determine the protocol any more 16:04 < Xylakant> might have changed in the latest php versions but i remember finding myself in trouble 16:05 < digitarald> mh ... ok ... lets search another character on my spanish keyboard 16:05 < Wombert> digitarald: wrong 16:06 < Wombert> you may not use unencoded : in urls 16:06 < Wombert> except for the separator between scheme and scheme specific path or in the authority 16:06 < v-dogg> you are just begging for troubles with that 16:07 < Wombert> ah wait 16:07 < Wombert> it's not allowed in the query string but 16:07 < Wombert> hmmh 16:07 < Wombert> anyway, don't do it, it should be obvious why it might cause trouble 16:09 < digitarald> ok ... problem with 0 for default still occurs after changing :: to [] :) 16:10 < Wombert> []  are not allowed either 16:11 < Wombert> and [] is used in IPv6 addresses 16:11 < Wombert> and so is :: 16:11 < Wombert> why do you need such chars 16:11 < Wombert> use a slash 16:11 < Wombert> ... 16:12 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 16:12 < MikeSeth_> awww I love this 16:12 < MikeSeth_> love love love love 16:12 < Wombert> what 16:13 < MikeSeth_> this framework :D 16:14 < MikeSeth_> I do things like this! 16:14 < MikeSeth_> $color_helper = create_function('$x', ' return ($x>0) ? "green" : "red"; '); 16:14 < MikeSeth_> and it makes sense and doesnt fuck up anything! 16:15 < digitarald> Wombert ... problem with 0 as default is still there 16:15 < Wombert> .l.. 16:15 < Wombert> I 16:15 < Wombert> KNOW 16:15 < Wombert> ffs 16:15 < Wombert> dude 16:15 < Wombert> give me a break 16:15 < digitarald> ;) ... i changed of course not to [] 16:15 < Wombert> there is no way on earth you COULDN'T know what the reason for that bug is 16:19 < CIA-23> david * r1718 /branches/0.11/src/routing/AgaviRouting.class.php: fixed '0' default values being skipped in route generation, closes #437 16:21 < _cheerios> color helper :) 16:22 < CIA-23> david * r1719 /branches/0.11/CHANGELOG: ZE CHANGELOG 16:23 < Xylakant> digitarald: you could change the pattern to [page::pagelimit] to be *real* cool 16:24 < Wombert> make URLs readable 16:24 < digitarald> o yeah ... now i have [1-25] 16:24 < Wombert> and make them easy to type 16:24 < Wombert> and copy 16:24 < Wombert> and all 16:24 < Wombert> I doubt all email, icq, irc clients would detect the full link, for instance 16:26 < digitarald> then they start on the first page, not on the given page ... no real break 16:26 < Wombert> ... 16:26 < digitarald> but a small break ... 16:27 < digitarald> ... have to reevaluate 16:35 < RossC0> hmm - has request data changed for the view? I'm getting an undefined method for : $rd->hasCookie('blah'); 16:39 -!- digitarald [n=Miranda@114.Red-83-58-163.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 16:39 * RossC0 nudges Wombert 16:39 < Xylakant> the shiny exception template tries to access the request data which may lead to another exception being thrown (because access to the request data is locked) 16:39 < Xylakant> hmm 16:40 < MikeSeth_> wasnt request data lock removed? 16:41 < MikeSeth_> r571 | mst | 2007-02-19 14:47:14 +0000 (Mon, 19 Feb 2007) | 1 line 16:41 < MikeSeth_> widened the screen to 1000px instead of 800px 16:41 < MikeSeth_> god damnit! 16:41 * MikeSeth_ slaps $this 16:42 < Xylakant> don't think so - it was introduced when the execute*() methods recieved the RequestParameterHolder parameters 16:42 < Wombert> Xylakant: thanks 16:42 < Wombert> will fix 16:43 < Xylakant> sort of funny this bug, because the second exception kills the display of the first one - took me a while to figure that one out. 16:43 < Xylakant> line 75ff 16:45 < RossC0> Wombert - the $rd in the view doesn't have the cookie methods - should I be toggling the lock and retrying or is that a bug? 16:45 * MikeSeth_ cranks to Lamb 16:45 < Wombert> a slot, RossC0 ? 16:47 < RossC0> not always 16:47 < Wombert> will look into it 16:47 < Wombert> I know what the prob is 16:47 < RossC0> but it is an Input view - which I also should have a success view 16:48 -!- digitarald [n=Miranda@114.Red-83-58-163.dynamicIP.rima-tde.net] has joined #agavi 16:48 < RossC0> but have crammed everything into the input - which is naughty 16:49 < digitarald> i have a javascript infection ... i write console.log() instead of var_dump() in php all the time ... *argh* 16:58 < Xylakant> problem: php uses -> as delimiter, otherwise you could just define console.log() :P 16:59 < digitarald> i thought about it Xylakant ... 17:00 < digitarald> before firebug i added var_dump to javascript to avoid my confusion 17:00 < digitarald> RossC0, did u release your css:selectors for mootools? 17:01 < RossC0> not yet - I'll release at the weekend - can't have two blog posts in under a week ;) 17:01 < digitarald> :D 17:01 < digitarald> i can't have one in a month 17:01 < RossC0> also didn't get time to work on the auto reapply after ajax 17:02 < RossC0> well my last was in Nov! 17:02 < digitarald> have to release my SqueezeBox and my Swiff.Uploader ... 17:02 < RossC0> and I did one on Sat 17:02 < RossC0> cool - ping me when you do 17:02 < digitarald> ... ah, and first my blog needs a cool design and a paypal button :D 17:03 < Wombert> RossC0: simple actions don't get any outside request data 17:03 < Wombert> only what you pass them 17:04 < Wombert> ah and if you give an attribute to createSlotContainer, it will use a generic AgaviRequestDataHolder 17:05 < Wombert> let me see if I can fix that 17:05 < RossC0> hmm - its not a simple action 17:05 < Wombert> yeah my mistake 17:05 < Wombert> but 17:05 < Wombert> uuuuuhm 17:06 < Wombert> hang on a second 17:07 < Wombert> it must be, RossC0 17:07 < Wombert> if($this->actionInstance->isSimple()) { 17:07 < Wombert> if($this->arguments !== null) { 17:07 < Wombert> $this->requestData = $this->arguments; 17:07 < Wombert> } else { 17:07 < Wombert> $this->requestData = new AgaviRequestDataHolder(); 17:07 < Wombert> } 17:07 < Wombert> there's the problem 17:07 < Wombert> I'll implement a fix 17:11 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:11 < RossC0> ah ok - have fixed my end 17:12 < RossC0> was erroring in slot view - because I wa 17:12 < RossC0> * it was auto simple 17:12 < RossC0> and I had mixed my Input and Success View together 17:13 < RossC0> have abstracted out to a success view and is fixed 17:14 < RossC0> so not sure if it is a bug or not 17:35 < Wombert> btw, RC3 might be delayed till tomorrow since we have to look into that routing stuff once again 17:37 < CIA-23> david * r1720 /branches/0.11/src/ (5 files in 4 dirs): made RequestDataHolder classes configurable. Deprecated getModuleAccessor, getActionAccessor methods in Request. fixed phpdocs. closes #438 17:37 < Wombert> there ya go, RossC0 17:44 < digitarald> has anybody implemented a json output_type in agavi? 17:46 < Wombert> where's the problem? :p 17:46 < Wombert> $res->setContent(json_encode(...)); 17:46 < MikeSeth_> whats the right way to do that btw? 17:47 < MikeSeth_> should I use routes to set the output type, and then have the view check the output type and return data accordingly? 17:47 < digitarald> i had a renderer for that 17:48 < digitarald> but i think its overkill, setting the json content directly is easier and faster 17:53 < digitarald> mh ... MikeSeth_, which content-type do u set? 17:53 < digitarald> "text/x-json"? 17:53 < digitarald> text/x-javascript 17:55 < Wombert> http://www.ietf.org/rfc/rfc4627.txt 17:55 < Wombert> Xylakant: we're thinking about implementing routes the RoR way 17:55 < Wombert> is there any documentation on that 17:56 < Wombert> there might be drawbacks tho, we have to look into it 18:01 < Xylakant> hmm. i usually take the good old RoR book for that. I'll try to get you the relevant chapters 18:01 < Wombert> Xylakant: btw you can use $this->route['matches']['reference'] in onGenerate, no need to use the request data holder 18:01 < Wombert> can you tell me if that works 18:03 < Xylakant> seems to work 18:03 < Wombert> cool 18:04 < Xylakant> that's not validated either i guess 18:05 < Wombert> ... 18:06 < Xylakant> just want to know so that i can cast the value as required ;) 18:06 < Wombert> look 18:06 < Wombert> if you want values to be set for you automatically 18:06 < Wombert> how could the system possibly use a validated version for that 18:07 < Xylakant> well, if it uses the parameters from the request 18:07 < Wombert> these are not validated 18:07 < Wombert> . 18:07 < Xylakant> after validation? 18:07 < Wombert> if you want the validated value from the action container's request data, set it as a param 18:07 < Wombert> no, global request data is never validated 18:07 < Wombert> that's the whole point of the locking 18:08 < Xylakant> interesting. didn't know that 18:08 < Wombert> there is no other way the FPF could work either 18:09 < Xylakant> so each container contains a copy of the request data? 18:09 < Wombert> yes 18:10 < Wombert> which is validated 18:11 < Xylakant> hmm 18:15 < Xylakant> so handling soap request with embedded binary files might not be a good idea with agavi 18:18 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:22 < Wombert> huh? 18:22 < Wombert> what does that have to do with it 18:25 < _cheerios> MikeSeth_, my site is getting traffic for "titties" and "topless ladies", should i redirect them to your vast army of porn sites? 18:25 < Xylakant> copying the large request data around. 18:26 < Xylakant> but soap request should come in as HTTP_RAW_POST_DATA which is not the requestDataHolder if i see that properly 18:26 < Xylakant> so no copying 18:27 < Wombert> of course 18:27 < Wombert> and of course, the data is written to streams if possible, at least with HTTP PUT 18:27 < Wombert> haven't implemented soap yet but it will use the file handling system 18:28 < Xylakant> i'm curious how soap will get implemented. 18:28 < Wombert> Xylakant: what about the rails url stuff 18:29 < Xylakant> i don't have my copy of the rails book here, need to grab that at home 18:29 < Wombert> in what book is it, maybe I have it on my, ahem, bookshelf 18:29 < Xylakant> so tonight, if it's not too much to type 18:29 < Xylakant> otherwise tomorrow, don't have a scanner at home 18:30 < Xylakant> that one: http://www.amazon.de/Agile-Development-Rails-Pragmatic-Programmers/dp/0977616630/sr=8-1/qid=1171902596/ref=pd_ka_1/028-7639323-3858967?ie=UTF8&s=books-intl-de 18:30 < Xylakant> the first edition only, but the relevant chapters should not have changed 18:35 < Xylakant> this is a pretty good description as well: Agile Web Development with Rails 18:35 < Xylakant> grr. let's try that copy & paste stuff again 18:36 < Xylakant> http://api.rubyonrails.org/classes/ActionController/Base.html#M000262 18:37 < Xylakant> the part about url_for() is the interesting part 18:41 < Wombert> :trailing_slash — if true, adds a trailing slash, as in "/archive/2005/". Note that this is currently not recommended since it breaks caching. 18:41 < Wombert> no comment :p 18:49 < Xylakant> :) 18:50 < Xylakant> i wonder why. 18:50 < Xylakant> might dig into it just out of interest :) 18:51 < Wombert> because the whole routing is a static and hacky implementation 18:51 < Wombert> anyway 18:51 < Wombert> :anchor — specifies the anchor name to be appended to the path. For example, url_for :controller => ‘posts’, :action => ‘show’, :id => 10, :anchor => ‘comments‘ will produce "/posts/show/10#comments". 18:51 < Wombert> means you can't have an argument called "anchor" 18:52 < Wombert> but now... anyway... 18:52 < Wombert> should we add that feature to agavi? 18:52 < Wombert> you could trigger it using an option 18:52 < Wombert> we need a good name for that 18:52 < Wombert> default would be off 18:52 < Wombert> the problem is that with such a behavior, the defaults are _always_ overwritten 18:55 < Xylakant> no, only if the request specifies a parameter 18:55 < Xylakant> the defaults are used in no parameter is passed in 18:55 < Xylakant> take paging for example: you give the user the option to choose from 10 or 20 entries per page 18:55 < Xylakant> and set the default to 10 18:56 < Xylakant> so if the url is page/1, the default gets used 18:57 < Xylakant> and the next page would be page/2/entries/10 or even page/2 18:57 < Xylakant> stupid. i messed up my own example 18:57 < Xylakant> start over again 18:58 -!- Wombert [n=Wombert@dslb-084-056-014-165.pools.arcor-ip.net] has quit [Nick collision from services.] 18:58 -!- Wombert [n=Wombert@dslb-084-056-063-003.pools.arcor-ip.net] has joined #agavi 18:58 < Xylakant> paging: the user calls page/1/ and the link to the same version would be page/1/entries/20, but could be generated with $r->gen('page', array('entries' =>20)); 19:04 < Xylakant> and Wombert: you can have a parameter named "anchor" 19:04 < Xylakant> you just need to know the difference between a string and a symbol. 19:11 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11.0RC2 :: RC3 TUESDAY :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 (99.6153846%) :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ 19:16 < CIA-23> david * r1721 /branches/0.11/src/view/AgaviView.class.php: fixed small bug introduced in [1720], refs #438 19:23 -!- digitarald [n=Miranda@114.Red-83-58-163.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 19:31 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 19:40 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 20:00 < splatch`> oi! 20:05 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 20:05 < Whisller> hi 20:09 < Whisller> Can someone help me -> http://phpfi.com/205267 20:09 < splatch`> Whisller: ini_set('memory_limit', '16M'); 20:09 < Wombert> http://www.google.com/search?q=8388608+%2F+1024+%2F+1024 20:11 < Whisller> ok 20:13 < v-dogg> http://www.gravitonic.com/blog/archives/000359.html 20:13 < Wombert> and my favorite idiot, lukas smith, throws in his useless two cents 20:13 < Wombert> Amen Brother! 20:14 < Wombert> It just that when you start with someone elses framework. You curse the first 3 months without stopping, whereas if you start your own you feel all gooey inside the first 3 months. Of course when you do your own thing you will realize after 3 months that nobody cares and you need to do all the boring stuff as well. 20:14 < Wombert> Anyways I am not taking my stab at morphing symfony into what I want. Expect a flurry of patches soon. Hopefully they will at least accept the patches, that let me overwrite internal classes via plugins. That way even if they do not like where I am going with things, I can at least maintain those changes cleanly outside. 20:14 < Wombert> he could just as well use agavi 20:26 < Wombert> MrJeep: very dumb question 20:26 < Wombert> negative currency amounts 20:26 < Wombert> i.e. prices 20:26 < Wombert> on your bank account for instance 20:26 < Wombert> what do they look like in canada, french 20:26 < MrJeep> let me check 20:26 < Wombert> do they have a minus 20:26 < Wombert> or are they put in parentheses 20:26 < Wombert> "#,##0.00 ¤;(#,##0.00¤)": ·fr_CA· 20:27 < Wombert> "¤ #,##0.00;¤-#,##0.00": ·de_CH· ·fr_CH· ·it_CH· 20:27 < Wombert> the odd symbol is the currency placeholder 20:27 < Wombert> so 500 euros plus would be 500,00 € 20:27 < MrJeep> minutes 20:27 < MrJeep> minus 20:27 < Wombert> and 500 euros minus would be (500,00€) 20:27 < Wombert> but that just seems wrong 20:27 < MrJeep> it's like : 2 000,05$ 20:27 < Wombert> I have no idea wtf is going on with these parentheses 20:28 < v-dogg> I've seen that too 20:29 < Wombert> where is that done 20:29 < v-dogg> in MS Excel or something 20:29 < Wombert> that is so confusing 20:29 < Wombert> but it is in the unicode cldr data 20:29 < Wombert> and there is no way that this is a bug 20:29 < Wombert> it has been like that forever 20:29 < Wombert> I wonder if that is some official way or writing negative amounts or so 20:29 -!- rhalff_ [n=rhalff@g185099.upc-g.chello.nl] has joined #agavi 20:29 < Wombert> but it sure as hell is confusing 20:30 < rhalff_> hi devs, why agavi and not cakephp or symphony :> 20:30 < Wombert> that's for you, MikeSeth_ :p 20:31 < rhalff_> cakephp ain't got no testing framework or console so that's a con, does agavi have a console like rails ? 20:32 < rhalff_> one thing I dislike about cakephp it ain't got an ability to set up a module structure, neither has rails. 20:32 < Wombert> "agavi project" creates a fresh project for you 20:32 < Wombert> "agavi action" an action 20:32 < Wombert> and so on 20:32 < rhalff_> ah true 20:32 < rhalff_> but how many times one does that when building an application 20:32 < Wombert> very often 20:32 < v-dogg> quite a few 20:33 < rhalff_> if you take that approach you'll end up with many projects doing the same kind of thing 20:33 < Wombert> ? 20:34 < rhalff_> Wombert, you work from one code base for all your sites/applications ? 20:34 < MrJeep> you mean agavi copy action or somehting like that ? 20:35 < rhalff_> copy is always bad 20:35 < rhalff_> :) 20:35 < MrJeep> then I don't understand what you mean 20:35 < Wombert> me neither 20:36 < rhalff_> ok first how many different applications have you build with agavi ? 20:36 < MrJeep> hum, me.. 4 I think 20:36 < Wombert> rhalff_: you're missing the point 20:36 < Wombert> common stuff can be put into modules 20:36 < rhalff_> and none of them share the same logic, like authentication and blocks, menu logic etc. 20:36 < Wombert> that's what they're for 20:36 < Wombert> ... 20:36 < Wombert> of course they do 20:37 -!- Whisller [n=Whisller@217.97.146.67] has quit [" HydraIRC -> http://www.hydrairc.com <- State of the art IRC"] 20:37 < rhalff_> hm ok rails, had that stupid authentication generator and stuff like that 20:37 < rhalff_> which is kinda duplicating 20:37 < Xylakant> having used mojavi (the framework agavi forked off from) me or woworkerst did built about 20 projects based on that 20:37 < v-dogg> I wouldn't count _generated_ code as a duplicate 20:38 < v-dogg> are all propel classes duplicates? 20:38 < rhalff_> generated code is duplicated because there will always be a tweak I guess 20:38 < Xylakant> and yes, there are some blocks that share the same logic, but they are well confined (authentication, newsletter registrations etc) 20:38 < Xylakant> and you can factor these out pretty well into a library with the action only doing the calls to the lib 20:39 < Xylakant> and the *view* and the *template* will differ in at least 90% of the time 20:39 < v-dogg> and that's what an action should do 20:39 < Xylakant> so the code duplication is pretty limited 20:39 < v-dogg> action is part of the controller 20:39 < rhalff_> so both of you reuse modules for several different projects 20:39 < Xylakant> shure 20:40 < rhalff_> where you install those 20:40 < rhalff_> /usr/share/Xylakant/core something ? :) 20:40 < v-dogg> /your/favourite/path/ 20:40 < rhalff_> ah ok 20:40 < Xylakant> i use a libraries directory that is paralell to the the applications directory, but as you like 20:40 < MrJeep> personally I just copy/paste (for modules) 20:41 < MrJeep> I use a libs dir for external libraries 20:41 < Xylakant> usually not in a shared path as there may be more than one app on the host and they may require different versions of the libraries in questions 20:41 < MrJeep> which are handled with SVN 20:41 < MrJeep> works like a charm (thnx wombert) 20:41 < rhalff_> hm 20:43 < rhalff_> so to be totally non duplicated, projects like agavi or rails should have another project on top of them that provides some modules that are common to most webapplications maybe 20:43 < Wombert> that would be your own one 20:43 < rhalff_> ah, because that's where it becomes company code for most users ? 20:44 < Xylakant> i don't think that achieving '100%' non-duplicated code pays off in the end 20:44 < Wombert> our projects all bundle agavi and all other libs we use, so they're not dependent on the system installed version, and a library we call "basement" which has code we share across projects 20:44 < splatch`> maybe, in future Agavi will have some support with eclipse :) 20:44 < rhalff_> I feel these projects stop at a too low level 20:44 < Xylakant> what would you like to see? 20:45 < Xylakant> see: we use a custome application server that handles newsletter registrations 20:45 < rhalff_> use agavi for specific purpose applications, and some other higher level build upon agavi for cms sites etc. common things 20:45 < Xylakant> while i could make the lib connecting to that server public 20:45 < Xylakant> and the agavi integration as well 20:45 < Xylakant> who would benefit from this? 20:45 < rhalff_> often used modules or patterns are like maybe 20 or something, services like 90% of the needs of most customers 20:46 < Xylakant> me, probably as i could offload the burden of maintaining that stuff to the agavi developers