Log opened Fri Dec 01 00:00:20 2006
01:49 Wombert [n=Wombert@dslb-088-064-011-071.pools.arcor-ip.net] has quit [Nick collision from services.]
01:49 Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has joined #agavi
02:52 luke` [n=luke`@59.92.163.113] has joined #agavi
03:26 Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has quit []
03:49 Fastly [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi
04:45 luke` [n=luke`@59.92.163.113] has quit [Read error: 60 (Operation timed out)]
05:00 epaulin [n=epaulin@61.191.26.228] has joined #agavi
07:50 luke` [n=luke`@61.95.206.107] has joined #agavi
08:31 v-dogg huomenta
09:06 luke` huomenta
09:06 v-dogg friday \o/
09:06 luke` yay
09:06 luke` i will probably be happier in the evening
09:07 v-dogg week's last monday
09:09 v-dogg is today update-agavi-to-the-latest-from-svn day
09:09 v-dogg (and break the project day)
09:10 v-dogg it could be, yeah
09:13 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
09:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:24 luke` :)
09:31 codecop [n=codecop@85.206.199.138] has joined #agavi
09:44 Arme[N] morning
09:50 codecop_ [n=codecop@85.206.199.108] has joined #agavi
09:52 codecop [n=codecop@85.206.199.138] has quit [Read error: 110 (Connection timed out)]
10:13 codecop_ is now known as codecop
10:14 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
10:14 Whisller hi
10:20 codecop hi
10:23 Whisller can someone help mi with mod rewrite :> , i can't (don't know how) change \index.php5 to \index.html :/
10:25 Whisller this is my .htaccess file http://phpfi.com/180296
10:29 digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has joined #agavi
10:36 splatch` oi!
10:39 Whisller hmm
10:43 Whisller is listening to 3. Archive - Again
10:51 digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has quit [Read error: 60 (Operation timed out)]
10:59 Kador [n=koen@d54C1EEC6.access.telenet.be] has joined #agavi
11:00 codecop i looked at ircLogs, cant find example of usage registerValidators and how register for eg. emailValidator thanx
11:01 codecop someone can post in phpfi.com example?
11:16 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
11:19 v-dogg codecop: just a sec, I'll write an example
11:19 codecop ok
11:35 v-dogg clients keep bothering me, sorry... :)
11:37 codecop all ok, just when u have time
11:45 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Try something fresh"]
11:49 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has joined #agavi
12:04 digitarald [n=Miranda@160.Red-83-50-114.dynamicIP.rima-tde.net] has joined #agavi
12:08 digitarald morning agavi fellows
12:10 toby_swe[a] can anyone give me an example of what the configuration for a AgaviSimpleTranslator should look like? I don't seem to get it right...
12:40 digitarald i have validatorquestion, too ... what is the difference between conditional and strict mode ... my answer: in strict only validated parameters are avaible when no errors occured?!
12:48 foresth [i=foresth@local.hide-forest.net] has joined #agavi
12:53 v-dogg digitarald: hmm.. what's the problem?
12:53 v-dogg strict = "Only validated request variables are available."
12:54 v-dogg conditional = "All request variables are available when no validation defined else only validated request variables are available."
12:54 v-dogg does it not work this way or what's the problem?
12:57 digitarald conditional ... no xml -> all parameters avaible, with xml -> only validated parameters avaible
13:02 v-dogg yep
13:20 digitarald i love code igniter ... look at comment_insert() ;)
13:20 digitarald http://www.bitwisemag.com/images/scrshots/prog/php/dev/code_igniter_tutorial.gif
13:22 v-dogg uh.. wtf?
13:22 v-dogg it set's values from $_POST?
13:22 v-dogg -'
13:25 digitarald hope the $_POST validation is good ;)
13:26 digitarald so they can make a blog in 30min ;)
14:09 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
14:13 Whisller I've got a little question about routing and imply parrameter. I must add to all URLs '.html', how I can do it?
14:14 v-dogg foo.com/products/5.html?
14:14 v-dogg I'd leave that to mod_rewrite perhaps
14:14 v-dogg ah but you need to generate them too :)
14:15 Whisller yes yes but can i add '.html' to all routes global?
14:15 Whisller using parameter imply?
14:15 Whisller in htacces i have RewriteRule ^(.+)\.(html|pdf|js)$ index.php5?$1 [L] :)
14:16 Whisller otherhands i can add '.html' to route by hand but maybe is another (simply) idea?
14:19 Whisller in sample application i seen it. and i tried <route pattern="\.html$" imply="true" /> but that was bad idea
14:19 v-dogg howcome?
14:21 Whisller howcome? this means why?
14:22 v-dogg yes
14:22 Whisller because this does't work :)
14:23 digitarald mh, agavi needs an arrayvalidator :)
14:25 v-dogg Whisller: <route pattern=".html$" imply="true" stop="false" cut="true" />
14:25 v-dogg and put it as the first route, otherwise it won't work
14:26 v-dogg tried it and it works
14:26 Whisller o
14:26 Whisller yes :)
14:26 Whisller great
14:26 Whisller thanks
14:27 v-dogg np
14:36 Whisller hmm now i have somethig wrong with htaccess, heh google will help me ;)
14:48 Whisller nice, everythink working good :)
15:00 codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
15:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
15:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:07 Whisller I have another question, why url like this example.com/index.php5/parameter/parameter-432.html work fine but example.comparameter/parameter-423.html not. in htaccess i have RewriteRule ^(.+)\.html$ index.php5 [L]
15:07 Whisller *example.com/
15:07 Whisller in second example agavi display module default and action 404
15:08 Whisller *Error404
15:08 Whisller maybe i have something wrong in htaccess
15:29 luke` [n=luke`@61.95.206.107] has quit []
15:31 v-dogg Whisller: you don't need that rule in the .htaccess, agavi already handles that (because of the route we just sorted out)
15:31 v-dogg just take the default .htaccess and use it
15:32 Arme[N] is now known as Arme[morizer]
15:33 Whisller so i don't nide RewriteRule ^(.+)\.html$ index.php5 [L] ?
15:33 v-dogg not for agavi, no
15:33 Whisller ok i check it
15:35 Kador [n=koen@d54C1EEC6.access.telenet.be] has quit ["Ex-Chat"]
15:36 Whisller v-dogg, oo you have a right(next case :]), great :) ahh i love agavi :]
15:38 v-dogg good good :)
16:15 codecop [n=codecop@85.206.199.108] has joined #agavi
16:24 Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has joined #agavi
16:28 codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
16:28 eremit_ [n=eremit@p5490E86F.dip.t-dialin.net] has joined #agavi
16:38 eremit [n=eremit@p5490EF94.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
16:47 kaos [n=kaos@ppp-82-135-13-98.dynamic.mnet-online.de] has joined #agavi
16:48 kaos digitarald: array validator ? care to explain what you need what doesn't work yet ?
16:48 Arme[morizer] is now known as Arme[N]
16:52 Wombert 14:25 < v-dogg> Whisller: <route pattern=".html$" imply="true" stop="false" cut="true" />
16:53 Wombert put it behind the ^/$ rule otherwise you end up with stupid urls like http://foo.com/.index.html ;)
16:53 Wombert -.index
16:53 Wombert :p
16:53 Wombert slaps digitarald
16:53 Wombert tell us tell us tell us
16:54 Whisller Wombert, yes. You have a right.
16:55 Whisller someone use a google sitemaps?
16:55 v-dogg hmm...
16:56 v-dogg Wombert: ^/$ should then be the first route and .html route right after that, right?
16:56 Wombert precisely
16:56 Wombert the thing is
16:56 Wombert you might have stuff like /products/list/
16:57 Wombert which doesn't need .html either
16:57 Wombert but that's not possible atm
16:57 Wombert I think about this issue about twice a day but I can't come up with a solution
16:57 Wombert example
16:58 Wombert how do you tie <route pattern="text/javascript" source="_SERVER[HTTP_ACCEPT]" output_type="json" /> to only those routes that actually CAN handle json
16:58 Wombert mmmh
16:58 Wombert brb
17:30 digitarald ok ... validating an array input for length (please select at least 5 options from this select ... bla bla) ... it's no problem to write an own validator for that, was just an idea for a standard implementation.
17:32 digitarald validators: when i use a numbervalidator, would it be cool that he converts the parameter type correctly, so i don't have to use (int) in the action
17:35 v-dogg I'm using a number validator of my own and it does that
17:35 v-dogg I could add it to AgaviNumberValidator too
17:35 v-dogg Wombert: ok?
17:36 v-dogg (home ->)
17:39 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC with a difference"]
17:56 Wombert that's an excellent idea
17:56 Wombert we need an option to disable the casting, though
17:56 Wombert <parameter name="cast">false</parameter>
17:57 Wombert and, of course, it must be possible to
17:57 Wombert a) specify only integer, only float or both
17:57 Wombert b) cast to int or cast to float
17:57 Wombert c) integrate with i18n so germans can enter "5,14" instead of "5.14"
18:10 Wombert http://money.cnn.com/2006/11/30/magazines/fortune/obrienseagate.fortune/
18:17 digitarald very nice ideas, i love them all
18:18 Wombert also we should consider tuning the date validator
18:18 Wombert so it
18:18 digitarald supporting splitted fields i.e.?
18:19 Wombert a) can normalize values to unix timestamp, DateTime object, Calendar object, standard formatted string
18:19 Wombert yes
18:19 Wombert well the mktimestamp validator does that already
18:19 Wombert b) it should, again, use the locale to parse dates
18:19 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 104 (Connection reset by peer)]
18:19 Wombert c) of course, like number validator, it should be possible to override the locale
18:19 Wombert etc etc
18:20 Wombert actually
18:20 Wombert that's a blocker for 0.11
18:20 Wombert we need htat
19:04 benny`work [n=benny@p54AC2C30.dip0.t-ipconnect.de] has joined #agavi
19:19 digitarald [n=Miranda@160.Red-83-50-114.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
19:30 JamieWolf [n=JamieWol@Xafb5.x.pppool.de] has joined #agavi
19:40 v-dogg Wombert: I have absolutely no idea how agavi's locales work so it's better that I don't even try to fix numvalidator to use them :)
19:42 Wombert sure :)
19:46 Wombert http://trac.agavi.org/ticket/359
19:56 v-dogg how would numvalidator work with locales if I wanted it to parse both 1,2 and 1.2?
19:56 Wombert good question
19:56 v-dogg that's essential for me, that's why I'm interested :)
19:57 v-dogg and that's why I have my own validator now
19:57 Wombert http://trac.agavi.org/wiki/Validation/RegisteringValidatorsManually thanks for that
20:00 v-dogg np
20:00 Wombert why the heck is registerValidators given the vm as an argument?
20:00 Wombert mmmmmh this is veeeery
20:01 Wombert unnecesssaaaaaarrryyyyy
20:01 Wombert *sings*
20:01 Wombert should we change that?
20:01 v-dogg dead weight from mojavi times
20:01 Wombert no worries, you could fix it with some preg replace
20:01 Wombert anyone against it?
20:01 v-dogg will be shot
20:01 Wombert xD
20:01 Wombert kaos?
20:03 kaos np with me
20:03 Wombert could you do it?
20:03 Wombert I can't be arsed to revert my caching changes from ExecutionFilter
20:04 Wombert change AEF::runAction and the declaration and phpdoc in AgaviAction
20:04 Wombert and don't forget to add BREAKING CHANGE in the commit msg
20:04 Wombert or maybe v-dogg can do it
20:04 v-dogg maybe
20:04 Wombert haha
20:04 v-dogg but I ain't gonna do no coding tonight :)
20:05 Wombert awww
20:05 Wombert kicks v-dogg
20:05 Wombert :<
20:05 v-dogg mad week (several weeks) behind, I have earned my night off :)
20:05 Wombert sure thing
20:06 Wombert btw you can change your svn/trac pass in trac now
20:06 Wombert fyi
20:07 v-dogg ok
20:11 codecop [n=codecop@85.206.199.108] has joined #agavi
20:43 luke` [n=luke`@59.92.130.107] has joined #agavi
20:48 codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
22:30 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:57 benny`work [n=benny@p54AC2C30.dip0.t-ipconnect.de] has quit [Read error: 60 (Operation timed out)]
23:07 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:08 impl [n=impl@httpcraft/php/impl] has joined #agavi
Day changed Sat Dec 02 2006
00:05 benny`work [n=benny@p54AC3C7A.dip0.t-ipconnect.de] has joined #agavi
00:11 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
00:12 MrJeep hi
00:12 MrJeep I have quesiton about the prototype library.. I have a weird problem with it
00:12 MrJeep maybe someone could help
00:12 MrJeep I have 3 class
00:13 MrJeep DocumentObject class, DocumentMap class and a DocumentZone class.
00:13 MrJeep DocumentMap and DocumentZone extends the DocumentObject class
00:14 MrJeep The 3 classes a included in my svg document
00:14 MrJeep in this order
00:14 MrJeep DocumentObject, DocumentMap, DocumentZone
00:15 MrJeep now I create an instance of DocumentObject and I alert the content of the initialize method. The content is the DocumentZone method
00:15 MrJeep if I don't include the DocumentZone, The initialize method will of the DocumentObject class is the DocumentMap method
00:15 MrJeep weird huh ?
00:16 MrJeep sounds like the extending has been done in reverse
00:47 benny`work [n=benny@p54AC3C7A.dip0.t-ipconnect.de] has quit ["unset($this);"]
01:57 Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has quit [Nick collision from services.]
01:57 Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has joined #agavi
03:26 Wombert re
03:26 Wombert MrJeep: I need to see the code for that
03:26 Wombert OO and extending stuff in JS is not trivial
03:58 Wombert slaps impl
03:58 Wombert pokes impl
03:58 impl OW
03:58 Wombert drags impl by the ear
03:58 impl I'm here I'm here!
03:58 Wombert what are you doing in #symfony :<
03:58 Wombert please don't tell me you're using that crap :<
03:58 impl Waiting to catch fabien and tell him to stop stealing Agavi's code
03:58 Wombert stay with us :<
03:58 Wombert lolmao
03:59 Wombert you're not lying to me are you?
03:59 impl Hell no
03:59 Wombert promise!
03:59 impl If you want the truth, I've been looking into feti's new procedural framework, redline
03:59 Wombert oh?
03:59 Wombert show me!
03:59 Wombert procedural? eww
04:00 Wombert show show show show!
04:07 MrJeep procedural ?
04:07 MrJeep function whatever() ?
04:08 Wombert yea
04:08 Wombert impl!
04:08 impl What, sorry
04:08 impl I'm installing OpenBSD and it's misbehaving
04:08 impl Let me fetch you the link
04:10 impl Wombert: http://dev.code-box.org/browse/redline-0.1.3.zip
04:15 Wombert mmmmh
04:16 Wombert aight
04:16 Wombert let's move it where it belongs
04:16 Wombert into htdocs
04:16 Wombert fires up safari
04:17 Wombert okay
04:17 Wombert it's a pile of crap
04:17 Wombert Not Found
04:17 Wombert The requested URL /~dzuelke/redline-php/public_html/welcome.php was not found on this server.
04:17 Wombert Apache/1.3.33 Server at 127.0.0.1 Port 80
04:17 Wombert let's move it where it belongs
04:17 Wombert to the trash!
04:18 Wombert come on this is not
04:18 Wombert at all
04:19 Wombert any good
04:19 Wombert or am I missing something
04:19 Wombert impl?
04:19 Wombert MrJeep... what about your JS issues
04:20 kaos function rule_alpha_numeric (&$value)
04:20 kaos he still hasn't learnt
04:20 kaos that passing values by ref doesn't buy you anything in php
04:22 Wombert MrJeep: first, create a class
04:22 impl Wombert: Try making it index.php/default/welcome
04:22 impl Or something like that
04:22 Wombert DocumentObject = Class.create();
04:22 impl I haven't looked at how it parses URLs yet
04:22 Wombert DocumentObject.prototype = {
04:22 Wombert code here
04:22 Wombert }
04:23 Wombert DocumentMap = Class.create();
04:23 Wombert Object.extend(Object.extend(DocumentMap.prototype, DocumentObject.prototype), {
04:23 Wombert code here
04:23 Wombert }
04:23 kaos // | Parse the PATH_INFO string and add key/value pairs as parameters. |
04:23 kaos function & rl_parse_path_info ()
04:24 kaos $path_info = explode('/', $path_info);
04:24 kaos ...
04:25 Wombert MrJeep: also note that you can declare a method "initialize" that will then serve as the constructor
04:26 kaos tbh, this is crap
04:26 Wombert not necessarily
04:26 Wombert but definitely redundant
04:26 Wombert totally even
04:26 kaos no
04:26 kaos not that js stuff
04:28 Wombert yes
04:29 Wombert I'm afraid feti suffers from borderline fatal NIH syndrome
04:29 Wombert ( http://en.wikipedia.org/wiki/Not_Invented_Here )
04:31 impl hehe
04:31 impl I'm willing to give it a whirl
04:32 Wombert I am, obviously, biased
04:32 Wombert so forgive my ignorance
04:35 kaos well, from a quick look at the code, i would say: no, thanks
04:35 Wombert kicks CIA-11
04:35 Wombert wait
04:35 Wombert kicks CIA-11
04:35 CIA-11 ow
04:36 kaos but i'm back to my c++ stuff ;)
04:36 Wombert don't say ow, do your job you retard
04:36 Wombert kicks CIA-11 again
04:57 MrJeep am I drunk or what
04:57 MrJeep but
04:57 MrJeep how -72.073 be smaller than -72.083
04:57 MrJeep this is what JS tells me :S
04:59 Wombert javascript:alert(-72.073 < -72.083)
04:59 Wombert => false
04:59 MrJeep arg, my number are badly parsed
04:59 MrJeep still considered a string
05:00 MrJeep you know what, I hate those stupid mistakes
05:03 CIA-11 dominik * r1408 /branches/0.11/src/ (2 files in 2 dirs):
05:03 CIA-11 BREAKING CHANGE!
05:03 CIA-11 removed validatormanager argument from register*Validators()
05:03 CIA-11 closes #360
05:03 kaos yay
05:05 Wombert hours later...
05:20 MrJeep no more manual registerValidator ?
05:23 Wombert http://trac.agavi.org/changeset/1408
05:23 Wombert http://trac.agavi.org/wiki/Validation/RegisteringValidatorsManually
05:25 MrJeep i c
05:52 MrJeep hey wombert, what time is it right now where you are ?
05:52 JamieWolf 5am :)
05:53 Wombert yep
05:53 Wombert where are you from btw JamieWolf
05:53 JamieWolf german time ;)
05:53 JamieWolf germany
05:53 Wombert yeah I know that :p
05:53 JamieWolf Hessen, near frankfurt
05:53 Wombert did you attend intl php conference?
05:53 MrJeep 5 am, not tired ?
05:54 Wombert not really
05:54 JamieWolf No ... Since coding is just a hobby for me. I also have to work the hole day
05:54 Wombert concentration levels sinking but not yet at the point where teh brain refuses to complete simple task
05:54 Wombert oh I thought you had some sort of programming job :)
05:54 JamieWolf MrJeep after 1 Bottle reb bull - no way of being tired
05:55 JamieWolf Wombert why u thought that?
05:55 Wombert I'm immune to caffeine
05:55 Wombert well
05:55 Wombert most people here code for a living
05:56 Wombert I think
05:56 JamieWolf no I work as a tax consultant
05:56 Wombert :)
05:56 JamieWolf but it is like coding ... somehow
05:56 Wombert do you like agavi?
05:56 Wombert will you do our taxes for free? ;o)
05:57 Wombert yeah it is
05:57 Wombert like coding, taxes are a fucking pain in the ass
05:57 Wombert kind of
05:57 JamieWolf yeap I do ... I'm checking the website every day ... cant wait to see the homepage
05:57 JamieWolf true
05:57 Wombert the designer is veeeeeery busy
05:57 Wombert so don't expect it tooo soon
05:57 Wombert I hope it'll be this year
05:57 Wombert or, rather, in time for christmas
05:58 Wombert we also finally found a good (but commercial :S) font for the logo
05:59 Wombert mmmmmmkay I need some music that helps with concentrating
05:59 JamieWolf btw. I can do Ur taxes stuff :)
05:59 JamieWolf try some classic stuff
05:59 Wombert just put some on :)
06:00 JamieWolf put some what?
06:00 Wombert classic music
06:00 JamieWolf ;) Concentration is sinking rapidly over here
06:01 JamieWolf btw were are u from Wombert?
06:01 Wombert munich
06:02 Wombert yawns
06:02 Wombert I guess I _am_ tired
06:02 impl I'M CODING IN PERL
06:02 JamieWolf nice place, but way to expensive to live there
06:02 impl SOMEONE _SHOOT_ ME
06:02 Wombert packs a gun
06:03 JamieWolf shots impl
06:03 Wombert where the hell did I put the full metal jacket ammo
06:03 JamieWolf misses ... too bad ;)
06:03 Wombert aaaaah there it is
06:03 Wombert loads a clip
06:03 Wombert aims for the arse
06:03 Wombert you still doing perl mate?
06:03 Wombert I'll have to shoot you
06:03 Wombert or kill a kitten
06:03 Wombert you decide
06:04 impl my $nul = shift; @_ ? ($_->{'opt'} = shift) : $_->{'opt'};
06:04 MrJeep wombert, you said something about "NIH" syndrome
06:04 MrJeep i look at the wikipedia definition
06:05 MrJeep sounds like the NIH def is more proper for the invented here def.
06:05 MrJeep there is something wrong ?
06:05 Wombert "NIH syndrome" means that people build their own stuff just to have their own stuff
06:05 Wombert because they don't want to use existing solutions
06:06 Wombert think about a project leader at ACME Inc
06:06 impl Maybe all the existing solutions are written in Perl
06:06 Wombert a smart coder walks up to him and says "hey for that upcoming project, I found a nice framework, Agavi!"
06:06 MrJeep yeah this is what the def says
06:06 Wombert and the project manager will say "mmmh no that was Not Invented Here, we'll build our own"
06:06 Wombert because he is a pathetic moron
06:06 Wombert and will, hopefully, get fired
06:06 MrJeep ahh in that sense!
06:07 Wombert yep
06:07 Wombert :)
06:07 MrJeep now I understand :D, thnx
06:07 MrJeep well, now I'll go to sleep
06:07 MrJeep it's 11:07 here ;P
06:07 Wombert oO
06:07 MrJeep not that late but i'm tired
06:07 Wombert heh
06:07 MrJeep so gnight everyone!
06:07 Wombert good night
06:07 JamieWolf good night
06:08 Wombert so, impl, what about that perl thing
06:08 JamieWolf think i'll get some sleep too ...
06:08 Wombert removes the tips from the bullets
06:08 Wombert this will hurt, mind you
06:08 impl Wombert: 'tis called SlimServer
06:08 impl and it's not pretty
06:08 Wombert I'm counting down from three
06:08 Wombert then, I'll shoot
06:09 Wombert or kill a kitten
06:09 Wombert you decide
06:09 impl I have a quote about kittens
06:09 impl <+Shadda> Everytime a script written in 1995 loses compatibility, a Derick kills a kitten <+nforbes> Which is good. We have too many fucking kittens anyway.
06:09 impl However, I'd prefer you shoot me
06:09 Wombert right
06:09 Wombert I finished counting anyway
06:09 Wombert aims
06:09 Wombert shoots
06:10 impl dies.
06:10 Wombert you still there?
06:10 Wombert shoots again
06:10 Wombert aaah that serves you right
06:14 Wombert #38;pic=0&%2338">http://hello.eboy.com/eboy/product-detail/?token=FOO&#38;pic=0&%2338;
06:26 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
06:31 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
06:45 JamieWolf [n=JamieWol@Xafb5.x.pppool.de] has quit []
06:49 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
07:07 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
07:24 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
07:44 Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has quit []
07:48 kaos [n=kaos@ppp-82-135-13-98.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"]
08:54 v-dogg huomenta
09:11 foresth [i=foresth@local.hide-forest.net] has joined #agavi
09:33 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
09:58 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
10:25 digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has joined #agavi
10:51 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:06 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: splatch`, Kubicek
11:07 Netsplit over, joins: splatch`, Kubicek
11:11 codecop [n=codecop@85.206.199.108] has joined #agavi
11:27 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
11:27 Whisller Hi
11:35 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
11:38 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:48 digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:08 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"]
12:33 codecop [n=codecop@85.206.199.108] has quit [Read error: 145 (Connection timed out)]
12:42 codecop [n=codecop@85.206.199.108] has joined #agavi
12:57 eremit_ [n=eremit@p5490E86F.dip.t-dialin.net] has quit [Remote closed the connection]
12:59 eremit [n=eremit@p5490E86F.dip.t-dialin.net] has joined #agavi
13:56 raidman|Away [n=raidman@85-18-14-9.fastres.net] has quit [Read error: 110 (Connection timed out)]
14:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:46 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:47 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
14:47 Arme[N-1] is now known as Arme[morizer]
15:28 Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has joined #agavi
15:29 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
15:38 codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
15:40 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:51 Arme[morizer] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 113 (No route to host)]
15:52 Arme[N-1] is now known as Arme[morizer]
16:02 Arme[morizer] is now known as Arme[N]
16:28 eremit_ [n=eremit@p5490E70F.dip.t-dialin.net] has joined #agavi
16:34 Arme[N] is now known as Arme[morizer]
16:36 eremit [n=eremit@p5490E86F.dip.t-dialin.net] has quit [Connection timed out]
16:43 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
16:44 MrJeep allready up !
16:44 MrJeep well, i guess it'S 4 pm
16:44 v-dogg almost 5 pm
16:46 MrJeep lol
17:09 Wombert 4pm!
17:10 v-dogg weirdo
17:18 Wombert :<
17:19 v-dogg need a hug?-)
17:22 benny`work [n=benny@p54AC2609.dip0.t-ipconnect.de] has joined #agavi
17:22 Wombert :D
17:23 Wombert not necessary
17:23 Wombert I live in the cooler time zone
17:23 Wombert if any, then you need one
17:23 Wombert hugs v-dogg
17:23 v-dogg :p
17:25 kaos [n=kaos@ppp-82-135-13-98.dynamic.mnet-online.de] has joined #agavi
18:08 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
18:20 CIA-11 david * r1409 /branches/0.11/ (2 files in 2 dirs): (log message trimmed)
18:20 CIA-11 added 'store_calls' configuration parameter to AgaviGettextTranslator that
18:20 CIA-11 allows to set a base directory to which _() (and thus __()) calls will be
18:20 CIA-11 'logged' so they can be parsed by xgettext. will just append, so items will be
18:20 CIA-11 duplicate over time. xgettext has an option to filter these out. will
18:20 CIA-11 automatically create one file per domain since most xgettext implementations
18:20 CIA-11 cannot detect domains from dgettext calls. the sample app writes to the cache
19:10 Arme[morizer] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
19:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:34 Wombert Arme[N]: ping
19:56 Arme[N] Wombert: pong
20:35 Wombert is the date and time information in the sample app displayed correctly?
20:35 Wombert for rtl
20:45 Arme[N] Wombert: let me see....
20:45 Arme[N] Wombert: from trunk or branch?
20:45 Wombert 0.11 branch
20:46 Arme[N] okey letmesee
20:49 Arme[N] hmm I havn't installed PHP5 in this box, it will take several minutes, please wait
20:58 luke`_ [n=luke`@59.92.136.233] has joined #agavi
21:00 Arme[N] Wombert: no
21:00 Arme[N] Wombert: position of time is wrong
21:01 Arme[N] it should be at left side
21:03 luke` [n=luke`@59.92.130.107] has quit [Read error: 110 (Connection timed out)]
21:11 Arme[N] Wombert: http://tinypic.com/view/?pic=35n0v90
21:26 Wombert k
21:26 Wombert I gotta runnow
21:26 Wombert let's look into thgat tomorrow
21:27 Arme[N] Wombert: :)
22:50 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
22:55 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:26 Arme[N] is now known as Arme[0]
23:53 raidman|Away [n=raidman@85-18-14-9.fastres.net] has joined #agavi
Day changed Sun Dec 03 2006
00:04 raidman|Away [n=raidman@85-18-14-9.fastres.net] has quit [Remote closed the connection]
00:45 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
00:45 Whisller hi
01:28 luke` [n=luke`@59.92.138.81] has joined #agavi
01:29 luke`_ [n=luke`@59.92.136.233] has quit [Read error: 110 (Connection timed out)]
01:49 Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has quit [Nick collision from services.]
01:49 Wombert [n=Wombert@dslb-088-064-009-133.pools.arcor-ip.net] has joined #agavi
02:01 luke` [n=luke`@59.92.138.81] has quit [Read error: 110 (Connection timed out)]
02:46 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Good Night"]
02:56 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
04:15 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
04:28 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
04:39 benny`work [n=benny@p54AC2609.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
04:50 luke` [n=luke`@59.92.156.200] has joined #agavi
05:44 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
05:50 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
06:01 luke`_ [n=luke`@59.92.163.236] has joined #agavi
06:19 luke` [n=luke`@59.92.156.200] has quit [Read error: 110 (Connection timed out)]
06:26 CIA-11 david * r1410 /branches/0.11/src/ (4 files in 3 dirs): (log message trimmed)
06:26 CIA-11 implemented options 'scheme', 'host', 'port', 'authority' and 'fragment' for
06:26 CIA-11 WebRouting::gen(). For example, pass array('scheme' => 'https') and you'll get a
06:26 CIA-11 https:// url. It tries to be as smart as possible about omitting ports etc. As a
06:26 CIA-11 rule of thumb, if you link to some external stuff, use 'authority'. If you want
06:26 CIA-11 to redirect to another internal site, use 'host', because that will leave some
06:26 CIA-11 non-standard port (e.g. 81) in place. 'fragment' is for the fragment identifier
07:06 Arme[0] is now known as Arme[N]
07:10 Arme[N] is now known as Arme[0]
07:11 Wombert [n=Wombert@dslb-088-064-009-133.pools.arcor-ip.net] has quit [Nick collision from services.]
07:11 Wombert [n=Wombert@dslb-088-064-027-190.pools.arcor-ip.net] has joined #agavi
08:10 impl [n=impl@httpcraft/php/impl] has quit [Excess Flood]
08:14 impl [n=impl@httpcraft/php/impl] has joined #agavi
09:59 Arme[0] is now known as Arme[N]
10:11 v-dogg huomenta
10:12 v-dogg time to learn agavi's i18n...
10:12 v-dogg anyone awake to help me?-)
10:25 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
11:07 eremit_ [n=eremit@p5490E70F.dip.t-dialin.net] has quit []
11:10 eremit [n=eremit@p5490E70F.dip.t-dialin.net] has joined #agavi
11:23 v-dogg I seriously need help with this :)
11:29 kaos yup
11:29 kaos v-dogg: i'm here to your rescue :D
11:30 v-dogg \o/
11:30 codecop [n=codecop@85.206.207.52] has joined #agavi
11:30 v-dogg I took routing (with the callback) from the sample app
11:31 v-dogg I have fi_FI and sv_SE locales defined in transalation.xml
11:31 v-dogg default_locale="fi_FI@currency=EUR
11:32 v-dogg and output_types.xml, i18n : <parameter name="mode">postfix</parameter><parameter name="separator">.</parameter>
11:33 v-dogg transalation.xml defines gettexttranslator but I don't need that (for now), can I do this without translator?
11:33 v-dogg using only localized templates?
11:33 kaos hmm, yes
11:33 kaos but i'm not sure right now if we allow leaving the translator out
11:36 v-dogg seems to work
11:36 v-dogg but now
11:37 v-dogg localhost/ works
11:37 v-dogg localhost/fi returns 404
11:37 v-dogg and it doesn't even find the localized 404
11:38 kaos hm
11:41 kaos have you enabled use_translation in the config ? ;)
11:41 v-dogg yes :)
11:42 kaos ah
11:42 v-dogg IndexSuccess.fi.php wouldn't work otherwise
11:42 kaos i think i see the problem
11:43 kaos omg, all that text is so blurry *g*
11:43 kaos i really should sleep now i think
11:43 v-dogg nah, no you shouldn't
11:43 kaos *g*
11:44 kaos hmmm
11:46 v-dogg I got it
11:46 kaos what was it ?
11:46 kaos (and i had just created a new project to test :)
11:47 v-dogg pattern="/({locale: ..." cut="true" cut the slash too
11:47 v-dogg so pattern="^/$" didn't match
11:47 v-dogg <route pattern="^$" module="%actions.default_module%" action="%actions.default_action%" />
11:47 v-dogg works
11:48 kaos still doesn't explain why the 404 view hasn't selected the right template
11:48 v-dogg true
11:50 kaos how did you name your files ?
11:51 kaos (because the system itself should work, as its used in the sampleapp)
11:51 v-dogg Error404Success.fi.php
11:52 v-dogg on 404 AgaviRenderer::preRenderCheck doesn't even try to find anything else than Error404Success.php
11:54 kaos well, i think you need to update then
11:54 v-dogg ?
11:54 kaos you using the latest svn version ?
11:54 v-dogg yep, 1410 exported this morning
11:56 kaos hmm, the code is there http://trac.agavi.org/browser/branches/0.11/src/renderer/AgaviRenderer.class.php​#L315
11:56 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
11:56 kaos and when i try it with the sample app it works
11:58 v-dogg here too...
11:58 kaos strange
12:05 kaos but i'm really in my bed now, awake way to long now \o/
12:05 kaos sorry v-dogg :/
12:05 v-dogg no problem
12:26 foresth [i=foresth@local.hide-forest.net] has joined #agavi
12:29 codecop strange, why when i try to use $controller->forward('Default', 'Index'); i got exception:
12:29 codecop For security reasons, Request Parameters cannot be acces.......
12:32 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
12:37 foresth [i=foresth@local.hide-forest.net] has joined #agavi
13:01 epaulin [n=epaulin@218.22.2.93] has joined #agavi
14:16 luke` [n=luke`@59.92.163.236] has joined #agavi
14:16 luke`_ [n=luke`@59.92.163.236] has quit [Read error: 54 (Connection reset by peer)]
14:30 epaulin [n=epaulin@218.22.2.93] has quit ["Fake it till you make it."]
15:11 digitarald codecop?
15:11 v-dogg codecop: you are not supposed to use that
15:12 v-dogg you forward by returning array('MyModule', 'MyAction') from the view::execute
15:15 Arme[N] is now known as Arme[0]
15:46 codecop digitarald, v-dogg now i see thanx ( in mojavi was forward )
15:46 v-dogg yep
15:48 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
15:56 Wombert v-dogg: you gotta tell the renderer that you want to use localized templates
15:57 Wombert http://trac.agavi.org/browser/branches/0.11/samples/app/config/output_types.xml#​L31
15:57 digitarald u can even return the forward array in actions ... ;)
15:57 Wombert no!
16:06 foresth Wombert, how is it going with the new webpage? :)
16:06 Wombert haven't heard from the designer ;) he's busy ;)
16:06 Wombert we'll have to wait :)
16:11 v-dogg Wombert: I have and it works, I just (a) messed up routing.xml and (b) didn't think straight
16:12 v-dogg localhost/fi ofcourse doesn't work, but localhost/fi/ works
16:12 Wombert yeah that's a BIT of an issue unfortunately
16:12 Wombert but not really anything we can do about it
16:13 v-dogg doesn't bother me
16:13 v-dogg but now I'm trying to figure out simple translator
16:14 Wombert need help?
16:14 Wombert put a parameter with a domain name
16:14 Wombert in that, one param for each locale
16:14 v-dogg according to my var_dumps my translation.xml is almost correct
16:15 Wombert in that, <parameter name="text to translate">translated version</parameter>
16:15 Wombert or
16:15 Wombert <parameter>
16:15 Wombert <parameter name="from">text to translate</parameter>
16:15 Wombert <parameter name="to">translated version</parameter>
16:15 Wombert </parameter>
16:15 v-dogg I'm not sure I understand domains
16:16 Wombert <translator domain="foo">
16:17 Wombert <message_translator class="AgaviSimpleTranslator">
16:17 Wombert <parameter name="domainname">
16:17 Wombert <parameter name="fi">
16:17 Wombert <parameter name="hello">houmenta</parameter>
16:17 Wombert $tm->_('hello', 'foo.domainname');
16:17 Wombert these "inner" domains are just for the translators to determine where to pull the info from
16:18 Wombert for instance for the gettext translator, domainname would be pulled from domainname/fi.po
16:18 Wombert btw you can safely use "fi" even though you defined fi_FI
16:18 Wombert note that you may omit <parameters> and other plural tags since mmmh a couple of days ago
16:18 Wombert makes that stuff a little less painful
16:18 Wombert the simpletranslator is jus tfor quick prototyping
16:19 Wombert or for translating date format defintions
16:19 v-dogg yey \o/ it works
16:23 codecop what the main things to do to use translators ? in short
16:25 v-dogg use_transalation=true (settings.xml), copy translation.xml from the sample app
16:25 v-dogg and transalate :)
16:25 codecop :)
16:26 digitarald Wombert, fpf does not refill a selectbox right ... everything is right except this selectbox. Maybe its a problem with type (string/integer)?
16:26 Wombert everything arrives as strings at the client
16:26 Wombert reproducible test case please
16:27 eremit [n=eremit@p5490E70F.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)]
16:27 digitarald mmhh ... i'll try a workaround first, don't have much time now
16:27 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi
16:27 Wombert ...
16:27 Wombert if you don't want me to go totally beserk
16:28 Wombert you please please please with a sugar topping better create a damn test case for me
16:28 Wombert because your workarounds don't help ANYONE
16:28 Wombert and a test case takes no more than two minutes
16:28 Wombert you create one html file I can use as a template
16:28 Wombert and one line of code that populates data
16:28 Wombert that's all I need
16:28 Wombert ...
16:28 digitarald i know ... only my clients ;) ... if it works i know the problem and will create a test case ... i did say no to a test case
16:29 digitarald i did NOT say no .. ups
16:29 Wombert yes, yes, yes
16:29 Wombert and still
16:29 eremit [n=eremit@p5490C42F.dip.t-dialin.net] has joined #agavi
16:29 Wombert in case of doubt it's one select box I can throw into sample app's LoginInput.php
16:31 digitarald problem is: the given population value is an integer value (0, 1, 2 or 3 ;) ). when i cast it first to a string its ok and the selectbox is populated right
16:32 Wombert yeah
16:32 digitarald $option->getAttribute('value') === $value
16:32 Wombert there was some reason why this wasn't possible
16:32 Wombert hmm
16:32 digitarald thats it
16:32 Wombert yes but that is there for a reason
16:32 Wombert I just don't remember which
16:32 digitarald fpf#358
16:33 Wombert probably <option value=""> would be popuated with integer 0
16:33 Wombert -with+for
16:33 digitarald right ... then maybe a is_numeric check?
16:34 Wombert I'll probably cast the value to a string where feasible
16:34 toby_swe[a] Hi all!
16:36 toby_swe[a] I have an action where I have specified <validators method="write"> in the corresponding validation file, but it seems that agavi tries to validate a read request anyway
16:36 Wombert validate, or validate using the validators defined in that block?
16:37 toby_swe[a] I get this: "Warning: preg_match() expects parameter 2 to be string, array given in /home/sahlmano/lib/agavi_trunk/src/validator/AgaviDateValidator.class.php on line 56", and then an Exception
16:37 Wombert uh wtf
16:37 Wombert can you create an action and a validation xml that reproduces the issue?
16:37 Wombert that would be awesome
16:38 toby_swe[a] will try
16:40 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
16:55 toby_swe[a] You there WOmbert?
16:55 benny`work [n=benny@p54AC46B8.dip0.t-ipconnect.de] has joined #agavi
16:55 v-dogg wombiiieeee
16:55 v-dogg toby_swe[a]: he answers faster if you poke him a bit
16:55 v-dogg pokes Wombert
16:55 v-dogg your turn
16:56 toby_swe[a] v-dogg, how do I do that (explain it as if to a very small child)
16:56 v-dogg how do I make a link to the current page but different locale
16:57 v-dogg toby_swe[a]: /me pokes Wombert
16:57 Wombert $r->gen(true, array('localeparamname' => 'de'));
16:58 Wombert and since yesterday you could also do
16:58 Wombert $r->gen(true, array('localeparamname' => 'de'), array('scheme' => 'https'));
16:58 Wombert :D
16:59 v-dogg \o\ /o/
16:59 toby_swe[a] Wombert, it seems I get that error when executeRead() returns to an inputView
17:00 toby_swe[a] not if I just use getDefaultViewName() to go to an input view on read request
17:01 v-dogg slaps Wombert
17:01 v-dogg $r->gen(null, ...)
17:01 Wombert yeah whatever ^^
17:01 v-dogg :p
17:02 Wombert toby_swe[a]: yeah because if you have executeRead(), it tries to run validation
17:02 Wombert but shouldn't do anything since your validators are defined for write...
17:02 toby_swe[a] ok
17:06 toby_swe[a] do you want some files to look at or something?
17:18 Wombert maybe later
17:18 Wombert I gotta run now :)
17:36 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:51 Wombert [n=Wombert@dslb-088-064-027-190.pools.arcor-ip.net] has quit []
18:24 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
18:24 Whisller hi :)
18:24 codecop hi
18:52 Wombert [n=Wombert@p5496DD64.dip.t-dialin.net] has joined #agavi
18:55 Wombert [n=Wombert@p5496DD64.dip.t-dialin.net] has quit [Nick collision from services.]
18:55 Wombert [n=Wombert@p5496F0A6.dip.t-dialin.net] has joined #agavi
18:58 Wombert [n=Wombert@p5496F0A6.dip.t-dialin.net] has quit [Client Quit]
19:17 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
19:55 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
19:56 codecop [n=codecop@85.206.207.52] has joined #agavi
20:01 codecop [n=codecop@85.206.207.52] has quit [Remote closed the connection]
20:01 codecop [n=codecop@85.206.207.52] has joined #agavi
20:19 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
20:31 impl [n=impl@httpcraft/php/impl] has joined #agavi
20:46 [1]Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
20:46 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [Read error: 131 (Connection reset by peer)]
20:46 [1]Whisller is now known as Whisller
20:56 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
21:09 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
22:03 Whisller is posible use a $r->gen in View?
22:04 digitarald of course
22:05 digitarald $this->getContext()->getRouting()->gen()
22:05 Whisller o thanks :)
22:32 Wombert [n=Wombert@dslb-088-064-027-190.pools.arcor-ip.net] has joined #agavi
22:35 v-dogg Wombert \o/
22:38 v-dogg I'm thinking about writing a CSV translator (or something similar but so easy that even my missus can translate simple things like menu items and such)
22:39 v-dogg poEdit + compiling libraries is a bit out of her league :)
22:40 v-dogg functionality would be more or less that of AgaviSimpleTranslator but simpler structure and editing
22:45 v-dogg ideas, comments?
22:58 v-dogg to bed ->
22:58 v-dogg (you can still comment, I'll read it tomorrow :)
23:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
23:08 Wombert re
23:23 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
Day changed Mon Dec 04 2006
00:30 benny`work [n=benny@p54AC46B8.dip0.t-ipconnect.de] has quit ["unset($this);"]
01:25 Whisller my first page when i used a agavi sennik.prosie.eu ;) not interesting but this site was only for education :]
01:25 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
03:19 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
03:45 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- The professional IRC Client"]
04:13 implement [n=impl@adsl-214-241-68.rmo.bellsouth.net] has joined #agavi
04:14 impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.]
04:15 implement is now known as impl
05:47 Wombert [n=Wombert@dslb-088-064-027-190.pools.arcor-ip.net] has quit []
06:11 impl [n=impl@httpcraft/php/impl] has quit [Client Quit]
06:21 luke` [n=luke`@59.92.163.236] has quit [Read error: 110 (Connection timed out)]
06:49 luke` [n=luke`@59.92.176.118] has joined #agavi
07:28 luke` [n=luke`@59.92.176.118] has quit []
09:02 luke` [n=luke`@61.95.206.107] has joined #agavi
09:39 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:51 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
09:56 ttj Hmm...
09:57 v-dogg huomenta
10:01 ttj Huomen.
10:01 v-dogg what's up
10:01 ttj Fighting with routing.
10:02 ttj <route name="login" pattern="/login" module="%actions.login_module%" action="%actions.login_action%" />
10:02 ttj That doesn't work.
10:02 ttj It works if I change it to pattern="login".
10:05 ttj The address I have is in the format http://foo.example.org/bar/login, where /bar is the root if the agavi app.
10:05 ttj Any ideas?
10:06 ttj Humhum.
10:08 v-dogg hmm...
10:08 v-dogg can you paste your routing.xml (or at least all routes above that one)
10:09 ttj Aha!
10:09 ttj Interesting, .htaccess seems to have changed.
10:09 ttj This could solve it.
10:10 v-dogg you've updated agavi?
10:10 v-dogg routing was changed a bit somewhere along the way
10:10 ttj Yeah, I set up RC1 last week.
10:10 digitarald is it planned to allow 'scheme' option in routing.xml?
10:10 ttj The previous version was from a few months back, since I got fed up with everything changing constantly. :P
10:11 v-dogg digitarald: it's there already
10:11 digitarald ttj: don't give up at every breaking change ;)
10:11 digitarald ok, didn't see it but i'll take a deeper look
10:11 v-dogg since last week
10:11 ttj digitarald: Well, when you have a bunch of code already written and have to ship ~immediately, you baseline some version and use that. ;-)
10:12 v-dogg yeah :)
10:12 v-dogg and then you reserve enough time to update :)
10:12 ttj Yeah, that's why the box over there still runs the old version.
10:12 digitarald v-dogg: scheme as parameter?
10:12 v-dogg updating on every little change is too much work
10:12 ttj And I'm playing with the development stuff right now.
10:12 v-dogg digitarald: yes, for gen()
10:13 ttj Asides from the routing thing, everything seems to pretty much work as it should.
10:13 digitarald i ment routing.xml ... define standard options like https for backend-routes in routing.xml
10:14 codecop [n=codecop@85.206.207.52] has joined #agavi
10:19 v-dogg digitarald: ah, ok
10:20 v-dogg don't know about that
10:20 v-dogg could you leave that to mod_rewrite?
10:21 v-dogg ie. redirect to https if someone tries to use http
10:39 digitarald defining it in routing.xml would be much easier, backend routes have no special directory and anything like that
10:55 Arme[N-11 [n=Arme[N]@80.191.141.182] has joined #agavi
10:57 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)]
11:04 Arme[N-11 [n=Arme[N]@80.191.141.182] has quit [Read error: 60 (Operation timed out)]
11:42 Arme[N-11 [n=Arme[N]@80.191.141.181] has joined #agavi
11:42 Arme[N-11 [n=Arme[N]@80.191.141.181] has quit [Client Quit]
11:43 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
11:59 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:06 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)]
12:06 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
12:10 Arme[N-1] is now known as Arme[morizer]
12:10 Arme[morizer] is now known as Arme[0]
12:34 splatch` hello
12:36 v-dogg hi
12:42 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
12:42 Whisller hi :]
12:46 v-dogg what's up
12:52 Whisller Good weather ;)
13:11 v-dogg not here :I
13:11 v-dogg it's been raining non-stop for several weeks
13:12 v-dogg and it's bloody december already, it should be -5C and snowing
13:17 Whisller in my city is sunny
13:17 Whisller but i want snow :/
13:18 Whisller tomorrow again will be a cloudy weather :/
13:20 Whisller but i prefer summer
13:56 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"]
14:00 luke` is propel.phpdb.org down?
14:01 v-dogg apparently
14:02 v-dogg I've been trying to access it since morning
14:02 luke` damn
14:09 v-dogg something particular you needed?
14:10 luke` need to or a bunch of criteria's
14:12 luke` something to the effect of
14:13 luke` select id from table where name like '%foo%' or address like '%bar%' or company like '%baz%'
14:16 Wombert [n=Wombert@dslb-088-064-022-205.pools.arcor-ip.net] has joined #agavi
14:16 v-dogg doesn't simple $criteria->addOr(col, value, Criteria::LIKE); do that?
14:17 v-dogg morning Wombert
14:17 luke` let me try that
14:17 luke` hey Wombert
14:30 Wombert ttj: routing working now?
14:30 Wombert you really should use the latest version there because only that works on all platforms
14:31 Wombert ttj: btw you should always anchor routes
14:31 Wombert pattern="^/login" etc
14:32 Wombert digitarald: you can define a default scheme for urls
14:32 Wombert but
14:32 Wombert that is nonsense
14:32 Wombert just set a base href...
14:35 digitarald i want to define a default scheme for some routes in the xml, thats not possible?
14:35 Kubicek [n=nnnnnnnk@213.151.79.2] has left #agavi []
14:37 Wombert how would that be possible
14:37 Wombert no it's not
14:37 Wombert a base href would be enough wouldn't it
14:41 v-dogg I think he want's to have links from a page in http://www.foo.com/public to https://www.foo.com/private
14:41 v-dogg -'
15:07 Wombert yeah I know
15:08 Wombert and he can use the options param for that
15:09 digitarald ok
15:19 v-dogg digitarald: and there's always the possibility to extend routing and make your gens() method or whatever
15:20 v-dogg a bit hacky perhaps but saves a few character when generating urls
15:23 ttj Wombert: Yeah. I just took the carots away when I was trying to figure out why routing was broken. :-)
15:23 digitarald right
16:08 luke` [n=luke`@61.95.206.107] has quit [Read error: 110 (Connection timed out)]
16:11 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
16:16 Wombert I still don't get it
16:17 Wombert set a base href with https:// and the problem is gone anyway!?
16:25 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
16:29 eremit_ [n=eremit@p5490F207.dip.t-dialin.net] has joined #agavi
16:37 eremit [n=eremit@p5490C42F.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
16:54 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
17:01 MrJeep Hey wombert
17:01 Wombert hi
17:01 MrJeep how are you &
17:04 MrJeep well, last week I said I had some problem with extending JS class with prototype
17:04 MrJeep I made a simple example
17:04 MrJeep once pastebin is ready I'll let you look at it
17:09 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
17:15 MrJeep http://rafb.net/paste/results/9f6djj16.html
17:15 MrJeep test is an instance of TigerTest1
17:16 MrJeep however, is initialize methods is the TigerTest3 initialize method
17:21 Wombert Object.extend(Object.extend(TigerTest2.prototype, TigerTest1.prototype), {
17:21 Wombert / code
17:21 Wombert }
17:21 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 54 (Connection reset by peer)]
17:22 Wombert after TigerTest2 = Class.create();
17:22 MrJeep ok thnx I'll try that
17:22 MrJeep The proper way to extends class with prototype is a little blury
17:25 MrJeep well, it's working, thnx
17:25 digitarald try mootools, based on Base.js, class handling and extending is 200% better
17:25 foresth [i=foresth@local.hide-forest.net] has joined #agavi
17:26 MrJeep well, I'll take a look at it
17:27 digitarald http://dev.mootools.net is the develepment svn for 1.0. there are some test cases
17:27 MrJeep http://wiki.mootools.net/documentation/gettingstarted <-- you are damn right
17:30 digitarald very neat and much smaller then proto. real good architecture which allows very small code-size
18:14 MrJeep jeez, I have the same problem with prototype
18:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:14 MrJeep even with thatObject.extend(Object.extend(TigerTest2.prototype, TigerTest1.prototype), {
18:14 MrJeep i guess I'll give mootools a try
18:21 MrJeep with class extending, what about the parent constructor ?
18:35 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has joined #agavi
18:35 toby_swe[a] Hi,
18:37 toby_swe[a] I want all times and dates to be dsiplayed in my local timezone, no matter what locale is used, can I set some kind of default timezone somewhere?
18:39 kaos yes
18:39 kaos use <available_translators default_timezone="...">
19:02 luke` [n=luke`@59.92.176.118] has joined #agavi
19:10 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 104 (Connection reset by peer)]
20:02 eremit_ is now known as eremit
20:28 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi
20:52 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has quit [Read error: 104 (Connection reset by peer)]
21:56 digitarald| [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
21:56 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 145 (Connection timed out)]
22:00 digitarald| [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
22:03 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi
22:08 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
22:10 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:25 digitarald validator question :)
22:25 digitarald who wants to answer :)
22:26 Wombert may I quote from the topic
22:26 Wombert "Have a question? Just ask it, and wait patiently, because patience is the key to happiness"
22:26 Wombert :p
22:27 digitarald if u could see how happy i am that u want to answer my question ;)
22:29 Wombert I just looked at IRC by accident
22:29 Wombert as most people, I don't check it regularly
22:29 digitarald fileupload validation ... how can i check if an optional file upload is validated?
22:30 digitarald they don't appear in the parameterholder
22:31 digitarald only if i upload an invalid file (no image in this case) the validation fails
22:32 digitarald if i don't upload a file no errors is thrown and i can't check in the action if something is uploaded or not
22:32 Wombert yep
22:32 Wombert I know
22:32 Wombert I talked about this to kaos the other day
22:33 Wombert I thought about some kind of flag you can specify that can then be accessed
22:33 Wombert to check whether or not a validator succeeded
22:33 Wombert that's important for severity=none etc
22:33 Wombert however, this is not trivial
22:34 digitarald maybe check the provides that where ... provided :D
22:35 digitarald -h
22:37 digitarald another solution for checking that now? checking for an succeded upload? req->getFileError?
22:43 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:46 _mz_ [n=x6cx7a@80.252.138.123] has joined #agavi
22:49 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
22:56 toby_swe[a] still having a bit of trouble with timezones. Using routing based on sample app to change language and do translations between dateformats etc. which works fine. But I only want language to change, not the actual displayed times. don't now how to get it to work :(
22:58 toby_swe[a] e.g. I want English speaking people living in Sweden to view the site in English, but still see the Swedish times displayed. Now I get all times like CET-1 hour when i view English pages...
23:01 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has quit [Read error: 104 (Connection reset by peer)]
23:02 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi
23:18 _mz_ [n=x6cx7a@80.252.138.123] has quit [Read error: 110 (Connection timed out)]
23:24 Wombert toby_swe[a]: no problem
23:25 Wombert or maybe it is a problem?
23:25 Wombert :p
23:25 Wombert hmm
23:49 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
Day changed Tue Dec 05 2006
00:13 msrgi [n=emg@adsl-84-227-24-193.adslplus.ch] has joined #agavi
00:13 msrgi hi
00:13 msrgi anybody around?
00:14 msrgi just wanted to say, that the example app in the 0.11RC has got a bug
00:14 msrgi http://www.mail-archive.com/commits@lists.agavi.org/msg00121.html
00:15 msrgi or something similar
00:15 msrgi cu
00:15 msrgi [n=emg@adsl-84-227-24-193.adslplus.ch] has quit [Client Quit]
03:45 Wombert [n=Wombert@dslb-088-064-022-205.pools.arcor-ip.net] has quit []
05:06 Wombert [n=Wombert@dslb-088-064-022-205.pools.arcor-ip.net] has joined #agavi
05:07 Wombert mmmh ffs
05:07 Wombert can't sleep :<
06:05 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
06:59 luke`_ [n=luke`@59.92.222.86] has joined #agavi
07:09 luke` [n=luke`@59.92.176.118] has quit [Read error: 110 (Connection timed out)]
07:13 Wombert [n=Wombert@dslb-088-064-022-205.pools.arcor-ip.net] has quit [Nick collision from services.]
07:13 Wombert [n=Wombert@dslb-088-064-026-122.pools.arcor-ip.net] has joined #agavi
07:13 luke`_ [n=luke`@59.92.222.86] has quit []
08:07 v-dogg huomenta
08:08 ttj Huomen.
08:08 v-dogg what's up
08:09 ttj Not much. Typing up some tagging stuff. You?
08:09 v-dogg just got to the office
08:10 v-dogg time to make some coffee
08:10 ttj :-)
08:10 ttj I switched from coffee to tea a while back.
08:11 ttj Although now that I've been drinking excessive amounts of tea, I might as well switch back to coffee... :D
08:11 v-dogg I think today is going to finally be the svn-up-svn.agavi.org day
08:11 v-dogg heh
08:12 ttj svn-up-svn?
08:12 v-dogg svn up svn.agavi.org
08:13 ttj Ah. I should defintately switch back to coffee. :D
08:13 ttj See? Can't even type.
08:15 v-dogg I'm using #1187 now and I don't use i18n so updating shouldn't break my project too badly
08:15 foresth [i=foresth@local.hide-forest.net] has joined #agavi
08:19 ttj Emphasis on "shouldn't". :-)
08:19 v-dogg :p
08:19 luke` [n=luke`@61.95.206.107] has joined #agavi
08:21 foresth hi
08:22 ttj Heya.
08:23 v-dogg loggin classes renamed, validator severitys and modes changed...
08:23 v-dogg that's all I can find that affects my project
08:24 v-dogg s/ys/ies/
08:28 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
08:44 Arme[N-11 [n=Arme[N]@80.191.141.181] has joined #agavi
08:44 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
08:47 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)]
09:08 luke`_ [n=luke`@61.95.206.107] has joined #agavi
09:10 luke` [n=luke`@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)]
09:40 Arme[N-11 is now known as Arme[N-1]
10:13 toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
10:46 codecop [n=codecop@85.206.207.52] has joined #agavi
10:53 splatch` oi!
11:11 foresth [i=foresth@local.hide-forest.net] has joined #agavi
11:25 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
11:31 Arme[N-1] is now known as Arme[N]
11:39 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has joined #agavi
12:04 Arme[bNC] [n=Arme[N]@85-18-14-9.fastres.net] has joined #agavi
12:05 Arme[bNC] [n=Arme[N]@85-18-14-9.fastres.net] has left #agavi []
12:06 Arme[bNC] [n=Arme[N]@85-18-14-9.fastres.net] has joined #agavi
12:09 Arme[bNC] is now known as Arme[0]
12:11 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
12:31 Arme[0] is now known as Arme[bNC]
12:32 Arme[bNC] is now known as Arme[0]
12:33 Arme[0] is now known as Arme[bNC]
12:33 Arme[bNC] is now known as Arme[0]
12:34 Arme[0] is now known as Arme[N-1]
12:34 Arme[N-1] is now known as Arme[0]
12:49 Arme[0] [n=Arme[N]@85-18-14-9.fastres.net] has quit [Remote closed the connection]
12:50 Arme[0] [n=Arme[bNc@85-18-14-9.fastres.net] has joined #agavi
12:56 Arme[0] is now known as Arme[N-1]
12:57 Arme[N-1] is now known as Arme[0]
13:01 Arme[0] [n=Arme[bNc@85-18-14-9.fastres.net] has quit [Remote closed the connection]
13:02 Arme[0] [n=Arme[bNc@85-18-14-9.fastres.net] has joined #agavi
13:02 luke`_ the propel guys should send their website for a massage too
13:03 Arme[0] is now known as Arme[bNc]
13:04 codecop [n=codecop@85.206.207.52] has joined #agavi
13:05 Arme[bNc] is now known as Arme[0]
13:05 Arme[0] is now known as Arme[bNc]
13:06 Arme[bNc] is now known as Arme[0]
13:09 luke`_ [n=luke`@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)]
13:18 luke` [n=luke`@61.95.206.107] has joined #agavi
13:23 Arme[0] is now known as Arme[bNc]
13:23 Arme[bNc] is now known as Arme[0]
13:32 Arme[0] [n=Arme[bNc@85-18-14-9.fastres.net] has quit [Remote closed the connection]
14:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
14:13 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
14:15 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
14:15 Whisller hi :)
14:16 ttj Hey.
14:19 codecop [n=codecop@85.206.207.52] has joined #agavi
14:20 Whisller Ok, i have eclipse. Now i time for testing :)
14:21 Whisller *it's
14:39 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
14:48 toby_swe[a] is there any calendar method to compute difference between two dates without moving the calendar forward as in fieldDifference()
14:55 v-dogg somebody asked that very same question about a week ago
14:56 v-dogg but I don't remember what kaos answered :)
15:02 toby_swe[a] ok, I'll have a look in the logs. np.
16:25 luke` [n=luke`@61.95.206.107] has quit [Read error: 145 (Connection timed out)]
16:29 MrJeep hi
16:30 MrJeep it is possible to use custom variables in the autoload config file ?
16:30 MrJeep like %myconfig.my_custom_dir%
16:32 eremit_ [n=eremit@p5490E456.dip.t-dialin.net] has joined #agavi
16:32 Arme[bNc] [n=Arme[N]@80.191.141.181] has joined #agavi
16:32 Arme[bNc] [n=Arme[N]@80.191.141.181] has quit [Client Quit]
16:33 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:35 v-dogg MrJeep: yes (I think so)
16:36 v-dogg actually I am pretty sure (I used to use them myself)
16:40 eremit [n=eremit@p5490F207.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
16:41 MrJeep well
16:41 MrJeep Configuration file "D:/Web/Project/Open/Tiger/Development/webapp/config/autoload.xml" specifies class "MjaxAction" with nonexistent or unreadable file "D:\Web\Project\Open\Tiger\Development\webapp/%mjax.lib_dir%/mjax/action/MjaxAct​ion.class.php" in D:\Web\Project\Sources\Agavi\src\core\Agavi.class.php on line 61
16:41 MrJeep maybe I'm missing something
16:41 MrJeep the variable is not converted
16:43 v-dogg is it defined before autoload.xml is parsed?
16:43 v-dogg I bet it isn't :)
16:43 MrJeep just after Agavi::bootstrap
16:43 Wombert which is too late
16:43 v-dogg yep
16:43 MrJeep before then ?
16:44 v-dogg yep
16:44 MrJeep lol
16:44 MrJeep before bootstrap, there is no autoloading... so : require AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/mjax/mjax.xml');
16:44 MrJeep AgaviConfigCache does not exists
16:45 Wombert ehm
16:45 Wombert no
16:45 Wombert sighs
16:45 MrJeep :S
16:45 Wombert AgaviConfig::set('mjax.lib_dir', '/path/blah/');
16:45 Wombert Agavi::bootstrap();
16:45 Wombert but
16:45 MrJeep look like a retard sonce again
16:45 Wombert but
16:45 Wombert but
16:45 Wombert but
16:45 Wombert !
16:45 MrJeep yes
16:45 MrJeep but :)
16:45 Wombert you shouldn't do it that way
16:45 Wombert put stuff like that into app/lib/
16:46 Wombert then %core.lib_dir%/mjax/mjax.php
16:46 Wombert btw
16:46 Wombert what does mjax do
16:46 MrJeep mjax = mrjeep agavi extension ;P
16:46 MrJeep my personal lib for agavi
16:46 MrJeep sounds cool ;P
16:46 MrJeep however, I use this lib on every project
16:47 MrJeep and I wanted to put it on a global folder
16:47 MrJeep just like the agavi src folder
16:47 Wombert how about adding that to your include path
16:47 Wombert autoload supports that, too, of course :)
16:47 MrJeep could be an idea
16:48 digitarald or change your include pathes in your index.php
16:48 Wombert config.php would be the better place actually
16:49 MrJeep the "include_path" looks for subdirectory ?
16:50 MrJeep lets say my incpath is c:\lib
16:50 MrJeep and I have files ins c:\lib\parser c:\lib\xml
16:50 MrJeep does it look into the sub-folders ?
16:51 v-dogg no
16:52 digitarald just add them both
16:52 Wombert no
16:52 v-dogg or use path when you include/autoload
16:52 Wombert yes
16:52 Wombert that's how you use include paths
16:54 MrJeep ok, I guess there is a variable for the include path ?
16:54 MrJeep something similair to %core.lib_dir% ?
16:54 MrJeep hum
16:54 MrJeep I could simply set a variable AgaviConfig::set('core.app_dir', dirname(__FILE__));
16:54 MrJeep like this in config.php
16:57 Wombert no no no no no
16:57 MrJeep why not ?
16:57 Wombert http://de.php.net/manual/en/ini.core.php#ini.include-path
16:58 MrJeep I know what include path is
16:58 MrJeep but I can't see the big difference between adding an include path to my lib directory and setting an Agavi config var
17:01 Wombert let's say you package your stuff like
17:01 Wombert mylib/mylib.class.php
17:01 Wombert mylib/mylibutil.class.php
17:01 Wombert with include path, you can include the second file in the first one
17:07 MrJeep ok, well, I'll think about it
17:07 MrJeep is there documentation online about the compile.xml file ?
17:12 foresth [i=foresth@local.hide-forest.net] has joined #agavi
17:31 kaos what would you need documented there ? :)
17:31 kaos its simple
17:32 kaos ... <compiles><compile>your_file</compile></compiles> ...
17:43 MrJeep well, I was wondering if it was possible to compile some .js file into a big .js file ...
17:43 MrJeep using agavi
17:48 Wombert eremit_:
17:48 Wombert ping
17:48 Wombert need you
17:48 Wombert urgent
17:48 eremit_ aye?
17:48 eremit_ is now known as eremit
17:48 Wombert query
18:03 codecop how to use private parameters in agavi, it was in mojavi $request->setAttribute() not setParameter()?
18:08 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 104 (Connection reset by peer)]
18:22 digitarald $this->getContext()->getRequest()->setAttribute(...);
18:22 digitarald nearly the same like in mojavi
18:26 EleRas [n=EleRas@neteraser.de] has joined #agavi
18:26 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <-"]
18:32 Wombert codecop: what do you mean, private parameters?
18:49 codecop when this parameters imposible to modify frow GET or POST
18:51 Wombert I don't get it
18:52 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
18:54 codecop in mojavi u remember request->getParameter(ttt,123)? and when user types url like www....index.php?ttt=111 it will be in getParameter(ttt) == 111, i want to sisable this possibility or this is disabled by strict routing?
18:54 codecop disable*
18:58 codecop if user gueses my parameter name in class
18:59 Wombert ah
18:59 Wombert if you set validation mode to strict or to conditional
18:59 Wombert only those parameters that you validated will be available
18:59 Wombert BUT
19:00 Wombert why do you use request params?
19:00 Wombert use request attributes for that!
19:00 Wombert params are ONLY for incoming request variables
19:00 MrJeep_ [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
19:02 codecop where to set strict or conditional ?
19:03 Wombert factories.xml
19:03 Wombert see sample app
19:03 Wombert but still
19:03 Wombert I think you're doing something wrong there
19:03 Wombert why do you use request params
19:03 codecop this request->set/getparams was eg about mojavi
19:05 Wombert okay
19:05 Wombert uhm
19:05 Wombert tell me what you're trying to do please :)
19:05 codecop ;)
19:09 codecop just that GetCountUsers($p->getParameter('login'), $p->getParameter('passw'));
19:09 codecop but i was intresting how to make parameters or atributes private from get and post
19:21 Wombert I'm afraid I still don't understand :(
19:29 benny`work [n=benny@p54AC35B8.dip0.t-ipconnect.de] has joined #agavi
19:33 benny`work [n=benny@p54AC35B8.dip0.t-ipconnect.de] has quit [Client Quit]
19:48 benny`work [n=benny@p54AC35B8.dip0.t-ipconnect.de] has joined #agavi
20:47 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
21:11 MrJeep_ [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit []
21:12 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 145 (Connection timed out)]
22:08 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:34 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:40 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
22:44 v-dogg what's the easiest way to find the last day of the current month?
22:45 v-dogg or, actually, the last day of any month
23:02 kaos day of week (as in monday, tuesday, ...) or the day in the month ?
23:04 v-dogg day in the month
23:04 v-dogg ie. 28, 30 or 31 (normally)
23:04 kaos yeah
23:04 kaos AgaviCalendarGrego::monthLength($year, $month)
23:05 kaos while month is 0 indexed
23:05 kaos and you can use the constants in AgaviDateDefinitions
23:05 v-dogg $today = getdate(); $last = mktime(0, 0, 0, $today['mon'], idate('t'), $today['year']);
23:05 v-dogg :)
23:05 v-dogg thanks :)
23:06 kaos $today = getdate(); $last = mktime(0, 0, 0, $today['mon'], idate('t'), $today['year']); <-- if i would read that code i would have NO clue what it does :p
23:08 v-dogg :D
23:18 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
Day changed Wed Dec 06 2006
00:06 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
00:50 EleRas [n=EleRas@neteraser.de] has quit ["(null)"]
00:54 impl [n=impl@httpcraft/php/impl] has quit [Excess Flood]
00:55 impl [n=impl@httpcraft/php/impl] has joined #agavi
01:11 benny`work [n=benny@p54AC35B8.dip0.t-ipconnect.de] has quit ["unset($this);"]
02:01 epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:01 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: splatch`
02:01 splatch` [n=splatch@213.251.169.132] has joined #agavi
03:41 Wombert [n=Wombert@dslb-088-064-026-122.pools.arcor-ip.net] has quit []
04:40 luke` [n=luke`@59.92.201.173] has joined #agavi
05:58 impl [n=impl@httpcraft/php/impl] has quit [Read error: 110 (Connection timed out)]
06:12 kaos [n=kaos@ppp-82-135-13-98.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"]
07:24 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
07:25 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Client Quit]
07:55 CIA-11 dominik * r1411 /branches/0.11/src/translation/AgaviGettextTranslator.class.php: fixed singular/plural handling when no plural function is defined or the messages don't exist in the translation file
09:47 v-dogg huomenta
10:05 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
10:15 Arme[bNc] [n=Arme[N]@80.191.141.182] has joined #agavi
10:15 Arme[bNc] [n=Arme[N]@80.191.141.182] has quit [Client Quit]
10:18 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:43 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
10:59 EleRas [n=EleRas@neteraser.de] has joined #agavi
10:59 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
11:00 luke` [n=luke`@59.92.201.173] has quit []
11:52 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
12:31 luke` [n=luke`@61.95.206.107] has joined #agavi
12:31 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
12:31 Whisller hi
12:31 Whisller :]
12:35 ttj Hi.
12:36 Wombert [n=Wombert@dslb-088-064-015-250.pools.arcor-ip.net] has joined #agavi
12:47 digitarald when i set setHttpStatusCode and i only want to send this code, no content ... what do i have to do?
12:47 digitarald return $this->response->send(); ?
13:25 Arme[N] is now known as Arme[morizer]
13:29 digitarald found a bug in agavifileloggerappender
13:29 digitarald what a name :D
13:30 digitarald shutdown is called twice and after fclose($this->handle) should be $this->handle = null;
13:44 codecop [n=codecop@85.206.207.52] has joined #agavi
14:34 luke` [n=luke`@61.95.206.107] has quit [Read error: 110 (Connection timed out)]
16:00 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
16:00 MrJeep hi
16:16 foresth [i=foresth@local.hide-forest.net] has joined #agavi
16:16 foresth [i=foresth@local.hide-forest.net] has quit [Client Quit]
16:17 foresth [i=foresth@local.hide-forest.net] has joined #agavi
16:19 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
16:29 eremit_ [n=eremit@p5490E904.dip.t-dialin.net] has joined #agavi
16:36 digitarald Wombert? *ping*
16:38 eremit [n=eremit@p5490E456.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
16:51 eremit_ is now known as eremit
16:52 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
16:56 digitarald| [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
16:57 digitarald| How can i put the SessionId in the routing.xml?
17:11 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has joined #agavi
17:12 toby_swe[a] Hi, what's the use of dependencies for validators? How do they work?
17:13 digitarald| thats easy ...
17:14 digitarald| just provides="x" in one and then depend="x" in the one that depends on the other validator
17:14 digitarald| depends="x" ...
17:14 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 110 (Connection timed out)]
17:17 toby_swe[a] so if I want validator a to be evaluated if and only if validator b evaluates to true, then I write something like <validator name=a depends=x>, <validator name=b provides=x>, is that how they work?
17:21 Wombert re
17:30 Wombert toby_swe[a]: yep
17:31 ttj Heya.
17:31 Wombert digitarald|: do you mean you want to have the SID in the url when generating URLs?
17:31 toby_swe[a] thanks, then I was right :)
17:31 Wombert toby_swe[a]: at least I hope it works that way
17:32 toby_swe[a] well, it seems to, after a quick test now
17:32 Wombert digitarald|: you can either enable session.use_trans_sid
17:32 Wombert but that's uncool
17:33 Wombert or you use the use_trans_sid option for gen()
17:33 Wombert $r->gen('routename', array($params), array('use_trans_sid' => true));
17:33 Wombert remember that you can change the default options in the factories configuration
17:41 digitarald| and how to add the trans_id optional to the routing.xml?
17:41 digitarald| <route name="SID" pattern="^/({SID:[a-z0-9]{32}})" stop="false" cut="true" imply="true" />
17:44 Wombert uhm
17:44 Wombert what is the point of that?
17:45 Wombert ah
17:45 Wombert mh
17:45 Wombert you have to write a callback, obviously
17:45 Wombert I thought you wanted /foo/bar?PHPSESSID=4aa45c4df4ad4s4c4as4d4sa123231
17:47 digitarald| no ... foo.com/19193923472375982375/de/bla
17:47 Wombert yeah
17:47 digitarald| cooler ;)
17:47 Wombert gotta use a callback
17:48 Wombert but
17:48 Wombert uh uh
17:48 Wombert sec
17:49 Wombert okay
17:49 Wombert so
17:49 Wombert you have to configure the storage to not auto start
17:49 Wombert then implement both onMatched and onNotMatched
17:49 Wombert set the sid
17:49 Wombert start the session
17:49 Wombert ($storage->startup())
17:49 Wombert and in onGenerate, read the SID
17:50 Wombert don't forget to handle the case where cookies are used
17:52 eremit [n=eremit@p5490E904.dip.t-dialin.net] has quit []
17:54 Wombert oh wait
17:54 Wombert that won't work
17:54 Wombert because the user is initialized before that
17:54 Wombert and reads from the storage
17:54 Wombert mmmh
17:55 digitarald| ok ... so the only solution is to append it to the url the standard-way
17:56 eremit [n=eremit@p5490E904.dip.t-dialin.net] has joined #agavi
17:59 Wombert not sure
18:02 Wombert btw
18:03 Wombert set the response in the status
18:03 Wombert err
18:03 Wombert set the status in the response
18:03 Wombert then don't set any content or define a template
18:03 Wombert that's all...
18:03 Wombert v-dogg: ping
18:03 Wombert need ya mate
18:03 Wombert digitarald|: we can look into that problem later
18:12 digitarald| thx
18:15 eremit [n=eremit@p5490E904.dip.t-dialin.net] has quit []
18:37 digitarald| [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
18:53 v-dogg Wombert: hey man
18:56 Wombert query
19:11 eremit [n=eremit@p5490E904.dip.t-dialin.net] has joined #agavi
19:43 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Try HydraIRC -> http://www.hydrairc.com <-"]
19:47 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
19:52 Arme[morizer] is now known as Arme[N]
19:52 Arme[N] http://jadmadi.net/blog/2006/12/03/you-might-be-a-programmer-if/
19:55 Arme[N] 13 and 14 :)
20:03 Wombert hyvää itsenäisyyspäivää, v-dogg and ttj :)
20:03 ttj Thanks. :-)
20:04 ttj Although I'm still reflecting on what I feel about independence. And right now I'm stuck on the problems caused by the nationalistic mindset. :P
20:07 Arme[N] hyvää itsenäisyyspäivää!!?? hmm!
20:15 Wombert lol
20:16 Wombert and I thought the germans had issues when it comes to patriotism ^^
20:19 digitarald u had no flag on your car during world championship? ;)
20:19 Wombert I did!
20:19 Wombert but an australian flag :)
20:21 digitarald ... spanish flag for me :D
20:44 v-dogg digitarald: have you discovered where the problem is with fileloggerappender?
20:44 digitarald yes, like described ...
20:45 v-dogg shutdown is called twice?
20:45 v-dogg scrolls back up
20:46 digitarald i'll just added one line that set the handler null
20:47 digitarald it's even a more logical line, because every check in the appender checks for null
20:50 Wombert _why_ does it call shutdown twive
20:50 Wombert twice
20:55 digitarald i'll check again ...
20:56 digitarald i wondered about an error that was thrown ... fclose tried to close an undefined handler 123.
20:58 v-dogg that's weird because I haven't noticed such a problem
21:00 digitarald isn't an $this->handle = null in shutdown good beside that weird behaviour?
21:00 v-dogg just commiting it
21:00 Wombert we should cure the cause, not the symptom
21:02 digitarald i'm actually checking again
21:03 v-dogg I use rotating appender extensively and I've never seen that happening (rotating appender only extends normal appenders initialize method, everything else is the same)
21:09 digitarald i use it too, the rotating appender
21:10 digitarald and i log via
21:10 digitarald $this->getContext()->getLoggerManager()->log(new AgaviLoggerMessage(...));
21:18 digitarald :D ... i have it ...
21:18 digitarald it's called ... 3 times ;)
21:19 digitarald with the same resource id
21:19 Wombert from where
21:19 digitarald how can i check in php?
21:20 digitarald did too much javascript the last month ...
21:23 digitarald from AgaviContext, AgaviLoggerManager, AgaviLogger, AgaviFileLoggerAppender->shutdown()
21:24 digitarald i have 3 registered debuggers, debug/default/error, all AgaviRotatingFileLoggerAppender ...
21:45 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
21:45 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [Client Quit]
21:59 digitarald so ... problem solved?
21:59 digitarald ;)
22:05 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:54 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
23:02 v-dogg digitarald: can you show me your logging.xml?
23:06 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 110 (Connection timed out)]
23:11 foresth [i=foresth@local.hide-forest.net] has joined #agavi
23:24 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:24 digitarald k
23:26 digitarald http://pastebin.ca/269850
23:33 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
23:33 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
23:34 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
23:38 MrJeep hum
23:38 MrJeep I downloaded the last source with svg
23:38 MrJeep and i get a parse error
23:38 MrJeep Parse error: parse error, unexpected T_SL in D:\Web\Project\Sources\Agavi\src\request\AgaviWebRequest.class.php on line 129
23:38 MrJeep and the line 129
23:38 MrJeep <<<<<<< .mine
23:38 MrJeep return $this->getUrlHost() . (($forcePort || ($scheme == 'https' && $port != 443) || ($scheme == 'http' && $port != 80)) ? ':' . $port : '');
23:38 MrJeep =======
23:38 MrJeep return $this->getUrlHost() . ($forcePort || AgaviToolkit::isPortNecessary($scheme, $port) ? ':' . $port : '');
23:38 MrJeep >>>>>>> .r1411
23:39 MrJeep some >>>>>>>>>.r1411
23:39 Wombert that is a conflict
23:39 Wombert "svn revert" that file
23:39 Wombert you had local modifications
23:39 MrJeep well, I never edited that file
23:39 MrJeep i guess I'll re-download the whole package
23:40 MrJeep thnx
23:41 Wombert you did!
23:41 Wombert because I asked you to
23:41 Wombert remember when it used port 80 instead of 81
23:42 Wombert as I said, just revert that file and the problem will go away
23:42 MrJeep I updated the source a lot of time after editing this file
23:42 MrJeep ahh well I thinkg i get it
23:42 MrJeep it's ok
23:42 Wombert yes but now I modified the same line which caused a collision :)
23:42 MrJeep nevermind, once again
23:42 impl Wombert: Is there any plan to add support for multiple hostnames in routing?
23:43 Wombert there is support in it already
23:43 Wombert you can match hostnames
23:43 impl Oh, really? D:
23:43 Wombert and you can specify a hostname when generating a url
23:43 impl How do I miss these things!
23:43 Wombert yep
23:43 Wombert <:
23:49 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 104 (Connection reset by peer)]
23:57 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
Day changed Thu Dec 07 2006
01:16 toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 104 (Connection reset by peer)]
02:54 epaulin [n=epaulin@61.191.26.228] has joined #agavi
06:09 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
07:08 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
07:12 Wombert [n=Wombert@dslb-088-064-015-250.pools.arcor-ip.net] has quit [Nick collision from services.]
07:12 Wombert [n=Wombert@dslb-088-064-002-117.pools.arcor-ip.net] has joined #agavi
07:20 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
07:20 Wombert [n=Wombert@dslb-088-064-002-117.pools.arcor-ip.net] has quit []
09:04 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
09:04 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:06 v-dogg huomenta
09:14 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
09:35 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
09:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
09:53 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:53 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
09:55 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
09:56 ttj Huomen.
09:56 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
10:07 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
10:28 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:29 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
10:35 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
10:35 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:22 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
11:27 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:29 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
11:49 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
12:03 Arme[N] is now known as Arme[morizer]
12:10 codecop [n=codecop@85.206.207.52] has joined #agavi
12:15 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
12:21 ttj Hmm...
12:22 ttj If I have a route like <route name="foo" patter="/foo(/{arg1:static})?(/{arg2:\S+})?" module="Foo" action="Bar"></route>.
12:23 ttj And then the defaults for both vars are empty, the routing works, except for $r->gen();
12:23 ttj If I call $r->gen("foo", array("arg1"=>"static", "arg2"=>"something")), it returns "/foostaticsomething".
12:26 ttj Should I perhaps just split that into two routes, the first one with the static arg1 and define it as stopping and then the second one without arg1...
12:32 ttj Ok, yeah. That works.
12:35 digitarald i have this pattern and it works ... "/iupload/(do:[a-z0-9_-]+)?(/{id:[0-9]+})?"
12:43 digitarald v-dogg? *ping*
12:55 Arme[morizer] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
12:55 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:12 Arme[N-1] is now known as Arme[N]
14:23 v-dogg digitarald: pong
14:24 digitarald ;) i "pastebined" the logging.xml yesterday
14:24 digitarald did u take a look at it? i saw no problem in it
14:25 v-dogg yes, thanks, I had a brief look but I've had such a busy day that I haven't got into sorting it out yet
14:25 v-dogg it looks ok
14:25 foresth [i=foresth@local.hide-forest.net] has joined #agavi
14:34 horros [n=mle@a81-197-134-237.elisa-laajakaista.fi] has joined #agavi
14:35 horros herro
14:36 v-dogg hero?
14:36 v-dogg he-man?
14:39 horros slaps random stuff
15:35 digitarald Routing question, anybody here? Why do i have to define 'SID' to use the option use_trans_id
15:35 digitarald use_trans_sid
15:37 v-dogg to strip it off from the route before other route patterns are checked?
15:38 v-dogg ie. if someone clicks www.foo.com/products/123/show/adfe987123fda
15:38 v-dogg you want to get rid of the sid before the actualy route is processed
15:38 v-dogg just guessing here, I use cookies always :)
15:39 v-dogg why do you want to use sid?
15:39 digitarald but the session-parameter is defined in factory sessionstorage?
15:40 digitarald <parameter name="session_name">SID</parameter>
15:40 digitarald i need the session id in my url
15:41 v-dogg ah it's a query parameter... hmm... don't see no reason to have routing processing it then
15:41 digitarald the SID constant?
15:42 digitarald i searched for SID, it's only used in routing in this use_trans_sid check ...?!
15:42 v-dogg hmm... I actually don't know how it works, forget everything I said :D
15:42 v-dogg erase & rewind :)
15:42 digitarald i'll tell wombert what u tell me ;)
15:42 digitarald :D
15:43 v-dogg he'll read it from the logs anyway
15:43 digitarald i think i erase this SID check ... just for testing of course ;)
15:44 digitarald first he checks for SID, then he uses session_name() to append the parameter?! ...
15:44 v-dogg I can already see how his face gets read and the veins in his forehead start to get bigger and bigger when he reads my advices :p
15:45 digitarald :D
15:46 v-dogg hugs wombie (for the logs :)
15:50 digitarald and now i need the solution to put the SID in routing.xml ... but i think that's not possible ...
15:52 horros this is confusing... I have three templates and three actions... templates look the same but display slightly different data. do changes in template1, post, use $controller->forward() to get back to the previous page... everything works fine
15:52 horros template2, everything works fine.
15:53 horros template3... not so. changes are stored in the db, but ff insists on showing the unchanged data
15:53 horros :I
15:59 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
16:12 eremit [n=eremit@p5490E904.dip.t-dialin.net] has quit []
16:14 Arme[N] is now known as Arme[morizer]
16:35 Wombert [n=Wombert@dslb-088-064-002-117.pools.arcor-ip.net] has joined #agavi
17:16 Arme[morizer] is now known as Arme[N]
17:32 CPUnerd [n=davidc@unaffiliated/cpunerd] has joined #agavi
17:33 CPUnerd Wombert, can I pm for a sec ?
17:33 Wombert of course
17:58 kaos [n=kaos@ppp-82-135-80-115.dynamic.mnet-online.de] has joined #agavi
18:01 AgaviBot [n=dzuelke@dslb-088-064-002-117.pools.arcor-ip.net] has joined #agavi
18:02 Wombert !seen horros
18:02 um Wombert: horros was last seen in # 2 hours, 9 minutes, and 7 seconds ago saying: <horros> :I
18:02 AgaviBot Wombert: horros is online right now, last message on Thu Nov 2 09:26:30 2006 saying "http://robotman.cracked.com/2006/10/crossword_puzzle.php"; (joined Thu Oct 12 14:53:37 2006, left Thu Nov 2 09:54:32 2006)
18:02 Wombert !hug um
18:02 AgaviBot hugs um
18:02 Wombert !info
18:02 um Wombert: Error: The command info is available in the Observer and RSS plugins. Please specify the plugin whose command you wish to call by using its name as a command before info.
18:02 AgaviBot Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure!
18:03 CPUnerd !seen ' or ''='
18:03 um CPUnerd: (seen [<channel>] <nick>) -- Returns the last time <nick> was seen and what <nick> was last seen saying. <channel> is only necessary if the message isn't sent on the channel itself.
18:03 AgaviBot CPUnerd: I'm sorry, but ' never spoke a single word here.
18:08 EleRas [n=EleRas@neteraser.de] has quit [Remote closed the connection]
18:10 EleRas [n=EleRas@neteraser.de] has joined #agavi
18:41 AgaviBot News from Agavi: Timeline at http://trac.agavi.org/timeline :
18:41 AgaviBot 1) http://trac.agavi.org/ticket/361 : Ticket #361 (defect created): setting the base for arguments in file validators doesn't work
18:51 Arme[N] !hug Arme[N]
18:51 AgaviBot hugs Arme[N]
18:51 Arme[N] !hug Wombert
18:51 AgaviBot hugs Wombert
18:51 Arme[N] :)
19:15 AgaviBot News from Agavi: Timeline at http://trac.agavi.org/timeline :
19:15 AgaviBot 1) http://trac.agavi.org/ticket/362 : Ticket #362 (defect created): when a validator using the argument base fails for multiple arguments the last error will overwrite all previous ones
19:38 codecop [n=codecop@85.206.207.52] has joined #agavi
19:44 kaos btw, ttj i tested your routing problem
19:44 kaos worked without problems even in 1 route
19:49 Wombert digitarald: ping?
19:52 Wombert digitarald: woot
19:52 Wombert yes that is a bug
19:52 Wombert gawwwwd am I stupid
19:52 Wombert or not?
19:52 Wombert uhm
19:52 Wombert no!
19:52 Wombert xD
19:53 Wombert SID (string)
19:53 Wombert Constant containing either the session name and session ID in the form of "name=ID" or empty string if session ID was set in an appropriate session cookie.
19:53 Wombert !
19:53 Wombert no no
19:53 Wombert it's okay like this
19:53 Wombert because
19:54 Wombert if SID is empty
19:54 Wombert cookies were used to pass the session id
19:54 Wombert if it is not empty
19:54 Wombert the session id was passed in via URL
19:54 Wombert then I add the session id as an argument to the params
19:54 benny`work [n=benny@p54AC2753.dip0.t-ipconnect.de] has joined #agavi
19:54 Wombert IF use_trans_sid is set to true
19:56 digitarald BUT ...
19:56 digitarald i want to force the SID
19:57 digitarald the SID in the URL, not the defined SID ;)
19:57 digitarald if u use use_trans_sid i really want to see the sid in the url ... don't want to have them optionally if the user don't support cookies
20:00 Wombert this check is only performed to see whether or not it is necessary to append the URL
20:00 Wombert eh the session id to the url
20:00 Wombert it won't use "SID"
20:00 Wombert it will use "SESSNAME=45454sac5a4sd4c5a45c4a5c45s"
20:00 Wombert as I said, it will never append it by default
20:00 Wombert because it's a bit of a security risk and people should enable fucking cookies in their browsers
20:01 Wombert however, you can enable use_trans_sid
20:01 Wombert either individually for each gen() call
20:01 Wombert or you change the default option in the factories config
20:01 Wombert now if you never want to use cookies
20:01 Wombert you have to set the respective php ini setting
20:02 Wombert ini_set('session.use_cookies', false);
20:03 Wombert or
20:03 Wombert you don't enable agavi's use_trans_sid
20:03 Wombert and you do
20:03 Wombert ini_set('session.use_cookies', false);
20:03 Wombert and
20:03 Wombert ini_set('session.use_trans_sid', true);
20:03 Wombert then PHP will automatically append the sid to all links and form actions
20:04 Wombert also remember
20:04 Wombert Note: The arg_separator.output php.ini directive allows to customize the argument seperator. For full XHTML conformance, specify &amp; there.
20:04 Wombert it's usually & by default
20:04 digitarald so using use_trans_sid should force the SESSNAME=32bits to the url?
20:05 Wombert the agavi one?
20:05 Wombert or the php ini setting
20:05 digitarald agavi
20:05 Wombert no
20:05 Wombert as I said, it will only append it if necessary
20:05 Wombert i.e. if no cookies are accepted by the client
20:05 Wombert if you want it to always be there, set
20:05 Wombert ini_set('session.use_cookies', false);
20:05 digitarald but when u say use_trans_sid that means REALLY_USE_trans_sid
20:06 Wombert no
20:06 Wombert that means it behaves exactly like http://de3.php.net/manual/en/ref.session.php#ini.session.use-trans-sid
20:06 Wombert but without having to have that on
20:06 Wombert or compiled in
20:06 digitarald this urls are for flash ... flash don't know the browser cookies properly. so, when i do an upload in flash on an url without the sess-id the user is not logged in
20:06 Wombert ah I see
20:07 digitarald i don't want to set ini values when i just generate 3 urls ... No Way!
20:07 Wombert aaaah
20:07 Wombert so your problem is that you want to enforce the sid no matter what
20:07 Wombert I see
20:07 Wombert simple
20:07 digitarald u see this parameter ... agavi can't know if it's really necessary ... if a developer give this parameter he should know if its necessary
20:07 Wombert $r->gen('routename', array(session_name() => session_id());
20:08 digitarald mh ... that's too easy ;) ... i want a cryptic option :D
20:08 Wombert no, the use_trans_sid option simply mimic's php's own session.use_trans_sid behavior, which also only appends the sid if the client does not accept cookies
20:09 digitarald the maybe add force_trans_sid ;) ... i take your solution
20:09 CPUnerd digitarald, $r->gen('routename', array(session_name() => md5(session_id())));
20:09 Wombert not md5
20:09 digitarald md5?
20:09 Wombert no
20:09 digitarald encrypt the id? mmhh
20:10 Wombert that won't work because php wouldn't know to decrypt it
20:11 digitarald Wombert: Flashupload (w/o agavi) ... http://dev.digitarald.de/uplooad.html
20:12 digitarald so no forcing parameter ... thx Wombert
20:13 digitarald next problem ... mmhh ... trying to find one ...
20:13 Wombert digitarald: it's too much of an edge case, really
20:13 digitarald no, its ok ... no sarcasm in the thx ;)
20:14 luke` [n=luke`@61.2.66.206] has joined #agavi
20:36 Wombert digitarald: btw why do you use flash? :>
20:36 Wombert you could upload in an iframe and use php 5.2s upload progress meter
20:36 Wombert which is not documented yet though :>
20:37 digitarald because with flash i can have a filechooser with filter and multiple-select
20:38 digitarald the progress meter are just gimmick
20:38 Wombert ah
21:13 luke` [n=luke`@61.2.66.206] has quit [Read error: 113 (No route to host)]
21:23 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
21:48 Wombert v-dogg: ping
22:04 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:12 v-dogg Wombert:
22:25 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
22:40 Wombert !seen Macca`
22:40 um Wombert: I have not seen Macca`.
22:40 AgaviBot Wombert: Macca` was last seen on Mon Oct 16 10:02:26 2006 saying "hello" (joined Mon Oct 16 10:01:54 2006, left Mon Oct 16 10:09:11 2006)
22:41 Wombert I wonder where he is
22:45 impl He's on #php on EFnet if you want to bug him
22:46 v-dogg whose bot is um?
22:46 v-dogg and can we silence him?
22:52 Wombert it probably just needs someone from russia and a bottle of wodka to pay him
23:02 Wombert or a couple million dollars if we want him silenced using polonium
23:02 Wombert xD
23:09 kaos anyone here has a clue about LR(1) parsers ? xD
23:35 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
Day changed Fri Dec 08 2006
00:01 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
01:24 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 104 (Connection reset by peer)]
01:30 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
01:35 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
02:04 epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:13 benny`work [n=benny@p54AC2753.dip0.t-ipconnect.de] has quit ["unset($this);"]
04:19 luke` [n=luke`@61.2.241.25] has joined #agavi
04:22 firman [i=tarzilla@i386.rootservers.org] has joined #agavi
04:42 luke`_ [n=luke`@61.2.241.46] has joined #agavi
05:02 luke` [n=luke`@61.2.241.25] has quit [Read error: 113 (No route to host)]
05:28 Wombert [n=Wombert@dslb-088-064-002-117.pools.arcor-ip.net] has quit [Nick collision from services.]
05:28 Wombert [n=Wombert@dslb-088-064-029-220.pools.arcor-ip.net] has joined #agavi
05:43 AgaviBot [n=dzuelke@dslb-088-064-002-117.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)]
05:46 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
05:49 luke`_ [n=luke`@61.2.241.46] has quit [Read error: 113 (No route to host)]
06:36 CIA-11 dominik * r1412 /branches/0.11/src/validator/ (AgaviBaseFileValidator.class.php AgaviValidator.class.php):
06:36 CIA-11 add a method which allows the validator to provide the keys for the current base
06:36 CIA-11 refs #361
07:00 CIA-11 dominik * r1413 /branches/0.11/src/validator/ (AgaviOperatorValidator.class.php AgaviValidator.class.php): some refactoring
07:46 peter_11 [n=peter@S010600119506b129.gv.shawcable.net] has joined #agavi
07:46 peter_11 what's up agavi crew?
07:46 peter_11 I haven't been here in about a year
07:47 peter_11 how is agavi land?
07:49 peter_11 [n=peter@S010600119506b129.gv.shawcable.net] has left #agavi []
08:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
08:10 Arme[N] morning
08:23 v-dogg huomenta
08:32 CIA-11 dominik * r1414 /branches/0.11/src/util/AgaviDecimalFormatter.class.php: enable setting of the rounding mode in the decimal formatter
08:33 CIA-11 dominik * r1415 /branches/0.11/src/translation/ (2 files): allow rounding mode to be set via the "rounding_mode" parameter of the <currency_formatter> and <number_formatter>
08:45 horros hahaha
08:46 horros http://office.microsoft.com/en-us/templates/TC062560581033.aspx?CategoryID=CT101​450061033
08:48 v-dogg bookmarks this page
08:55 CIA-11 dominik * r1416 /branches/0.11/src/translation/AgaviDateFormatter.class.php: fix date formatter not switching to the locales format when being used with a custom locale
09:11 splatch` hello
09:38 CIA-11 dominik * r1417 /branches/0.11/src/date/AgaviDateFormat.class.php:
09:38 CIA-11 fixed the h and k hour patterns
09:38 CIA-11 closes #363
10:08 CIA-11 dominik * r1418 /branches/0.11/src/translation/ (2 files): use the timezone specified in the locales option when creating new calendar objects and when formatting them
10:13 v-dogg dominik is on fire
10:33 CIA-11 dominik * r1419 /branches/0.11/src/translation/AgaviTranslationManager.class.php: allow setting only options to the current locale by using _c(123, null, '@currency=USD'); or _d(time(), null, '@timezone=Europe/London'); for example
10:37 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
10:40 kaos uhm, yup xD
10:40 CIA-11 dominik * r1420 /branches/0.11/src/translation/AgaviTranslationManager.class.php: allow accessing the default domain when specifying "subparts" of the domain by using ".menu" instead of "default.menu" in the _* methods
10:51 Wombert zomg
10:53 horros gmoz
10:53 CIA-11 dominik * r1421 /branches/0.11/docs/docbook/manual.xml: some words on i18n in the guide
11:08 Wombert AgaviWebRequest::getFileName and getFileNmaes are horribly inconsistent
11:08 Wombert any suggestions
11:23 codecop [n=codecop@85.206.207.52] has joined #agavi
11:29 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
11:39 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
12:01 kaos- [n=kaos@ppp-82-135-79-186.dynamic.mnet-online.de] has joined #agavi
12:20 kaos [n=kaos@ppp-82-135-80-115.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)]
12:38 Wombert [n=Wombert@dslb-088-064-029-220.pools.arcor-ip.net] has quit []
12:52 kaos- [n=kaos@ppp-82-135-79-186.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)]
12:53 kaos [n=kaos@ppp-82-135-15-208.dynamic.mnet-online.de] has joined #agavi
13:06 firman [i=tarzilla@i386.rootservers.org] has quit []
13:07 firman [i=tarzilla@i386.rootservers.org] has joined #agavi
13:07 firman [i=tarzilla@i386.rootservers.org] has left #agavi []
14:09 foresth [i=foresth@local.hide-forest.net] has joined #agavi
14:31 Arme[N] is now known as Arme[morizer]
14:38 codecop [n=codecop@85.206.207.52] has joined #agavi
15:10 Arme[morizer] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 113 (No route to host)]
15:50 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 110 (Connection timed out)]
16:09 horros [n=mle@a81-197-134-237.elisa-laajakaista.fi] has quit ["leaving"]
17:21 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:30 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
17:36 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
17:56 Wombert [n=Wombert@dslb-088-064-029-220.pools.arcor-ip.net] has joined #agavi
18:05 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
18:36 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
18:36 Whisller Hi
18:38 Whisller I must set in validator a two options min and max and how i can do it? This is a good? http://phpfi.com/182707
18:41 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 104 (Connection reset by peer)]
18:47 Whisller I asking because when i have set max and send empty form this error are displayed O.o
18:49 Whisller *error for max
19:00 Whisller In cache i see, i have set min = 1 in max definition
19:04 v-dogg http://phpfi.com/182717
19:04 v-dogg that's the way to go
19:05 v-dogg hope it works, gotta go ->
19:05 v-dogg :)
19:05 v-dogg later
19:13 CPUnerd moin moin humans
19:13 Wombert hi
19:18 foresth [i=foresth@local.hide-forest.net] has joined #agavi
19:19 CPUnerd perhaps you should make something like <parameter type="integer" min="1" max="50" />
19:19 Wombert no
19:19 Wombert that won't work
19:19 CPUnerd why not ?
19:19 CPUnerd not with the current business server code,but could be a cool change to add someday
19:20 CPUnerd you are using simplexml right ?
19:20 Wombert because parameters have only name and value, they are standardized
19:20 Wombert the thing is
19:20 CPUnerd or xmlreader?
19:20 Wombert no
19:20 Wombert neither
19:20 CPUnerd :O
19:20 Wombert we transform the xml to an intermediate format
19:20 Wombert this way, you could also use yaml configs etc
19:20 CPUnerd oh ok
19:21 CPUnerd that makes sense but still, do you need more than one config style ?
19:21 Wombert this intermediate format is then passed to the config handlers
19:21 CPUnerd although I do like the fact that you are using standarized configuration parameters.
19:21 Wombert which compile it to optimized php code
19:21 CPUnerd I didn't have tiem to write the article yet :)
19:21 Wombert heh
19:23 CPUnerd I am currently writting a new standard for the w3c, if it gets accepted it's gonna be awesome
19:23 Wombert errr
19:23 Wombert a new standard for what?
19:25 CPUnerd I can't say much but let's say it's for social networks
19:25 CPUnerd VERY VERY VERY useful if followed correctly
19:27 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
20:00 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
20:00 MrJeep hi
20:01 MrJeep how can I specify more than one optional parameter in the routing pattern ?
20:01 MrJeep <route name="request" pattern="^/request/(map:\S+)?/(qry:\S+)?" module="Document" action="Index" />
20:02 MrJeep in this case, If I'm right, without any parameters, the url will be /request// ?
20:03 MrJeep i'd like to match /request/map and /request/map/xpath/query/to
20:17 digitarald ... /request(/{map:\S+})?(/{qry:\S+})?
20:21 MrJeep thank you
20:34 MrJeep hum I was wondering if some breaking changes occured with the AgaviXmlConfigParser class ?
20:35 MrJeep nevermind
20:43 Whisller v-dogg, I used your example(earlier i has this), but when i trying display errors(http://phpfi.com/182739) i don't see it. But input have class error.
20:46 Whisller hmm
20:46 Whisller wait
20:46 MrJeep digit : I'm working on the pattern you gave me, however, it sounds like parameters cannot have the / values
20:46 forda [i=foresth@local.hide-forest.net] has joined #agavi
21:00 kaos MrJeep: /request(/{map:[^/]})?(/{qry:\S+})?
21:00 kaos is probably what your problem is
21:00 kaos or something like that
21:00 kaos what can "map" be ?
21:00 kaos alphanum ?
21:00 kaos or anything ?
21:04 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 110 (Connection timed out)]
21:06 MrJeep string
21:07 MrJeep but qry is an xpath query
21:08 kaos hmm
21:08 kaos what url doesn't get accepted ?
21:09 MrJeep 1 min, I'll test somethign
21:10 MrJeep at this point the map parameter is not even set
21:11 kaos hmm
21:11 kaos so the route doesn't get matched at all ?
21:12 MrJeep the route get matched, but I have the wrong parameters
21:12 MrJeep like
21:12 MrJeep http://localhost:81/Project/Open/Tiger/Development/www/request/map2
21:12 MrJeep the map parameter is map1
21:12 MrJeep the qry parameter is map2
21:13 MrJeep (map1 is taken from a default value since it's not matched
21:13 kaos uh
21:14 kaos that actually is not the way the regexp should behave xD
21:14 kaos i'll check that in a minute
21:14 MrJeep ok
21:14 MrJeep should I set a \S in the map:[] ?
21:14 MrJeep the map will always be a string
21:15 MrJeep and qry will have // character.. well, xpath characters
21:15 kaos this won't help i think
21:19 Whisller Validator add parameter "min" to parameters but i dont set it...http://phpfi.com/182750
21:21 Whisller i thing this isn't a requested action
21:22 Whisller What do you think?
21:24 MrJeep well, lets say both parameters are required
21:25 Whisller hmm but. when i wanna display error when value are > as 50 but when are < as 0 no
21:25 Whisller *< 1
21:26 MrJeep ^/request/(map:\S+?)/(qry:\S+)$
21:26 MrJeep both param are matched
21:26 kaos MrJeep: you'r missing a ? at the end
21:26 kaos eh
21:26 kaos no
21:26 kaos its
21:27 MrJeep however, if I add // for the query, the // are not added
21:28 kaos index.php/request/qry/foo//bar -> <route name="request" pattern="^/request/(map:\S+?)/(qry:\S+)$" module="Default" action="Index">
21:28 kaos 'map' => 'qry' (length=3)
21:28 kaos 'qry' => 'foo//bar' (length=8)
21:28 kaos ^^
21:29 kaos what exactly do you want to match, an optional map followed by a query (which is required?!)
21:29 MrJeep it's for an ajax module
21:29 MrJeep i have a big xml file and I want to query it with ajax
21:29 MrJeep I want to give an xpath query because I don't need all the xml file data everytime
21:30 MrJeep it's for a geo/statistic project with SVg
21:30 MrJeep the map parameter is the name of the xml file, and .. well, the query is the xpath query
21:31 MrJeep lets say both parameters are required
21:32 kaos well, then the last pattern you quoted here should work
21:33 MrJeep except agavi thinks one / is like /////
21:34 MrJeep this url : http://localhost:81/Project/Open/Tiger/Development/www/request/map1///query
21:34 MrJeep give those parameters
21:34 MrJeep MAP : map1
21:34 MrJeep QRY : query
21:35 Wombert the problem here is
21:35 Wombert that the queries are optional
21:35 Wombert query and map
21:35 Wombert the regexp is too greedy
21:35 MrJeep no, nothing's optional
21:35 MrJeep I want to make it simple so nothing's optional
21:36 Wombert oh
21:36 MrJeep both parameters have to be set
21:36 Wombert hm true
21:36 kaos pattern="^/request/(map:\S+?)/(qry:\S+)$"
21:36 kaos works here
21:37 MrJeep hum, the // are still not added to the qry parameter
21:37 MrJeep odd
21:38 kaos hmm, maybe some apache2 issue with the rewrite ?
21:38 MrJeep hum possibly
21:38 kaos have you tried index.php/request/map1///query1 ?
21:38 Whisller why this does't work :/ http://phpfi.com/182757
21:39 Whisller $req->getErrorMessages() return empty array
21:39 MrJeep yep
21:39 MrJeep but no //
21:39 MrJeep my re-write rules
21:39 MrJeep RewriteRule ^$ index.php?/ [QSA,L]
21:39 MrJeep RewriteCond %{REQUEST_FILENAME} !-f
21:39 MrJeep RewriteCond %{REQUEST_FILENAME} !-d
21:39 MrJeep RewriteRule (.*) index.php?/$1 [QSA,L]
21:40 MrJeep the server Request_uri is fine
21:43 kaos hmmm
21:43 MrJeep I can add an infinite ammount of /, still doesn't work
21:45 MrJeep OS issue ?
21:45 MrJeep what's your os ?
21:46 CIA-11 dominik * r1422 /branches/0.11/src/validator/ (AgaviValidator.class.php AgaviValidatorManager.class.php):
21:46 CIA-11 all validators store the result for each validated field no in the validation manager
21:46 CIA-11 fix typo in the validator
21:46 kaos xp
21:46 kaos but i'm using apache 1.3
21:47 MrJeep ok
21:47 kaos Whisller: the problem is that an empty string doesn't even reach the string validator
21:47 kaos so you need to remove the for="min"
21:48 MrJeep well, I think I'll just turn off the rouing for the moment
21:48 kaos you still use normal query params with the routing on as well
21:49 kaos like ?qry=foo...
21:49 MrJeep oh didn't know that
21:49 Wombert how may I help with this problem
21:50 Whisller kaos, hmm then how i can do it :> when i using http://phpfi.com/182750 errors also are disabled when i have other validator with min=1. error for.. also doesn't work :>
21:52 Whisller *displayed
21:52 foresth [n=foresth@local.hide-forest.net] has joined #agavi
21:54 MrJeep it is possible to turn a DOMNodeList into a DOMDocument ?
21:54 MrJeep i'm trying to create a new dom document with the node list, when I call appendChild, i get "
21:54 MrJeep Wrong Document Error
22:01 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:05 Whisller can someone help me :(
22:05 splatch` [n=splatch@213.251.169.132] has quit ["Lost terminal"]
22:07 forda [i=foresth@local.hide-forest.net] has quit [Read error: 110 (Connection timed out)]
22:14 MrJeep jeez
22:14 MrJeep this DOM stuff with php is so odd
22:15 MrJeep an xpath query returns a DOMNodeList
22:15 MrJeep the item() method returns a DOMNode
22:15 Wombert yeah sure
22:15 Wombert of course
22:15 Wombert !?
22:15 MrJeep yeah
22:15 MrJeep but
22:15 MrJeep $xml = new DOMDocument();
22:15 MrJeep $doc = $xml->createElement('document');
22:15 MrJeep for ($i = 0; $i < $res->length; $i++)
22:15 MrJeep {
22:15 MrJeep $doc->appendChild($res->item($i));
22:15 MrJeep }
22:15 MrJeep this doesn't work !
22:16 MrJeep Wrong document error
22:16 foresth [n=foresth@local.hide-forest.net] has quit [Read error: 110 (Connection timed out)]
22:17 impl You probably have to clone it
22:17 MrJeep $res is a DOMNodeList
22:17 impl Or there's an import method
22:17 impl Hold on
22:17 Wombert importNode, yes
22:17 impl http://us3.php.net/manual/en/function.dom-domdocument-importnode.php
22:18 MrJeep I hope this will work :D
22:21 Whisller ehh ok now everything looks fine...required="false" ;)
22:22 Whisller in max validate devinition
22:36 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:39 MrJeep damn, PHP dom is so fucked up
22:39 MrJeep importNode does absolutely nothing
22:40 Wombert it returns a new node
22:40 MrJeep lol
22:41 impl $doc->appendChild($doc->importNode($res->item($i)))
22:42 MrJeep oh god
22:42 MrJeep thanks
22:42 MrJeep I was SO getting pissed of
22:42 MrJeep thanks !
22:43 impl No problem
22:43 Wombert "This function returns a copy of the node to import and associates it with the current document."
22:43 Wombert ;)
22:45 MrJeep yeah, I missed that. I tend to miss stuff when I'm "debugging" the same thing all day long
22:45 MrJeep with domnode domelement appendchild not working brah! it was getting crazy
22:49 kaos_ [n=kaos@ppp-82-135-15-208.dynamic.mnet-online.de] has joined #agavi
22:51 kaos_ Whisller: the error handling in the validation works as follows: you usually define a generic error message for that validator with <error>Error Message</error>
22:52 kaos_ if you don't define anything else this message will be used for all errors
22:52 kaos_ (its wise to define that error all the time, since all validators can fail without an specific error
22:53 kaos_ then you can define different error messages for different errors (like min, max, etc)
22:54 Whisller hmm
22:55 kaos_ the generic error message will be thrown when the field which should be validated is not set (which includes the value being an empty string, which is why you don
22:55 kaos_ 't see your min error)
22:55 kaos_ when using min=1
22:55 kaos_ and required=false makes the validator succeed when value is not set or empty string
22:56 kaos_ no matter what you defined in the validator
22:56 Whisller i must use dictionary...wait for a moment
22:58 Whisller kaos, but when i have error for min(min=1), and max(max=10) and send form with empty field the error from max also are displayed.
22:59 Wombert probably because you didn't specify a generic error message
22:59 kaos_ no
22:59 kaos_ or "maybe"
22:59 Wombert bbiab
22:59 kaos_ gotta check the source
23:00 Whisller Wombert, in /cache/ in validate max i have also set min - min=1
23:00 Whisller end when i have empty field this error are displayed
23:01 Whisller wait
23:01 kaos_ yes, the string validator actually has default parameter
23:01 kaos_ which is 1 ;)
23:01 kaos_ for min
23:01 Whisller http://phpfi.com/182772
23:01 Whisller yes
23:03 Whisller this is ok? a set a default min in max parameter :>
23:04 kaos_ yes
23:04 Whisller why?
23:04 kaos_ why wouldn't you set min and max ?
23:05 Whisller no no no min and max why in max min = 1?
23:06 kaos_ well, its the default, which the validator will use when you don't specify min
23:07 Whisller heh ok.
23:07 kaos_ and its no different from min not being set at all
23:07 kaos_ because of the behaviour explained above
23:07 Whisller ok :)
23:07 kaos_ since min=1 can never fail really (at least not with the "min" error)
23:08 Whisller thanks very mutch :)
23:08 kaos_ so you could set min=0 and it would still fail (since it doesn't even reach the check for the minimum length ... which should be changed perhaps)
23:08 Whisller yes min=0 doesn't work with max
23:09 Whisller in max
23:27 benny`work [n=benny@p54AC34DD.dip0.t-ipconnect.de] has joined #agavi
23:34 jordansjones [n=jordansj@67.50.42.138] has joined #agavi
23:38 benny`work is now known as benny`patchslut
Day changed Sat Dec 09 2006
00:21 jordansjones Test.. Please ignore..
00:54 MrJeep anyone here's using mootools for ajax ?
00:56 MrJeep because I don't find a way to get the responseXml ;s
00:58 MrJeep the callback function takes 2 parameters, the responseText and xml, however, the response xml is always null
01:01 Wombert you probably have to send a proper mime type
01:10 kaos_ [n=kaos@ppp-82-135-15-208.dynamic.mnet-online.de] has quit ["[BX] I see your BitchX is as big as mine!"]
01:10 MrJeep hum good idea
01:19 digitarald MrJeep, maybe ask that in #mootools channel ;) I think a proper header is what is u need
01:19 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
01:22 Wombert [n=Wombert@dslb-088-064-029-220.pools.arcor-ip.net] has quit []
01:55 Wombert [n=Wombert@dslb-088-064-029-220.pools.arcor-ip.net] has joined #agavi
01:56 Wombert MrJeep: you know how to do this ajax thing with agavi?
02:25 Whisller how i can get access to getLocaleLanguage() getLocaleTerritory()...?
02:41 Fastly [n=alex@81-86-145-67.dsl.pipex.com] has quit [SendQ exceeded]
02:58 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"]
04:22 jordansjones [n=jordansj@67.50.42.138] has quit []
04:37 benny`patchslut [n=benny@p54AC34DD.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
04:44 benny`work [n=benny@p54AC3091.dip0.t-ipconnect.de] has joined #agavi
04:54 Wombert re
05:28 Wombert [n=Wombert@dslb-088-064-029-220.pools.arcor-ip.net] has quit [Nick collision from services.]
05:28 Wombert [n=Wombert@dslb-088-064-005-092.pools.arcor-ip.net] has joined #agavi
06:02 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
07:15 benny`work [n=benny@p54AC3091.dip0.t-ipconnect.de] has quit ["unset($this);"]
07:54 Wombert yawns
07:54 ttj *yawn*
07:54 ttj 2 hours and 6 minutes until I get slaughtered.
08:00 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: EleRas, CPUnerd, kaos, CIA-11, v-dogg, Wombert, impl
08:02 ttj [n=tjorri@kosh.hut.fi] has joined #agavi
08:02 Topic for #agavi: Agavi 0.11 RC 1 released :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: anonymous ticket posting possible again :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
08:02 Topic set by Wombert [] [Sun Nov 26 17:52:41 2006]
08:02 Irssi: #agavi: Total of 2 nicks [0 ops, 0 halfops, 0 voices, 2 normal]
08:02 Channel #agavi created Sun Nov 26 08:43:22 2006
08:02 Irssi: Join to #agavi was synced in 3 secs
08:03 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
08:03 v-dogg [i=vmakinen@phantom.daug.net] has joined #agavi
08:03 EleRas [n=EleRas@neteraser.de] has joined #agavi
08:03 CPUnerd [n=davidc@unaffiliated/cpunerd] has joined #agavi
08:03 Wombert [n=Wombert@dslb-088-064-005-092.pools.arcor-ip.net] has joined #agavi
08:03 kaos [n=kaos@ppp-82-135-15-208.dynamic.mnet-online.de] has joined #agavi
08:04 Wombert ttj: huh?
08:04 um [n=um@noc.cavokintl.com] has joined #agavi
08:06 Netsplit pratchett.freenode.net <-> irc.freenode.net quits: CIA-11
08:07 ttj Wombert: Marketing exam.
08:08 Netsplit over, joins: CIA-11
08:42 Wombert good luck, ttj
08:43 ttj Luck won't save me from the massacre, but thanks. :D
08:45 ttj Wait a minute, you're up quite early, Wombert...?
08:45 Wombert trying to adjust my sleep cycles
08:45 Wombert gonna sleep now for three hours
08:46 ttj You switching to some polyphasic sleep routine?
08:48 Wombert no
08:48 Wombert heard about these but
08:48 Wombert that's nonsense
08:48 Wombert I've been up since yesterday... 5p or so
08:49 ttj Ok. I also find that if you just skip one night's sleep and then stay up until the following evening, you'll get a decent routine back.
08:49 Wombert I'm trying that yeah but
08:49 Wombert I need so get _some_ sleep
08:50 Wombert otherwise I won't be able to do any coding or whatever toda
08:50 Wombert y
08:50 ttj I just sacrifice the day. :-)
08:51 ttj But yeah, hope you do wake up in 3 hours instead of the 10 hours I sleep if I fail. :-)
09:01 Wombert [n=Wombert@dslb-088-064-005-092.pools.arcor-ip.net] has quit []
10:08 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:33 codecop [n=codecop@85.206.207.52] has joined #agavi
11:17 firman [n=firman@125.163.14.12] has joined #agavi
11:17 firman moin moin
11:33 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
11:34 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
11:45 v-dogg huomenta
11:46 eremit [n=eremit@p5490ED75.dip.t-dialin.net] has joined #agavi
11:49 firman what is huomenta?
11:50 v-dogg morning in finnish :)
11:50 firman oh i see :D
11:51 firman btw, is it downloadable agavi guide out there?
11:51 v-dogg no, you have to build it yourself or use the one in agavi.org
11:52 v-dogg the easiest way to build it (html, pdf) is probably to use XMLMind editor
11:52 firman ah, docbook build then
11:53 firman XMLMind, okay, lemme try
11:53 v-dogg I have it here ready if you don't want to do it yourself?
11:54 firman that's great
11:54 v-dogg just a sec
11:54 firman which format?
11:55 v-dogg html, pdf or rtf
11:55 v-dogg which would you prefer?
11:55 v-dogg ups... pdf rendering failed...
11:55 firman no chm one?
11:56 firman html is better then
11:58 v-dogg do you need the cookbook and the intro, too?
11:58 firman yep, both would be great :D
12:04 v-dogg http://veikkomakinen.com/temp/manual.zip, docbook.zip and introduction.zip
12:06 firman thanks a lot, you're so great! ;)
12:07 v-dogg np
12:07 firman downloaded
12:08 Wombert [n=Wombert@dslb-088-064-005-092.pools.arcor-ip.net] has joined #agavi
12:09 Wombert yaaawns
12:34 firman what's different between agavi-manual-html.xsl and agavi-manual-html-common.xsl?
12:34 firman moin Wombert :)
12:35 Wombert ah
12:35 Wombert that's just hte stylesheets
12:37 firman looks no different except a comment <!--xsl:import href="../docbook-xsl-1.71.1/xhtml/chunk.xsl" /--> and <!--xsl:import href="C:/workspace/xslt/1.71.0/xhtml/chunk.xsl" /-->
12:39 Wombert mh yeah
12:39 Wombert we probably have to re-do all these stylesheets
12:40 Wombert they create pretty poor html, unfortunately
12:40 firman yes i think so
12:41 firman also provides a htmlhelp stylesheet too :)
12:41 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
12:41 Whisller hi
12:42 firman so we can build a chm
12:42 Wombert for example, deleted stuff is done as <span class="deleted"> or so
12:42 Wombert instead of <del>
12:43 JamieWolf [n=JamieWol@Qe89c.q.pppool.de] has joined #agavi
12:44 firman yep exactly
12:47 Whisller Little stupid question(I think)how I can get access to getLocaleLanguage, getCountries...?
12:47 Wombert from the current locale
12:47 Wombert or any locale for that matter
12:48 Whisller hmm can you explain it :(
12:49 Whisller current locale...but how get access to this thing
12:50 Wombert did you setup any locales yet?
12:51 Whisller ooo $tm->setLocale ? yes?
12:52 Whisller Or maybe are any manual about translate .... or something like that
12:52 Whisller *translation
12:54 Whisller ok :)
12:54 Wombert no
12:54 Wombert ehm
12:55 Wombert http://trac.agavi.org/browser/branches/0.11/samples/app/config/translation.xml
12:55 Wombert for example
12:56 Wombert the descriptions are optional, I just use them to display in the menu
12:56 Wombert you used the sample app before, didn't you?
12:56 Whisller yes
12:56 Whisller I know this example :)
12:57 Wombert it's all in there
12:57 Wombert you have to define a locale first
12:57 Wombert de_DE
12:57 Wombert or de
12:57 Wombert or de_DE@timezone=Europe/Moscow
12:58 Wombert whatever you like
12:58 Wombert you can then set it as "de" or "de_DE" etc etc
12:58 Wombert and it'll figure that out by itself
12:58 Wombert but to use a locale, it must be defined
12:58 Wombert $tm->getCurrentLocale()->...()
12:58 Whisller ooo ok :)
12:58 Whisller This is was i want :)
12:59 Whisller *what
12:59 Whisller I used a $tm->getCountries etc and this return a error now i know why
13:00 Wombert you can of course also do $tm->getLocale('fr_CA')->getCountries()
13:22 Whisller ok :)
13:22 Whisller thanks
13:22 Whisller :]
13:34 eremit [n=eremit@p5490ED75.dip.t-dialin.net] has quit []
13:35 Whisller hmm
13:36 Whisller Wombert, first i must set locale by ->setLocale('de_DE'), and then i can use $tm->getLocale('de_DE')->getCountries()?
13:36 Whisller *$tm->setLocale
13:37 Wombert no
13:37 Whisller ok :)
13:43 firman [n=firman@125.163.14.12] has quit [Read error: 145 (Connection timed out)]
13:44 JamieWolf [n=JamieWol@Qe89c.q.pppool.de] has quit [Read error: 113 (No route to host)]
14:11 firman [n=firman@125.163.5.17] has joined #agavi
14:16 foresth [i=foresth@local.hide-forest.net] has joined #agavi
14:27 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 131 (Connection reset by peer)]
14:40 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"]
15:20 raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
15:24 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
15:25 v-dogg anyone awake
15:28 Wombert y0
15:29 v-dogg i need some help with a simple rewrite :)
15:29 v-dogg foo.com and foo2.com are virtual hosts for the same directory now
15:30 v-dogg and I want foo2.com redirected to foo2.com/foo2/
15:32 Wombert uhm
15:33 Wombert but only foo2.com?
15:35 v-dogg hmm.. I'm not sure anymore what would be the best choice
15:35 Wombert RewriteCond %{HTTP_HOST} ^foo2.com
15:35 Wombert RewriteRule ^.*$ /foo2/$0
15:35 Wombert ?
15:37 v-dogg RewriteCond %{HTTP_HOST} ^www\.camilla\.fi$ [NC]
15:37 v-dogg RewriteRule ^(.*)$ http://www.camilla.fi/camilla/$1 [R=301,L]
15:37 v-dogg doesn't behave nicely: http://www.camilla.fi
15:37 Wombert yes
15:37 Wombert :>
15:37 Wombert yeah
15:37 Wombert because it's an external redirect
15:37 Wombert :<
15:38 v-dogg /camilla/ needs to be checked and if it is there, redirect is not needed
15:38 v-dogg right? can it be done?
15:40 Wombert yes
15:40 Wombert add
15:40 Wombert RewriteCond %{REQUEST_URI} !^/camilla
15:40 v-dogg ah, right
15:41 Wombert or
15:41 Wombert hm no that won't work
15:41 v-dogg seems to
15:41 Wombert nah I was thinking about something else
15:42 v-dogg ok
15:42 v-dogg but brilliant, this will do for now
15:42 v-dogg thanks mate
15:42 Wombert sure
15:43 v-dogg I'll get her a web hotell of her own one day, but we can live with this for now
15:43 v-dogg -l
16:05 Wombert how was your exam, ttj
16:06 ttj It was actually quite easy. :-)
16:07 ttj On a scale of 0...5, I'd say that I'll be getting at least a 3.
16:07 ttj And I "leveraged the economies of scale" quite many times. :P
16:26 firman v-dogg, i builds the chm of manual based on the svn sources, but it wasn't look like yours http://firmanw.org/docs/agavi-manual.chm
16:31 Wombert nice
16:31 Wombert I didn't get to sleep much unfortunately
16:32 Wombert and I feel like someone hit my had with a biiiiiiig hammer
16:32 Wombert which ain't cool at all :S
16:34 firman you did a kungfu?
16:38 Wombert no
16:38 Wombert I suffer from sleep deprivation
16:38 Wombert or something
16:38 Wombert and I was out clubbing last night
16:38 Wombert but slept only an hour or so
16:38 Wombert and
16:38 Wombert nnnnno I don't feel particularly well
16:39 firman oh, not weird if you had headache then
16:39 Wombert ah yes that was supposed to be "head", not "had"
16:39 Wombert well I didn't drink too much or anything
16:40 Wombert but I'm still exhausted and since I didn't sleep much last night and not much more the night before...
16:40 firman yep, but you slept only an hour
16:40 Wombert anyway, I'm gonna hold out until tonight
16:40 Wombert and then fall to bed at like 10pm
16:40 Wombert and wake up at six in the morning
16:40 Wombert and that's gonna be aaaawesome
16:41 firman that's good then you sleep now, if did it you would be hard to sleep tonight
16:42 firman but, it's my habits anyway :)
16:44 Wombert yeah that's what my cycle has been like for the last couple days
16:54 Wombert and I'm trying to fix it
16:55 firman yeah, same here, its a bad habit
16:56 firman hope you succeed to fix it
17:15 benny`work [n=benny@p54AC3091.dip0.t-ipconnect.de] has joined #agavi
17:18 ttj Wombert: That's called a hangover. :P
17:18 ttj And you should take a vacation and try to get closure to open stuff. :P
17:19 Wombert I didn't drink!
17:19 Wombert well,two beer
17:19 Wombert had to drive
17:19 Wombert couldn't be bothered to use public transport
17:19 Wombert xD
17:19 firman that's good idea
17:19 Wombert I wonder what I would feel like if had gotten drunk
17:19 Wombert oh my god
17:24 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
17:32 Wombert y0 MrJeep
17:38 eremit [n=eremit@p5490FA79.dip.t-dialin.net] has joined #agavi
17:41 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:59 digitarald v-dogg: i reduced my logging.xml and the filelogggerappender fclose error is gone ...
17:59 Wombert no workarounds please
17:59 Wombert can we fix the issue?
18:00 digitarald don't know why ... shutdown was called 3 times, i had 3 appenders
18:00 MrJeep would agavi automatically append an new line char at the beginning of each files ?
18:00 MrJeep i don'T think so
18:00 digitarald i had 2 loggers with the same appender, maybe thats the problem?
18:01 Wombert digitarald: create a case that reproduces the problem, please
18:01 Wombert so we can fix it
18:01 Wombert MrJeep: mmmh what are you talking about? do you mean output? or logging?
18:02 digitarald sure, now i have time for that ;)
18:02 MrJeep I was talking about the output
18:03 Wombert nope, doesn't insert newlines
18:03 MrJeep but everything I ask a question, I find the answer myself
18:03 Wombert it must be in your template or so
18:03 Wombert MrJeep: may I help you with your ajax stuff
18:03 Wombert just wanna make sure you don't go through unnecessary hassle
18:03 MrJeep It's ok now, everything works :)
18:03 Wombert I understand you use XML?
18:03 MrJeep but thanks, this is very appreciated
18:03 Wombert why not json?
18:03 MrJeep yes
18:04 MrJeep hum, I suppose I could use Json ...
18:04 Wombert okay
18:04 MrJeep I've read an article about that not so long ago
18:04 Wombert another question first
18:04 Wombert do you use output types to do the ajax?
18:04 Wombert or did you create separate actions
18:04 MrJeep separate action
18:04 Wombert could you give me an example where you use ajax?
18:04 MrJeep I create a Request module which display xml only
18:05 digitarald uh oh
18:05 Wombert mmmmmmmmh
18:05 Wombert not the best approach probably ;)
18:05 digitarald agavi is cooler
18:05 Wombert ewwww it's time we write documentation ^^
18:05 MrJeep why not ?
18:05 Wombert let's say
18:05 Wombert you have an AddToCartAction okay?
18:05 digitarald really! i only knew all agavi tricks because i read all commit messages ;)
18:06 MrJeep Whenever I need some info about my document, I create an ajax request to the Request module with an xpath query
18:06 MrJeep and get my info
18:06 Wombert we use cool urls for that: /cart/add/712
18:06 Wombert 712 is the product id
18:06 Wombert you create that action, and for now, it's a normal link
18:07 Wombert people click it, they are taken to that page, and from there, you redirect them back or show a success message
18:07 Wombert now you want to ajaxify that
18:07 Wombert like this:
18:07 MrJeep what I have to do is not that "complicated"
18:07 Wombert wait wait
18:07 MrJeep it's far from a shopping cart
18:07 MrJeep o
18:07 MrJeep k
18:08 Wombert <a href="<?=$r->gen('addtocart', array('product_id' => $id))?>">Add product to shopping cart</a>
18:08 Wombert that's the link we have now
18:08 Wombert now we want ajax
18:09 Wombert <a href="<?=$r->gen('addtocart', array('product_id' => $id))?>" onclick="addtocart(this); return false;">Add product to shopping cart</a>
18:09 Wombert now the following happens
18:09 MrJeep I understand
18:09 Wombert if a user doesn't have javascript
18:09 Wombert it still works
18:09 MrJeep I use stuff like that allready
18:09 Wombert if he has javascript, it calls addtocart, which does the ajax request
18:09 Wombert the key point here is
18:09 MrJeep and I agree with this process
18:09 digitarald but u splitted the actions
18:09 Wombert that it is the same action for normal html and ajax
18:09 digitarald just to support different output types
18:09 Wombert this is important, it saves you a lot of work
18:09 Wombert because now
18:09 MrJeep however, now, this project is different
18:10 MrJeep it's a stastical / geographical project with svg
18:10 Wombert and only works with ajax
18:10 Wombert okay
18:10 MrJeep there is more svg than html in this project
18:10 Wombert got me ;)
18:10 digitarald The system: One action, one view that holds one execute for every output-type
18:10 MrJeep our map data, cordinates, legends infos, graphs and store inside an xml file
18:10 MrJeep one file for each map
18:11 MrJeep and javascript will generate everything from this file
18:11 MrJeep the path element, to create map, the graphs everything, from this xml file
18:12 MrJeep and some stuff have to be linked, like when you mouseover on a region of a map, you highlight the graph bar associated with the region
18:12 MrJeep On the beginning I used php to generate the basic stuff like the map, but now I prefer handling it all with javascript
18:13 MrJeep and using ajax to load stuff that doesn't need to be loaded everytime
18:13 MrJeep + one mega load at the beginning
18:13 MrJeep this is why I have a Request module
18:13 MrJeep which returns the xml file for a given map
18:14 MrJeep plus I can provide an xpath query to make the transfer smaller, because the map path are so large, If I don't need it, I don'T want to load it
18:14 MrJeep but I agree with the add to cart, I would do the same
18:15 MrJeep I created some panels (with tabs..)
18:15 MrJeep and they works just like that, with javascript or without javascript
18:15 Wombert :)
18:15 MrJeep :D
18:15 Wombert two hints there if anyone cares:
18:15 digitarald agavi samples has a predefined logging.xml which can not work because of the missing log directory
18:15 MrJeep but in this svg project, no JS = nothign
18:15 MrJeep well, I have to go
18:15 Wombert 1) if you just return html, you can easily add status by sending X-JSON headers
18:15 MrJeep brb and thnx!
18:16 Wombert sure!
18:16 Wombert digitarald: yeah I know
18:20 foresth [i=foresth@local.hide-forest.net] has joined #agavi
18:22 digitarald Wombert: the new website, the design is still missing and the rest is ok?
18:23 digitarald Wombert: found the error
18:23 digitarald when 2 loggers use the same appender
18:25 digitarald http://pastebin.ca/273111 ... like here ... easy to recreate ;)
18:48 digitarald is there a method to retrieve the actual context enviroment?
18:48 digitarald Wombert?
18:49 Arme[N] yahoo, where are you agavi bot?
18:49 Arme[N] hi folks :)
18:50 Wombert digitarald: mmmh
18:50 Wombert what do you mean?
18:50 digitarald the enviroment which is given in the bootstrap
18:51 Wombert core.environment :)
18:52 Wombert and $ctx->getName()
18:52 digitarald btw.: i love this one ... export more santa clauses ;) http://video.google.de/videoplay?docid=-7410917875860931969
18:52 digitarald thx
18:56 digitarald can i put the agavicontext in the template?
18:57 digitarald btw. is there a way that my output_types inherit their assign parameters from the default output_type?
18:57 Wombert nope
18:57 Wombert I'll maybe add that one day
18:57 Wombert it's a bit redundant right now
18:58 Wombert $this->getContext() for the context
18:58 Wombert you cannot have it auto assigned because you should never need it in the templates
19:00 Wombert or is there a use case where you need it?
19:01 digitarald btw: $ctx->getName() returns 'web' ... i wanted to know 'development', which is in 'core.environment' ... thx :)
19:02 digitarald just for inline debug messages ... a little PI in the footer that just shows when u are in development mode ;)
19:04 Wombert may I suggest a filter for that?
19:04 Wombert that appends or inserts this information
19:04 Wombert and is enabled only in debug mode, for html output type
19:06 Wombert http://video.google.de/videoplay?docid=-7410917875860931969 <- awesome
19:06 Wombert v-dogg, ttj: watch that <:
19:07 digitarald Lappland ... i love lappland :D
19:10 Wombert forgive my ignorance
19:10 Wombert I never used logging
19:10 Wombert DebugLogAppender is defined somewhere I assume?
19:10 Wombert i.e. it's not a class name, but the name of an appender defined inside logging.xml?
19:12 Wombert ah yes
19:12 Wombert okay
19:18 digitarald part 2: http://video.google.de/videoplay?docid=3250058353113102779
19:18 digitarald Wombert: its the changed part from sample logging.xml
19:22 luke` [n=luke`@61.2.65.147] has joined #agavi
19:24 Wombert LOL
19:24 Wombert cursing and drinking
19:24 Wombert haha
19:24 Wombert can any of the finns tell me what he said?
19:25 digitarald Father Cristmas ... now i have a completely different view on christmas
19:26 Wombert this is uber sick :)
19:26 Wombert but it really is what you imagine scandinavian humor
19:30 digitarald it won awards on horror shortfilm festivals :D ... http://www.rare-exports.com/
19:58 luke` [n=luke`@61.2.65.147] has quit [Read error: 148 (No route to host)]
20:07 digitarald i have a validation xml that should be available in many xmls ... how do i include them.
20:08 digitarald <xi:include href="./pagination.xml" />
20:08 digitarald ?
20:08 digitarald found that in a xinclude example
20:12 eremit [n=eremit@p5490FA79.dip.t-dialin.net] has quit []
20:16 digitarald Wombert?
20:37 Wombert digitarald: agavi uses xsd includes in all files
20:37 impl [n=impl@httpcraft/php/impl] has joined #agavi
20:43 digitarald ah, i see ... in the xsd's ... :D
20:44 v-dogg hahaha
20:45 v-dogg I'll order my own father xmas
20:48 Wombert what does he say in the second film
20:49 Wombert cursing and drinking
20:51 v-dogg I didn't watch that yet
21:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
21:10 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
21:11 benny`work [n=benny@p54AC3091.dip0.t-ipconnect.de] has quit ["unset($this);"]
21:13 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
21:39 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
21:39 Whisller hi
21:48 Whisller how i can display time from current locale with this format 'H:i:s'?
21:50 Wombert that would be the default time format definition "medium"
21:50 Wombert sample app defines formatting rules for the date formatter in the default domain
21:51 Wombert formats a date, with "full" formatting
21:51 Wombert you need "time" and "medium"
21:51 Whisller thanks, and in application (in view) how i can use full format, medium etc? in parameter in createCalendar :>
22:27 Whisller when i generate calendar(createCalendar), can I add a format what this time/date will be displayed :>
22:41 Wombert no
22:41 Wombert $tm->_d()
22:41 Wombert that is also in the sample app...
22:41 Wombert and in the documentation
22:44 Whisller documentation?
22:44 Whisller where :>
23:00 Wombert http://www.agavi.org/docs/latest/manuals/manual/ch02s13.html
23:13 CIA-11 david * r1423 /branches/0.11/src/logging/AgaviLoggerManager.class.php: fixed LoggerManager::log for optional logger to log to
23:16 Wombert digitarald?
23:16 Wombert v-dogg?
23:32 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:55 v-dogg Wombert:
23:56 Wombert do loggers need a shutdown method?
23:56 Wombert not really, do they?
23:57 impl They might
23:57 impl if you're logging to a stream or something
23:57 Wombert why
23:57 Wombert but that's the appenders job!?
23:57 Wombert right now the logger goes over all it's appenders and calls shutdown() on them
23:57 Wombert which means trouble if you use the same appender for multiple loggers
23:57 impl hmm
23:58 Wombert I could change it so the logger manager calls shutdown on the logger itself, then grabs all appenders, and shuts them down cleanly
23:58 Wombert or
23:58 Wombert just shutdown the appenders
23:58 Wombert I can't really see why a logger would need a shutdown method
23:58 impl Well, if it's using instances of appenders, I don't really see why it needs anything at all besides a write method
23:59 impl Maybe I should look at the code before I say anything else :X
23:59 v-dogg :)
Day changed Sun Dec 10 2006
00:00 v-dogg Wombert: I'm not sure but probably there's no need for a shutdown method there
00:00 impl Maybe appenders should keep track of which loggers are using/calling them
00:00 impl so they can free up resources when a logger goes away
00:01 impl (do loggers ever go away before the LoggerManager cleans them up?)
00:02 firman [n=firman@125.163.5.17] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"]
00:40 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"]
00:50 v-dogg Wombert: any idea why my 404 action knows nothing about my locales?
00:51 v-dogg it tries to use a non-localized template and not .locale.php
01:02 Wombert yes
01:02 Wombert default actions use "literal" template names
01:02 Wombert not setTemplate("Error404Success");
01:02 Wombert but
01:03 Wombert setTemplate('Error404Success.php', true);
01:03 Wombert and then they return a php renderer instance
01:03 Wombert so they still work if the user switches the renderer to something other than php
01:03 v-dogg ah
01:17 v-dogg sweet :)
01:17 v-dogg you can switch locale anytime and you'll get the page you were just looking at
01:18 v-dogg ie. you don't get to the first page everytime you switch language :)
01:18 v-dogg bed ->
01:55 Wombert [n=Wombert@dslb-088-064-005-092.pools.arcor-ip.net] has quit []
02:16 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
03:06 benny`work [n=benny@p54AC3091.dip0.t-ipconnect.de] has joined #agavi
04:18 luke` [n=luke`@61.2.66.162] has joined #agavi
04:37 benny`work [n=benny@p54AC3091.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
04:37 benny`work [n=benny@p54AC1D55.dip0.t-ipconnect.de] has joined #agavi
05:22 benny`work [n=benny@p54AC1D55.dip0.t-ipconnect.de] has quit ["unset($this);"]
05:32 luke` [n=luke`@61.2.66.162] has quit [Read error: 113 (No route to host)]
06:58 implement [n=impl@httpcraft/php/impl] has joined #agavi
06:59 impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.]
07:00 implement is now known as impl
07:21 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
07:34 jordansjones [n=jordansj@67.50.42.138] has joined #agavi
09:34 jordansjones_ [n=jordansj@67.50.42.138] has joined #agavi
09:35 jordansjones [n=jordansj@67.50.42.138] has quit [Read error: 104 (Connection reset by peer)]
09:36 foresth [i=foresth@local.hide-forest.net] has joined #agavi
09:46 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
10:12 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:18 JamieWolf [n=JamieWol@Qf3f8.q.pppool.de] has joined #agavi
10:20 luke` [n=luke`@61.2.66.140] has joined #agavi
10:26 v-dogg huomenta
11:05 luke` [n=luke`@61.2.66.140] has quit [Read error: 113 (No route to host)]
11:14 JamieWolf [n=JamieWol@Qf3f8.q.pppool.de] has quit [Read error: 113 (No route to host)]
11:20 raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)]
11:22 ttj Huomen.
11:47 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
11:56 Whisller hi
13:14 codecop [n=codecop@85.206.207.52] has joined #agavi
13:35 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"]
13:52 raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
13:53 codecop why doing: svn co http://svn.agavi.org/trunk/ checked out revision number is incrementing, but no U or A files are shown?
13:54 firman [n=firman@125.163.23.2] has joined #agavi
13:56 kaos you need to checkout branches/0.11/
14:02 digitarald rtfm ;) ... or this placeholder on agavi.org ;)
14:02 codecop : |
14:04 digitarald (i checked out the trunk first, until Wombert smashed me ;) )
14:15 digitarald what is the easiest way to bring the context in the propel models?
14:17 JamieWolf [n=JamieWol@Qf3f8.q.pppool.de] has joined #agavi
14:18 kaos uh
14:18 kaos well, david had something in mind for that
14:21 digitarald i know it's possible with propel 1.3
14:21 digitarald for now i gave all methods a context-parameter that need the context ...
14:27 firman [n=firman@125.163.23.2] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"]
14:40 Wombert [n=Wombert@dslb-088-064-014-058.pools.arcor-ip.net] has joined #agavi
14:53 digitarald i have that routing ... pattern="/({id:\d*})(-{title:.*})?$" ... title is optional, but the url without title has an appended '?'
14:53 digitarald With title: url/100-My_Title ... but without: url/100?
15:02 Wombert try setting -{} as the default for the title
15:02 Wombert if that doesn't help, it's probably a bug
15:02 Wombert no need for the {} in the first pattern btw
15:04 digitarald ok, added <default for="title">-{}</default> ... there is still the '?'
15:04 Wombert kaos?
15:05 digitarald btw, title is added to the gen() parameters, but its ''
15:05 Wombert with -{}, yeah
15:05 Wombert so remove that again first ;)
15:08 v-dogg hey, how do I localize error messages (validation)?
15:08 kaos works fine here
15:09 kaos v-dogg: you give the validator a translation_domain
15:10 Wombert v-dogg: of course, you can also translate them during output, but that's not as convenient ;)
15:11 v-dogg <validator class="string" name="valid_name" severity="error" required="true" translation_domain="default.contact">
15:12 Wombert yeah that should do the job
15:12 Wombert does it work?
15:12 v-dogg let's see
15:14 kaos you can use .contact as well now
15:14 kaos to access the default domain
15:15 digitarald title is given with '', but still there is a ? ... *grmpf*
15:15 digitarald where should i insert the translation_domain in the validators.xml?
15:15 digitarald does it not use my default translation_domain?
15:16 v-dogg Fatal error: Maximum execution time of 30 seconds exceeded in D:\camilla.fi\www\camilla.fi\3rdparty\agavi\config\AgaviXmlConfigParser.class.ph​p on line 64
15:16 v-dogg uhmm...
15:17 Wombert digitarald: if you give title = ''...
15:17 Wombert title = null, how about that
15:19 Wombert becasue null tells the routing to skip an argument
15:19 digitarald now i give null ... same result
15:19 Wombert k
15:19 digitarald shall i test it in the samle app?
15:20 Wombert if you like
15:25 v-dogg hey, this is not nice...
15:25 Wombert ?
15:25 Wombert :<
15:26 v-dogg I have a simple validation xml (one string validator, not translation domain) and it takes over 30 secs to process it
15:26 kaos no
15:26 kaos it takes over 30 seconds to process the translation stuff
15:26 digitarald does validation not use my default translation_domain?
15:26 kaos i guess
15:26 kaos digitarald: how should it
15:26 Wombert digitarald: it can't guess that
15:27 Wombert and having everything in one domain... mhhhh no good idea
15:27 kaos you ALWAYS need some text domain for gettext ...
15:27 Wombert digitarald: btw you should anchor your patterns at the start
15:27 v-dogg kaos: does it process the translation stuff even if I haven't defined translation_domain in validation xml?
15:27 digitarald i have one ...? why should i split my domains :(
15:27 kaos if use_translation=true
15:27 v-dogg ok.. hmm..
15:29 v-dogg that's still weird. I have less than 20 strings in translation.xml (using simple translator)
15:29 kaos the problem is compiling the cldr
15:30 kaos (or actually just the currently set locale)
15:31 v-dogg but how come it only takes this long when I'm validating a simple form?
15:32 v-dogg everything else loads fast
15:32 kaos because the locale data is loaded on demand
15:32 v-dogg and I have debug off
15:32 kaos so as long as you don't access the current locale
15:32 kaos it doesn't even load the data
15:32 Wombert it really sounds like a bug
15:32 Wombert shouldn't take 30 seconds
15:32 kaos no
15:32 kaos lol
15:32 Wombert we had these problems before :<
15:32 kaos takes 1.5 minutes here
15:33 Wombert ???
15:33 Wombert what
15:33 kaos or wait O_o
15:33 kaos ok, i lied *g*
15:33 Wombert digitarald: are you aware that
15:33 Wombert pattern="^/({id:\d*})(-{title:.*})?$"
15:34 Wombert will match "/" ?
15:34 Wombert and thus always be displayed as the start page? ^^
15:34 Wombert I assume it's supposed to be either id or title?
15:34 Wombert you have to use lookahead and lookbehind assertions then
15:34 digitarald pattern="^/({id:\d{3,}})(-{title:.*})?$"
15:34 Wombert ah
15:34 digitarald better
15:34 Wombert d+
15:34 Wombert ?
15:34 Wombert :p
15:35 digitarald mh ... no :P
15:35 digitarald 3 is ... mmmhh ... don't know ;)
15:35 digitarald to say it like bush: Whatever ;)
15:36 digitarald but there is still that ? ;)
15:36 Wombert yes
15:36 Wombert as you may have guessed
15:36 Wombert I'm working on it
15:36 Wombert ..
15:37 firman [n=firman@125.163.23.2] has joined #agavi
15:38 v-dogg Fatal error: Maximum execution time of 120 seconds exceeded in D:\camilla.fi\www\camilla.fi\3rdparty\agavi\config\AgaviXmlConfigParser.class.ph​p on line 64
15:38 v-dogg :)
15:38 Wombert it's some infinite loop
15:38 Wombert maybe because you didn't supply a domain or so
15:38 Wombert in the simple translator
15:38 Wombert who know
15:52 v-dogg hehe, apache used 800+ megs of memory when I tried to send that form :)
16:01 kaos can you show me your validation config ?
16:02 kaos this sounds a little like that pluralizing is going insane (which is the only thing which could create an infinite loop there i think)
16:04 CIA-11 david * r1424 /branches/0.11/src/routing/AgaviWebRouting.class.php: fixed #364
16:04 Wombert there you go
16:05 v-dogg kaos: http://pastebin.ca/274172
16:06 v-dogg if I validate manually everything works fine
16:07 kaos hmm
16:07 kaos this is strange O_o
16:19 digitarald thx for the quick fix Wombert
16:20 digitarald is isset($p[$param] not the same like array_key_exists($param, $p)?
16:20 kaos no
16:20 digitarald whats the difference, strict type?
16:20 kaos $a[1] = null;
16:20 kaos isset($a[1]) -> false
16:20 digitarald ah, i see
16:46 JamieWolf_ [n=JamieWol@Qd7b3.q.pppool.de] has joined #agavi
17:00 digitarald Wombert *ping* it's not possible to give array-parameters to Routing->gen, or is there a trick?
17:02 JamieWolf [n=JamieWol@Qf3f8.q.pppool.de] has quit [Read error: 113 (No route to host)]
17:20 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
17:34 Wombert that would only work for ? params
17:34 Wombert let me see
17:43 JamieWolf_ [n=JamieWol@Qd7b3.q.pppool.de] has quit [Read error: 113 (No route to host)]
18:01 CIA-11 david * r1425 /branches/0.11/src/routing/AgaviWebRouting.class.php: fixed #365
18:01 Wombert fixed
18:29 CIA-11 david * r1426 /branches/0.11/src/logging/ (AgaviLogger.class.php AgaviLoggerManager.class.php): fixed an issue where logging appenders where shut several times if used by multiple loggers, closes #366
18:30 CIA-11 david * r1427 /branches/0.11/src/config/defaults/compile.xml: removed all logging stuff from default compile.xml since logging is optional
18:52 codecop [n=codecop@85.206.207.52] has joined #agavi
19:08 firman [n=firman@125.163.23.2] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"]
19:40 digitarald thx Wombert, great
19:56 impl [n=impl@httpcraft/php/impl] has joined #agavi
20:01 JamieWolf [n=JamieWol@Qd7b3.q.pppool.de] has joined #agavi
20:06 Wombert digitarald: you're welcome
20:08 Wombert digitarald, v-dogg: your logger code still working?
20:08 Wombert I fixed the multi-shutdown problem of appenders
20:09 digitarald is there a good library for watermarking images?
20:09 digitarald not only watermarking ... scaling and all that things. it has to be fast and with im-support
20:10 digitarald i tried ezComponents, but its buggy and only the beta has watermark support
20:21 v-dogg try Zend "Framework"
20:21 v-dogg (buahahahaa)
20:22 digitarald they have no image support ... (thank god ;) )
20:48 JamieWolf_ [n=JamieWol@Qe5ef.q.pppool.de] has joined #agavi
20:49 codecop digitarald, what u mean im-support?
20:50 codecop take a look at http://www.phpclasses.org/browse/package/3125.html
20:51 Wombert gpl
20:51 Wombert therefor, useless
20:51 Wombert and phpclasses looks just as retarded as five years ago
20:51 Wombert impressive :)
20:52 codecop but they working still
20:52 codecop :)
20:58 codecop linux too gpl useless?
20:58 codecop ;)
20:59 codecop digitarald, just have a look at that thumbnail-party, maybee u like it
20:59 eremit [n=eremit@p5490FFF7.dip.t-dialin.net] has joined #agavi
21:00 Wombert it is GPL
21:00 Wombert he cannot use it
21:00 Wombert ...
21:00 codecop a ok
21:03 impl :S
21:03 impl Why would someone name a class "thumbnail party"
21:03 codecop he japanys we cant understand them ;)
21:05 Wombert yes
21:05 JamieWolf [n=JamieWol@Qd7b3.q.pppool.de] has quit [Read error: 113 (No route to host)]
21:05 Wombert it is as impossible (and as futile an attempt) as counting to infinity
21:06 Wombert but
21:06 Wombert he's from hong kong
21:06 Wombert and his name doesn't sound japanese at all ;)
21:46 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:52 Arme[N] is now known as Arme[ZzZzzZ]
21:53 Arme[ZzZzzZ] is now known as Arme[ME
21:53 Arme[ME is now known as Arme[ME]
21:54 JamieWolf_ [n=JamieWol@Qe5ef.q.pppool.de] has quit ["Gone for a Drink"]
21:54 Arme[ME] [n=Arme[N]@80.191.141.182] has quit ["leaving"]
22:13 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
23:08 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
Day changed Mon Dec 11 2006
00:16 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
01:59 benny`work [n=benny@p54AC1D55.dip0.t-ipconnect.de] has joined #agavi
02:26 epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:39 CIA-11 dominik * r1428 /branches/0.11/src/config/AgaviValidatorConfigHandler.class.php: fix validators not inheriting the severity of their parent
03:14 Wombert http://trac.agavi.org/ticket/367 feedback pleas
03:14 Wombert e
04:00 benny`work [n=benny@p54AC1D55.dip0.t-ipconnect.de] has quit ["unset($this);"]
04:10 luke` [n=luke`@61.2.66.180] has joined #agavi
05:12 luke` [n=luke`@61.2.66.180] has quit [Read error: 110 (Connection timed out)]
05:37 Wombert [n=Wombert@dslb-088-064-014-058.pools.arcor-ip.net] has quit [Nick collision from services.]
05:37 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has joined #agavi
06:27 jordansjones_ Hey.. Anyone around that can answer a question about the Form Population Filter?
06:28 Wombert me
06:29 jordansjones_ Cool.. I have an ajax request going out using the POST method. This request returns XML. How would I go about having the filter ignore this request?
06:29 Wombert sure
06:30 Wombert just give the FPF an "output_types" parameter with one parameter inside, "html" (or wahtever the name of your standard output type is)
06:30 Wombert you're making use of output types, right?
06:30 jordansjones_ ahh.. cool.. Yes, I am.. Thank you very much
06:30 Wombert <parameter name="output_types">
06:30 Wombert <parameter>html</parameter>
06:30 Wombert </parameter>
06:31 Wombert (it's now possible to omit the plural wrapper element in most cases)
06:31 jordansjones_ good deal.. Thanks for the info..
06:31 Wombert unless, of course, you're using RC1 ;)
06:31 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
06:32 jordansjones_ :).. I am.. So I will use the plural wrapper
06:32 jordansjones_ Works like a charm.. Again, thank you very much.
06:32 Wombert sure
06:33 Wombert let me know if you have any further questions
06:33 Wombert actually
06:33 Wombert last chance, I'll be headed to bed pretty soon :)
06:33 jordansjones_ no worries.. Thanks again though..
07:14 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has quit [Read error: 131 (Connection reset by peer)]
07:14 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has joined #agavi
07:47 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has quit []
08:22 v-dogg huomenta
08:32 ttj Huomen.
08:56 v-dogg can anyone recommend a nice and simple gui ftp client for win
08:56 v-dogg preferably a single exe
08:57 jordansjones_ if you use Firefox, there is a ftp addon that is supposed to be pretty decent
08:58 v-dogg ok, let's check that out
08:58 v-dogg thanks
08:59 jordansjones_ no problem
08:59 jordansjones_ I personally use SmartFTP, but it isn't a single executable
09:00 eremit [n=eremit@p5490FFF7.dip.t-dialin.net] has quit []
09:01 eremit [n=eremit@p5490FFF7.dip.t-dialin.net] has joined #agavi
09:01 v-dogg I'd prefer not to use ftp at all but I have to work with retarded people and, hence, retarded technology :)
09:01 jordansjones_ lol
09:08 ttj v-dogg: scp :-)
09:11 v-dogg oh yes please!
09:11 v-dogg too bad these morons don't want to use anything else than normal ftp
09:12 v-dogg sftp, ftp/ssl... no no no... too complicated
09:13 ttj WTF?
09:13 ttj Now all my unit tests pass for this fuckin' piece of shit...
09:13 ttj Oh well, it doesn't fail anything anymore, so I guess I'll submit this. :P
09:14 ttj The benefits of school work; you don't need to be 100% that it's correct since there's a guy who'll tell you and then you can iterate until you pass. And your salary and bonuses aren't dependent on anything since there are none. :D
09:20 jordansjones_ Hey, I'm using RC1, is there anything spectacular that I have to do to get validators working?
09:21 jordansjones_ Nevermind
09:25 v-dogg got it?
09:27 jordansjones_ yep.. but maybe you can confirm what I believe the problem was. I didn't have an executeWrite in my action.
09:35 jordansjones_ [n=jordansj@67.50.42.138] has quit []
09:35 jordansjones [n=jordansj@67.50.42.138] has joined #agavi
09:46 v-dogg jordansjones: you didn't have any execute method?
09:47 jordansjones No. Only because I had just started to set the action up. You know, put the cart before the horse situation..
09:47 v-dogg yep, and yes, that was the reason why nothing was validated
09:48 jordansjones It makes sense.
09:56 splatch [n=splatch@s3.przytulski.net] has joined #agavi
09:57 splatch hello
09:58 v-dogg huomenta
10:03 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
10:45 eremit_ [n=eremit@p5490DAE6.dip.t-dialin.net] has joined #agavi
11:03 eremit [n=eremit@p5490FFF7.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:05 eremit_ is now known as eremit
11:19 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
11:21 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
11:21 RossC0 Hi all, anyone about to answer a couple of questions?
11:23 digitarald what do u want to know?
11:28 RossC0 1) is it fully unit tested? 2) whats the road map for the future, the website says the API will be fixed - so thats good 3) Is this channel active for new folk asking for help??
11:29 CPUnerd [n=davidc@unaffiliated/cpunerd] has quit [Read error: 110 (Connection timed out)]
11:30 RossC0 also does anyone know the differences between Agavi and Symfony - I believe they are both Mojavi based?
11:33 RossC0 [n=lawleyr@80.4.120.163] has quit ["agileweb.org"]
11:33 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
11:34 RossC0 sorry - dropped out there
11:36 digitarald 1) checkout the 0.11 branch, there are unit tests for everything 2) view the tickets in trac, roadmaps and tickets are defined for every version 3) of course
11:37 digitarald 3) developers of agavi and many developers that use agavi will help u here. Just ask your question and u will get 100% feedback, just be patient and nice ;)
11:40 digitarald Agavi is an enterprise framework that will give You full power about the technologies u use. You CAN use propel for databaseabstraction and u CAN choose php/smarty/whatever for templates. Agavi is more strict than Symfony, you can configure everything, the routing is pretty cool and the validation-system awesome
11:40 digitarald just checkout the 0.11 branch and take a look the the sample app
11:45 codecop [n=codecop@85.206.207.52] has joined #agavi
11:46 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:08 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
12:09 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
12:15 v-dogg RossC0: agavi is stricly MVC and this gives a lot of benefits: cleaner structure (means better control), multiple output formats for the same action (no bullshiting, you really can have one action that serves, say, html, xml and pdf, and only thing that's different is the template)
12:15 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:17 v-dogg 0.11 release candidate was release a few weeks ago
12:18 v-dogg now we are gathering feedback and hope to fix the remaining issues with the framework itself
12:19 v-dogg after the final 0.11 the API is not going to change unless something really big unforseen emerges
12:19 v-dogg and then it's all about docs and other supportive stuff
12:21 v-dogg almost everybody here (I think) uses 0.11 rc1 (ar later from the svn) for production stuff already so you are quite safe to start a new project with it
12:22 v-dogg and we are also commited to give support here
12:22 v-dogg for several reasons
12:22 v-dogg (a) the docs are badly unfinished
12:23 v-dogg (b) we'd like to see people take the most out of agavi and "Doing it right" from the start :)
12:24 v-dogg nod if you hear me ;)
12:30 RossC0 sounds cool
12:30 RossC0 my only worry is pesuading people on the take up with the lack of docs
12:31 RossC0 I think they may be dazzled by symfony's site. But I think Agavi sounds more configurable / less opressive as you can do things your way in Agavi
12:31 v-dogg co-workers?
12:31 RossC0 i.e. pick your own db wrapper
12:31 RossC0 yup co-workers
12:32 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:32 RossC0 you taking in document contributions?
12:32 v-dogg absolutely
12:32 v-dogg docs are getting there but slowly
12:33 RossC0 they always do! People to busy building sites I imagine!
12:33 v-dogg because all effort is put to getting the framework itself ready
12:33 RossC0 good stuff
12:34 RossC0 I remember playing round with Agavi last year (July) but that was at another company and I see the release notes are impressive for 0.11
12:35 RossC0 Is the SVN trunk now the same as branch 0.11 ?
12:35 v-dogg no, use branch0.11
12:36 RossC0 ok cool
12:37 RossC0 thanks for ya help!
12:38 RossC0 I'm off to argue the case for Agavi!
12:40 jordansjones Make it a good one.. It will be well worth your while.
12:57 codecop [n=codecop@85.206.207.52] has joined #agavi
13:53 RossC0 Hi, well unfortunately, I'm up against it for this project - timescales being an issue
13:54 RossC0 but they want to see some demo code querying the database
14:09 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
14:20 v-dogg RossC0: you could use the sample app as a base and add some propel models to it
14:20 RossC0 yeah am doing
14:21 RossC0 propel 's site is down - was going to use that as a wrapper
14:21 RossC0 are there still commands for building actions on the commandline?
14:21 RossC0 (for Agavi that is!)
14:23 v-dogg yep
14:24 v-dogg http://trac.agavi.org/browser/branches/0.11/etc
14:24 v-dogg copy agavi(.bat)-dist into your project dir, alter the path in it
14:24 v-dogg and run agavi help
14:26 RossC0 cool thanks
14:31 RossC0 ah man - even phing site seems to be down!
14:47 v-dogg what's wrong with them... propel.phpdb.org has been down for more than a week now
15:12 codecop [n=codecop@85.206.207.52] has quit ["Leaving"]
15:12 Arme[N] what you think guys about this old article?
15:13 Arme[N] http://www.sitepoint.com/blogs/2005/12/22/mvc-and-web-apps-oil-and-water/
15:15 digitarald its from 2005 ;)
15:17 v-dogg Arme[N]: I've criticized that article here before
15:18 v-dogg I disagree strongly
15:18 v-dogg there are more than one way to achieve MVC
15:20 Arme[N] v-dogg: then let me check out log files ....
15:20 Arme[N] thanks
15:20 v-dogg gui applications use observer patterns (the view gets notified when a model has changed)
15:21 v-dogg but that won't work in thenweb (without ajax or something)
15:21 v-dogg the web*
15:21 v-dogg so web applications use other patterns
15:22 v-dogg like mediator (controller is a mediator between the view and the model)
15:22 Arme[N] a guy ask me about controller, he saied it suks in webapp!!! he saied that it was for GUI app and for controlling devices like keyboard, mouse, etc
15:23 v-dogg well... no :)
15:24 v-dogg there has to be a controller
15:24 v-dogg even a simple one
15:24 v-dogg that guy had probably read that same article and didn't know what he was talking about :)
15:25 Arme[N] may be, I asked him about filters and its benefits.... is it really part of a controller?
15:26 v-dogg that's a matter of opinion... I would say yes, they are
15:26 v-dogg but then again.. hmm..
15:26 v-dogg depends on what they do
15:28 Arme[N] and what you think about NVC and ajax?
15:28 Arme[N] < v-dogg> but that won't work in thenweb (without ajax or something)
15:29 Arme[N] symfony uses MVC for ajax stuff right?
15:29 digitarald its mojavi, so yes
15:29 digitarald or do u mean clientside?
15:30 Arme[N] we are basedon mojavi too
15:30 Arme[N] I dont know how it handles ajax (in symfony)
15:31 Arme[N] but my question is this *is MVC suitble for ajax? if it is for webaap as v-dogg sied*
15:33 Arme[N] may be this is a stupid question....
15:33 Arme[N] hmm
15:34 Arme[N] ajax runs in client
15:34 Arme[N] and ...
15:34 Arme[N] I don't know... pfff
15:35 digitarald maybe it is ... what do u need on serverside for ajax ... just an output that returns some informations
15:35 RossC0 v-dogg: any chance in the future Agavi could have a copy of phing incase the site goes down again
15:36 digitarald :D maybe a mirror download link ;)
15:38 RossC0 would be cool to have any core depenencies - but then again its wierd its not online
15:39 Arme[N] digitarald: no I dont want any think I ask that because I found this http://hasin.wordpress.com/zephyr-the-ajax-mvc-for-php5/
15:40 Arme[N] digitarald: as v-dogg seid observer patterns is suitable for ajax, then what is that framework for :P
15:40 Arme[N] I just confused a litle
15:40 Arme[N] I dont know what is right at the moment :)
15:40 Arme[N] I need some research again about these stuff
15:41 RossC0 Arme[N]: ajax is just a http request - so if you use a MVC for your main app then Ajax is the same - you'll just want to serve less content
15:41 Arme[N] BUT I know MVC is really suitable for webapp because I have 1 year experinces with that(with M3)
15:42 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
15:42 Arme[N] hmm
15:42 RossC0 how you organise your Javascript logic is another matter
15:43 RossC0 you can do a controller / view in the client with the server acting as the model, but that places alot of emphasis on the client
15:44 RossC0 probably too much if you want to serve no js enabled folk
15:45 RossC0 I did that recently talking to a REST interface on the server
15:45 Arme[N] right, then it is better to move part of controller to server side right?
15:45 Arme[N] hmm
15:46 RossC0 Not sure, what we had was a server that had its own MVC to produce content which is fed in a number of formats ie. html, json
15:47 RossC0 then we had a number of clients, one was an Ajax client, that had to manage its own view via content from the server.
15:48 RossC0 so we had an observer observing events and then passing actions to the corresponding controller
15:48 RossC0 which then handled the ajax calls and processing of the data
15:48 RossC0 it was a wierd model almost a double MVC.
15:49 RossC0 however, we planned for many clients - so the server rest interface really was just an API to hook into, then each client would handle itself
15:49 RossC0 if that makes any sense?
15:51 Arme[N] I got that
15:51 Arme[N] yes
15:51 RossC0 It was a bit abstract, different client and server teams
15:51 Arme[N] yes
15:51 Arme[N] let say agavi in server side as MVC framework
15:51 Arme[N] for serving clients
15:51 RossC0 yup
15:52 Arme[N] every client could be ajax enabled or not
15:52 Arme[N] then we need a controller for ajax app too
15:52 RossC0 So you want your ajax unobtrusive?
15:52 RossC0 I think in Agavi you can use the same controller and check what response is required
15:53 RossC0 so if its an Ajax call -> return JSON
15:53 RossC0 otherwise include the whole page including the partial templates such as navigation etc..
15:53 RossC0 that right guys?
15:53 Arme[N] yes it is
15:54 Arme[N] you right
15:54 Arme[N] there is no need to that controller for ajax in client
15:54 Arme[N] just I should use output type stuff in agavi...
15:55 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
15:55 RossC0 yes and in javascript you can override forms or links to action via ajax if the browser has the capibility
15:56 RossC0 that way they work with an without javascript
15:56 RossC0 *and without javascript
15:56 Arme[N] and it will cool :)
15:56 CPUnerd [n=davidc@bas4-montrealak-1177566698.dsl.bell.ca] has joined #agavi
15:57 Arme[N] excellent
15:57 Arme[N] CPUnerd: wb :)
15:57 CPUnerd moin moin
15:59 Arme[N] v-dogg: RossC0 thanks for attention
15:59 CPUnerd I hate mondays
15:59 RossC0 if your using prototype check out : http://encytemedia.com/event-selectors/ that way you can separate all your javascript into a library and have it act on certain elements
16:01 RossC0 is there an explaination of the directory layout in the help / trac ?
16:05 Arme[N] RossC0: thanks
16:05 Arme[N] RossC0: you mean in agavi?
16:05 RossC0 yeap
16:06 RossC0 also how does the internationalisation work, in the sample app I can only see templates for pl and de yet they all work ?
16:09 Arme[N] there was a doc for directory structure I think but I cant find it at the moment...
16:10 Arme[N] RossC0: http://www.agavi.org/docs/latest/manuals/manual/ch02s13.html
16:11 RossC0 cool
16:12 Arme[N] RossC0: you can build latest documention form SVN
16:26 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has joined #agavi
16:26 Arme[N] Wombert: WB :)
16:27 Arme[N] is propel.phpdb.org down, Wombert?
16:27 Wombert no idea
16:27 Arme[N] hmm
16:35 RossC0 anybody got a copy of phing I can use? also creole would be good also !
17:10 foresth [i=foresth@local.hide-forest.net] has joined #agavi
17:18 foresth ahoy
17:31 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
17:59 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
18:06 benny`work [n=benny@p54AC3843.dip0.t-ipconnect.de] has joined #agavi
18:15 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
18:15 Whisller hi :]
18:20 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"]
18:28 codecop [n=codecop@88.118.232.135] has joined #agavi
18:37 codecop_ [n=codecop@85.206.199.83] has joined #agavi
18:39 codecop [n=codecop@88.118.232.135] has quit [Read error: 145 (Connection timed out)]
18:45 RossC0 Hi anyone got any ideas on how to get my hands on phing and creole?
18:45 Wombert patience ;)
18:46 splatch oi!
18:47 RossC0 dam - trying to pursuade my work to use agavi and showing if off but its a bit more troublesome without them :/
18:48 Wombert for now, you could
18:48 Wombert a) check out from svn (branches/0.11, not trunk!)
18:48 Wombert b) pear install --nodeps
18:48 RossC0 I've got agavi all sorted from svn :)
18:48 Wombert but you won't have phing, which means you can't do "agavi project" to create a fresh project
18:48 RossC0 I've found a zip for phing :-) on tigris
18:50 Wombert RossC0: I'm just reading through the docs
18:51 Wombert you can't win this by showing your co-workers database code samples
18:51 Wombert agavi has other benefits
18:51 Wombert for instance, the sample app also has an xmlrpc interface
18:51 Wombert to achieve that, no code had to be duplicated
18:51 Wombert the existing actions were simply given xmlrpc abilities by adding some code to the view (usually, it's only dropping in a new template)
18:51 Wombert this is important, especially in the time of ajax
18:52 Wombert because the ViewProductAction doesn't have to be duplicated to ViewProductAjaxAction
18:52 RossC0 sure I know, but they come from procedural so wow factors are important
18:52 digitarald but ... agavi has no ajaxactions *duck-and-run*
18:52 codecop_ i started from trunk and now have problem with validator i moved to branch/0.11 how correct this? http://phpfi.com/183807
18:52 digitarald thats a big difference to symfony ;)
18:52 RossC0 I think I'm winning :)
18:52 Wombert instead, you write the code once, and then serve a full html page, and a json response for ajax, depending on which was requested (could be detected based on a http header)
18:53 Wombert also, RossC0, you might want to point out our strong i18n support
18:53 Wombert $locale->getCountries() returns a list of country codes and theirnames, localized into the respective language, of course
18:53 Wombert format dates and numbers and currencies... etc et
18:53 Wombert c
18:53 Wombert and then there is, of course, the routing ;)
18:53 Wombert basically, the bigger your project, the more sense agavi makes
18:54 Wombert remind those guys that if you one day need pdf output for some actions, you don't have to touch existing code
18:54 Wombert if you want to add a REST web service interface tomorrow, it's possible, without having to start from scratch
18:54 Wombert that's a key point
18:54 Wombert and, of course, we don't get in your way :)
18:54 Wombert and
18:55 RossC0 heh! I'm sold :D
18:55 Wombert the form population filter finally gets form handling right, without stupid <?php echo form_text(); ?> methods
18:55 RossC0 whats the deal with pdf stuff? how'd I go through to that?
18:55 Wombert codecop_: http://trac.agavi.org/changeset/1408 and http://trac.agavi.org/wiki/Validation/RegisteringValidatorsManually
18:56 Wombert RossC0: let's assume you have that ViewProductAction
18:56 Wombert it grabs data from the database, then passes it to the view
18:56 Wombert inside the view, you setup a template, maybe define some other stuff, and then you're good to go
18:56 Wombert now all you would have to do is throw in another template besides ViewProductSuccess.php
18:56 Wombert like ViewProductSuccess.pdf.php
18:56 Wombert that renders the pdf
18:56 Wombert no need to touch the action again
18:57 Wombert of course, we don't bundle PDF capabilities, because everybody needs someone else, and it's not the job of a framework to help with PDFs ;)
18:57 RossC0 cool
18:57 Wombert another thing
18:57 Wombert our security concept
18:57 Wombert you cannot access original request data
18:57 Wombert from actions and views
18:57 Wombert you get only what passed validation
18:57 Wombert AND
18:57 Wombert validators can filter stuff
18:58 RossC0 but the ViewProductSuccess.pdf.php speaks to your own pdf lib and creates your pdf?
18:58 Wombert so you can put global filters in place that prevent XSS attacks
18:58 RossC0 nice
18:58 Wombert and you can define validation constraints, and the coder that implements the actions cannot do something wrong
18:58 Wombert RossC0: yep, exactly
18:58 RossC0 man you agavi guys have been busy :)
18:58 Wombert this concept is called output tpes
18:58 Wombert types
18:58 RossC0 i.e. responds_to
18:59 Wombert pardon?
18:59 RossC0 like in Rails
18:59 RossC0 apart from less configuration
18:59 RossC0 :)
19:00 RossC0 so ViewProductSuccess.rss.php would be your rss stuff and ViewProductSuccess.json.php your ajax stuff?
19:01 Arme[N] sings "Agavi rocks...agavi rocks...agavi guys, lets get rock...Agavi rocks"
19:04 Wombert RossC0: yes
19:04 Wombert you can, of course, also use different renderers per output type
19:05 Wombert i.e. generate RSS using XSL, html using PDF, and json using... nothing, because you'd set a json_encode result directly into the response, without using a template
19:05 Wombert RossC0: do you know our bot?
19:06 AgaviBot [n=dzuelke@dslb-088-064-026-225.pools.arcor-ip.net] has joined #agavi
19:06 Wombert it sits around, records all chatter in the channels he is on, and polls rss feeds in a regular interval
19:06 Wombert and he talks to us
19:06 Wombert !hug RossC0
19:06 AgaviBot hugs RossC0
19:06 Wombert !seen horros
19:06 um Wombert: horros was last seen in # 3 days, 8 hours, 13 minutes, and 45 seconds ago saying: <horros> gmoz
19:06 AgaviBot Wombert: horros was last seen on Thu Nov 2 09:26:30 2006 saying "http://robotman.cracked.com/2006/10/crossword_puzzle.php"; (joined Thu Oct 12 14:53:37 2006, left Thu Nov 2 09:54:32 2006)
19:07 Wombert aaaand... he's written in agavi!
19:07 Wombert !info
19:07 AgaviBot Wombert: I'm AgaviBot version 0.3, powered by Agavi :) My IRC Bot components and the Web Interface to the Logs share quite some code, thanks to Agavi's flexibility and clean structure!
19:07 um Wombert: Error: The command info is available in the Observer and RSS plugins. Please specify the plugin whose command you wish to call by using its name as a command before info.
19:07 Wombert basically, !seen <someone> executes a SeenAction... it then looks for the user in the logs, and the view builds an irc response
19:07 Wombert the routing is used to map these commands to actions
19:07 Wombert now the nice thing is... SeenAction can also be used via a web interface!
19:08 Wombert and it's the SAME code! only the view has been modified to allow both IRC and HTML use
19:08 Arme[N] let say an action for fetion statistics of a CMS :)
19:08 Arme[N] you can get it in IRC channel or webinterface
19:08 Arme[N] cool
19:09 RossC0 !hug Wombert
19:09 AgaviBot hugs Wombert
19:09 Wombert I can also control it, tell it to join and leave channels etc
19:09 Arme[N] s/fetion/fetching/
19:09 Wombert but you need a password for that ;)
19:09 RossC0 nice
19:09 Wombert but that's not the point
19:09 Wombert the point is that the logic code for irc and web use is the same
19:10 Wombert you just have to write specific stuff for the output of things
19:10 Wombert which makes your applications ultra forward compatible
19:10 Wombert if your boss walked over to you and said "I want XMLRPC for our app, next week"...
19:10 Wombert you gotta rebuild everyting with symfony or others
19:10 Wombert if it works at all
19:10 Wombert with agavi... you add stuff, you don't change anything, and it works
19:10 Wombert it took quite some time to figure all this stuff out, but now it works
19:12 digitarald Wombert, what is the best and fastest way to get the context in my propel models?
19:12 Wombert digitarald: hack the build templates
19:12 Wombert digitarald: I know this problem, I need it myself
19:12 Wombert I'll add extended propel 1.3 builders after 0.11
19:13 Wombert you will then do $pp = $ctx->getModel('ProductPeer');
19:13 Wombert it will have the context
19:13 Wombert $p = $pp->retrieveByPk(7);
19:13 digitarald i can hack the generated Skeleton subclasses?
19:13 Wombert $p will have the context, too
19:13 Wombert you could, but that's more work
19:13 Wombert the key is to change hydrate() so the peers pass the context to new instances
19:13 digitarald yes, it is, but the db is ready for now and most of these skeleton subclasses are extended
19:14 Wombert then modify the peers so they are agavi singleton models and can be fetched by getmodel
19:14 digitarald ah, ok ... great
19:14 Wombert I'm afraid there is no easy approach for now, it's a bit complicated, but I promise I'll do it as soon as I can
19:14 Wombert I recommend you simply do AgaviContext::getInstance('web') for now
19:14 digitarald ok
19:15 digitarald what about the CEF, is there a chance for this in this year/decade? It would be really really really cool :)
19:15 Wombert it will be in RC2
19:17 kaos btw, Wombert, about #367 ... you wanted to remove ALL error fetching stuff from the request ?
19:17 Wombert yeah why not
19:17 kaos so even (get|has)Error() ?
19:17 Wombert yes
19:17 Wombert or not?
19:17 kaos hmm
19:17 Wombert I mean... it's just a matter of preg_replace
19:17 kaos well, i think those 2 could stay
19:17 codecop_ [n=codecop@85.206.199.83] has quit ["Leaving"]
19:17 kaos because imho its more response centric then validation centric
19:17 kaos in some sense
19:17 Wombert yeah okay
19:17 Wombert request, you mean
19:17 kaos err
19:17 kaos yeah
19:18 digitarald no hasError???
19:18 kaos i usually wouldn't like duplicating such stuff, but somehow it feels wrong just having that in the vm
19:19 kaos digitarald: it would be moved to the validationmanager
19:19 Wombert http://trac.agavi.org/ticket/367 everyone give feedback please
19:19 digitarald how to check in validate() if the parameter is valid?
19:19 digitarald mh
19:19 kaos since currently the way the stuff is handled to the request is a) uber ugly
19:19 kaos b) bloats the request
19:19 kaos and it's missing features ;)
19:20 kaos i envision these request methods as "shortcuts" for calling validation manager methods only tho
19:20 kaos just a $this->getContext()->getValidationManager()->foo
19:21 Wombert reload ticket please
19:21 AgaviBot News from Agavi: Timeline at http://trac.agavi.org/timeline :
19:21 AgaviBot 1) http://trac.agavi.org/ticket/367#comment:1 : Ticket #367 (task updated): Fix some of the borderline inoperable ugliness of the validation system
19:23 digitarald ok ... will this hasError will be for filevalidators too?
19:24 kaos yes
19:24 kaos it shouldn't really change in behaviour
19:25 kaos (well, except the bugs which are still in there atm ;)
19:29 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:32 kaos about the parent validators having a error message and how it should be handled ... currently this works like this: when the parent container has an error message, all error messages from the childs will be discarded
19:32 kaos which i think should stay this way
19:34 kaos i couldn't really think of any reason why one would want to have both errors displayed
19:35 v-dogg I can
19:36 kaos gotta food
19:36 Wombert gotta english lessons
19:36 Wombert :>>>>>
19:36 v-dogg or hmm.. maybe I can't...
19:37 Wombert kaos: childs should inherit the severity from the parents, but they should be able to override it
19:37 Wombert one day, someone will come here and ask for it
19:37 Wombert and if we make childs inherit stuff, it works like you describe anyway
19:38 Wombert oh wait
19:38 Wombert that was about severities
19:38 Wombert sorry
19:38 Wombert my bad
19:38 Wombert discarding error messages is not good imo
19:38 v-dogg <or validator> <email validator /> <phone number validator /> </or validator>
19:38 Wombert yes
19:38 v-dogg and now someone puts a foobar'd email there
19:39 Wombert yep
19:39 Wombert and the or validator would say "please enter either email address or telephone number"
19:39 v-dogg I think it would be nice to show both "foobar'd email you moron" and "please fill either phone or email"
19:39 Wombert yep yep yep
19:39 v-dogg or not
19:39 v-dogg dunno
19:39 Wombert I think you're right
19:39 Wombert and there are even more reasonable use cases, we just don't know them yet
19:40 Wombert it would be cool to have a machine that things of utter nonsense to validate a point
19:40 Wombert harhar
19:40 Wombert :>
19:40 Wombert you could use it to make up reasons not to vacuum the apartment or so
19:40 Wombert would you buy that, v-dogg?
19:40 Wombert I think I would
19:40 v-dogg in a heart beat :p
19:40 kaos <Wombert> gotta english lessons <-- bought at aldi :P
19:41 v-dogg but me hungry now
19:41 v-dogg gotta food too
19:41 Wombert go go go
19:42 digitarald gotta speak bavarian ;)
19:42 kaos http://bar.wikipedia.org/wiki/Hauptsaitn
19:42 kaos :p
19:42 Wombert geh so a schmarrn nachad vuastöhts ihr saupreißn koa wort nimma
19:43 kaos well, ok i can agree on not silencing the childs
19:44 kaos since one could do that by using severity=none
19:46 kaos btw, could we need an enabled parameter so one could disable certain validators in registervalidators ?
19:47 kaos All validators for field "blah" <-- this will be a tough one btw ... the validators only really know what they have validated after validating it
19:52 Wombert okay
19:52 Wombert not really necessary anyway I think
19:52 Wombert most important features is getting validators by name
20:05 Arme[N] Wombert: ah, you fixed that date :)
20:05 Wombert Arme[N]: ?
20:05 Wombert ah in the sample app?
20:05 Arme[N] yes
20:05 Wombert well actualyl I didn't want date and time to be there
20:06 Wombert but there is still the issue where date and time are in wrong order for rtl, correct?
20:06 Arme[N] yes you remove time
20:06 Arme[N] but now it is just date
20:06 Arme[N] and it is correct
20:06 Wombert yeah
20:06 Wombert now
20:06 Wombert can you go to translation.xml
20:06 Wombert and remove the "type" parameter for the date formatter
20:06 Arme[N] sure
20:07 Wombert you'll then have date and time
20:07 Arme[N] okey...
20:07 Wombert is it correct this way? if not, what is wrong?
20:09 Arme[N] no it is not, let get screen shot from correct one ...
20:17 Arme[N] Wombert: http://screenshots.opensourceclub.org/date_format1.png
20:18 Wombert that would be correct?
20:18 Arme[N] yes
20:18 Arme[N] and this one has a comma after day....
20:18 Arme[N] http://screenshots.opensourceclub.org/date_format2.png
20:18 Arme[N] second is better
20:20 Wombert hmm
20:20 Arme[N] Wombert: are you palnned to add jalali calendar stuff in agavi?
20:20 Wombert yep we will add other calendars
20:21 Arme[N] cool
20:21 Wombert btw the letters look all different!?
20:22 Wombert only the middle part, I assume that's "december", is identical
20:22 Arme[N] may be it is font issue...!
20:23 Wombert ah okay
20:23 Wombert okay we now have to figure out if this is only a html rtl issue
20:23 Wombert or if the data is indeed coming in the wrong order from the formatter
20:23 Arme[N] yep
20:24 Arme[N] see this one, this is what i see in agavi....
20:24 Arme[N] http://screenshots.opensourceclub.org/agavi_sample_app.png
20:50 ttj [n=tjorri@kosh.hut.fi] has joined #agavi
20:50 Topic for #agavi: Agavi 0.11 RC 1 released :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: anonymous ticket posting possible again :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
20:50 Topic set by Wombert [] [Sun Nov 26 17:52:41 2006]
20:50 Irssi: #agavi: Total of 16 nicks [0 ops, 0 halfops, 0 voices, 16 normal]
20:50 Channel #agavi created Sun Nov 26 08:43:22 2006
20:50 Irssi: Join to #agavi was synced in 3 secs
20:52 Arme[N] is now known as Arme[morizer]
21:08 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has quit []
21:08 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has joined #agavi
21:23 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
21:25 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
21:25 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Client Quit]
21:41 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
21:43 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Client Quit]
22:04 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
22:04 Whisller hi
22:09 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:15 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
22:29 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
22:29 Arme[morizer] is now known as Arme[N]
22:30 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
23:48 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
Day changed Tue Dec 12 2006
00:33 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"]
01:27 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
01:58 firman [n=firman@125.163.2.7] has joined #agavi
02:03 epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:21 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
02:24 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
02:50 benny`work [n=benny@p54AC3843.dip0.t-ipconnect.de] has quit ["unset($this);"]
03:44 epaulin [n=epaulin@61.191.26.228] has joined #agavi
04:39 Wombert [n=Wombert@dslb-088-064-026-225.pools.arcor-ip.net] has quit []
04:50 AgaviBot [n=dzuelke@dslb-088-064-026-225.pools.arcor-ip.net] has quit [Read error: 145 (Connection timed out)]
05:46 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
06:07 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has joined #agavi
06:08 Wombert mmmh
06:08 Wombert woke up
06:08 Wombert and can't sleep anymore
06:08 Wombert wtf
07:03 Wombert morning ttj :)
07:03 Wombert you crazy finns are up early
07:04 ttj Mornin'.
07:04 ttj Oh right, Skype gave it away. :P
07:04 Wombert yep ^^
07:04 Wombert mmmmmh finally fixed files and cookies for array access
07:04 Wombert nnnice
07:05 ttj Well, I fell asleep last night around 10 PM when I tried to read a magazine. :-)
07:05 ttj Cool.
07:05 Wombert I didn't fall asleep until... dunno, and woke up not too long afterwards
07:05 Wombert my sleep cycles are so fucked up man wtf
07:05 ttj :-(
07:06 Wombert should try valerian or some other weird stuff
07:06 ttj Well, I was pretty exhausted last night. I was at the uni by 6 AM yesterday, got some stuff done, went to work at 11 AM and then left work a bit past 7 PM. Then the store, washing up the dishes, washed a bunch of shirts and then tried to read and fell asleep. :D
07:07 Wombert gawwwd that sounds terrible
07:07 Wombert you clearly need a SO to do the shopping, dishes and washing
07:07 Wombert harhar
07:07 ttj Haha. :-)
07:07 ttj Let's see if the shirts are dry. :-)
07:08 Wombert qqqqqquestion here
07:08 Wombert I'd like to break BC :)
07:08 ttj Yay. No need for a hair dryer. \o/
07:08 ttj BC?
07:09 Wombert $req->getFileName('foo') returns the file name for foo as it was stored on the client
07:09 Wombert however, getFileNames returns the indices in $_FILES, which means the html field names
07:09 Wombert this is kind of inconsistent I think
07:09 Wombert I would like to rename getFileNames to getFileFieldNames
07:09 Wombert would that be good?
07:09 ttj Yeah, that's more consistent.
07:10 Wombert also
07:10 Wombert I now added support for arrays when uploadinf files
07:10 Wombert -f+g
07:10 Wombert i.e. foo[one], foo[two] and so on
07:10 Wombert getFileFIeldNames should return these, too, right?
07:10 Wombert not only the top level
07:11 ttj Hmm...
07:11 Wombert assuming we have "bar", and "foo[one]" and "foo[two]", should it return:
07:11 Wombert "foo" and "bar"
07:11 Wombert "foo[one]", "foo[two]" and "bar
07:11 Wombert or "foo", "foo[one]", "foo[two]" and "bar"
07:12 ttj I would say option b).
07:13 Wombert okay
07:14 Wombert I'll make that default (another break) and add an argument that allows to retrieve the top level files only, like in the olden times
07:14 ttj Sure.
07:14 Wombert therefor, it's getFileNames() => getFileFieldNames(false) for ultimate BC
07:14 Wombert and
07:14 Wombert should I change getFiles() so you can pass a flag
07:14 Wombert right now, it would return the array itself
07:15 Wombert so you get "foo" and "bar" as indices, the one caontaining the actual file info in an array (size, name etc), the other an array with one and two inside
07:15 Wombert I think a flag would be good that only returns actual files, even recursive
07:15 Wombert good?
07:15 Wombert so you'd get back
07:16 ttj YEARGH! I've been awake for 15 minutes. :P
07:16 Wombert wait, example
07:16 Wombert right now, you get
07:16 Wombert array('bar' => array(...), 'foo' => array('one' => array(...), 'two' => array(...)))
07:16 Wombert ... being the array with file name, size, type etc
07:16 Wombert then, you'd get
07:17 Wombert array('bar' => array(...), 'foo[one|' => array(...), 'foo[two]' => array(...))
07:17 Wombert if you pass in a flag as the argument
07:17 ttj Yeah, sure. That sounds logical.
07:18 ttj Damnit. Washed the white shirts, but now there aren't any white undershirts.
07:19 Wombert that sucks
07:19 Wombert wear a blue shirt then
07:19 Wombert and fuck undershirts
07:20 Wombert or is it that cold outside
07:20 Wombert well okay it's ifnland
07:20 Wombert it sure is
07:20 ttj I don't know yet. I woke up 20 minutes ago. :P
07:21 Wombert ah yes you mentioned that
07:21 ttj http://outside.hut.fi/ <-- Ok, not that cold.
07:21 Wombert not any colder than over here
07:21 Wombert wtf is wrong with the winter this year?
07:22 ttj No idea. I think the world is coming to an end or something.
07:23 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
07:24 Wombert and I thought I was the only one thinking that
07:24 ttj Well, if you've followed the news in the past 5 years, I don't think you could come to any other conclusion. :D
07:25 Wombert ooooooh bloody hell
07:25 Wombert I forgot that the free shipping ended over at bustedtees.com two days ago
07:25 Wombert argh
07:26 Wombert http://www.bustedtees.com/shirt/aweso/male <- uber
07:26 Wombert http://www.bustedtees.com/shirt/thenotebook/male <- very cool too
07:26 Wombert http://www.bustedtees.com/shirt/blowme/male <- CLASSIC!
07:26 Wombert did you have an NES, ttj?
07:27 Wombert http://www.bustedtees.com/shirt/originalgangsta/male <- coool
07:27 ttj NES? You mean the 8-bit Nintendo? Yeah.
07:27 ttj Haha. :D
07:27 Wombert remember how you had to blow into the cartridge because it often wouldn't work
07:27 ttj Duck Hunt!
07:27 ttj Yeah.
07:27 Wombert http://www.bustedtees.com/shirt/yourretarded/male <- too many cool shirts there
07:28 Wombert http://www.bustedtees.com/shirt/acme/male
07:28 Wombert :<
07:28 Wombert http://www.bustedtees.com/shirt/nostrings/male harhar
07:28 Wombert on well
07:28 Wombert -n+h
07:28 Wombert only got http://www.bustedtees.com/shirt/stewartcolbert/male so far
07:38 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
08:10 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
08:14 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
08:38 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
08:46 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
08:49 Wombert also, moveFile should throw an exception
08:54 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
08:56 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
09:00 raidman [n=raidman@62.60.194.3] has joined #agavi
09:27 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has quit []
09:56 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
10:07 v-dogg huomenta
10:07 raidman huomenta
10:24 v-dogg what's up
10:26 raidman hmm, nothing ... working hard just fo $ :P
10:26 raidman for*
10:26 raidman and you? :)
10:29 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:29 RossC0 morning!
10:29 v-dogg huomenta
10:29 raidman morning
10:30 RossC0 good news phing and phpdb.org are back up :)
10:30 v-dogg finally
10:30 raidman :)
10:31 RossC0 are there any notes / examples on how to write unit tests for your actions?
10:34 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
10:38 v-dogg RossC0: not that I know of
10:38 RossC0 ok - anything I need to do to test individual actions ?
10:39 RossC0 or anyone got an example they use I can copy? :)
10:41 eremit_ [n=eremit@p5490DAE6.dip.t-dialin.net] has joined #agavi
10:41 eremit [n=eremit@p5490DAE6.dip.t-dialin.net] has quit [Read error: 54 (Connection reset by peer)]
10:51 RossC0 anyone?
10:52 RossC0 begs
10:52 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
10:53 RossC0 also is there an easy way to override the database for tests so I could point it to a test database?
10:53 eremit [n=eremit@p5490E5F3.dip.t-dialin.net] has joined #agavi
10:55 v-dogg RossC0: you can have per-enviroment and per-context settings
10:56 v-dogg so yes, you can have "test" enviroment that uses different db settings
10:57 RossC0 ah excellent :)
10:58 v-dogg http://pastebin.ca/276413
10:59 v-dogg and your index.php needs to bootstrap the right enviroment then
10:59 RossC0 thanks v-dogg :)
11:03 eremit_ [n=eremit@p5490DAE6.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:31 firman [n=firman@125.163.2.7] has quit [Read error: 104 (Connection reset by peer)]
11:42 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has joined #agavi
12:17 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
12:18 raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)]
12:55 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
13:11 v-dogg anyone has any idea why IE won't open my pdf output but firefox has no problems with it
13:12 v-dogg http://pastebin.ca/276475 <-- header sent by my app
13:12 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
13:12 Whisller good morning
13:15 v-dogg mornig
13:16 v-dogg n
13:17 v-dogg ah, stupid piece of ie crap
13:18 Whisller :)
13:19 v-dogg $response->setHttpHeader('Content-Disposition', 'attachment; filename="print.pdf"');
13:19 v-dogg without that IE won't show it
13:20 Whisller Heh yes IE is great ;p
13:20 digitarald thats like displaying images ... then its 'inline' :D
13:21 Whisller i've got 23 days to end using xp... :/
13:22 Whisller ehh i don't want linux :)
13:22 Whisller *wanna
13:26 digitarald get a mac ;)
13:28 Whisller hehe
13:28 RossC0 hi - whats the command to get a set attribute in your view ?
13:28 v-dogg ftw... IE still won't open it on the production server
13:29 RossC0 $this->getContext()->getAttribute?
13:29 v-dogg from localhost it works
13:29 Whisller RossC0, $this-...
13:29 Whisller v-dogg, ;)
13:29 Whisller tfu
13:29 Whisller RossC0,
13:29 Whisller $this->setTemplate('var', $var);
13:29 eremit [n=eremit@p5490E5F3.dip.t-dialin.net] has quit []
13:29 Whisller $template['var'] - in template
13:29 v-dogg no :)
13:30 Whisller :>
13:30 RossC0 I'm passing a post var from the action
13:30 Whisller oooo
13:30 Whisller set
13:30 Whisller i'm sorry
13:30 RossC0 in the example all I see is the translationManager stuff
13:31 v-dogg RossC0: you can either store stuff into request ($this->getContext()->getRequest()->get/setAttribute(...) )
13:31 v-dogg or store stuff directly into the view using $this->setAttribute(...) ($this being the action)
13:32 v-dogg attrs set using the second method are directly used as template variables ($template['myvar'])
13:33 v-dogg and can also be accessed via $this->getAttribute in the view
13:33 v-dogg confusing enough?-)
13:38 RossC0 ah cool!
13:38 RossC0 My demo sucked thou :(
13:38 RossC0 works now - always the way
13:38 v-dogg you already had it?
13:39 RossC0 yeah - we've got 8 days to built the best web site ever
13:39 RossC0 yabba yabba.
13:39 RossC0 its ok we'll pick agavi up later for another side project in the new year
13:39 RossC0 when we have more time :-/
13:40 digitarald :D first project with agavi need definetly a bunch of time ... the following are 1000% faster
13:41 RossC0 crazy thing is I know in x months there will be a rewrite
13:41 RossC0 ha well
14:18 raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
15:14 Wombert it's not gonna be the best website ever if you don't use agavi ;)
15:17 Whisller true true. time on tea
15:17 v-dogg :)
15:51 RossC0 ah man I now have to implement a simple MVC for the site from scratch! :-?
15:56 eremit [n=eremit@p5490E5F3.dip.t-dialin.net] has joined #agavi
16:14 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
16:21 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [Read error: 145 (Connection timed out)]
16:34 digitarald commandline: agavi createCoolProject
16:34 Wombert ?
16:36 digitarald nevermind ... too much Heroes epodisodes
16:36 Wombert :>>>>
16:36 Wombert heroes ftw
17:02 foresth [i=foresth@local.hide-forest.net] has joined #agavi
17:06 codecop [n=codecop@85.206.199.83] has joined #agavi
17:17 codecop i looked at http://trac.agavi.org/wiki/Validation/RegisteringValidatorsManually , but this code still produsses errors http://phpfi.com/184143
17:27 v-dogg http://trac.agavi.org/browser/branches/0.11/src/validator/AgaviValidator.class.p​hp
17:27 v-dogg yeah, there seems to be a typo
17:28 v-dogg but you can easily see what the problem is by looking at constructor
17:33 CPUnerd hehe I meesed my xmlentities
17:57 v-dogg codecop: http://trac.agavi.org/changeset/1374/branches/0.11/src/validator/AgaviValidator.​class.php
17:57 v-dogg that's the change that broke that example
17:57 v-dogg I'll correct it right away
17:57 v-dogg thank you for pointing that out
17:58 codecop ;) ok i cant get it where the prob
17:59 v-dogg errro message were passed along with the other parameters previously
17:59 v-dogg now you pass them separately
18:08 v-dogg hFatal error: Maximum execution time of 30 seconds exceeded in C:\workspace\agavi\b011\src\config\AgaviXmlConfigParser.class.php on line 64
18:08 v-dogg -h
18:09 v-dogg Wombert, kaos: that was the sample apps login action
18:09 kaos what php version is this ?
18:10 digitarald ah, this fpf still can't populate integers in select-options ... *grmpf*
18:13 v-dogg kaos: PHP 5.1.2
18:16 kaos digitarald: aha O_o
18:17 kaos <select name="foo"><option value="4">opt3</option><option value="2">opt2</option><option value="0">opt1</option></select> gets populated fine
18:17 digitarald is foo a string or an integer?
18:18 v-dogg you use integers as input names?
18:18 digitarald when its an integer, like a value from a propelmodel the fpf do not populate it because it checks === for the value
18:19 kaos thats actually propels problem
18:19 digitarald no, fpf
18:19 digitarald value is 4, value in the select is "4"
18:19 kaos hm
18:19 digitarald both are integer
18:19 kaos ah, that way
18:19 digitarald but the 4 in propel is a real integer, the one in select/option is a string
18:20 digitarald wombert knew that problem ... still no solution
18:20 digitarald :,-(
18:20 digitarald :D
18:20 v-dogg cast everything into strings when you set them into a parameterholder
18:20 kaos arary_map($a, 'strvalue');
18:21 kaos w/o looking at the manual ^^
18:21 digitarald ;) ... thats a workaround, no real solution
18:21 kaos -ue
18:21 digitarald because the array contains arrays ...
18:21 v-dogg there was some reason why Wombert used ===
18:21 v-dogg so there might not be a better solution
18:22 digitarald the reason is null ;)
18:22 digitarald null == 0 == "" ...
18:22 v-dogg ah, right
18:23 digitarald he just has to check for this
18:23 kaos array_walk_recursive($array, create_function('&$item, $key', '$item = (string) $item;'));
18:23 digitarald or cast the value
18:23 kaos ^^
18:23 kaos ;p
18:23 v-dogg kaos: pretty :)
18:24 kaos i would really like to see real lambda functions in php
18:24 kaos but i think thats never gonna happen :)
18:26 v-dogg kaos: uhm... I updated to php 5.2 and the problem vanished
18:26 kaos i was expecting something like that
18:27 kaos its probably some referencing issue
18:27 kaos or something other strange ;)
18:27 v-dogg it's... php.
18:27 kaos yeah
18:28 kaos i think we should port agavi to ruby xD
18:31 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:37 digitarald when u use $this->setAttribute in an Action the attribute is in the template, right?
18:40 v-dogg or view, to be precise
18:40 v-dogg and from there to the template
18:42 v-dogg codecop: I updated the example to work with the latest svn version
18:56 digitarald suggestions? how to avoid "Don\\\'t" in forms?
19:06 kaos don't escape anything ? O_o
19:06 Arme[N] digitarald: check this article out...(the site seems is down I just using cached version)
19:06 Arme[N] http://72.14.209.104/search?q=cache:X1HGJw9gDecJ:www.webmasterstop.com/63.html+%​22War+Against+Magic+Quotes!%22&hl=en&ct=clnk&cd=1&client=firefox-a
19:22 digitarald thought agavi handle that automated ... this google cache is reeaaaal slooooww
19:24 v-dogg handled what automatically?
19:26 digitarald supermagic quotes, slashes ... all that baad php behaviour ;)
19:28 codecop v-dogg, thanx! for that
19:29 codecop [n=codecop@85.206.199.83] has quit ["Leaving"]
19:30 codecop [n=codecop@85.206.199.83] has joined #agavi
19:35 digitarald ok ... set_magic_quotes_runtime(0); in config.php ... any other solution?
19:42 Arme[N] don't forget to set magic_quotes_gpc to off and escape gpc by hand (IMHO)
19:42 Arme[N] I don't know agavi handle this automaticali or not
19:42 Arme[N] if not you can create a filter for that
19:43 Arme[N] you should use escape function when you are trying to insert/update the DB (the functions depends on DBMS or DB abstraction layer)
19:44 digitarald man, that suckz ... u use these enterprise frameworks and orm databases and still u have to care about magic quotes
19:45 digitarald i use propel, it should take care! *kickspropel*
19:46 v-dogg just disable all magic quotes and you are fine
19:46 v-dogg from php.ini
19:46 digitarald i never touch any of these data ... agavi populates the forms, propel loads and saves data ... i don't want to see any slashes
19:46 digitarald i don't have access to php.ini
19:47 Arme[N] digitarald: I asked you it depends on DBMS or *DB_Abstraction_layer* :)
19:48 digitarald so propel/creole ...
19:48 Arme[N] I have no clue
19:49 Arme[N] if you don't access to php.ini just simulate disableing magic quote, is this good way v-dogg?
19:50 Arme[N] with creating a filter, and looping through request parameters and stripslashes by hand... I don't know this is possible in agavi or not
19:51 digitarald i'll try .htaccess with "php_flag magic_quotes_gpc off"
19:51 Arme[N] ah, you right
19:54 Wombert oh how nice
19:55 Wombert there is still hosting companies that have magic quotes on
19:55 Wombert W
19:55 Wombert T
19:55 Wombert F
19:55 Wombert :
19:55 Wombert <
19:55 digitarald ;) you'll never know ... don't trust these evil persons
19:56 digitarald what about populating integer values in selects via fpf ;)
19:57 Wombert I cannot be bothered to do anything about magic quotes
19:57 Wombert because they escape everything
19:57 Wombert post, get, server...
19:57 Wombert fix it yourself during init
19:57 Wombert agavi doesn't work with magic quotes, period
19:57 Arme[N] Wombert: ;)
19:57 digitarald i'll do now ...
19:57 Wombert unless someone provides a patch
19:57 Wombert integer in fpf... maybe if I find the time, yes
19:58 Arme[N] Wombert: is it fine to stripslash those by hand with a filter?
19:59 digitarald ok, thx in advance
20:04 digitarald shall i patch it?
21:12 CIA-11 david * r1429 /branches/0.11/src/request/AgaviWebRequest.class.php: BREAKING CHANGE: improved cookie and file handling, the tickets tell the story, closes #368 and #369
21:20 codecop [n=codecop@85.206.199.83] has quit ["Leaving"]
21:36 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:35 Wombert http://feedraider.blogspot.com/2006/12/finland-during-wintertime.html
23:05 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:12 v-dogg heh
23:13 v-dogg and btw, a filter that would cure the magic quotes disease would be an overkill
23:14 v-dogg it requires less than 10 lines and it could reside, say, in your config.php
23:16 v-dogg http://www.boutell.com/newfaq/creating/magicquotes.html
23:20 digitarald saw that too in php manual comments
23:22 v-dogg I think I had about that code in one of my pre-historic mojavi projects
23:23 Wombert I believe _SERVER needs that treatment, too
23:24 v-dogg hmm...
23:26 v-dogg I don't I have ever had problems with _SERVER
23:26 v-dogg not that I've ever used stuff from there that much though
23:26 Wombert kk :)
23:26 v-dogg +think
23:26 Wombert well
23:26 Wombert hm
23:26 Wombert yeah
23:27 v-dogg what would be quotes there?
23:27 v-dogg quoted*
23:28 v-dogg sigh
23:28 Wombert mmh
23:28 Wombert maybe stuff like path info
23:28 Wombert or so
23:28 Wombert no idea
23:28 v-dogg ok
23:33 impl [n=impl@httpcraft/php/impl] has joined #agavi
23:35 v-dogg http://www.php.net/manual/security.magicquotes.why.php
23:35 v-dogg sigh...
23:35 impl picked up a copy of PoEAA today :D
23:35 v-dogg "Useful for beginners"
23:35 impl v-dogg: Like register_globals... :P
23:35 v-dogg impl: a great book
23:35 impl Although I think the second argument is even worse
23:35 v-dogg have it here beside me :)
23:35 impl v-dogg: So I've heard
Day changed Wed Dec 13 2006
00:26 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
00:32 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
00:34 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: CPUnerd
00:41 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has left #agavi []
00:41 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has joined #agavi
00:41 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has left #agavi []
00:41 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has joined #agavi
00:44 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has left #agavi []
00:45 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has joined #agavi
00:45 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has left #agavi []
00:45 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has joined #agavi
00:45 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has quit []
00:45 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has joined #agavi
00:47 Netsplit over, joins: CPUnerd
00:48 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: CPUnerd
00:50 benny`work [n=benny@p54AC3A61.dip0.t-ipconnect.de] has joined #agavi
01:02 CPUnerd [n=davidc@bas4-montrealak-1177566698.dsl.bell.ca] has joined #agavi
01:16 CPUnerd [n=davidc@bas4-montrealak-1177566698.dsl.bell.ca] has quit ["Leaving"]
01:44 Wombert [n=Wombert@dslb-088-064-005-144.pools.arcor-ip.net] has quit []
01:53 benny`work [n=benny@p54AC3A61.dip0.t-ipconnect.de] has quit ["unset($this);"]
02:21 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"]
02:26 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
02:38 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has left #agavi []
04:45 CIA-11 dominik * r1430 /branches/0.11/src/validator/ (2 files):
04:45 CIA-11 made the file validator compliant with the new request file handling stuff
04:45 CIA-11 closes #361
05:58 epaulin [n=epaulin@61.191.26.228] has joined #agavi
06:28 Wombert [n=Wombert@dslb-088-064-021-066.pools.arcor-ip.net] has joined #agavi
06:29 Wombert yawns
06:29 Wombert morning
06:48 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
07:01 ttj Mornin'.
07:18 Wombert hey ttj
07:19 Wombert maaan somehow...
07:19 Wombert why the fuck do I wake up at 5am and then cannot sleep anymore
07:19 Wombert my sleep cycle still is al foobar'd
07:36 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
07:39 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
07:40 ttj :-/
08:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
08:13 Arme[N] morning
08:16 ttj 'nin.
09:55 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
10:04 Wombert let me know if that works, digitarald
10:04 CIA-11 david * r1431 /branches/0.11/src/filter/AgaviFormPopulationFilter.class.php: enabled support for populating forms from integer values, too
10:10 digitarald ah ... My hero ... :D
10:12 Arme[N] :)
10:15 digitarald i have again a strange DOMDocument UTF-8 error when i first enter the site, not authenticated. This error will be not easy to find, had that a time ago
10:15 Wombert wrong encoding
10:16 digitarald i know ... but how to find this little harasser in a puzzled template and fpf puts out wrong linenumbers because it changes the document
10:17 digitarald maybe ... a debug option for fpf would be cool
10:17 Wombert no
10:17 Wombert you just have decorator and normal template there
10:17 Wombert open them with your editor
10:17 Wombert it will show you a ? symbol
10:18 digitarald it shows this error only one time, when i enter the site the first time after closing the browser
10:19 digitarald is works, thank god (wombert)
10:19 Wombert well yeah that means that you output non-utf8 data somewhere
10:19 digitarald i ment the fpf patch
10:19 Wombert maybe it's not even in the template
10:19 digitarald i know, thats what the error said ;)
10:20 digitarald i'll try to find it later, maybe nobody will notice this little excepion :D
10:21 digitarald the .htaccess entry against magic quotes helped, at least for this provider
10:22 Wombert why don't you simply disable fpf, call the page, and let your browser show you the error...
10:25 digitarald mh ... i'll try right now
10:55 eremit_ [n=eremit@p5490E164.dip.t-dialin.net] has joined #agavi
11:04 eremit [n=eremit@p5490E5F3.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:05 eremit_ is now known as eremit
11:11 v-dogg huomenta
11:12 Wombert y0
11:13 Arme[N] v-dogg: huomenta
11:15 v-dogg what's up
11:25 Arme[N] hmm, nothing :)
11:29 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
14:06 v-dogg http://www-128.ibm.com/developerworks/xml/library/x-phprss/?ca=dgr-lnxw06PHP-RSS
14:06 v-dogg a good example of separation of logic and presentation
14:06 v-dogg erhmm.. not
14:09 v-dogg oh... this so gets to me... why are 99% of PHP examples in the net just total "hello world newbie I just learned if-then-else" crap
14:20 Wombert I like <input type="text" name="foo" value="<?php echo $_GET['foo']; ?>" /> best
14:20 Wombert oh wait
14:21 Wombert I like <input type="text" name="foo" value="<?php echo $_GET[foo]; ?>" /> best
14:21 Wombert xD
14:21 Wombert or maybe
14:21 Wombert yes, I really like <input type="text" name="foo" value="<?php echo $foo; ?>" /> best :)
14:45 v-dogg buahahaa
15:10 foresth [i=foresth@local.hide-forest.net] has joined #agavi
15:45 v-dogg hmm...
15:45 v-dogg Strict Standards: Static function CreoleTypes::getType() should not be abstract in C:\workspace\EcomWebi\3rdparty\creole\CreoleTypes.php on line 124
15:47 v-dogg this poped up after I upgraded to php5.2
15:49 v-dogg and phpdb.org is down :(
16:12 Wombert I'll offer Hans a VM on our new server
16:12 Wombert agavi will be hosted there, too
16:12 Wombert hardware raid 1, finally
16:22 eremit [n=eremit@p5490E164.dip.t-dialin.net] has quit []
17:37 codecop [n=codecop@88.118.198.113] has joined #agavi
17:39 v-dogg Wombert: you think creole people are aware of this incompatibility with php 5.2 (strict)?
17:40 v-dogg or is it already fixed? I'm not sure what version my project uses
18:03 codecop_ [n=codecop@85.206.220.169] has joined #agavi
18:03 codecop_ [n=codecop@85.206.220.169] has quit [Read error: 104 (Connection reset by peer)]
18:12 codecop [n=codecop@88.118.198.113] has quit [Read error: 110 (Connection timed out)]
18:23 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
18:24 eremit [n=eremit@p5490E164.dip.t-dialin.net] has joined #agavi
19:03 Wombert v-dogg: abstract static function getType($nativeType);
19:03 Wombert with 1.1.0
19:30 Arme[N] is now known as Arme[morizer]
19:57 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
19:58 v-dogg Wombert: so it's not fixed?
20:00 v-dogg what's wrong with phpdb.org? some major hardware failure? payments overdue?
20:03 Wombert I have no idea
20:04 Wombert I emailed hans and offered him a virtual machine on our new box
20:04 Wombert he replied, but it's still offline
20:04 Wombert I can't ssh in either
20:05 digitarald ähm ... http://trac.agavi.org/ticket/370
20:07 v-dogg Wombert: ok to delete that?
20:08 Wombert no no
20:09 Wombert I'll handle it
20:09 v-dogg I thought you might
20:09 Wombert v-dogg: first, go to admin, spam monitoring
20:10 v-dogg then?
20:10 Wombert well I dit it now but...
20:10 Wombert mark the spam ticket
20:10 Wombert (checkbox)
20:10 Wombert then "mark as spam"
20:10 Wombert then select it again and delete it
20:10 v-dogg ah, ok
20:10 v-dogg good to know
20:10 Wombert so it is removed from the list and the next person won't mark it as spam again (important for the bayes filter)
20:11 Wombert then go back to the ticket and hit "delete" (that's TicketDeletePlugin there)
21:10 Arme[morizer] is now known as Arme[N]
21:18 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 110 (Connection timed out)]
22:04 impl [n=impl@httpcraft/php/impl] has joined #agavi
23:25 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:26 benny`work [n=benny@p54AC382A.dip0.t-ipconnect.de] has joined #agavi
Day changed Thu Dec 14 2006
00:00 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
00:58 firman [n=firman@125.163.35.4] has joined #agavi
02:10 Wombert [n=Wombert@dslb-088-064-021-066.pools.arcor-ip.net] has quit []
02:21 jordansjones [n=jordansj@67.50.42.138] has quit []
02:51 kaos [n=kaos@ppp-82-135-15-208.dynamic.mnet-online.de] has quit [Connection timed out]
03:14 benny`work [n=benny@p54AC382A.dip0.t-ipconnect.de] has quit ["unset($this);"]
05:09 kaos [n=kaos@ppp-82-135-3-168.dynamic.mnet-online.de] has joined #agavi
06:19 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
08:21 horros [n=mle@a81-197-134-237.elisa-laajakaista.fi] has joined #agavi
08:21 horros huomenta
08:25 v-dogg huomenta
08:26 horros how's things?
08:28 v-dogg a bit busy, otherwise fine
08:28 v-dogg there?
08:29 horros well, if you change "a bit" to "extremely" and "otherwise fine" to "crap", then likewise
08:29 horros :)
08:29 v-dogg heh
08:30 horros trying to figure out why propel insists on adding UPPER() to everything it sorts by, hence rendering my indexes completely useless :)
08:35 v-dogg huh? didn't know that
08:45 horros there we go
08:45 horros 0.7 seconds => 0.2 seconds :)
08:47 horros there, fixed another index, and we're down to 100-odd ms :)
08:52 firmanw [n=firman@125.163.24.3] has joined #agavi
08:53 firman [n=firman@125.163.35.4] has quit [Read error: 131 (Connection reset by peer)]
08:53 firmanw is now known as firman
09:40 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
10:16 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:18 Arme[N] morning
10:18 Arme[N] http://paul-m-jones.com/blog/?p=236
10:38 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
10:55 eremit_ [n=eremit@p5490E9F2.dip.t-dialin.net] has joined #agavi
11:04 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:05 eremit [n=eremit@p5490E164.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:12 eremit_ is now known as eremit
11:12 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
11:14 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:22 codecop [n=codecop@85.206.220.169] has joined #agavi
11:35 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
12:15 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
12:18 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
12:20 Wombert [n=Wombert@dslb-088-064-018-100.pools.arcor-ip.net] has joined #agavi
12:45 digitarald is there now a new check in the Action if a file was uploaded without validationerror
12:49 Wombert ...
12:50 Wombert http://trac.agavi.org/ticket/367
12:51 digitarald ok, so later, thx
12:52 digitarald Should fpf populate checkboxes where variable is boolean-true and the checkbox-value is 'true'?
12:54 digitarald Wombert: my profile form does forget his true/false checkboxes, i'll take a look at fpf
12:55 Wombert do they hsve a value?
12:55 Wombert they need a value, that's the only thing
12:55 digitarald checkboxes: "true"
12:55 Wombert I mean
12:55 Wombert <input type="checkbox" name="asdf" value="1" />
12:55 Wombert or so
12:55 Wombert I think that is needed
12:55 Wombert maybe I broke something
12:55 digitarald <input id="profile-profilepublic" name="profilepublic" value="true" />
12:55 Wombert can look into it later, but gotta run now
12:56 digitarald and profilepublic is true/false ...
12:56 Wombert ?
12:56 digitarald the variable to populate
12:56 Wombert I don't think that works
12:57 digitarald it needs to be true/null?
12:57 Wombert I believe it needs the same value as in the value attribute
12:57 Wombert let me see
12:57 digitarald i'll already diggin through the code ;)
12:58 digitarald ok ... i'll convert them to integers
12:58 digitarald and use value 1
12:59 Wombert I'll see if I can add such functionality
12:59 Wombert it sure would make sense to allow true and false
13:02 digitarald all data comes from propel, to convert some things is still possible
13:02 digitarald in toArray
13:05 v-dogg I always use 0/1 for boolean fields
13:11 digitarald propel not ;)
13:11 digitarald but i'll change that
13:16 Wombert it's probably best just not to pass on those values that are false
13:16 Wombert I don't know if I can add that to FPF, it's very difficult (bool values)
13:19 v-dogg digitarald: I use smallint fields in my db too
13:20 v-dogg I find it easier
13:22 digitarald ok, conversion should be no problem
13:27 firmanw [n=firman@125.163.24.3] has joined #agavi
13:46 firman [n=firman@125.163.24.3] has quit [Read error: 110 (Connection timed out)]
13:46 firmanw is now known as firman
13:56 codecop [n=codecop@85.206.220.169] has quit ["Leaving"]
14:06 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Read error: 104 (Connection reset by peer)]
14:10 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
14:23 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
14:26 digitarald is there any option that allows exceptions to ignore my try...catch?
14:27 v-dogg uhm.. what?
14:28 v-dogg not to catch some exceptions?
14:29 v-dogg try { ... } catch (MyException $e) { ... } catch (AgaviException $e) { ... } //all other exceptions may pass
14:30 digitarald i have catch(AgaviSecurityException $e), but both AgaviSecurityException ignore them
14:32 v-dogg there's something else wrong
14:33 v-dogg or a _huge_ bug in PHP :)
14:33 foresth [i=foresth@local.hide-forest.net] has joined #agavi
14:34 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
14:34 horros v-dogg: heh, stefan esser resigned from PHP :)
14:37 v-dogg some core dev? (I'm not very tuned in to php community)
14:37 horros security bloke
14:38 horros got sick and tired of the PHP devs attacking him immediately when he pointed a finger at some security fault in PHP :)
14:38 v-dogg where did he announced this?
14:38 v-dogg haha
14:38 horros http://blog.php-security.org/archives/61-Retired-from-securityphp.net.html
14:40 v-dogg "The author does not allow comments to this entry" :p
14:40 v-dogg oooh... why is php developed by clueless morons...
14:41 horros http://www.heise-security.co.uk/news/82500
15:09 eremit [n=eremit@p5490E9F2.dip.t-dialin.net] has quit []
15:44 codecop [n=codecop@88.118.219.249] has joined #agavi
15:51 codecop [n=codecop@88.118.219.249] has quit [Read error: 104 (Connection reset by peer)]
15:52 jake [n=jake@206.63.152.66] has joined #agavi
16:06 codecop [n=codecop@88.118.199.238] has joined #agavi
16:26 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"]
16:29 codecop [n=codecop@88.118.199.238] has quit ["Leaving"]
16:39 Wombert holy cow it's almost 4p and still no torrent of last night's daily show
16:40 Wombert dear god please make someone upload it already
16:43 v-dogg everytime you use torrent god uploads kitten porn
16:43 v-dogg uhm... wait, no it was something else
16:43 Wombert so what should I do :(
16:43 Wombert I don't get comedy central here
16:43 Wombert it's US cable :p
16:43 Wombert hell I don't even hurt anyone!
16:43 Wombert since I can't buy episodes on iTunes either
16:44 Wombert which I would if I could
16:44 Wombert we'll get Comedy Central in german cable in january
16:44 Wombert probably not here though
16:44 Wombert AND
16:44 Wombert daily show will be... CUT!
16:44 Wombert because these fucking morons think that germans wouldn't understand some of the jokes
16:44 Wombert because they require knowledge of the american political system
16:44 Wombert the funny thing is
16:45 Wombert jon stewart first explains what happened
16:45 Wombert and then makes fun of it
16:45 Wombert so everybody understands it
16:45 Wombert AND
16:45 Wombert it airs 12:30am, so only students and other guys who even KNOW that the daily show exists will tune in anyway
16:45 Wombert but no, they'll cut it down (wtf, it's only 20 minutes anyway?) and... they're even considering to dub it to german
16:46 Wombert holy shit man I live in such a fucked up country
16:46 Wombert is finland any better, v-dogg
16:46 Wombert if yes, I'll move there
16:46 Wombert :>
16:50 v-dogg you should get a capital punishment for dub'ing
16:50 Wombert they dub everything here
16:50 Wombert sometimes it's excellent (scrubs)
16:50 v-dogg ok, maybe it's ok for children's programmes :)
16:50 toby_swe [n=Miranda@PB111.EBC.uu.se] has joined #agavi
16:51 Wombert sometimes not (king of queens: football => soccer)
16:51 Wombert the sad thing is when they have star wars or so
16:51 Wombert and they use different translations for the same word in the next movie in the series or so
16:51 Wombert that so drives me nuts
16:51 v-dogg yeah
16:51 Wombert and ze germans wouldn't have such a crappy english if stuff here were english
16:52 Wombert subtitles (that can be disabled) would be cool
16:52 Wombert I wonder if that's possible with any of the DVB standards...
16:52 Wombert not subtitles I mean
16:52 Wombert but multiple languages in original version
16:53 Wombert because sometimes (basically never), you'll have english and german, but these are mono then
16:53 v-dogg almost nothing is dubbed here (apart from childrens tv, of course). and with kiddy movies (in a theatres) you can almost always choose a non-dubbed version
16:54 toby_swe is it recommended to do validation of parameters from routes, for instance an integer user id (like "/users/show/34"), or is the "validation" through the expression in the route pattern enough?
16:54 v-dogg which is nice because I like movies like Shrek and Ice Age
16:54 Wombert toby_swe: validate using validation
16:54 toby_swe ok, thanks
16:55 v-dogg patter="/users/show/(id:\d+)
16:55 Wombert toby_swe: there are some cases where you wpuld validate inside the routing, via a callback
16:55 Wombert e.g.
16:55 v-dogg matches only if the id is an integer
16:55 Wombert <route pattern="^(username:\w+).mycoolservice.com$" callback="validateHostname" />
16:56 Wombert that validateHostname callback would then check if that user name exists (i.e. wombert.mycoolservice.com is allowed), and maybe even set the user id for that user name in the request
16:56 Wombert but in cases such as yours, you should always use validation
16:56 v-dogg Wombert: why?
16:56 Wombert v-dogg: it avoids redundancy
16:57 v-dogg given the example there
16:57 Wombert otherwise, you would have to do the hostname check in every action that is allowed for it
16:57 v-dogg is there any reason to re-check it using validation?
16:57 Wombert you mean for /sers/show/(id:\d+) ?
16:57 v-dogg yeah
16:57 Wombert well what if the user doesn't exist :)
16:57 v-dogg sure you have to check that :D
16:58 Wombert handling that in the action execute is a bit lame
16:58 Wombert I probably wouldn't setup a validator either
16:58 Wombert instead, do it in action::validate
16:58 Wombert where I also set the user as an action attribute right away
16:58 v-dogg yeah, I see your point, I was thinking about validating the integer itself
16:58 Wombert so I don't have to fetch it from the db again in execute()
16:58 Wombert aaaah no of course not
17:01 Wombert mmmmmh tasty x-rays today
17:01 Wombert http://sec.noaa.gov/today.html
17:01 toby_swe I was also thinking of just validation of the integer itself. But I see your point Wombert, good one! Going to implement that...
17:03 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
17:13 jake hey Wombert
17:13 jake how goes it?
17:13 Wombert heyyy jake what's up
17:16 jake not a whole lot. Getting ready to go to Vancouver. I love December in the states, everything just about shuts down :)
17:16 Wombert CANADA?
17:16 Wombert xD
17:19 jake yeah, Vancouver is a pretty fun city. I'm going for the weekend and doing some skiing
17:20 Wombert oh they have snow yet?
17:20 Wombert no snow here
17:20 Wombert and not even in finland, either, from what I heard
17:20 Wombert kinds sucks, christmas is approaching (feck, gotta buy presents) and the sun is shining with blue sky all day
17:24 toby_swe [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 104 (Connection reset by peer)]
17:25 Wombert http://worldnetdaily.com/news/article.asp?ARTICLE_ID=53327 LOL
17:26 Wombert "Soy is feminizing, and commonly leads to a decrease in the size of the penis, sexual confusion and homosexuality."
17:26 Wombert holy crap ^^
17:27 jake Yeah, I went skiing last weekend in Washington. We've had snow for a few weeks.
17:27 jake Yep. If you are trying to build muscle use Whey or Cassien protein, not Soy
17:28 jake I don't know about that statement, but soy has been shown to increase estrogen production in men
17:28 Wombert <mixman> [16:72] I always wondered what it took to be gay, now I have the answer
17:28 Wombert haha
17:29 Wombert yeah okay but that article is soooo homophobic
17:29 Wombert ahaha
17:31 jake Yeah, I don't know that I agree with the 'increase in homosexuality' statement :)
17:32 Wombert rrrrrgh
17:32 Wombert what's that xml standard called to exchange data
17:32 Wombert similar to json, but in xml
17:33 Wombert no data exchange, sorry, just representation
17:33 Wombert oh wait was that xml anyway?
17:33 Wombert it's something invented by macromedia or so
17:36 Wombert wddx
17:36 Wombert yeah that was it
17:45 benny`work [n=benny@p54AC3DA2.dip0.t-ipconnect.de] has joined #agavi
17:56 splatch oi!
18:01 codecop [n=codecop@85.206.204.67] has joined #agavi
18:11 digitarald Wombert, what do u mean, there are no xml ajax standards
18:11 digitarald Rico framework has one, but it's weird
18:11 Wombert I meant WDDX
18:21 jake sure you did
18:21 jake :)
18:22 Wombert for ajax, JSON is the best option anyway
18:23 jake Definitely
18:23 jake We used XMLRPC
18:23 jake but god was that difficult to work with in JS
18:23 Wombert that's good for server-to-server
18:23 Wombert but for clients... use JSON
18:23 Wombert there is also something called JSON-RPC
18:23 jake Well, we have a JS class for creating and parsing xmlrpc, but it was a huge pain in the ass
18:23 Wombert basically XMLRPC, but with JSON as the transport
18:23 jake We just ended up using JSON
18:24 Wombert what I like so much about json is that
18:24 Wombert if you use prototype
18:24 Wombert you can return a small json expression in a header
18:24 Wombert that will then be evaluated and passed to your request handler
18:24 Wombert so the actual response is html, but you also get json to indicate success or failure, for instance
18:24 Wombert I guess other js frameworks support that, too
18:34 digitarald good idea, i will put that into mootools, too
18:35 Wombert they don't have that?
18:35 digitarald not in the actual download version, i don't know any framework except prototype has that
18:36 Wombert mmmh...
18:36 Wombert => mootools sucks
18:36 v-dogg that guy is joking, right?
18:36 digitarald :D why?
18:36 v-dogg uhm... sorry, not you :)
18:36 Wombert me? ^^
18:36 digitarald i know ... soy-gay-guy :D
18:37 v-dogg http://worldnetdaily.com/news/article.asp?ARTICLE_ID=53327 <- THIS guy :D
18:37 Wombert v-dogg: no
18:37 Wombert that's one of these conservatives they have in america
18:37 v-dogg brilliant people...
18:37 Wombert well mootools is based on prototype, which has that feature, and they took it out, because all they can do is take an awesome library and ruin it
18:37 Wombert that's why :)
18:38 digitarald moo.fx based on prototype
18:38 digitarald mootools based on Base.js by Dean
18:39 digitarald do u like script.aculo.us?
18:39 Wombert it's okay
18:40 jake I like mootools, I also like the yahoo tool kit
18:40 digitarald mootools ... its a lot smaller and faster than prototype. i hope prototype gets a new start when they rebuild it, using Base.js and never never extend Object.prototype again
18:41 Wombert yahoo has matured quite a bit
18:41 jake mootools is pretty well put together. I have used it internally on some projects
18:41 jake We use feather and yui in production though
18:41 Wombert mootools is lightweight, but I really like prototype because it's so fucking awesome words cannot describe it
18:41 Wombert it has _everything_
18:41 Wombert feather? never heard of it
18:41 Wombert is YUI good for production?
18:41 Wombert doesn't it use prototype?
18:41 jake Except, prototype is huge
18:41 Wombert yes
18:41 Wombert unfortunately
18:42 Wombert www.djangobook.com go to a chapter and check out that comments system...
18:42 Wombert I'll build the same thing for the agavi manual
18:42 Wombert while it's under development
18:42 Wombert for 1.0
18:42 Wombert :)=
18:42 jake yui doesn't use prototype
18:42 Wombert mmh
18:42 digitarald Wombert, not every framework use prototype ;)
18:42 jake And you can just use the parts you need, which is why it's ideal for production
18:43 digitarald jQuery really suckz ... no classes, no real namespace ... uh
18:43 jake We can just use the parts we need for the app we're building
18:43 Wombert yeah scriptaculous has that feature, too
18:44 jake I also just personally feel like a yahoo toolkit will be sane
18:44 digitarald what feature?
18:44 jake Third party JS is a real gamble
18:44 Wombert digitarald: selectively include only what you need
18:45 digitarald but its not splitted very well ... to make a list sortable u have 100kb to include ...
18:45 Wombert yeah
18:45 Wombert I don't have the impression that YUI is any better tho
18:45 Wombert seems like a real monster to me!?
18:46 Wombert and moo.fx just lacks too much versatility
18:46 Wombert I want to do it my way, not their way
18:46 digitarald but i think that js framework stuff is religion ... after choosing mootools and updating my prototype scripts i saw its easier to handle and cleaner ...
18:47 digitarald try mootools ;) the step from prototype isnt that bad because 95% of the basic functions are the same
18:48 jake YUI is pretty small. Again, just include the things you need. Plus it comes with 3 versions of every file. a debug version, a production (min) version, and a commented regular version
18:49 digitarald never tried YUI, but i saw it's not easy to customize, all this UI's look the same ...
18:49 digitarald ok, some people say every RoR site looks the same :D
18:53 Wombert yeah
18:53 Wombert that's my gripe about the yahoo stuff
18:53 Wombert you cannot define how it looks
18:53 Wombert they're not to blame, it looks good, but it will never fit your site 100%
18:53 jake You can customize it pretty easily, you just have to know how to do it :) By extending the classes properly you can customize everything
18:53 Wombert this stuff is awfully difficult to achieve
18:53 jake You should check this out
18:53 Wombert I think pure css would be better for that
18:53 jake Wombert do you have a mixxer account?
18:53 Wombert jake: nope
18:53 Wombert jake: can I make one?
18:54 jake Sure, it's free
18:54 Wombert oooh jake I got a mobile phone question
18:54 Wombert query
18:54 jake I want to show you something we released today, based on the YUI kit, that I think looks great, and fits our site
18:55 Wombert http://www.mixxer.com/ringtones/module/Checkout/action/RegisterStart <- you guys need agavi with teh routing!
18:55 jake Just provide a crap phone number, carrier and phone.
18:55 jake We can't replace our stuff with agavi.
18:55 Wombert Invalid Phone Number, booh!
18:55 Wombert :>
18:55 jake It would be an insane undertaking. It might happen over a year or more, but not any time soon :)
18:56 digitarald is that mojavi ar mixxer.com, url looks like ;)
18:56 jake yep
18:57 jake mojavi 2
18:57 jake For 2+ years now
18:57 digitarald like in my old company ... but they writing on a whole new cms with agavi ...
18:57 jake We're building new apps with rails and agavi, but the site framework will be mojavi for a long time to come
18:58 Wombert okay I'm logged in, jake
18:58 jake We have almost a million loc
18:58 Wombert rails!!!! zomg!!!!!
18:58 jake Go to the following url: http://www.mixxer.com/ringtones/module/OpenLocker/action/ExternalMobilize?sUrl=h​ttp://www.myspace.com/zenagain
18:58 jake That's my myspace page, btw
18:58 digitarald with rails and agavi ... in the mix :D
18:58 jake And actually, you can switch the sUrl with any url you want
18:58 jake And any content that we can make mobile will appear, including audio and video
18:59 Wombert it just says
18:59 Wombert Mobilizing www.myspace.com
18:59 jake Yeah, give it a second, it's progressing
18:59 jake So, once you've gotten to that page click on a 'send to phone' link
18:59 jake It only took me about 3 seconds...
18:59 Wombert maybe it doesn't work with safari?
19:00 jake Oh, maybe not, we don't have a mac to test with :/
19:00 jake Well, be assured, there's some cool stuff being done with yui :)
19:00 Wombert nah I'll use camino now
19:01 Wombert that worked
19:02 Wombert ah, a lightbox, with the proper url in the link itself
19:02 jake okay, cool. I'll let the guy know who worked on that that it doesn't work with Safari
19:02 Wombert thumbs up, jake, that's how you're supposed to do it
19:02 jake yep, and looks good eh?
19:02 jake bbiam
19:02 Wombert it doesn' teven show the "please wait while mixxer is mobilizing..." text or the progress bar
19:03 Wombert well it's just a black box with the photo in it ;>
19:03 Wombert tbh, I find the entire mixxer design and layout very crappy
19:03 Wombert no offense
19:03 Wombert it's a fantastic site feature-wise, but not very pretty
19:04 Wombert and nothing happens when I click that youtube vid
19:19 Wombert http://www.autoblog.com/2006/12/14/video-lego-car-parks-itself-better-than-lexus​-for-less-than-25/
19:57 firman [n=firman@125.163.24.3] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"]
20:07 Arme[N] yeah, debug console, it is really usefull.. cheeeeeeeers
20:08 Wombert ;)
20:19 Wombert btw
20:19 Wombert what I totally forgot...
20:19 Wombert v-dogg?
20:35 Arme[N] :)
20:49 v-dogg woooooooooooooooooot
20:49 Wombert php6 will maybe have namespaces
20:50 Wombert but if it gets them
20:50 Wombert Foo\Bar\Baz
20:50 Wombert no "import Foo\Bar\*"
20:50 Wombert which means it's the same as the current approach where everyone uses underscores
20:50 Wombert ...
20:51 v-dogg *sigh*
20:51 v-dogg so it gives.. uhm... nothing?!
20:52 v-dogg how utterly stupid is that
20:53 digitarald that's awesome, these php guys invent soo much new ideas ... dots are out, take slashes ... yeah
20:54 v-dogg is it just totally useless? can I use it for directory layout and autoload? anything?
20:54 v-dogg yeah... wtf \
20:54 v-dogg where the hell did that come from
21:04 kaos basicly the only operator not in use already ;)
21:51 jake [n=jake@206.63.152.66] has quit ["Leaving"]
21:52 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 104 (Connection reset by peer)]
21:53 foresth [i=foresth@local.hide-forest.net] has joined #agavi
22:02 v-dogg where do you read about php6?
22:05 kaos on the php-internals mailing list
22:05 kaos mostly
22:06 kaos some stuff is there: http://www.php.net/~derick/meeting-notes.html (one year old now)
22:07 kaos and most stuff is here http://oss.backendmedia.com/PhP60 too
22:07 kaos should be more recent
22:15 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:19 v-dogg Dropped Items has many things I really wouldn't like to see there...
22:20 v-dogg 1, 2, 7, 10, 14, 15
22:21 impl Hmmh?
22:22 v-dogg http://oss.backendmedia.com/PhP60
22:22 kaos well
22:22 kaos tbh, i would really like to see MI
22:22 kaos even scrapped like hell if they want
22:23 kaos but as a c++ developer i am just soooo used to mixins :D
22:24 kaos but the best thing is that {} [] string index shit
22:24 v-dogg yeah...
22:24 kaos in php 4 they introduce {}
22:24 kaos tell everyone to use it
22:24 kaos and 1 version later deprecate it again
22:24 kaos ffs
22:24 v-dogg and now it's not cleaned up
22:25 kaos well, i think they said they gonna remove it completely in 6.0
22:25 kaos iirc
22:25 v-dogg why can't they sort out this mess for good? screw b/c and build things from scratch if necessary
22:26 kaos well
22:26 v-dogg 19. Cleanup for {} vs. [] ?????
22:26 v-dogg in Dropped Items
22:26 kaos welcome to the world of php :D
22:27 kaos its so sad
22:27 kaos seing 3-5 ppl block features which like the entire community requests
22:27 kaos just because they're sticking their fingers into their arses and wont take it out there
22:27 kaos (you better don't get me started on the zend guys, really :D)
22:43 codecop [n=codecop@85.206.204.67] has quit ["Leaving"]
23:23 Wombert yeah these yesteryear procecdural coders
23:23 Wombert bunchafools
23:23 Wombert ability to move autoloaded main classes in apc's class lookup preventing the overhead of doing the inheritance process all the time. (marcus)
23:23 Wombert for APC
23:23 Wombert nice
23:23 Wombert wtf is wrong with the dropped items thing
23:24 Wombert add support for <?php="foo" ?>
23:24 Wombert but they drop <?
23:24 Wombert awesome...
23:24 Wombert oooh wait they keep <?
23:24 Wombert ARGH
23:24 impl kaos: I think a lot of it has to do with the fact that they would have to rewrite a metric fuckton of the engine to get the features they want to work
23:25 impl Wombert: You know what the namespace operating is going to be?
23:25 impl operator*
23:25 Wombert \
23:25 Wombert but
23:25 Wombert you can't do imports
23:25 Wombert so it's useless
23:25 impl huh?
23:25 impl Why...
23:25 kaos impl: yes ... i know about ze
23:25 Wombert you'll have to do Org\Agavi\Request\WebRequest
23:25 kaos i did some php extension for fun in 4.x times
23:25 kaos and the zend engine
23:25 Wombert which is the same as _ so...
23:25 Wombert impl: because zeev is a fucking moron
23:25 kaos is simply upper crap in some parts
23:26 Wombert metric fuckton, haha
23:26 Wombert see, the metric system rules
23:26 impl ;x
23:26 Wombert 1000 kilograms are a ton
23:26 Wombert 1000 tons are a fuckton
23:26 Wombert :>
23:28 kaos i suggest we all concentrate our forces
23:28 kaos and port agavi
23:28 kaos to
23:28 kaos hmm
23:28 kaos ruby
23:28 kaos lua
23:28 kaos python
23:28 kaos c#
23:28 kaos xD
23:28 kaos and see which is the best playground ;)
23:28 Wombert not python, no
23:29 kaos ok, then boo perhaps
23:29 kaos or groovy
23:29 Wombert we could use prolog where we would just describe what it should be like (cool, mainly) and let the compiler figure out the rest xD
23:29 kaos or even JAVA :D
23:29 impl Agavi is the next Struts
23:29 impl :P
23:29 kaos or wait, i know some vb.net too
23:29 kaos so that could be used too
23:29 impl ewww
23:29 kaos xD
23:29 impl gags
23:30 kaos I#ve actually written an app which was used in a productive way in vb.net
23:30 kaos (shame on me :s)
23:30 kaos but i had to
23:30 kaos because it was @ work
23:30 kaos :D
23:30 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:30 impl D:
23:32 kaos yeah, my time "at work" (during my apprenticeship basicly) was really funny
23:32 kaos my instructor excluded me explictly from the c course
23:33 kaos because he feared i could correct him to much xD
23:33 kaos (and i had to help him when preparing that course with c stuff ;p)
23:33 kaos but i can't say i didn't have fun there ;D
23:34 kaos (doing vb.net *gg*)
23:34 impl hehe
23:36 kaos well, and coming into a production department i had to teach c++ to 2 c day coders in the 40ies
23:37 kaos THATS fun :D
23:37 kaos (especially when you see funny things as m_ prefix applied to methods (and not only class variables) too
23:37 impl <3 C
23:38 kaos lesson learned from that: never try to push c++ methologies to ppl who've only coded c their entire life :P
23:38 impl So true
23:38 v-dogg [i=vmakinen@phantom.daug.net] has quit [Remote closed the connection]
23:38 kaos <3 c++
23:38 impl "new? teh fuck? I'll just use malloc"
23:38 kaos c is ... strange at times
23:38 v-dogg [i=vmakinen@phantom.daug.net] has joined #agavi
23:39 kaos especially when you have to cope with K&R c
23:39 kaos which i had to back then (gotta love 15 year old software :D)
23:40 kaos that software was the heart of the sw testing environment of some 50000$ measurement devices ;)
23:41 kaos add a test, edit like 7 files
23:41 kaos ;D
23:41 kaos (you'd even have to add the buttons to start/enable that test manually)
23:41 kaos using the winapi
23:41 kaos xD
23:41 impl ...
23:41 impl That's terrible :P
23:41 kaos yes
23:42 kaos all strings where stored in constants
23:42 kaos you had to edit 3 files to get your strings into your code
23:42 kaos one with the constants
23:42 kaos one defining an array of those constants
23:42 kaos and some other file which did something i can't even remember :D
23:42 impl haha
23:43 kaos and the fun thing is
23:43 kaos we were a team of 5 ppl redoing that thing in c++
23:43 kaos 2 were in that department for some time doing that shit all of their recent life
23:43 kaos 1 was a freshly finished apprentice
23:43 kaos (which was a newb btw ,)
23:44 kaos and one was a student trainee (basicly the only one except me in that team who knew c++)
23:44 kaos well, most work was done my that student and me :D
23:44 kaos (and i was still an apprentice back then)
23:45 kaos basicly the entire framework, basics, etc were done by us 2
23:45 kaos and that student was only there 1 day in the week :D
23:45 kaos i really learned to love c++ over c back then ;)
23:46 impl The only thing I like about C++ over C is the standard templates
23:46 kaos and it got me not want to ever work in a place again where you can't decide over the most basic things like which gui wrapper to use ;)
23:46 impl of course with those you basically include everything that makes C++ what it is
23:47 kaos well, templates are the most complex and about the most powerful thing in c++
23:47 kaos i think it took me about 2 years from starting to learn c++ to understanding templates
23:48 kaos the ATL is a great example of really cool template use
23:48 kaos ATL doesn't have a single virtual method
23:48 impl ATL?
23:49 kaos Active template library from MS
23:49 kaos used for doing com stuff
23:49 impl oh, cool
23:49 kaos and some basic gui things can be done with it too
23:49 impl looks it up
23:50 kaos and another really cool thing is the way they do the windows message dispatching
23:50 kaos it basicly works like mfc where you define a message map, with the method to be called for each windows message
23:50 impl Not the Windows API way I assume
23:50 impl I'm having bad memories of that
23:51 kaos but mfc has a global list storing all hwnd -> CWindow class ptr associations
23:51 kaos what atl does is just so way cooler
23:52 kaos they create a "thunk function" which is basicly a small dynamically generated function which has the address of the Window class ptr stored in it
23:52 kaos and use that as WndProc
23:52 kaos its explained quite well here: http://www.codeproject.com/atl/atl_underthehood_5.asp
23:53 kaos and that non virtual function overloading
23:53 kaos uuh
23:53 impl really really dislikes the Windows API
23:54 kaos yup
23:54 kaos i learned to love QT when doing that test app in c++
23:54 impl Yeah, Qt is awesome.
23:54 kaos i wanted to display an progress bar in a treeview
23:54 kaos 10 lines of code
23:54 kaos just awesome :D
23:55 kaos and qt4 is just pure luxury
23:55 impl I think whoever designed the Windows API was either on crack or thought naming conventions were below him
23:55 kaos signals/slots across threads
23:55 impl mmm
23:55 kaos i mean, WTFpwn
23:55 kaos thats just so ace
23:56 kaos saves me lot of (already written xD) code in my current (seeecret *gg*) project
23:57 kaos and i didn't have so much fun writing stupid text layout code for some time ;)
Day changed Fri Dec 15 2006
00:00 kaos but you really notice that you did to much php when 50% of your variables are QHashes (or stdext::hash_maps) :D
00:00 Wombert slaps kaos
00:00 Wombert you're talking too much
00:00 impl haha
00:00 Wombert go back fix the validators!
00:00 Wombert ;)
00:00 impl psshh
00:03 kaos :/
00:03 kaos agavi eats to much of my time
00:03 kaos :p
00:04 kaos no time for serious coding ;PP
00:04 impl THE INTERNETS IS SERIOUS BUSINESS.
00:04 Wombert the internets
00:04 Wombert is a series of tuuuubes
00:04 Wombert xD
00:04 kaos maybe, but php is not a serious language ;P
00:05 impl http://www.encyclopediadramatica.com/index.php/The_Internet_Is_Serious_Business
00:05 impl All their images are down though :(
00:19 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
01:17 Wombert [n=Wombert@dslb-088-064-018-100.pools.arcor-ip.net] has quit [Nick collision from services.]
01:17 Wombert [n=Wombert@dslb-088-064-004-055.pools.arcor-ip.net] has joined #agavi
02:20 benny`work [n=benny@p54AC3DA2.dip0.t-ipconnect.de] has quit ["unset($this);"]
03:00 Wombert [n=Wombert@dslb-088-064-004-055.pools.arcor-ip.net] has quit []
07:38 epaulin [n=epaulin@61.191.26.228] has joined #agavi
08:00 Wombert [n=Wombert@dslb-088-064-004-055.pools.arcor-ip.net] has joined #agavi
08:01 Wombert houmenta
08:07 impl uh oh
08:07 impl this means I'm up late again
08:13 horros huomenta Wombert
08:18 Wombert haha impl
08:18 Wombert hi horros
08:18 Wombert how are you doing
08:18 impl grins
08:18 impl Morning, both of you
08:19 Wombert I'm up early again
08:19 Wombert woke up after ~4h
08:19 Wombert crap
08:22 horros oh bugger
08:23 Wombert YES SIR
08:23 Wombert BUGGER!
08:23 horros I remember reading yesterday how to center a div vertically, but I can't find it anymore :(
08:23 Wombert NO NEED FOR THAT, ZERE IS MEAT IN ZE BUIILDING
08:23 Wombert easy
08:23 Wombert position:absolute; top: 50%; height:200px; margin-top: -100px;
08:23 horros you started it! No we didn't! Yes you did, you invaded Poland!
08:23 horros :D
08:24 Wombert well you gotta specify a left: position too
08:24 Wombert remember that
08:24 Wombert and that won't work for elements with variable height
08:24 horros Wombert: ...except I also have to calculate the inner height of the element, divide it by two and set margin-top to minus that.
08:24 Wombert uuuuh
08:24 Wombert didn't I do that? :p
08:24 Wombert hence margin-top:-100px
08:25 horros but I distinctively remember seeing something a lot more clever yesterday.
08:25 Wombert or do you mean you don'twant it that way?
08:25 Wombert OH?
08:25 Wombert REALLY SIR?
08:25 horros and yeah, I know how to do it that way :)
08:25 Wombert SO MY SOLUTION IS NOT GOOD ENOUGH FOR YOU?
08:25 Wombert :>
08:25 horros haha
08:25 horros nossir, I need variable height blocks :)
08:25 Wombert http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
08:25 Wombert zere, sir
08:25 impl Are you high?
08:26 Wombert SIR, NO, SIR
08:26 impl Too many army movies?
08:26 impl :P
08:26 Wombert NO SIR CERTAINLY NOT SIR
08:26 Wombert YES SIR TWO HUNDRED PUSH-UPS SIR RIGHT AWAY SIR
08:26 impl Lucy in the skyyyyy with diamondssss
08:26 Wombert peppermint patty called lucy "sir" all the time
08:26 horros Wombert: but that also depends on having the height of the parent element.
08:27 Wombert do you read peanuts strips, impl?
08:27 Wombert I'm sure horros knows and loves thenm
08:27 Wombert them
08:27 horros I think I'll do it with some js calculations :)
08:27 impl I have
08:27 impl Not on a daily basis
08:27 horros Wombert: I most certainly do not like them Peanuts strip.
08:27 horros s
08:27 impl Lucy in the Sky with Diamonds: LSD
08:27 horros in fact; they are teh sux
08:27 Wombert horros: WHAT THE FUCK
08:27 impl INSULT!
08:27 Wombert omg a kingdom for channel op privileges
08:27 Wombert I would SO ban you right now
08:28 horros hahah
08:28 horros C&H > Peanuts^10000
08:28 impl I agree with that ^
08:28 impl But Calvin and Hobbes is off the scale of awesomeness
08:28 horros This is true.
08:28 Wombert I read that one the other day, hilarious, where snoopy decides that he will have himself elected patriarch of his family in the next "election" (haha) and then realizes that he may only cast one vote
08:29 horros umm... "haha"?
08:29 horros :/
08:29 Wombert goan, horros :(
08:29 impl smeg!
08:29 Wombert wasn't it "smee"?
08:30 horros Smeg off you smegging smeg of a smeghead!
08:30 Wombert http://sf1000.registeredsite.com/~user840306/people/page068.htm
08:30 horros Red Dwarf <3
08:30 impl I think it's smeg
08:30 Wombert ;)
08:31 Wombert and: http://www.forgetfoo.com/?blogid=7527
08:31 Wombert very awesome
08:43 v-dogg huomenta
08:51 horros ~/ she went away for the holiday, said she's going to L.A, but she never got there, she never got there, she never got there they saaaayyy ~/
08:51 horros ~/ THE KKK TOOK MY BABY AWAAYYYY ~/
08:51 horros lalala
08:51 impl that song is teh pwns
08:52 v-dogg wtf is that :D
08:52 horros v-dogg: Ramones :)
08:53 impl THE KKK TOOK MY BABY AWAY
08:53 horros yay
08:53 impl THEY TOOK HER AWAY
08:53 impl AWAY FROM MEEE
08:53 horros Ramones - Cretin hop
08:53 impl headbangs
08:53 horros <3
08:53 horros onetwothreefour cretins wanna hop some more!
08:53 horros \o/
09:02 Wombert btw
09:03 Wombert do we want $lm->log() to accept a string as first arg?
09:03 v-dogg and it would use the default logger and hmm.. what level?
09:03 v-dogg INFO?
09:04 Wombert oh
09:04 Wombert hmm
09:04 Wombert didn't think of that
09:04 Wombert well we could make that configurable
09:04 Wombert a) default logger class
09:04 Wombert b) default logger level
09:04 v-dogg I think INFO is the default for AgMessage now
09:04 Wombert sorry, message I mean
09:04 Wombert and you could call $tm->createMessage() to get an instance of that
09:04 impl I don't see what's wrong with taking a LoggerMessage
09:05 Wombert hm yeah that's true
09:05 Wombert $lm->log(new AgaviLoggerMessage('hello')) isn't too bad
09:05 Wombert what about
09:05 Wombert $lm->log($tm->createMessage('hello'));
09:05 Wombert $lm I mean
09:08 v-dogg are there any benefits?
09:09 Wombert yeah you could configure the message class to use for that
09:09 Wombert and the logger level
09:10 Wombert so you'd get MyCustomLoggerMessage with AgaviLogger::DEBUG
09:10 Wombert not sure if that makes any sense, guys
09:10 Wombert I never used logging
09:10 Wombert first time I do it now to debug caching in the execution filter
09:10 Wombert so I don't have any clue at all and listen to your advice
09:10 Wombert if you think it's not necessary, and it probably isn't, well then we don't do it :)
09:11 impl I like the idea of a LoggerMessage more than a string
09:11 horros Wombert: wouldn't it make more sense to just have $lm->log('foo'); and have the logger manager doohickey figure stuff out and do $msg = new MyFooBarUltraCoolLoggerMessage($msg_we_passed_lm_log); ?
09:11 impl so my vote is to leave it alone
09:12 Wombert horros: that's what I suggested but the thing is the logging level
09:12 horros Wombert: easier/faster to write and all that.
09:12 Wombert horros: yeah I wanted that too but then you cannot supply a logging level
09:13 horros hmm.
09:13 v-dogg but if you could use both AgaviMessage and string
09:13 impl ermm
09:13 impl what about this
09:13 impl $lm->log('foo', INFO);
09:13 firman [n=firman@125.163.13.3] has joined #agavi
09:13 horros Wombert: how do you pass the log level if you do log($lm->createMessagE()) ?
09:13 Wombert A logger with the name default does not exist
09:13 Wombert uuuuh?
09:14 impl lol
09:14 impl Now you've done it!
09:14 Wombert wtf wtf wtf :<
09:14 v-dogg AgaviMessage can now handle arrays as messages as well as strings
09:14 Wombert what have I done
09:14 v-dogg and that's good
09:14 Wombert !?!!?
09:14 v-dogg we could make a shortcut $lm->log(string) but I'd like to keep the current way too
09:15 Wombert horros: craeteMessage() is a suggestion too
09:15 Wombert recap
09:15 Wombert $m = new AgaviLoggerMessage('hello there', AgaviLogger::WARN);
09:15 Wombert $lm->log($m);
09:16 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:16 Wombert my first suggestion was to have $lm->createMessage() that creates a message instance, by default with class AgaviLoggerMessage and AgaviLogger::INFO, but that could be configurable
09:16 Wombert the idea was that if you extend LoggerMessage, you don't have to change all your code
09:16 Wombert anyway
09:16 Wombert I don't like the idea of overloading $lm->log() or anything
09:17 Wombert we could make it so that if you pass a string, it'll use the above method to figure out a class and the level
09:17 Arme[N] morning
09:17 Wombert wouldn't want to have hard-coded defaults for that
09:17 Wombert hi Arme[N]
09:17 impl Wombert: I never really cared much for things like LM::createMessage() as it seems like it's too tightly coupling things
09:18 Wombert impl: explain that
09:18 impl You're saying, I'm going to make LoggerMessage part of the foundation of this class no matter what and you should make LoggerMessages using my method that I've defined here
09:19 impl Well, you're not saying that
09:19 impl but it's what people will infer
09:19 v-dogg no no no, createMessage would create a message object of your choice
09:19 Wombert precisely
09:19 impl Isn't that going way out of the way?
09:19 Wombert you would be able to configure the name of the class
09:19 Wombert and of coure
09:19 impl Why not say new SomeLoggerMessage()?
09:19 Wombert course
09:19 Wombert you could still create new LoggerMessage
09:19 impl It's the same thing, and without all the weird configuration
09:19 Wombert nope!
09:19 Wombert for instance
09:19 Wombert in debug mode, you could have ExtendedLoggerMessage
09:20 Wombert well nobody would probably ever need that but still...
09:20 v-dogg heh :)
09:20 impl Seems to me like you could stick that in the code when you're debugging then :P
09:20 Wombert or you could have different defaults for production or... whatever
09:20 Wombert impl: not really
09:20 Wombert $m = new AgaviLoggerMessage(); always creates that
09:21 Wombert if you do $lm->createMessage();
09:21 Wombert it will create AgaviLoggerMessage in all environments except testing, where it would create a MyLoggerMessage
09:21 Wombert it certainly is an ultra stupid example
09:21 impl How about a LoggerMessageMan...okay, nevermind, I'm blowing this way out of proportion :P
09:21 Wombert because you could do all that by configuring appenders and layouts, I assume
09:22 impl mmm
09:23 Wombert uuuh so you _have_ to have a logger called "default", wtf?
09:23 Wombert I shall change that right away
09:23 impl Is that an M3 artifact?
09:24 Wombert probably
09:24 horros speaking of which
09:24 horros is mojavi completely dead and buried now?
09:24 Wombert yeah
09:24 horros too bad :I
09:24 impl I don't see it coming back ever
09:24 Wombert why
09:25 impl M2 was great though, still the best PHP4 framework around
09:25 horros Wombert: no particular readon. much like saying "too bad" when they stopped producing the T-Ford.
09:25 horros reason*
09:26 Wombert ;)
09:26 impl Were there any other forks of M3 besides Agavi and Symfony?
09:27 Wombert $defaultLogger = $cfg->loggers->getAttribute('default_logger', $defaultLogger);
09:27 Wombert AHA!
09:31 Wombert my GOD this is broken
09:31 Wombert xDD
09:31 Wombert who wrote that
09:32 v-dogg bob?
09:32 Wombert mmmh nah
09:32 v-dogg impl: you're looking for alternatives?-)
09:32 v-dogg wanna change into something better?
09:32 impl Naw, I'm just curious
09:32 Wombert Logger "default" is configured as default, but does not exist.
09:33 Wombert better
09:33 Wombert impl: I don't know of any
09:33 Wombert changed the topic of #agavi to: Agavi 0.11 RC 1 released :: THERE IS NO BETTER :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: anonymous ticket posting possible again :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
09:33 horros hahah
09:34 impl haha
09:35 CIA-11 david * r1432 /branches/0.11/ (4 files in 4 dirs): fixed default logger stuff, closes #371
09:35 Wombert oh bollocks
09:35 Wombert kicks himself
09:38 CIA-11 david * r1433 /branches/0.11/samples/app/config/logging.xml: oopsie... refs #371
09:41 Wombert Warning: fopen(/Users/dzuelke/Sites/_projects/agavi/branches/0.11/samples/app/log/debug-2​006-12-15.log) [function.fopen]: failed to open stream: No such file or directory in /Users/dzuelke/Sites/_projects/agavi/branches/0.11/src/logging/AgaviFileLoggerAp​pender.class.php on line 72
09:41 Wombert howly shite
09:42 horros I love discussions that are going like this:
09:42 horros <boss> Client XYZ can't log in to the app!
09:42 horros <me> That's interesting.
09:42 Wombert "yes he can"
09:42 Wombert "no he can't"
09:42 horros ...minutes pass...
09:42 Wombert "ye he can"
09:42 Wombert "shut up"
09:42 horros <boss> aren't you going to fix it?
09:42 horros <me> how?
09:42 horros :)
09:42 Wombert haha
09:42 horros I'm not psychic after all :)
09:44 impl Do you ever call your bosses smegheads?
09:45 horros I just name him Boss because he's the CEO
09:45 horros I own just as much of the company as he does
09:45 impl ohk
09:45 horros so in all honesty, I don't really have a boss.
09:45 impl You should fire him
09:45 Wombert which means you can call him smeghead!
09:45 Wombert :>
09:45 Wombert btw you had a lot of work lately, horros?
09:45 impl gives classic nForbes advice
09:46 Wombert or could you just not be bothered to come here ;)
09:46 horros Wombert: way more than what's healty :(
09:46 Wombert is it any better now?
09:46 horros a bit, got the final commits on 2.0.4 done yesterday, so now it's mostly testing and cosmetic stuff before we release it
09:46 horros LOL
09:47 Wombert that's good
09:47 impl Are you still using 0.10 or have you ported it to 0.11?
09:47 horros the client mentioned earlier sent an email to Boss. "We are moving to the program. But we cannot log in. The server can't find your application. Thanks."
09:47 horros hahahah
09:47 horros I've no idea wtf they're on about :D
09:48 horros delegates to guy who did the delivery/install/schooling
09:48 Wombert "hello customer support? yes, my coffee machine doesn't work, it is not plugged in, I mean seriously, what the fuck?"
09:48 horros impl: I'm on something that's halfway between 0.10 and 0.11 plus some of my own little tweaks here and there.
09:49 Arme[N] lol
09:49 horros Wombert: we actually had that happen too
09:49 horros Wombert: they called and said ZOMG IT'S NOT WORKING!
09:50 horros turned out they'd unplugged the switch in order to use a shredder :(
09:52 Wombert R O F L
09:53 horros Wombert: oh, riddle me this
09:53 horros if you have four series of three numbers, separated by dots, and all three numbers must be filled in; like so
09:53 horros nnn.nnn.nnn.nnn
09:53 horros how do you specify 1 there?
09:54 impl 1?
09:54 horros numbers can be between 0-9
09:54 impl 1 what?
09:54 horros impl: all three numbers must be filled in in all of the three series
09:54 horros impl: ie, you can't have n.nnn.nn.nnn
09:54 impl (\d{3}\.){3}\.\d{3}
09:54 impl ?
09:55 impl umph
09:55 impl remove that last \.
09:55 Wombert yeah
09:55 Wombert err
09:55 horros I am not talking about regexp.
09:55 Wombert was that a regex question?
09:55 impl Oh
09:55 horros I'm still talking customer support.
09:55 impl :\
09:55 Wombert number formatting?
09:55 Wombert aaaah
09:55 Wombert 000.000.000.001
09:55 horros exactly.
09:56 Wombert horros: what did you expect
09:56 horros I had to friggen DRIVE 200KM because she couldn't understand that
09:56 Wombert these are sales people
09:56 Wombert or accountants
09:56 horros Wombert: no no no, end user.
09:56 Wombert or other useless idiots
09:56 horros well, yes.
09:56 Wombert ah _really_ end user?
09:56 horros yes.
09:56 horros I had to drive there, go through setting the IP-address/gateway of the box via the front panel...
09:57 horros she'd used 100 where she was supposed to use 001
09:57 Wombert my god
09:57 horros and I told her to double-triple-quarduple check the addresses while I was on the phone with her
09:57 horros I even told her to read me back the numbers, and she said onetwothree-dot-blabla-dot-blabla-dot-one
09:57 horros *sigh*
09:57 Wombert haha
09:58 horros ciggy time, brb
10:04 CIA-11 david * r1434 /branches/0.11/src/logging/AgaviFileLoggerAppender.class.php: prevent warning when file cannot be opened
10:09 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:20 splatch hello
10:20 Wombert hi
10:20 Wombert I'm writing a TimestampLoggerLayour, should it use date or strftime?
10:21 horros Wombert: I'd go for date :)
10:21 horros Wombert: ooh, ooh, I learned something cool about strtotime() the other day
10:21 horros hold on...
10:22 horros // strtotime('2006W37') for the timestamp of Monday,
10:22 horros // week 37, 2006.
10:22 horros // strtotime('2006W377'); for the timestamp of Sunday
10:22 horros // (week day seven), week 37, 2006
10:22 horros fancy, eh?-)
10:22 Wombert nice
10:23 horros made my calendar module coding a lot easier :)
10:23 Wombert now if it wouldn't suck as much the possibilities would be endless
10:23 Wombert agavi's calendar stuff does that, too, btw
10:23 Wombert (I think)
10:23 horros agavi has calendar stuff?
10:23 Wombert uh
10:23 horros I thought it was a framework?
10:23 Wombert yes
10:23 horros ducks and runs
10:23 horros :D
10:23 Wombert :p
10:23 Wombert we have full i18n now
10:24 horros so I hear :)
10:24 Wombert $tm->_d(time()) will get you date and time, with finnish month and day names
10:24 horros nice :)
10:24 Wombert (if the locale is set to fi*)
10:24 Wombert you can format numbers and dates
10:24 Wombert and currencies
10:24 horros does it use gettext?
10:24 Wombert override everything
10:24 horros or some selfmade doohickey?
10:24 Wombert you can use gettext for translation
10:24 Wombert you mean locales?
10:24 Wombert system locales?
10:24 Wombert nope
10:25 horros right-o
10:25 Wombert they aren't always available, inconsistent and not thread safe
10:25 horros aye
10:25 Wombert we use the unicode common locale data repository
10:25 Wombert which means
10:25 Wombert $tm->getCountries() will get you a list of countries
10:25 horros in short: system locales suck.
10:25 Wombert in finnish
10:25 horros :)
10:25 Wombert or farsi
10:25 Wombert or lithuanian
10:25 Wombert or whatever you want
10:25 Wombert sorry, $locale->getCountries()
10:25 horros Once we get our "for Networks" version done, I need to start looking at porting to 0.11
10:26 horros AND figure out a good way to get all the clients updated
10:26 horros hmm. I think I'll have to do some weirdo "runthisscriptonthenextboot" thing that copies over new files before the http server starts... :I
10:28 Wombert horros: http://trac.agavi.org/browser/branches/0.11/src/translation/data/locales/fi.xml
10:28 Wombert and http://trac.agavi.org/browser/branches/0.11/src/translation/data/locales/fi_FI.x​ml for finnish stuff (with currency format as used in finland
10:29 Wombert <measurementSystemName type="US" draft="unconfirmed">amerikkalainen</measurementSystemName>
10:29 Wombert <measurementSystemName type="metric">metrinen</measurementSystemName>
10:29 Wombert ahahah
10:29 Wombert <3 finland
10:29 Wombert metrinen
10:29 Wombert everything is -inen
10:29 Wombert hakkinen
10:30 Wombert makinen
10:30 Wombert oooh
10:30 v-dogg :p
10:30 Wombert hugs horros
10:30 Wombert hugs v-dogg
10:30 horros hehe
10:31 horros hmm, that i18n stuff looks nice :)
10:34 Wombert changed the topic of #agavi to: Agavi 0.11 RC 1 released :: THERE IS NO BETTER :: IT _IS_ NICE! :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: anonymous ticket posting possible again :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
10:39 Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11 RC 1 :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
10:41 digitarald Morning fellows ... Houmenta ;)
10:49 codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi
10:49 CIA-11 david * r1435 /branches/0.11/src/ (3 files in 2 dirs): added AgaviTimestampLoggerLayout, closes #372
10:52 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:58 Wombert [Fri Dec 15 08:58:04 2006] Caching enabled, configuration file found, loading...
10:58 Wombert [Fri Dec 15 08:58:04 2006] Current action and request method are configured for caching, proceeding...
10:58 Wombert [Fri Dec 15 08:58:04 2006] Fetched groups "index", "en_US", "Index_Default"
10:58 Wombert [Fri Dec 15 08:58:04 2006] Action not cached, executing...
10:58 Wombert [Fri Dec 15 08:58:04 2006] Returned View is cleared for caching, proceeding...
10:58 Wombert [Fri Dec 15 08:58:04 2006] View is not cached, executing...
10:58 Wombert [Fri Dec 15 08:58:07 2006] Writing Action cache...
10:58 Wombert [Fri Dec 15 08:58:07 2006] Writing View cache...
10:58 Wombert <3
11:08 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
11:08 Arme[N-1] is now known as Arme[N]
11:09 v-dogg awesomeness
11:10 Wombert it caches the response already, so if I set a cookie... with a lifetime, remember, because we rock... oh my god this is so sweet
11:10 Wombert I just love how that all comes together
11:10 Wombert I don't even have to do anything special for this
11:10 Wombert I just export() the response, that's all
11:10 Wombert oooooh <3
11:19 firmanw [n=firman@125.163.27.8] has joined #agavi
11:21 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
11:21 firmanw [n=firman@125.163.27.8] has quit [Client Quit]
11:24 horros haha
11:24 horros boss threw me a link to a computer store, with a small laser printer
11:24 horros "want that? take advantage of my temporary insanity!"
11:24 horros :)
11:24 Wombert heh
11:30 horros hahaha
11:30 horros we have the weirdest customers.
11:30 horros one called and said they want to buy our app/services, but their internal network is still not quite ready. but they wanted to pay before newyears...
11:31 horros is confused
11:31 Wombert oO
11:31 horros so... they pay now, delivery is in january.
11:31 horros :O
11:31 horros weirdos
11:32 horros I suppose it's some tax-thing or the other :)
11:40 firman [n=firman@125.163.13.3] has quit [Read error: 110 (Connection timed out)]
12:16 v-dogg horros: they want the invoice to this years accounting
12:17 v-dogg standard procedure
12:17 horros yes, to reduce this years profits in order to pay less taxes.
12:18 v-dogg or because this years budget still has money to spend
12:38 firman [n=firman@125.163.15.14] has joined #agavi
12:56 foresth [i=foresth@local.hide-forest.net] has joined #agavi
13:58 codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["nebera."]
14:31 eremit [n=eremit@p5490F2E1.dip.t-dialin.net] has joined #agavi
17:05 codecop [n=codecop@85.206.204.127] has joined #agavi
17:18 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
17:18 Whisller :)
17:49 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
17:53 Arme[N] :) (pong)
17:53 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
18:01 digitarald *poing*
18:37 Arme[N] v-dogg: what was your favorit docbook editor?
18:39 firman Arme[N], XMLmind XML Editor
18:39 Arme[N] firman: thanks :)
18:39 firman he told me about it few days ago
18:40 digitarald they tell everybody XMLmind ;)
18:41 firman yep, seems no good free xml editor than it
18:59 firman nite all
18:59 firman [n=firman@125.163.15.14] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC for those that like to be different"]
19:24 Wombert http://www.cool-clip.de/content/1801.html
19:54 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Try HydraIRC -> http://www.hydrairc.com <-"]
21:06 digitarald is now known as digitaraldCB12ES
21:29 digitaraldCB12ES is now known as digitarald2F4ES
21:36 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
21:38 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
21:48 digitarald2F4ES is now known as digitarald
21:48 digitarald anybody here?
21:48 digitarald has translationmanager support for cm/inch metrics ;)
21:49 Wombert NO
21:49 Wombert no
21:51 digitarald OH oh
21:51 digitarald ... i'll add it ;)
22:13 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
22:14 digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
22:14 digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit [Client Quit]
22:21 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
22:41 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:44 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
23:09 benny`work [n=benny@p54AC25A3.dip0.t-ipconnect.de] has joined #agavi
23:51 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
23:54 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
Day changed Sat Dec 16 2006
00:19 Wombert [n=Wombert@dslb-088-064-004-055.pools.arcor-ip.net] has quit []
00:34 codecop [n=codecop@85.206.204.127] has quit ["Leaving"]
00:46 benny`work is now known as benny`patchslut
00:47 impl [n=impl@httpcraft/php/impl] has joined #agavi
00:53 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
02:52 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
04:43 benny`patchslut [n=benny@p54AC25A3.dip0.t-ipconnect.de] has quit [Read error: 60 (Operation timed out)]
04:59 benny`work [n=benny@p54AC0F6A.dip0.t-ipconnect.de] has joined #agavi
05:23 impl [n=impl@httpcraft/php/impl] has joined #agavi
05:59 benny`work [n=benny@p54AC0F6A.dip0.t-ipconnect.de] has quit ["unset($this);"]
08:00 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
08:01 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
08:55 foresth [n=foresth@local.hide-forest.net] has joined #agavi
09:36 Wombert [n=Wombert@dslb-088-064-007-214.pools.arcor-ip.net] has joined #agavi
09:38 raidman morning
10:13 foresth ahoy
10:51 firman [n=tarzilla@125.163.25.17] has joined #agavi
10:55 eremit [n=eremit@p5490F2E1.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)]
10:56 eremit [n=eremit@p5490FE71.dip.t-dialin.net] has joined #agavi
11:01 firman where's template plugins would be looks up?
11:29 firman [n=tarzilla@125.163.25.17] has quit [" HydraIRC -> http://www.hydrairc.com <- Try something fresh"]
11:30 digitarald [n=Miranda@62-43-149-44.user.ono.com] has joined #agavi
12:08 firman [n=tarzilla@125.163.25.17] has joined #agavi
12:24 eremit [n=eremit@p5490FE71.dip.t-dialin.net] has quit []
12:26 raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)]
12:27 eremit [n=eremit@p5490FE71.dip.t-dialin.net] has joined #agavi
12:31 digitarald Wombert, should gen not encode the routing::gen parameters? I have umlaute in them and they are not encoded ...
12:32 Wombert I remember an issue there
12:32 Wombert it was a bit complicated to do because I cannot encode everything
12:33 Wombert gotta look into it again
12:34 codecop [n=codecop@85.206.204.127] has joined #agavi
12:44 Wombert [n=Wombert@dslb-088-064-007-214.pools.arcor-ip.net] has quit []
12:50 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
12:54 raidman [n=raidman@unaffiliated/raidman] has quit [Client Quit]
14:03 benny`work [n=benny@p54AC0F6A.dip0.t-ipconnect.de] has joined #agavi
14:50 digitarald is now known as digitarald|pasta
14:57 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
15:04 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
15:08 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
15:08 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
15:28 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
15:30 digitarald|pasta is now known as digitarald
15:49 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
15:54 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
15:54 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
16:05 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
16:31 Wombert [n=Wombert@dslb-088-064-007-214.pools.arcor-ip.net] has joined #agavi
17:04 eremit [n=eremit@p5490FE71.dip.t-dialin.net] has quit []
17:07 codecop [n=codecop@85.206.204.127] has quit ["Leaving"]
17:13 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:07 forda [i=foresth@local.hide-forest.net] has joined #agavi
18:09 Wombert welcome to agavi, forda
18:17 foresth [n=foresth@local.hide-forest.net] has quit [Read error: 110 (Connection timed out)]
18:22 forda is now known as foresth
18:22 foresth hi :)
18:22 digitarald hi
18:23 digitarald foresth: already using agavi or just wanted some facts?
18:23 foresth already studying..
18:24 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
18:24 digitarald nice, just step through the sample app and u will love it ;)
18:31 Wombert ah
19:37 JamieWolf [n=jamiewol@Xa7b2.x.pppool.de] has joined #agavi
19:37 JamieWolf Good Evening everybody
19:37 foresth ahoy
19:39 JamieWolf foresth do U know if the Info on http://trac.agavi.org/wiki/PropelIntegration are still usable?
19:40 JamieWolf or is there some new stuff, howto use propel in agavi?
19:40 digitarald JamieWolf, new way ;)
19:40 digitarald do u use propel 1.2 or 1.3?
19:40 JamieWolf 1.2
19:41 digitarald ok, 1.3 has an autoload feature, but is very unstable. 1.2 is better
19:41 digitarald its easy to use propel with agavi ...
19:41 JamieWolf really?`
19:41 Wombert yeah
19:42 Wombert works like this:
19:42 Wombert a) configure the database by pointing to the runtime-conf.php file
19:42 Wombert b) add all your files to autoload.xml
19:42 Wombert c) $book = new Book(); works, without having to load and init propel first
19:42 digitarald <database name="pstock" class="AgaviPropelDatabase"><parameters><parameter name="config">%core.app_dir%/config/propel.cfg.php</parameter>
19:42 Wombert if you use propel 1.3, it's not necessary to add the files to autoload
19:43 digitarald Wombert, do u use propel 1.3?
19:43 Wombert nah
19:44 JamieWolf Wombert, I'm still using 1.2. But I don't care adding all the files ;)
19:44 JamieWolf so lets see if I can get it working
19:45 Wombert JamieWolf: remember that you need to add the folder where your om classes folder resides must be on the include path
19:46 Wombert e.g. if your package name is "bookstore", and you put it into proj/app/lib/
19:46 Wombert lib/ must be added to include path
19:47 JamieWolf btw. is there a way to autogenerate the Classes with agavi?
19:48 Wombert propel you mean?
19:48 JamieWolf yes
19:48 Wombert or actions and such?
19:48 Wombert uuuuh why would you need that? :)
19:48 Wombert I mean... propel does it already
19:48 JamieWolf Cuz' I'm lazy ;)
19:49 JamieWolf all right
19:49 Wombert yeah but you would still have to define it!?
19:49 Wombert btw, agavi 1.0 will ship with extended propel builders you can use to get access to the context from inside peers and objects
19:49 Wombert this will make the integration with agavi a lot nicer
19:50 JamieWolf I just remembered it for a project where i used symfony. There you needed to define the layout and then just run a command
19:50 JamieWolf doesn't like symfony though
19:50 Wombert you mean the database layout?
19:50 JamieWolf yes
19:50 Wombert this is called "scaffolding"
19:51 Wombert it generates a CRUD (create, retrieve, update, delete) interface for you
19:51 Wombert I don't like this approach
19:51 firman [n=tarzilla@125.163.25.17] has quit [" Try HydraIRC -> http://www.hydrairc.com <-"]
19:51 Wombert because it gets you going quickly, but the time you save has to be spent later when begin to customize things
19:51 Wombert same with RoR
19:51 Wombert you get to 95% of the roadmap in a couple of days, and then you spend weeks on fine-tuning
19:52 Wombert at least if you're a perfectionist ;)
19:52 JamieWolf true ...
19:52 JamieWolf but I'm ... thats the Problem.
20:06 Arme[N] Wombert: what you think about doctrine? and do you have any plan for it, too?
20:22 Wombert I don't like doctrine and active record in general because I think it's utter nonsense to build the database layout in the rdbms AND in your code
20:22 Wombert also, the doctrine developer put up a page soon after launch that compared doctrine to propel
20:22 Wombert that was supposed to show which is better
20:23 Wombert in the list, there were many features propel actually had, but he said it hadn't
20:23 Wombert so he is a lame idiot in my eyes no matter how good his product is
20:23 Wombert which makes his product kinda lame, too
20:23 Wombert I have to say I didn't look at it much since, though
20:23 Wombert and yes, 1.0 will have doctrine integration if any such integration is necessary
20:25 Wombert http://www.phpbbserver.com/phpdoctrine/viewtopic.php?t=54&mforum=phpdoctrine
20:26 Wombert also, active record might be nice and convenient to do with python or rails
20:26 Wombert but not with php
20:26 Wombert it doesn't have the syntactic capabilities
20:26 Wombert http://www.phpdoctrine.com/documentation.php?index=1.5 I find this awfully verbose
20:28 Wombert also... having to set relations etc
20:28 Wombert this just sucks sooooo much
20:28 Wombert like RoR
20:28 Wombert where it doesn't even make use of foreign key constraints...
20:28 Wombert that's just soooooo lame
20:29 Wombert http://www.phpdoctrine.com/documentation.php?index=13.1
20:29 Wombert seriously
20:29 Wombert this is hopeless
20:31 JamieWolf Is there somewhere an example how the runtime-conf.php has to look like? Or is it equal the the runtime-conf.xml here: http://propel.phpdb.org/trac/wiki/Users/Documentation/1.2/QuickStart
20:31 Wombert JamieWolf: propel will generate it for you
20:33 JamieWolf all right
20:34 Arme[N] Wombert: thanks for complet description, I trust you as I know who you are :), I'll take a look at doctrain becuase we have a projec with lots of MDB2 codes and I dont know reall propel is better or doctrain in my opinion, put now propel has a +1 :), then mey be integriation of doctrine with agavi will be usefull :)
20:34 Arme[N] but*
20:35 Wombert the thing is
20:35 Wombert it's differnet philosophies, really
20:35 Wombert in propel, you describe your database in xml, and it generates the code for you
20:35 Wombert in doctrine, you describe the database in your php code, and it generates the database for you
20:39 Arme[N] thanks again for attention Wombie :)
20:40 Wombert of course
20:40 Wombert if you have any questions, let me know
20:40 Arme[N] okey
20:40 Wombert being a propel developer, I obviously prefer propel, so you maybe should ask someone not biased to get an independent opinion :)
20:43 Arme[N] heh, no I trust you... you are really good developer, as I can see what you done in Agavi
20:43 Arme[N] v-dogg and kaos are too
20:44 Wombert :)
20:44 Wombert thank you
20:44 Arme[N] ah, you are welcome but it is true...
20:49 eremit [n=eremit@p5490FE71.dip.t-dialin.net] has joined #agavi
21:13 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 145 (Connection timed out)]
21:14 foresth [i=foresth@local.hide-forest.net] has joined #agavi
21:20 JamieWolf [n=jamiewol@Xa7b2.x.pppool.de] has quit [Nick collision from services.]
21:21 JamieWolf [n=jamiewol@X9cde.x.pppool.de] has joined #agavi
21:26 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
21:41 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
21:45 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
22:07 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:08 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
22:56 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
Day changed Sun Dec 17 2006
00:17 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
00:42 impl [n=impl@httpcraft/php/impl] has joined #agavi
00:58 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
01:12 Wombert [n=Wombert@dslb-088-064-007-214.pools.arcor-ip.net] has quit [Nick collision from services.]
01:12 Wombert [n=Wombert@dslb-088-064-005-150.pools.arcor-ip.net] has joined #agavi
02:14 JamieWolf is now known as Jamie^sleep
03:25 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
03:27 Wombert [n=Wombert@dslb-088-064-005-150.pools.arcor-ip.net] has quit []
03:34 epaulin [n=epaulin@61.191.26.228] has joined #agavi
04:52 benny`work [n=benny@p54AC0F6A.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
04:53 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
05:02 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
06:42 epaulin [n=epaulin@61.191.26.228] has quit [Read error: 104 (Connection reset by peer)]
07:57 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
08:13 kaos [n=kaos@ppp-82-135-3-168.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)]
08:13 horros [n=mle@a81-197-134-237.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)]
08:13 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: raidman, impl
08:13 Netsplit over, joins: raidman, impl
08:13 kaos- [n=kaos@ppp-82-135-3-168.dynamic.mnet-online.de] has joined #agavi
08:13 horros_ [n=mle@a81-197-134-237.elisa-laajakaista.fi] has joined #agavi
08:40 epaulin [n=epaulin@61.191.26.228] has joined #agavi
09:54 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
10:09 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:13 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
10:23 foresth [i=foresth@local.hide-forest.net] has joined #agavi
10:29 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
10:56 eremit_ [n=eremit@p5490E1AB.dip.t-dialin.net] has joined #agavi
11:06 eremit [n=eremit@p5490FE71.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:54 v-dogg huomenta
11:57 ttj Huomen.
11:58 foresth nazdar
12:03 Wombert [n=Wombert@dslb-088-064-005-150.pools.arcor-ip.net] has joined #agavi
12:13 raidman huomenta
12:24 Wombert houmenta
12:29 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
12:30 Wombert y0y0y0
12:30 Wombert v-dogg?
12:33 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
13:09 v-dogg Wombert:
13:10 horros_ [n=mle@a81-197-134-237.elisa-laajakaista.fi] has quit [Read error: 131 (Connection reset by peer)]
13:12 Wombert we have a great plan
13:12 Wombert we use phpdocumentor to generate xml
13:12 Wombert and then we transform that to docbook
13:13 Wombert a) we can use docbook code in descriptions for code samples etc
13:13 Wombert b) the api docs look like the rest of the manuals
13:13 Wombert c) we can eaaaasily link from and to the api docs
13:13 Wombert whatdoyouthinkmate? :)
13:18 Wombert pokes v-dogg
13:21 v-dogg ooohhh.... fucking idiot web-hosting company!!
13:21 v-dogg f f f f f
13:21 v-dogg uuuuuuck
13:21 v-dogg goes bananas
13:21 v-dogg they just went and dropped PDO/SQLite support from PHP
13:22 Wombert yeah
13:22 Wombert sure
13:22 v-dogg and broke three apps of mine
13:22 Wombert so their basic packages without mysql cannot use databases without paying
13:22 Wombert call them and yell at them big time
13:22 Wombert and I mean really yell at them
13:23 eremit_ is now known as eremit
13:23 Wombert do you finns ever yell anyway? :)
13:23 Wombert I never saw hakkinen or raikkonen angry, but then, they might not be representative
13:23 v-dogg I will because, although I have mysql in my package, I have talked to them about sqlite and they said they have it
13:24 Wombert <3 finland and the weirdos that live there
13:24 Wombert hugs v-dogg
13:24 Wombert :)
13:24 v-dogg :)
13:24 Wombert it was probably just an oversight
13:24 Wombert btw I tried to look up "houmenta" just for kicks on fi.wikipedia.org
13:24 Wombert wasn't found but
13:24 Wombert I had to laugh anyway
13:24 v-dogg huomenta
13:24 Wombert the words are all soooo long
13:25 Wombert oooh?
13:25 Wombert oooh!
13:25 v-dogg it's not there still :)
13:25 Wombert http://fi.wikipedia.org/wiki/Huomenta_Suomi
13:25 Wombert I understand this!
13:26 Wombert a show on MTV3
13:26 Wombert mmmh
13:26 Wombert airs since 1989
13:26 Wombert whatever joulukuuta is
13:26 Wombert and from 6.25 to 8.35 and uhm
13:26 Wombert on weekends 7.00 to 9.05?
13:26 eremit [n=eremit@p5490E1AB.dip.t-dialin.net] has quit []
13:26 v-dogg joulukuu = december
13:27 Wombert just figured that out :)
13:27 Wombert is that breakfast tv?
13:27 v-dogg 7am-9.05am in the summer time
13:27 Wombert like "guten morgen deutschland"
13:27 Wombert ah
13:27 Wombert okay
13:27 v-dogg yeah
13:28 Wombert oh wait we don't have "guten morgen deutschland"
13:28 Wombert :<
13:28 Wombert but I don't have time to watch TV in the mornings anyway
13:28 v-dogg maybe you could buy Huomenta Suomi and dub it :p
13:28 Wombert all I ever watch is news in the evening
13:28 Wombert sometimes king of queens
13:28 Wombert that would be SO AWESOME
13:28 Wombert haha
13:28 Wombert but to make it really funny
13:29 Wombert we'd have to use veeery long words all the time
13:29 v-dogg heh
13:29 Wombert with many is and us and os in it
13:29 Wombert I must come to finland one day
13:29 Wombert would I get along with speaking english?
13:29 Wombert or is that difficult
13:30 v-dogg you would
13:30 v-dogg some weirdos even speak German
13:30 v-dogg like my missus :)
13:30 Wombert woot?
13:30 Wombert she does?
13:30 Wombert oO
13:30 v-dogg and horros
13:30 v-dogg I think
13:31 Wombert haha yeah he tries at least
13:31 Wombert but he was quite good last time we practised
13:31 Wombert seems all these cases confused him
13:32 Wombert I always thought finnish had more of them than german
13:32 v-dogg I took French the last two year in elementary school but don't remember _anything_ anymore :)
13:32 Wombert at least hungarian does, and while the languages are by no means alike, they share the same roots iirc
13:32 Wombert how many cases do you have?
13:32 Wombert I used t ohate french but now I think it's an awesome language
13:33 Wombert I gotta improve it some day
13:33 v-dogg I'm not sure how one should count the cases in Finnish
13:33 Wombert 4812?
13:33 Wombert xD
13:33 v-dogg heh :)
13:33 Wombert oO
13:33 v-dogg dunno
13:33 Wombert "without the house"
13:34 Wombert "as the house"
13:34 Wombert "into a house"
13:34 v-dogg but I have to start revising math not
13:34 v-dogg now
13:34 Wombert oooookay
13:34 Wombert do that
13:34 Wombert after that, remember, it's mcgyver time
13:34 v-dogg i really really really have to pass the exam tomorrow :)
13:34 Wombert eww
13:34 Wombert okay no mcgyver today
13:34 v-dogg no
13:34 v-dogg laters
13:34 Wombert I wish you a lof of success
13:35 Wombert and luck, should you need any
13:35 Wombert you're a winner ;)
13:51 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 131 (Connection reset by peer)]
14:01 raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
14:06 foresth [i=foresth@local.hide-forest.net] has joined #agavi
14:29 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
16:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:22 benny`work [n=benny@p54AC3E5A.dip0.t-ipconnect.de] has joined #agavi
17:11 Arme[N] is now known as coolguy
17:12 coolguy is now known as Arme[N]
17:16 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:16 Arme[N] [n=Arme[N]@80.191.141.180] has quit [Nick collision from services.]
17:16 Arme[N-1] is now known as Arme[N]
17:21 digitarald [n=Miranda@62-43-149-44.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
17:32 v-dogg puuuh...
17:33 Wombert stay strong
17:33 v-dogg :)
17:35 RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
17:40 RossC0 [n=RossC0@teamjr.plus.com] has left #agavi []
18:39 Jamie^sleep [n=jamiewol@X9cde.x.pppool.de] has quit [Read error: 113 (No route to host)]
19:05 digitarald [n=Miranda@62-43-149-44.user.ono.com] has joined #agavi
19:09 digitarald Wombert, u use that X-JSON header in prototype, do u just put true/false/numbers in it or sometimes more data?
19:10 Wombert headers are limited to around 4k in IE
19:10 Wombert I usually put flags in it or the number of results (-1 being an error or so) etc
19:11 digitarald i wanted to put validation result in it, incorrect fields when posting forms via ajax. they are not even 500b
19:13 digitarald but i think i will put it in a <script> tag in the response-content, there i have more place
19:13 impl [n=impl@httpcraft/php/impl] has joined #agavi
19:15 v-dogg hm... how does json request-response work? why do you have to put data into headers? (excuse my ignorance :)
19:16 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
19:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:17 Wombert v-dogg: you return json in the response body
19:17 Wombert however, prototype has a special feature
19:17 Wombert where you return xml or html in the body
19:17 Wombert and json in a header
19:18 Wombert the json is automatically evaled for you and given to the event handler (onSuccess) as another argument
19:18 v-dogg ah, ok
19:18 v-dogg that seems like a handy feature
19:19 Wombert it is
19:19 Wombert lets say you have that live search thingie
19:19 Wombert and you return either the html for a list of results
19:19 Wombert or an error html fragment
19:19 Wombert the json header can be used to indicate which it is
19:20 v-dogg yeah
19:20 Wombert of course, you could also return json that has the flag and, as another value, the html you can insert
19:20 Wombert but that is not as convenient
19:20 Wombert because prototype has that ajax.updater thing where it inserts the html automatically
19:20 Wombert and you'd use the json to set a class on the container or whatever
19:35 digitarald mootools the same, works very nice. is that x-json header standard in rails?
19:36 Wombert well I guess rails uses it for some stuff since prototype introduced it
20:55 Arme[N] is now known as Arme[0]
22:01 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:08 EleRas [n=EleRas@neteraser.de] has quit [Nick collision from services.]
22:37 foresth [n=foresth@local.hide-forest.net] has joined #agavi
23:29 foresth [n=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:38 codecop [n=codecop@85.206.207.103] has joined #agavi
23:39 codecop [n=codecop@85.206.207.103] has quit [Client Quit]
23:52 CIA-11 [i=cia@cia.navi.cx] has quit [Remote closed the connection]
23:55 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
Day changed Mon Dec 18 2006
01:13 Wombert [n=Wombert@dslb-088-064-005-150.pools.arcor-ip.net] has quit [Nick collision from services.]
01:13 Wombert [n=Wombert@dslb-088-064-003-076.pools.arcor-ip.net] has joined #agavi
01:23 digitarald [n=Miranda@62-43-149-44.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
01:36 Wombert impl: impl
01:37 impl Hmmh?
01:37 Wombert yo dude
01:37 Wombert need thy help
01:37 impl Afternoon
01:37 impl is transcribing an essay
01:37 Wombert night already over here :>
01:37 Wombert do you have a minute?
01:37 impl I will at about 7:15, if you can wait that long
01:37 Wombert what time is it now
01:37 impl 6:37
01:38 Wombert mmh wanted to go to bed
01:38 Wombert well we'll talk tomorrow then or so :)
01:38 impl Alright, sounds good.
01:38 impl (Sorry, I really have to get this done)
01:38 Wombert and if I don't go to bed
01:38 Wombert I'll ping you in 35 mins
01:38 Wombert sure man
01:39 Wombert no problem :)
01:39 impl :D
01:58 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
02:33 benny`work [n=benny@p54AC3E5A.dip0.t-ipconnect.de] has quit ["unset($this);"]
02:56 impl [n=impl@httpcraft/php/impl] has joined #agavi
03:00 Wombert [n=Wombert@dslb-088-064-003-076.pools.arcor-ip.net] has quit []
06:02 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:43 digitarald [n=Miranda@62-43-149-44.user.ono.com] has joined #agavi
11:17 digitarald [n=Miranda@62-43-149-44.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
11:57 codecop [n=codecop@85.206.207.103] has joined #agavi
12:24 digitarald [n=Miranda@254.Red-83-50-112.dynamicIP.rima-tde.net] has joined #agavi
12:44 eremit [n=eremit@p5490FE29.dip.t-dialin.net] has joined #agavi
13:46 horros [n=mle@a81-197-134-237.elisa-laajakaista.fi] has joined #agavi
13:49 horros whatthe...
13:49 codecop [n=codecop@85.206.207.103] has quit [Read error: 54 (Connection reset by peer)]
13:56 Wombert [n=Wombert@dslb-088-064-003-076.pools.arcor-ip.net] has joined #agavi
13:58 horros gah
13:58 horros stupid "buy this stock" -spams!
13:58 horros I R DROWNING!
14:22 Wombert oooh bustedtees.com has free shipping again
14:22 Wombert <3
14:39 horros this is odd
14:40 horros CachingExecutionFilter shows fuckall speed improvment :I
14:40 horros well, ok, it does. ~0.2 seconds
14:40 Wombert eh
14:40 Wombert which caching execution filter? :D
14:40 horros of a page that takes 1.5-1.7 seconds to generate
14:40 horros Wombert: I wasn't aware there were many of them :)
14:40 Wombert didn't I remove it before RC1?
14:40 Wombert there is none, that's the thing ;)
14:40 horros I don't use 0.11 :)
14:41 Wombert I'm working on adding caching functions to ExecutionFilter right now
14:41 Wombert it will be in RC2
14:41 Wombert CEF became non-functional or broken in june or july, I guess
14:41 horros I haven't updated in ages.
14:42 Wombert that's a shame
14:42 horros Indeed, but I judged getting the application OUT was more important than cool features in the framework :D
14:43 horros Once we have things more stable I'll have to look into 0.11 (or version 7 that it'll be at that time), and how to get the clients upgraded to it
14:43 Wombert app rewrite ^^
14:43 horros that's not the part that troubles me.
14:43 horros it's the whole "getting the clients upgraded" that has me worried.
14:44 horros I suppose I have to do some script that runs on boot that nukes the old installation and copies over the new files
14:45 horros oh well, that's a problem for the future
14:45 horros far, distant future.
14:45 horros about the time the sun dies.
14:45 horros :)
14:45 horros I think there must be some odd stat -problems on windows :I
14:46 horros scratches head and wanders off to make coffee and to smoke
14:47 horros DER KAFFEE MACHEN UND ZU RAUCHEN!
14:47 horros or something
14:47 Wombert -DER
14:47 horros OK!
14:47 horros :)
14:47 Wombert GERMANS WRITE IN UPPERCASE ONLY
14:47 Wombert BECAUSE THEY SHOUT ALL THE TIME
14:47 Wombert JAWOHL
14:47 Wombert AND THEN THEY INVADE POLAND
14:47 horros hahaha :D
14:47 Wombert YES YOU DID!
14:48 horros HAHAHA! LOOK AT ZE TOMMIES! ZHEY HAF MADE A KAR OUT OF SPIT UNT KLEENEX!
14:48 Wombert haha
14:48 horros why can't TopGear come back already? :((
14:48 Wombert that was ze east germans tho
14:48 Wombert january 28!
14:49 horros !
14:49 Wombert and on 22nd they'll show the hamster's crash
14:49 horros !
14:51 horros AIEE! BLÖDE SPAM! ICH BIN ÜBERSCHWEMMT!
14:54 Wombert :>>>>
14:56 horros I haven't practiced my german for ages :)
15:06 firman [n=tarzilla@125.163.36.38] has joined #agavi
16:16 benny`work [n=benny@p54AC37A8.dip0.t-ipconnect.de] has joined #agavi
16:47 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
16:47 Whisller hello
16:57 Wombert hi
17:03 codecop [n=codecop@85.206.207.103] has joined #agavi
17:04 Whisller i'have a problem(next) with validator(i think :/). I have fields bodyDe, bodyEn and bodyPl, but field bodyEn is'nt sent. In executeWrite - ->getParameters don't retund this field. But when this field name is hmm for example "dupa", "kurwa" etc this working good. Here is form and validator, if someone can help me i be glad http://phpfi.com/185830
17:05 Whisller *grateful
17:09 Whisller strange thing.
17:09 Wombert look at line 233
17:09 Wombert the validator name there is bodyEn
17:09 Wombert again
17:09 Wombert so that overwrites the previous bodyEn validator
17:09 Wombert which means the field is never validated, so it's not available
17:09 Wombert BUT
17:09 Wombert you're doing it the wrong way I think
17:10 Wombert why not
17:10 Wombert body[de], body[en] and so on?
17:10 Wombert and then validate that with a base
17:10 Wombert <validator class="string" name="body" required="false">
17:11 Wombert <arguments base="body">
17:11 Wombert <argument></argument>
17:11 Wombert </arguments>
17:11 Wombert </validator>
17:11 Wombert I think that's how it works
17:11 Wombert digitarald: is that correct?
17:11 Whisller o yes two field with this same name :/
17:11 Whisller thanks very mutch :)
17:11 Wombert no, the validators had the same name!
17:11 Whisller yes yes
17:11 Wombert but still, you should consider re-designing that
17:11 Wombert bodyEn, bodyPl etc is nonsense
17:11 Whisller in validator name?
17:12 Wombert for everything
17:12 Wombert field names, validators, etc
17:12 Wombert look
17:12 Wombert if you want to add another language
17:12 Wombert you have to add new validators
17:12 Whisller yes
17:12 Wombert instead, you can use arrays
17:12 Wombert body[de] and so on
17:13 Whisller good idea. array('languages'=>added languages) ?
17:13 Whisller *languages = array();
17:13 Whisller hmm
17:13 Wombert no
17:13 Wombert sighs
17:14 Wombert create a test form with foo[de], foo[en] and foo[pl] and submit that
17:14 Wombert this arrives as body => array('de' => ..., 'en' => ..., 'pl' => ...)
17:15 Whisller ok
17:17 foresth [i=foresth@local.hide-forest.net] has joined #agavi
17:19 Whisller it work.
17:19 Whisller thanks for everything.
17:20 Wombert sure
17:20 Wombert let me know if you have any questions
17:20 Wombert or trouble setting up the validators for that
17:20 Wombert do you see the advantage of this approach?
17:20 Wombert btw you have a lot of labels, but no id attributes in the form fields...
17:21 Whisller yes your idea is beater.
17:22 Whisller ehh my knowledge is bad :/
17:23 Whisller about labels. this forms is only for test. so it is'nt for users :)
17:31 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
18:00 Whisller in validator class=number don't work with base, or i do something wrong.
18:05 digitarald what do u try, pastebin it
18:05 Wombert aaah, digitarald to the rescue :)
18:07 digitarald sometimes i know some answers, not only the questions ;)
18:07 Whisller http://phpfi.com/185849
18:08 Whisller 3 examples
18:09 Whisller for fields like name="showBody[xx]"
18:10 digitarald mmmhh ... showBody is an array, not a number
18:11 Whisller hmm
18:11 Whisller heh
18:11 Wombert <argument name="min">0</argument>
18:12 Wombert errr what's that
18:12 Wombert oO
18:12 Whisller tfu
18:12 Whisller my fall
18:12 Whisller *fool
18:12 Whisller foll
18:12 Whisller :/
18:13 digitarald fault ;)
18:13 Whisller exactly :(
18:14 Wombert so
18:14 Wombert how does that work?
18:14 Wombert I thought the first example is correct?
18:14 kaos- nope
18:15 Wombert oh you're awake :)
18:15 kaos- its showBody[]
18:15 kaos- as base
18:15 Wombert I was about to call you for help
18:15 kaos- :)
18:15 Wombert and empty argument?
18:15 kaos- yes
18:15 Wombert and argument "3" would be showBody[3]
18:15 Wombert ?
18:15 kaos- i _think_ so
18:15 Wombert oO
18:15 kaos- lemme check
18:15 Wombert that's weird!?
18:15 kaos- yes
18:15 kaos- indeed ;)
18:16 kaos- thats why i need to check
18:18 kaos- throws a large pillow at kaos-
18:18 kaos- No directory defined for rotating logging.
18:18 kaos- could you test the sample app next time before commiting pls ?`
18:18 kaos- kthx ;>
18:20 Wombert ehm
18:20 Wombert you sure?
18:20 Wombert use_logging is off in settings.xml
18:21 Wombert might be your local copy
18:21 kaos- eh
18:21 kaos- yeah
18:21 kaos- then logging.xml
18:22 kaos- is broken
18:22 kaos- ;p
18:22 kaos- <appender name="ErrorLogAppender" class="AgaviRotatingFileLoggerAppender" layout="PassthruLayout">
18:22 kaos- parameter = file ...
18:22 kaos- yeah ;D
18:22 Wombert yeah it is but that's okay
18:23 kaos- btw
18:23 kaos- base foo[] arg 1
18:23 kaos- will match foo[x][1]
18:23 kaos- and base foo arg 1
18:23 kaos- will match foo[1]
18:23 kaos- so no wildcard here
18:24 Wombert and base foo[] arg empty?
18:24 Wombert is wrong? :p
18:24 kaos- no
18:25 kaos- will match foo[x]
18:25 Wombert ponders
18:25 Wombert we should change that then, shouldn't we?
18:25 Wombert because it's pretty inconsistent
18:25 kaos- aha
18:26 kaos- and to WHAT
18:26 Wombert let me think
18:26 kaos- and if anyone offers himself for rewriting those parts then
18:26 kaos- go ahead
18:26 Wombert if base foo arg 1 matches foo[1]... base foo arg empty should match any foo
18:26 Wombert I'll have a look
18:26 kaos- no
18:27 kaos- this simply wont work
18:27 kaos- trust me
18:27 kaos- .
18:28 kaos- you need to specify where the validation needs to handle wildcards
18:29 kaos- everything else is just plain guessing which will never be right all the time
18:29 Wombert I was thinking that <argument /> would mean wildcard
18:29 kaos- and doing base="foo" arg="" is nonsense
18:29 Wombert and everything else taken literally
18:29 kaos- yes
18:29 Wombert yeah
18:29 kaos- and htf would you do foo[x][1][y] then ?
18:30 Wombert <arguments base="foo[][1]">
18:30 Wombert <argument />
18:30 Wombert ?
18:30 kaos- lol
18:30 kaos- no
18:30 kaos- you wont be able to redo the code to support that
18:30 kaos- w/o rewriting the ENTIRE flow of the executeinbase
18:30 kaos- etc
18:31 Wombert as I said, I'll have a look
18:31 Wombert I guess the current approach isn't really flawed, but might still confuse new users
18:31 Wombert because for wildcards, the base isn't the base, you know what I mean?
18:32 kaos- it is
18:32 Wombert <arguments base="foo">
18:32 Wombert <argument>bar
18:32 Wombert will match foo[bar]
18:32 kaos- yes
18:32 Whisller hmm
18:32 Wombert <arguments base="foo[]">
18:32 Wombert <argument></argument>
18:32 Wombert will match foo[whatever]
18:33 kaos- this can be written as base="foo[bar]" with empty arg
18:33 kaos- its simple really
18:33 Wombert yeah, and that is flawed imo, because while it works, it defeats the whole point of a "base"
18:33 kaos- if we have an argument
18:33 digitarald how can i get the current currency?
18:33 Wombert yeah, yeah, right, but you should never be able to work WITH the base, just ON TOP of it
18:33 kaos- it will be added to every possible base
18:33 Wombert digitarald: name? symbol?
18:34 kaos- Wombert: YOU CANT WORK ON TOP OF THE BASE
18:34 kaos- how often do i need to explain that ?
18:34 kaos- check the frigging code
18:34 digitarald name or symbol
18:34 kaos- and stfu, really, thanks
18:35 kaos- $locale->getLocaleCurrency
18:35 digitarald thx kaos-
19:03 Whisller is posible check a variable to isn't empty ?
19:17 firman [n=tarzilla@125.163.36.38] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"]
19:17 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
19:17 RossC0 hi all
19:21 digitarald Whissler: validator class="isset"
19:22 Whisller digitarald, but in action?
19:22 Whisller *not ?
19:22 digitarald $parameters->hasParameter('myVar')
19:22 digitarald or $parameters->getParameter('var') == ''
19:23 digitarald depends on your validation settings
19:24 Whisller ehh you have a right :/ today i'm...heh ;)
19:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:25 Whisller maybe I must rest...2 weeks ;)
19:27 digitarald with skiing or on a beach ... maybe ... if u have the time :P
19:28 Whisller good idea, now we have so hot winter. Sea will be good :]
19:28 foresth [i=foresth@local.hide-forest.net] has joined #agavi
19:28 digitarald where are u from that u have a hot winter?
19:29 Whisller poland.
19:29 Whisller last winter we had -30 now is +17, +4...
19:29 digitarald ah, ok ... i'm a german, living in spain
19:29 digitarald ;) we have a hot winter, too ... have to go now, cya later :)
19:29 Whisller :)
19:30 Whisller cya
19:30 digitarald [n=Miranda@254.Red-83-50-112.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
19:31 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:51 digitarald [n=Miranda@62-43-149-45.user.ono.com] has joined #agavi
20:53 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
21:16 digitarald is now known as digitarald|brb
21:55 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC with a difference"]
22:17 codecop [n=codecop@85.206.207.103] has quit ["Leaving"]
22:39 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:43 impl Wombert: Around?
22:54 Wombert yes impl
22:55 impl Still need help with that stuff from last night?
22:56 impl I got in later than I thought :\ sorry
23:00 Wombert heh
23:00 Wombert no problem
23:01 Wombert http://trac.agavi.org/browser/branches/0.11/src/
23:01 Wombert kaos- and I think the naming of some "parts" or classes is a bit inconsistent
23:01 Wombert e.g. "logging" vs "validation"
23:01 Wombert err... validator
23:02 Wombert and it's "ValidatorManager", but really should be "ValidationManager", shouldn't it?
23:03 Wombert I'm asking you because you're the only native speaker around which means you're the only person to actually know Jack Schitt
23:03 Wombert :)
23:05 impl Well
23:06 impl A validation manager is something that handles the process of validation
23:06 impl a validator manager is something that handles multiple validator classes
23:06 impl Take your pick
23:08 impl I mean, I think both could work
23:09 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:18 Wombert validation manager indeed handles validation, not only validators
23:19 impl So yeah, maybe ValidationManager would be a better name
23:19 Wombert but also, should it be "routing" or "router" for that folder name
23:19 impl well
23:19 Wombert and shouldn't it be "LoggingManager" instead of "LoggerManager"
23:19 Wombert etc etc
23:19 impl This sounds like you should wait until 2.0 to change this stuff
23:20 impl But you should decide now whether you want to go with a singular noun form (-er, -or), or a name that describes the process itself (-ing, -tion)
23:21 kaos- yeah, but how would you describe action ?
23:21 kaos- actioning ? xD
23:21 impl uum
23:21 Wombert ac-tion
23:21 impl Good question :P
23:21 Wombert :p
23:21 impl Oh, interesting
23:21 impl so the other form would be an 'actor'
23:22 Wombert who does ac-ting
23:22 Wombert :>
23:22 impl yes ;p
23:22 kaos- omg, lets just use german words like Achtung!
23:23 Wombert good idea
23:23 Wombert "Achtung"
23:23 Wombert "Jawoll"
23:23 Wombert "Blitzkrieg"
23:23 impl wtf
23:23 Wombert haha
23:23 kaos- "Kindergarten"
23:23 impl Frankfurter!
23:24 Wombert there are better german words in english than kindergarten
23:24 Wombert hinterland
23:24 Wombert or schadenfreude
23:24 Wombert or politbuero
23:24 Wombert or... angst!
23:24 Wombert angst > fear
23:24 kaos- politbuero roxx :>
23:24 impl :s
23:24 impl I don't know these words, except angst
23:24 kaos- evil word ^^
23:25 kaos- well, back to topic ^^ describing the process wont work in all cases
23:25 kaos- database for example
23:25 Wombert delicatessen!
23:25 Wombert doppelganger...
23:26 Wombert or rucksack
23:26 Wombert zeitgeist
23:27 impl English is a LEECH LANGUAGE
23:27 kaos- maybe we should simply get rid of these dirs where we can't describe the process ?
23:27 Wombert throw it away!
23:27 Wombert :>
23:27 impl Where do we put the files then?
23:27 kaos- well, action is a perfect example
23:27 kaos- src/
23:27 kaos- its part of the base package
23:27 Wombert I guess impl is right, we should worry about that later
23:28 impl action should probably technically be part of controller
23:28 Wombert except validator/ => validation/ now and ValidationManager
23:28 kaos- yes
23:28 Wombert imo
23:28 kaos- and any suggestion about translation ?
23:28 Wombert isn't that fine?
23:28 kaos- or leave that ?
23:28 impl TranslationManager
23:28 impl looks good to me
23:28 Wombert I think he means the term in general
23:28 kaos- yeah
23:28 kaos- since its not only translation
23:29 Wombert translation vs internationalization vs localization
23:29 impl oh
23:29 kaos- actually one class really doesn't belong there
23:29 kaos- the AgaviLocale
23:29 impl That should probably be what, core?
23:29 Wombert nah nah
23:29 Wombert we should keep all i18n related stuff in one place
23:29 kaos- well, its already 2 places ;)
23:29 kaos- since i use the locale in the date stuff
23:30 kaos- thats my reasoning behind that
23:30 impl okay, how about branching it then
23:30 kaos- i actually use the the tm there too ^^
23:30 Wombert move it all to "translation"
23:30 Wombert it's all related anyway so...
23:30 kaos- translation/calendar ?!
23:30 impl translation -> Translators, TranslationManager; internationalization -> locale, formatter stuff?
23:31 Wombert we can rename it i18n for all I care
23:31 impl What about i10n!?
23:31 impl ARE YOU NEGLECTING STANDARDS AGAIN SIR
23:31 impl er, l10n rather
23:32 Wombert "The distinction between internationalization and localization is subtle but important. Internationalization is the adaptation of products for potential use virtually everywhere, while localization is the addition of special features for use in a specific locale. The processes are complementary, and must be combined to lead to the objective of a system that works globally."
23:32 kaos- so its i10n
23:32 Wombert so it would be i18n I guess
23:32 kaos- :D
23:32 impl no, localization is L10n
23:32 kaos- interisation
23:32 kaos- i10n
23:32 kaos- ;p
23:33 impl I think it's an L
23:33 kaos- yes
23:33 kaos- i was making fun
23:33 impl or are you trying to make them into one thing
23:33 kaos- combining i18n and L10n
23:33 kaos- ;)
23:33 impl * world explodes
23:34 Wombert l10n makes no sense
23:34 Wombert people will use the i18n features of agavi to localize their apps
23:34 impl l[ocalizatio]n
23:34 Wombert therefor, we have i18n, not l10n
23:34 impl Both notions are sometimes collectively termed globalization (g11n)
23:35 impl If we call it g11n, nobody will know what we're talking about
23:35 impl but it looks like giin
23:35 kaos- well, or we just leave it as it is, don't introduce some more major bc breaks and branch 2.0 right after 1.0
23:35 impl so maybe people will think we're drunk
23:35 Wombert gin is, actually, pretty uber
23:37 impl So the general consensus is to leave it alone for now?
23:38 Wombert we could move all date stuff into translation
23:38 Wombert and rename that internationalization
23:38 Wombert AgaviInternationalizationManager
23:38 Wombert holy shit
23:38 Wombert 238 characters
23:38 Wombert or so
23:39 impl I like Localization better than Internationalization
23:39 impl then AgaviLocale sounds right
23:39 Wombert but it's wrong
23:39 impl No, it's right :\
23:39 Wombert nooo!
23:39 Wombert :<
23:39 impl Software localization is a process of translating software user interfaces from one language to another and adapting it to suit a foreign culture.
23:39 Wombert people will localize their software using the i18n tools we offer
23:39 Wombert yes exactly
23:39 Wombert but our stuff doesn't do that
23:39 Wombert it helps you with l10n
23:39 Wombert you use our i18n to achieve l10n
23:40 Wombert right?
23:40 impl I don't know D:
23:44 Wombert ttj: snow in finland!?
23:46 ttj Well, a little.
23:55 digitarald|brb Wombert: snow in munich?
23:55 digitarald|brb is now known as digitarald
23:55 Wombert this morning, for like ten minutes
23:55 Wombert melting right away
23:55 Wombert still got my fingers crossed for shitloads of snow before christmas
23:56 Wombert christmas just ain't christmas without snow
23:57 ttj http://www.youtube.com/watch?v=7V4ECyQIjPU&mode=related&search= <-- I wanna take up equestrianism. :P
23:57 ttj Still wouldn't take a Rolex even if my life depended on it, but the sport seems cool. :P
23:57 ttj http://www.youtube.com/watch?v=n3F8pv2marE&mode=related&search=
23:58 Wombert that's true, rolex suck
23:58 ttj But their commercials are cool, you have to admit that.
23:58 ttj Sure, they're a bit of a cliche, but.
23:59 Wombert like their watches, the ads are a bit much
23:59 Wombert I think
23:59 ttj Yeah. I'd rather have an Omega or an IWC.
Day changed Tue Dec 19 2006
00:01 Wombert I like Tag Heuers for the name
00:01 impl has a, um, Timex :P
00:02 Wombert I need a new watch
00:02 impl Digital or analog?
00:02 Wombert my last one was a fossil but it sucks and it is broken
00:02 Wombert analog
00:02 Wombert digital watches are for children, my friend
00:02 Wombert ;)
00:02 impl I like my digital watch :P
00:02 kaos- unless they are oled powered :p
00:03 Wombert www.candino.com I'll get myself one of these for birthday ;)
00:03 impl I use it to time my timed writings in English (it has a chrono-timer-thing built in)
00:03 impl useful
00:03 ttj impl: I believe you should get castrated for liking digital watches.
00:04 ttj Analog watches are the only way to go. And they should preferrably be mechanical.
00:04 impl Castration is a bit ... severe, don't you think?
00:04 ttj Liking digital watches is a bit sever, don't you think? ;-)
00:04 ttj +e
00:04 impl No :P
00:04 ttj Well, my analog watch also has chronograph features. No need for a digital watch.
00:05 Wombert plus
00:05 kaos- i never leave my home, so i'm happy with computer watch xD
00:05 Wombert with an analog watch
00:05 Wombert you can determine the orientation ;)
00:06 kaos- Wombert tied me to my pc
00:06 kaos- so i have to work for agavi 24/7
00:06 Wombert I did, it's true
00:06 kaos- :D
00:06 Wombert but he still doesn't
00:06 Wombert haha
00:06 Wombert I wonder what the next stage is
00:06 Wombert glue his fingers to the keyboard maybe
00:06 Wombert oh I spoiled it
00:06 Wombert damn
00:06 Wombert hugs kaos-
00:06 kaos- nooo, not that glue again :s
00:07 kaos- took me 3 months to feel my fingers again the last time you did that
00:07 impl That's not glue...
00:07 impl runs
00:07 kaos- :DD
00:22 ttj FFS! Now I have watch fever again.
00:22 Wombert eh
00:22 Wombert what?
00:22 ttj wants an Omega Seamaster Professional 300M Chrono Diver (2225.80.00)
00:22 ttj I don't even dare ask the price. :P
00:22 Wombert if you have to ask, you can't afford it ;)
00:23 ttj I know. :P
00:24 ttj Or actually I think that if I reallyreallyreally wanted it, I could scrape the money together. But that would set me back by enough that I wouldn't be able to sleep well at night. :-)
00:27 ttj Interesting little fact: watches are always pictured showing 10:07.
00:27 ttj For some odd psychological reason, that gives the illusion that it's actually running. Unlike if you'd just set it at 12:00.
00:29 Wombert oO
00:29 Wombert where did you read that
00:29 Wombert or did you just make that upß
00:29 Wombert DID YOU MAKE IT UP EH?
00:29 Wombert TELL ME
00:29 Wombert NOW
00:29 ttj Nope.
00:29 Wombert shakes ttj
00:30 ttj I actually read that somewhere a while back.
00:30 Wombert thanks tho
00:30 Wombert I love knowledge like that
00:30 ttj And just go surfing on Omega's or whatever's website and you'll notice that all the watches show ~10:07. :-)
00:31 Wombert 10:07:37 it seems
00:32 ttj Well, the second hand varies a bit.
00:32 Wombert some seem to be 10:08, too
00:33 ttj Yeah, hence the ~. :-)
00:43 ttj Haha, I figured it out. I'm going to set up my own Omega Fund. :P
00:43 Wombert hrhr
00:43 ttj I'll stash away some money every month and in a year or few, I'll buy one. :P
00:59 benny`work [n=benny@p54AC37A8.dip0.t-ipconnect.de] has quit ["unset($this);"]
01:14 Wombert [n=Wombert@dslb-088-064-003-076.pools.arcor-ip.net] has quit [Nick collision from services.]
01:14 Wombert [n=Wombert@dslb-088-064-015-125.pools.arcor-ip.net] has joined #agavi
01:19 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
01:20 Wombert [n=Wombert@dslb-088-064-015-125.pools.arcor-ip.net] has quit []
01:38 digitarald [n=Miranda@62-43-149-45.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
02:02 JamieWolf [n=JamieWol@Xd688.x.pppool.de] has joined #agavi
02:19 JamieWolf [n=JamieWol@Xd688.x.pppool.de] has quit ["Gone for a Drink"]
03:10 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- The professional IRC Client"]
04:32 impl [n=impl@httpcraft/php/impl] has quit [Connection timed out]
09:10 splatch *yawn*
10:18 Wombert [n=Wombert@dslb-088-064-015-125.pools.arcor-ip.net] has joined #agavi
10:20 Wombert houmenta
10:22 v-dogg h_uo_menta :)
10:29 horros huoment'
10:29 horros tampereem murteell
10:30 horros :)
10:41 v-dogg uh... I'm a bit hangovery..
10:42 v-dogg math exam after-parties are hard.. :)
10:42 v-dogg missus was pleased :p
10:46 Wombert v-dogg: you think you passed it?
10:46 Wombert because if not, you wouldn't have deserved teh partying :)
10:46 Wombert what does tampereem murteell mean and do you guys still have any snow
10:47 horros Wombert: "tampereem murteell" == "Tampereen murteella" == the dialect spoken in Tampere where I live
10:48 horros Wombert: and yeah, we got a whopping 1cm of snow yesterday
10:48 horros :(
10:48 v-dogg we got about 5 cm
10:57 eremit_ [n=eremit@p5490EAFA.dip.t-dialin.net] has joined #agavi
11:05 eremit [n=eremit@p5490FE29.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:13 Wombert ah damn it
11:13 Wombert I always get it wrong#
11:14 Wombert huomenta
11:14 Wombert huomenta
11:14 Wombert huomenta
11:14 Wombert slap me whenever I say houmenta again please
11:17 horros slaps APC
11:18 codecop [n=codecop@85.206.207.103] has joined #agavi
11:20 Wombert horros: what does it do
11:20 horros well...
11:20 horros nothing.
11:20 horros that's the problem.
11:20 horros With cache on, page generation takes 2.5 seconds on my box.
11:21 horros without cache on...
11:21 horros 2.5 seconds.
11:21 horros I think I'm having some weird problems on this box... stats seem to take ages, session_start took forever :I
11:21 horros oh well
11:21 horros it works well on the servers.
12:11 digitarald [n=Miranda@46.Red-83-52-196.dynamicIP.rima-tde.net] has joined #agavi
12:13 Wombert John McClane is back! http://movies.yahoo.com/feature/livefreeordiehard.html
12:14 digitarald great
12:15 v-dogg uhm... yeah, sure :)
12:17 Wombert it's true!
12:17 Wombert die hard 4
12:17 Wombert oooooh man
12:17 Wombert and these fockers release it on july 4
12:17 Wombert zomg
12:17 Wombert that's gonna be the best opening weekend ever, I'm sure
12:22 horros friend of mine's band (rotten sound) released their last album 06.06.06 :)
12:22 horros I like funny/witty release dates
12:24 digitarald [n=Miranda@46.Red-83-52-196.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
12:32 horros I'ma rearrange my office a bit.
12:32 horros bbl
12:32 horros [n=mle@a81-197-134-237.elisa-laajakaista.fi] has quit ["leaving"]
13:06 horros [n=mle@a81-197-134-237.elisa-laajakaista.fi] has joined #agavi
13:07 horros hi
13:23 codecop [n=codecop@85.206.207.103] has quit ["Leaving"]
13:26 Wombert oooooh crap
13:26 Wombert oooooh my god
13:26 Wombert ffs
13:27 Wombert or
13:27 Wombert hmm
13:27 Wombert mmmh maybe I can haxx0r it
13:30 Wombert nope I can't
13:30 Wombert crap
13:31 horros hmmh?
13:31 Wombert caching...
13:31 Wombert I cannot implement caching of content without decorators
13:31 Wombert or slots
13:31 Wombert gotta change the renderers
13:31 Wombert feck
13:31 horros phew
13:31 horros there we go
13:32 horros also h4x0rs
13:32 horros you know what I hate?
13:32 horros date calculations.
13:32 Wombert or maybe
13:32 horros date ranges.
13:32 Wombert like
13:32 Wombert +1 month?
13:32 horros dates at all. stupid dates.
13:32 horros :(
13:32 Wombert why don't you use ß.11 :)
13:32 Wombert 0.11
13:32 Wombert we have full calendar support
13:32 horros Wombert: that wouldn't help me here, tbh.
13:32 Wombert you can add dates, substract dates, roll around, format them according to locales etc
13:33 horros this app has been so fubared
13:34 horros it's weird how nobody has stumbled over this, since the app has been out and about for six months already.
13:34 Wombert oO
13:34 horros like... in order to place a restriction on a patient, they need to have certain types of custody support measures.
13:35 horros you can set custody support measures to automatically start at a certain date, and you can also set restrictions to start at a certain date.
13:35 horros certain restrictions cannot be used with certain custody support measures.
13:35 Wombert and now you can make restrictions start without the supportmeasures in place before
13:35 Wombert right? :)
13:36 horros now, as it was, if you tried to set a restriction in the future that required measure A (which is automatically turned on at a certain date), but the current measure was B, it wouldn't allow you to set the restriction
13:36 horros :)
14:17 v-dogg uuuh...
14:17 v-dogg I'm never going to drink again
14:17 v-dogg this year
14:17 v-dogg week
14:19 digitarald [n=Miranda@46.Red-83-52-196.dynamicIP.rima-tde.net] has joined #agavi
14:24 Wombert haha :>>>
14:24 Wombert hugs v-dogg
14:39 v-dogg it's inhuman to make people work after a bar night
14:39 v-dogg there should be some law against it
14:39 codecop [n=codecop@85.206.207.103] has joined #agavi
14:41 horros I concur!
14:41 horros damn
14:42 horros it's nice to have eclipse extended over both screens, so one screen has only the editor and the other screen has the explorer/outline
14:43 Wombert I have email, IRC and console logs on one screen, code and browser on the other
14:43 Wombert I used to have code left output right but that just doesn't work with a laptop screen
14:43 horros I need a third monitor for IRC/msn :)
14:51 digitarald Wombert, do u have an applebook?
14:51 Wombert eh
14:51 Wombert you mean macbook?
14:53 Wombert or an apple laptop?
14:53 Wombert I have a powerbook
14:53 Wombert (with PowerPC cpu, not intel)
14:53 Wombert eremit_ has a Macbook Pro
14:53 Wombert (I think)
14:54 eremit_ is now known as eremit
14:54 eremit hey all ...
14:54 eremit yeah ... i have
14:55 digitarald think about buying a macbook, no pro in the new year ... to switch my workspace to mac
14:55 Wombert co ig
14:55 Wombert do it
14:55 Wombert eremit will probably agree
14:55 Wombert I've switched a couple of friends recently and none of them regrets it
14:55 Wombert they're all amazed how you plug in a printer and it works, without drivers, restarts or stupid "new hardware detected" bubbles
14:56 Wombert reason #1 for switching is that you get back control... a mac won't tell you what to do
14:56 eremit yes i agree ... working got much more productive since my switch ;)
14:57 digitarald ;) 1200 is a good price for a macbook, i can buy additional ram 3th party
14:57 Wombert reason #2 is that it is a unix, and you can run all software there is
14:57 Wombert reason #3 is that it runs windows
14:57 digitarald and now, after release of photoshop cs3 as universal binary ...
14:57 Wombert even in paralell, if you buy parallels (but wait for version 3.0 and use bootcamp until then)
14:57 eremit reason #4: for a webdeveloper is parallels coherent mode and the ability to test webpages even in ie
14:58 horros luckily I never touch HTML :)
14:58 digitarald okok ... who spends some money ;)
14:59 eremit hrhr ...
14:59 eremit but if you wait for approx 3 month i will sell my mb pro again :P
15:00 Wombert oO really?
15:01 digitarald 3 month ... uh
15:01 eremit yeah ... gonna get a bigger one :P
15:02 Wombert bbl
15:13 horros speaking of macs
15:13 horros I love this video: http://www.lookatentertainment.com/v/v-1914.htm
15:25 horros home time!
15:25 horros adieu!
15:25 horros &
16:19 eremit [n=eremit@p5490EAFA.dip.t-dialin.net] has left #agavi []
16:57 foresth [i=foresth@local.hide-forest.net] has joined #agavi
17:35 codecop [n=codecop@85.206.207.103] has quit ["Leaving"]
17:51 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
17:51 Whisller czesc
17:51 Whisller *hi
17:51 Whisller ;)
18:33 foresth cest
18:35 digitarald [n=Miranda@46.Red-83-52-196.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
18:41 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"]
18:57 Wombert horros: ping?
19:03 eremit [n=eremit@p5490EAFA.dip.t-dialin.net] has joined #agavi
19:19 forda [i=foresth@local.hide-forest.net] has joined #agavi
19:24 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 145 (Connection timed out)]
19:27 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
20:24 forda [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
20:33 benny`work [n=benny@p54AC13BD.dip0.t-ipconnect.de] has joined #agavi
20:41 Wombert [n=Wombert@dslb-088-064-015-125.pools.arcor-ip.net] has quit []
20:51 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
22:03 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
22:03 jake [n=jake@206.63.152.66] has joined #agavi
22:59 foresth [i=foresth@local.hide-forest.net] has joined #agavi
23:14 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 104 (Connection reset by peer)]
Day changed Wed Dec 20 2006
00:12 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
00:36 Wombert [n=Wombert@dslb-088-064-015-125.pools.arcor-ip.net] has joined #agavi
00:43 Wombert HOLY MOTHER OF GOD PLEASE LET IT BE TRUE http://duggmirror.com/television/LOST_Hiatus_To_be_Cut_Short/
00:46 Whisller lost...is boring :)
00:46 Whisller first edition was interisting
00:47 Whisller *interesting
00:48 Whisller you watch this serial?
00:49 Wombert of coure
00:49 Wombert course
00:49 Wombert hey jake
00:50 Wombert splatch: ping
01:15 Wombert [n=Wombert@dslb-088-064-015-125.pools.arcor-ip.net] has quit [Nick collision from services.]
01:15 Wombert [n=Wombert@dslb-088-064-027-113.pools.arcor-ip.net] has joined #agavi
01:36 Wombert [n=Wombert@dslb-088-064-027-113.pools.arcor-ip.net] has quit []
01:44 Wombert [n=Wombert@dslb-088-064-027-113.pools.arcor-ip.net] has joined #agavi
01:58 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
02:03 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"]
02:08 jordansjones [n=jordansj@67.50.42.138] has joined #agavi
03:12 jordansjones [n=jordansj@67.50.42.138] has quit []
03:26 Wombert [n=Wombert@dslb-088-064-027-113.pools.arcor-ip.net] has quit []
03:31 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
03:33 pressureman [n=pressure@210.48.105.162] has joined #agavi
03:37 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" good night"]
03:48 pressureman [n=pressure@210.48.105.162] has left #agavi []
05:03 benny`work [n=benny@p54AC13BD.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
05:11 Fastly [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi
05:14 CIA-11 dominik * r1437 /branches/0.11/src/util/ (2 files): New method in the parameterholder to return a flat representation of the array keys
05:29 Fastly anyone here know how to mount a windows shared folder from my laptop onto my ubuntu desktop/
05:31 Fastly [n=alex@81-86-145-67.dsl.pipex.com] has left #agavi ["Leaving"]
06:29 CIA-11 dominik * r1438 /branches/0.11/src/config/AgaviLoggingConfigHandler.class.php: guard against empty configuration blocks
06:56 CIA-11 dominik * r1439 /branches/0.11/tests2/sandbox2/config/tests/logging.xml: add missing default logger to logging test
08:15 v-dogg huomenta
09:24 splatch Wombert: pong ;)
10:11 codecop [n=codecop@85.206.207.103] has joined #agavi
10:14 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
10:56 eremit_ [n=eremit@p5490ECE8.dip.t-dialin.net] has joined #agavi
11:06 eremit [n=eremit@p5490EAFA.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:07 eremit_ is now known as eremit
11:15 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:04 digitarald [n=Miranda@93.Red-83-58-161.dynamicIP.rima-tde.net] has joined #agavi
12:39 Wombert [n=Wombert@dslb-088-064-027-113.pools.arcor-ip.net] has joined #agavi
14:11 digitarald agavi needs php 2.0, right?
14:11 Wombert huomenta!
14:11 Wombert :>
14:11 Wombert got it right
14:11 v-dogg php 2 ?-)
14:12 Wombert haha
14:12 Wombert pwned
14:12 Wombert :>
14:12 v-dogg no, php5.1 :)
14:12 v-dogg Wombert: huomenta _o/
14:12 Wombert hugs v-dogg
14:12 v-dogg what's up
14:12 Wombert how are you mate
14:12 Wombert noooot much
14:12 v-dogg fine thanks
14:12 Wombert I am in a good mood, no idea why
14:12 Wombert probably because I have all presents already
14:12 v-dogg haha
14:12 Wombert no last minute shopping
14:13 Wombert even though I gotta buy the last one today
14:13 Wombert anyway
14:13 Wombert does anyone need an xbox 360
14:13 Wombert I won one
14:13 Wombert and I'm selling it
14:14 digitarald sorry, ment 5.2
14:14 Wombert 5.1
14:14 Wombert 1.0 _might_ require 5.2
14:14 v-dogg why is that?
14:15 Wombert I don't know :)
14:15 Wombert maybe there is some nice feature we could leverage
14:15 Wombert who knows
14:15 digitarald i have 5.1.1 ... i had in mind that it require 5.1.6?
14:16 Wombert no, but 5.1.1 sucks a lot IIRC
14:16 Wombert there might be some bugs in that version
14:17 v-dogg 5.1.x sucks IIRC
14:17 Wombert yeah pretty much
14:25 v-dogg but php6... oooh... why can't they correct all the stupid design choices they've made with all previous versions...
14:26 v-dogg they have a perfect change to clean up this mess, but NO!!
14:27 v-dogg b/c my ass, they could make people take php serious at last
14:27 v-dogg but no...
14:27 Wombert http://www.forgetfoo.com/images/blog/4eyes_2lips.jpg
14:37 v-dogg that totally ruined my php angst :D
15:23 Wombert we gotta rework the execution flow
15:23 Wombert _now_
15:23 Wombert I cannot access slots individually with the current approach
15:23 Wombert need it for caching
15:23 Wombert just not sure yet how to do it
15:23 Wombert no huuuuge changes, just some smaller ones
15:23 Wombert it would be good to have slots run without action stack entries... maybe... or not...
15:24 Wombert maybe a solution that allows
15:24 Wombert a) using slots inside the content template
15:24 Wombert b) decorators inside decorators
15:25 Wombert also, we could probably ditch the rendermode thing and allow it on an individual basis...
15:27 digitarald yeah, new slot system ... please please please ;)
15:27 Wombert ...
15:27 Wombert if you provide a rock solid proposal
15:27 v-dogg ... --- ...
15:27 Wombert we could do it
15:27 Wombert otherwise, we keep the current slots system
15:27 Wombert it sucks ass but I can't think of something better right now
15:30 digitarald like mojavi, but i know its not possible and u don't like it ;)
15:31 v-dogg mojavi? how was it different?
15:31 v-dogg m3?
15:31 v-dogg or m2?
15:31 v-dogg ie. action chains?
15:32 digitarald m2, the chains
15:32 v-dogg ok
15:32 digitarald the hacky thing, could call it from everywhere
15:32 digitarald very nice, i miss that in agavi ... would make my whole development easier and smaller
15:33 digitarald puzzle the output with different actions
15:33 digitarald one list-generating, another newslist, the accountview in another
15:36 Fastly [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi
15:39 Wombert and how do you do headers and footers?
15:40 Wombert I'll be shopping now
15:40 Wombert if you figure something out, let me know ;)
15:40 digitarald :D, ok ... i'll do some meditation about it
15:40 Wombert I'll start with the changes toight
15:40 Wombert I also thought about sth like IndexSuccessView extends AgaviView implements AgaviIDecoratingView or so
15:41 Wombert but I don't think that's doable
15:41 Wombert anyway... gotta run, catch you alter
15:41 Wombert later
15:46 digitarald good luck during the xmas-shopping war ;)
15:49 digitarald [n=Miranda@93.Red-83-58-161.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
15:52 Fastly [n=alex@81-86-145-67.dsl.pipex.com] has quit ["Leaving"]
16:01 foresth [i=foresth@local.hide-forest.net] has joined #agavi
16:17 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
16:51 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:37 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
17:37 digitarald Wombert or anybody with propel-in-agavi-knowledge?
17:38 kaos- yes
17:39 kaos- a little knowledge here at least ;)
17:39 kaos- btw, i really really wish you all much fun with the new api for fetching errors from the validation manager
17:39 kaos- it even confuses myself xD
17:40 digitarald ok, propel in database.xml ... <parameter name="config">%core.app_dir%/config/propel.cfg.php</parameter>
17:40 digitarald and second parameter ... <parameter name="datasource">pstock</parameter>
17:41 digitarald he ignores that, i have 2 datasource-entries ... "development" and "production"
17:42 digitarald do u have all your datasouces in one propel-conf.xml?
17:43 digitarald fetching errors ... from validationmanager form now?
17:44 digitarald form = from
17:54 kaos- datasource
17:54 kaos- uff
17:54 kaos- we don't use that
17:58 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
17:58 kaos- and i don't even know whats the use of that *g*
17:58 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:58 kaos- i actually managed to keep all the request methods
17:59 kaos- in a bc compatible way
17:59 digitarald use generate runtime.cfg.php that u set in agavi databases.xml?
17:59 kaos- yes
17:59 kaos- we only have one runtime config tho
18:00 kaos- (and one datasource)
18:00 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
18:01 kaos- <parameter name="datasource">pstock</parameter> <-- and your datasources are named development and production
18:02 kaos- wouldn't the datasource need to be either development or production then ?
18:07 digitarald renamed them, sorry, pstock = development
18:09 kaos- from looking at the code it should work
18:10 digitarald ok, i'll try again, renamed some stuff
18:12 foresth [i=foresth@local.hide-forest.net] has joined #agavi
18:36 kaos- and could it be that nobody EVER used the base attribute of the argument for non files? :D
18:36 kaos- since this was like completely broken (it would remove the parameters from the request no matter if they were validated ^^)
18:48 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
19:13 Wombert digitarald: fetching the connection via getConnection will work
19:13 Wombert but if you want propel to use that datasource
19:14 Wombert you have to set use_as_default, too
19:14 Wombert I think
19:14 Wombert or
19:14 Wombert nah
19:14 Wombert doesn't matter
19:14 Wombert I mean
19:14 Wombert you can't control which datasource propel uses anyway
19:21 digitarald but that parameter "datasource"?
19:47 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
19:52 foresth [i=foresth@local.hide-forest.net] has joined #agavi
20:09 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
20:24 digitarald Wombert, i can't have different datasources in my propel.cfg.php
20:24 digitarald Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\pstock\www\lib\agavi\database\AgaviPropelDatabase.class.php on line 272
20:25 Wombert foreach($config['propel']['datasources'][$datasource]['connection'] as $key => $value) {
20:26 Wombert => your datasource name is wrong
20:27 digitarald *argh* saw that right now ... too late ;) ... another error now
20:27 digitarald No connection params set for pstock in ...\propel\Propel.php on line 471
20:28 Wombert fix your config :)
20:29 digitarald do u have your propel configs for development, live, production stage etc. in one propel.cfg.php?
20:31 Wombert no
20:31 Wombert that wouldn't work I believe
20:32 Wombert you cannot tell propel which datasource to use
20:32 Wombert I think it figures it out by itself or something
20:33 digitarald i think that too, then why this parameter "datasource" in databases.xml? :D
20:34 Wombert for getConnection
20:44 digitarald uh, i named my datasource "default", that can be a problem
20:46 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
20:47 digitarald i think i switch to propel 1.3
20:47 Whisller hi
20:49 Whisller Question: How i can do thing what do something like this: 1.) Execute Action 2.) Display view 3.) Waiting 5s. 4.) Forwarding to another action. I'll be glad if someone help me :)
20:50 digitarald uh ... a success view
20:50 v-dogg html meta refresh
20:50 v-dogg that's a client side problem (waiting n secs)
20:51 digitarald SuccessView that provides an url for a meta refresh and a template that uses the meta refresh AND a link for clicking
20:51 Whisller hmm you've got a right :)
20:52 Whisller bick problem with simple answer :)
20:52 Whisller *big
20:52 Whisller * "big" ;p
20:52 Whisller thanks :)
20:54 digitarald noprob
20:54 Whisller o! Merry Christmas #agavi :]
20:55 Whisller And happy New Year :)
20:56 Whisller ;p
20:59 Whisller another question, why sometimes agavi add to url for example '?Agavi=76832a546b116fa293da8f42e3cf3b27', u using routing
20:59 Wombert that is php, not agavi
21:00 Whisller ok
21:00 Wombert session.use_trans_sid
21:00 Whisller o thanks:)
21:01 Wombert if that is on, it'll use URLs for the first request and then switch to cookies if possible
21:01 Wombert if you disable it, people must have cookies enabled
21:01 Wombert you can also set sesison.use_only_cookies
21:02 Whisller ok :) thanks
21:11 Whisller i must talk with my admin
21:13 Wombert ...
21:13 Wombert zomg
21:13 Wombert come on
21:13 Wombert it's not difficult
21:13 Wombert session.use_trans_sid is PHP_INI_ALL
21:13 Whisller but i dont have acces to php ini
21:13 Whisller *access
21:14 Wombert ...
21:14 Wombert PHP_INI_ALL means you can use ini_set
21:14 Whisller o
21:15 Whisller sorry :/
21:16 Wombert no problem
21:16 Wombert http://php.net/manual/en/ini.php hsa a list of all constants and their acccess levels
21:16 Whisller ok :)
21:17 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"]
21:22 digitarald is there any reason why an exception which matches the catch() type is not catched???
21:23 digitarald ah, xdebug.show_exception_trace
22:00 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
22:03 foresth [i=foresth@local.hide-forest.net] has joined #agavi
22:31 codecop [n=codecop@85.206.207.103] has quit ["Leaving"]
22:39 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
23:49 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
Day changed Thu Dec 21 2006
00:08 benny`work [n=benny@p54AC3270.dip0.t-ipconnect.de] has joined #agavi
00:13 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
00:53 impl [n=impl@httpcraft/php/impl] has joined #agavi
01:14 Wombert [n=Wombert@dslb-088-064-027-113.pools.arcor-ip.net] has quit [Nick collision from services.]
01:14 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has joined #agavi
01:41 Whisller Hi, I'm looking a cheap server and i find ovh. Their proposition is interesting(in german language http://www.ovh.de/produits/start100m.xml on polish site is little other configuration ). What do you think?
01:41 Whisller Price, I think is good.
02:59 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Good night :)"]
03:19 benny`work [n=benny@p54AC3270.dip0.t-ipconnect.de] has quit ["unset($this);"]
03:25 jake [n=jake@206.63.152.66] has quit ["Leaving"]
05:46 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
06:21 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has quit []
08:03 v-dogg huomenta
08:16 ttj Huomen.
08:24 foresth [i=foresth@local.hide-forest.net] has joined #agavi
08:35 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:30 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
09:38 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
09:38 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:53 luke` [n=luke`@61.95.206.107] has joined #agavi
10:57 eremit_ [n=eremit@p5490ED0F.dip.t-dialin.net] has joined #agavi
10:57 eremit [n=eremit@p5490ECE8.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)]
11:00 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
12:00 eremit_ is now known as eremit
12:45 codecop [n=codecop@85.206.207.103] has joined #agavi
12:46 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
12:46 Whisller good morning
12:49 digitarald morning
13:00 codecop hi
13:50 luke` [n=luke`@61.95.206.107] has quit [Read error: 145 (Connection timed out)]
13:53 v-dogg damnit... there a bug in my app
13:53 v-dogg never happened before
13:56 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has joined #agavi
13:58 v-dogg wombiiii
13:58 v-dogg help me
13:59 v-dogg there's a bug in my app
13:59 v-dogg I've never had one before, I don't know what to do :p
13:59 Wombert oO
14:00 v-dogg juuuuust kidding :)
14:00 v-dogg I passed math \o/
14:01 v-dogg dances the happy dance
14:05 digitarald Congratulations v-dogg ... i completed math in the last semester :D
14:10 v-dogg ty :)
14:10 Wombert you passed?
14:10 Wombert nice
14:10 Wombert hugs v-dogg
14:10 Wombert so you deserved the partying
14:11 v-dogg uh... and now I totally broke the dev server :D
14:11 v-dogg no, the production server
14:29 luke` [n=luke`@61.95.206.107] has joined #agavi
14:30 firman [n=tarzilla@125.163.25.18] has joined #agavi
14:38 foresth [i=foresth@local.hide-forest.net] has joined #agavi
14:40 eremit [n=eremit@p5490ED0F.dip.t-dialin.net] has quit []
14:41 v-dogg wtf happened here...
14:42 v-dogg my application does nothing anymore
14:42 foresth [i=foresth@local.hide-forest.net] has quit [Client Quit]
14:43 v-dogg echo "foo"; exit; works if before dispatch() but if I put it anywhere else no content is returned to the browser
14:43 v-dogg headers seem to be ok (cookies and everything are there)
14:43 v-dogg error reporting is on
14:46 v-dogg uhm.. I cleared cookies and everything works again...
14:47 luke` [n=luke`@61.95.206.107] has quit []
14:49 v-dogg ah, my foobar'd logout method screw something up
14:49 v-dogg *ed
14:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
14:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:57 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
14:58 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:08 firman humm, problem creating Savant renderer
15:22 eremit [n=eremit@p5490ED0F.dip.t-dialin.net] has joined #agavi
15:25 codecop [n=codecop@85.206.207.103] has quit ["Leaving"]
15:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
15:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:32 Wombert firman: we can only support the "push" mode
15:33 Wombert tbh I think savant is a pretty crappy template engine, it tries to do way too much that should be out of it's scope
15:37 firman such as?
15:38 Wombert this weird var binding mode there
15:38 Wombert can't explain
15:38 Wombert haven't looked at it in ages
15:38 Wombert but you can assign a var like in smarty
15:38 firman but the plugin still usefull
15:38 Wombert andyou can pull stuff from inside the template, which sucks
15:39 splatch hello
15:39 firman yeah you right
15:39 Wombert heyyyy splatch you're still alive
15:40 Wombert I was wondering if you moved to the moon or something the other day
15:40 Wombert because we haven't heard from you for so long :)
15:40 Wombert how are you?
15:40 splatch Wombert: i'm fine, but i haven't power to write
15:41 splatch no internet at home
15:41 splatch stress in work
15:41 splatch only problems
15:41 Wombert :(
15:41 splatch Wombert: and you and Agavi? :)
15:42 splatch wheen agavi will be faster?
15:43 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
15:44 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:47 splatch Wombert?
15:53 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <-"]
16:41 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
16:43 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
16:47 firman [n=tarzilla@125.163.25.18] has quit [" HydraIRC -> http://www.hydrairc.com <- The dawn of a new IRC era"]
16:56 splatch Wombert, are you there?
17:10 Wombert re
17:11 splatch Wombert: you thought about performance?
17:13 Wombert uuuh nah I was shopping and got myself something for lunch
17:16 ttj Lunch?
17:16 ttj I thought lunch was 5-6 hours ago... :-)
17:16 Wombert :p
17:16 Wombert in retarded time zones, yes xD
17:16 Wombert hugs funland
17:18 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has left #agavi []
17:19 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has joined #agavi
17:19 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has left #agavi []
17:19 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has joined #agavi
17:19 ttj Yeah, that's what you get for hugging Funland.
17:20 v-dogg haha
17:20 Wombert oh bugger
17:20 Wombert hugs finland
17:20 Wombert :<
17:21 ttj :D
17:21 Wombert http://colloquy.info/project/ticket/728 did the rest
17:25 splatch Wombert: irssi rox!
17:26 ttj So it does.
17:26 splatch btw Wombert, Darek found a new job!
17:26 splatch they'll works for biggest internet messager company in poland
17:27 splatch and he can be a designers chief
17:28 Wombert aaah that reminds me
17:28 Wombert I wanted to email him again :)
17:29 splatch yes, Agavi's "soon" is the longest "soon" i ever seen
17:30 Wombert yeah heh :)
17:30 Wombert well he is very busy and all, it's no problem
17:30 Wombert I'll just ping him again and ask him if he has time to do it after christmas or so
17:30 kaos- <splatch> yes, Agavi's "soon" is the longest "soon" i ever seen <--- its nothing really ;D
17:31 Wombert we even chose a logo font already, he just wanted to do some drafts so we could see if it really is the right choice
17:31 kaos- you should see my soons sometimes ;)
17:31 Wombert or mine
17:31 kaos- yah, wombert can beat me easily there
17:31 Wombert or duke nukem forever's :)
17:31 kaos- "its ready tomorrow"
17:31 kaos- gotta hear that 2 months every day
17:31 kaos- :D
17:31 Wombert psssht
17:31 kaos- hides
17:32 Wombert errr
17:32 Wombert brb
17:32 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has quit []
17:32 splatch saw :)
17:33 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has joined #agavi
17:34 splatch saw? :)
17:39 kaos- still now snow :<
17:39 kaos- its keeping to our soon rule
17:46 Wombert [n=Wombert@dslb-088-064-011-221.pools.arcor-ip.net] has quit [Nick collision from services.]
17:46 Wombert [n=Wombert@dslb-088-064-003-152.pools.arcor-ip.net] has joined #agavi
18:51 Arme[N] is now known as Arme[morizer]
18:52 Arme[morizer] is now known as Arme[0]
18:53 luke` [n=luke`@59.92.187.80] has joined #agavi
20:22 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:22 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:24 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
20:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
20:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
20:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:39 benny`work [n=benny@p54AC331F.dip0.t-ipconnect.de] has joined #agavi
20:51 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:51 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:57 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:57 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:58 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
20:59 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:02 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
21:02 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
21:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:33 foresth [i=foresth@local.hide-forest.net] has joined #agavi
22:06 impl [n=impl@httpcraft/php/impl] has joined #agavi
23:10 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:12 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
Day changed Fri Dec 22 2006
00:14 Wombert y000
00:14 Wombert early notice to everyone
00:14 Wombert I'll probably remove the action stack
00:14 Wombert and make forward() calls return response instances
00:15 Wombert that could possibly (not 100% sure yet) enable action chain style execution flow as mojavi2 had it
00:15 Wombert what do you think, impl
00:17 impl Is this for Agavi 2 or 1?
00:17 Wombert 0.11
00:17 impl I'm not sure you should make such a drastic change for 0.11/1
00:17 Wombert the current architecture doesn't permit caching slots or only content chunks anymore
00:18 Wombert I have to change it one way or another
00:18 Wombert and the entire action stack stuff is stupid anyway
00:18 impl However, barring that wisdom, I've been a fan of actionchains for a while
00:18 impl They work very nicely
00:18 Wombert how did that work again in m2?
00:18 Wombert e.g. how did you _prepend_ something to the current action for instance
00:18 Wombert like a header or so
00:19 impl Prepend? You couldn't, I don't think
00:19 Wombert hm
00:19 impl It acted like a standard method
00:19 impl $chain = new ActionChain('actions', 'go', 'here');
00:19 impl Anyway, I've gotta run
00:19 Wombert errr
00:19 Wombert okay
00:19 impl I'll explain better when I get back
00:19 impl I promise ;p
00:20 Wombert kk
00:20 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
00:20 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
00:20 Whisller hi :)
00:20 Wombert hi there
00:20 benny`work Wombert, next week i've time again to look what you and the others did with agavi :)
00:20 benny`work hi Whisller
00:20 Wombert benny`work: need an xbox360?
00:20 benny`work Wombert, err...no :)
00:22 benny`work Wombert, bought too many for xmas? ;)
00:22 Wombert I won one
00:22 benny`work lol... -> ebay
00:23 Wombert yes
00:23 Wombert but
00:23 Wombert I'm not sure
00:23 Wombert three or seven days?
00:23 Wombert would the prices DROP or RISE after christmas?
00:28 Whisller today I wanna install slackware 11.0 :
00:28 Whisller )
00:37 benny`work Wombert, it's too late for christmas now...so, seven days...the people have money after christmas eve
00:42 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" brb"]
01:28 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
01:45 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
01:54 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Try something fresh"]
02:00 ttj [n=tjorri@130.233.228.10] has joined #agavi
02:00 Topic for #agavi: Welcome to Agavi :: latest: 0.11 RC 1 :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
02:00 Topic set by Wombert [] [Fri Dec 15 10:39:28 2006]
02:00 Irssi: #agavi: Total of 2 nicks [0 ops, 0 halfops, 0 voices, 2 normal]
02:00 Channel #agavi created Sun Nov 26 08:43:22 2006
02:00 Irssi: Join to #agavi was synced in 3 secs
02:13 ttj [n=tjorri@kosh.hut.fi] has joined #agavi
02:13 Topic for #agavi: Welcome to Agavi :: latest: 0.11 RC 1 :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
02:13 Topic set by Wombert [] [Fri Dec 15 10:39:28 2006]
02:13 Irssi: #agavi: Total of 9 nicks [0 ops, 0 halfops, 0 voices, 9 normal]
02:13 Channel #agavi created Sun Nov 26 08:43:22 2006
02:13 Irssi: Join to #agavi was synced in 3 secs
02:14 v-dogg [i=vmakinen@phantom.daug.net] has joined #agavi
02:15 epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:26 benny`work [n=benny@p54AC331F.dip0.t-ipconnect.de] has quit ["unset($this);"]
02:48 agile [n=mike@66-169-149-92.dhcp.ftwo.tx.charter.com] has joined #agavi
03:03 Wombert heyyy agile
03:03 Wombert 'sup?
03:04 agile yea toss AS. :) who needs all the stack hoohaw anyhow
03:04 Wombert problem is
03:04 Wombert I now cannot implement caching anymore
03:04 Wombert due to various changes
03:04 Wombert and the AS sucks
03:04 agile you still have to write a class for every action?
03:04 Wombert I want to use execution containers
03:04 Wombert yep
03:04 Wombert public function executeWrite() for POST, executeRead() for GET etc
03:05 agile that irked me
03:05 Wombert declaring a method indicates the actionserves that method
03:05 Wombert you can now drop an xmlrpc interface onto an existing app
03:05 Wombert without touching the actions
03:05 Wombert nifty, eh
03:05 agile I guess
03:05 Wombert it is! :)
03:06 Wombert one action, one view, for html, rss, pdf, whatever
03:06 Wombert nicely separated
03:06 Wombert plus teh routing... plus "sandboxed" actions where only validated params are available (if you want that) etc
03:06 Wombert i18n
03:06 Wombert we're pretty far along now
03:34 impl [n=impl@httpcraft/php/impl] has joined #agavi
03:34 impl It's snoowwing on my desktop :-)
03:37 agile [n=mike@66-169-149-92.dhcp.ftwo.tx.charter.com] has left #agavi ["Ex-Chat"]
03:44 Wombert heh
03:47 Wombert I think I figured it out, impl
03:47 impl Ah, cool
03:51 Wombert impl: http://trac.agavi.org/ticket/373
03:52 impl So how does this play into the ExecutionFilter?
03:53 impl EF creates ExecutionContainers?
03:54 impl I think you need multiple ExecutionFilters though
03:54 Wombert we have that already
03:54 Wombert new instance for each forward()
03:54 Wombert right now
03:54 Wombert forward() creates a new action stack entry
03:55 Wombert which executionfilter (and other stuff) later pulls out again by doing getLastEntry
03:55 Wombert which sucks ass
03:55 impl Yeah
03:55 Wombert I want the execution flow (filters, action running etc) tied to the... well whatever it is
03:55 Wombert is ExecutionContainer a good word?
03:55 Wombert I wanted to use ExecutionContext first but that's ambiguous
03:55 impl How about ExecutionContext?
03:56 impl haha, bot.
03:56 Wombert haha
03:56 impl Execution...execution...
03:56 Wombert the execution container is created... by the code that does a forward
03:57 impl ExecutionManager?
03:57 Wombert $response = $controller->forward(new AgaviExecutionContainer('Default', 'Index'));
03:57 Wombert aaaah I forgot that
03:58 Wombert updated
04:00 impl * if all goes well, we can move decorating out of the renderer back into the view, thus allowing users to do things their way (e.g. use old-style action chaining)
04:00 impl ^ would be wonderful
04:00 impl Then I can fix the god-awful hack decorating is in XslRenderer
04:00 Wombert I haven't looked at it in detail
04:00 Wombert but I _hope_ we can make it happen
04:01 Wombert making renderers only render stuff, nothing else, would increase the probability that we can offer things other than decorators without having to break something
04:02 impl Can we abstract rendering out of the view some by making View::setAttribute -> Renderer::setAttribute directly instead?
04:03 Wombert right now. views don't do any rendering stuff at all
04:03 Wombert the renderer grabs attributes from the view
04:03 impl Oh, that seems bad to me
04:03 Wombert how
04:03 impl Shouldn't the Renderer be independent of the View?
04:03 Wombert mmmmh
04:04 impl I can't think of a good use case atm, but there must be an instance when you want to create a Renderer without having a view...
04:04 Wombert well it needs to get the slots info from the view, for instance
04:04 impl Yeah, but slots are dead now right? ;x
04:04 Wombert (we would make that AgaviDecoratingView then)
04:04 Wombert oooooooh dude
04:04 Wombert if it really all works out as planned
04:04 impl If we have ActionChains we don't need decorators
04:05 Wombert this is gonna be awesome
04:05 Wombert action chains suck, they really do
04:05 Wombert they assemble the output, which is bad, because the execution order shouldn't really matter
04:05 Wombert plus how do you _prepend_ something
04:05 Wombert like a header or so
04:05 impl So what do you propose?
04:05 Wombert and if you want to move a box (which is an action) to another place, you have to change 47621 files
04:06 Wombert I have no idea
04:06 Wombert I don't think decorators are that bad
04:06 Wombert I mean...
04:06 Wombert the new system will likely allow
04:06 Wombert a) using slots inside the content template, not only in the decorator template
04:06 impl $renderer->setAttribute('box', new ActionChain('box')->getResult()->first);
04:06 Wombert b) nested decorators
04:07 Wombert yes but how is that different from setting a slot
04:07 Wombert it will be run for you, too
04:08 impl It's different from a slot because it's not part of the view itself
04:08 impl It's abstracted out of it
04:08 Wombert uuuh
04:08 Wombert huh?
04:08 impl I've never liked the idea of having View::setSlot()
04:09 impl It seems so awkward for something that's really just another attribute
04:09 Wombert setSlot will be run _after_ execute() finishes
04:09 Wombert that's one of the key aspects of it
04:09 impl Er, what for?
04:10 Wombert for instance, with the above, you quickly hit the recursion limit
04:10 Wombert nesting level too deep blah
04:10 impl Only if box chains back to the current action
04:10 impl that would be silly
04:10 Wombert nah, if box chains to another action and so on
04:10 Wombert each filter requires three(!) nested calls
04:11 impl I don't think Agavi should account for programmer stupidity :P
04:11 Wombert no, not stupidity
04:11 Wombert but if each action produces, say, 20 nested methods
04:11 Wombert you couldn't do many calls
04:11 Wombert plus
04:11 Wombert hm
04:11 impl $sideOutput->register('side', 'Portfolio', 'CategorySide',
04:11 impl array('id' => $request->getParameter('id')));
04:11 impl $sideOutput->execute($controller, $request, $user);
04:11 impl $renderer->setAttribute('side', $sideOutput->fetchResult('side'));
04:11 impl $sideOutput is an ActionChain
04:12 impl (this is M2)
04:12 Wombert okay
04:12 Wombert I _think_ we could allow
04:12 Wombert $response = $ctl->forward(...)
04:12 Wombert to emulate that
04:12 Wombert even though it would work almost the same as slots
04:13 impl I'm not sure why you want to use forward() for that
04:15 impl I'm looking at this M2 stuff and I'm seeing the main use of Controller::forward() is to redirect an action without a view to another action
04:15 impl e.g. action performs business logic (add record, whatever), returns user to list of contents
04:15 CIA-11 david * r1440 /branches/david-execution_flow/: Creating branch for execution flow remodeling
04:16 impl But from what I've gathered from you guys is that forward() isn't a business logic thing
04:16 Wombert yeah precisely
04:16 Wombert because for the web interface, you want to return to the list (or to the added item)
04:16 Wombert whereas for xmlrpc, you want to return a "success" status indicator
04:16 Wombert etc
04:16 impl right
04:16 Wombert not so theoretical example: ajax
04:17 impl shudders
04:17 impl Okay ;p
04:17 Wombert you'd return some json that contains the id of the new item
04:17 Wombert which your client side code would take and use it to call and show the new item
04:17 impl So there's a different view for each output type... right?
04:17 Wombert nope
04:17 impl :s
04:17 Wombert executeHtml()
04:17 Wombert executeJson()
04:17 Wombert if you want
04:18 impl ah
04:18 Wombert or execute() that handles em all
04:18 impl so in executeHtml() is where you'd do ->forward?
04:18 Wombert well yeah you don't do that anymore
04:18 Wombert you now return array('ModuleName', 'ActionName')
04:18 impl mmm
04:18 Wombert because then control flows back to dispatch() and THEN the next aciton is executed
04:19 Wombert before, the forward() happened and AFTER that the calling template was rendered
04:19 Wombert which sucked because it was in the wrong order
04:19 impl So the view is coupled to forwarding through... return statements...
04:19 Wombert and we couldn't allow forward() due to the respnse locking anyway
04:19 Wombert yes, if the view returns this information, it'll be used for forwarding
04:19 Wombert once filters have gone back to forward() etc
04:20 impl I can't say I like that
04:20 Wombert this is a lot cleaner in terms of execution order etc than plain forward() calls
04:22 Wombert buuuuut
04:22 Wombert I'll go to bed now :)
04:22 impl Alright :P
04:22 Wombert and start implementing that stuff tomorrow
04:23 impl G'night then
04:23 impl (I still think things are too tightly coupled, but I might be teh wrong)
04:23 CIA-11 dominik * r1441 /branches/0.11/src/util/AgaviVirtualArrayPath.class.php: add methods to check if an "array path" exists in an array
04:26 Wombert impl: I appreciate your input
04:27 CIA-11 dominik * r1442 /branches/0.11/src/util/AgaviVirtualArrayPath.class.php: fix typo
04:27 impl :)
04:27 Wombert so don't be afraid to critizize etc
04:27 Wombert you might be right, you might be wrong
04:27 Wombert I'll code it tomorrow and then you can have a look at it and decide
04:27 impl Sure
04:27 Wombert it will be a definite improvement over the current situation
04:27 impl :D
04:28 Wombert whether or not it will satisfy your special demands is yet to be determined ;)
04:28 impl I think I'm still living in Web 1.0 ;p
04:34 Wombert [n=Wombert@dslb-088-064-003-152.pools.arcor-ip.net] has quit []
04:50 Wombert [n=Wombert@dslb-088-064-003-152.pools.arcor-ip.net] has joined #agavi
04:50 Wombert [n=Wombert@dslb-088-064-003-152.pools.arcor-ip.net] has quit [Remote closed the connection]
04:56 CIA-11 dominik * r1443 /branches/0.11/src/validator/AgaviImageFileValidator.class.php: remove inneeded indirection in the image validator
06:24 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:23 Arme[N] morning
08:10 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
08:21 epaulin [n=epaulin@61.191.26.228] has quit [Read error: 113 (No route to host)]
08:23 epaulin [n=epaulin@61.191.26.228] has joined #agavi
08:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 113 (No route to host)]
08:34 Arme[N-1] is now known as Arme[N]
08:44 luke` [n=luke`@61.95.206.107] has joined #agavi
08:58 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
09:01 Arme[N-1] is now known as Arme[N]
09:06 v-dogg huomenta
09:06 luke` hey v-dogg
09:08 v-dogg hi, what's up
09:12 Arme[N] it is very nice to see ticket number #373 :D
09:17 foresth [i=foresth@88.146.138.85] has joined #agavi
10:04 v-dogg yeah, that's going to be nice
10:07 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
10:10 v-dogg how do I delete a branch with tortoise svn?
10:46 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
10:57 eremit [n=eremit@p5490ED0F.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)]
10:57 eremit [n=eremit@p5490F4BE.dip.t-dialin.net] has joined #agavi
11:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
11:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
11:45 splatch hello
11:46 codecop [n=codecop@85.206.207.103] has joined #agavi
11:59 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
12:11 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: splatch, eremit, kaos-, CIA-11, digitarald, v-dogg, horros, codecop
13:00 foresth [i=foresth@local.hide-forest.net] has joined #agavi
13:00 Netsplit over, joins: codecop, eremit, digitarald, v-dogg, CIA-11, splatch, horros, kaos-
13:13 codecop i downloaded simpletest, but how to use it to test modules
13:15 v-dogg firstly, I recommend using phpunit (2 or 3)
13:15 v-dogg test stubs created by agavi are still for simpletest but we don't use it anymore
13:15 v-dogg agavi itself uses phpunit
13:20 codecop ok moving to phpunit
13:21 luke` v-dogg: so we can test projects with phpunit now?
13:22 v-dogg no, there's no plug-and-play solution for custom projects
13:22 v-dogg yet
13:22 luke` is there a difficult way to do it? ;)
13:22 v-dogg agavi framework uses phpunit for self-testing (development)
13:22 v-dogg you can look how it's done now
13:23 v-dogg it's not pretty, mind you :)
13:23 luke` heh
13:36 codecop what the main point of how to use phpunit in agavi?
13:38 codecop i made pear phpunit 3.0 install
13:38 v-dogg codecop: check out agavi/tests2/AllTests.php
13:38 v-dogg that's about as much as I can help you with this, sorry :)
13:40 codecop this is enough ;)
14:45 luke` v-dogg: propel help needed ;)
14:49 v-dogg I'm no expert but shoot :)
14:54 luke` I need to get an sql statement like
15:05 digitarald| [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
15:05 digitarald| [n=Miranda@62-43-144-110.user.ono.com] has quit [Client Quit]
15:10 digitarald| [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
15:11 v-dogg luke`: is that sentence going to continue or do you want 'where foo like ...'?
15:12 luke` v-dogg: eeks
15:14 luke` now better?
15:14 v-dogg ?
15:15 luke` v-dogg: didn't you get my PM?
15:15 v-dogg nope
15:15 v-dogg have you registered your nick?
15:16 luke` is now known as shoan
15:17 shoan what about now?
15:19 Wombert [n=Wombert@dslb-088-064-003-152.pools.arcor-ip.net] has joined #agavi
15:21 Wombert holy SHIT
15:21 Wombert I thought shoan was dead
15:21 Wombert but he was here all the time
15:21 Wombert in disguise
15:21 Wombert named luke!
15:21 Wombert oO
15:21 shoan lol
15:22 Wombert hugs shoan
15:22 Wombert you okay mate? :>
15:22 shoan i had a feeling that you didn't realize it was me
15:22 shoan when you started talking to me like a stranger a few weeks ago
15:22 Wombert haha
15:22 Wombert :>
15:23 ttj OMG, going to Turku. :o
15:23 shoan hugs Wombert v-dogg
15:26 shoan so whats going down in munich?
15:27 shoan shakes v-dogg
15:31 shoan [n=luke`@61.95.206.107] has quit [Remote closed the connection]
15:31 luke` [n=luke`@61.95.206.107] has joined #agavi
15:36 v-dogg luke`: I'm sorry but I can't focus on your problem at the moment
15:36 v-dogg our isp just fucked up our production server
15:37 v-dogg and I need to sort this out before everyone leaves work for xmas
15:38 luke` sure
15:45 v-dogg wtf did they just do...
15:46 v-dogg I wanted to upgrade our virtual server and they said it would be done in a few minutes and would require zero effort from me
15:47 v-dogg _and_ nothing was supposed to change
15:47 v-dogg well... it didn't go just like that apparently
16:01 luke` [n=luke`@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)]
16:22 codecop [n=codecop@85.206.207.103] has quit ["Leaving"]
16:40 v-dogg puuuuuuh....
16:41 Arme[N] is now known as Arme[0]
16:42 Arme[0] is now known as Arme[N]
16:43 Arme[N] is now known as Arme[0]
17:03 v-dogg can anyone concur that apc 3.0 works with php5.2
17:06 Wombert v-dogg: I'm pretty certain
17:06 Wombert upgrade APC to latest
17:06 Wombert 3.0.12 should work with 5.2
17:07 v-dogg good, I'm using that
17:07 Wombert having trouble?
17:07 Wombert :<
17:07 v-dogg no no, just making sure before upgrading php
17:07 v-dogg production server still has 5.1.x
17:09 v-dogg hmm.. should I upgrade postgres at the same go
17:09 v-dogg let's break everything \o/
17:12 Wombert <:
17:12 Wombert hmmm
17:12 Wombert I need to get my hair cut
17:12 Wombert hmmm
17:12 Wombert should I go
17:12 Wombert or should I go
17:12 Wombert I want to implement #367
17:12 Wombert or whatever it was
17:17 v-dogg do that, forget the hair cut
17:20 digitarald| forget the hair cut, what counts is how u feel inside ;)
17:26 Wombert but
17:26 Wombert a friend of mine celebrates her birthday tonight and
17:26 Wombert I hope she has some equally good looking friends
17:27 Wombert who are single
17:27 Wombert and if I get my hair cut
17:27 Wombert I won't look like a blithering idiot
17:27 v-dogg you might score
17:27 Wombert which means I _might_ get laid
17:27 Wombert does that make sense?
17:27 Wombert therefor, I shall now drink a coffee and then get my hair cut
17:28 v-dogg nah, they will instantly see you inner beauty
17:28 v-dogg no matter how you look
17:34 Wombert that works for george clooney
17:34 Wombert not for programmers
17:34 Wombert I'll go now :)
17:34 Wombert bbiab
17:34 v-dogg heh
17:49 Wombert [n=Wombert@dslb-088-064-003-152.pools.arcor-ip.net] has quit [Nick collision from services.]
17:49 Wombert [n=Wombert@dslb-088-064-009-128.pools.arcor-ip.net] has joined #agavi
18:10 Arme[0] wow, Wombert now you look nice :P
18:19 Wombert I know
18:19 Wombert xD
18:26 Arme[0] :D
18:33 Wombert http://www.ferryhalim.com/orisinal/g3/bells.htm
18:54 Wombert [n=Wombert@dslb-088-064-009-128.pools.arcor-ip.net] has quit []
18:58 Arme[0] nice
18:58 Arme[0] is now known as Arme[N]
18:58 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has joined #agavi
19:05 Arme[N] it is really nice :D
19:05 Arme[N] heh
19:07 Arme[N] hmm, logo of AgaviBot could be somthing like that rabbit! :)
19:08 Arme[N] hmm, 6640!
19:08 Arme[N] lets get back to work :D
19:08 Arme[N] is now known as Arme[0]
19:13 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
19:14 MrJeep hi
19:15 MrJeep wanna see a little project made with the new version of agavi ?
19:15 Wombert go go go
19:15 MrJeep (requires Firefox because there is SVG)
19:15 MrJeep http://mrjeep.dyndns.org:81/Project/Open/Tiger/Development/www/index.php?module=​Document&action=Index
19:17 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
19:19 MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
19:19 MrJeep re, my irc client crashed
19:19 Wombert nice
19:20 Wombert mais il faut un moniteur gigantique
19:20 Wombert :>
19:20 Wombert I'll try a reboot
19:20 Wombert DNS is acting up a little
19:20 Wombert brb
19:20 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has quit []
19:22 MrJeep yeah I have to agree about that
19:24 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has joined #agavi
19:24 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has quit [Client Quit]
19:25 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has joined #agavi
19:25 Wombert http://trac.agavi.org/ticket/373 btw in case anyone missed it
19:25 Wombert feedback welcome
19:25 Wombert looks at digitarald, eremit, MrJeep
19:26 Wombert ffs
19:27 Wombert I have to call urls like three, four times before the domain resolves
19:27 Wombert kicks his ISP
19:51 eremit [n=eremit@p5490F4BE.dip.t-dialin.net] has quit []
20:12 Arme[0] MrJeep: nice
20:22 digitarald| bunny flying high score ... 30210 ...
20:23 digitarald| and its sooooo cute cute cue
20:25 MrJeep Arme : thanks
20:26 MrJeep bunny flying ??
20:33 Arme[0] wow 30210 :X
20:37 Wombert http://img95.imageshack.us/img95/4372/cronoiwinom3.jpg
20:41 Arme[0] that is a bug man
20:41 Arme[0] 9023964634!!!!
20:42 Arme[0] hmm! :)
20:44 Arme[0] is now known as Arme[N]
20:57 MrJeep lol funny game
20:58 digitarald| anybody here with ie6?
21:00 Arme[N] I have on in wine
21:00 Arme[N] one
21:02 digitarald| can u test something for me, just a small javascript
21:02 Arme[N] yes sure
21:05 digitarald| thats the script, just type 2 letters or so :)
21:05 digitarald| http://dev.digitarald.de/auto2.html
21:05 digitarald| then wair for the result ... its just a small autocompleter
21:05 Arme[N] okey
21:06 impl Wombert: Try using 4.2.2.1 and 4.2.2.2 for your nameservers
21:06 digitarald| with 600.000 words in the backend :)
21:07 impl disappears
21:07 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
21:07 Arme[N] digitarald|: it works
21:07 Arme[N] but there is a little problem i think
21:07 digitarald| Arme[N], it works in IE7, does that selectbox shine through the choicebox?
21:07 digitarald| ok, what
21:07 Arme[N] wait a moment...
21:09 Arme[N] digitarald|: http://screenshots.opensourceclub.org/autocompletion.png
21:09 digitarald| ah, thats what i want to know for ie6 ... the input problem
21:10 digitarald| thx, i knew that would come ...
21:10 digitarald| lets try a fix
21:10 Arme[N] np
21:11 Wombert put an empty iframe below the list
21:12 Arme[N] I have IE5 and 5.5 too if you want to test with those
21:12 digitarald| i know ;)
21:12 digitarald| mh, know
21:12 digitarald| i don't think mootools can run in ie5.5, but u can give 5.5 a try
21:13 digitarald| *crossingfingers*
21:13 digitarald| i need a mac to test on all browsers ... *kickshisPC*
21:14 Arme[N] you can try mac emulator on linux :P
21:18 Arme[N] digitarald|: http://screenshots.opensourceclub.org/autocompletionIE5.5.png
21:21 digitarald| looks like it works, cool
21:22 digitarald| autocompleter with 10kb ... scriptaculous needs 120 :D
21:28 digitarald| Arme[N], can u test again ... http://dev.digitarald.de/auto2.html ... should work now
21:29 impl [n=impl@httpcraft/php/impl] has joined #agavi
21:30 Arme[N] okey ....
21:30 digitarald| selectbox gone?
21:30 digitarald| away ... yeah
21:31 Arme[N] no
21:31 digitarald| :,-(
21:31 digitarald| noooo
21:31 digitarald| same problem?
21:31 Arme[N] let me try with Ctrl+F5
21:32 digitarald| success? i can upload a small change
21:32 Arme[N] no
21:33 Arme[N] wait I'll take screenshots
21:33 digitarald| mh, try again one time than i gave up for an hour
21:33 digitarald| its not the same problem?
21:34 Arme[N] http://screenshots.opensourceclub.org/autocompletion2.png
21:34 Arme[N] http://screenshots.opensourceclub.org/autocompletion2IE.5.5.png
21:34 Arme[N] yes it is but with additional iframe !!
21:34 digitarald| ah uh, that iframe is gone nuts
21:35 digitarald| ok ... that should be easy
21:59 digitarald| Arme[N], got it ... can u test a last time plz :)
22:01 Arme[N] sure :)
22:02 digitarald| just a yes/no, so i can go home with a smile :)
22:03 Arme[N] you know I think answer is no
22:03 Arme[N] but I'm not sure
22:03 digitarald| ok ... the smile cant go away, apple pie is waiting for me at home :)
22:03 Arme[N] http://screenshots.opensourceclub.org/autocompletion3.png
22:03 digitarald| the select box is still over the choices
22:03 Arme[N] http://screenshots.opensourceclub.org/autocompletion3IE5.5.png
22:03 digitarald| uh oh
22:04 digitarald| i see
22:04 digitarald| oh
22:04 digitarald| wait
22:04 digitarald| apple pie has to wait too
22:04 Arme[N] lol
22:04 Arme[N] :)
22:05 digitarald| ok, refresh
22:05 Arme[N] okey
22:05 digitarald| and say yes ;)
22:06 Arme[N] hmm, let me think about that :D
22:06 Arme[N] nice :)
22:07 Arme[N] wait for screenshots
22:07 Arme[N] http://screenshots.opensourceclub.org/autocompletion4IE5.5.png
22:07 digitarald| ok ... coding that did not take long, debugging take longer
22:07 Arme[N] http://screenshots.opensourceclub.org/autocompletion4.png
22:07 Arme[N] yeah :)
22:08 digitarald| hey, they look the same ... thx for your help ... now i can back to the real-world problems ...
22:09 Arme[N] np :)
22:09 digitarald| cya later and merry christmas (uh, 2 days ...)
22:10 Arme[N] yeah thanks
22:11 Arme[N] night guys :)
22:11 Wombert nn
22:11 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:29 impl I have a cold :(
22:32 Wombert very uncool
22:32 ttj Yo.
22:32 ttj Turku sucked. Had to buy champaign.
22:32 Wombert uhm
22:32 Wombert oO
22:32 Wombert wtf
22:32 Wombert xD
22:33 Wombert what are you doing in turku
22:33 ttj Champagne, even.
22:33 ttj Having dinner.
22:33 Wombert and did you visit v-dogg yet
22:33 ttj Nope.
22:33 Wombert are you still there?
22:33 ttj Nope.
22:33 Wombert did you meet ten hot chicks
22:33 ttj Nope.
22:33 Wombert or why did you buy champagne
22:33 Wombert lol
22:33 Wombert :>
22:33 ttj I felt like champagne.
22:33 Wombert I had an intentional pause there to hear the "Nope." xD
22:33 Wombert ah
22:33 Wombert so was it a business dinner
22:33 Wombert no
22:34 ttj Nope. :P
22:34 Wombert :>
22:34 ttj Just saw a friend of mine.
22:34 Wombert a girl?
22:34 Wombert pokes ttj
22:34 Wombert answer me
22:34 ttj A male.
22:34 Wombert oh
22:34 Wombert okay
22:34 Wombert and why did you pay
22:34 ttj Pay what?
22:34 ttj I paid my food.
22:35 Wombert ah
22:35 Wombert but it was an expensive restaurant?
22:35 ttj And bought myself champagne. Which I'm enjoying now. In my own company. :P
22:35 ttj Nope.
22:36 Wombert I still don't get the big picture
22:36 Wombert didn't you work at that company that used to make paper
22:36 Wombert is utterly confused
22:37 ttj What? I left Helsinki to come to Salo. Then I dropped off my stuff, called up a friend of mine at Turku to have dinner with.
22:37 ttj And catch up.
22:37 ttj What has my job got to do with any of this? :P
22:38 ttj I do stuff like this. I just call up random people I know every once in a while and drop by.
22:38 Wombert "in my own company" got me confused
22:38 ttj "In my own company" as in "by myself".
22:38 Wombert yes
22:38 Wombert I got that now
22:38 Wombert :)
22:38 ttj :-)
22:38 Wombert hugs ttj
22:39 ttj is hugged.
22:41 ttj You know what. I just noticed that I'm pathetic.
22:41 Wombert uh
22:41 Wombert you are?
22:41 Wombert why
22:42 ttj I got invited to have dinner on the 26th from four different places.
22:42 Wombert okay
22:42 ttj Only pathetic and sad people are invited for dinner during Christmas.
22:42 Wombert rofl
22:42 Wombert is that so
22:42 ttj i.e. the lost souls who have no place or no one to celebrate Christmas with.
22:42 Wombert are you a lost soul?
22:42 Wombert and
22:43 Wombert would being a lost soul make you pathetic?
22:43 ttj I might be. At least the invitations support that theory.
22:43 Wombert who's theory is that
22:43 ttj Mine.
22:43 Wombert what if the theory is pathetic
22:43 ttj No, it's true.
22:43 Wombert uhm okay nevermind
22:43 ttj Think about it.
22:43 ttj :P
22:43 Wombert that would, again, mean you're pathetic
22:43 ttj Haha! :D
22:44 Wombert in the end it boils down to you being pathetic for whatever reason you pick
22:44 Wombert xD
22:44 Wombert hugs ttj
22:44 Wombert you're not pathetic mate
22:44 ttj is hugged. A second time.
22:44 Wombert but if you live in your own
22:44 Wombert you have nobody
22:44 Wombert other people realize that
22:44 Wombert probably without implying that you're pathetic
22:44 ttj But I feel like the invitations are just made out of pity.
22:44 Wombert but just because they think you'd like to be around people at that time
22:45 Wombert well that could be the case
22:45 Wombert since you have four, you pick the most comfortable one, I suggest
22:45 ttj I turned them down. :-)
22:45 Wombert all?
22:45 ttj Yep.
22:45 Wombert you _are_ pathetic
22:45 Wombert duuude
22:45 Wombert :<
22:45 ttj I want to be alone. It's my first semi-vacation in ages.
22:45 ttj I don't want to be around people.
22:48 Wombert if you do the same thing for new year's eve, I'll buy a plane ticket, fly to the place with the weird name where you are and beat you up a little
22:48 Wombert but you'll visit family on 24th/25th, right?
22:48 Wombert when do you celebrate in finland anyway
22:48 ttj No. My family is away on a trip.
22:48 Wombert 24th or 25th?
22:48 Wombert ewwww
22:48 ttj 24th.
22:48 Wombert k
22:49 ttj I'm at my folks' place right now, actually.
22:50 ttj And no, I don't have any plans for New Year's yet. :-)
22:55 Wombert hmh
22:55 ttj I hope you didn't use this time to book a flight. :D
22:58 Wombert heh
22:58 Wombert nope
23:10 MrJeep [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit []
23:33 kaos- [n=kaos@ppp-82-135-3-168.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"]
Day changed Sat Dec 23 2006
00:03 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
00:11 benny`work [n=benny@p54AC3184.dip0.t-ipconnect.de] has joined #agavi
00:55 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit [Connection reset by peer]
00:55 digitarald| [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
01:26 benny`work is now known as benny`patchslut
02:12 benny`patchslut [n=benny@p54AC3184.dip0.t-ipconnect.de] has quit ["unset($this);"]
02:27 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
03:02 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"]
03:56 impl Wombert: Look at this: http://www.symfony-project.com/uploads/assets/sfAdminGeneratorRefCard.pdf
03:56 impl fucking crazy
03:58 impl Symfony is on crack
06:05 Wombert re
06:06 Wombert slaps impl
06:20 impl slaps Wombert
06:58 Netsplit zelazny.freenode.net <-> irc.freenode.net quits: splatch, CIA-11, v-dogg, horros, impl, Wombert
06:59 um` [n=um@noc.cavokintl.com] has joined #agavi
06:59 Netsplit over, joins: impl, Wombert, horros, splatch, CIA-11, v-dogg
07:00 um [n=um@noc.cavokintl.com] has quit [Read error: 104 (Connection reset by peer)]
08:14 Wombert slaps impl
08:14 impl slaps Wombert
08:14 Wombert what's up
08:15 impl Not much
08:15 impl is amusing himself with random photography (not porn, for the most part ;)
08:15 impl and you, sir?
08:15 Wombert I came back from some partying
08:15 Wombert nice club
08:16 Wombert quite drunk, too
08:16 Wombert (me)
08:16 Wombert while there, they played a song I knew from Guitar Hero on playstation 2
08:16 impl hah, cool
08:16 Wombert which made me want to play guitar hero, obviously
08:16 Wombert you know guitar hero?
08:16 impl Nope
08:16 Wombert the nice thing is
08:16 Wombert I came back home
08:16 Wombert pinged a friend
08:16 Wombert and two other mates were at his place
08:16 Wombert playing guitar hero
08:17 Wombert one of them picked me up
08:17 Wombert and I played guitar hero :>
08:17 Wombert now i'm back
08:17 impl wow, that worked out nicely
08:17 Wombert still a bit drunk and
08:17 Wombert yeah you bet
08:17 impl it's what, 7AM now though right?
08:17 Wombert guitar hero works like this
08:17 Wombert yep
08:17 Wombert tunes "fall" from the top
08:17 Wombert you don't use a ps2 controller, but a guitar instead
08:17 Wombert omg how to explain thios
08:18 impl :s
08:18 Wombert http://en.wikipedia.org/wiki/Guitar_hero
08:18 Wombert To play a note, the fret button and strum bar must be pressed when the solid note scrolls through the corresponding ring at the bottom.
08:18 Wombert that's what I wanted to say xD
08:19 Wombert and did I mention the club was nice
08:19 Wombert the folks there were nice
08:19 Wombert even the girls, kinda
08:19 Wombert and I got drunk?
08:19 Wombert sounds like a decent night
08:19 impl I'd say so :)
08:21 impl http://tmbo.org/offensive/2006/12/22/index.php?id=96
08:49 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has quit []
09:20 eremit [n=eremit@p5490F4BE.dip.t-dialin.net] has joined #agavi
09:54 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
10:02 foresth [i=foresth@local.hide-forest.net] has joined #agavi
10:32 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:58 eremit_ [n=eremit@p5490C597.dip.t-dialin.net] has joined #agavi
11:07 eremit [n=eremit@p5490F4BE.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:10 eremit_ is now known as eremit
12:36 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
13:02 raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)]
13:05 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
13:59 raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
15:06 luke` [n=luke`@59.92.132.237] has joined #agavi
15:23 kaos [n=kaos@ppp-82-135-3-168.dynamic.mnet-online.de] has joined #agavi
15:57 codecop [n=codecop@88.118.198.54] has joined #agavi
16:19 codecop_ [n=codecop@88.118.198.219] has joined #agavi
16:30 codecop [n=codecop@88.118.198.54] has quit [Read error: 110 (Connection timed out)]
16:35 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:46 codecop [n=codecop@88.118.198.219] has joined #agavi
16:48 codecop [n=codecop@88.118.198.219] has quit [Client Quit]
16:48 codecop_ [n=codecop@88.118.198.219] has quit ["Leaving"]
17:02 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has joined #agavi
18:09 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
18:15 luke`_ [n=luke`@59.92.207.81] has joined #agavi
18:26 luke` [n=luke`@59.92.132.237] has quit [Read error: 110 (Connection timed out)]
18:29 luke`_ is now known as luke`
18:56 Wombert [n=Wombert@dslb-088-064-017-227.pools.arcor-ip.net] has quit [Nick collision from services.]
18:56 Wombert [n=Wombert@dslb-088-064-027-227.pools.arcor-ip.net] has joined #agavi
19:00 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
19:00 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:06 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
19:06 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:08 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
19:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:13 digitarald [n=Miranda@62-43-144-110.user.ono.com] has joined #agavi
19:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
19:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:16 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
19:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:14 Wombert pokes v-dogg
20:14 Wombert eww
20:15 Wombert pokes v-dogg
20:15 Wombert better!
20:15 Wombert :>
20:28 foresth slaps Wombert with a big fish
20:29 foresth merry christmas!
20:29 Wombert not yet!
20:29 Wombert :)
20:31 foresth who brings gifts in germany? the baby christ?
20:31 Wombert mmmh
20:31 Wombert depends
20:31 Wombert here in bavaria, yes
20:31 Wombert I think other parts in germany use santa
20:32 Wombert not sure tho
20:32 foresth damn santa
20:32 foresth the coca-cola patent :]
20:33 foresth here in czech too
20:34 foresth I suppose we adopted it from you
20:34 foresth long time ago..
20:35 Wombert hmmm
20:35 Wombert no idea
20:35 Wombert santa claus is very old actually
20:35 Wombert coca cola only made the red/white colors popular
20:36 Wombert http://en.wikipedia.org/wiki/Origins_of_Santa_Claus
20:36 Wombert http://en.wikipedia.org/wiki/Santa_Claus
20:36 Wombert http://en.wikipedia.org/wiki/Christmas_gift-bringers_around_the_world
20:37 foresth yeah, no problem with santa
20:37 foresth he just might not be in every shop here
20:37 foresth when we have the baby christ
20:37 foresth :)
20:38 Wombert haha
20:38 Wombert http://en.wikipedia.org/wiki/Christkind
20:38 Wombert that's pretty funny
20:39 foresth nice
20:50 foresth is weather as warm in germany as it is in here? :]
20:50 foresth it's sad..
21:03 Wombert yes
21:03 codecop [n=codecop@88.118.198.219] has joined #agavi
21:03 Wombert no christmas feeling at all without snow
21:04 codecop true true
21:32 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
21:49 kaos [n=kaos@ppp-82-135-3-168.dynamic.mnet-online.de] has quit [Read error: 104 (Connection reset by peer)]
21:50 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:02 codecop [n=codecop@88.118.198.219] has quit ["Leaving"]
23:13 Dortly [n=Fastly@81-179-110-6.dsl.pipex.com] has joined #agavi
23:13 Dortly is now known as Fastly
23:15 Fastly hey guys, i'm playing with 0.11 and noticed on windows that agavi.bat doesn't work if you're modifying a project that's on a hdd serparate from the agavi src directories..
23:16 Fastly e.g. my project is the d:\projects\foo and when i type "agavi project" it says "Buildfile: \php\PEAR\agavi-0.11.0RC1\src\build.xml does not exist!"
23:17 Fastly i tried creating c:\projects\foo and ran the same command and it worked successfully
23:17 Fastly ideally i want to keep all work on the d:
23:17 Fastly btw, in agavi.bet it reads: set AGAVI_INSTALLATION=c:/php/PEAR/agavi-0.11.0RC1/src
23:18 Fastly so i'm unsure at to why it it dropping the c:/ somewhere
23:22 Fastly any ideas?
23:23 Wombert Fastly: thanks for the report
23:23 Wombert that mightbe a bug
23:23 Wombert I can look into it later
23:24 Fastly ok, for now i can copy the agavi directories onto the d: and am finally working on upgrading to 0.11 whilst everything is quiet here...
23:24 Fastly how's the new web site coming across btw
23:24 Fastly ?
23:25 Fastly sorry i didn't get back to you with further font ideas - it's all been a bit crazy here the last couple of weeks
23:27 Wombert no problem man
23:27 Wombert the designer is a bit busy so there's more delays but
23:27 Wombert we think we found a decent font
23:33 Fastly excellent
23:33 Fastly look forward to seeing it
23:34 Fastly do you have anything that resembles a migration guide at the moment (from 0.10.2) -- don't worry if not i should work things out
23:34 Fastly ?
Day changed Sun Dec 24 2006
00:32 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
01:26 digitarald [n=Miranda@62-43-144-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
01:54 impl http://trac.agavi.org/browser/tags/0.11.0RC1/RELEASE_NOTES might be your best bet
02:00 Fastly thanks impl
02:00 impl mhm
02:04 Wombert re
02:05 impl Evening Wombert
02:05 Wombert hi impl
02:05 Wombert what's up
02:05 impl Not much
02:05 impl You? ;o
02:06 Wombert back from burger king
02:06 Wombert but
02:06 Wombert I'm stupid so I didn't eat anything
02:06 Wombert just drank a coffee
02:06 Wombert now I'm hungry and gotta make myself something to eat
02:06 impl :<
02:07 Wombert precisely :)
02:07 Wombert http://blogs.edmunds.com/Straightline/2017 mmmmh
02:09 Fastly wombert, do you recommend using propel?
02:17 Fastly i'd like to check it out - just wondering if there is an example of project-conf.php anywhere/
02:17 Wombert project-conf.php is generated by propel for you
02:17 Wombert it contains info about the database connection
02:18 Fastly ok sweet, i'll check out the propel docs then
02:18 Fastly i know what it is but have never got around to using it - looks sweet.
02:18 Fastly do you use propel in your projects>?
02:20 Wombert yes
02:20 Wombert it always depends
02:21 Wombert if you have very very compelx relations with very complex joins, propel will cause some headaches
02:22 Fastly in some cases i do... would it be wise to use propel for the simple queries and creole for more complex queries?
02:22 Fastly within the same project...
02:22 Wombert that would be an option, yes
02:22 Wombert though if you start new, you should probably try the 1.3 branch
02:22 Wombert which uses PDO
02:22 Wombert a lot faster
02:22 Wombert agavi already works with it
02:23 impl it doesn't use creole?
02:25 Fastly i'm installing propel via pear at the moment with preferred_state beta
02:25 Fastly hopefully that should get what i need
02:31 Wombert nope
02:31 Wombert that will get you 1.2
02:31 Wombert to play around a bit, that's fine
02:33 Fastly weird, it says here that beta should be fine: http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Installation
02:34 Wombert that's probably future instructions
02:34 Fastly ok
02:35 Fastly where do you normally keep the propel working directory in relation to the agavi project?
02:35 Wombert I'm on the phone right now
02:35 Fastly k
02:35 Wombert could you give me a minute?
02:35 Fastly np
02:35 Fastly :-)
02:57 Wombert re
02:57 Wombert oookay
02:58 Wombert I bundle all libraries with the apps
02:58 Wombert i.e. I never use pear packages
02:58 Wombert project/ has subfolders app/, pub/ and libs/
02:58 Wombert libs/ contains agavi/src as agavi/
02:58 Wombert propel/runtime as propel-runtime/
02:58 Wombert propel/generator as propel-generator/
02:59 Wombert libs/ is then added to the include path in app/config.php
02:59 Wombert that way, everything works fine
02:59 Wombert oh wait
02:59 Wombert actually
02:59 Wombert propel/runtime/classes/propel is added as propel/ or something
02:59 Wombert I dunno
02:59 Wombert so the includes and requires work relative to libs/
03:00 Wombert I also have dev/ which has a subfolder containint build.properties, schema.xml, runtime-conf.xml and a copy of build.xml-local so building projects outside the propel/generator/projects folder
03:05 Fastly hmm... did you install propel via pear?
03:05 Fastly sorry... didn't read the first bit
03:10 Fastly (stupid question!)
04:38 Wombert re
04:38 Wombert no stupid questions ;)
04:38 Wombert only stupid answers
04:38 Wombert any trouble with propel so far, Fastly ?
04:38 luke`_ [n=luke`@59.92.128.73] has joined #agavi
04:39 luke` [n=luke`@59.92.207.81] has quit [Read error: 145 (Connection timed out)]
04:54 luke` [n=luke`@59.92.143.53] has joined #agavi
05:04 luke`_ [n=luke`@59.92.128.73] has quit [Read error: 110 (Connection timed out)]
05:14 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has quit [Read error: 113 (No route to host)]
07:04 Wombert [n=Wombert@dslb-088-064-027-227.pools.arcor-ip.net] has quit []
07:16 impl [n=impl@httpcraft/php/impl] has quit [Excess Flood]
07:16 impl [n=impl@httpcraft/php/impl] has joined #agavi
09:51 forda`afk [i=foresth@88.146.138.85] has joined #agavi
09:52 forda`afk is now known as foresth
10:22 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:57 eremit_ [n=eremit@p5490D5D1.dip.t-dialin.net] has joined #agavi
11:07 eremit [n=eremit@p5490C597.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:12 eremit_ is now known as eremit
11:13 v-dogg huomenta
11:14 foresth ahoy
11:14 v-dogg and merry xmas
11:16 ttj Yeah, merry christmas.
11:30 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has joined #agavi
12:01 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has quit []
12:07 codecop [n=codecop@88.118.198.219] has joined #agavi
13:09 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has joined #agavi
13:13 Fastly hey wombert are you there?
13:15 Fastly i'm upgrading to 0.11 and previously i had extented the Action and PHPView classes and added things like decorators and slots to the execute() method which i then called using a parent::execute() at the end of each view...
13:16 Fastly i notice that execute() is now passed an AgaviParameterHolder
13:16 Fastly what would be your approach to extending the functionality of execute() ? At the moment i am getting errors such as:
13:16 Fastly Fatal error: Argument 1 passed to HomeView::execute() must be an object of class AgaviParameterHolder, called in D:\httpdocs\ths-v3\app\modules\Default\views\IndexSuccessView.class.php on line 19 and defined in D:\httpdocs\ths-v3\app\lib\BaseView.class.php on line 64
13:17 Fastly i can provide you with any pastebin if you need to look
13:31 Fastly seem to have this working now - but do let me know if you think i'm on the wrong track here...
13:31 Fastly ... just working out how to specify program constants in 0.11 ...
13:32 foresth man, it's xmas ;]
13:33 foresth screw the work.. :)
13:34 v-dogg Fastly: depends on what your common code does but it might be easier to put it in MyView::initialize
13:35 Fastly cool will try
13:35 Fastly foresth, anything to keep me away from cooking duties for now ;-)
13:37 foresth Fastly, i see :))
13:39 Fastly according to the comments in AgaviView.class.php: execute() : Execute any presentation logic and set template attributes.
13:39 Fastly initialize() : Initialize this view.
13:40 Fastly i'm doing the former...
13:42 v-dogg my base view classes set for example decorators etc. in initialize
13:43 v-dogg and that is ok (I think) because you can disable decorating per output type, should you need undecorated output sometime
13:53 luke` is now known as shoan
14:01 JamieWolf [n=JamieWol@X89f1.x.pppool.de] has joined #agavi
14:07 Fastly hmm .... once i even create a function initialize(AgaviResponse $response, array $attributes = array()) { }
14:07 Fastly in class HomeView extends AgaviView
14:08 Fastly i get an error saying:
14:08 Fastly The template "/IndexSuccess.php" does not exist or is unreadable
14:44 Fastly hmm... how would i go about creating a settings file full of constants?
14:44 Fastly and accessing these?
15:20 Wombert [n=Wombert@dslb-088-064-027-227.pools.arcor-ip.net] has joined #agavi
15:58 ttj Wombert \o/
15:59 Wombert what's up man
16:00 ttj Not much, just stuffed the second load of laundry into the machine.
16:00 ttj You?
16:02 Wombert mmmh
16:02 Wombert I woke up just half an hour ago
16:02 Wombert :)
16:02 ttj Nice.
16:03 Wombert and now I gotta wrap some presents
16:04 ttj Ok, later.
16:26 shoan [n=luke`@59.92.143.53] has quit [Read error: 145 (Connection timed out)]
16:36 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
16:39 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
16:42 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has quit [Read error: 110 (Connection timed out)]
16:54 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has joined #agavi
18:13 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has quit [Read error: 113 (No route to host)]
18:56 Wombert [n=Wombert@dslb-088-064-027-227.pools.arcor-ip.net] has quit [Nick collision from services.]
18:56 Wombert [n=Wombert@dslb-088-064-001-095.pools.arcor-ip.net] has joined #agavi
20:54 impl [n=impl@httpcraft/php/impl] has joined #agavi
21:43 codecop [n=codecop@88.118.198.219] has quit ["Have to go"]
21:47 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has joined #agavi
22:01 Wombert [n=Wombert@dslb-088-064-001-095.pools.arcor-ip.net] has quit []
22:05 Fastly hey i know it's christmas so apologies for disturbing you guys - does anyone here have an example of a custom configuration file that is used to generate constants in 0.11?
22:06 Wombert [n=Wombert@dslb-088-064-001-095.pools.arcor-ip.net] has joined #agavi
22:06 Fastly hey wombert
22:07 Fastly sorry to repear all but:
22:07 Fastly hey i know it's christmas so apologies for disturbing you guys - does anyone here have an example of a custom configuration file that is used to generate constants in 0.11?
22:14 luke` [n=luke`@59.92.130.124] has joined #agavi
22:23 Wombert Fastly: that should be easy
22:23 Wombert gimme a second
22:26 Fastly thanks :-)
22:27 Fastly btw, the CoolConfigurationHandler.class.php example in config_handlers.xml give the following error:
22:27 Fastly XSD Validation of configuration file "D:/httpdocs/ths-v3/app/config/config_handlers.xml" failed, errors reported by DOM:
22:27 Fastly DOMDocument::schemaValidate() [<a href='function.DOMDocument-schemaValidate'>function.DOMDocument-schemaValidate</​a>]: Element 'handler': The attribute 'class' is required but missing.
22:27 Fastly DOMDocument::schemaValidate() [<a href='function.DOMDocument-schemaValidate'>function.DOMDocument-schemaValidate</​a>]: Element 'class': This element is not expected.
22:55 JamieWolf [n=JamieWol@X89f1.x.pppool.de] has quit ["Gone for a Drink"]
Day changed Mon Dec 25 2006
00:05 Wombert ah yeah
00:12 Fastly :-)
01:19 foresth Wombert?
01:20 foresth how do you make object variables in actions classes accessible via $variable in views?
01:20 foresth i cannot figure it out
01:27 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
01:30 Fastly foresth, i think you'd need to $parameters->setParameter($name, $value) in the action and then $parameters->getParameter($name) in the view
02:52 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has quit [Read error: 148 (No route to host)]
03:59 Fastly [n=fafsa@81-179-110-6.dsl.pipex.com] has joined #agavi
04:09 Wombert re
04:11 Fastly hey Wombert, Merry Christmas!
04:12 Fastly to you all in fact :-)
04:13 Wombert same to you, Fastly
04:14 Wombert you guys in the uk celebrate on 25th, right
04:15 Wombert that hoff pipex ad is genius btw
04:15 Fastly that's right, although i feel like i've eaten enough to last me right through the 25th already!
04:15 Wombert harhar
04:17 Fastly i'm staying at my parents place and have some rellies over including grandparents, aunts, uncles and cousins - most are in bed now. i keep heading to the computer for a tactical programming sessions when it looks like kitchen duties are on the horizon!
04:18 Wombert haha :>
04:18 Wombert very wise of you
04:19 Fastly anyway i'm going to head to bed - no doubt the kids will be hyper at 8am,,, :-(
04:20 Wombert oooh yes
04:20 Wombert they will be
04:20 Wombert just like we used to :)
04:20 Wombert dude
04:20 Fastly btw, hate to ask these things at this time, but i'm quite stuck into the 0.11 migration and came across a problem that's preventing me from getting any further...
04:20 Wombert why does chrimstas lose all of it's glory when you grow up
04:20 Wombert shoot!
04:20 Wombert I now have time
04:21 Fastly i cannot work out how to create custom config files that declare program constants
04:21 Fastly do you have any examples?
04:22 Wombert AgaviConfig ?
04:22 Wombert AgaviConfig::get('core.debug');
04:22 Wombert stuff like that?
04:22 Wombert or real php constants
04:23 Fastly previously an ini file called ths.ini was used to create real php constants
04:23 Fastly although i'm open to whatever is considered to be the new 0.11 standard way of doing things
04:24 Wombert depends on what precisely you're trying to achieve
04:24 Fastly there are a number of places in the code where the value of a constant stored in the config file is tested and the program execution altered accordingly
04:26 Fastly does AgaviConfig read from an xml config file?
04:26 Wombert mmmh
04:26 Wombert nope
04:26 Wombert AgaviConfig::set
04:26 Wombert and AgaviConfig::get
04:26 Wombert it's only purpose is to eliminate the use of constants
04:26 Fastly these set/get the core settings though, right?
04:27 Wombert basically, it's name and value paris
04:27 Wombert pairs
04:27 Wombert settings.xml prefixes "core." to the settings listed there
04:27 Wombert e.g. <setting name="debug">false</setting> yields AgaviConfig::set('core.debug', false);
04:28 Wombert I think v-dogg has a working config handler that sets arbitrary name/value pairs
04:28 Wombert i.e. without the core. prefix settings.xml uses
04:28 Wombert if you do it that way, I recommend com.acme.product.whatever and similar stuff as names
04:28 Wombert prevents collisions
04:29 Wombert also, keep in mind that in order to toss data around between parts of the application (e.g. a slot sets a value that is read later), you can use request attributes
04:30 Wombert $request->setAttribute('breadcrumb', 'hello there', 'com.acme-shop.navigation');
04:30 Wombert for instance
04:31 Fastly how would i declare custom_settings.xml?
04:31 Wombert and the slot that renders the breadcrumb would then $req->getAttribute('breadcrumb', 'com.acme-shop.navigation'); and append that value
04:31 Wombert you first need to write a config handler
04:31 Wombert or wait until tomorrow or the day after and ask v-dogg to send you his
04:32 Wombert I'll also add that handler he wrote to 0.11 RC2
04:32 Wombert because several other people requested that so far, it makes sense to bundle it
04:32 Fastly ok sweet, thanks and i really must sleep now - is it worth writing a ticket on trac if one isn't already there?
04:33 Wombert yeah do that!
04:33 Wombert that way, we won't forget about it
04:55 epaulin [n=epaulin@61.191.26.228] has joined #agavi
05:46 MrJeep [n=MrJeep_@bas2-sherbrooke40-1177759858.dsl.bell.ca] has joined #agavi
05:46 MrJeep hi
05:46 MrJeep I just wanna wish you all a merry christmast
05:46 MrJeep thanks for all your help
05:46 MrJeep Agavi's been very usefull
05:48 MrJeep well, have a nice holyday. Thanks again
05:48 MrJeep [n=MrJeep_@bas2-sherbrooke40-1177759858.dsl.bell.ca] has left #agavi []
07:37 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
09:05 foresth [i=foresth@88.146.138.85] has joined #agavi
09:11 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
09:17 foresth [i=foresth@88.146.138.85] has joined #agavi
09:31 luke` hi
09:31 luke` is now known as shoan
10:58 eremit_ [n=eremit@p5490D0BD.dip.t-dialin.net] has joined #agavi
11:06 eremit [n=eremit@p5490D5D1.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:53 eremit_ is now known as eremit
12:06 v-dogg Fastly, Wombert: http://pastebin.ca/291532 and an example: http://pastebin.ca/291533
12:06 v-dogg $version = AgaviConfig::get('com.myproject.version');
12:09 v-dogg though, I don't know if we want to bundle this with agavi or come up with something more versatile
12:10 v-dogg but it's clear that we need something because several people have been asking about this
16:16 kaos [n=kaos@ppp-82-135-5-135.dynamic.mnet-online.de] has joined #agavi
16:29 benny`work [n=benny@pD954CB6F.dip0.t-ipconnect.de] has joined #agavi
17:09 impl [n=impl@httpcraft/php/impl] has joined #agavi
17:11 Wombert foresth: you mean literally $foo inside View::execute() ?
17:11 Wombert merry chrimstas, v-dogg
17:11 impl Merry Christmas, guys :D
17:19 foresth Wombert, I think yes but I've already figured it out..
17:19 Wombert foresth: uhm
17:19 Wombert public function execute(AgaviParameterHolder $p) {
17:19 Wombert I mean...
17:19 Wombert you cannot have $foo etc available in there automatically
17:19 Wombert obviously
17:20 impl foresth: I hope you haven't used globals
17:21 Wombert impl: xD
17:21 Wombert http://php.net/manual/en/language.variables.scope.php
17:22 Wombert if you set a variable via $this->setAttribute('name', 'value'); inside the action
17:22 Wombert it will
17:22 Wombert a) be automatically available in the view via $this->getAttribute('name');
17:22 Wombert b) automatically be assigned to the template
17:22 impl what's the point of Request::set/getAttribute then?
17:22 Wombert you can have $name in the template then if you set the corresponding option in the renderer in output_types.xml
17:23 Wombert impl: that's just to pass data around between other components
17:23 Wombert e.g. a slot sets some data as a request attribute that is later used by a filter
17:23 impl Isn't the action and view two components? ;p
17:23 Wombert yes
17:23 Wombert but
17:24 Wombert the data passed from view to action
17:24 Wombert now doesn't use the request anymore
17:24 Wombert instead, the info is stored in the action stack entry
17:24 v-dogg impl: eg. to toss around data between one action to another action (after forward)
17:24 impl hmmh
17:24 impl That makes sense I suppose
17:24 Wombert (even though you can give slots and forwards additional request params, too)
17:24 Wombert impl: example
17:25 Wombert $request->setAttribute('populate', false, 'org.agavi.filter.FormPopulationFilter');
17:25 Wombert to prevent re-population of a form from within your view
17:25 impl Oo. Cool.
17:25 Wombert the form population filter reads that value when it runs much, much later
17:25 impl So there are predefined filter request attributes inside their respective namespaces
17:26 Wombert they are not predefined, no
17:26 Wombert undefined ones return null
17:26 Wombert it just tries to read them
17:26 impl Yeah, but the filter assumes a default value then, true? :p
17:26 Wombert yes
17:26 Wombert third argument to getAttribute may be the default value
17:26 impl nods
17:28 foresth impl, I haven't.. I use parameterholder/registry and __set() and __get() methods
17:28 impl :D
17:28 Wombert foresth: what exactly are you trying to achieve?
17:30 foresth impl, what's funny? :)
17:30 foresth Wombert, object variable ($this->foo) created in action will be accessible via $foo in template file
17:30 Wombert you might be putting the cart before the horse there
17:31 impl Funny?
17:31 Wombert foresth: ewwwww that's wrong
17:31 Wombert foresth: if you use $this->setAttribute('foo', 'bar');
17:31 Wombert then it will be available as $template['foo'] in the template
17:31 Wombert AND
17:32 Wombert you can change a setting so it is $foo, not $template['foo']
17:32 Wombert if you want to use $this->foo instead in the action, follow these simple steps:
17:33 Wombert class MyBaseAction extends AgaviAction {
17:33 Wombert public function __set($name, $value) {
17:33 Wombert $this->setAttribute($name, $value);
17:33 Wombert }
17:33 Wombert public function __get($name) {
17:33 Wombert return $this->getAttribute($name);
17:33 Wombert }
17:33 Wombert }
17:33 Wombert then, do
17:33 Wombert class Default_IndexAction extends MyBaseAction
17:33 Wombert instead of
17:33 Wombert class Default_IndexAction extends AgaviAction
17:34 Wombert last step is to use custom build templates so "agavi action" creates classes that extend MyBaseAction automatically
17:34 Wombert info on how to do that is in the manual
17:34 impl The last time I made custom templates I accidentally svn deleted them before I committed them
17:34 impl that was stupid :|
17:37 foresth Wombert, I'm sorry I didn't express myself clearly.. I meant generally, not the exact agavi way
17:37 foresth http://www.symfony-project.com/book/trunk/view
17:37 foresth see the $this->name example
17:37 Wombert well you'd do it the same way there
17:37 Wombert in the view
17:37 Wombert class MyBaseView extends AgaviView
17:38 Wombert and implement __get and __set
17:38 foresth yes I did it
17:38 Wombert no need for parameter holders or anything
17:38 foresth I said I've already figured it out :)
17:38 Wombert also, no hacks needed to have $foo in the template, you can use our "extract_vars" parameter to the renderer to make that happen automatically
17:40 Wombert we don't use magic getters and setters because many people, including myself, don't like them
17:40 Wombert you should never fiddle with members directly
17:40 Wombert that's why we use the methods
17:41 foresth i see
17:41 foresth thanks
17:41 Wombert as you've seen, it's very easy for people to extend the base action and view classes to fit their taste :)
17:50 v-dogg Wombie: did you see my pastings up there ^
17:50 Wombert yes
17:51 Wombert just didn't have time yet
17:51 Wombert will look at it in a minute
17:51 v-dogg sure
17:55 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
18:19 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:57 v-dogg mmm... chocolate..
18:57 Wombert [n=Wombert@dslb-088-064-001-095.pools.arcor-ip.net] has quit [Nick collision from services.]
18:57 Wombert [n=Wombert@dslb-088-064-021-197.pools.arcor-ip.net] has joined #agavi
19:13 Wombert http://www.noradsanta.org/
19:19 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:23 impl Wombert: Promise you'll never have one of these: http://www.google.com/codesearch?hl=en&q=+FactoryFactory
19:23 Wombert ahaha
19:26 v-dogg heh
19:26 Arme[N-11 [n=Arme[N]@80.191.141.180] has joined #agavi
19:27 v-dogg I'm just reading Fowler's PoEAA and thinking that this guy should review Agavi
19:27 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
19:27 Wombert ah
19:27 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
19:27 Wombert patterns are soooo overrated ;)
19:28 Arme[N-11 is now known as Arme[N]
19:28 v-dogg nah :)
19:28 v-dogg people just use them without having a clue :)
19:30 v-dogg argh. why can't windows stop buggering me about rebooting
19:31 Wombert ahaha
19:31 Wombert :>
19:32 Wombert you can disable a service or something
19:32 Wombert to make it go a way
19:32 Wombert sec
19:32 Wombert http://tinyurl.com/pkefc
19:32 Wombert does that work, v-dogg ? :)
19:33 v-dogg I kinda knew what was behind that link. I saw it comming even before I said anything about this :)
19:33 Wombert xDDDD http://www.codinghorror.com/blog/archives/000294.html that should help (I set it to 24 hours or something)
19:33 Wombert harhar
19:33 Wombert :>
19:33 Wombert hugs v-dogg
19:36 v-dogg I made a shortcut for disabling the service :p
19:57 Wombert http://www.royal.gov.uk/output/Page5323.asp
20:40 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
21:15 Fastly [n=fafsa@81-179-110-6.dsl.pipex.com] has quit ["Leaving"]
22:00 JamieWolf [n=JamieWol@X88ae.x.pppool.de] has joined #agavi
22:23 luke` [n=luke`@59.92.134.7] has joined #agavi
22:31 shoan [n=luke`@59.92.130.124] has quit [Read error: 110 (Connection timed out)]
22:44 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:58 impl [n=impl@httpcraft/php/impl] has joined #agavi
23:02 epaulin [n=epaulin@61.191.26.228] has quit [Read error: 104 (Connection reset by peer)]
Day changed Tue Dec 26 2006
00:44 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
01:39 CIA-11 dominik * r1444 /branches/0.11/ (10 files in 3 dirs): (log message trimmed)
01:39 CIA-11 BREAKING CHANGE!
01:39 CIA-11 - Reworked the internal error handling in the validation. Now validators have
01:39 CIA-11 multiple incidents (usually one per failed internal run [one validator
01:39 CIA-11 internally runs multiple times when you give it a base and it has to validate
01:39 CIA-11 more then one field that way). An incident can have multiple errors, which can
01:39 CIA-11 span multiple fields.
01:48 JamieWolf [n=JamieWol@X88ae.x.pppool.de] has quit [Read error: 113 (No route to host)]
02:07 epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:15 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
02:17 epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:45 implement [n=impl@httpcraft/php/impl] has joined #agavi
02:54 impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.]
02:56 benny`work [n=benny@pD954CB6F.dip0.t-ipconnect.de] has quit ["Leaving"]
03:52 luke` [n=luke`@59.92.134.7] has quit [Read error: 110 (Connection timed out)]
03:54 luke` [n=luke`@59.92.132.218] has joined #agavi
04:10 luke`_ [n=luke`@59.92.150.98] has joined #agavi
04:26 luke` [n=luke`@59.92.132.218] has quit [Read error: 110 (Connection timed out)]
04:26 luke` [n=luke`@59.92.156.228] has joined #agavi
04:33 luke`_ [n=luke`@59.92.150.98] has quit [Read error: 110 (Connection timed out)]
04:54 luke`_ [n=luke`@59.92.154.234] has joined #agavi
05:03 luke` [n=luke`@59.92.156.228] has quit [Read error: 110 (Connection timed out)]
05:15 luke` [n=luke`@59.92.154.44] has joined #agavi
05:26 luke`_ [n=luke`@59.92.154.234] has quit [Read error: 110 (Connection timed out)]
06:41 luke` [n=luke`@59.92.154.44] has quit []
09:06 luke` [n=luke`@61.95.206.107] has joined #agavi
09:19 luke`_ [n=luke`@61.95.206.107] has joined #agavi
09:21 luke` [n=luke`@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)]
09:46 luke`_ [n=luke`@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)]
09:47 luke` [n=luke`@61.95.206.107] has joined #agavi
09:53 Wombert [n=Wombert@dslb-088-064-021-197.pools.arcor-ip.net] has quit []
10:29 implement [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:42 foresth [i=foresth@88.146.138.85] has joined #agavi
10:55 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
10:59 eremit_ [n=eremit@p5490F704.dip.t-dialin.net] has joined #agavi
10:59 eremit [n=eremit@p5490D0BD.dip.t-dialin.net] has quit [Nick collision from services.]
10:59 eremit_ is now known as eremit
11:38 epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
11:46 v-dogg huomenta
15:10 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:41 Wombert [n=Wombert@dslb-088-064-021-197.pools.arcor-ip.net] has joined #agavi
17:05 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:11 Arme[N-11 [n=Arme[N]@80.191.141.182] has joined #agavi
17:11 luke` [n=luke`@61.95.206.107] has quit [Read error: 54 (Connection reset by peer)]
17:11 luke` [n=luke`@61.95.206.107] has joined #agavi
17:13 eremit [n=eremit@p5490F704.dip.t-dialin.net] has quit []
17:13 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)]
17:25 Arme[N-11 [n=Arme[N]@80.191.141.182] has quit ["leaving"]
17:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:26 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
17:31 luke` [n=luke`@61.95.206.107] has quit [Read error: 110 (Connection timed out)]
17:53 eremit [n=eremit@p5490F704.dip.t-dialin.net] has joined #agavi
18:10 eremit [n=eremit@p5490F704.dip.t-dialin.net] has quit []
18:57 Wombert [n=Wombert@dslb-088-064-021-197.pools.arcor-ip.net] has quit [Nick collision from services.]
18:57 Wombert [n=Wombert@dslb-088-064-018-126.pools.arcor-ip.net] has joined #agavi
19:35 luke` [n=luke`@59.92.162.113] has joined #agavi
19:44 luke` [n=luke`@59.92.162.113] has quit []
19:52 foresth [i=foresth@88.146.138.85] has joined #agavi
19:52 v-dogg Wombert: you there mate
20:01 Wombert v-dogg: with a headache
20:01 kaos lol @ hetzner btw
20:01 kaos default daily traffic warn limit
20:01 kaos 2gb
20:03 v-dogg I've been writing my bachelors paper here (promised my professor it'd be ready by christmas :p) and at the same time been thinking about agavi's structure
20:05 kaos so you write your bachelors paper about agavi ? xD
20:05 kaos ;p
20:05 v-dogg no, about MVC and PHP apps
20:06 kaos pfft ;p
20:06 kaos next time you write about agavi
20:07 v-dogg how easy is it now to test actions? could we make it easier? eg. can we simulate incomming requests?
20:07 kaos or i will send my evil reindeer forces over to you
20:07 v-dogg haha
20:07 kaos not yet
20:07 kaos this is on the queue for 1.0
20:07 v-dogg calm down, there's a whole paragraph about agavi in my paper :)
20:07 kaos i actually have some ideas
20:07 kaos but we need the infrastructure for that first
20:08 kaos (so, either we go by fully simulating a request, or we do it via some webserver)
20:08 kaos while i personally would prefer the full simulation
20:10 v-dogg I just read about a two-stage controller: first stage parses and digests the input so that the second stage doesn't have to worry about where the input is comming from
20:10 Wombert that's what we have (controller and action)
20:11 kaos to some degree
20:11 v-dogg well... yeah, kinda
20:11 kaos getting request files for example is like quite bound to web and stuff
20:11 v-dogg but our controller (routing and all) is way too complex to be simulated
20:14 v-dogg hm... or maybe not
20:14 kaos well, i would simulate an full http request for testing
20:14 kaos should be way easier
20:15 kaos i think testing actions could be done by defining the http inputs and the stuff the action should set into the view
20:17 Wombert that's functional testing then anyway
20:17 kaos yes, but how would you test actions ?
20:17 kaos you can only test the complete action::execute
20:18 kaos or "nothing"
20:18 v-dogg and an action can, for example, test whether some route was matched or not
20:18 kaos you can do that "manually" actually ;)
20:19 kaos where would be the use of testing a route match in an action ?
20:20 v-dogg sure, but building a test case and the test environment should be easy and simple enough so that (a) not a hell of a lot else can go wrong ie. you are really testing your action and not the framework
20:20 kaos (unless you want to test the entire routing handling in one test)
20:20 v-dogg and (b) you would bother writing it
20:20 kaos well, we would need to provide some tools for testing ofc
20:20 kaos we could easily let the routes be tested via some xml file too
20:21 v-dogg I might want to test some non-stoping route in my action
20:22 kaos then you could define <routeTest><input><url></url></input><result><matchedRoute>...</matchedRoute><ma​tchedAction .. /> </result></routeTest>
20:22 kaos like that ? ;)
20:22 v-dogg not sure what that is supposed to do :)
20:23 kaos i don't see the need to place the code which tests if the route has matched in the action
20:23 kaos you would do that in your test code
20:23 kaos and your test code should not contain any extra actions (imho)
20:23 v-dogg the result of the action depends on a non-stopping route
20:24 v-dogg if it was mathed some code is run, otherwise not
20:24 v-dogg +c
20:24 kaos yeah, but how would you check that in your test code after the action is run ?
20:25 kaos either you place test code directly in your action (very bad ;) or you check something the action does
20:26 kaos which boils down to either using mock objects (which can get quite complex when testing full apps)
20:26 kaos or checking what variables the action set into the view
20:30 v-dogg true
21:12 impl [n=impl@httpcraft/php/impl] has joined #agavi
21:14 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
21:39 foresth [i=foresth@88.146.138.85] has joined #agavi
21:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:27 JamieWolf [n=JamieWol@X863f.x.pppool.de] has joined #agavi
22:39 JamieWolf [n=JamieWol@X863f.x.pppool.de] has quit ["Gone for a Drink"]
22:54 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has joined #agavi
23:12 Fastly v-dogg, do you have an example config handler and config file to parse custom constants with a 0.11 app?
23:12 Fastly i'm suprised there isn't one bundled by default with 0.11
23:13 Wombert 12:06 < v-dogg> Fastly, Wombert: http://pastebin.ca/291532 and an example: http://pastebin.ca/291533
23:13 Wombert 12:06 < v-dogg> $version = AgaviConfig::get('com.myproject.version');
23:13 Wombert 12:09 < v-dogg> though, I don't know if we want to bundle this with agavi or come up with something more versatile
23:13 Wombert 12:10 < v-dogg> but it's clear that we need something because several people have been asking about this
23:14 v-dogg thanks wombie :)
23:15 Wombert v-dogg: help
23:15 Wombert I'm in deep trouble
23:15 Wombert just finished dinner
23:15 Wombert and
23:15 Wombert the headache is away, almost
23:15 Wombert which means perfect coding conditions BUT
23:15 Wombert die hard 3 is on tv, starts _now_
23:15 Wombert what shall I do
23:15 v-dogg haha :D
23:16 v-dogg first tell us did the hair cut do its magic the other night ;)
23:17 Wombert I didn't get laid
23:17 Wombert but
23:17 Wombert I was decently drunk
23:17 Wombert the place was nice
23:17 Wombert the folks were nice
23:18 v-dogg ok :)
23:18 Wombert and I met a rather nice, rather cute girl but I gotta decide
23:18 Wombert if I like her, or not
23:18 Wombert or, rather, get to know her a bit
23:19 v-dogg go for it
23:20 kaos -22:19:51- <Wombert> what shall I do <-- CODE!!!!!!!!!
23:20 kaos :D
23:26 v-dogg he is already by the telly
23:26 Wombert nope
23:26 Wombert :>
23:27 Wombert actually I just wanna see the water tank scene
23:27 Wombert the rest is rather lame
23:27 Wombert did you see the die hard 4 trailer, v-dogg?
23:28 v-dogg no, I don't think so
23:28 Fastly sweet thanks
23:29 Wombert http://www.moviemaze.de/media/trailer/3085/live-free-or-die-hard.html
23:31 v-dogg I'll check it out tomorrow. gotta hit the sack now
23:31 Wombert sure
23:31 v-dogg night
23:31 Wombert nn mate
Day changed Wed Dec 27 2006
00:19 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
01:10 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has quit []
02:39 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has joined #agavi
02:40 Fastly guys, in having trouble registering a custom configuration handler: http://pastebin.ca/292909
02:40 Fastly getting the following errors:
02:40 Fastly XSD Validation of configuration file "D:/httpdocs/ths-v3/app/config/config_handlers.xml" failed, errors reported by DOM:
02:40 Fastly DOMDocument::schemaValidate() [<a href='function.DOMDocument-schemaValidate'>function.DOMDocument-schemaValidate</​a>]: Element 'handler': The attribute 'class' is required but missing.
02:40 Fastly DOMDocument::schemaValidate() [<a href='function.DOMDocument-schemaValidate'>function.DOMDocument-schemaValidate</​a>]: Element 'class': This element is not expected.
02:41 Wombert http://trac.agavi.org/browser/branches/0.11/src/config/defaults/config_handlers.​xml
02:43 Fastly would you recommend working from the HEAD?
02:43 Fastly thanks
02:43 Wombert yeah
02:43 Wombert but branches/0.11
02:43 Wombert not trunk
02:43 Fastly ok
02:45 Fastly do you have examples of the xsd files?
02:45 Wombert they are... uhm... XSD files :)
02:45 Wombert but you don't have to use them
02:46 Fastly for the config handler you showed me in pastebin earlier...
02:46 Wombert http://en.wikipedia.org/wiki/XML_Schema_%28W3C%29
02:46 Wombert yes
02:46 Wombert but
02:46 Wombert omit validate="..." and you're fine
02:46 Fastly sweet
02:46 Wombert if you want to have your config files validated against a schema, you gotta learn xsd ;)
02:47 Fastly ahhh this is a DTD right?
02:47 Fastly i know about this ;-)
02:47 Wombert not exactly, but close, yes
02:47 Fastly sorted
02:48 Wombert there's DTD (that's from the SGML times afaik)
02:48 Wombert XSD
02:48 Wombert RelaxNG
02:48 Wombert schematron
02:48 Wombert etc etc etc
02:48 Wombert http://en.wikipedia.org/wiki/XML_Schema_Language_Comparison
02:50 Fastly ok so now i have: <handler pattern="%core.config_dir%/ths_settings.xml" class="ConfigDirectivesConfigHandler" />
02:50 Fastly previously i had: <class file="%core.app_dir%/lib/ConfigDirectivesConfigHandler.class.php">ConfigDirectiv​esConfigHandler</class>
02:51 Fastly where in the new method do i state where the config handler is?
02:51 Wombert add it to the autoloads
02:51 Fastly cool
02:52 Fastly that worked
02:54 Wombert environment="development" has to go, obviously
02:55 Wombert ooooh snap I have a wicked idea there
02:56 Fastly ok, i'm looking at the convert() method of ConfigDirectiveConfigHander, and it appears the config xml schema should look something like:
02:56 Fastly <settings prefix="ths">
02:56 Fastly <setting name="test">foobar</setting>
02:56 Fastly </settings>
02:56 Fastly ??
02:57 Wombert uh
02:57 Wombert probably, yes
03:01 Fastly i'd then get this by: $this->setAttribute('test', AgaviConfig::get('ths.test'));
03:02 Fastly ... e.g. when passing from a view to the template...
03:02 Wombert yeah
03:02 Wombert I guess
03:10 Wombert http://trac.agavi.org/ticket/374
03:18 Fastly hmm... wildcard support a v.good idea
03:18 Fastly the config file test isn't throwing any errors, just what i placed in the config isn't being created.
03:19 Fastly should the config file be cached?
03:19 Fastly because i searched the cache directory for 'foobar' and couldn't find anything
03:19 Fastly (based upon the above example)
03:20 Fastly config_handler.xml : <handler pattern="%core.config_dir%/ths_settings.xml" class="ConfigDirectivesConfigHandler" />
03:21 Fastly (inside <handlers>
03:21 Fastly autoload.xml : <autoload name="ConfigDirectivesConfigHandler">%core.app_dir%/lib/ConfigDirectivesConfigHa​ndler.class.php</autoload>
03:21 Fastly ConfigDirectivesConfigHandler.class.php unchanged from your pastebin earlier
03:22 Fastly ths_settings.xml as above
03:22 Fastly seems the config data isn't been compiled
03:23 Fastly however self::$handlers['D:/httpdocs/ths-v3/app/config/ths_settings.xml'] = new ConfigDirectivesConfigHandler();
03:23 Fastly self::$handlers['D:/httpdocs/ths-v3/app/config/ths_settings.xml']->initialize(NU​LL, NULL, array (
03:23 Fastly appears in the config_handlers.xml cache
03:23 Fastly and autoload cache
03:24 Wombert do you have debug on?
03:25 Fastly hmm it was off in settings.xmkl
03:27 Fastly ok turned it on
03:28 Fastly but still no new cache file is generated for ConfigDirectivesConfigHandler
03:28 Fastly despite it still appearing the the cachces for autoload and config_handlers
03:29 Wombert uhm
03:29 Wombert okay
03:29 Wombert first, debug on clears the cache dir on each refresh
03:29 Wombert that was my question ;)
03:29 Wombert second, you have to call code that loads the config
03:29 Wombert it's compiled on demand, not on startup
03:30 Fastly oh thought it would happen at startup if present in config_handlers.xml..
03:31 Fastly does the execute() method of ConfigDirectivesConfigHandler not execute automatically
03:31 Fastly in which case it appears to compile the data
03:32 Wombert no
03:32 Wombert how would it know which configs to compile :)
03:32 Wombert AgaviConfigCache::checkConfig('settings.xml'); to load that
03:32 Fastly from config_handlers.xml ?
03:32 Wombert or whatever it is called
03:32 Wombert there may be wildcards
03:34 Fastly hmm... it says
03:34 Fastly Configuration file "D:/httpdocs/ths-v3/app/ths_settings.xml" does not exist or is unreadable.
03:35 Fastly it's in D:\httpdocs\ths-v3\app\config
03:37 Wombert you have to give the proper path, obviously
03:37 Fastly hmm.... AgaviConfigCache::checkConfig("config/ths_settings.xml")
03:37 Fastly gives:
03:37 Fastly Configuration file "D:/httpdocs/ths-v3/app/config/ths_settings.xml" does not have a registered handler
03:37 Fastly <handler pattern="%core.config_dir%/ths_settings.xml" class="ConfigDirectivesConfigHandler" />
03:38 Fastly ^ from config_handlers.xml
03:39 Wombert AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/ths_settings.xml');
03:40 Fastly Fatal error: Argument 1 passed to AgaviConfigHandler::orderConfigurations() must not be null
03:40 Wombert bug in your handler
03:42 Fastly AgaviConfig::get('core.config_dir') = D:\httpdocs\ths-v3\app/config
03:42 Fastly should this matter?
03:42 Wombert do you have <configurations> and <configuration> blocks in the xml
03:42 Fastly yes
03:43 Fastly hmm... i didn't have <?xml version="1.0" encoding="UTF-8" standalone="no"?>
03:43 Fastly in ths_settings.xml
03:44 Fastly maybe this would help
03:44 Wombert not necessary
03:44 Fastly k
03:45 Fastly i'm using branches/0.11 right now
03:45 Fastly Configuration file "D:/httpdocs/ths-v3/app/config/ths_settings.xml" does not have a registered handler
03:46 Fastly http://pastebin.ca/292965
03:46 Fastly this is the config handler - i believe it's unchanged from the one you gave me
03:47 Fastly d'ya know if v-dogg had this handler working?
03:50 Wombert show me all parts of the code
03:50 Wombert configs, calling code etc
03:51 Fastly ok app\lib\ConfigDirectivesConfigHandler.class.php is in pastebin above
03:51 Fastly ths_settings.xml:
03:51 Fastly <?xml version="1.0" encoding="UTF-8" standalone="no"?>
03:51 Fastly <settings prefix="ths">
03:51 Fastly <setting name="test">foobar</setting>
03:51 Fastly </settings>
03:52 Wombert ...
03:52 Wombert as I said, you need <configurations><configuration>
03:52 Fastly http://pastebin.ca/292968
03:52 Fastly isn't that for config_handler.xml?
03:53 Wombert no
03:53 Fastly as in the last pastebin
03:53 Wombert look
03:53 Wombert this <configuration> thing
03:53 Wombert wraps the actual config contents
03:53 Wombert and allows to specify settings per environment and/or context
03:53 Wombert you don't have to do it this way, but v-dogg did :)
03:53 Wombert (have to do it = have to write the handler that way)
03:56 Fastly ok so now ths_settings.xml =http://pastebin.ca/292973
03:57 Fastly still getting
03:57 Fastly Configuration file "D:/httpdocs/ths-v3/app/config/ths_settings.xml" does not have a registered handler
03:57 Fastly when i try: AgaviConfigCache::checkConfig("config/ths_settings.xml")
03:57 Wombert AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/ths_settings.xml');
03:58 Wombert as I said
03:59 Fastly hmm... ok
03:59 Fastly Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '0.0/no DST' instead in D:\httpdocs\ths-v3\app\lib\ConfigDirectivesConfigHand
03:59 Wombert okay
03:59 Wombert then do as it says there
03:59 Fastly 31: $retval = sprintf($retval, date('m/d/Y H:i:s'), $code);
04:00 Fastly is there a timezone identifier there?
04:03 Fastly ok i just added date_default_timezone_set('GMT'); above
04:05 Fastly sweet... now the config is being compiled!! httpdocs_ths-v3_app_config_ths_settings.xml_development_.php
04:05 Fastly includes AgaviConfig::set('ths.test', 'foobar');
04:06 Fastly but for some reason $this->setAttribute('test', AgaviConfig::get('ths.test')); in a view and <?= $template['test'] ?> in a template yields nothings
04:06 Fastly nothing
04:09 Fastly do i need to do anything more to actually get agavi to read the compiled config cache... now it's compiling it at runtime
04:11 Fastly does $this->setAttribute('test', AgaviConfig::get('ths.test')); in a view execute() method look correct to you?
04:12 Fastly hmm... shouldn't it be AgaviConfig::Import in the compiled config?
04:13 Fastly or maybe that's just for arrays of data
04:14 Wombert of course, you have to load the config file before you can use the data defined in it
04:15 Fastly how?
04:16 Fastly i've got AgaviConfigCache::checkConfig(AgaviConfig::get('core.config_dir') . '/ths_settings.xml');
04:16 Fastly so i assume this just creates the compiled config
04:17 Fastly i assume there's a similar method of loading this compiled config, right?
04:18 Wombert no, this loads it
04:18 Wombert the compilation happens on demand
04:18 Wombert the next time it is loaded, the compiled version is used
04:19 epaulin [n=epaulin@61.191.26.228] has joined #agavi
04:19 Fastly hmm... i'm confused, so how do i read these config settings now they have been compiled?
04:19 Fastly AgaviConfig::get('ths.test') didn't wory
04:19 Wombert my bad
04:19 Wombert checkconfig isn't enough of course
04:20 Fastly i'm looking at AgaviConfigParser
04:20 Wombert nah nah
04:20 Wombert not that
04:20 Wombert use import() instaed of checkConfig()
04:21 Fastly SWEEEEEEET!! :-)
04:21 Fastly ok, that for me was a major blocker in my migration to 0.111
04:21 Fastly 0.11
04:22 Wombert it works now?
04:22 Fastly do you recommend using AgaviConfigCache::import(AgaviConfig::get('core.config_dir') . '/ths_settings.xml'); separately in each file that needs it, or is there somewhere i could place this import so the settings are auto-imported and available throughout the code at runtime?
04:23 Wombert you have several options
04:23 Wombert I recommend you do this in config.php
04:23 Fastly e.g. i don't need to import settings.xml to get hold of core.app_name
04:23 Wombert oh no wait
04:23 Wombert uh
04:23 Wombert yeah I know what you mean
04:23 Wombert do it in index.php after bootstrap()
04:24 Wombert or write a custom filter
04:24 Wombert or wait until we come up with something else ;)
04:24 Fastly hmm... i have an idea... how about improving config_handlers.xml
04:24 Wombert it might be a good idea to extend settings.xml so you can have your own stuff
04:24 Fastly e.g: <handler pattern="%core.config_dir%/ths_settings.xml" class="ConfigDirectivesConfigHandler" autoload="true" />
04:25 Wombert it still wouldn't know _which_ file(s) to load
04:25 Fastly hmm...
04:27 Fastly it will know the config handler and the settings xml?
04:27 Fastly ...
04:27 Fastly all AgaviConfigCache::import needs is the path to the settings xml, right?
04:29 Wombert yeah
04:29 Wombert seriously, that's a _code_ thing
04:29 Wombert not gonna happen
04:29 Wombert there is a 1000 ways you can do it
04:29 Wombert and loading a file that can be included but doesn't require a certain context to run in is a super edge case
04:30 Fastly ok, i'll take your word for it and v.happy that i can progress with this migration
04:30 Wombert :)
04:30 Fastly thanks so much for your help and apologies for having to ask so many questions
04:30 Wombert if you don't like the index.php thing you could also write a filter that loads the data or whatever
04:30 Wombert but as I said
04:31 Wombert it might be wise of us to add support for
04:31 Wombert <settings prefix="whatever">
04:31 Fastly i'm gradually getting to grips with all the 0.11 improvements
04:31 Wombert to settings.xml
04:32 Fastly yeah
04:32 Fastly however maybe it's a good idea too to separate the user generated and core settings files
04:32 Fastly custom_settings.xml may be an idea?
04:32 Fastly with the same schema as settings.xml
04:32 Fastly including prefix
04:33 Wombert mmmh not so sure bout that
04:33 Wombert I think one file is enough
04:33 Wombert we have too many configs already
04:33 Wombert kaos?
04:34 Fastly i suppose this is only autogenerated the once right...
04:34 Fastly if you're using the agavi command line prog
04:34 kaos that prefix thing should be added, yes
04:34 kaos its just a small thing too
04:35 Wombert will do it
04:36 Fastly well guys, thanks so so much - i'm off to bed.
04:36 Fastly Wombert, you're a legend.
04:36 Wombert ah yeah I should go to bed, too ;)
04:36 Wombert heh thank you
04:36 Wombert see you tomorrow then!
04:36 Wombert and nevermind the asking
04:36 Wombert that's why we're here
04:37 Fastly once my knowledge grows i'd me more than happy to help answering questions and contributing docs etc..
04:37 Fastly just getting my head around the various changes
04:37 Fastly goodnight
04:37 Fastly [n=Fastly@81-179-110-6.dsl.pipex.com] has quit []
05:38 luke` [n=luke`@59.92.154.78] has joined #agavi
05:59 luke`_ [n=luke`@59.92.202.34] has joined #agavi
06:01 luke`_ [n=luke`@59.92.202.34] has quit [Client Quit]
06:09 luke` [n=luke`@59.92.154.78] has quit [Read error: 110 (Connection timed out)]
06:26 luke` [n=luke`@59.92.174.24] has joined #agavi
06:32 Wombert [n=Wombert@dslb-088-064-018-126.pools.arcor-ip.net] has quit []
06:35 epaulin [n=epaulin@61.191.26.228] has quit [Remote closed the connection]
07:13 luke` [n=luke`@59.92.174.24] has quit []
07:31 epaulin [n=epaulin@to-dress.dc.rinet.ru] has joined #agavi
08:01 v-dogg huomenta
08:10 luke` [n=luke`@61.95.206.107] has joined #agavi
09:13 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
09:13 foresth [i=foresth@88.146.138.85] has joined #agavi
09:16 luke`_ [n=luke`@61.95.206.107] has joined #agavi
09:16 luke` [n=luke`@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)]
09:25 epaulin [n=epaulin@to-dress.dc.rinet.ru] has quit [Remote closed the connection]
09:50 codecop [n=codecop@85.206.216.13] has joined #agavi
11:26 codecop [n=codecop@85.206.216.13] has quit ["Have to go"]
11:31 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
11:36 foresth [i=foresth@88.146.138.85] has joined #agavi
13:01 Wombert [n=Wombert@dslb-088-064-018-126.pools.arcor-ip.net] has joined #agavi
13:37 eremit [n=eremit@p5490C4C5.dip.t-dialin.net] has joined #agavi
15:16 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
15:21 foresth [i=foresth@88.146.138.85] has joined #agavi
15:54 kaos changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11 RC 1 :: www.agavi.org :: we're moving servers, so expect failures, downtime, etc :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
15:55 v-dogg :-o
15:56 kaos trac.agavi.org
15:56 kaos the first effect ;)
15:57 v-dogg alrighty
15:57 kaos oh, and svn checkins are disabled
15:57 kaos but i doubt anybody cares bout that ;)
15:58 v-dogg I was just about to... ;9
15:58 v-dogg )
15:59 kaos sure :D
15:59 kaos switch to svn.agavi.bitxtender.net then ;p
15:59 v-dogg ok... :D
16:13 v-dogg wtf... why does string validator imply min=0?
16:13 v-dogg er.. min=1
16:23 eremit [n=eremit@p5490C4C5.dip.t-dialin.net] has quit []
16:27 kaos because min=0 means value not set means the validator will not be run
16:27 kaos err
16:27 kaos if the stringlength=0
16:30 kaos one solution is required=false
16:31 kaos or i can change the validator now that it can handle that case
16:32 v-dogg yep, required is not handled at the moment
16:32 v-dogg that's what confused me. I had max=50, no min and required false
16:33 v-dogg and I thought '' would pass the validation
16:39 kaos hmm
16:39 kaos it should
16:48 kaos and now to the funny thing ... configuring exim in a way which allows a central mail server and forwarding to local mail servers (for the mailing lists ....) thats fun ^^
16:49 v-dogg configuring exim is always <33
16:49 kaos oh yeah :D
16:49 kaos the first time i set exim up i was following an howto
16:49 kaos maybe 5-6 printed pages
16:49 kaos took me 3 days
16:49 kaos xD
16:50 v-dogg I have browsed thru such a how-to one time and decided not to even try :)
16:50 kaos hehe
16:50 kaos well, it still works :D
16:50 kaos and that was 3 years ago or so
16:51 kaos did some changes, but the base system is still from that tutorial
16:51 kaos but exim is really cool
16:51 kaos i will just add some new field to the database to power the forwards i need for the mailing lists
16:51 kaos and exim config is rather programming exim ;)
16:51 kaos you know where pcre has its origins ?
16:52 v-dogg no
16:53 kaos exim ;)
16:53 v-dogg ok :)
16:53 kaos exim configs are really powerful
16:54 kaos even the "system file" lookups are done in the config
16:54 kaos but the "syntax" (if you can call that strange thing a syntax :P) is really confusing :D
16:55 kaos condition = ${if eq{} {${lookup mysql {SELECT username FROM users WHERE username='$local_part' AND domainname='$domain' AND status='1'}}}{no}{yes}}
16:55 kaos xD
17:30 luke`_ is now known as shoan
17:30 shoan hey guys
17:30 Wombert y0y0y0
17:30 shoan h0h0h0h0
17:39 shoan [n=luke`@61.95.206.107] has quit []
17:40 luke` [n=luke`@61.95.206.107] has joined #agavi
17:40 luke` is now known as shoan
18:08 v-dogg wooot
18:30 Wombert y0
18:35 kaos yay
18:35 kaos my evil mail setup plan seems to work
18:35 kaos :]
18:38 v-dogg kaos ze evil elektronische post configuratz0r
18:39 Wombert [n=Wombert@dslb-088-064-018-126.pools.arcor-ip.net] has quit [Nick collision from services.]
18:39 Wombert [n=Wombert@dslb-088-064-002-033.pools.arcor-ip.net] has joined #agavi
18:39 kaos hrhr
18:42 shoan [n=luke`@61.95.206.107] has quit [Read error: 110 (Connection timed out)]
18:56 codecop [n=codecop@85.206.216.13] has joined #agavi
20:02 impl [n=impl@httpcraft/php/impl] has joined #agavi
22:51 codecop [n=codecop@85.206.216.13] has quit ["Have to go"]
23:12 forda [i=foresth@88.146.138.85] has joined #agavi
23:30 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
Day changed Thu Dec 28 2006
00:09 forda [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
03:23 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
03:30 luke` [n=luke`@59.92.174.24] has joined #agavi
03:37 impl [n=impl@httpcraft/php/impl] has joined #agavi
04:15 epaulin [n=epaulin@61.191.26.228] has joined #agavi
04:33 luke` is now known as shoan
04:49 shoan is now known as luke`
04:49 Wombert LUKE
04:49 Wombert I
04:49 Wombert AM
04:49 Wombert YOUR FATHER
04:51 luke` :p
04:51 Wombert OBI-WAN DIDN'T TELL YOU, DID HE
04:54 luke` Finally registered the nick :)
04:55 Wombert I like shoan better :<
04:56 luke` heh! Its still shoan underneath ;)
05:26 luke`_ [n=luke`@59.92.199.61] has joined #agavi
05:28 luke` [n=luke`@59.92.174.24] has quit [Read error: 60 (Operation timed out)]
05:33 luke`_ [n=luke`@59.92.199.61] has quit []
06:03 Wombert slaps impl
06:03 Wombert vacations?
06:03 impl whu
06:07 Wombert http://www.box.net/
06:07 Wombert awesome
06:07 Wombert ( http://uneasysilence.com/archive/2006/05/6433/ )
06:33 Wombert [n=Wombert@dslb-088-064-002-033.pools.arcor-ip.net] has quit []
09:01 eremit [n=eremit@p5490C4C5.dip.t-dialin.net] has joined #agavi
09:04 v-dogg huomenta
09:06 luke` [n=luke`@61.95.206.107] has joined #agavi
09:20 eremit morn ...
09:22 ttj Mornin'.
09:52 foresth [i=foresth@88.146.138.85] has joined #agavi
09:56 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:35 v-dogg offs... our isp ordered a ssl cert for our www-server so that clients (browsers) would stop bithcing about the self-signed cert
10:36 v-dogg ...and of course they managed to get the cert from an issuer which is not trusted by nokia's phones
10:52 epaulin [n=epaulin@61.191.26.228] has quit [Read error: 60 (Operation timed out)]
10:58 eremit_ [n=eremit@p5490E3E1.dip.t-dialin.net] has joined #agavi
11:07 eremit [n=eremit@p5490C4C5.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:10 eremit_ is now known as eremit
11:46 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
12:46 foresth [i=foresth@88.146.138.85] has joined #agavi
14:19 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
14:19 Whisller hi :)
14:28 v-dogg good day
14:28 Whisller hmmm
14:30 Whisller very dark
14:30 Whisller I hate this weather
16:07 Wombert [n=Wombert@dslb-088-064-002-033.pools.arcor-ip.net] has joined #agavi
16:29 Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"]
18:12 luke` [n=luke`@61.95.206.107] has quit [Read error: 110 (Connection timed out)]
18:24 digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi
18:31 Wombert okay guys
18:31 Wombert DNS has been updated, flush your caches, then the new server should work
18:38 Wombert changed the topic of #agavi to: Welcome to Agavi :: servers moved, use "ipconfig /flushdns" (Win), "lookupd --flushcache" (OS X) or "/etc/rc.d/init.d/nscd restart" to force DNS updates :: latest: 0.11 RC 1 :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/mi
18:39 digitarald hey guys, any news since 22th?
18:39 Wombert [n=Wombert@dslb-088-064-002-033.pools.arcor-ip.net] has quit [Nick collision from services.]
18:39 Wombert [n=Wombert@dslb-088-064-005-161.pools.arcor-ip.net] has joined #agavi
18:40 Wombert changed the topic of #agavi to: Welcome to Agavi :: servers moved, use "ipconfig /flushdns" (Win), "lookupd -flushcache" (OS X) or "/etc/rc.d/init.d/nscd restart" to force DNS updates :: latest: 0.11 RC 1 :: www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/mi
18:52 digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
19:10 luke` [n=luke`@59.92.176.64] has joined #agavi
19:21 OpenGeek [n=OpenGeek@ip68-109-210-136.lu.dl.cox.net] has joined #agavi
19:24 luke` [n=luke`@59.92.176.64] has quit []
19:44 Wombert OOOH SNAP
19:45 Wombert HOLY MOTHER OF GOD :>>> this is so sexy
19:45 ttj What is?
19:47 Wombert the new execution flow stuff
19:47 Wombert no more actionstack bullshit
19:47 impl [n=impl@httpcraft/php/impl] has joined #agavi
19:47 Wombert this gives some pretty nice new abilities
19:47 Wombert at least I hope so
19:48 Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11 RC 1 :: server transition complete (flush DNS cache if necessary) :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: http://trac.agavi.org/milestone/0.11 :: irc logs http://users.tkk.fi/~tjorri/agavi/logs/
19:50 Wombert Could not find Action "___________" for module "Default"
19:51 Wombert eww
19:51 Wombert ah
19:51 Wombert haha
19:51 Wombert is stupid
19:51 impl * pipp (n=chatzill@216.166.138.2) has joined #symfony
19:51 impl <pipp> hello friendly symfonoids
19:51 impl WE NEED A TRENDY NAME LIKE THAT
19:51 Wombert agavians?
19:51 Wombert <:
19:51 impl Agavarians
19:52 Wombert plus we're beyond where you have to be trendy or anything
19:52 impl It's never too late to be trendy
19:52 ttj Yeah, we have classic style.
22:40 Wombert Welcome to the Agavi Sample Application
22:40 Wombert woooot!
22:40 Wombert dances
22:55 v-dogg tell us
22:56 Wombert action stack thrown out
22:56 Wombert and everything works like a charm
22:56 Wombert but I still gotta change some things
22:56 Wombert example
22:56 Wombert if a view returns something to forward to...
22:56 Wombert should that happen globally?
22:56 Wombert or for that slot
22:58 v-dogg pkefc
22:59 v-dogg everyone here should already recognize that
22:59 v-dogg do you?-)
22:59 v-dogg http://tinyurl.com/pkefc
22:59 Wombert xDDDD
22:59 Wombert and what is that supposed to tell me
23:00 Wombert did you read that in the email? xDDD
23:00 v-dogg yes :)
23:00 v-dogg from now on when somebody is having troubles with their computers you can just say: pkefc
23:00 Wombert xDD
23:01 v-dogg that almost sounds like a little annoying sigh :)
23:04 Wombert re
23:04 Wombert well
23:04 Wombert I guess it annoys you guys more than me
23:04 Wombert I get a kick out of it every time I pull it ;)
23:04 Wombert anyway
23:04 kaos can you change the uid of a script in bash ? O_o
23:04 Wombert hmmm
23:04 Wombert this forward stuff
23:04 Wombert sucks
23:04 kaos someone has a clue ? :D
23:04 Wombert slaps eremit
23:04 Wombert he would know
23:05 v-dogg kaos: pkefc!
23:05 kaos :D
23:05 Wombert that would be one solution xD
23:05 v-dogg oh but wait, that's mac stuff!
23:05 v-dogg mac == linux :O
23:05 Wombert mac >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> linux
23:05 kaos well, the same problem would occur on a mac tho ;p
23:06 Wombert it's teh power of unix without ze suck
23:06 kaos since its open source shit :P
23:07 v-dogg haha
23:07 ttj Wombiezombie is spreading FUD. :-/
23:07 v-dogg mm... fudge
23:11 Wombert :>>>
23:11 Wombert I need _the_ idea to rework forward() so it doesn't deal with this global response shit anymore
23:11 Wombert but I don't know how :<
23:14 v-dogg any news on ze layout guy?
23:14 Wombert ah
23:14 Wombert nope
23:14 Wombert slaps splatch
23:14 Wombert you there mate?
23:16 foresth windows > mac > linux
23:16 foresth :>>>
23:17 Wombert falls over
23:27 v-dogg fight!
23:28 v-dogg let me now who won, I'm going to bed
23:28 v-dogg n
23:28 Wombert nn
23:28 ttj Compaq Tru64 UNIX V5.1B (Rev. 2650), babeh!
23:29 Wombert that sounds pretty crappy
23:29 ttj :P
23:29 Wombert ;)
23:29 ttj SunOS 5.8? Eww...
23:30 ttj 5.10...
23:49 eremit kaos: can you change the uid of a script in bash ? O_o
23:49 eremit ^^ chown ?
23:49 kaos no
23:49 kaos of the running script
23:49 kaos but i solved it already ;)
23:49 kaos doesn't work like i want it to :D
23:50 Wombert eremit: problem was that mailman's cgi wrapper script must run as www-data
23:50 Wombert but the web server runs as "agavi"
23:50 Wombert and well
23:50 Wombert lunix showed it's crappiness again ^^
23:59 eremit nothing must run as something in linux env's ,,,
Day changed Fri Dec 29 2006
00:00 Wombert eats yet another hanuta
00:05 ttj eats chocolate.
00:13 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
00:36 Wombert ttj: I got this everything-is-boring-which-makes-me-depressed thing going again
00:38 ttj Well, it's the end of the year...
00:38 Wombert wtf is that supposed to mean
00:39 ttj I always get a bit depressed at the end of December, since I always unconsciously do some introspection and notice how the past year sucked, again.
00:40 Wombert awww come on
00:40 ttj Well, go read some bullshit that the guys at Gartner write. It'll make you feel better.
00:40 Wombert whenever I get in a bad mood... it seems to be for no reason
00:40 Wombert which is even more depressing
00:41 ttj http://www.allpeers.com/blog/2006/04/05/a-conversation-with-mark-tluszcz/
00:45 Wombert how could a VC jackass make me feel better
00:45 ttj A VC jackass? :P
00:45 ttj The guy made 180 million by just backing Skype. Hardly a jackass. Or at least a lucky jackass. :P
00:47 Wombert allpeers
00:47 Wombert is that this weird firefox plugin?
00:47 ttj No idea.
00:48 Wombert anyway, it bores the hell out of me xD
00:48 ttj Well, get drunk and stop complaining?
00:50 Wombert ah yes right that would be issue #2
00:50 Wombert nobody is in the mood today
00:50 ttj So?
00:50 Wombert and I don't wanna get drunk alone
00:50 Wombert so...
02:01 OpenGeek [n=OpenGeek@ip68-109-210-136.lu.dl.cox.net] has quit ["Trillian (http://www.ceruleanstudios.com"]
02:30 epaulin [n=epaulin@61.191.26.228] has joined #agavi
03:17 MrJeep [n=MrJeep_@24.122.39.195] has joined #agavi
03:18 MrJeep hi
03:18 Wombert hi MrJeep
03:18 MrJeep what's up ?
03:18 Wombert not much
03:18 Wombert I was about to go to bed, so if you have a question...
03:19 Wombert shoot! :)
03:19 MrJeep hehe, I don't have any questions. I was just hanging around on mirc
03:19 MrJeep see if anyone had a good christmast time
03:22 MrJeep [n=MrJeep_@24.122.39.195] has left #agavi []
03:22 MrJeep [n=MrJeep_@24.122.39.195] has joined #agavi
03:22 MrJeep well
03:22 MrJeep I don't want to hold you longer
03:22 Wombert yeah I had a good time during the christmas days
03:22 Wombert I hope you, too
03:50 Wombert [n=Wombert@dslb-088-064-005-161.pools.arcor-ip.net] has quit []
03:59 MrJeep [n=MrJeep_@24.122.39.195] has quit [Read error: 113 (No route to host)]
04:28 kaos- [n=kaos@ppp-82-135-5-135.dynamic.mnet-online.de] has joined #agavi
04:44 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
04:46 kaos- [n=kaos@ppp-82-135-5-135.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)]
04:46 kaos [n=kaos@ppp-82-135-5-135.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)]
05:33 luke` [n=luke`@59.92.176.64] has joined #agavi
05:36 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
05:36 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
06:28 kaos [n=kaos@ppp-62-245-160-215.dynamic.mnet-online.de] has joined #agavi
07:29 luke` [n=luke`@59.92.176.64] has quit []
07:43 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
08:14 v-dogg huomenta
08:28 luke` [n=luke`@61.95.206.107] has joined #agavi
08:47 foresth [i=foresth@88.146.138.85] has joined #agavi
09:05 impl [n=impl@httpcraft/php/impl] has quit [Read error: 104 (Connection reset by peer)]
09:05 impl [n=impl@httpcraft/php/impl] has joined #agavi
09:16 forda [i=foresth@88.146.138.85] has joined #agavi
09:47 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
10:10 Wombert [n=Wombert@dslb-088-064-005-161.pools.arcor-ip.net] has joined #agavi
10:12 Wombert y0y0y0
10:14 v-dogg hey
10:16 v-dogg how's the new exec flow coming together?
10:18 Wombert mmmh
10:19 Wombert well I had an idea for the last remaining issue
10:19 Wombert it's not perfect, but I'm not sure there is a better way
10:19 Wombert anyway, shower ->
10:33 epaulin [n=epaulin@61.191.26.228] has quit [Read error: 110 (Connection timed out)]
10:47 forda [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
10:49 Wombert I have the distinct feeling that this day will see a lot of commits :)
10:53 v-dogg \o/
10:57 eremit_ [n=eremit@p5490DE65.dip.t-dialin.net] has joined #agavi
11:07 eremit [n=eremit@p5490E3E1.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:18 Wombert well
11:18 Wombert maybe this day isn't so cool after all
11:18 Wombert I can out of apricot jam
11:19 Wombert which is absolutely necessary to get started with coding in the morning
11:19 Wombert and for some odd reason the coffee tastes like crap
11:19 Wombert literally.
11:19 Wombert oO
11:19 Wombert impl: still awake?
11:19 Wombert "I ran out of..." of course
11:43 Wombert http://www.zefrank.com/theshow/archives/2006/12/122806.html
12:21 Wombert I have to say
12:21 Wombert I really like "port"
12:22 Wombert it does, for some reason, take the "suck" out of *nix
12:38 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
13:10 Arme[N] is now known as Arme[
13:10 Arme[ is now known as Arme[N]
13:29 eremit_ is now known as eremit
13:56 foresth [i=foresth@88.146.138.85] has joined #agavi
14:13 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
14:24 digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi
14:31 Wombert You just found the #1 place to buy nonsense at low prices!
14:31 Wombert mmmmhmmm
14:31 Wombert this works very well
14:31 Wombert and should consume less memory, too
14:33 v-dogg very cool
14:33 Wombert yep
14:33 digitarald Morning fellows
14:33 Wombert action attributes are now set directly on the execution container
14:33 Wombert and the view uses these, too
14:33 Wombert no more tossing data around
14:34 Wombert I'll now move the render mode stuff to the containers as well
14:34 Wombert after that, decorators inside decorators should be possible
14:34 digitarald i hope u had a nice christmas/hanukkah
14:34 v-dogg what new features this well enable? forwarding within a slot?
14:34 Wombert also, filter chains are now initialized using the context again, not using the response
14:34 Wombert v-dogg: yes, that will work, too
14:34 v-dogg nice
14:34 digitarald working on the new execution flow?
14:35 Wombert also, you do $filterChain->execute($container) now (Filter::execute(AgaviFilterChain, AgaviExecutionContainer)
14:35 Wombert that way, you can swap the execution context on the fly and redirect somewhere during a filter run
14:35 Wombert not sure if there's a use case for that yet, tho
14:35 Wombert I'll see if I can build the security filter that way
14:35 Wombert it would then do it's job without a forward
14:36 Wombert anyway, the only real issue left is handling forwards() regarding the response
14:36 Wombert merge it back into the global response, append it, stuff like that
14:37 v-dogg puuuuuuuuh
14:37 Wombert there is not really a proper way to do it, unfortunately, but I have a rather good idea already, will see if that works out
14:37 Wombert the problem is that right now, if render mode is RENDER_VAR, nothing is done, and otherwise, the response from the container is appended to the global response inside forward()
14:37 Wombert which sucks because... well this appending shit sucks
14:37 Wombert and
14:37 v-dogg it's been an extremely busy week. I'm beat
14:38 Wombert it couples the filter chain run, which per se is decoupled from forward once executed, back to forward()
14:38 Wombert same with the dispatching...
14:38 Wombert I don't like it, but I can't imagine something better either
14:38 Wombert maybe I'll move all the forward() code into ForwardingFilter
14:38 Wombert hmm yeah that is a pretty good idea actually
14:38 Wombert ponders that
14:39 v-dogg anything I can help with? I decided not to do _any_ work anymore this year :)
14:39 Wombert hmh no
14:39 Wombert that sucks
14:39 Wombert heh, very wise of you ;)
14:39 Wombert not much right now
14:39 v-dogg well, almost nothing :)
14:39 Wombert have a look at the validation stuff if you like
14:39 Wombert and see if kaos did it right this time
14:40 Wombert splatch: ping
14:42 splatch pong
14:42 v-dogg what about writing docs
14:42 Wombert splatch: have you heard from darek lately? :)
14:42 Wombert I emailed him but he didn't answer yet
14:42 splatch Wombert: yes
14:44 splatch Wombert: he will wrote to you today
14:44 Wombert splatch: awesome :) thanks
14:44 splatch Wombert: btw I've idea
14:44 splatch or feature request
14:44 splatch for 1.0
14:44 Wombert I emailed him last week or the week before or so with ICQ logs in case he forgot what we were talking about :)
14:45 Wombert shoot!
14:45 v-dogg javascript helper!
14:45 splatch at now config files and XML Schemas haven't namespaces, but for java and eclipse integration I need files with namespaces
14:45 digitarald :D
14:45 splatch to bind data from XML to Java beans
14:46 digitarald javascript helpers for prototype?
14:46 splatch digitarald: yes, we need us! :)
14:46 v-dogg AgaviView::addJavascript
14:46 Wombert splatch: hmmm
14:46 digitarald i have this implemented
14:46 Wombert no, no, no, AgaviAction::setJavascriptOpenTag();
14:46 Wombert xD
14:46 digitarald addCss, addJavascript, addJavascriptInline
14:46 Wombert holy
14:46 Wombert shit
14:47 Wombert I need admin rights on this channel :< now :<
14:47 Wombert splatch: any idea how that works with xml schema?
14:47 digitarald i want ajaxactions :)
14:47 Wombert i.e. how do I allow arbitrary namespaces
14:47 v-dogg had bob vanished totally?
14:47 Wombert v-dogg: nope, not at all, he emailed me yesterday
14:47 v-dogg ok
14:47 Wombert only took a handful of hours until he changed the DNS entries
14:47 splatch Wombert: yes, config handlers must base on namespaces not on tag names
14:47 Wombert that's why the server move went so smooth
14:48 Wombert splatch: hmm but how do I know the namespace in the xml schema
14:48 Wombert or how does that work
14:48 Wombert because I can do
14:48 splatch Wombert: targetNamespace="my-namespace"
14:48 splatch and tns: prefix
14:48 splatch to use in types
14:48 Wombert <foobar:configurations xmlns:foobar=".......">
14:48 Wombert <foobar:configuration>
14:48 splatch <element name="validators" type="tns:Validators" />
14:48 Wombert right?
14:49 Wombert ewwww but doesn't that require we use "tns" in config files everywhere
14:49 splatch no
14:49 splatch <c:configurations xmlns:c="..."><configuration>
14:49 splatch childs without prefix
14:50 splatch Wombert: can Agavi Integration Tools for Exlipse be commercial?
14:50 Wombert uuuuh
14:50 Wombert why?
14:51 splatch complex support and integration with framework
14:52 Wombert hm
14:52 Wombert yeah but why make it commercial? ;)
14:52 splatch commercial = one license for 5 euro
14:53 splatch I make it commercial because i must learn eclipse :)
14:53 Wombert scratches head
14:54 Wombert if you don't know eclipse, that's one more reason against making it commercial ;)
14:54 splatch Wombert: i know basic fundaments
14:54 splatch but i can create views and preference pages
14:54 splatch problem is editors
14:55 Wombert yeah but still, why not make it open source
14:55 Wombert we could bundle an eclipse integration package
14:55 Wombert or make it available as a separate download on the website
14:55 splatch 30 day trial? :)
14:55 Arme[N] or it could be in AgaviForge :)
14:56 Wombert you're free to do whatever you like, splatch, but I don't see the point in making it commercial
14:56 Wombert it's not much value
14:56 Arme[N] btw, hi and merry christmas :)
14:56 Wombert all you could do is automate action/view/template creation and stuff like that
14:56 Wombert right?
14:56 v-dogg anyone know any php5 wiki translators?
14:57 Wombert zomg he used the w word
14:57 Wombert v-dogg: what do you mean?
14:57 Wombert markup compilers?
14:57 v-dogg yep
14:57 splatch Wombert: support for editing all config files, templates editing and others
14:57 Wombert splatch: but I can edit the templates already with eclipse?
14:58 Wombert or the config files
14:58 splatch yes, but not with agavi code assistant
14:58 Wombert "agavi action" :p
14:58 splatch Wombert: plugins can be open source, but i want to "contributor" been a code-house
14:58 Arme[N] v-dogg: the only one I know is Text_wiki in PEAR but it is PHP4 :(
14:58 v-dogg Arme[N]: and afaik it sucks :)
14:59 v-dogg tried it sometime ago
14:59 Wombert v-dogg: markdown or ReStructured text
14:59 digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
14:59 Wombert splatch: mmmh I still don't see much point in it
14:59 Wombert people can use the xsds to validate the configs at runtime
15:00 Wombert and everything else is just plain php
15:00 splatch as i said, plugins can be open source
15:06 Wombert ponders
15:06 Wombert how about throwing away forward()
15:06 Wombert and having ExecutionContainer::execute()
15:07 Wombert that would be rather cool
15:07 Wombert I think
15:07 Wombert you could run actions etc when and whereever you like
15:07 Wombert (almost)
15:07 Wombert hmmmmm
15:07 Wombert i like that
15:07 Wombert who else likes that
15:07 Wombert v-dogg ?
15:11 v-dogg sounds nice
15:12 Arme[N] how Wombert?
15:12 v-dogg how would forwarding work then?
15:12 Wombert you wouldn't forward anymore
15:12 Wombert you construct an execution container and run it
15:12 Wombert it wraps the entire execution flow
15:12 Wombert like forwrad() used to
15:13 Wombert appending the response to another one or so would be your job then
15:13 Wombert forwarding from the view would work the same, by returning an array
15:13 v-dogg so I could, in a View, execute another action and use it's output?
15:14 Wombert this exec flow change doesn't break much code anyway... only the action stack is gone, your filters have to be changed slightly (new signatures) etc
15:14 Wombert no, you couldn't right now, because of the old request::getParaemteters locking thing
15:14 Wombert but we could find a way
15:14 v-dogg so how would I forward?
15:15 Wombert like now, return array('Module', 'Action');
15:15 Wombert from the view
15:15 Wombert I think
15:15 Wombert not 100% sure about it
15:15 v-dogg that's what I wanted to hear :)
15:15 Wombert if there is a better way, we can change that, too
15:15 Wombert if I can find a safe way to prevent direct access to the request inside action and view, we could add action chains
15:16 Wombert I was thinking, for instance, that you don't create the exec container directly, but rather grab a fresh instance from the context
15:16 Wombert this instance would have a non-public key it can use to access the request
15:17 Arme[N] hmm, interesting
15:20 splatch Wombert: huh, i forgot, I must wrote OPT renderer :)
15:20 Wombert heh
15:20 Wombert splatch: wait a bit until I'm done with this stuff
15:20 Wombert I'm changing the renderers, too
15:22 splatch Wombert: ok, give me a singnall when renderers will be ready
15:22 Wombert splatch: sure
15:22 Wombert I think I'll finish everything today
15:22 Wombert we could then merge the branch back tonight or tomorrow
15:29 v-dogg hey, this markdown thingy is nice
15:33 Arme[N] hmmm
15:33 Arme[N] http://en.wikipedia.org/wiki/Comparison_of_lightweight_markup_languages
15:33 Arme[N] http://bluebones.net/2005/02/humane-text-formats/ too
15:33 splatch time to go
15:34 splatch byt everyone!
15:34 Wombert bye splatch
15:34 Wombert textile.... just sucks
15:34 Wombert I don't like restructured text because links are VERY very ugly
15:34 Wombert markdowhn is a little better
15:36 Arme[N] it seems there is a HTML import tool for markdown
15:37 Wombert http://www.michelf.com/projects/php-markdown/
15:38 Wombert the exytras package allows tables and footnotes and stuff,too
15:38 Wombert very nice
15:40 Arme[N] yeah in http://www.michelf.com/projects/php-markdown/extra/
15:40 Arme[N] really nice
15:40 v-dogg yep, that's what I'm using now
15:43 Arme[N] http://www.usemod.com/cgi-bin/mb.pl?WikiMarkupStandard
16:03 digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi
16:14 foresth [i=foresth@88.146.138.85] has joined #agavi
16:39 digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
16:40 CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
16:40 digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi
16:43 CIA-11 [i=cia@cia.navi.cx] has joined #agavi
16:55 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
17:06 Wombert [n=Wombert@dslb-088-064-005-161.pools.arcor-ip.net] has quit []
17:06 Wombert [n=Wombert@dslb-088-064-005-161.pools.arcor-ip.net] has joined #agavi
17:13 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
17:31 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
17:39 foresth [i=foresth@local.hide-forest.net] has joined #agavi
17:44 foresth [i=foresth@local.hide-forest.net] has quit [Client Quit]
17:58 foresth [i=foresth@88.146.138.85] has joined #agavi
18:25 forda [i=foresth@88.146.138.85] has joined #agavi
18:34 luke` [n=luke`@61.95.206.107] has quit [Read error: 110 (Connection timed out)]
18:40 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
18:41 Wombert [n=Wombert@dslb-088-064-005-161.pools.arcor-ip.net] has quit [Nick collision from services.]
18:41 Wombert [n=Wombert@dslb-088-064-001-003.pools.arcor-ip.net] has joined #agavi
18:41 foresth [i=foresth@88.146.138.85] has joined #agavi
18:42 eremit [n=eremit@p5490DE65.dip.t-dialin.net] has quit []
18:44 forda [i=foresth@88.146.138.85] has quit [Read error: 145 (Connection timed out)]
18:53 digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
19:19 impl Wombert: I am now ;p
19:20 impl (eight hours later)
19:21 foresth which irc client do you use on mac?
19:28 Wombert foresth: www.colloquy.info
19:30 Wombert foresth: http://osx.iusethis.com/tag/irc
19:46 Arme[N] is now known as Arme[0]
20:04 Arme[0] is now known as Arme[N]
20:27 digitarald [n=Miranda@62-43-147-129.user.ono.com] has joined #agavi
20:35 Arme[N] is now known as Arme[0]
21:23 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
21:33 digitarald [n=Miranda@62-43-147-129.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
21:51 MrJeep_ [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #Agavi
21:52 MrJeep_ hi
21:52 MrJeep_ is there some doc on agavi about installing phing ?
22:19 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
22:24 Wombert MrJeep: pear install channel://pear.phing.info/phing
22:24 Wombert you mgith need pear config-set auto_discover 1 first
22:40 luke` [n=luke`@59.92.139.175] has joined #agavi
23:40 foresth Wombert, any news from agavi webdesigner?
23:47 Wombert no
23:56 foresth unfortunate :|
23:58 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
Day changed Sat Dec 30 2006
00:34 Wombert http://www.autoblog.com/2006/12/29/more-ad-fights-bmw-sends-jags-tail-between-le​gs/
01:13 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
02:22 Wombert impl: ping
02:22 impl pong
02:23 Wombert you might be delighted to hear that I'm working on the ability to bring back action chains
02:23 impl :D
02:23 impl is quite delighted
02:25 Wombert impl: a question tho
02:25 Wombert or
02:25 Wombert can you show me a view that uses chains
02:25 Wombert (m2)
02:26 impl Sure
02:27 impl http://pastebin.ca/296185
02:28 Wombert so the point of these is
02:28 Wombert that the output is available immediately
02:28 Wombert hmh
02:28 Wombert but, really, isn't that exactly the same as slots?
02:28 Wombert I mean
02:28 Wombert slots to the same thing
02:29 Wombert except you don't have to run the action and assign the result yourself
02:29 Wombert -to +do
02:29 impl I think you /should/ have to assign the result yourself
02:29 Wombert why
02:29 Wombert :<
02:29 impl There's no reason to create a special case in the view for actions
02:29 impl suppose someone wants to call a method from some other project
02:29 impl should we provide $this->setModuleFromPHPNuke() ?
02:30 impl It works much better when we say that everything is simply an attribute
02:30 impl special cases == more code == redundancy == not good
02:30 Wombert heh, well, now it can be separated (optionally)
02:31 Wombert the thing is that a slot or an action in a chain doesn't only produce output
02:31 Wombert but also other response information
02:31 impl So have ActionChain::fetchResult return a Response object
02:31 Wombert does it have to be a chain?
02:31 Wombert hmm
02:31 impl Well, I'm not exactly sure what the point of that is tbh
02:32 Wombert it's just a helper, right?
02:32 Wombert probably so you can run multiple actions in a batch
02:32 Wombert now, you'd do
02:32 impl Yeah
02:32 impl Of course this brings up the question of ::forward again
02:32 Wombert forward is R.I.P. already ;)
02:32 impl oh ;p
02:32 Wombert $side = $context->createExecutionContainer('Portfolio', 'Side', array($optionalArguments));
02:33 Wombert $side->execute();
02:33 Wombert $side->getResponse();
02:33 Wombert or
02:33 Wombert $output = $context->createExecutionContainer('Portfolio', 'Side', array($optionalArguments))->execute()->getResponse()->getContent();
02:33 Wombert ;)
02:33 impl I get the feeling you don't like the new keyword very much
02:33 Wombert the only difficulty will be this request locking thing
02:34 Wombert well
02:34 Wombert you can do it by hand
02:34 Wombert however
02:34 Wombert you have to construct the object
02:34 Wombert then initialize it
02:34 Wombert also, it could be YourCustomExecutionContainer
02:34 impl hmmh, how much initialization does ExecutionContainer need?
02:34 Wombert the main reason is that it uses a factory pattern to create instances of the class you defined in the config
02:35 Wombert without it, you'd need five lines instead of one to create and init an instance
02:35 impl I almost feel like it should be ExecutionContainer::createInstance() (static) or something
02:35 impl is that in svn now?
02:35 Wombert not possible
02:36 Wombert static wouldn't work with contexts which can be configured independently
02:36 Wombert no, not yet
02:36 impl mmmh
02:36 Wombert you're not headed to bed are you
02:36 impl Nope, not for another 6 hours or so
02:36 Wombert I still have some work to do, give me half an hour or an hour
02:36 impl I think
02:36 Wombert cool
02:36 impl Something like that
02:36 impl Okay :)
02:38 Wombert another thing
02:38 MrJeep_ [n=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
02:39 Wombert forward() used to check if the item that was just executed contained a "next" item, and, if yes, it forward()ed to that
02:39 Wombert now, $container->execute() would do the same thing
02:39 Wombert OR
02:39 Wombert the calling code is responsible for that
02:39 Wombert that would be a lot cleaner, imo, but likely not as convenient
02:39 Wombert I could add an action chain helper that handles this automatically, tho
02:39 Wombert example
02:40 impl So you could do forward with no arguments?
02:40 Wombert $container->execute();
02:40 Wombert if($container->hasNext()) {
02:40 Wombert $container->getNext()->execute();
02:40 Wombert {
02:40 Wombert }}
02:40 impl Mmmm
02:40 Wombert well the idea would be to make execute() really _only_ run the action that it was told to run
02:40 Wombert without any side effects
02:41 Wombert I gotta think about this again in a minute, I guess
02:41 impl I'm not sure I follow the purpose of it yet
02:41 impl i'm going to look through the ::forward code
02:41 Wombert it's at the very end
02:41 Wombert impl: hold on
02:42 Wombert before, you used to just call forward() in your AddAction or AddSuccessView to run the ViewAction
02:42 Wombert besides the fact that it's better to redirect() anyway
02:43 Wombert this had the problem that the forwraded output was produced BEFORE the output of the calling code
02:43 Wombert that's why we now do
02:43 Wombert return array('Portfolio', 'View');
02:43 Wombert from the view
02:43 Wombert control runs back through all the filters until forward()
02:43 Wombert where the code then forwrad()s to Portfolio/View
02:44 impl Goodness this is complicated
02:44 Wombert no nested calling, filters run back cleanly etc
02:44 Wombert plus it's easier to merge responses together
02:44 Wombert which, otherwise, is a real nightmare
02:44 Wombert and another thing we gotta look into in a couple of minutes
02:48 Wombert oooh crap
02:48 Wombert hmmmmh
02:48 Wombert hmmmmmh
02:48 Wombert mmmhmmmh
02:48 Wombert I think we _do_ need an action chain helper
02:48 Wombert oh bloody hell what happens if
02:48 Wombert mhm
02:48 Wombert this sucks
02:48 Wombert beh
02:49 impl O_o
02:49 Wombert impl: help
02:49 impl I'm soo lost
02:49 Wombert know what a render mode is?
02:49 Wombert RENDER_VAR, RENDER_CLIENT or RENDER_NONE
02:49 impl like RENDER_VAR?
02:49 impl Yeah
02:49 Wombert set globally on the controller
02:49 Wombert which sucks
02:49 Wombert so we move it to the container
02:49 Wombert each one has his/her own render mode
02:49 Wombert sucks, too
02:49 Wombert we need something else
02:49 Wombert suggestions?
02:50 impl per-view?
02:50 impl View::getRenderMode
02:50 impl ?
02:50 Wombert well maybe not at all stuff like render modes
02:50 Wombert see... what if my container runs as RENDER_VAR, but a forward runs a container that is RENDER_CLIENT
02:50 Wombert etc
02:50 impl Yeah
02:50 impl That would be a Bad Thing
02:50 impl Hmmm
02:51 impl well...
02:51 Wombert the problem is
02:52 Wombert RENDER_CLIENT isn't really easy to do anymore anyway
02:52 impl Can we force RENDER_VAR on containers that are running under a RENDER_VAR container?
02:52 Wombert I'd like to get rid of that entire concept tbh
02:52 impl okay
02:52 Wombert hmm
02:52 Wombert hmm
02:52 Wombert ponders
02:52 impl Well
02:52 impl Can we separate all output to something else?
02:52 impl and have /everything/ just return its output?
02:52 Wombert the thing is
02:52 Wombert yep
02:53 Wombert I decoupled it so far that nothing can _set_ it's output anyway
02:53 Wombert it holds it in the response (which is in the container) and the calling code is responsible for outputting it or whatever
02:53 Wombert hmm
02:53 Wombert hmm okay
02:53 Wombert so the only thing left is
02:53 Wombert this jumping-to-"next"-action
02:54 impl I think it should be up to the individual views
02:54 Wombert or should we throw that out altogether
02:54 Wombert technically, people could now do it on their own
02:54 impl if they want to forward somewhere they can do it themselves
02:54 Wombert the charming thing is that you can swap a container DURING execution without the calling code even realizing it
02:54 impl this hasNext()/getNext() business looks to be nothing but confusing
02:54 Wombert which is pretty nice
02:54 Wombert no reasonable use case for it, but... well xD
02:54 impl Why would you ever want to do that? :P
02:54 Wombert yes, it is fecking ugly, but how else should we do it?
02:55 Wombert that next() stuff
02:55 Wombert brb gonna make myself a cup of tea
02:56 impl Let's just get rid of it
02:57 Wombert you mean next()
02:57 Wombert but how do you do that then
02:57 Wombert or not at all? only redirects?
02:58 Wombert I can hear the whining already
02:58 impl Blah
02:58 impl $executionContext->forward()
02:58 impl or container
02:58 impl rather
02:58 Wombert capsule would be a cool name, too, I figured
02:58 impl I don't understand the whole hasNext() / getNext() thing
02:58 Wombert we can't use context, it's too confusing
02:59 Wombert well
02:59 impl It doesn't seem useful
02:59 impl I mean, forwards are sensitive to the conditional code around them
02:59 Wombert say we have out AddProductSuccessView, right?
02:59 Wombert our
02:59 Wombert and
02:59 impl Yeah
02:59 Wombert say we are morons
02:59 impl haha, okay
02:59 Wombert so we don't redirect() to the new resource, give the borwser a URL etc, but instead, we wnat to forwrad back to the ViewProductAction and show the product
02:59 Wombert we would do
03:00 Wombert return array('Default', 'ViewProduct', array('id' => $insertId));
03:00 Wombert from the view
03:00 Wombert then, once we hvae been rendered (let's say no output here) and control passed back through the filter chain to controller::forward()
03:00 Wombert hasNext() is true
03:00 Wombert and getNext() will give the above array
03:00 Wombert which is then used to make a forward() call
03:01 Wombert et voila, the ViewProductAction runs
03:01 Wombert array('id' => $insertId) were additional request args
03:01 Wombert got it?
03:01 Wombert before, you would have done
03:01 Wombert $request->setParaemter('id', $insertId);
03:01 Wombert $controller->forward('Default', 'ViewProduct');
03:01 Wombert inside the view
03:02 impl Why do we need a getNext()
03:02 Wombert well
03:02 Wombert I have no idea
03:02 Wombert if someone wants to have something run after the current action finished...
03:02 Wombert should we throw it out? :D
03:02 impl Yes
03:02 Wombert okay
03:03 Wombert tomorrow is a saturda
03:03 impl We can make an Action::deinitialize() or something
03:03 impl if you feel that strongly about it
03:03 impl :P
03:03 Wombert digitarald and eremit won't be back at work until tuesday to beat me up ;)
03:03 impl hehe
03:03 Wombert nah that sucks even more
03:03 impl Okay ;)
03:03 Wombert remember, redirecting to something else is presentational
03:03 impl Then they can stick the damn code at the end of View::execute
03:03 Wombert well they can't, really
03:04 impl Why? :P
03:08 Wombert how would you do it
03:09 Wombert btw
03:10 Wombert createExecutionContainer() would also receive a unique key it can use to access request parameters
03:10 Wombert at least I hope I can do it that way
03:13 Wombert hmm
03:13 Wombert I must say I like it this way
03:13 Wombert a lot cleaner
03:13 Wombert without the next crap
03:14 Wombert Welcome to the Agavi Sample Application
03:14 Wombert :>
03:15 impl :P
04:09 luke`_ [n=luke`@59.92.140.35] has joined #agavi
04:12 luke` [n=luke`@59.92.139.175] has quit [Read error: 145 (Connection timed out)]
04:13 Wombert did they hang saddam yet?
04:13 Wombert impl: another problem
04:14 impl I don't think so
04:14 Wombert "manual" action chains created inside the execute() method of the view
04:14 Wombert will all be cached
04:14 impl 45 minutes I think
04:14 Wombert or, rather, fine-grained caching is impossible
04:14 Wombert it might even turn out not to be possible to move decorate() out of the view
04:14 impl :s
04:14 Wombert because the execution filter must know quite a bit of stuff about how the execution in the view works
04:14 Wombert so he can cache accordingly
04:15 Wombert I might be able to move some caching logic helpers into the view to handle that
04:15 Wombert but that would still only allow decorating views to enjoy full caching pleasure
04:15 Wombert not ordinary ones
04:15 Wombert (ordinary ones being those where you build and run chains by hand)
04:16 Wombert I still find it stupid. it does exactly the same thing as slots, but without the convenience
04:16 impl Why can't the cache work on an individual action basis?
04:16 Wombert it does
04:16 Wombert but
04:16 Wombert view::execute() isn't run
04:17 Wombert but inside view::execute(), you run the action chain
04:17 Wombert unlike with slots, which are only defined in execute(), so I can cache their definitions, and then they are run after execute() returns
04:17 Wombert that makes it also possible to say "cache this action, do not cache the entire decorator, and include slot B in the cache, but slot A should still be run"
04:18 impl This is really screwing with my mind ;x
04:18 impl maybe it's my headache
04:18 luke` [n=luke`@59.92.195.196] has joined #agavi
04:18 Wombert shall I explain anything?
04:19 luke` [n=luke`@59.92.195.196] has quit [Client Quit]
04:19 impl I don't know :s
04:19 Wombert what part didn't you understand?
04:19 impl I don't think I understand how caching works at all
04:19 Wombert simple
04:19 Wombert let's first recap how execution in general and slots in specific work
04:20 Wombert we reach execution filter
04:20 Wombert validation and blah occurs
04:20 Wombert then action::execute() is run
04:20 Wombert it returns information on the view to run
04:20 Wombert this view is then run
04:20 Wombert inside execute, no rendering occurs, but instead, only definitions are made
04:20 Wombert which template to use
04:20 Wombert which slots to run
04:20 Wombert and so on
04:21 Wombert after execute(), we have all this information
04:21 Wombert so we can render the actual content template
04:22 Wombert after that, each slot is rendered, and the presentation data for each slot, along with the actual content output, is handed to the decorator function, which assembles everything using the decorator template
04:22 Wombert now let's say we want to cache this
04:22 Wombert the simple approach is where we just cache the entire output
04:22 luke` [n=luke`@59.92.145.160] has joined #agavi
04:22 Wombert that is, including the decorator, which means we also have the slots included
04:22 Wombert on a cache hit, no rendering occurs, neither action nor view get execute() called, and no slots are ever run
04:22 Wombert the entire response data is pulled from the cache
04:23 Wombert now, if the cache definition says "do not include the decorator template", then only $template['content'] will be cached
04:23 Wombert this cached data will be handed to the decorator template, which is rendered as usual
04:23 Wombert which also means that all slots are run as usual
04:23 Wombert the information about which decorator template to use and which slots to run is included in the content cache
04:24 Wombert it has to be, because this stuff is set up in view::execute(), but we don't want to run that one
04:24 Wombert of course, since slots are just normal actions, you could set up caching instructions for a slot, and instaed of executing the slot etc, it would be pulled from the cache
04:24 Wombert this is completely transparent to the "parent", though
04:25 impl how do you make a 'cache definition'
04:25 impl ?
04:25 Wombert caching.xml
04:25 Wombert config file that tells which actions to cache
04:25 Wombert for which request methods
04:25 Wombert which views to cache, and which not
04:25 Wombert which output types to cache, which not
04:25 impl okay
04:25 Wombert which request attribs to restore etc
04:25 impl So why does that need to depend on slots?
04:25 Wombert the other, better, alternative (because it's faster) is to instruct the caching system to include a slot directly in the cache that is generated
04:26 impl I can't think of a use case when you'd want to cache an action in one scenario and not cache it in another
04:26 Wombert that way, slot b won't even be run anymore, but immediately restored
04:26 Wombert the thing is
04:26 Wombert inside ViewProductSuccessView::execute
04:26 Wombert you define and run the action chain
04:26 Wombert but if a cache hit occurs
04:26 Wombert execute is never called
04:26 Wombert thus, your action chain is never called
04:26 Wombert thus... well go figure
04:27 impl mhhh
04:27 Wombert the point is that in case of actions chains, the execution itself happens inside view::execute(), whereas with slots, only the _definition_ takes place there, and the execution happens afterwards
04:27 Wombert did you understand it now?
04:27 Wombert if not, I'll explain it again
04:27 impl Yeah, I get it
04:27 Wombert nevermind :) I want you to understand it so you can toss in your ideas
04:28 impl Okay...
04:28 impl Well
04:28 impl hmm
04:28 Wombert a common use case is where a slot displays a "random product"
04:28 Wombert you cannot cache that
04:28 impl Why not make ActionChain have a cache?
04:28 Wombert so you don't cache the decorator, only the inner content of the action that was just run
04:28 Wombert that can't work
04:28 Wombert remember... inside execute(), the action chain is run
04:28 Wombert but execute() will never be called!
04:29 Wombert so how do we know what to run
04:29 Wombert we cannot figure that out
04:29 impl what if we do run it?
04:29 Wombert we can't
04:29 impl Why?
04:29 Wombert if we run it, we have to cache _all_ action attributes
04:29 Wombert which makes things slow
04:29 Wombert plus it's not guaranteed to work
04:29 impl blah
04:29 Wombert think of objects that require a certain state
04:30 Wombert and cannot be unserialized
04:30 Wombert or they'd re-open a database conneciton (in case of propel)
04:30 Wombert or view::execute() makes a call to the db
04:30 Wombert etc etc etc
04:30 Wombert that would defeat the point of caching
04:30 Wombert we could hvae some preRender() method or something but...
04:30 Wombert mmh
04:30 Wombert that would suck wouldn't it
04:31 impl Yeah :\
04:31 Wombert also
04:31 Wombert with the new stuff, I'll make it possible to use slots inside the content template
04:31 Wombert without having to use a decorator template
04:31 Wombert plus, slots can do forwards
04:31 Wombert well they could if we hadn't just thrown that out but anyway
04:32 Wombert it'll be 100% identical to action chains
04:32 Wombert except that the syntax and the time of execution is different
04:32 Wombert is that so bad? :(
04:32 impl I feel like we're compromising flexibility for a rigged attempt at making caching work
04:33 Wombert caching is absolutely necessary
04:33 Wombert we cannot do without it
04:33 Wombert also, I tend to thinkt that an execution flow which does not allow to be cached is stupid
04:34 Wombert which means I think action chains are stupid ;)
04:34 Wombert would you happen to have an example where action chains can do something slots can't?
04:35 impl blar
04:35 impl I guess I just have really strange preferences
04:35 Wombert xD
04:36 luke`_ [n=luke`@59.92.140.35] has quit [Connection timed out]
04:49 luke`_ [n=luke`@59.92.200.199] has joined #agavi
05:06 luke` [n=luke`@59.92.145.160] has quit [Read error: 110 (Connection timed out)]
05:15 luke` [n=luke`@59.92.196.166] has joined #agavi
05:33 luke`_ [n=luke`@59.92.200.199] has quit [Read error: 110 (Connection timed out)]
05:45 Wombert looks like they hanged him
05:45 Wombert well I can go to bed then xD
06:07 Wombert [n=Wombert@dslb-088-064-001-003.pools.arcor-ip.net] has quit []
06:43 Wombert [n=Wombert@dslb-088-064-001-003.pools.arcor-ip.net] has joined #agavi
06:43 Wombert re
06:43 Wombert stabs impl
06:43 impl unh
06:44 Wombert I can't sleep
06:44 Wombert gotta continue coding then ;)
06:44 Wombert kaos and I had an idea
06:44 Wombert we should put "normal" request info, files and maybe cookies into one "repository"
06:45 Wombert because... well... the validation system wasn't really designed with multiple "sources" in mind :S
06:46 impl O_o
06:46 Wombert next issue...
06:46 Wombert autologin filter
06:46 Wombert cookie
06:46 Wombert malicious data
06:46 Wombert blah
06:46 impl blah.
06:46 Wombert so validation must be usable independently of actions
06:46 Wombert mmmh
06:47 Wombert ooooh yesss that's all so crappy
06:49 Wombert holy mother of...
06:49 Wombert duuuuuude
06:49 Wombert we could
06:49 Wombert zomg :>
06:49 Wombert output types per execution container, that sounds rather cool to me
06:49 Wombert gotta think about if that works or not
06:50 impl shouldn't output type be per-request?
06:50 Wombert well
06:51 Wombert the last point to set the output type is view::initialize
07:51 Wombert [n=Wombert@dslb-088-064-001-003.pools.arcor-ip.net] has quit []
08:47 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
09:30 v-dogg huomenta
09:33 raidman huomenta
09:33 foresth [i=foresth@88.146.138.85] has joined #agavi
09:36 v-dogg so they hung Sadd
09:37 v-dogg is the world now a better and more fair place?
09:41 foresth well.. it's all the same
09:41 foresth evil produces evil
10:28 eremit [n=eremit@p5490DE65.dip.t-dialin.net] has joined #agavi
10:29 eremit [n=eremit@p5490DE65.dip.t-dialin.net] has quit [Client Quit]
10:30 eremit [n=eremit@p5490DE65.dip.t-dialin.net] has joined #agavi
10:32 raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
10:45 raidman [n=raidman@unaffiliated/raidman] has joined #agavi
10:46 raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)]
10:59 eremit_ [n=eremit@p5490CEF9.dip.t-dialin.net] has joined #agavi
11:07 eremit [n=eremit@p5490DE65.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
11:15 eremit_ is now known as eremit
11:16 benny`work [n=benny@pD954F5B8.dip0.t-ipconnect.de] has joined #agavi
11:26 luke` [n=luke`@59.92.196.166] has quit [Read error: 110 (Connection timed out)]
11:37 benny_ [n=benny@pD954C52E.dip0.t-ipconnect.de] has joined #agavi
11:41 luke` [n=luke`@59.92.180.151] has joined #agavi
11:42 foresth need a little help..
11:42 foresth 'Invalid validation mode "tainted" specified'
11:46 foresth replaced by strict
11:46 foresth now I am getting xml parsing error..
11:52 benny_ foresth, see http://trac.agavi.org/changeset/1335
11:53 benny`work [n=benny@pD954F5B8.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
11:57 benny_ foresth, got it?
12:02 foresth yop, thanks.. yet another error in translation.xml
12:02 foresth the zip package seems to be ill :)
12:08 foresth uff
12:08 foresth Welcome to the Agavi Sample Application
12:08 foresth \o
12:08 foresth :)
12:11 benny_ :)
12:11 benny_ i've already send in a patch for the sample app...seems wombert didn't apply it to the zip files
12:39 luke`_ [n=luke`@59.92.207.41] has joined #agavi
12:55 luke` [n=luke`@59.92.180.151] has quit [Read error: 110 (Connection timed out)]
13:06 benny_ [n=benny@pD954C52E.dip0.t-ipconnect.de] has quit ["Leaving"]
14:12 luke` [n=luke`@59.92.194.65] has joined #agavi
14:21 luke`_ [n=luke`@59.92.207.41] has quit [Read error: 110 (Connection timed out)]
16:07 eremit [n=eremit@p5490CEF9.dip.t-dialin.net] has quit []
16:36 Wombert [n=Wombert@dslb-088-064-001-003.pools.arcor-ip.net] has joined #agavi
17:39 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
17:59 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
18:15 Wombert Welcome to the Agavi Sample Application
18:15 Wombert :)
18:40 Wombert [n=Wombert@dslb-088-064-001-003.pools.arcor-ip.net] has quit [Nick collision from services.]
18:40 Wombert [n=Wombert@dslb-088-064-025-140.pools.arcor-ip.net] has joined #agavi
20:21 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
20:51 v-dogg Wombert: read the log from this morning?
20:53 v-dogg could you perhaps build a nightly build to get rid of the problem?
20:54 v-dogg I take it the patch has been commited to svn
20:57 forda [i=foresth@88.146.138.85] has joined #agavi
21:03 foresth [i=foresth@88.146.138.85] has quit [Read error: 145 (Connection timed out)]
21:06 forda [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
21:09 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
21:16 foresth [i=foresth@88.146.138.85] has joined #agavi
21:43 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
22:29 foresth [i=foresth@88.146.138.85] has joined #agavi
22:49 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
23:07 eremit [n=eremit@p5490CEF9.dip.t-dialin.net] has joined #agavi
23:38 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
Day changed Sun Dec 31 2006
01:07 CIA-11 dominik * r1446 /branches/0.11/src/config/defaults/autoload.xml: add missing autoload definitions for validation
01:09 CIA-11 dominik * r1447 /branches/0.11/src/config/ (3 files in 2 dirs):
01:09 CIA-11 allow multiple <settings> blocks which can define a prefix to their settings (defaults to 'core.')
01:09 CIA-11 closes #375
01:47 v-dogg this is for custom configuration?
01:47 Wombert yes
01:47 Wombert <settings prefix="com.acme.someapp.">
01:48 Wombert remember the last dot
01:48 Wombert if you want to use dots, that is ;)
01:48 v-dogg yep, nice
01:48 Wombert also, you can now use pregs for environment and context attribs (CIA didn't get the commit)
01:48 Wombert v-dogg: you celebrating with the missus and brother and all?
01:48 Wombert new year, I mean
01:51 v-dogg both of our parents are going to come to our place for the night
01:51 Wombert cool
01:52 Wombert in case I don't see ya and/or forget
01:52 Wombert have a very happy new year
01:52 v-dogg same to you friend
01:56 v-dogg what are your plans for the night?
02:03 v-dogg ups.. "0.11 final will arrive before the end of the year." :)
02:03 Wombert well xD
02:03 v-dogg just leave it like that and if somebody asks (after tomorrow) we mean 2007
02:03 Wombert the boyfriend of a friend of mine lives some... uh... fuck if I know
02:04 Wombert 100km?
02:04 Wombert out of munich
02:04 Wombert I'll drive down there for dinner
02:04 Wombert and then go back to munich, not sure yet if before or after midnight
02:04 Wombert and meet up with some friends
02:04 Wombert a bit of trouble, but I promised her to join them back when the guys all said they had different plans for the night so...
02:05 foresth [i=foresth@88.146.138.85] has quit ["Every being in the universe knows right from wrong."]
02:06 v-dogg to bed ->
02:06 Wombert have a good night mate
02:06 v-dogg night
02:06 Wombert I'll wrap up this exec flow stuff
02:06 Wombert impl: ping?
02:10 impl Hi
02:10 impl Wombert: pong
02:13 Wombert y0y0
02:13 Wombert I'll check the changes into my branch later
02:14 impl :)
04:24 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
04:51 MrJeep [n=MrJeep_@modemcable175.240-202-24.mc.videotron.ca] has left #agavi []
05:57 Wombert hmmm
05:57 Wombert impl: hmmm
05:57 Wombert I could abstract the slots
05:58 Wombert so a setslot() call really only
05:58 Wombert hmm
05:58 Wombert hmmm
05:58 Wombert sets information about "related" actions to run
05:58 Wombert and render() only deals with variables
05:58 Wombert so... no more decorate()
05:58 Wombert decorate() and render() in views to almost the same thing anyway
05:58 Wombert the execution filter would be responsible for doing the decoration
05:59 Wombert or maybe even the view, so an AgaviDecoratingView contains the logic that performs the decoration
Log opened Sun Dec 31 10:38:30 2006
10:46 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:48 eremit [n=eremit@p5490CEF9.dip.t-dialin.net] has quit []
10:54 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
10:55 foresth [i=foresth@88.146.138.85] has joined #agavi
11:26 forda [i=foresth@local.hide-forest.net] has joined #agavi
11:42 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
11:48 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 113 (No route to host)]
12:13 eremit [n=eremit@p5490DF57.dip.t-dialin.net] has joined #agavi
12:20 codecop [n=codecop@85.206.216.13] has joined #agavi
12:58 forda is now known as foresth
13:03 v-dogg Wombert: when when when?!
13:03 v-dogg ze new exec flow
13:25 Wombert re
13:25 Wombert morning v-dogg
13:41 v-dogg morn
14:03 foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
14:21 luke`_ [n=luke`@59.92.151.207] has joined #agavi
14:31 luke` [n=luke`@59.92.194.65] has quit [Read error: 110 (Connection timed out)]
14:35 Wombert v-dogg: I guess I gotta throw out rendering filters (see latest ticket)
14:44 foresth [i=foresth@88.146.138.85] has joined #agavi
15:10 forda [i=foresth@local.hide-forest.net] has joined #agavi
15:20 foresth [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
15:20 forda is now known as foresth
15:38 eremit [n=eremit@p5490DF57.dip.t-dialin.net] has quit []
15:39 v-dogg Wombert: alrighty
15:42 v-dogg I haven't had the time to follow your work that much recently but you have my full support :)
15:42 Wombert heh xD
15:42 Wombert thanks
15:43 v-dogg have you read this guys blog: http://blog.php-security.org/
15:44 v-dogg fanatic (to the amount that gets annoying) but funny and has some valid points
15:45 Wombert yeah it's syndicated on planet-php.net
15:45 Wombert he is a huuuuge moron and very annoying, I can understand why people get tired of listening to him
15:45 Wombert but yes, his points are mostly valid
16:02 luke`_ [n=luke`@59.92.151.207] has quit []
16:04 splatch hello
16:05 Wombert hi splatch
16:05 splatch Wombert: you tokt with Darek?
16:05 Wombert uuuh
16:05 Wombert I didn't talk to him, no
16:06 splatch any progress with site? ;)
16:06 Wombert nope
16:06 splatch :(((
16:06 splatch but.. kazek will live with me
16:06 Wombert haven't heard from him since november ;)
16:07 splatch I'll have one's eyes on Darek :)
16:08 splatch btw today i read about Spring Web Flow
16:08 splatch but i don't made any code
16:09 splatch idea is cool, we have any flow, for example shipping
16:09 splatch the flow is order
16:10 splatch we have many steeps, like use address, sending manner, integration with pay systems etc
16:11 Wombert so it's a chained flow of small operations?
16:11 splatch yes
16:11 splatch it's a flow
16:11 splatch web flow give ready blocks
16:12 splatch for example decission point
16:12 splatch decission point is router
16:12 splatch if user want to we pack order we have a sub flow
16:13 splatch where he can give information about paper etc
16:13 splatch when sub flow done, we back to main flow
16:14 splatch actions returns a Event objects
16:14 splatch with names
16:14 splatch just like in Agavi
16:15 splatch return (Action, View)
16:15 splatch but in Web Flow all is configured in xml flow definition
16:15 Wombert but these are individual pages?
16:16 Wombert to solve, for instance, the common multi-page-form problem?
16:16 splatch there is a view selectors
16:16 splatch you can wrote own flow elements
16:16 splatch Wombert: there is a MultipageAction if i remember
16:17 splatch you extend MultiAction class
16:17 splatch and give in flow definition method name
16:17 splatch public Event $name(RequestContext context)
16:19 Wombert nmmm
16:19 splatch Wombert: you can read about this in web flow reference
16:19 Wombert multiaction class, interesting
16:19 Wombert yeah do you have a link?
16:19 splatch sure
16:19 Wombert I have to go now but I'll be back in an hour or so
16:19 Wombert see you then!
16:20 splatch http://static.springframework.org/spring-webflow/docs/1.0.x/reference/index.html
16:21 splatch http://static.springframework.org/spring-webflow/docs/1.0.x/spring-webflow-refer​ence.pdf
16:21 splatch and pdf :)
16:22 splatch bye
16:22 splatch i must go.. :)
16:22 splatch happy new year :)
18:01 codecop [n=codecop@85.206.216.13] has quit ["Have to go"]
18:41 Wombert [n=Wombert@dslb-088-064-025-140.pools.arcor-ip.net] has quit [Nick collision from services.]
18:41 Wombert [n=Wombert@dslb-088-064-008-046.pools.arcor-ip.net] has joined #agavi
19:10 Wombert [n=Wombert@dslb-088-064-008-046.pools.arcor-ip.net] has quit []
20:53 forda [i=foresth@88.146.138.85] has joined #agavi
21:11 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 110 (Connection timed out)]
21:25 impl [n=impl@httpcraft/php/impl] has joined #agavi
23:17 foresth [i=foresth@local.hide-forest.net] has joined #agavi
23:27 OpenGeek [n=OpenGeek@ip68-109-210-136.lu.dl.cox.net] has joined #agavi
23:31 forda [i=foresth@88.146.138.85] has quit [Read error: 110 (Connection timed out)]
23:37 forda [i=foresth@88.146.138.85] has joined #agavi
23:44 foresth [i=foresth@local.hide-forest.net] has quit [Read error: 110 (Connection timed out)]
Log closed Mon Jan 01 00:00:52 2007