--- 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 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:
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:
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 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> false
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> http://hello.eboy.com/eboy/product-detail/?token=FOO&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 : postfix .
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>
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, translated version
16:15 < Wombert> or
16:15 < Wombert>
16:15 < Wombert> text to translate
16:15 < Wombert> translated version
16:15 < Wombert>
16:15 < v-dogg> I'm not sure I understand domains
16:16 < Wombert>
16:17 < Wombert>
16:17 < Wombert>
16:17 < Wombert>
16:17 < Wombert> houmenta
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 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 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 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>
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
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/MjaxAction.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> ... your_file ...
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 , , 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|>
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 .
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> SID
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: :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 [] ) -- Returns the last time was seen and what was last seen saying. 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 & 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 and
08:45 < horros> hahaha
08:46 < horros> http://office.microsoft.com/en-us/templates/TC062560581033.aspx?CategoryID=CT101450061033
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
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>
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 ->
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 Message
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 [Users #agavi]
08:02 [ impl] [ ttj]
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 and
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 or so
12:42 < Wombert> instead of
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> Add product to shopping cart
18:08 < Wombert> that's the link we have now
18:08 < Wombert> now we want ajax
18:09 < Wombert> Add product to shopping cart
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>
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 -{} ... 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>
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.php 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.php 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>
06:30 < Wombert> html
06:30 < Wombert>
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 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: 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 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>
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> 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 [Users #agavi]
20:50 [ AgaviBot ] [ CIA-11 ] [ EleRas ] [ jordansjones] [ ttj ] [ Wombert]
20:50 [ Arme[N] ] [ CPUnerd ] [ eremit ] [ kaos ] [ um ]
20:50 [ benny`work] [ digitarald] [ foresth] [ splatch ] [ v-dogg]
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.php
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> opt3 opt2 opt1 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 best
14:20 < Wombert> oh wait
14:21 < Wombert> I like best
14:21 < Wombert> xD
14:21 < Wombert> or maybe
14:21 < Wombert> yes, I really like 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>
12:55 < Wombert> or so
12:55 < Wombert> I think that is needed
12:55 < Wombert> maybe I broke something
12:55 < digitarald>
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>
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> [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=http://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
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-2006-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/AgaviFileLoggerAppender.class.php on line 72
09:41 < Wombert> howly shite
09:42 < horros> I love discussions that are going like this:
09:42 < horros> Client XYZ can't log in to the app!
09:42 < horros> 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> aren't you going to fix it?
09:42 < horros> 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.xml for finnish stuff (with currency format as used in finland
10:29 < Wombert> amerikkalainen
10:29 < Wombert> metrinen
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> %core.app_dir%/config/propel.cfg.php
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