--- Log opened Mon Oct 01 00:00:56 2007 00:20 -!- shoan [n=shoan@59.92.142.77] has joined #agavi 00:48 -!- shoan [n=shoan@59.92.142.77] has quit [] 01:13 < MrJeep> in validators, is it possible to directly call the validationmanager->setError() method ? 01:19 -!- shoan [n=shoan@59.92.142.77] has joined #agavi 01:22 -!- shoan [n=shoan@59.92.142.77] has quit [Client Quit] 01:40 -!- kaos|work [n=dominik@ppp-82-135-0-179.dynamic.mnet-online.de] has quit [] 02:03 -!- epaulin_ [n=epaulin@219.137.34.37] has joined #agavi 02:23 -!- epaulin__ [n=epaulin@219.137.34.37] has quit [Read error: 110 (Connection timed out)] 02:25 -!- Wombert [n=Wombert@dslb-088-064-087-079.pools.arcor-ip.net] has quit [] 04:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:35 < v-dogg> huomenta 05:43 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 06:02 -!- eremit [n=eremit@p5490CC6B.dip.t-dialin.net] has joined #agavi 06:15 -!- epaulin_ is now known as epaulin 06:44 -!- _cheerios [i=jussiava@cs181065051.pp.htv.fi] has joined #agavi 06:44 < _cheerios> huomenta 06:54 -!- Whisller [n=mail@194.110.240.145] has joined #agavi 07:00 < Whisller> hi 07:16 < _cheerios> http://weblog.rubyonrails.com/2007/9/30/rails-2-0-0-preview-release 07:43 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 07:43 < RossC0> Huomenta! 08:31 -!- E_mE [n=E_mE@81.168.18.2] has joined #agavi 08:31 < E_mE> huomenta! 08:51 < codecop> huomenta 09:05 -!- epaulin_ [n=epaulin@218.19.216.201] has joined #agavi 09:12 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 09:12 < Xylakant> hi all 09:20 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Read error: 113 (No route to host)] 09:26 -!- epaulin [n=epaulin@219.137.34.37] has quit [Read error: 110 (Connection timed out)] 10:18 < E_mE> can anyone see somerhing wrong with this routing rule, because its not working when im doing a request... but i $ro->gen('sop.invoice.reprint'); does work.. ?? 10:18 < E_mE> 10:18 < E_mE> 10:20 < v-dogg> 'sop.invoice.reprint' vs. name=".reprint.invoice" 10:21 < E_mE> yes, but its in a sub-route 10:21 < E_mE> so sop.reprint.invoice should work shouldnt it? 10:21 < v-dogg> $ro->gen('sop.invoice.reprint'); wouldn't, which one do you use? 10:21 < _cheerios> hard to tell from that indenting, pastebin is our friend. 10:22 < E_mE> ok ill paste bin :) 10:22 < v-dogg> first make sure your 'invoice' and 'reprint' are in the correct order, in your paste they aren' 10:22 < v-dogg> t 10:22 < E_mE> http://www.pastebin.ca/721557 10:25 < E_mE> nope still not working 10:25 < E_mE> the $ro->gen('sop.reprint.invoice'); is generating the correct path 10:26 < E_mE> just when i click on the link its generating its giving me 404 error 10:26 < v-dogg> module and action names are incorrect? 10:26 < E_mE> nope correct 10:27 < _cheerios> something about the pattern usage; pattern="^sop/", usually it's "^/sop" and pattern="^reprintinvoice$" would be pattern="^/reprintinvoice$" 10:28 < E_mE> found it.... pattern needed to have pattern="^/sop/" 10:28 < E_mE> thanx _cheerios 10:28 < E_mE> you jogged my memory 10:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 10:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:59 -!- Chonsu [n=Chons@87.79.35.58] has joined #agavi 12:04 < E_mE> wow, i can hear mice walk in here today 12:10 < _cheerios> where are you typing from, jail? 12:10 < E_mE> wow... that is whitt =P 12:12 < E_mE> though my offices are from the 60's oro so... so there very well might be mice 12:16 -!- Wombert [n=Wombert@dslb-084-056-003-131.pools.arcor-ip.net] has joined #agavi 12:22 < Wombert> oi 12:22 < Wombert> guys 12:22 < Wombert> I need heeeeeeelp 12:22 < E_mE> ? 12:23 < E_mE> coffee problems 12:23 < Xylakant> what can we do ;) 12:24 < MrJeep> yeah ? 12:26 < Wombert> http://agavi.org/irclogs/agavi-200709.log 12:26 < Wombert> go to the end of the document 12:26 < Wombert> then scroll up to 12:26 < Wombert> 17:11 < Wombert> impl: heeelp 12:26 < Wombert> and read from there :) 12:26 < Wombert> it's really not much to read 12:26 < Wombert> just need help with naming those parameters 12:27 < Wombert> preferredly from native speakers 12:27 * Wombert looks at RossC0 12:27 * _cheerios thumbs up v-dogg's hellish notation 12:28 -!- epaulin_ is now known as epaulin 12:29 < v-dogg> heh 12:30 < Wombert> but let me sum it up again :p 12:31 < Wombert> right now, parameter "error_messages" to the FPF can have a list of... rules... used to insert validaiton error messages into the form 12:31 < Wombert> however, we actually need three different configurables 12:31 < Wombert> 1) a list of rules for normal validation errors 12:31 < Wombert> 2) a list of rules for errors that apply to more than one element (e.g. equals validator) 12:32 * RossC0 starts to read 12:32 < Wombert> thanks RossC0, much appreciated 12:32 < Wombert> 3) a list of rules for all other errors (i.e. those that did not match either of the rules above, or those that did not have a corresponding field in the form, mostly because you set a "lolz" error by hand to indicate some other error to the user) 12:33 < RossC0> ok 12:33 < Wombert> 1 and 2 are used to insert messages relative to the element in question (for 2, it is the first of the several fields), and 3 is used to insert messages relative to the form (so you can have them at the top of the form, not above the content layer or so) 12:33 < Wombert> also, we need two more things 12:34 < Wombert> a) a flag indicating that FPF should use rules from 1) even for multi field errors 12:34 < Xylakant> isn't all of this a pure display thing? 12:34 < Wombert> b) the name of the request attribute where FPF puts all those validation incidents it could ultimately not insert... so you can output them by hand as a last resort (should usually not be necessary) 12:34 < Wombert> we need names for those parameters, Xylakant 12:35 < RossC0> 1) simple_field_errors : simple validation messages (one_to_one) 12:35 < Xylakant> yeah, i gathered that from the logs 12:35 < RossC0> 2) complex_field_errors 12:35 < RossC0> 3) custom_field_errors 12:35 < RossC0> :D 12:37 < Xylakant> but what i'm wondering is wether the order/position should not be fixed (always attached directly to the field) and the positioning could be done with CSS. 12:37 < Xylakant> might get a little tricky in some situations though. 12:37 < Wombert> Xylakant: you can use xpath rules 12:37 < Wombert> so you can insert errors... directly behind the input element 12:38 < Wombert> or go up two elements and insert as last child there 12:38 < Wombert> and so on 12:38 < RossC0> yup - xpath ftw 12:38 < Wombert> you can also match different elements 12:38 < Wombert> so that it behaves different for select fields 12:38 < Wombert> or for fields that are in a
12:38 < Xylakant> yes, I understand what you're trying to achieve 12:40 < RossC0> Wombert - could we namespace it? i.e. My complex form handler has a name for which custom_field_error to use? 12:40 < Wombert> ? 12:40 < RossC0> then in my global_filters have multiple configs for placing error messages 12:41 < RossC0> so that we can set a name for the insertion rule to use in the validation.xml 12:42 < RossC0> and that insertion xpath is in gloabl_filters.xml 12:42 < RossC0> that make sense? 12:42 < RossC0> / worthwhile :D 12:43 < Xylakant> wouldn't it be possible to have markers in the html content that get replaced 12:43 < Xylakant> that would require additional markup though 12:44 < Xylakant> maybe stripping it if no error occured 12:44 < Xylakant> sort of how phptal does it 12:44 < Xylakant> or rather 'sort of phptal works' 12:44 < Xylakant> that would eliminate the need for the configs as well 12:45 < Xylakant> but you could have someone develop the templates who does not know about agavi at all 12:47 < Wombert> RossC0: I'm not sure I understand 12:48 < Wombert> you mean different rules for different forms? 12:49 < RossC0> Wombert: yes - but in the Validation xml for a form if you want to use a custom insertion of an error message - you just set the name of the insertion to use 12:49 < Wombert> Xylakant: that is of course possible as well, using the simple xpath rule //span[id='error_for_${elementId}'] and the locaiton "replace" 12:50 < Wombert> RossC0: the idea was that you do that in the view, at runtime 12:50 < Wombert> since you can change, extend etc all of the rules at runtime 12:50 < Wombert> so if that one form is different from the others, you can easily give it special rules that way 12:50 < Wombert> of course, you could also use the xpaths for that and check the id of the form or so 12:50 < RossC0> yes but allowing naming of rules makes it simple 12:51 < Wombert> yes, but it also creates a tight coupling between the validation and that filter 12:51 < Wombert> which is not a good idea 12:51 < RossC0> yes, but then there already is coupling between the form, validation and fpf 12:51 < Wombert> not exactly 12:51 < Wombert> the form works without any of those 12:51 < Wombert> the validation works without any of those 12:52 < Wombert> the fpf does as well (okay, yes, it needs the validation manager, but if no validaiton was done, then it still works) 12:52 < RossC0> that would still happen 12:52 < Wombert> but if we introduce a FPF-specific feature to the validation... really not good 12:52 < RossC0> sure but these are features that are used together 12:53 < RossC0> all I'm saying is it might be cool to add a custom name /field to VM that FPF could use 12:53 < RossC0> so that I can write less code 12:53 < RossC0> :D 12:54 < RossC0> anyway I'm not even sure that the configs global_filters could handle it 12:55 < RossC0> but its something to think about in ze future 13:03 < Xylakant> isn't all of this too complicated? I can't imagine a use case that can't be handled through replacement. 13:03 < Wombert> it's not complicated at all 13:03 < Xylakant> and that would require no config, would have no dependencies to the view or anything 13:04 < Wombert> http://pastie.caboo.se/102490 13:04 < Wombert> that's the most basic version 13:04 < Wombert> each field with errors then gets an
    behind it with all the errors in
  1. s each 13:04 < Wombert> piece of cake 13:05 < Wombert> plus, you don't need to have the placeholders in the form 13:05 < Xylakant> minus: I need to tweak my agavi conf if my markup changes 13:06 < Wombert> nope 13:06 < Wombert> you can still use your approach! 13:06 < Wombert> then you don't have to change anything 13:06 < Wombert> if you want to use placeholders 13:06 < Xylakant> but then, you 'plus' doesn't count any more 13:07 < Wombert> well 13:07 < Wombert> if you have placeholders... then you can only do it that way 13:07 < Wombert> what if you cannot express something usijng a placeholder 13:07 < Wombert> and what about multi field errors 13:07 < Wombert> like an equals or so 13:07 < Wombert> it's just too difficult 13:07 < Wombert> and you have error specific stuff in the form... uncool! 13:08 < Wombert> with the current implementation, you can have both 13:08 < Wombert> which is good 13:08 < Wombert> you have the freedom of choice 13:08 < Wombert> in the true spirit of Agavi ;) 13:08 < Xylakant> flexibility always adds complexity :) 13:10 < Wombert> zomg 13:10 < Wombert> We should, IMHO, drop T_IMPORT and change the namespace implementation 13:10 < Wombert> to use T_USE. 13:10 < Wombert> ... 13:10 < Wombert> THANK YOU PHP 13:12 < Wombert> ( http://trac.agavi.org/ticket/563 ) 13:15 < Xylakant> :) 13:15 < Xylakant> when is php6 scheduled? 13:16 < _cheerios> sometime next year 13:16 < MikeSeth> what, did you run into Coallier's article on 5.3 namespaces? 13:16 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 13:16 < MikeSeth> ok 13:17 < MikeSeth> what's wrong with this picture 13:17 < MikeSeth> http://blog.assembleron.com/2007/10/01/zend-framework-and-favorit/ 13:18 < E_mE> how can i submit a form request into a new Javascript window? 13:18 < MikeSeth> I dont think you can 13:19 < E_mE> feck hooks! 13:20 < Xylakant> well, why not? 13:20 < Xylakant> open the new javascript window and do an ajax request ;) 13:21 < E_mE> can you stop webbrowsers from printing URL's on the pages etc? 13:21 < E_mE> ajax request what though? 13:21 < E_mE> its a form POST 13:22 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)] 13:22 < MikeSeth> well steal the form contents 13:22 < _cheerios> hack the system with lunix sk1llz 13:22 < MikeSeth> the form itself can not be detached from the window object it resides in, so you can't submit it elsewhere 13:23 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 13:24 < Xylakant> E_mE: you can read the input fields content, that won't work with fileuploads though 13:24 < Xylakant> and you can then submit that data with an ajax request 13:25 < Xylakant> and put the result in a new window. 13:25 < Xylakant> I'm a bit wondering what you're trying to achieve though 13:30 < Wombert> open the window in onsubmit and use the same name in target 13:33 < Xylakant> interesting solution 13:34 < Xylakant> isn't that a race condition, i.e. what happens if the browser is too slow opening the window 13:40 < E_mE> im going to have to do the print as a PDF because of the web browsers stupid URL and other details being prompted 13:41 < E_mE> does fpdf work as a model in agavi with no problems? 13:41 < Wombert> people can switch off the URL, date etc printing 13:42 < E_mE> in firefox? 13:48 < Xylakant> yes 13:59 < E_mE> do i just need to activate FPF for it to start working? 13:59 < RossC0> MikeSeth: is it Zend = new PEAR(2007) ? 14:02 < Wombert> FPF? err? 14:03 < E_mE> the one that automatically fills the forms 14:05 < MikeSeth> RossC0: well at least the author admits the damn thing isnt a framework.. 14:06 < RossC0> yup 14:10 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"] 14:11 < Xylakant> i'm a bit puzzled about the argument that the bad thing about a framework is 'that they make you think in a certain way' 14:12 < Xylakant> for me, the good thing about a framework is that it makes all the developers here do the things in the same way 14:13 < Xylakant> if i think back to the days where all dev here did projects "the way they liked it best"... 14:13 * Xylakant shivers 14:15 < Xylakant> so, yes, a framework takes away a little flexibilty and enforces a certain way of doing things by making that way 'the easy way', but that's not a bad thing at all. 14:20 < Wombert> E_mE: ah. yes. sure. 14:20 < Wombert> so 14:20 < Wombert> pokes RossC0, MikeSeth, Xylakant 14:20 < Wombert> names 14:20 < Wombert> for those config params 14:20 < Wombert> NOW! 14:20 < Wombert> :) 14:20 < Wombert> PLEASE! 14:20 < Wombert> :) 14:21 < RossC0> RossC0: 1) simple_field_errors 14:21 < RossC0> RossC0: 2) complex_field_errors 14:21 < RossC0> RossC0: 3) custom_field_errors 14:21 < Wombert> they're not custom tho 14:21 < Wombert> not necessarily anyway 14:21 * Xylakant is fighting hard against vista 14:21 < RossC0> customisable 14:21 < Wombert> could also be those that didn't match anyof the expressions in 1 and 2, RossC0 14:21 < Wombert> or if no 2 was set up, just 1 14:22 < Wombert> also, isn't _errors a little misleading, me thinks 14:22 < Wombert> should we group them three together in one param 14:22 < Wombert> i.e. "error_messages", then children "normal", "multi_field", "other" or something 14:22 < RossC0> simple, complex, default? 14:22 < RossC0> / other 14:23 < RossC0> simple, multi_field, other ? 14:31 < MikeSeth> wha 14:31 < MikeSeth> whaaa 14:34 < _cheerios> one, two, mystery 14:35 < _cheerios> single,multi,fallback 14:36 -!- _cheerios [i=jussiava@cs181065051.pp.htv.fi] has quit ["bbl()"] 14:49 < MikeSeth> recommended way to edit the manual XMLs? 14:55 < E_mE> does PHP throws a Division by zero error if you try to devide zeros? 14:56 < MikeSeth> yes 15:15 < E_mE> does fpf work if you press the back button?? 15:19 < Wombert> ? 15:20 < MikeSeth> Wombert: I found the ideal way to edit docs 15:20 < Wombert> MikeSeth: shoot 15:20 < MikeSeth> xmlmind xml editor - you can edit it wysiwig 15:20 < MikeSeth> it kicks ass0rz 15:20 < Wombert> lolz 15:20 < Wombert> :> 15:21 < Wombert> we're all using that to edit them :p 15:21 < Wombert> and no, it sucks, since it's buggy sometimes 15:21 < Wombert> and also the xml it produces is horrible 15:21 * MikeSeth ;-( 15:30 -!- JanK_ [n=JanK_@muedsl-82-207-204-044.citykom.de] has joined #agavi 15:37 -!- lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi 15:51 < MrJeep> it is possible, with the routing, to generate an url with the full path 15:51 < MrJeep> i mea something like http://www.somethign.com/path/param ... 15:52 < Xylakant> yes 15:52 < MrJeep> or do I have to use getBaseHref() . gen(..) 15:52 < Xylakant> pass 'relative=false' as parameter 15:52 < Xylakant> to genUrl() 15:52 < MrJeep> ok thnx 15:53 < Xylakant> well, pass it as an option, not as a parameter :P 15:53 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 15:54 < Xylakant> so $ro->gen('route', null, array('relative' => false)); 15:54 < Xylakant> should do it 15:59 < MrJeep> yeah it's working :D thnx 16:02 < Wombert> hey splatch` you there? 16:08 < MrJeep> how would you call a table used to store previously entered password 16:08 < MrJeep> I'm out of idea for a quick short name 16:08 < MrJeep> because member_saved_password is.. well.. don't like it 16:10 < Wombert> do you really need a table for that 16:11 < Wombert> store them in a separate field 16:11 < MrJeep> background : 16:11 < MrJeep> some image will b e password protected 16:11 < MrJeep> once the user enter the password, i want to store it so he won't have to enter it times and times again 16:11 < MrJeep> it's not about username/password informations 16:14 < Xylakant> cu all 16:14 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 16:17 -!- _cheerios [n=jacklo@cs181066248.pp.htv.fi] has joined #agavi 16:23 < _cheerios> MrJeep: getPlainImageMemberPassword(), or getPimp() for short. 16:24 -!- E_mE [n=E_mE@81.168.18.2] has quit [Read error: 104 (Connection reset by peer)] 16:24 < MrJeep> hahahaha 16:24 < MrJeep> :P 16:24 < MrJeep> good one :P 16:33 -!- Chonsu [n=Chons@87.79.35.58] has quit ["Leaving."] 16:42 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 16:44 -!- Wombert [n=Wombert@dslb-084-056-003-131.pools.arcor-ip.net] has quit [] 16:56 -!- Wombert [n=Wombert@dslb-084-056-003-131.pools.arcor-ip.net] has joined #agavi 18:01 < MrJeep> anyone here could look at my code and tell me if I'm on the good way 18:01 < MrJeep> preferably 18:01 < MrJeep> someone with experience :P 18:06 < splatch`> Wombert: yes 18:07 < Wombert> did darek have time yet to send me the stuff 18:07 < splatch`> ok 18:10 < impl> neeeeed designnnnn 18:10 < _cheerios> then get some, duh! 18:35 < Wombert> MrJeep: just show it :p 18:35 < Wombert> don't have much time myself right now tho 18:36 < Wombert> impl: still need those names :S 18:38 < MrJeep> Wombert: I have to send the code 18:43 < _cheerios> put in on eBay. you'll get an opinion alright. 18:43 < JanK_> what are the basic steps to create an action which outputs an image? 1. Create an output_type 'png' with the proper Content-Type. 2. Create an action 3. Set the output_type in the view (how?) 4. echo the image data from the view 18:44 < MrJeep> _cheerios : yeah sure 18:59 -!- Whisller [n=mail@194.110.240.145] has quit [Read error: 110 (Connection timed out)] 19:05 < JanK_> anyone? 19:21 -!- E_mE [n=E_mE@82.153.7.16] has joined #agavi 19:22 < E_mE> hihi 19:24 < MrJeep> JanK_ : in view : $this->getResponse()->SetContentType('image/pgn'); 19:25 < MrJeep> $this->GetResponse()->setContent($imageContent); 19:25 < MrJeep> done 19:25 < JanK_> thanks, but i better set the content type in the output_types.png? 19:25 < JanK_> output_types.xml 19:26 -!- E_mA [n=E_mE@82.153.7.16] has joined #agavi 19:26 < E_mA> is there a reason why when i have http://81.168.18.2:1515 with the follow code getContext()->getRouting()->getBaseHref(); ?> will the :1515 not be added??? 19:26 < E_mA> wwill not add :1515 19:27 < E_mA> is there a reason why when i have http://81.168.18.2:1515 with the follow code getContext()->getRouting()->getBaseHref(); ?> will not add the :1515??? 19:29 < Wombert> JanK_: yes 19:29 < Wombert> in output_types.xml 19:29 < Wombert> you got it pretty spot on 19:29 < Wombert> you can set the output type using the routing 19:29 < JanK_> yeah, got that from the sample app with the wsdl routing 19:30 < Wombert> you could also set the output type in the view's initialize() 19:30 < Wombert> but using the routing is better 19:30 < E_mA> Wombert: can you help me with my query? 19:31 < Wombert> E_mA: something broken with your server env 19:32 < E_mA> you think? 19:32 < Wombert> yes 19:32 < E_mA> ive not tampered with it 19:32 < Wombert> well 19:32 < Wombert> stoll 19:32 < Wombert> still 19:32 < Wombert> maybe a load balancer or so 19:32 < Wombert> in any case, agavi cannot determine the port 19:32 < Wombert> probably your Listen directive does not include the port number 19:32 < E_mA> listen directive? 19:35 < E_mA> Wombert: your knowledge on webservers and PHP bemuses me at times 19:36 < Wombert> apache 19:36 < Wombert> httpd.conf 19:36 < Wombert> Listen servername must be Listen servername:1515 19:36 < Wombert> my guess 19:37 < E_mA> yeah i found some info about it 19:37 < E_mA> ill will try :) 19:38 < E_mA> thanx for your help 19:48 -!- E_mE [n=E_mE@82.153.7.16] has quit [Connection timed out] 19:51 < E_mA> Wombert: what ENV variable does PHP read for the server name? 19:53 < impl> Wombert: I can't come to a good conclusion about how to name that stuff 19:53 < impl> Nothing really sounds good 20:00 < E_mA> Wombert: are you sure what your saying is possible?? 20:01 < E_mA> Wombert: someone in the apache channel doesn't appear to think it can :/ 20:07 < Wombert> ... 20:07 < Wombert> show me a phpinfo 20:07 < ttj> Show me the money! 20:07 < Wombert> mhm 20:07 < Wombert> fuck 20:07 < Wombert> there was a "zap" sound from my left knee 20:07 < Wombert> and now it hurts 20:07 < Wombert> a tiny little bit 20:07 < ttj> Welcome to my world. 20:08 < E_mA> Wombert: http://81.168.18.2:1515 20:08 < Wombert> ... 20:08 < Wombert> E_mA: and what do we see there 20:09 < Wombert> _SERVER["SERVER_PORT"] is... tadaa.... 80 20:09 < Wombert> now can you please go to your httpd.conf 20:09 < E_mA> i thought of trying to use HOST 20:09 < Wombert> and add the correct port number to the Listen directive 20:09 < E_mA> yes... but it needs to accept connection on port 80 as well :) 20:09 < Wombert> then set up a virtual host 20:10 < E_mA> ive got: 20:10 < E_mA> Listen 80 20:10 < E_mA> Listen 1515 20:10 < Wombert> well it seems that doesn't cut it 20:11 < Wombert> and HTTP_HOST is not a solution since it is user supplied 20:11 < _cheerios> maybe? 20:12 < E_mA> mmmm... ill try :) 20:25 < E_mA> mmm... i just have to setup the whole intranet under the 1515 port 20:25 < E_mA> its not wanting to play ball 20:25 -!- Goleo[06] [n=arbi@80.191.145.137] has joined #agavi 20:27 < _cheerios> why are you not using port 80? 20:27 < E_mA> because the webserver at work that does outlook uses port 80 20:27 < E_mA> so port 1515 is used on the firewall direct the traffic to the intranet server 20:30 < _cheerios> so, likely that :1515 goes to :80 internally to some virtual/other server, which explains the SERVER_PORT reading 20:33 < Wombert> lolz, exchange over port 80? 20:33 < Wombert> no, the server port is wrong because apache is set up to listen on 80 20:33 < Wombert> does the server have an internal ip? 20:33 < Wombert> even though I doubt that the one above is the real external IP of the machine 20:33 < Wombert> you have to set up virtual hosts 20:34 < Wombert> #apache can help you with that 20:34 < _cheerios> its not, theyre doing routing 20:34 < _cheerios> the page listing had atleast two more servers listed 20:35 -!- callmebaby [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi 20:35 -!- callmebaby [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)] 20:35 -!- lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"] 20:36 < _cheerios> server port will be whatever port you call apache with, unless ofc, that's not the port anymore by the time you reach apache 20:36 < E_mA> Wombert & _cheerios: appricate your help... ive setup pure :1515 rule 20:38 < E_mA> oh actually i think i may of solved the problem :o 20:39 < E_mA> the key was two NameVirualHost with *:80 and *:1515 20:40 -!- arbi_ [n=arbi@80.191.145.146] has joined #agavi 20:41 < Wombert> yes 20:41 < Wombert> what I said :p 20:41 -!- arbi_ is now known as Goelo[06] 20:42 * E_mA Gives Wombert and none-pad coffee from espresso maker ;) hehe 20:42 < _cheerios> helps to have the ports set for apache to work with your domains, yep. 20:42 -!- Goelo[06] [n=arbi@80.191.145.146] has quit [Client Quit] 20:43 -!- arbi_ [n=arbi@80.191.145.146] has joined #agavi 20:43 * E_mA passes _cheerios some vodka ... how cold is it up there at the moment/ 20:43 < E_mA> ? 20:43 < _cheerios> shrug. thermometer is broken. 20:43 < E_mA> below 0'c? 20:44 < _cheerios> +10 would be my guess 20:44 < E_mA> same as here 20:45 < _cheerios> close, http://www.foreca.fi/Suomi/ennuste/1-3 20:45 -!- arbi_ [n=arbi@80.191.145.146] has quit [Client Quit] 20:45 < E_mA> how cold does it get in the winter where you are ? 20:46 -!- arbi_ [n=arbi@80.191.145.146] has joined #agavi 20:48 < _cheerios> depends. several mild winters where it's most 0..-10C. last winter was an exception with several -25 ... -30C days, record was 39.9C somewhere. 20:49 -!- arbi__ [n=arbi@80.191.145.146] has joined #agavi 20:51 -!- arbi__ [n=arbi@80.191.145.146] has quit [Client Quit] 20:51 -!- arbi_ [n=arbi@80.191.145.146] has quit ["Leaving"] 20:51 < E_mA> wow.. thats pretty cold 20:52 < E_mA> last winter where i live we only had like mild frost 3 times in the whole winter 20:52 -!- Arbi [n=arbi@80.191.145.146] has joined #agavi 20:52 < E_mA> if i s setup a frameset, having the top frame with a print button and edit button 20:53 < E_mA> the bottom frame will have the printable item which is made up from a POST request 20:54 < E_mA> if the user clicks edit whcih return the the form that the POST recieves the data from, how can i use the form population filter to fill up all the text fields again? 20:55 < Wombert> is that information stored 20:55 < E_mA> what do you mean by stored? 20:55 < _cheerios> frames? you should leave the nineties already. 20:56 < E_mA> _cheerios: well i need to be able to print an invoice which looks the same as the invoice that comes from our Sage system 20:56 < Wombert> ah 20:56 < E_mA> unless you know how to supress printing? 20:56 < Wombert> I'd try to find a way to talk to the sage system and get an invoice 20:57 -!- Goleo[06] [n=arbi@80.191.145.137] has quit [Connection timed out] 20:57 < E_mA> Sage's developer support is only given to people who pay lots of money for it or who are resellers... not to small endusers like me 20:57 < E_mA> they will tell me where to go 20:58 -!- Arbi [n=arbi@80.191.145.146] has quit ["Leaving"] 20:58 < E_mA> and you need the developer API's which you dont get 20:58 -!- Goleo[06] [n=arbi@80.191.145.146] has joined #agavi 20:59 < E_mA> but what ive done is take a HTML template sage generates and fill that in with data entered by the user... this is for manual invoices btw 21:01 < E_mA> so will the form population filter reinsert the data again? 21:02 < _cheerios> your job sounds really boring 21:03 < E_mA> your telling me 21:03 < _cheerios> are the tons of typos you make daily due hitting the bottle to endure it? 21:03 < E_mA> i had to fight my boss for her to allow me to use PHP to generate a manual invoice as she kept going.. it will take too long as you could be doing something better which will be worth our money :/ 21:04 < _cheerios> even my dry bread tastes good listening to what you do :D 21:04 < E_mA> what do you do? 21:04 < E_mA> well, it pays the bills... so i can buy slightly moister bread 21:06 < _cheerios> sitting infront of the comp getting my ass kicked by an ikea chair, mostly. 21:06 < E_mA> hehe.. do you find that your shoulder blades start to hurt? 21:07 < _cheerios> nope, I sit proper. 21:07 < E_mA> i think i need a new chair at work then 21:09 < _cheerios> there's guides for newbies on how to sit on a chair while using a computer, if you have pains 21:09 < E_mA> :O newbie! im not a newbie 21:10 < E_mA> i think my chair is not designed for computer use 21:10 < ttj> They typically aren't. 21:10 < ttj> Chairs are normally designed for sitting. 21:11 < E_mA> :o 21:11 < ttj> I know. It's a little known fact. 21:11 < E_mA> what are the wheels for ?:/ 21:11 < ttj> For getting coffee without getting up. 21:11 < ttj> And alternatively for kidnapping coworkers. 21:12 < ttj> And office racing. 21:12 < E_mA> or getting really dizzy 21:12 < ttj> Nah, you don't need wheels for that. 21:12 < ttj> It's enough that the chair just spins for getting dizzy. 21:12 < E_mA> true true... i was thinking out of the box 21:12 < ttj> Ah. You obviously don't work in a box, then. 21:12 < E_mA> i was thinking about how we could go crazy... like cheese and ham toasties ;) 21:12 * ttj hugs his cubicle. 21:13 < Wombert> cubicles suck 21:13 < Wombert> they make lonely 21:13 < Wombert> ! 21:13 < E_mA> i did have a office 21:13 < ttj> Wombert: I have low walls and I can see my neighbors. :P 21:13 < E_mA> but now i'm in the main office with all the sales depatment and accounts 21:13 < ttj> Plus cubicles are great since you can always go hang around in some other guy's cubicle and chat. 21:14 < Wombert> which means you cannot concentrate at all 21:14 < Wombert> since everyone's talking 21:14 < Wombert> or making phone calls 21:14 < Wombert> and its hot 21:14 < ttj> Wombert: You don't know how much. 21:14 < Wombert> and it sucks 21:14 < Wombert> been there, done that 21:14 < ttj> Standardization is pretty much just conf calls. :P 21:14 < ttj> But fortunately it's not hot since we have brilliant A/C. 21:14 < Wombert> I was referring to E_mA ;) 21:14 < Wombert> I'm sure you have 21:14 < Wombert> but then, it's never over 20 degrees anyway in finland 21:14 < E_mA> yes it is horrible 21:14 < Wombert> :p 21:14 < ttj> :P 21:15 < ttj> The only country in the world where the whole nation invests in brilliant A/C is also the only country that doesn't need it. :D 21:15 < Wombert> anyway, I've ordered really, really brilliant chairs for teh office 21:15 < Wombert> and nice desks 21:15 < E_mA> have my boss (who is the Finical controller) sitting not 2 meters from me 21:15 < Wombert> will see how that works out 21:15 < ttj> Cool. 21:15 < E_mA> chairs with wheels?!?!?!?! :D 21:15 < ttj> My boss's boss is sitting just a few rooms down. And he's a Vice President. :P 21:16 < _cheerios> i prefer cubicles over open-floor anyday to get some peace of mind 21:16 < E_mA> Wombert: you setting up your own office then? 21:16 < ttj> Ah, but we're getting this FlexiSpace crap soon. :P 21:17 < _cheerios> what dept. in nokia did you work in, ttj? 21:17 < ttj> Standardization and Industry Relations. 21:18 < E_mA> ttj: did you ever go near the "MAke a phone work for 1 year and then break down programming" department? 21:18 < ttj> No. 21:18 < E_mA> hehe =P 21:18 < ttj> I think they have that over at Motorola... *ducks* 21:18 < E_mA> just most phone seem to break quicker then not 21:19 < ttj> I think HR is monitoring me or something, so I have to say nice things about the company these days. 21:19 < E_mA> can i insult or will they come and break me hohoho! 21:20 < ttj> E_mA: They'll make your phone explode in the middle of a conversation! 21:20 < _cheerios> i have the exploding battery model, but it's not from the infernal batch. 21:20 < E_mA> what with a cute little animation on the screen =P 21:21 < E_mA> ive got an N70 21:21 < E_mA> which is rather slow 21:21 < ttj> E_mA: Ever heard of these nice signals you can pass onto the handset through the network and base station? They can make any phone anywhere in the world explode at will. NSA requested the feature. 21:22 < ttj> Right, 'tis getting very silly. Might as well try to sleep a bit before meeting ze lawyers. 21:22 < E_mA> hehehe... well.. i best get some foam 21:23 < E_mA> sleep well... 21:24 -!- Goleo[06] [n=arbi@80.191.145.146] has quit ["Leaving"] 21:25 < Wombert> E_mA: yeah 21:25 < Wombert> speaking of crappy phones 21:26 < Wombert> my 6300 locks up if I insert the power cord too far 21:26 < Wombert> and it also locks up when I remove it once it is charged 21:27 < E_mA> at work about 3 sales managers in the past 3-4 months have had phones which have broken or lose signal loads 21:28 < _cheerios> you're too manly for a phone, Wombert 21:28 < E_mA> his got a pink spice girls phone _cheerios... 21:28 < E_mA> or actually.. BeFour heheheheh! 21:30 < _cheerios> i havent joined the smart-phone revolution yet. i have the cheapest model from 2006, a nokia 1600. 21:30 < _cheerios> (or something 1xxx) 21:31 < Wombert> http://www.finalgear.com/news/2007/10/01/top-gear-season-10-trailer/ ! 21:31 < Wombert> smartphones sux 21:31 < ttj> You suck. 21:31 < Wombert> these symbian things are so fecking miserable 21:31 < Wombert> and that multitasking 21:31 < Wombert> I just dont get it 21:31 < Wombert> and I keep hitting the wrong buttons 21:31 < Wombert> I have an N95 here for development 21:31 < Wombert> ZOMG 21:32 < _cheerios> ttj, my salary sucks. :) 21:32 < E_mA> AH You like Top Gear huh ;) 21:32 < Wombert> it wont even end the call if you slide in the keypad again 21:32 < E_mA> i do like the GPS on the N95 21:32 < Wombert> which means potentially embarassing situations 21:32 < E_mA> but its REALLY slow 21:32 < Wombert> and the GPS is sooooo useless 21:32 < ttj> How so? 21:32 < Wombert> because it needs a year or two to find out where it is 21:33 < E_mA> when it works after about 1-2 minutes waiting 21:33 < ttj> Update the software. 21:33 < Wombert> I did 21:33 < ttj> A-GPS is a lot faster. 21:33 < Wombert> it's still hopeless 21:33 -!- JanK_ [n=JanK_@muedsl-82-207-204-044.citykom.de] has quit [] 21:33 < ttj> 6110 Navigator with A-GPS is about 10-15 seconds for a fix. 21:33 < E_mA> when it does work i do like the little mapping software 21:37 < _cheerios> when do you use the GPS? does it get much use beyond when you're driving? 21:38 < E_mA> i used it on the train... but meerly out of novelty 21:43 < _cheerios> Wombert, you're doing mobile apps? 21:43 < Wombert> something in that direction 21:44 < _cheerios> do I need to tune in my GPS 21:54 < E_mA> nite nite Wombert & _cheerios 21:56 < _cheerios>

    301: This object has moved

    21:56 < _cheerios>

    Please click here to continue 22:11 -!- _cheerios [n=jacklo@cs181066248.pp.htv.fi] has quit ["sleep()"] 22:14 -!- Wombert [n=Wombert@dslb-084-056-003-131.pools.arcor-ip.net] has quit [] --- Day changed Tue Oct 02 2007 00:39 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: splatch`, ttj 00:40 -!- Netsplit over, joins: splatch`, ttj 01:47 -!- eremit_ [n=eremit@p5490C1D8.dip.t-dialin.net] has joined #agavi 01:56 -!- eremit [n=eremit@p5490CC6B.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 02:15 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #Agavi 02:19 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [Client Quit] 02:20 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #Agavi 02:32 -!- EoN` [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 03:55 -!- MikeSeth [n=Miranda@unaffiliated/mikeseth] has quit [Read error: 113 (No route to host)] 04:41 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [] 05:06 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:12 -!- Wombert [n=Wombert@dslb-084-056-003-131.pools.arcor-ip.net] has joined #agavi 05:13 < Wombert> huomenta 05:47 < v-dogg> huomenta 06:06 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 06:45 -!- EoN` is now known as EoN 07:07 -!- E_mA [n=E_mE@82.153.7.16] has quit [Remote closed the connection] 07:15 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 07:16 < RossC0> Huomenta!! 07:49 -!- trophaeum [i=sryzhkyi@ppp121-45-255-164.lns2.bne4.internode.on.net] has quit [Read error: 110 (Connection timed out)] 08:09 -!- trophaeum [i=ytqnnh@ppp121-45-255-164.lns2.bne4.internode.on.net] has joined #agavi 08:37 < RossC0> Woot! 08:37 < RossC0> <3 XPath! 08:37 < RossC0> 08:37 < RossC0> roar! 08:48 -!- E_mE [n=E_mE@81.168.18.2] has joined #agavi 08:48 -!- Chonsu [n=Chons@87.79.35.58] has joined #agavi 08:49 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 08:53 < E_mE> huomenta! 08:54 -!- trophaeum [i=ytqnnh@ppp121-45-255-164.lns2.bne4.internode.on.net] has quit [Read error: 110 (Connection timed out)] 08:58 < Wombert> RossC0: it rocks, doesn't it 08:58 < Wombert> :) 08:59 < RossC0> Wombert: when it works yes :D 08:59 < Wombert> I'll hop into the office and then I'll pick param names for the new features and commit commit commit :) 09:04 -!- Wombert [n=Wombert@dslb-084-056-003-131.pools.arcor-ip.net] has quit [] 09:05 -!- epaulin_ [n=epaulin@219.137.42.151] has joined #agavi 09:26 -!- epaulin [n=epaulin@218.19.216.201] has quit [Read error: 110 (Connection timed out)] 10:36 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [Read error: 110 (Connection timed out)] 10:39 -!- Wombert [n=Wombert@213.23.52.58] has joined #agavi 10:48 -!- JanK_ [n=JanK_@muedsl-82-207-204-044.citykom.de] has joined #agavi 10:48 -!- trophaeum [i=zlhxdwj@ppp121-45-255-164.lns2.bne4.internode.on.net] has joined #agavi 10:57 < Wombert> RossC0: but it's not the

  2. that has class="left", right? 10:58 < RossC0> yeah it is 10:58 < Wombert> wouldn't li[@class='left'] do the trick then 10:59 < Wombert> (prolly faster, too) 10:59 < RossC0> no because it also may have other classes: inline 10:59 < RossC0> ah sorry 10:59 < RossC0> re read the initial comment! 11:01 < Wombert> RossC0: aaah! clever 11:03 < Wombert> btw 11:03 < Wombert> anyone seen the Halo 3 ads lately 11:03 < Wombert> damn they are nice 11:03 < Wombert> oh and RossC0: http://www.finalgear.com/news/2007/10/01/top-gear-season-10-trailer/ 11:04 < RossC0> COOL! 11:04 < RossC0> :D 11:04 < Wombert> the r8 and the 911 11:05 < Wombert> nice 11:06 < Wombert> and seems aston v8 racing thing + gt3rs + gallardo into... france or whatever again 11:06 < Wombert> aaah it's gonna be friggen ace once again 11:06 < Wombert> anyway 11:07 < Wombert> should we use flat or nested params for those errors now? 11:07 < Wombert> i.e. three arrays on the top level, or three arrays inside... dunno... "error_messages" ? 11:08 -!- _cheerios [i=jussiava@cs181073202.pp.htv.fi] has joined #agavi 11:08 < _cheerios> ho-ho, huomenta 11:09 < Wombert> hai 11:09 < Wombert> [13:06] Wombert: anyway 11:09 < Wombert> [13:07] Wombert: should we use flat or nested params for those errors now? 11:09 < Wombert> [13:07] Wombert: i.e. three arrays on the top level, or three arrays inside... dunno... "error_messages" ? 11:11 < _cheerios> whatever doesnt give you nasty stomach pains at 3am 11:15 -!- JanK__ [n=JanK_@muedsl-82-207-204-044.citykom.de] has joined #agavi 11:16 -!- JanK_ [n=JanK_@muedsl-82-207-204-044.citykom.de] has quit [Read error: 104 (Connection reset by peer)] 11:20 -!- JanK__ [n=JanK_@muedsl-82-207-204-044.citykom.de] has quit [] 11:26 < RossC0> Wombert: example of nested ? 11:27 < Wombert> 11:27 < Wombert> 11:32 < E_mE> Wombert: did you see the episode with the bucati (i think thats how its spelt) that can go like 300MPH or something silly?? 11:32 < Wombert> bugatti 11:32 < Wombert> veyron 11:32 < E_mE> or the episode where they travelled through south of the USA 11:32 < E_mE> yes thats the one i believe 11:32 < E_mE> insane car 11:35 < E_mE> Wombert: check out http://news.bbc.co.uk/1/hi/in_pictures/6423241.stm you may of seen it 11:35 < Wombert> yes 11:37 < E_mE> when you going to buy one ;) 11:37 < Wombert> nevar! 12:01 < _cheerios> hihi @ http://www.youtube.com/watch?v=a40BQ8ThsTc 12:02 < E_mE> did json_encode() get introduced in version 5.2+ 12:04 < _cheerios> read the docs 12:05 < E_mE> aye.. was just confirming... but appears taht pecl has a json extension :D 12:06 < Wombert> yeah, _cheerios 12:06 < Wombert> so appaling 12:06 < Wombert> do you know the original ad? 12:06 < Wombert> it's pretty cool, but it's also a blatant lie :p 12:06 < _cheerios> yeah, it's an apple ad, i saw it. 12:07 < _cheerios> what makes the original ad a blatant lie? 12:07 < _cheerios> by the looks of the original it was from the 80s 12:07 < Wombert> this iphone stuff :p 12:07 < Wombert> nah it was from 1998 12:07 < Wombert> I think 12:08 < Wombert> http://en.wikipedia.org/wiki/Think_Different 12:08 < E_mE> i wrote a marketing project on the iMac when it first appeared back in 98... 12:08 < E_mE> and had a Rev. B my self 12:10 < Wombert> 1997 12:10 < E_mE> pretty sure it was 98, because i left school in 98 12:11 < E_mE> maybe my memory is too doped 12:11 < _cheerios> ah, seems i've missed on all the brainwashing material 12:11 < E_mE> yes it is 1998 12:11 < Wombert> nope 12:11 < E_mE> http://en.wikipedia.org/wiki/Imac 12:12 < Wombert> On September 28th, 1997, during the broadcast premiere of Toy Story, Apple unveiled a new advertising campaign that attempts to inspire people to new heights, and to choose Apple as the brand of computer that will help them to do so. 12:12 * Wombert wins 12:12 < Wombert> :p 12:12 < Wombert> and remember 12:12 < Wombert> IT MUST BE TRUE IF IT'S ON THE INTERNETS 12:13 < E_mE> ah i think we was talking about different things hehe.. i was talking about imac and you are refereing to think different 12:13 < CIA-11> david * r2105 /branches/0.11/src/response/AgaviWebResponse.class.php: Added AgaviWebResponse::unsetCookie(), closes #577 (thanks Ross Lawley for the original patch) 12:13 < E_mE> so we both win.. wooo! 12:13 < Wombert> yeah ;) 12:16 < _cheerios> ace recruiting video http://www.xobni.com/blog/2007/10/01/growing-xobni-were-hiring/ (lolz@using ze german!) 12:19 < Wombert> lolz 12:56 -!- Whisller [n=mail@194.110.240.145] has joined #agavi 12:56 < Whisller> hi :) 13:13 < Wombert> http://trac.agavi.org/ticket/544 opinions? 13:13 < Wombert> it's a chicken and egg situation 13:14 < Wombert> if we validate after the security filter has run, isSecure and getCredentials cannot access request data to determine their return values 13:14 < Wombert> if we validate before isSecure, we're probably doing things even though they were not supposed to be done (because the user did not have the credentials) 13:15 * Wombert eats his fruit salad and ponders 13:18 < v-dogg> "Pinky, are you pondering what I'm pondering?" 13:19 < Wombert> mmmh 13:19 < Wombert> Galia Melon 13:19 < v-dogg> haha: http://users.kent.net/~pinky/ponder.html 13:24 < Wombert> Uh, I think so, Brain, but balancing a family and a career ... oooh, it's all too much for me. 13:24 < Wombert> haha 13:50 < _cheerios> if calling request data in baseview initialize, what form has the validated data? ,$this->context->getRequest()->getRequestData() ? if accessing rd, should it be done in base v's setupHtml then, not initialize? 13:52 < Wombert> no, get the rd from the container 13:52 < Wombert> not from the global request data 13:52 < Wombert> see, that's why I want to make the change in #544 13:52 < Wombert> because that might be dangerous 13:56 < _cheerios> ah, k. good to know. 13:58 < E_mE> anyone here use mootools? 13:58 < _cheerios> sure 13:59 < E_mE> im using a Ajax object... successfully got a request.. but i want to retreieve the data its recieving... ive looked at the source and documentations but im puzzelled on how to pass the database back to a var 14:00 < E_mE> data back to a var* 14:00 < _cheerios> #mootools 14:00 < E_mE> they only help you if you are developing other elements for mootools.. its a developers channel 14:01 < E_mE> but i can try 14:01 < _cheerios> they help out if you ask questions that arent born of lazyness 14:02 < E_mE> see see :) 14:18 < Wombert> RossC0: "error_messages" with "single_field", "multi_field", "fallback" ? 14:19 < E_mE> isn't there a website that generates you progress wheels? 14:19 < E_mE> or is there a special name for the apple progress wheel 14:19 < Wombert> I'd like a website that generates me meaninfgul names for stuff 14:19 < Wombert> zomg 14:20 < E_mE> hehe... then terminology would be history 14:21 < RossC0> Wombert: roger 14:21 < RossC0> looks good 14:21 < RossC0> fallback = default ? 14:22 < Wombert> no, that's the one that inserts into the form, not next to elements 14:22 < _cheerios> multi should be cheater 14:22 < Wombert> that's the "other" thing 14:23 < RossC0> need a better name than fallback 14:23 < _cheerios> is there a default on top of those 3 ? 14:23 < RossC0> block? 14:23 < RossC0> group? 14:23 < RossC0> other? 14:23 < RossC0> :D 14:23 < Wombert> no, but I could imagine that we allow rules directly inside "error_messages", for the lazy ;) 14:24 < _cheerios> single_field, multi_field and when all else fails, force_field ! 14:26 < Wombert> force field, huh? 14:26 < Wombert> you're funny or what :p 14:27 < Wombert> STAR TREK NERD! 14:27 < Wombert> they all don't appropriately describe what they're about, that's my issue 14:29 < _cheerios> too much thinking, too little doing! 14:29 < _cheerios> what is this, Sweden? 14:29 -!- _cheerios [i=jussiava@cs181073202.pp.htv.fi] has quit ["beat me out, it's just a bunch of nerds here."] 14:57 -!- _cheerios [n=jacklo@cs181066248.pp.htv.fi] has joined #agavi 15:06 -!- JanK_ [n=JanK_@p508FAB89.dip0.t-ipconnect.de] has joined #agavi 15:15 -!- JanK__ [n=JanK_@p508FAB89.dip0.t-ipconnect.de] has joined #agavi 15:18 -!- MikeSeth [n=Miranda@unaffiliated/mikeseth] has joined #agavi 15:18 < MikeSeth> http://qdb.us/109019 15:18 * MikeSeth cries 15:21 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 15:21 < Wombert> okay 15:21 < Wombert> MikeSeth, RossC0 15:21 < Wombert> idea 15:21 < Wombert> three params 15:21 < MikeSeth> Wombert: http://qdb.us/109019 15:21 < Wombert> error_messages (generic ones, for the form) 15:22 < Wombert> field_error_messages 15:22 < MikeSeth> I dont know what you're talking about. Start from scratch? 15:22 < Wombert> multi_field_error_messages 15:22 < Wombert> mmh no those are zomg 15:22 -!- Whisller [n=mail@194.110.240.145] has quit [Read error: 110 (Connection timed out)] 15:23 < RossC0> Wombert: YES 15:23 < Wombert> MikeSeth: fuck the root password and go shopping with the CC number xD 15:23 < RossC0> GO 15:23 < RossC0> GO 15:23 < RossC0> GO 15:23 < Wombert> too long though, RossC0 15:23 < Wombert> but getting there, me thinks 15:24 < Wombert> and it introduces the question about behavior 15:24 < Wombert> should the generic ones be used on the elements as well if the others are not present? 15:25 < Wombert> so you could have as first and as second 15:25 < Wombert> or so 15:25 * Wombert ponders 15:28 < Wombert> also... should we have a config flag for the multi field errors using the single field error rules 15:28 < RossC0> right I g2g and pick up the little one! 15:29 < Wombert> or should we just do it so that multi field errors use the single field error rules if no multi field ones are present 15:29 < Wombert> okay :) bai RossC0 15:29 < RossC0> kTHXBAI 15:29 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 15:31 -!- JanK_ [n=JanK_@p508FAB89.dip0.t-ipconnect.de] has quit [Read error: 113 (No route to host)] 15:40 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 15:40 < malax> Huomenta! 15:41 < Wombert> hai 15:44 -!- Chonsu [n=Chons@87.79.35.58] has quit ["Leaving."] 15:45 < Wombert> what do you guys think about 15:45 < Wombert> "error_messages", "field_error_messages" and "multi_field_error_messages" 15:45 < Wombert> by default, it uses error_messages for everything 15:46 < Wombert> and if you have no multi_lala, it uses field_error_messages 15:49 -!- BuddhaOhneHals [n=wuddha@87.79.35.58] has joined #agavi 15:52 < _cheerios> sounds good 15:54 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 113 (No route to host)] 15:56 < E_mE> bye bye 15:56 -!- E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection] 15:59 -!- cld2 [n=cliff@ip65-44-219-34.z219-44-65.customer.algx.net] has joined #agavi 16:00 -!- BuddhaOhneHals [n=wuddha@87.79.35.58] has left #agavi [] 16:00 < MikeSeth> haha 16:00 < MikeSeth> there you are 16:00 < MikeSeth> look zombies another recruit! 16:00 < MikeSeth> hello and welcome to the conspiracy 16:17 < v-dogg> have you already worked your magic or is conversion still in progress? 16:18 < MikeSeth> has it ever mattered? 16:19 < MikeSeth> i've lost two converts. one just disappeared, and another is a perl pervert 16:19 < v-dogg> :) 16:20 < Wombert> cld2 is new tho! 16:20 < Wombert> welcome 16:20 < Wombert> or is that the... perl... guy... :p 16:21 < v-dogg> haha 16:24 < MikeSeth> Wombert: I've just dragged him in 16:25 < Wombert> last q 16:25 < Wombert> if there are no rules for multi-field error messages 16:25 < MikeSeth> you guys indoctrinate him. I have to go home and deal with the root password shit 16:25 < Wombert> should FPF use the same rules as for normal error messages 16:25 < Wombert> OR 16:25 < MikeSeth> Wombert: I dont get it are you implementing multiple fields in FPF? 16:25 < Wombert> should FPF simply treat them like normal errors 16:25 < Wombert> no, MikeSeth, I'm adding insertion of error message into forms to FPF 16:25 < Wombert> the last piece missing in the puzzle 16:26 < MikeSeth> Wombert: oh. Well. You mean validation rules right? 16:26 < Wombert> but of course, while you may just want to add error messages to regular elements behind the element or whatever, your requirements for multi field errors (e.g. the message saying that those two password fields were not equal... or that the date given using the three dropdowns is out of range) may be different 16:26 < Wombert> MikeSeth: yes 16:27 < MikeSeth> Wombert: Since its a matter of input syntax, you can rely on lack of multiple rules to interpret the error as single, if I understand the question right. 16:28 < Wombert> yes 16:28 < Wombert> correct 16:28 < Wombert> put 16:28 < Wombert> but 16:28 < Wombert> should I 16:28 < MikeSeth> leave your enter key alone? :) 16:28 < Wombert> a) do another insertion run for the multi field errors, but with the same rules 16:28 < Wombert> b) include the multi field errors in the single errors list and do one run 16:28 < Wombert> there is a difference, since you can give a container to wrap all errors of one field 16:28 < Wombert> *field 16:30 < cld2> sorry, reading. my wife was giving me the business about the dog. Thanks for the welcome :) 16:30 < Wombert> :) 16:30 < MikeSeth> I suppose a) because you or someone else would probably want to apply custom transformation to the list of errors 16:30 < Wombert> where you from, cld2 16:30 < cld2> vegas 16:30 < Wombert> I'm doing a) for now, MikeSeth 16:30 < cld2> you? 16:30 < Wombert> Munich, Germany 16:31 < Wombert> which means I really need to leave now and hook up with some friends at the Oktoberfest 16:31 < MikeSeth> Wombert: makes more sense to me as well. If you lump the whole thing into one run it'd be a bitch to extend it 16:31 < Wombert> I'm sure MikeSeth will take care of you just fine and help you see the light 16:31 < MikeSeth> as I have done to.. countless.. others 16:31 < Wombert> precisely 16:31 < cld2> have fun drinking. Im very jealous 16:32 < Wombert> I won't get drunk ;) 16:32 < MikeSeth> I'm going to get fucked up and ponder an application that's gonna make me monies 16:32 < Wombert> need to get some more work done later 16:32 < Wombert> that said, I'll be back in prolly two hours or so 16:32 < Wombert> I hope you guys are still around then because I 16:32 < MikeSeth> i gotta catch the cab, bb in like an hour or so 16:32 < Wombert> a) want to show that new feature to MikeSeth 16:33 < MikeSeth> Wombert: would you object if I restructure the guidebook? the chapter layout is inconsistent, I cant seem to produce readable text 16:33 < Wombert> b) see the smile on cld2's face (well, not literally) 16:33 < Wombert> MikeSeth: sure, lets discuss this when we're both back 16:33 < MikeSeth> yessir 16:33 < MikeSeth> <3 16:33 < Wombert> cld2: can you hang in there until we are back 16:33 < MikeSeth> bb 16:33 < Wombert> I promise you it is going to be worth the wait 16:33 * MikeSeth & 16:33 < Wombert> look around yourself until then when you like 16:33 < cld2> Wombert: for sure 16:33 < cld2> im here all day 16:33 < Wombert> and please, be our guest 16:34 -!- MikeSeth [n=Miranda@unaffiliated/mikeseth] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 16:34 < Wombert> there's bavarian beer in the fridge 16:34 < cld2> I "work from home" = get paid to fart around 16:34 < Wombert> just make sure you use branches/0.11 if you check out straight from svn 16:34 < Wombert> cool 16:34 < Wombert> laters 16:34 < cld2> have fun 16:34 < cld2> im going to start reading 16:35 < malax> Wombert: Did you now there is a Oktoberfest in World of Warcraft tomorrow? *giggles* 16:35 < Wombert> dear god 16:35 < Wombert> cld2: start with the intro 16:35 < Wombert> it's mostly PR blah blah but... stilll :p 16:35 < Wombert> and the sample app from SVN 16:35 < cld2> yeah, doing so 16:35 < Wombert> err, well, not necessarily SVN 16:35 < Wombert> cool 16:35 < cld2> can I get it all from pear 16:35 < cld2> or do I need svn? 16:35 < Wombert> the others here can also help you in case of questions 16:35 < Wombert> of course 16:36 < Wombert> www.agavi.org has instructions, or the manual 16:36 < cld2> yup. 16:36 < Wombert> ace 16:36 < Wombert> laters -> 16:36 < cld2> im no good at svn, mercurial has ruined me 16:36 < cld2> bye 16:53 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 17:07 -!- malax [n=malax@unaffiliated/malax] has quit ["Lost terminal"] 17:28 < cld2> is it possible that agavi is going to be way to complicated for me. Im still newish to php 17:32 -!- JanK__ is now known as JanK_ 17:38 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi 17:39 < MikeSeth> FAILURE 17:39 < MikeSeth> it's what's for dinner! 17:47 -!- JanK_ [n=JanK_@p508FAB89.dip0.t-ipconnect.de] has quit [] 17:59 < _cheerios> Page not Found - We are sorry! Your IP address is monitored and we have decided you have used our website improperly. Your access is denied for 3 hours. ... 17:59 < _cheerios> www.tabularasa.com/ - 26k - Cached - Similar pages - Note this 18:06 < cld2> MikeSeth: is it possible that agavi is going to be to complicated for me. Im still newish to php and Im still trying to 100% wrap my head around OOP I have the majority of logic for my site coded and Im using a few objects like mdb2 and html_quickform and Im now at the point where I need to start doing the design and like I said id like to keep the html out of the php. 18:07 < cld2> but I still think im miss using OOP. as if im treating the objects like functions and still doing basicly procedural coding 18:10 < cld2> heh, sounds like therapy 18:25 < _cheerios> you will know when the time is right to use something else, like agavi. if you want to ship anything in schedule, use your current skillset. 18:26 < cld2> _cheerios: good call. ill have to put agavi on the back burner or maybe just schedule a do over a few months while I come up to speed 18:34 < _cheerios> i suggest following http://www.dzone.com/ to see how others solve the similar problems as you do. helps to give a hint on if the methods you use are outdated and when it's time to let go and move forward. 18:40 < cld2> _cheerios: thanks very much. 18:45 -!- Goleo[06] [i=arbi@82.99.247.242] has joined #agavi 18:55 -!- E_mE [n=E_mE@82.153.7.16] has joined #agavi 18:56 < E_mE> huomenta-noon 18:59 < _cheerios> is Heroes s2 good? 19:17 < E_mE> Heroes? 19:17 < E_mE> Saxondale is good ;) 19:30 < E_mE> what are peoples opinions on moving from XHTML strict to Transitional? 19:39 < impl> I don't see any reason to 19:39 < impl> strict is nice 19:41 < E_mE> its just the iframe would be nice 19:42 < E_mE> but ive found digitarald.d's uploading code 20:21 < Wombert> re 20:24 < Wombert> impl: you agree to that 20:24 < impl> mm? 20:30 < Wombert> impl: error_messages 20:30 < Wombert> field_error_messages 20:30 < Wombert> multi_field_error_messages 20:30 < Wombert> each optional, each a fallback for the preceding 20:31 < Wombert> err, following 20:31 < Wombert> :p 20:31 < impl> I guess so 20:31 < Wombert> so you can use only error_messages, but its used for the "global" errors, as well as per element errors (with the form and the element as the context node, respectively) 20:31 < Wombert> sounds okay? 20:32 < impl> Yeah 20:32 < impl> (I really think that FPF should be split into multiple filters, probably, but as for the best way to do such a thing... agh. Beats me.) 20:33 -!- cld2 [n=cliff@ip65-44-219-34.z219-44-65.customer.algx.net] has left #agavi [] 20:36 < ttj> Heh, they made me an R&D Specialist. :P 20:36 < Wombert> is that... good? 20:36 < ttj> I don't have anything to do with R&D... :P 20:37 < Wombert> hmh 20:37 < Wombert> does that mean more money? 20:37 < Wombert> can you afford that S5 now? :p 20:37 < ttj> But at least my salary is up 62% YoY. 20:37 < Wombert> 62%? 20:37 < Wombert> dude 20:38 < Wombert> that does sound like you can afford an S5 now :p 20:38 < ttj> Nope. :P 20:38 < Wombert> an A5? :p 20:38 < ttj> It has more to do with the fact that my salary a year back was very shitty. :P 20:38 < Wombert> oh :p 20:39 < ttj> But I'm satisfied. It's not the big income that counts but instead the fact that you keep your costs down. :-) 20:41 < E_mE> Wombert: will agavi automatically tell you if a file has an error when uploaded? 20:41 < Wombert> that's good 20:43 < Wombert> mh 20:43 < Wombert> I ate 300 grams of roasted almonds today 20:43 < Wombert> :S 20:44 < ttj> I can't remember what I ate. 20:44 < ttj> A pizza, at least. 20:44 < ttj> Cute waitress, nice smile. 20:44 < E_mE> i had Hot Thai prawn and pineapple curry 20:44 * E_mE is inlove with hot food! 20:45 < ttj> Anyway, need to hit the sack. 20:45 < ttj> Later. 20:45 < CIA-11> david * r2106 /branches/0.11/src/filter/AgaviFormPopulationFilter.class.php: 20:45 < CIA-11> larger refactoring of FPF to clean up some parts, and ability to insert 20:45 < CIA-11> validation error messages into the form - for "normal" field errors, multi field 20:45 < CIA-11> errors, and generic errors (i.e. those that did not have a matching field in the 20:45 < CIA-11> form, or those that could not be inserted into the document because no xpath 20:45 < CIA-11> rule matched), each also acts as a fallback for the following. docs and samples 20:45 < Wombert> I need to leave teh office 20:45 < CIA-11> to follow. closes #303 20:45 < Wombert> go home 20:46 < Wombert> watch prison break and heroes (zomg!) 20:46 < Wombert> and hit the sack 20:46 < E_mE> have good evening all 20:54 < Wombert> yup 20:54 < Wombert> train -> 20:55 < E_mE> wombert... Train :o 20:56 < E_mE> what about your fast zippy cars ;) 20:57 < Wombert> the engine does not get warm before I arrive at the office 20:57 -!- Wombert [n=Wombert@213.23.52.58] has left #agavi [] 20:57 -!- Wombert [n=Wombert@213.23.52.58] has joined #agavi 20:58 < Wombert> or if it does, it means being stuck in traffic forever 20:58 < Wombert> in either case, it is not healthy for the car 20:58 < Wombert> plus there are no parking spaces here 20:58 < Wombert> so I use the pretty good public transport 20:58 < Wombert> anyway 20:58 < Wombert> laters 20:59 -!- Wombert [n=Wombert@213.23.52.58] has quit [] 21:03 -!- _cheerios [n=jacklo@cs181066248.pp.htv.fi] has quit ["sleep()"] 22:21 -!- Wombert [n=Wombert@dslb-084-056-002-092.pools.arcor-ip.net] has joined #agavi 22:22 < Wombert> hai 22:26 < Wombert> so 22:26 < Wombert> who tried out that new FPF feature already :) 22:26 < Wombert> MrJeep maybe? :) 23:32 -!- Goleo[06] [i=arbi@82.99.247.242] has quit ["Leaving"] --- Day changed Wed Oct 03 2007 00:52 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 01:16 -!- E_mA [n=E_mE@82.152.201.21] has joined #agavi 01:32 -!- E_mE [n=E_mE@82.153.7.16] has quit [Read error: 110 (Connection timed out)] 01:43 -!- E_mA [n=E_mE@82.152.201.21] has quit [Read error: 110 (Connection timed out)] 01:43 -!- E_mA [n=E_mE@82.152.207.176] has joined #agavi 01:47 -!- eremit [n=eremit@p5490D076.dip.t-dialin.net] has joined #agavi 01:57 -!- eremit_ [n=eremit@p5490C1D8.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:31 -!- Wombert [n=Wombert@dslb-084-056-002-092.pools.arcor-ip.net] has quit [] 05:32 < v-dogg> huomenta 05:59 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [Read error: 110 (Connection timed out)] 06:03 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 07:08 -!- E_mA [n=E_mE@82.152.207.176] has quit [Remote closed the connection] 07:22 -!- _cheerios [i=jussiava@cs181073202.pp.htv.fi] has joined #agavi 07:22 < _cheerios> huomenta <3<3 07:26 < _cheerios> Short story: Chrylser had been trying to unify its various systems and subsystems for payroll and had failed and failed. Eventually, a group of consultants were brought in who had invented a particular agile technique, extreme-programming. Of course, the project failed, but that didn't keep the consultants from spreading the XP word throughout the world. 07:27 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 07:48 -!- Goleo[06] [i=arbi@82.99.247.242] has joined #agavi 07:56 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 07:57 < RossC0> huomenta! 08:12 < _cheerios> yo :) 08:14 < RossC0> word up _cheerios 08:14 < _cheerios> :) 08:15 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [Connection timed out] 08:38 -!- shoan [n=shoan@59.92.175.159] has joined #agavi 08:41 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Remote closed the connection] 08:47 -!- RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)] 08:47 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 09:05 -!- shoan [n=shoan@59.92.175.159] has quit [] 09:05 -!- epaulin__ [n=epaulin@219.137.168.101] has joined #agavi 09:05 -!- epaulin_ [n=epaulin@219.137.42.151] has quit [Read error: 104 (Connection reset by peer)] 09:30 -!- E_mE [n=E_mE@81.168.18.2] has joined #agavi 09:31 < E_mE> huomenta! 10:03 < _cheerios> RossC0, with capistrano, can you have it run tests and only deploy if the test ran ok? 10:04 < RossC0> _cheerios: if you script it sure 10:04 < RossC0> but just pre deployment probably isn't the best time to check if your app works! 10:05 < RossC0> probably best to CI instead 10:05 < _cheerios> CI? 10:05 < RossC0> so run tests after checkin 10:05 < RossC0> Continuous Integration 10:23 < _cheerios> with post-commit hooks added to run tests/stuff, do you have the results emailed when ready, or? 10:54 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 10:55 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Client Quit] 10:58 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 11:11 < E_mE> im all cool now ;) I'm sitting on a ball instead of a chair ;) ... 11:15 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 11:24 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 11:27 < _cheerios> doctrine can't export decimal columns? gah 11:35 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 11:44 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 11:47 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 12:18 < _cheerios> any ideas why on my libs/agavi/ dir, which i deleted and then re-added, causes problems (files can't be found / config errors) when loading? 12:28 < RossC0> _cheerios: did you reload the same version? 12:28 < RossC0> and did you clear the cache? 12:28 < _cheerios> a slightly newer one, yep 12:28 < RossC0> ok what are ze errors? 12:29 < _cheerios> Configuration file "/code/fr/app/config/factories.xml" specifies unknown class 12:29 < _cheerios> "AgaviWebRequest" for entry "request" 12:29 < _cheerios> i checked the created configs, they look fine. I have the same agavi installation in an external dir, and using that, no errors. 12:31 < RossC0> no AgaviWebRequest? 12:33 < _cheerios> the file is there, but that's the error 12:37 < RossC0> this the latest version of Agavi? 12:37 < _cheerios> i've had this errors before, when i do the same thing. 12:38 < RossC0> _cheerios: without debugging your code I'm not sure I can help 12:38 < shoan> RossC0: hey, is work on the testing branch stalled? 12:39 < _cheerios> RossC0, I don't think it's a code problem. Linux related, unless it's some Agavi loader bug. 12:39 < RossC0> hmm _cheerios maybe pastie your factories.xml 12:39 < RossC0> shoan: yeah haven't had time to add more tests 12:40 < RossC0> actually using Watir to test the system via ze browser 12:41 < shoan> RossC0: are there any complete tests in the branch? 12:41 < shoan> i looked around and most were marked incomplete 12:41 < _cheerios> http://p.caboo.se/private/zv2dxazdimxqg6dehujdvq 12:42 < RossC0> ah no mine are with the sample app 12:42 < RossC0> http://trac.agavi.org/browser/branches/ross-testing/samples/tests/app/modules/Default/functional/LoginTest.php 12:44 < RossC0> _cheerios: Same order as mine 12:45 < RossC0> and libs/agavi is in the path 12:45 -!- Wombert [n=Wombert@dslb-088-064-083-028.pools.arcor-ip.net] has joined #agavi 12:45 < RossC0> only diff is mine doesn't have any params 12:46 < _cheerios> i know. it makes no sense. i wonder if it has to do with HDD mounting settings? *shrug* Here's the full error: http://p.caboo.se/private/j2yiyqraad4ziapoftim1q 12:46 < _cheerios> probably won't be around if I reboot. Just messes up with devvin'. 12:47 < RossC0> _cheerios: try adding that class to your autoload.xml and see if that catches it 12:49 < _cheerios> the cache updates correctly, but it can't find it 12:49 < _cheerios> 'AgaviWebRequest' => '/code/fr/libs/agavi/request/AgaviWebRequest.class.php', 12:53 < RossC0> restart apache? 12:53 < Wombert> RossC0: new FPF feature is checked in 12:54 < RossC0> new features? 12:54 < Wombert> the params are "error_messages", "field_error_messages" and "multi_field_error_messages" 12:54 < Wombert> each a fallback for the following one 12:54 < Wombert> so you can put everything in just "error_messages" but then your xpath needs to check if you got a
    element or something else 12:54 < _cheerios> RossC0, ace. It was apache caching the filepaths. Fixed. 12:57 < RossC0> cool 12:57 < RossC0> Wombert: excellent - so no changes needed for my configs 12:57 < RossC0> now need to find a multi field error 13:00 < Wombert> RossC0: I recommend you set up field_error_messages as well 13:01 < shoan> _cheerios: are you using apc? 13:01 < Wombert> because if there is an error in the vm that has no corresponding element, because you set it by hand with zomg as name or so, it's gonna use the form as the context node when inserting that, and not an element 13:01 < _cheerios> shoan, yes 13:01 < RossC0> ok cool field_error_message 13:01 < Wombert> RossC0: do you have an equals validator 13:01 < RossC0> I ditched it 13:01 < Wombert> RossC0: yes but keep error_messages 13:01 < shoan> _cheerios: i faced similar probs with apc on 13:01 < Wombert> and mind you, field_error_messages 13:02 < shoan> each rebuild required a server restart 13:02 < Wombert> RossC0: to test that, "break" the xpath of field_error_messages 13:02 < Wombert> RossC0: do you have... mmmh... do you have a validator with more than one arg 13:02 < RossC0> ok Wombert - just got to fix this last Watir test and I'll look into 13:02 < Wombert> or a datetime validator with dropdowns 13:03 < RossC0> oww example? 13:03 < RossC0> could use that one 13:03 < RossC0> ;) 13:03 < Wombert> datetime? 13:03 < RossC0> Wombert: I'll update in an hour and report back then! 13:03 < RossC0> bbl 13:03 < Wombert> k 13:12 -!- shoan_ [n=shoan@122.166.1.164] has joined #agavi 13:12 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 13:28 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 13:29 -!- shoan_ [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 13:34 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Remote closed the connection] 13:37 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 13:39 < E_mE> i think ive just tasted the most disgusting coffee of all time 15:11 -!- MrJeep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:12 -!- _cheerios [i=jussiava@cs181073202.pp.htv.fi] has quit ["beep()"] 15:21 -!- _cheerios [n=jacklo@cs181066248.pp.htv.fi] has joined #agavi 15:31 < E_mE> how do i prevent the following error: -- The view "Default_LoginInputView" ddoes not implement an "ExecuteJson()" method to serve the output type "Json", and the base view "ProjectBaseView does not implement an "executeJson" method to handle the situation. -- 15:31 < E_mE> it appears that my session has ended and wont let me perform it due to me not being logged in... but how can i direct it to the login? 15:32 < RossC0> E_mE add handlers for LoginInputView 15:33 < E_mE> and automatically redirect to the normal method? 15:33 < Wombert> well you have to return something in the ajax an read that and then on the client show a login box or whatever 15:33 < Wombert> that stuff is why I hate ajax apps so much 15:33 < Wombert> you re(!)do half of the app logic on the client side 15:34 < RossC0> i.e. {'redirect': url} 15:34 < E_mE> ahhh okay.. ill copy that .. 15:35 < E_mE> thank you :) 15:36 < RossC0> then in your js if it fails / or returns redirect then redirect the page 15:36 < RossC0> bbl 15:36 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 15:54 * E_mE Hugs Agavi + JSON 15:55 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 15:57 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit] 16:26 < E_mE> bus time! bye 16:27 -!- E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection] 17:52 * Wombert pokes MikeSeth 17:52 < Wombert> you there? 18:03 < _cheerios> Wombert, did you watch Heroes S0201? Is S2 any good? 18:03 < Wombert> so far... not really 18:04 < Wombert> I think its starting slow 18:04 -!- E_mE [n=E_mE@82.152.207.176] has joined #agavi 18:04 < Wombert> should pick up momentum soon tho 18:04 < Wombert> prison break is much better :> 18:04 < E_mE> evening all 18:08 -!- JamieWolf [n=Miranda@dslb-084-059-108-184.pools.arcor-ip.net] has joined #agavi 18:12 -!- JamieWolf [n=Miranda@dslb-084-059-108-184.pools.arcor-ip.net] has quit [Client Quit] 18:17 -!- JanK_ [n=JanK_@80.143.168.86] has joined #agavi 18:17 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 18:19 < RossC0> what-o 18:33 < E_mE> evening RossC0 18:37 -!- JanK_ [n=JanK_@80.143.168.86] has quit [] 19:04 < _cheerios> days go by so quickly lately 19:07 < _cheerios> yesterday was friday, before that monday. now it is wednesday evening. 19:28 -!- vmakinen [i=vmakinen@kapsi.fi] has joined #agavi 19:28 -!- v-dogg [i=vmakinen@shell.daug.net] has quit ["leaving"] 19:28 -!- vmakinen is now known as v-dogg 19:43 < _cheerios> If you are a reader of TechCrunch, Read/WriteWeb, or ZDNet you may already know that there is a preview of the next version of del.icio.us. What you might not know is that the next version of Delicious is built with symfony. 19:44 < _cheerios> pretty big catch: http://www.symfony-project.com/blog/2007/10/02/delicious-preview-built-with-symfony 19:45 < _cheerios> RossC0, can we use delicious anymore knowing this? ;) 19:46 < RossC0> lol 20:04 < Wombert> _cheerios: rest assured 20:04 < Wombert> much cooler sites were and are built with Agavi 20:05 < _cheerios> but, but, that's like one of my favorite sites on the whole internet 20:05 < _cheerios> and, now, it's... tainted 20:07 < Wombert> write your own w/ agavi 20:07 < Wombert> shouldn't take more than a day :p 20:07 < Wombert> + doctrine... 20:07 < Wombert> piece of cake 20:14 * RossC0 looking forward to new del.icio.us 20:14 < RossC0> not sure about the symfony melarky - but theres deflected glory - they use so good bits of Agavi ;) 20:15 < RossC0> right night all 20:15 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi [] 20:23 < _cheerios> “When I worked at Microsoft I heard this over and over and over again from various engineers and program managers who STILL haven’t competed effectively with WordPress, Flickr, Skype, YouTube, or any of the other things over the years I’ve heard this “we can build that in a few weeks” kind of arrogant attitude attached to.” 20:49 < Wombert> _cheerios: but you would agree that there is a substantial difference in complexity between delicious and wordpress/flickr/skype/youtube 20:54 < _cheerios> without knowing skype at all, thus leaving it out of this, I don't see delicious being much less complex than say how Flickr was some years back. By now they've added so much cool javascript stuff, that it's hard to talk about their featureset without writing a Bible! Basic YouTube, complex? Not really. Wordpress? *shrug* I went blind looking at the code. 20:55 < Wombert> sure its complex 20:55 < Wombert> much more 20:55 < Wombert> youtube... channels 20:55 < Wombert> all them tags and the search 20:55 < Wombert> ratings 20:55 < Wombert> external players 20:55 < Wombert> content delivery 20:55 < Wombert> comments 20:55 < Wombert> user management 20:56 < _cheerios> Bleh. Lets talk about something more interesting. Silence was better. :) 21:12 < Wombert> yes 21:13 < Wombert> maybe this 21:13 < Wombert> I just realized I'm getting ill 21:13 < Wombert> :< 21:13 < Wombert> will have a big ass cold tomorrow 21:27 < CIA-11> david * r2107 /branches/0.11/src/filter/AgaviFormPopulationFilter.class.php: added missing phpdocs 21:41 < _cheerios> go to sleep then 21:49 < _cheerios> ^ can any self-respecting programmer follow such? ;) 21:57 -!- _cheerios [n=jacklo@cs181066248.pp.htv.fi] has quit ["sleep()"] 22:16 -!- Goleo[06] [i=arbi@82.99.247.242] has quit ["Leaving"] 22:23 * MikeSeth appears 22:32 < Wombert> hai 22:33 < Wombert> I'd like to implement something tomorrow that would get rid of the request lock barf thing 22:33 < Wombert> should work as far as I can tell 22:33 < Wombert> the idea is that the controller has a pointer to the global request data and thus can pass it to the container it creates 22:34 < Wombert> that would also mean (I think) that a container can run without external interference from a to z 22:34 < Wombert> and we need to figure sth out for http://trac.agavi.org/ticket/544 22:35 * Wombert pokes MikeSeth 23:02 * MikeSeth smacks Wombert 23:02 < MikeSeth> damn you to hell, what was I telling you to do all along?! 23:03 < MikeSeth> the whole request locking thing is wrong, it shouldnt be there 23:06 < MikeSeth> "I've just looked at the code and now I remember my original point S 23:06 < Wombert> no no 23:06 < Wombert> the request is still gonna be locked 23:06 < MikeSeth> yes 23:07 < Wombert> but you can create containers with the rd without it bar(k|f)ing at you 23:07 < Wombert> http://www.radaronline.com/exclusives/2007/02/natural-selection-1.php you'll love this 23:07 < MikeSeth> what I am trying to say is 23:08 < MikeSeth> the request should not be locked globally. it's inconsistent because some things (like the execution filter) need it to start an action 23:10 < Wombert> well 23:10 < Wombert> that would not be necessary anymore then 23:11 < MikeSeth> is there an actual reason to make the global request object globally available through the context? 23:12 < MikeSeth> besides, I can't agree that all actions need to be able to be created with the global request parameters. At least, I can't see the use case. 23:14 < Wombert> yes sure, the FPF needs it for instance 23:14 < Wombert> well 23:14 < MikeSeth> the FPF executes outside actions/views/models 23:14 < Wombert> that slot in the sidebar that reads a cookie... etc 23:15 < Wombert> yes, but it still needs the global rd 23:15 < Wombert> tat 23:15 < Wombert> that's why we lock it down otherwise ;) 23:15 < MikeSeth> the problem with locking is that you either flip the lock every time or leave it on for the most part.. running into stupid things like barf lock when you spawn your own actions 23:16 < MikeSeth> my gut tells me this is a problem with the architecture 23:16 < MikeSeth> something doesnt fit 23:18 < MikeSeth> if you copy the ref to the rd in the container, you're effectively going around the lock, aren't you? 23:20 < Wombert> nah, into the controller 23:21 < Wombert> its a private property 23:21 < Wombert> so people still cannot access it 23:21 < MikeSeth> so you allow the execution filter to create actions without tripping the lock? 23:21 < Wombert> it's an architectural problem yes 23:21 < Wombert> but not one we can solve 23:21 < Wombert> yes, well, yes 23:22 < Wombert> like this 23:22 < Wombert> controller initialize grabs a copy of the rd 23:22 < Wombert> actually, startup would 23:22 < MikeSeth> well then in principle, the problem is that some code should be able to access the global rd unconditionally 23:22 < MikeSeth> and some code shouldn't 23:22 < MikeSeth> and some should in some cases 23:22 < Wombert> then http://trac.agavi.org/browser/branches/0.11/src/controller/AgaviController.class.php#L129 23:22 < Wombert> we give the rd to the container 23:23 < Wombert> because right now the container grabs the rd from the request... 23:23 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/controller/AgaviExecutionContainer.class.php#L298 here 23:25 < Wombert> for v2 were gonna make it all different 23:25 < Wombert> no doubt 23:25 < Wombert> but for now, we gotta solve the problem as best as we cfan 23:25 < Wombert> can 23:26 < Wombert> I think we could then lock down the request in the dispatch filter 23:26 < Wombert> and unlock it afterwards 23:33 < MikeSeth> I think I need to meditate on this. It should be possible to solve this without breaking existing code but eliminating the logical inconsistency 23:33 < MikeSeth> by the way 23:33 < MikeSeth> can validators validate files and cookies as well? 23:34 < MikeSeth> uploaded files I mean 23:36 < Wombert> yes 23:36 < Wombert> everything is safe to use 23:36 < Wombert> even http headers 23:37 < Wombert> if you want to read them, you need to validate them 23:37 < Wombert> that's why I am so anal about this request lock. it really provides good safety 23:37 < Wombert> not like some other frameworks... sfXssFilter and stuff 23:37 < MikeSeth> I swear to dog, I can feel the solution on the tip of my tongue but I can't reach it 23:38 < MikeSeth> you know what David? 23:38 < MikeSeth> tainting 23:38 < MikeSeth> mandatory validation 23:39 < MikeSeth> unless you validate specific request data item, you can't access it 23:39 < MikeSeth> no more locks, no more hacks 23:42 < Wombert> err 23:42 < Wombert> that's what we have right now ;) 23:43 < Wombert> but we still need the original, unvalidated data 23:43 < Wombert> for the FPF, for instance 23:44 < MikeSeth> huh? mandatory validation? I ca access unvalidate $rd items in any action 23:44 < MikeSeth> can* 23:44 < MikeSeth> unvalidated* 23:44 < Wombert> yes because we have three modes 23:45 < Wombert> one where you can always access all data 23:45 < Wombert> one where you can only access data if no validators exist (intended for development) 23:45 < Wombert> and the mode where you have to validate everything 23:45 < MikeSeth> someone should document this then :D 23:48 < MikeSeth> I need to meditate on this. 23:49 < MikeSeth> it's really a great puzzle --- Day changed Thu Oct 04 2007 00:02 < Wombert> hmm 00:02 < Wombert> well I think this rd/lock thing is relatively clear now 00:02 < Wombert> quesiton is 00:02 < Wombert> when do we validate now? 00:02 < Wombert> isSimple() must be called very early in the game 00:03 < Wombert> no chance we can validate by then 00:03 < Wombert> I want under all circumstances avoid that unsafe rd is available in action or view initialize methods 00:03 < Wombert> no problem either BUT 00:03 < Wombert> what if someone... needs it... there... 00:03 < Wombert> view... easy, validation has run then 00:03 < Wombert> we just need to lock 00:04 < Wombert> in case of action... maybe someone needs the data to determine the isSecure or getCredentials status 00:04 < Wombert> so should we move validation to happen earlier 00:04 < Wombert> i.e. before the security filter? 00:05 < MikeSeth> isSimple always seemed a bad idea to me 00:06 < MikeSeth> anyhow I just thought about this a little bit 00:06 < MikeSeth> the access is zoned distinctly into two types 00:06 < MikeSeth> actions and views, which should only be able to access validated parts of the rd 00:06 < MikeSeth> and everything else that should be able to access the unfiltered global request 00:07 < MikeSeth> in other words, if it has a validator associated, then asking for unvalidated item is a violation 00:07 < MikeSeth> in FPF however, there's no validator associated with the filter itself 00:08 < MikeSeth> and models, methinks, should not be able to get access to rd at all 00:08 < MikeSeth> conclusion: deglobalize the raw rd 00:09 < MikeSeth> actions and views should work with a proxy object formed after the validation 00:09 < MikeSeth> everything else is a special case. Alll code that isnt processing the rd directly should request an unsafe copy explicitly 00:10 < MikeSeth> maybe with a really long lanme function to deter people from using it casually 00:11 < MikeSeth> name* 00:12 < MikeSeth> by the way in simple actions validation and action execution is skipped, isnt it? 00:12 < MikeSeth> that implies a simple action should never access rd in first place 00:13 < Wombert> which is the case 00:14 < MikeSeth> by the way, arent isSecure(), getCredentials() etc supposed to be nonvolatile? 00:14 < MikeSeth> if thats the case, order of calling does not matter 00:15 < MikeSeth> if that isnt.. then it should be 00:15 < MikeSeth> this whole problem will go away if you stop thinking about it in terms of the global request object and its lock 00:16 < MikeSeth> any code inside actions and views should access a local copy - perhaps a proxy object that grants/denies access according to the validation rules, executing validators on the fly if necessary 00:16 < Wombert> yes 00:17 < Wombert> well that's all the case already 00:17 < Wombert> you mean 00:17 < Wombert> if they are supposed to be deterministic? 00:18 < MikeSeth> theyre always deterministic, unless you use a random number to decide their output 00:18 < MikeSeth> I meant that their output is independent of any other conditions 00:18 < MikeSeth> that is nonvolatile 00:20 < Wombert> ah well okay I guess that depends on what you take as "input" for those methods 00:21 < Wombert> I'd have used the arguments alone, which they don't have ;) 00:21 < Wombert> anyway, no 00:21 < Wombert> maybe you need to pull the credentials necessary to view an element from the database 00:22 < Wombert> or from 2am to 3am, the action is not secure 00:22 < Wombert> or or or or 00:22 < Wombert> :) 00:22 < MikeSeth> in such case, partial validation is needed 00:22 < Wombert> question is... does it hurt if 00:23 < Wombert> a) we move validation further up, so it is performed BEFORE the security filter runs 00:23 < Wombert> b) filters cannot access the global rd anymore 00:23 < MikeSeth> yes, validation is expensive and should not be performed until execute() 00:23 < MikeSeth> filters SHOULD be able to access the global rd 00:24 < MikeSeth> we're talking specifically about actions and views 00:24 < Wombert> but then you cannot use any request data to decide if an action is secure 00:24 < Wombert> well I'd just cover the entire execution flow of a container under the lock 00:24 < MikeSeth> you can if you have partial validation on the fly :) 00:25 < Wombert> partial... what... zomg! 00:25 < MikeSeth> well 00:25 < MikeSeth> basically 00:25 < MikeSeth> there is an illusion that the validation is needed in one case 00:25 < MikeSeth> but in fact it satisfied two different conditions 00:25 < MikeSeth> a) that action is never executed if any of its validators fail 00:26 < MikeSeth> b) that request parameters which werent validated successfully are not accessed by the application programmer 00:26 < MikeSeth> current implementation only solves a, and not b 00:26 < MikeSeth> at least if I ignore what you said about multiple access modes 00:27 < Wombert> it does solve b 00:27 < Wombert> that was one of the primary motivations of the new validaiton system 00:27 < Wombert> and in fact, its the sole reason why the request lock exists 00:27 < MikeSeth> but the request lock does NOT solve this problem 00:27 < MikeSeth> it merely impedes it 00:27 < Wombert> yes 00:28 < Wombert> I really appreciate your effort BUT 00:28 < Wombert> we cannot solve the problem now 00:28 < Wombert> we need to work around it 00:28 < Wombert> I just want to make it a little nicer and a little more consistent and a little safer and all without breaking BC 00:28 < MikeSeth> the proper solution would necessarily involve deglobalization of the request 00:28 * Wombert hugs MikeSeth 00:29 < Wombert> yes, but we cannot do that for 0.11 or 1.x 00:29 < MikeSeth> ...unless you use reflection to figure out who's calling $context->getRequest() :D 00:29 < MikeSeth> too ugly. 00:30 < MikeSeth> hmmm 00:30 < MikeSeth> we could work around it without breaking shit up! 00:30 < Wombert> why do action filters need unvalidated data 00:32 < MikeSeth> I think they do 00:32 < Wombert> for? 00:32 < MikeSeth> I can foresee a scenario in which an action filter relies on request data - perhaps even to preserver state 00:33 < MikeSeth> though.. with output types in mind, one has to be very specific about what are action filters supposed to do in first place 00:34 < MikeSeth> for instance, if I inject banners in an action filter, I better be able to look at the user's HTTP headers 00:34 < MikeSeth> how about this 00:34 < MikeSeth> the global request object receives an ability to limit access by a list of validation rules 00:35 < MikeSeth> it has one current list, and a stack of such lists 00:35 < MikeSeth> when the execution filter initializes an action, it pushes th its validators to the request object's stack, making the current list active 00:36 < MikeSeth> the request object verifies, in case there's an active validation list, that all access to the data is subject to validators 00:36 < MikeSeth> when the action ends, the execution filter tells the request object to pop the validators 00:36 < Wombert> uuuuuuuuh 00:37 < MikeSeth> you break zero code, kill the lock, and the request object spits at you if you are inside an action trying to read something that wasnt validated 00:37 < MikeSeth> its exactly the same as barf lock, but inverse and moved to the request object itself :) 00:38 < MikeSeth> this is WAY better than flipping the locks, satisfies both conditions and requires no new data, only new code 00:39 < MikeSeth> plus im always afraid that something will go wrong and the lock would be flipped twice when it shouldnt, causing chaos 00:41 < MikeSeth> man this makes sense 00:41 < MikeSeth> the request object should be enforcing data integrity 00:42 < MikeSeth> http://trac.agavi.org/ticket/544 00:42 < MikeSeth> this is terrible! even MORE special conditions for lowering or raising the lock 00:44 * MikeSeth pokes Wombert 00:44 < MikeSeth> did I cause a race condition in your head? :( 00:46 < Wombert> its just not feasible, MikeSeth 00:46 < Wombert> we cannot do this change now 00:47 < MikeSeth> Actually I think we can. Userland code should not break at all. 00:51 < Wombert> sure? 00:51 < Wombert> peoples validators? 00:52 < MikeSeth> well yeah 00:52 < MikeSeth> from the outside everything would stay the same 00:52 < MikeSeth> on the inside there would be some changes 00:52 < MikeSeth> first, the execution filter pushes and pops the action's validators into rd before/after the action respectively 00:53 < Wombert> which is ugly... we moved away from that stack nonsense because it is eeeeevil 00:53 < Wombert> but carry on 00:54 < MikeSeth> second, the request object itself validates access to the request data according to the currently active set of validation rules 00:54 < MikeSeth> the validation data is shared between the request object and the action's execution filter/container 00:55 < MikeSeth> so if the action tries to do something with the request data before the validators were fully ran, the request object should be able to run them partially and determine whether access is allowed 00:55 < MikeSeth> however, when the main execution stage begins and all validators are verified, the request object knows about it and doesnt perform validation again 00:56 < MikeSeth> this way the edge conditions for all validators or just some specific ones at different stages of execution don't collide; and objects requested with $context->getRequest() would still enforce the current restrictions 00:57 < MikeSeth> I also think that the stack system for rules is safe here because actions and views are the bottom of the execution chain; I cant think of anything an action does that would require it to undo the current validation rules imposed on the request object 00:58 < Wombert> what if I run an aciton inside an action 00:58 < Wombert> boom 00:58 < MikeSeth> no 00:58 < MikeSeth> the execution filter pushes a new set of validators on the stack 00:58 < MikeSeth> action ends 00:58 < MikeSeth> rules are popped 00:58 < Wombert> ewww 00:59 < MikeSeth> you're back in the parent actions with your own validators 00:59 < MikeSeth> either that, or deglobalize the request and work on proxy objects.. 01:01 < MikeSeth> of course things would crash if for some reason an action/view code dives into Agavi code somewhere and Agavi code tries to read the global request while the action's rules are still on 01:01 < MikeSeth> ...or Context's getRequest() could blatantly lie and return a proxy object depending on whether the call was from userland or not 01:03 < MikeSeth> either way the point is 01:03 < MikeSeth> actions/views should not be able to access the global object directly 01:03 < MikeSeth> only a safe copy should be available 01:07 < Wombert> -> teh lock :> 01:08 < MikeSeth> well thats where the problem is 01:08 < MikeSeth> the lock is killing off the entire request object 01:08 < MikeSeth> but in this prolem's context, there's no request object, just individual request items 01:09 < MikeSeth> because of that, it is impossible to create a container when the object is locked, so then there's the barf lock 01:09 < Wombert> yes but my upcoming change is gonna fix that 01:10 < MikeSeth> yep, but it is still a fix 01:10 < MikeSeth> not a cardinal elimination of the problem 01:11 < MikeSeth> the lock would still cover the wrong parts and cause trouble in other places 01:15 < MikeSeth> by the way 01:15 < MikeSeth> Deep Forest = kickass dev. music 01:16 < Wombert> http://agileweb.org/post/13296224 01:19 < MikeSeth> ahaha awesome 01:27 < Wombert> mh 01:27 < Wombert> really need to hit the sack now 01:27 < Wombert> I'm really stupid for staying up so long 01:27 < Wombert> especially as I'm actually getting ill and I wanted to go to bed early to avoid that as much as I can :p 01:27 < Wombert> lets continue this tomorrow, MikeSeth 01:28 < Wombert> http://blog.bitxtender.com/ now tumbling btw 01:28 < Wombert> bai 01:28 * Wombert hugs MikeSeth 01:29 < MikeSeth> <3 01:29 < MikeSeth> feel well 01:29 < MikeSeth> gg 01:29 -!- Wombert [n=Wombert@dslb-088-064-083-028.pools.arcor-ip.net] has quit [] 01:48 -!- eremit_ [n=eremit@84.144.206.240] has joined #agavi 01:57 -!- eremit [n=eremit@p5490D076.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 02:57 -!- shoan [n=shoan@59.92.135.234] has joined #agavi 05:18 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:54 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 06:00 -!- _cheerios [i=jussiava@cs181073202.pp.htv.fi] has joined #agavi 06:00 < _cheerios> huomenta 06:03 -!- shoan [n=shoan@59.92.135.234] has quit [] 06:12 < v-dogg> huomenta 06:32 -!- Arme[N] is now known as Arme[0] 06:59 -!- Whisller [n=mail@194.110.240.145] has joined #agavi 06:59 < Whisller> jo :) 07:08 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 07:12 < E_mE> huomenta!! im off t o work :) 07:12 -!- E_mE [n=E_mE@82.152.207.176] has quit [Remote closed the connection] 07:16 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Read error: 104 (Connection reset by peer)] 07:23 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 07:28 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 07:28 < RossC0> huomenta! 07:58 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 08:07 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 08:23 -!- E_mE [n=E_mE@81.168.18.2] has joined #agavi 08:24 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Remote closed the connection] 08:25 < E_mE> huomenta! 08:30 < RossC0> huomenta 08:33 < E_mE> RossC0:very interesting RSS feeds... i had a little fiddle around this morning... 08:35 < _cheerios> Definitions of fiddle on the Web: 08:35 < _cheerios> * avoid (one's assigned duties); "The derelict soldier shirked his duties" 08:35 < _cheerios> * commit fraud and steal from one's employer; "We found out that she had been fiddling for years" 08:35 < _cheerios> * play the violin or fiddle 08:36 < _cheerios> Doctrine pains me. They moves a method from table to collection and I get no response now. :| 08:37 < RossC0> E_mE: no worries - it'll keep your eye on the game 08:45 < E_mE> is there a way of deactiaving FPF on actions/views? 08:48 < _cheerios> before $table->getPrimaryKeys(), now it's new Collection($table)->getPrimaryKeys(), which returns zip. *grr* 08:51 -!- sean` [n=Sean@upeohilversum.speedxs.nl] has joined #agavi 08:53 -!- shoan [n=shoan@122.166.1.164] has quit [] 08:58 < v-dogg> E_mE: $req->setAttribute('populate', false, 'org.agavi.filter.FormPopulationFilter'); 08:59 < E_mE> thanx v-dogg 09:00 < E_mE> im getting exceptions saying tha bull and copy are not defined 09:00 < v-dogg> and if you use strict MVC separation you'll do that in the view 09:00 < E_mE> is this the case where i need to use numbers instead of words? like &123; 09:01 < v-dogg> yup 09:01 < v-dogg> or utf-8 09:01 < E_mE> or can i define it somewhere? 09:01 < E_mE> how do i declare utf-8? 09:02 < v-dogg> make all your data (php files and db data utf-8) and send correct headers and http meta 09:03 < E_mE> are there tools to do this? 09:03 < v-dogg> yes but I don't know anything about them 09:07 -!- epaulin_ [n=epaulin@218.19.216.91] has joined #agavi 09:17 < E_mE> what does line 2: Start Tag expected, "<" not found mean??? 09:17 < v-dogg> means your html is invalid :) 09:18 < _cheerios> #html 09:18 < RossC0> E_mE: turn off FPF and then Validate the Source - in FF its ctrl+A 09:20 < E_mE> thats select all RossC0 hehe 09:20 < E_mE> you mean copy it to w3c validator 09:20 < RossC0> ctrl+shift+A 09:21 < RossC0> :-[ 09:21 < E_mE> do you have a particular tool installed? 09:22 < E_mE> the web developer one im thinking 09:27 -!- epaulin__ [n=epaulin@219.137.168.101] has quit [Read error: 110 (Connection timed out)] 09:27 < E_mE> one bastard
    tag was messing it up :S 09:30 < E_mE> still getting the error with FPF though 09:32 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 10:26 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 10:39 < v-dogg> http://trac.agavi.org/ticket/579 10:43 < RossC0> v-dogg: so what is the default value for: $userParameters['test'] in the callback? 10:45 < RossC0> or does: $this->context->getRouting()->gen('test'); work without the isset in the callback and test is not set? 10:51 < v-dogg> $this->context->getRouting()->gen('test'); always generates /foo (no optional params) 10:51 < v-dogg> even when the cb only does $userParameters['test'] = 'automatic'; 10:52 < v-dogg> but $this->context->getRouting()->gen('test', array('test'=>'manual')); generates /automatic/foo if the cb sets the parameter (isset test ignored) 10:55 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 11:03 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 11:27 < v-dogg> uh.. reading routing::gen() source is not easy :) 11:28 < v-dogg> I found the problem but I have no idea how to fix it 11:28 < v-dogg> kaooooos! 11:31 < E_mE> i got a resoultion to the problem i was having with the FPF 11:31 < E_mE> using &bull; instead of • 11:32 < v-dogg> woot? 11:32 < E_mE> doing &bull; has stopped allowed it to work 11:32 < v-dogg> if that works (a bullet char is shown in your browser) your browser is acting silly 11:33 < E_mE> v-dogg: why do you have to be so right =P 11:33 < E_mE> it now says © 11:33 < v-dogg> like it should :) 11:34 * E_mE smashes head agaisnt the wall 11:35 < v-dogg> there are two fpf config parameters (false and true) but I'm not going to tell you about them because they might have unwanted side-effects 11:36 < v-dogg> I just fixed my routing callback issue. wonder what I broke at the same time :) 11:40 < E_mE> nah i dont want to stop FPF from behaving properly ;) 11:41 < v-dogg> then utf-8 is the easiest way 11:42 < v-dogg> what do you use now? some latin/iso8859 variant ? 11:44 < _cheerios> New study says one should sleep 6,5-8,5hrs/day (no less, no more) to not cut one's odds to die by 25% compared to those whom sleep proper. 11:51 -!- Wombert [n=Wombert@dslb-084-056-014-172.pools.arcor-ip.net] has joined #agavi 11:52 < Wombert> friggen frigg 11:52 < Wombert> just a little ill but 11:52 < Wombert> BIG ASS HEADACHE 11:52 < Wombert> BOOOOOH 11:52 < Wombert> I HATE IT 11:53 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 12:02 -!- sean`` [n=Sean@upeohilversum.speedxs.nl] has joined #agavi 12:03 -!- sean`` [n=Sean@upeohilversum.speedxs.nl] has quit [Client Quit] 12:18 < v-dogg> buhuuu..... I didn't fix the problem 12:18 * v-dogg sobs 12:18 < v-dogg> I just broke it even more 12:19 -!- sean` [n=Sean@upeohilversum.speedxs.nl] has quit [Read error: 110 (Connection timed out)] 12:20 < _cheerios> :D 12:30 < Wombert> E_mE: don't use entities 12:30 < Wombert> I hope you are using UTF-8 12:30 < Wombert> then you can just insert literal copyright and bullet characters into your code 12:31 < Wombert> alternatively, use numeric entity codes 12:31 < Wombert> © etc are only defined in HTML, not in XML, so to know what © means, FPF would need to load the HTML DTD and validate the document against it, which is slow 12:31 -!- Chonsu [n=martin@87.79.35.58] has joined #agavi 12:33 < Wombert> who of you guys has the time to test a patch for me 12:33 < Wombert> it changes the way the request data is given to a container 12:34 < Wombert> there should not be any side effects for anyone, but still... 12:34 < Wombert> I made some stuff protected and some stuff private and some stuff final in the process 12:38 < v-dogg> oh, feck. 12:39 < v-dogg> I can't add normal get params in the callback 12:39 < Wombert> http://pastie.caboo.se/103655 12:40 < E_mE> if i want to create an output type that can be a image/jpg or image/png how would i go about this... im creating a action/view which will display the image a user has uploaded 12:40 < Wombert> pokes v-dogg RossC0 MikeSeth MrJeep 12:40 < E_mE> or will i need to test for image format and return the required format? 12:40 < Wombert> does any of you guys have a custom request implementation 12:40 < Wombert> where you fiddle with request data 12:41 < RossC0> Wombert: would do but have meeting at 2 12:41 < Wombert> kay 12:43 < E_mE> or do i need to setup the output_type in the action? 12:43 < Wombert> E_mE: no 12:44 < Wombert> in the routing rule, use output_type="asdksad" 12:44 < E_mE> but what i the image is varied? 12:44 < E_mE> a jpg or png could be uploaded 12:44 < Wombert> well the file has an extension right? :p 12:45 < E_mE> ah yes... of course.. i could do a regex in the routing :D 12:45 < Wombert> 12:45 < Wombert> WUAHAHAHAH 12:45 * Wombert hugs Agavi 12:46 < E_mE> what did you mean by don't use entities earlier 12:46 < E_mE> :o Wombert you master 12:46 < Wombert> don't use © 12:46 < Wombert> use the literal copyright character 12:46 < Wombert> or use the numeric form 12:46 < Wombert>   instead of & for example 12:46 < E_mE> ive converted to numeric version now :) 12:46 < Wombert> k 12:48 < v-dogg> 160 is nbsp 12:48 < E_mE> Wombert: i can put all the executePng() executeJpg() into my one TempImageImageView.class.php ?? 12:48 < Wombert> yes of course 12:48 < Wombert> but mind you 12:48 < Wombert> v-dogg: right, sorry 12:49 < Wombert> I think an output type "image" would do just fine as well 12:49 < Wombert> and then you set the content type header by hand 12:49 < Wombert> after all, your likely doing the same sutff for all images 12:49 < Wombert> you guys all saw http://agileweb.org/post/13296224 right? 12:53 -!- MrJeep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 12:53 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 12:54 < _cheerios> *g* 13:08 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"] 13:31 < MikeSeth> nomnomnom 13:40 < Wombert> haha MikeSeth 13:40 < Wombert> BUKKIT 13:40 < Wombert> :( 13:40 < Wombert> I finally figured out why the images inthe store don't load 13:40 < Wombert> now that that is sorted 13:40 < Wombert> I think I'll buy at least one WOOT poster 13:41 < E_mE> heheeh thats great 13:43 < Wombert> but I'd much prefer a NOMNOMNOM mug :( 13:46 < MikeSeth> there is a mug? 13:47 < Wombert> http://www.cafepress.com/goopymart/2060886 13:47 < Wombert> if the images dontload 13:47 < Wombert> open one of them and accept the cert 13:48 < MikeSeth> theres no nomnomnom mug :( 13:48 < Wombert> yeah :( 13:48 < Wombert> but three new imgages 13:48 < Wombert> zomg 13:48 < Wombert> you saw them right 13:48 < MikeSeth> yep 13:48 < Wombert> I even blogz0red them! http://blog.bitxtender.com/post/14097755 13:48 < Wombert> oh 13:48 < Wombert> okay :> 13:49 < MikeSeth> isnt this the same blpog engine as Ross uses? 13:49 < Wombert> it is 13:49 < Wombert> it's hosted 13:49 < Wombert> www.tumblr.com 13:49 < Wombert> start your own! 13:49 < Wombert> :) 13:49 < Wombert> you can even point your own domain to it 13:50 < Wombert> so ace 13:50 < MikeSeth> blog.mikeseth.com :D 13:50 < Wombert> basecamp haven't been able to do that in... three? years 13:50 < Wombert> but then, they don't use agavi :p 13:51 < Wombert> is that wordpress? 13:51 < Wombert> it looks appaling :/ 13:51 < Wombert> it it haz index.php in teh url zomg! 13:51 < Wombert> :>> 14:03 < Wombert> MikeSeth: akdfhjaSF 14:03 < Wombert> can you try http://pastie.caboo.se/103655 plz kthxbai 14:09 < MikeSeth> sec plz 14:09 < MikeSeth> way away with phriends 14:10 < MikeSeth> wait 14:11 < MikeSeth> $context->getRequest()->getRequestData() returns a *clone* of the globla rd, right?! 14:11 < Wombert> no 14:11 < Wombert> it returns teh global rd 14:11 < Wombert> the containers each have a clone 14:11 < Wombert> oh wait xD 14:11 < Wombert> haha 14:12 < MikeSeth> if you return clones, then filters etc wont be able to communicate through the request cuz they'd be writing into a private copy of rd 14:12 < Wombert> http://pastie.caboo.se/103701 14:13 < Wombert> you communicate via attributes on the request 14:13 < Wombert> we're talking about the request's request data holder object 14:13 < Wombert> only that is locked and stuff 14:14 < MikeSeth> aha 14:14 < Wombert> the patch does not change the behavior, it only changes the way the containers get the global request data holder, and eliminates the request lock exception when you try to access global data 14:14 < Wombert> err... when you create a new container and execute it in your code 14:14 < Wombert> right now, there also is no exception anymore when the request is locked; it always returns an empty RDH in that case 14:15 < MikeSeth> oh so basically you're just screening the requestData oject itself, not its parent request object? 14:16 < Wombert> yes 14:16 < Wombert> always been like that 14:18 < Wombert> I think... mmh 14:18 < Wombert> we should throw the exception 14:18 < Wombert> since now the only case where Request::getRequestData() is called is in userland code 14:18 < Wombert> and userland code can simply try{} 14:18 < Wombert> should there really be the case where you need to try to call it 14:18 < Wombert> which I cannot imagine 14:18 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 104 (Connection reset by peer)] 14:18 < Wombert> and it gives users that certain guidance again 14:19 < MikeSeth> in Actions/Views/Models, no. 14:19 < MikeSeth> there should be no reason for them whatsoever to touch the global request. If such kind of funcitonality is required it must be done in filters 14:20 < MikeSeth> though isnt that a little bit harsh.. 14:21 < Wombert> if you ask me, the dispatch filter should lock down the request and unlock afterwards 14:21 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)] 14:24 < MikeSeth> this proves to be an interesting trip 14:24 < MikeSeth> I want to read more source code, bb 14:27 < MikeSeth> http://trac.agavi.org/browser/branches/0.11/src/filter/AgaviDispatchFilter.class.php#L18 14:27 < MikeSeth> wrong comment crept in, left over from a template 14:27 < Wombert> http://pastie.caboo.se/103710 new patch 14:28 < E_mE> ajax is a fecking arse to debug when uploading images!!! 14:29 < MikeSeth> E_mE: you're welcome! 14:29 < MikeSeth> Wombert: point by point 14:30 < E_mE> The View "foodandherbs_UploadImageInputView" does not implement an "executeJson()" 14:30 < E_mE> ; method to serve the Output Type "json", and the base View "ProjectBaseView" does 14:30 < E_mE> not implement an "executeJson()" method to handle this situation 14:30 < MikeSeth> Controller gets an instance of the global request - OK 14:30 < E_mE> i keep getting that, but im not calling Input 14:30 < Wombert> a pointer, yes, MikeSeth 14:30 < E_mE> im calling Json on the return 14:31 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 14:31 < v-dogg> E_mE: I'm guessing you only have executeWrite defined and your request is GET 14:31 < MikeSeth> Wombert: uhhh I cant read it as a patch.. need to read more source code 14:32 < MikeSeth> E_mE: on the return of what? 14:32 < v-dogg> E_mE: you return 'Json' from the action? 14:32 < E_mE> its a POST request 14:33 < E_mE> yes v-dogg 14:33 < MikeSeth> E_mE: post => executeWrite() 14:33 < E_mE> ill pastebin 14:34 < E_mE> http://www.pastebin.ca/725542 14:34 < MikeSeth> Wombert: 14:34 < MikeSeth> - public function initialize(AgaviContext $context, array $parameters = array()) 14:34 < MikeSeth> + public function initialize(AgaviContext $context, AgaviRequestDataHolder $rd, array $parameters = array()) 14:34 < MikeSeth> in ExecutionContainer 14:34 < MikeSeth> wouldn't that break existing code? 14:35 * MikeSeth smacks E_mE 14:35 < MikeSeth> you're missing the point! 14:35 * MikeSeth hugs E_mE 14:36 < MikeSeth> E_mE: what you return from the action's execute*() method is the name of the view that should be called 14:36 < E_mE> yes im aware of that 14:36 < MikeSeth> And you have a view named Json? 14:36 < E_mE> but it keeps trying to get uploadImageInputView 14:36 < E_mE> yes 14:36 < MikeSeth> but json should only be an output type 14:37 < MikeSeth> you implement it as executeJson() method in the view 14:37 < E_mE> its weird because i do get json responses but i also get that error 14:37 < v-dogg> E_mE: and you are _sure_ it is a POST request? 14:37 < v-dogg> I bet it isn't 14:37 < E_mE> public function executeJson(AgaviRequestDataHolder $rd) 14:37 < E_mE> { 14:37 < E_mE> $imageName = $this->getAttribute('imageName'); 14:37 < E_mE> 14:37 < E_mE> $this->getContainer()->getResponse()->setContent(json_encode($imageName)); 14:37 < E_mE> } 14:37 < Wombert> do you have custom execution containers, MikeSeth? :p 14:37 < E_mE> ill pastebin v-dogg 14:38 < Wombert> but yes, I'd move that to a separate method 14:38 < Wombert> i.e. setRequestData() 14:38 < MikeSeth> Wombert: no, but I use them in some cases. I encapsulate my graph generation actions with it 14:38 < Wombert> MikeSeth: and you are not doing $controller->createExcecutionContainer() ???? 14:38 < Wombert> zomg! 14:38 * Wombert smacks MikeSeth 14:38 < E_mE> http://www.pastebin.ca/725547 14:38 < MikeSeth> Wombert: I know I do 14:38 < MikeSeth> Wombert: heh 14:38 * MikeSeth hugs Wombert 14:39 < E_mE> ah lots of love around... *hugs all* 14:39 < MikeSeth> E_mE: OUCH MY EYES 14:39 < MikeSeth> javascript :< 14:39 < MikeSeth> E_mE: again, why do you have a UploadImageJsonView? 14:39 < E_mE> yes 14:39 < v-dogg> E_mE: just to humor me, put "throw new Exception('I SAID POST!')" in to your executeRead() 14:40 < E_mE> ok 14:40 < MikeSeth> v-dogg: it's funny how we are looking at two radically different aspects of the same code 14:40 < MikeSeth> you're debugging it in your mind, and I am trying to make sure there's no architectural problem 14:41 < v-dogg> there is, but first we have to figure out why it keeps calling the Input view :) 14:42 < v-dogg> and this happens to mee all the time: I forget to define executeRead and the default view (Input) is called 14:42 < MikeSeth> I think I've just learned something new 14:42 < E_mE> whats disturbing is im getting json response as well as a response with an error 14:43 < MikeSeth> E_mE: it's probably an output leak from somewhere 14:43 < MikeSeth> E_mE: either way uncomment executeRead() and make sure 14:44 < v-dogg> does your javascript make two requests? 14:44 < E_mE> v-dogg: your are right there is a executeRead() as well.. 14:44 < Wombert> MikeSeth: whats that 14:44 < v-dogg> I'm not going to even try to understand your Yahoo code :) 14:44 < MikeSeth> Wombert: whats what? 14:44 < Wombert> what you laerned 14:44 < v-dogg> E_mE: cool, I like being right 14:45 < MikeSeth> Wombert: that working on other people's code, debugging may proceed in two directions. It's very obvious; but when you work on your own code, you only debug towards technical problems with the code, without easily assuming that your code has architectural problems 14:46 < E_mE> v-dogg: still doesnt answer my executeWrite() is also firing 14:46 < MikeSeth> E_mE: both are called on the same request? 14:46 < MikeSeth> E_mE: does your javascript make two requests? 14:47 < E_mE> MikeSeth: no... it only has YAHOO.util.Connect.asyncRequest('POST', '/foodherbs/upload/', uploadHandler); 14:47 < MikeSeth> E_mE: open firebug and *CHECK* 14:48 < Wombert> NOOOOOO 14:48 < Wombert> trailing slashes are evil 14:48 < Wombert> remember that 14:48 < Wombert> always 14:48 -!- shoan [n=shoan@122.166.1.164] has quit [] 14:48 < E_mE> ok 14:49 -!- shoan [n=shoan@122.166.1.164] has joined #agavi 14:49 < MikeSeth> Wombert: apache only makes it worse.. 14:51 < MikeSeth> Wombert: I'll try this patch in the evening. Wanna see if it breaks 14:51 < v-dogg> Wombert: you saw my tickety wickety? 14:51 < Wombert> v-dogg: no sire 14:52 < v-dogg> http://trac.agavi.org/ticket/579 14:52 < Wombert> what's the value of the param there 14:52 < Wombert> maybe it is set after all? 14:52 < Wombert> I think it has a pre and a postfix too, aye? 14:53 < Wombert> mh 14:53 < Wombert> this headache is not going away anytime soon 14:53 < Wombert> so... 14:53 < Wombert> office => 14:54 < Wombert> bbiab 14:54 -!- Wombert [n=Wombert@dslb-084-056-014-172.pools.arcor-ip.net] has quit [] 14:59 < E_mE> ggrrrr the file is getting uploaded... so the damn POST is happening! 15:01 < E_mE> sorry... just inbit of stress... i will figure this little shit out 15:04 < v-dogg> firebug can maybe help you sort out what triggers the READ request 15:05 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:05 < E_mE> ive been using firebug all this time :) 15:05 < E_mE> thats how i know that im getting an exception reponse and json response 15:06 < E_mE> because it keeps asking me to save the json data onto my disk and then the response in firebug is full of agavi exception xhtml 15:08 -!- shoan [n=shoan@122.166.1.164] has quit [Read error: 110 (Connection timed out)] 15:09 < RossC0> E_mE: what you doing? 15:11 < E_mE> i found the error, my form has an action="/foo/upload" and an ajax request for /foo/upload is also happening :) 15:11 < E_mE> RossC0: im using YUI to upload an image 15:11 < E_mE> and it keeps doing two requests 15:13 < MikeSeth> u 15:13 < RossC0> E_mE: you need to stop the form submit and just do the Ajax. 15:13 < RossC0> But can you upload a file with YUI? 15:14 < E_mE> http://thecodecentral.com/2007/09/04/asynchronous-file-upload-yuis-approach 15:15 < RossC0> ok is it submitting the form and doing the ajax? 15:15 < E_mE> im not 100% sure 15:16 < E_mE> i'm alittle clouded at the moment.. to much real coffee i think 15:20 < E_mE> maybe i need an updated version of YUI 15:21 < RossC0> your input is a button right? 15:21 < RossC0> not a submit? 15:21 < E_mE> 15:21 < E_mE> 15:21 < E_mE>
    15:21 < E_mE> 15:21 < E_mE>
15:22 < RossC0> a yes would have sufficed 15:23 < RossC0> E_mE: i found the error, my form has an action="/foo/upload" and an ajax request for /foo/upload is also happening 15:23 < RossC0> is the page changing? 15:23 < RossC0> i.e is the form submitting outside AJAX Requests? 15:25 < E_mE> i believe so 15:25 < E_mE> but when i look at XHR in firebug it says there are no requests 15:26 < E_mE> but i'm recieve JSON data 15:26 < E_mE> and also getting a responce from executeRead() 15:26 < E_mE> executeWrite() is returning the JSON 15:31 < RossC0> E_mE: where are you getting the response? 15:31 < RossC0> in firebug or in ze browser? 15:32 -!- eremit_ is now known as eremit 15:32 < E_mE> both 15:32 < RossC0> zomg 15:32 < RossC0> ok can you stop the submit event in js 15:32 < E_mE> its asking me to save the JSON data to disk 15:32 < RossC0> bingo 15:32 < RossC0> well ignore that 15:33 < E_mE> ok :) 15:37 -!- JanK_ [n=JanK_@muedsl-82-207-196-144.citykom.de] has joined #agavi 15:44 < E_mE> i have a feeling the YUI purposely sends two requests 15:45 < E_mE> how can i cancel the normal form request 15:45 < E_mE> because its the JS that is fireing the submit 15:46 < v-dogg> you had some onSubmit event handler, right? 15:46 < v-dogg> with mootools you'd do event.stop() or something like that 15:47 < RossC0> E_mE: #yui ;) 15:48 < E_mE> thanks :D 15:56 < E_mE> weird its ment to return an error :/ 15:56 -!- Wombert [n=Wombert@213.23.52.58] has joined #agavi 15:57 < Wombert> you cannot upload files with ajax 15:59 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:01 < E_mE> it is uploading the image 16:01 < E_mE> but i think its firing another request purposefully 16:02 < E_mE> but now i need to capture the JSON data and prevent it from trying to get the user to download the json 16:03 < Wombert> user download? wtf 16:03 < Wombert> you sure your form does not get submitted... 16:05 < E_mE> ah i moved the outside of the form.. 16:06 < RossC0> wtf 16:06 < RossC0> no 16:06 < RossC0> no 16:06 < RossC0> no 16:06 < RossC0> no 16:06 < RossC0> E_mE: just upload the file normally 16:06 < RossC0> simplicity 16:06 < RossC0> rulez 16:07 < RossC0> woot wombert - your tumblr is native! 16:07 < Wombert> wha-hat? 16:08 < Wombert> if the upload should be without the page "stalling", make an iframe, E_mE, and 16:08 < RossC0> blog.bitxtender.com has propogated 16:08 < Wombert> yah 16:08 < RossC0> woot 16:08 < Wombert> cool aint it 16:08 < Wombert> but I need a nicer header 16:08 < Wombert> and a footer where I link to ze ross and to mike and to v-dogg 16:08 < Wombert> SPEAKING OF WHOM 16:08 < E_mE> ill try and solve this first and if i cant. i want go simple 16:08 < Wombert> WHY DID YOU STOP BLOGGING MISTER MÄKINEN 16:08 < RossC0> you see my ticket / patch? 16:08 * Wombert slaps v-dogg 16:08 < E_mE> im somewhat glued on getting this working hehe 16:08 < Wombert> ... E_mE then just stop the form from submitting 16:10 < E_mE> how? 16:12 -!- shoan [n=shoan@59.92.135.234] has joined #agavi 16:12 < E_mE> RossC0 & Wombert go to http://test.thecodecentral.com/demos/asyncupload/ run firebug and watch how it works 16:12 < E_mE> its odd 16:12 < Wombert> E_mE: because the form is still submitted 16:14 < E_mE> but it works for him 16:15 < E_mE> i think i know why 16:15 < E_mE> because he is not asking JSON data be returned on the POST request, he is asking for Error Data from the GetRequest 16:16 < E_mE> so uses executeWrite() for the upload 16:16 < E_mE> and uses executeRead() to find out the error status of the upload 16:16 < E_mE> where I am returning JSON with the filename in executeWrite() 16:16 < E_mE> which is proberbly freaking it out 16:18 < E_mE> so i must generate the time() and submit it as well with the write request and then use the GET to see if the file has arrived 16:19 < E_mE> can i tempoarily save data from the executeWrite() somewhere and when executeRead() comes along it can pick it up for status? 16:22 < E_mE> im sorry guys... i do apprciate what your saying... just kind of in my war path :S 16:23 < Wombert> uuuuuh? 16:23 < Wombert> what error status 16:23 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 16:24 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:24 < RossC0> So does the YUI think actually submit the form normally? 16:24 < E_mE> go to the link i pasted above and activate firebug and do a image upload 16:25 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit] 16:25 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:25 < E_mE> you will see the upload.php will have a response of {"hasError":true, "foo":"bar"} 16:25 < E_mE> which is infact a GET request 16:25 < E_mE> where as the POST doesn't reply at all... 16:25 < Wombert> let me guess 16:26 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit] 16:26 < Wombert> because your form does a get submit 16:26 < Wombert> you do not stop it from doing so 16:26 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:26 < Wombert> and the post does eventually reply when the upload is done... 16:26 < RossC0> hmm stupid demo crashed my ff 16:26 < E_mE> my POST is replying with JSON Data 16:26 * RossC0 picks up his football and goes home 16:26 < E_mE> which is wrong 16:27 < E_mE> RossC0: ditto i got to get my bus in 10 minutes 16:27 < Wombert> NOOOOOOOOOOOOOOOOO 16:27 < Wombert> NOOOOOOOOOOOOO 16:27 < Wombert> NOOOOOOOOOO 16:27 * Wombert cries 16:27 < E_mE> but i will be beatting this up on the bus ;) 16:27 < RossC0> why doesn't trac let you seal a ticket closed 16:27 < RossC0> dam spammers 16:28 < E_mE> cya later guys... thanks for your help :) 16:28 < E_mE> sorry to be apain ;) 16:28 < RossC0> laters 16:28 < RossC0> Wombert: http://trac.agavi.org/ticket/303 16:28 < RossC0> :D 16:28 * RossC0 passes the football to Wombert 16:28 < Wombert> RossC0: nope 16:28 < RossC0> nope 16:29 < RossC0> why? 16:29 -!- E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection] 16:29 < Wombert> use xpath to select the parent node 16:29 < RossC0> I tried 16:29 < RossC0> hmm wait 16:30 < RossC0> self::*[@id]/ancestor::li 16:30 < Wombert> ha! 16:30 < Wombert> you forgot the namespace 16:30 < RossC0> whaaa? 16:31 < Wombert> self::*[@id]/ancestor::html:li 16:31 < Wombert> or 16:31 < Wombert> self::*[@id]/ancestor::${htmlnsPrefix}li 16:31 < Wombert> we're using XML, remember ;) 16:31 < RossC0> whaa 16:31 < Wombert> 16:31 < RossC0> but this works: 16:31 < Wombert> ! 16:31 < RossC0> ancestor::label/ancestor::li[contains(@class,'left')] 16:31 < Wombert> oO 16:31 * RossC0 confused 16:31 < RossC0> ah no 16:31 < RossC0> wait 16:31 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 16:32 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:32 < RossC0> that doesn't insert the error message in a different position 16:32 < RossC0> but does identify correctly 16:32 < RossC0> and sets the classes differently 16:33 < RossC0> so I don't think I can use xpath? 16:33 < RossC0> oww wierd 16:34 < Wombert> eh? 16:34 < RossC0> Wombert: explain! 16:34 < RossC0> self::*[@id]/ancestor::html:li 16:34 < RossC0> works and inserts it correctly 16:35 < RossC0> but ancestor::label/ancestor::li[contains(@class,'left')] also works but inserts it relative to self 16:35 < RossC0> how come? 16:35 < Wombert> uh? 16:35 < Wombert> other rules? 16:35 < RossC0> yeah 2 rules 16:36 < RossC0> I have a rule that checks the ancestor li - if it has the class left then insert some different html 16:36 < RossC0> it inserts relative to self and not to the ancestor li 16:36 < RossC0> However, self::*[@id]/ancestor::html:li inserts relative to the li 16:36 < RossC0> how come? 16:39 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 16:39 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:41 < Wombert> relative to the li? 16:41 < Wombert> do you have other rules? 16:41 < Wombert> can you show me the cfg 16:41 < RossC0> tell a lie 16:41 < RossC0> it just works 16:42 < Wombert> without the html: it shouldn't work under any circumstance 16:42 < RossC0> well ancestor::label/ancestor::li[contains(@class,'left')] works 16:42 < Wombert> unless _maybe_ you dont have xmlns in the 16:42 < Wombert> that's why there is ${htmlnsPrefix} 16:42 < RossC0> 16:42 < Wombert> it does "html:" for you or just "", automatically 16:42 < RossC0> right I g2g 16:43 < RossC0> train 16:43 < Wombert> mmmh 16:43 < Wombert> kay 16:43 < RossC0> I'll pester you about it tomorrow 16:43 < Wombert> please do 16:43 < RossC0> but wierd no? 16:43 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 16:43 < Wombert> sounds yeah 16:43 < Wombert> lolz 16:43 < Wombert> :> 16:43 < Wombert> hugs RossC0 16:44 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit] 16:44 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:44 < Wombert> MikeSeth: oh bollocks its all falling to pieces 16:45 < Wombert> Warning: __clone method called on non-object in /Users/dzuelke/Sites/_projects/agavi/branches/0.11/src/controller/AgaviController.class.php on line 142 16:45 < Wombert> :S 16:45 < Wombert> with soa 16:45 < Wombert> p 16:45 < Wombert> ZOMGGGG! 17:31 -!- Chonsu [n=martin@87.79.35.58] has quit ["Leaving."] 17:33 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 17:34 -!- _cheerios [i=jussiava@cs181073202.pp.htv.fi] has quit ["moo()"] 17:51 < Wombert> FUUUUUUUUUUUUUUCKING HELL 17:56 -!- _cheerios [n=jacklo@cs181066248.pp.htv.fi] has joined #agavi 17:57 * _cheerios feels like the wheel is spinning too fast lately 17:58 < Wombert> O RLY 17:58 < Wombert> :p 17:59 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 18:06 < Wombert> impl: zomg help plz 18:11 < Wombert> SOLVED WOOOOZ WOOOOZ WOOOT :> 18:11 < Wombert> impl: have you seen http://agileweb.org/post/13296224 18:11 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:16 * Wombert smacks impl 18:16 < Wombert> WHERE ART THOU 18:29 < _cheerios> heh @ first words of Hiro in season2 18:31 -!- E_mE [n=E_mE@82.152.207.176] has joined #agavi 18:32 < E_mE> hi hi 18:33 < Wombert> WHAT IS GOING ON WITH THIS NONSENSE BOOOOOOOH 18:36 < Wombert> NOOOOOOOOOO 18:36 < Wombert> NOOOOOO THIS CANNOT BE TRUE NO NO NO NO NO NO NO 18:37 < Wombert> I HATE THIS FUCKING WORLD 18:37 < Wombert> I HATE IT 18:37 < Wombert> EVERYTHING 18:37 < Wombert> BOOOOH 18:38 < E_mE> :S 18:38 < E_mE> here here headache suffering one 18:40 < Wombert> there is relief tho 18:40 < Wombert> tumblr is so ace 18:40 < Wombert> I could tumble my mood right away :> 18:40 < Wombert> http://blog.bitxtender.com/ 18:40 < Wombert> :>>> 18:41 < Wombert> oh well then 18:41 < Wombert> we clone the rd JIT 18:41 < Wombert> WHICH FUCKING SUCKS AND RIPS OPEN ANOTHER VECTOR OF ATTACK 18:41 < Wombert> but who cares 18:41 < E_mE> what tumblr?? 18:42 < Wombert> AND WHO CARES THAT I WASTED TWO HOURS ON THIS FECK 18:42 < Wombert> FUBAR 18:42 < Wombert> FU 18:42 < Wombert> BAR 18:42 < Wombert> arrrrrrrrrrrgh 18:43 < E_mE> ahhh i;m quoted on your blog! :o 18:43 < E_mE> chair! 18:44 < Wombert> heh 18:46 < E_mE> hows mr Wommy you are on the nutter side of mad today? 18:47 < E_mE> why* 18:47 < Wombert> I'M ON THE FECKING NUTTY NUTS SIDE OF MAD ALSÖDJASLKDASHLD 18:47 < Wombert> asd 18:47 < Wombert> #arrrrrgh 18:47 * E_mE Throws ice cold water of womberts head! 18:48 < Wombert> BUGGER OF WITH THAT SHIT ZOMG 18:48 < Wombert> ZOMG IT DOES NOT WORK 18:48 < Wombert> I COULD SO FREAK OUT 18:48 < Wombert> AAAAAAH 18:49 < E_mE> well if you got a headache ice cold water will give you brain freeze and give you somewhat relief for a few moments ;) 18:52 < E_mE> anyhow.. time for me to slap the YUI upload again 18:55 * impl smacks Wombert back 18:55 < Wombert> I swear to god I'm about to go ballistic 18:55 < impl> what on earth 18:56 < E_mE> his been throwing his toys out the pram for ages 18:56 < impl> Wombert: haha@video 18:57 < E_mE> i think its a creative spurt :) 19:02 < Wombert> impl: help 19:02 < Wombert> :( 19:02 < Wombert> http://pastie.caboo.se/103836 19:02 < Wombert> request data disappears now 19:02 < Wombert> whyyyyyyy 19:03 < impl> + // mmmh I smell awesomeness... clone the RD JIT, yay, that's the spirit 19:03 < impl> + $this->requestData = clone $this->requestData; 19:03 < impl> I suspect this line 19:03 < Wombert> has to be 19:03 < Wombert> no 19:03 < impl> also 19:03 < impl> shouldn't setRequestData clone? 19:03 < Wombert> nope 19:03 < impl> if you're doing things that way 19:03 < Wombert> that's too early 19:03 < Wombert> I had it that way 19:04 < impl> unf 19:04 < Wombert> the idea is that $this->requestData is a ref to $request's 19:04 < impl> constant("$rdhc::SOURCE_PARAMETERS") <-- ew 19:04 < Wombert> has to be that way, too :p 19:04 < impl> h8 no late static binding 19:04 < impl> h8 it! 19:04 < impl> I know it :( but PHP makes me sad 19:04 < Wombert> wouldn't help :p 19:05 < impl> Sure it would... you could just say $rdhc::SOURCE_PARAMETERS 19:05 < Wombert> well that's just that syntax thing 19:05 < Wombert> they're fixing that with 5.3 IIRC 19:05 < impl> cool :o 19:05 < Wombert> static calls in this fashion 19:05 < Wombert> not LSB related tho 19:05 < impl> so why do we have a factories for RDH? 19:06 < impl> factories definition 19:06 < impl> (or is it?) 19:06 < Wombert> checked 19:06 < Wombert> the clone is identical 19:06 < Wombert> WHAT IS GOING ON 19:06 < Wombert> well 19:06 < Wombert> maybe you want YourCoolWebRequestDataHolder 19:06 < Wombert> which also has... mh... $_SERVER values 19:06 < Wombert> that's just a new source and some code 19:06 < impl> ahokay 19:07 < Wombert> but then it needs to make an instance of that class and stuff 19:07 < impl> I'm really too tired to analyze this :s about to fall asleep (I need to get out of this pattern but whatever) 19:08 < impl> sry 19:08 < Wombert> I don't get it 19:08 < impl> I bet it's something stupid though ;x 19:08 < Wombert> wtf 19:08 < Wombert> string 'SoapFault exception: [SOAP-ENV:Server] Unknown Product "" in /Users/dzuelke/Sites/_projects/agavi/branches/0.11/samples/pub/soap-test.php:24 19:08 < Wombert> GAH 19:09 < Wombert> no 19:09 < Wombert> NO 19:09 < Wombert> NOOOOOOO 19:09 < Wombert> NOOOOOOOOOOOOOOOOO 19:09 < Wombert> I MUST KILL 19:09 < Wombert> ADJKLAJDLASJKDLASKLDAJ 19:09 < ttj> KILLKILLKILL! 19:09 < Wombert> Index: /Users/dzuelke/Sites/_projects/agavi/branches/0.11/samples/app/config/factories.xml 19:09 < Wombert> =================================================================== 19:09 < Wombert> --- /Users/dzuelke/Sites/_projects/agavi/branches/0.11/samples/app/config/factories.xml (revision 2101) 19:09 < Wombert> +++ /Users/dzuelke/Sites/_projects/agavi/branches/0.11/samples/app/config/factories.xml (working copy) 19:09 < Wombert> @@ -33,7 +33,7 @@ 19:09 < Wombert> 19:09 < Wombert> 19:09 < Wombert> 19:09 < Wombert> - conditional 19:09 < Wombert> + strict 19:09 < Wombert> FOR FUCKS SAKE 19:09 < Wombert> A WHOLE EVENING 19:09 < Wombert> WASTED 19:09 < Wombert> this is not my day 19:09 < Wombert> no, no, certainly no