| 16:12 |
Chuckwalla |
[~chuckwall@agavi.org] has joined #agavi |
| 16:12 |
|
Topic for #agavi: Welcome to Agavi :: www.agavi.org :: stable: 1.0.2 :: legacy: 0.11.8 :: svn: http://svn.agavi.org/ (use branches, not trunk) :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: got no reply? use the mailing lists! :: http://ohloh.net/p/agavi :: logs: http://www.agavi.org/irclogs :: http://trac.agavi.org/wiki/IRC |
| 16:12 |
|
Topic set by Wombert [] [Wed Jan 27 23:03:58 2010] |
| 16:12 |
|
Irssi: #agavi: Total of 28 nicks [1 ops, 0 halfops, 0 voices, 27 normal] |
| 16:12 |
|
Home page for #agavi: http://agavi.org/ |
| 16:12 |
|
Channel #agavi created Sun Nov 26 06:43:22 2006 |
| 16:12 |
|
Irssi: Join to #agavi was synced in 1 secs |
| 16:14 |
Xylakant |
Yossi_: config value interpolation takes place in AgaviToolkit::literalize() |
| 16:15 |
Xylakant |
graste: Values you set manually with AgaviConfig::set() will not be literalized |
| 16:19 |
graste |
:x |
| 16:20 |
Yossi_ |
Xylankant: thank you, so I pass literalize the agavi config setting? |
| 16:22 |
graste |
Xylakant: we set AgaviConfig::set("app.global_libraries_dir", $libraries_dir); in index.php and use it in various autoload.xmls for xincludes like %app.global_libraries_dir% |
| 16:22 |
graste |
so it does at least work there? |
| 16:22 |
graste |
or it's defined in settings as well |
| 16:22 |
graste |
hm |
| 16:23 |
graste |
&me searches through code |
| 16:23 |
Xylakant |
no need to search |
| 16:23 |
Xylakant |
certainly that works, it's my code |
| 16:23 |
graste |
^^ |
| 16:23 |
Xylakant |
you only copy and paste that from project to project |
| 16:23 |
graste |
no, it's the same project :D |
| 16:24 |
graste |
so it's at least not consistent? |
| 16:24 |
Xylakant |
it's consistent |
| 16:24 |
Xylakant |
literalization happens when the config file is parsed |
| 16:24 |
graste |
i c |
| 16:24 |
Xylakant |
so AgaviConfig::set('foo', '%bar%'); will not work since that's not parsed |
| 16:25 |
graste |
hm, so you'd have to manually do expandDirectives like Yossi_ asked? |
| 16:25 |
Xylakant |
however, AgaviConfig::set('foo', AgaviToolkit::literalize('%bar%')); will yield the expected result |
| 16:25 |
graste |
kk |
| 16:25 |
graste |
:> |
| 16:25 |
graste |
thx |
| 16:26 |
Xylakant |
Yossi_: does that answer your questions? |
| 16:28 |
Yossi_ |
Xylankant: not really, but I have to go :/ |
| 16:28 |
Yossi_ |
Xylakant: thanks, I hope I will catch you later |
| 16:47 |
SasanRose |
[~SasanRose@92.50.7.167] has joined #agavi |
| 16:57 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 16:58 |
Treffynnon |
[~Simon@82-69-141-230.dsl.in-addr.zen.co.uk] has joined #agavi |
| 16:59 |
WasabiCat |
huomenta |
| 17:03 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has joined #agavi |
| 17:05 |
maleknet |
[~maleknet@85.15.40.233] has quit [Quit: Leaving] |
| 17:07 |
WasabiCat |
is there a way to make use of the RBAC distinction between say <permission>photos.edit-own</permission> |
| 17:07 |
WasabiCat |
and |
| 17:07 |
WasabiCat |
<permission>photos.edit</permission> |
| 17:08 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Ping timeout: 245 seconds] |
| 17:08 |
WasabiCat |
if my action requires the credential 'potos.edit' then the action will still need to perform additional logic to ensure that the data in question belongs to the current user, won't it? |
| 17:09 |
WasabiCat |
where then lies the use of distinguishing in rbac_definitions.xml between say photos.edit and photos.edit-own |
| 17:10 |
sth |
return an array with the two permissions |
| 17:11 |
WasabiCat |
the action still needs to figure out if that photo the user is trying to edit belongs to him or somebody else, right? |
| 17:12 |
WasabiCat |
do you see what I'm on about? |
| 17:12 |
sth |
err, well if they're allowed to see the page, they obviously have one of the permissions |
| 17:12 |
sth |
So regardless, they'd be allowed to edit it |
| 17:12 |
WasabiCat |
say a list view of users, and I'm only allowed to edit one item in the list |
| 17:12 |
WasabiCat |
myself |
| 17:13 |
sth |
Yeah, I see the problem |
| 17:13 |
sth |
You need to do a check for the user |
| 17:14 |
WasabiCat |
right and at the same time I could reduce the credential to 'users.edit', right? Since I do have to perform that check |
| 17:14 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 17:14 |
WasabiCat |
I was just wondering if I'm missing something here because I see this sort of shading of credentials often and the purpose always evades me |
| 17:14 |
sth |
So in the getCredentials, you'd have something like: if ($this->getModel('photomanager')->getPhoto(1)->ownerid == $this->getUser()->id) { return 'photo.edit-own'; } else { return 'photo.edit' } |
| 17:15 |
WasabiCat |
aw sweet |
| 17:15 |
WasabiCat |
excellent, thank you for clearing that up :) |
| 17:15 |
sth |
Assuming they have the photo.edit-own permission |
| 17:16 |
WasabiCat |
yeah |
| 17:16 |
WasabiCat |
awesome |
| 17:24 |
saracen |
That's wrong :) |
| 17:25 |
sth |
Probably |
| 17:25 |
sth |
:D |
| 17:25 |
sth |
What's the correct way? |
| 17:26 |
saracen |
Agavi doesn't seem to have a correct way. The method wombert has suggested, is extending the secruity filter, to call a new method on your actions, like isAccessibly($user) |
| 17:26 |
saracen |
Alternative ways: Put the logic in validate*(), or in execute*() |
| 17:27 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 17:29 |
saracen |
getCredential doesn't have easy access to request data. Extending the security filter means you're working with unvalidated data. Using validate() methods means you can only return true/false based on *validation*. executeMethods() mean you can add logic, and return a array('ErrorModule', 'Permission') if you wanted, but you'd either have to make a new method to call or add the logic to all your executes* |
| 17:30 |
sth |
Extending the security filter makes more sense |
| 17:30 |
saracen |
yeah, but it's also a pain. |
| 17:31 |
saracen |
Validators are used for normalisation. Say I have article_id, which my custom validator converts to ArticleModel - then it'd be great if in my SecruityFilter called isAccessible action I could do: $article->isAccessible($user) |
| 17:31 |
saracen |
But I can't, because validation hasn't been ran yet. |
| 17:32 |
saracen |
called isAccessible on the action* |
| 17:33 |
saracen |
Using my own validation classes makes more sense to me, because there could be really elaborate stuff to check if a user has access to something. But it should be separated out of validation, but work in a similar way, but ran afterwards |
| 17:34 |
saracen |
Like, validate() is useful if you need something custom but know you wont use it again. Checking if a user belongs to an article/can write to it or can only read it would make sense being a custom class |
| 17:35 |
saracen |
Because you might use it more than once |
| 17:35 |
saracen |
So validation still seems the best place to put it for me |
| 17:46 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 17:50 |
WasabiCat |
at least it's not just me |
| 17:58 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 17:58 |
Rendez_ |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 18:01 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Ping timeout: 264 seconds] |
| 18:03 |
everplays |
is now known as haji |
| 18:05 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 18:08 |
fnordfish1 |
[~fnordfish@89.246.250.218] has joined #agavi |
| 18:09 |
fnordfish1 |
[~fnordfish@89.246.250.218] has left #agavi [] |
| 18:11 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Ping timeout: 252 seconds] |
| 18:11 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 18:13 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 18:19 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 18:26 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 18:37 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff20c000-252.dhcp.inet.fi] has joined #agavi |
| 18:37 |
cheerios_ |
jee |
| 18:39 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 18:41 |
graste |
[~graste@f053001127.adsl.alicedsl.de] has joined #agavi |
| 19:04 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 19:12 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 19:39 |
cheerios_ |
if anyone is near otaniemi tomorrow, come say hi http://bit.ly/9o6QF5 |
| 19:42 |
saracen |
dont you mean come say 'hei'? |
| 19:42 |
fnordfish |
[~fnordfish@g225105154.adsl.alicedsl.de] has joined #agavi |
| 19:46 |
cheerios_ |
:) |
| 19:48 |
cheerios_ |
heh @ "i want to make it clear how IMPORTANT it is to make sure users don't forget their passwords. If they forget their password, and/or can't recover it, then guess what MoFo -- YOU DON'T GET PAID. Which means you don't get Laid, you don't get Acquired, and you sure as friggin' hell don't get to Go IPO." http://500hats.typepad.com/500blogs/2010/02/subscriptions-are-the-new-black.html |
| 19:54 |
WasabiCat |
[~moritz@adsl-84-226-229-103.adslplus.ch] has quit [Quit: WasabiCat] |
| 20:07 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 20:08 |
haji |
[~dp@188.158.10.54] has joined #agavi |
| 20:08 |
haji |
[~dp@188.158.10.54] has quit [Changing host] |
| 20:08 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 20:09 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 20:10 |
fnordfish1 |
[~fnordfish@f052139053.adsl.alicedsl.de] has joined #agavi |
| 20:12 |
fnordfish |
[~fnordfish@g225105154.adsl.alicedsl.de] has quit [Ping timeout: 272 seconds] |
| 20:16 |
Rendez_ |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 20:16 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 20:17 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Client Quit] |
| 20:36 |
Pierre |
[~pierre@62.141.43.143] has joined #agavi |
| 20:37 |
Pierre |
anyone saw wombert lately? Or someone from his company around? |
| 20:38 |
cheerios_ |
sth might be. |
| 20:38 |
sth |
Hey |
| 20:39 |
sth |
Pierre: What can I do you for? |
| 20:39 |
Pierre |
sth, slap him :) |
| 20:39 |
Pierre |
and tell him to call me back |
| 20:39 |
sth |
Sure |
| 20:39 |
Pierre |
:-) |
| 20:40 |
Pierre |
thx :) |
| 20:40 |
sth |
I'll send him a text message now |
| 20:40 |
Pierre |
thx again, bye! |
| 20:40 |
Pierre |
[~pierre@62.141.43.143] has left #agavi ["Leaving"] |
| 20:41 |
Xylakant |
[~Xylakant@ip-77-25-237-200.web.vodafone.de] has joined #agavi |
| 20:50 |
fnordfish1 |
[~fnordfish@f052139053.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 21:03 |
WasabiCat |
[~moritz@adsl-84-226-229-103.adslplus.ch] has joined #agavi |
| 21:05 |
Xylakant |
[~Xylakant@ip-77-25-237-200.web.vodafone.de] has quit [Ping timeout: 240 seconds] |
| 21:07 |
Rayne |
[~Rayne@pD9E3685E.dip.t-dialin.net] has joined #agavi |
| 21:22 |
SasanRose |
[~SasanRose@92.50.7.167] has quit [Quit: leaving] |
| 21:23 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 252 seconds] |
| 21:37 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 21:40 |
WasabiCat |
[~moritz@adsl-84-226-229-103.adslplus.ch] has quit [Quit: WasabiCat] |
| 21:57 |
Rayne |
[~Rayne@pD9E3685E.dip.t-dialin.net] has quit [Quit: Rayne] |
| 22:02 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 22:08 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has left #agavi [] |
| 22:14 |
cheerios_ |
cool, CEO got nominated for "one of the 200 hand-picked CEO's to attend President Obama's "Presidential Entrepreneurship Summit" in Washington DC during April 2010." |
| 22:15 |
cheerios_ |
http://www.entrepreneurship.gov/summit/ |
| 22:27 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 22:34 |
graste |
[~graste@f053001127.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 22:50 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: Rendez] |
| 22:52 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 22:52 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 22:53 |
sikkle |
[~sikkle@70.25.37.18] has quit [Remote host closed the connection] |
| 22:55 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Client Quit] |
| 23:29 |
|
Netsplit *.net <-> *.split quits: horros |
| 23:33 |
|
Netsplit over, joins: horros |
| 23:37 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] |
| 23:48 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| Day changed Tue Feb 02 2010
|
| 00:05 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 00:22 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Ping timeout: 264 seconds] |
| 00:23 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 00:44 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: c ya.] |
| 00:47 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 00:48 |
cheerios_ |
sleeping time, 5hrs11min... atleast Prezi (nifty( ready! |
| 00:48 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff20c000-252.dhcp.inet.fi] has quit [Quit: :q!] |
| 01:42 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 03:27 |
luke` |
[~luke`@59.92.142.187] has joined #agavi |
| 03:49 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 03:49 |
movvy |
strange |
| 03:49 |
movvy |
why would i get a 'could not find driver' |
| 03:53 |
movvy |
it def worked once |
| 04:23 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 04:33 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 05:06 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 05:10 |
WasabiCat |
[~moritz@adsl-84-226-229-103.adslplus.ch] has joined #agavi |
| 05:17 |
movvy |
very obvious it seems ;) |
| 05:17 |
movvy |
oh well its good lniux training |
| 05:18 |
movvy |
looks like my php was not installed with postgre support, this should fix that |
| 05:20 |
movvy |
hopeso |
| 05:20 |
graste |
huomenta |
| 05:20 |
movvy |
lots of progress lately |
| 05:20 |
movvy |
morning |
| 05:20 |
movvy |
doesnt that mean morning? |
| 05:25 |
graste |
http://trac.agavi.org/wiki/Huomenta |
| 05:25 |
graste |
:) |
| 05:26 |
WasabiCat |
huomenta |
| 05:32 |
movvy |
noted |
| 05:33 |
movvy |
im veyr aggravated with linux right now |
| 05:33 |
movvy |
the one thing I wills ay is it makes it a massive pain in the ass to use |
| 05:41 |
movvy |
well that was an accomplishment for sure |
| 05:41 |
movvy |
i got the pgsql driver installed |
| 05:46 |
movvy |
and bam got the connection issues resolved |
| 05:54 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 05:59 |
SasanRose |
[~SasanRose@92.50.7.167] has joined #agavi |
| 06:05 |
PeYKaR |
[~pk@213.207.255.92] has joined #agavi |
| 06:28 |
luke` |
[~luke`@59.92.142.187] has quit [Quit: luke`] |
| 07:01 |
movvy |
nice, finally got some logging in and authentication action going on |
| 07:16 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:34 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 07:36 |
codecop |
huomenta |
| 07:37 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 07:38 |
haji1 |
[~dp@188.158.11.198] has joined #agavi |
| 07:40 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 252 seconds] |
| 07:40 |
haji1 |
is now known as haji |
| 07:40 |
haji |
[~dp@188.158.11.198] has quit [Changing host] |
| 07:40 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:59 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:03 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 08:18 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 08:25 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 08:28 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:31 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 272 seconds] |
| 08:31 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] |
| 08:34 |
movvy |
ok bedtime, now that I got inserting into db working... long day |
| 08:34 |
movvy |
authentication system, is coming together though! |
| 09:01 |
luke` |
[~luke`@122.172.84.224] has joined #agavi |
| 09:06 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 09:12 |
luke` |
[~luke`@122.172.84.224] has quit [Quit: luke`] |
| 09:22 |
_cheerios |
[~cheerios@195.197.209.254] has joined #agavi |
| 09:22 |
_cheerios |
huomenta! |
| 09:22 |
_cheerios |
"checking the tenant" http://www.yle.fi/uutiset/news/2010/02/sex_for_housing_schemes_legal_in_finland_1413048.html |
| 09:24 |
sth |
Hey |
| 09:26 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:31 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 09:37 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 09:41 |
matbtt |
[~9b3844d8@gateway/web/freenode/x-fnugmsgpbrtfetqs] has joined #agavi |
| 09:57 |
PeYKaR |
[~pk@213.207.255.92] has quit [Ping timeout: 260 seconds] |
| 10:04 |
Jarda |
[~jarda@e178.nor.fi] has joined #agavi |
| 10:07 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Išeinu] |
| 10:07 |
MikeSeth |
move parts of model code into Doctrine ORM classes - yes or no? |
| 10:08 |
MikeSeth |
e.g. AccountsModel::getChildSubaccounts($username) or AccountRecord::getChildren()? |
| 10:08 |
sth |
I probably wouldn't |
| 10:08 |
sth |
But then, it's often pointed out that I know feck all about Agavi :P |
| 10:08 |
MikeSeth |
yeah thought so |
| 10:09 |
sth |
If it was me, I'd use my models in a way so I could stay db agnostic |
| 10:10 |
MikeSeth |
well, I use Doctrine's nested set implementation |
| 10:10 |
MikeSeth |
it is db agnostic, as long as it's Doctrine at all.. |
| 10:10 |
luke` |
[~luke`@122.172.84.224] has joined #agavi |
| 10:19 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 10:20 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 10:20 |
graste |
I'd probably write it into the ORM |
| 10:22 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 10:25 |
PeYKaR |
[~pk@91.184.88.100] has joined #agavi |
| 10:27 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:29 |
luke` |
[~luke`@122.172.84.224] has quit [Quit: luke`] |
| 10:32 |
_cheerios |
i'd tie as much into as few classes as possible, if feasible |
| 10:32 |
_cheerios |
as an illustrative way on how i'd not do it, lookup Propel |
| 10:34 |
_cheerios |
does doctrine have manager classes that you can tie into your base model, to extend it? that'd be one way |
| 10:45 |
E_mE |
if i use a sub-action, does my validation files needs to reside in a sub-folder inside validate/ ? |
| 10:54 |
Xylakant |
E_mE: yes |
| 10:54 |
Jarda |
_cheerios: we wrap our propel classes inside our agavimodels |
| 10:54 |
Xylakant |
why don't you use the agavi build script to create actions? |
| 10:55 |
Xylakant |
it will take care that all class names conform to the naming scheme, puts all files in the proper locations, creates the stubs for you etc. |
| 11:17 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 11:24 |
E_mE |
Xylakant: someone else created the action |
| 11:25 |
E_mE |
but thanks :) .. i shall fix now |
| 11:25 |
Xylakant |
right |
| 11:25 |
Xylakant |
well, that's annoying then |
| 11:25 |
E_mE |
Xylakant: btw, did you get that email about components i sent day before yesterday? |
| 11:26 |
E_mE |
i think mortiz sent it on, because the email address i used was wrong |
| 11:26 |
Xylakant |
nathan forwarded it |
| 11:26 |
E_mE |
coolio :) |
| 11:31 |
luke` |
[~luke`@122.172.84.224] has joined #agavi |
| 11:33 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 11:34 |
luke` |
[~luke`@122.172.84.224] has quit [Client Quit] |
| 11:42 |
krycek_ |
form population is complaining about that line: "if (next < myVar.length)". It says: Line 118: StartTag: invalid element name |
| 11:42 |
Xylakant |
krycek_: and it's right |
| 11:42 |
krycek_ |
what's wrong? |
| 11:43 |
Xylakant |
there's a < which indicates an html tag |
| 11:43 |
Jarda |
< |
| 11:43 |
Xylakant |
you either need to espace the special char by using entities |
| 11:43 |
Xylakant |
or need to put your javascript into a cdata block |
| 11:44 |
krycek_ |
hmm |
| 11:44 |
Xylakant |
using cdata blocks is probably the better way to go since it doesn't mess up the readability of the javascript code |
| 11:44 |
krycek_ |
i will try |
| 11:45 |
krycek_ |
worked |
| 11:45 |
krycek_ |
thanks Xylakant |
| 11:45 |
krycek_ |
:) |
| 11:45 |
Xylakant |
you're welcome |
| 11:45 |
Xylakant |
if you encounter any trouble with the fpf, first check that your html is valid |
| 11:46 |
Xylakant |
you can use the w3c validator or any other standard-conformant |
| 12:08 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [] |
| 12:13 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 12:18 |
WasabiCat |
[~moritz@adsl-84-226-229-103.adslplus.ch] has quit [Quit: WasabiCat] |
| 12:20 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 12:23 |
E_mE |
if you need to populate a variable list of data, should i use a loop to create each row with the input name identifiers and then use the FPF to populate them? |
| 12:24 |
robopuff |
[~Mateusz@4.76.classcom.pl] has joined #agavi |
| 12:24 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 12:26 |
E_mE |
or is it better to just use a loop in the template and ignore the FPF for such implementations |
| 12:31 |
Xylakant |
I'd generate the form and use fpf to populate |
| 12:31 |
Xylakant |
the fpf takes care of adding the appropriate error classes and inserting the messages |
| 12:31 |
Xylakant |
escaping special chars |
| 12:32 |
Xylakant |
you'd have to handle that on your own |
| 12:33 |
riddLer |
[~3ed60643@gateway/web/freenode/x-stdktvillpihvqkq] has joined #agavi |
| 12:35 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:35 |
Yossi_ |
Xylakant: Thank for yesterday, I figured out how add directives and use them -> I use them in a custom config handler - and it works perfectly. |
| 12:35 |
Xylakant |
fine |
| 12:39 |
WasabiCat |
[~moritz@adsl-84-226-229-103.adslplus.ch] has joined #agavi |
| 12:40 |
WasabiCat |
[~moritz@adsl-84-226-229-103.adslplus.ch] has quit [Client Quit] |
| 12:41 |
codecop |
it would be nice to have in adt to have 1 more tab like: User [is authentificated- true / false; users attributes ; Users credentials] |
| 12:41 |
codecop |
what u think? |
| 12:42 |
Yossi_ |
I have another question, I use a custom config handler to cache stuff. Agavi uses config handlers when it bootstraps the application - and does it only once in production environment - and from then own its cached. when I call my config handler from an action - does this mean I lose the effect of caching? or does Agavi check if the cache exist and is up to date before it fires the config handler? |
| 12:47 |
Xylakant |
Yossi_: what do you mean by "call" |
| 12:48 |
Xylakant |
as long as you use include AgaviConfigCache::checkCache('my/own/config.xml'); you'll benefit from caching |
| 12:49 |
Yossi_ |
Kylalant: thanks, this is what I am doing. |
| 12:49 |
Yossi_ |
Kylakant: thanks, this is what I am doing. |
| 12:57 |
riddLer |
[~3ed60643@gateway/web/freenode/x-stdktvillpihvqkq] has quit [Quit: Page closed] |
| 12:57 |
robopuff |
hmmm ... ive got custom autoload function but when agavi is trying to load some class its not using it |
| 13:00 |
sth |
That's because agavi hooks into SPL for it's autoload |
| 13:01 |
robopuff |
so when i want to use ezc ive got to load it by manual? |
| 13:11 |
E_mE |
Xylakant: thanks for the advice (re: fpf above) |
| 13:12 |
robopuff |
sth: ehhh stupid question, got it ;) thanks. |
| 13:12 |
sth |
:) |
| 13:12 |
E_mE |
sth: how many redbulls today? |
| 13:12 |
sth |
0. |
| 13:12 |
E_mE |
loser :P |
| 13:12 |
sth |
haha |
| 13:12 |
Xylakant |
robopuff: well, we don't mess with autoload, so if you're registering your autoload function properly it should work |
| 13:12 |
E_mE |
ive not had coffee in days :o |
| 13:13 |
Xylakant |
and yes, you can use ezcomponents autoload |
| 13:13 |
Xylakant |
I do all the time |
| 13:13 |
sth |
Xylakant: I think he had a custom function autoload($class) somewhere in his code |
| 13:13 |
robopuff |
well ezcomponents autoload doesnt work with agavi ;) ive tested it |
| 13:13 |
Xylakant |
robopuff: it does for me |
| 13:13 |
Xylakant |
i deployed it |
| 13:14 |
Xylakant |
and since the site is still running, i guess it has to work |
| 13:14 |
sth |
E_mE: http://web10.twitpic.com/img/62173258-87ee8f73c83dc98fec1d068e6bf2d06f.4b682535-scaled.jpg |
| 13:14 |
Xylakant |
and propels autoload works just fine as well, so does doctrine's |
| 13:15 |
sth |
The redbull can graveyard |
| 13:15 |
E_mE |
is that really the window seal of BX sth? |
| 13:15 |
sth |
yup |
| 13:15 |
E_mE |
hahaha |
| 13:15 |
Xylakant |
E_mE: it's actually the place I used to keep my papers |
| 13:15 |
Jarda |
does bx offer dental? :) |
| 13:15 |
E_mE |
what happened to the papers? |
| 13:16 |
sth |
We had to move the paper tray to the other side of the wall |
| 13:16 |
Xylakant |
robopuff: how does your autoload function look like and how do you register it? |
| 13:16 |
robopuff |
Xylakant: yep, but when i load ezc_bootstrap.php agavi tells me that ezcTemplate class doesnt exists |
| 13:16 |
E_mE |
i think someone should create the heart attack or pulportations clock for BX staff |
| 13:17 |
sth |
pulportations are common :) |
| 13:17 |
robopuff |
Xylakant: now i use SPL and everything work fine |
| 13:17 |
Xylakant |
well, how does your boostrap file look like? |
| 13:17 |
sth |
E_mE: We're 11 cans from filling the window ledge |
| 13:18 |
E_mE |
hehehe, is it 15*5 ? or is there more behinds the camera |
| 13:18 |
sth |
There's a couple of columns behind |
| 13:18 |
E_mE |
you ever tried Relentless? thats more hardcore then Redbull |
| 13:19 |
E_mE |
500ml cans |
| 13:20 |
E_mE |
sth: here http://www.relentlessenergy.com/ |
| 13:20 |
E_mE |
infact: https://www.relentlessenergy.com/pages/energy |
| 13:21 |
robopuff |
Xylakant: well its "almost" default :) before loading Agavi main class im including ezcBase and setting up autoloaders |
| 13:22 |
sth |
We don't get that here |
| 13:22 |
Xylakant |
well, the problem is really that the basic ezc bootstrap file does not use spl autoload but the __autoload function |
| 13:25 |
E_mE |
sth: i drank it for a while about year and half ago, but there is so much sugar in it, my teeth always felt weird afterwards, but man it gets to buzzing like a bee hardcore. |
| 13:26 |
sth |
You get more of an effect from relentless than you do red bull |
| 13:26 |
PeYKaR |
[~pk@91.184.88.100] has quit [Ping timeout: 272 seconds] |
| 13:26 |
sth |
You have to drink 2 cans to match the volume |
| 13:27 |
SasanRose |
[~SasanRose@92.50.7.167] has quit [Quit: leaving] |
| 13:28 |
E_mE |
indeed |
| 13:31 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 252 seconds] |
| 13:33 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 13:45 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 13:46 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 13:47 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 13:47 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 13:48 |
_cheerios |
[~cheerios@195.197.209.254] has quit [Quit: foo] |
| 13:49 |
Rendez |
how is it $tm->_d() method used to format the date? |
| 13:50 |
Rendez |
I'm a bit doubtful because of the second param $domain |
| 13:50 |
graste |
domain from translations.xml |
| 13:51 |
graste |
$tm->_d($cal, 'your.domain.datetime.iso8601'); |
| 13:51 |
graste |
or whatever |
| 13:51 |
graste |
there are a few predefined ones |
| 13:51 |
graste |
like medium or so |
| 13:52 |
Rendez |
ah I see |
| 13:52 |
Rendez |
thanks |
| 13:52 |
Rendez |
;) |
| 14:03 |
Rendez |
what's the format for the translator? |
| 14:03 |
Rendez |
it's not as in date() |
| 14:03 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 14:04 |
Xylakant |
it's the standard icu format |
| 14:05 |
Rendez |
ty Xylakant |
| 14:13 |
Rendez |
how is it done to define formatters by locales? |
| 14:14 |
Rendez |
I'm not able to do this obviously <date_formatter locale="es"> |
| 14:25 |
Rendez |
graste: have you done this before? |
| 14:30 |
Rendez |
ok found it |
| 14:30 |
Rendez |
<translator domain="human"> |
| 14:30 |
Rendez |
<date_formatter> |
| 14:30 |
Rendez |
<ae:parameters> |
| 14:30 |
Rendez |
<ae:parameter name="type">date</ae:parameter> |
| 14:30 |
Rendez |
<ae:parameter name="format">long</ae:parameter> |
| 14:30 |
Rendez |
</ae:parameters> |
| 14:30 |
Rendez |
</date_formatter> |
| 14:30 |
Rendez |
</translator> |
| 14:30 |
Rendez |
but my question remains in case someone has done it, feel free to let me know :) |
| 14:55 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Išeinu] |
| 15:00 |
graste |
sry, not time atm and have to go :) |
| 15:00 |
graste |
but I see, that a FAQ entry is needed |
| 15:00 |
graste |
once again |
| 15:01 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 15:11 |
E_mE |
if ive got a checkbox, and it can be checked or unchecked, how do i go about transmitting false checked values using the validation? |
| 15:11 |
E_mE |
my mind as completely wiped how to do this out |
| 15:11 |
E_mE |
also the argument is <arguments base="cat[][is_old]" /> |
| 15:15 |
Rendez |
E_mE: the answer is in the FAQ |
| 15:15 |
E_mE |
hehe i was jsut loading that up the moment you sent that haha |
| 15:25 |
E_mE |
the FAQ version doesn't work, the validator approach does anyhow |
| 15:25 |
E_mE |
because of the fact its an array |
| 15:26 |
sth |
You could just specify false during $rd->getParameter('checkbox', false); |
| 15:26 |
sth |
Then the default value would be false if it doesn't exist |
| 15:27 |
E_mE |
ja, thats the approach im now going to take :) thanks sth |
| 15:29 |
sth |
David's gone for nap on the sofa :x |
| 15:30 |
Xylakant |
E_mE: the FAQ version with the hidden input field should work |
| 15:31 |
Xylakant |
sth: I feel like joining him. I'd go for one of those fatboys flying around here |
| 15:31 |
sth |
"fatboys"? |
| 15:31 |
Xylakant |
big bags filled with styrofoam |
| 15:31 |
E_mE |
Xylakant: thats RoR hack, you should be ashamed of your self :P |
| 15:31 |
Xylakant |
to sit on? |
| 15:32 |
Xylakant |
E_mE: why would i? that hack was invented long before RoR even got to be |
| 15:32 |
E_mE |
im jesting you :) |
| 15:32 |
Xylakant |
i'm more ashamed that it's a hack, but there's no beautiful solution |
| 15:32 |
E_mE |
im going to take the solution that sth recommended |
| 15:33 |
E_mE |
infact my solution is: $array['optional'] = (isset($array['optional'])); prior to Doctrine insertion |
| 15:33 |
E_mE |
which is fairly streight forward |
| 15:37 |
luke` |
[~luke`@59.92.142.187] has joined #agavi |
| 15:41 |
saracen |
Anybody used Facebook Connect + Agavi before? |
| 15:46 |
sth |
I haven't, but if it's like the fb app api, it'll be crappy :D |
| 15:46 |
robopuff |
[~Mateusz@4.76.classcom.pl] has left #agavi [] |
| 15:51 |
Xylakant |
saracen: I had the very limited pleasuer |
| 15:52 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 15:55 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 15:56 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 15:57 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:58 |
sth |
http://web2.twitpic.com/img/62202693-f3ac991b1d424048c5c5ff6452ce9cde.4b684bb9-scaled.jpg :D |
| 15:59 |
saracen |
Xylakant: Do you remember how you handled the "connect url". I thought that url would actually send the facebook user ids and stuff to it. But it just seems to use the url which I click "connect to facebook" from. Data comes in from GET, but I'm not sure how to detect it. I could use a routing callback, but theres nothing really really specific to latch on to |
| 15:59 |
saracen |
Bah, I must go =( |
| 15:59 |
sth |
I'm sure David will kill me for that photo |
| 15:59 |
Xylakant |
sth: not before we spread that picture all over the internetz |
| 15:59 |
sth |
haha |
| 16:02 |
sth |
Ugh, I may disappear. He's awake |
| 16:05 |
veturi |
[~veturi@130.232.253.19] has quit [Ping timeout: 260 seconds] |
| 16:06 |
veturi |
[~veturi@lilja.asteriski.fi] has joined #agavi |
| 16:06 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 272 seconds] |
| 16:08 |
graste |
[~graste@f053000197.adsl.alicedsl.de] has joined #agavi |
| 16:23 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 245 seconds] |
| 16:30 |
Rendez_ |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 16:30 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 16:30 |
Rendez_ |
is now known as Rendez |
| 16:32 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 16:32 |
Rendez_ |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 16:32 |
Rendez_ |
is now known as Rendez |
| 16:46 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 16:46 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Read error: Connection reset by peer] |
| 16:46 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 16:46 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 16:47 |
E_mE |
sth: that picture does work anymore |
| 16:48 |
E_mE |
i assume death has occured ;) |
| 16:52 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 16:54 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 16:57 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Ping timeout: 260 seconds] |
| 17:00 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 17:04 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Ping timeout: 260 seconds] |
| 17:22 |
sth |
E_mE: http://twitpic.com/1117wl |
| 17:22 |
E_mE |
sth: haahaha |
| 17:23 |
E_mE |
sth: do you like drawing? |
| 17:24 |
matbtt |
[~9b3844d8@gateway/web/freenode/x-fnugmsgpbrtfetqs] has quit [Ping timeout: 248 seconds] |
| 17:24 |
sth |
Yeah |
| 17:25 |
E_mE |
you should become a cartoonist |
| 17:26 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 17:33 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 17:39 |
luke` |
[~luke`@59.92.142.187] has quit [Ping timeout: 240 seconds] |
| 17:51 |
movvy |
alright so i know you all knwo something magical |
| 17:51 |
movvy |
the <error> </error> tags in the validation files, is thre someway to easily display this on the screen |
| 17:51 |
movvy |
for example lets say it asks for their email during registration and they don't enter a valid email |
| 17:56 |
Xylakant |
err, the formpopulationfilter does that for you? |
| 17:56 |
Xylakant |
and if you're not using the fpf, you can use $validationManger->getReport() to get the validation result |
| 17:57 |
Xylakant |
the error messages for every failed field are accessible from there |
| 17:57 |
movvy |
hmm... formpopulationfilter? |
| 17:57 |
movvy |
what is this? |
| 17:57 |
movvy |
http://cuismailer.touchbasedemo.com/userauth/register |
| 17:57 |
movvy |
to the right side of the input boxes I want a small error message if there is one |
| 17:58 |
Xylakant |
http://www.agavi.org/documentation/tutorial/step7/the-form-population-filter.html |
| 18:01 |
luke` |
[~luke`@59.92.169.175] has joined #agavi |
| 18:11 |
movvy |
elite |
| 18:11 |
movvy |
check that shit out, thanks Xylakan |
| 18:17 |
movvy |
I will learn something yet! |
| 18:17 |
movvy |
this is probably the best web tutorial on php I have seen to date |
| 18:17 |
movvy |
i realized its focued around a framework, but its good stuff |
| 18:40 |
Xylakant |
right, I'm off. see you all around tomorrow |
| 18:40 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 19:01 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 19:04 |
movvy |
hmm |
| 19:06 |
E_mE_ |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 19:06 |
E_mE_ |
[~jeramy@5e029ee8.bb.sky.com] has quit [Client Quit] |
| 19:10 |
movvy |
hmm |
| 19:11 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 19:11 |
movvy |
that doesnt seem very clear to me, do I just need to redirect to the same page? |
| 19:11 |
movvy |
if there is an error? :< |
| 19:13 |
movvy |
got it, easy |
| 19:13 |
movvy |
or I think i understand it now |
| 19:13 |
movvy |
thats grrrreeeeeat! |
| 19:19 |
haji |
http://developers.facebook.com/news.php?story=358&blog=1 - hiphop php, compiling/converting php to C++ |
| 19:30 |
haji |
is now known as everplays |
| 19:33 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 19:33 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 19:41 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: c ya.] |
| 19:54 |
movvy |
damnit |
| 19:57 |
movvy |
something in my view is not working with FPF |
| 19:58 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has joined #agavi |
| 19:58 |
movvy |
:( |
| 19:59 |
movvy |
when i submit a page with an error, it just returns a blank page |
| 20:00 |
movvy |
how do yous eta template to use? |
| 20:05 |
matbtt_ |
...setting up the template is the task of the view. |
| 20:07 |
sth |
movvy: enable php errors and display them |
| 20:09 |
movvy |
im almost there |
| 20:09 |
movvy |
matbtt_ thats what I thought by default i seem it returns the same template as the view |
| 20:10 |
movvy |
I am hoping to set for example the view 'Error' to return 'Success' template |
| 20:10 |
movvy |
sth: I have fpf error now, it say something about xml problem on line 10, but the lines don't match up :< |
| 20:13 |
sth |
They won't |
| 20:13 |
sth |
there's something in the config you need to enable |
| 20:13 |
sth |
use_logging |
| 20:14 |
sth |
enable it, refresh and in app/log you should have the html file FPF tried to parse and failed on |
| 20:17 |
graste |
+1 |
| 20:18 |
graste |
sth http://twitpic.com/1117wl <-- is that david? |
| 20:19 |
movvy |
sth figured it out |
| 20:20 |
movvy |
looked and I had to html headers!! |
| 20:20 |
movvy |
ones in my template and some from Master Templater |
| 20:20 |
movvy |
which leads me to my next question, im guessing with output_types you can add new 'master' template |
| 20:20 |
movvy |
or something like that? |
| 20:21 |
movvy |
or maybe under the html output type you can swithc them somehow? |
| 20:21 |
sth |
graste: Yes |
| 20:21 |
graste |
=) |
| 20:21 |
sth |
He moaned aboutt hat picture |
| 20:21 |
sth |
that* |
| 20:22 |
movvy |
also the new output text is might boring looking |
| 20:22 |
graste |
movvy - you define your output types like HTML, XML, JSON, PDF, $whatever and define some default slots with their respective renderers in your output_types.xml - and you specify a master template as well |
| 20:22 |
pashyon |
[~tfroschm@mnch-5d854ba7.pool.mediaWays.net] has joined #agavi |
| 20:23 |
movvy |
i feel like everytime i think I have learned something, it just opens up 10 more question |
| 20:23 |
graste |
as well as some default http headers for your defined output types (like UTF8 etc) |
| 20:23 |
graste |
yeah, steep learning curve or whatever you want to call it :) |
| 20:24 |
graste |
movvy - the sample application is a good start |
| 20:24 |
movvy |
yeah, i must imagine knowing how to use a framework like this, will open lots of oppurtunities in the future |
| 20:24 |
movvy |
graste, im past that :) |
| 20:24 |
movvy |
I mean im still referencing it now and then |
| 20:24 |
movvy |
but I have worked most of that in one way or another if not directly |
| 20:24 |
graste |
I'm referencing that as well from time to time |
| 20:24 |
movvy |
I'm working on an authentication platform right now |
| 20:25 |
movvy |
so its been a really good reference |
| 20:25 |
movvy |
I am freaking excited to see this fpf working |
| 20:25 |
movvy |
thats slick shit |
| 20:26 |
graste |
it is |
| 20:26 |
movvy |
but even that |
| 20:26 |
graste |
just remember to use numeric entities like   instead of as it chokes on that :) |
| 20:26 |
movvy |
now im wondering, how can i use custom validator's and return pretty error messages |
| 20:26 |
movvy |
and how do i change that text's appearence and location? |
| 20:26 |
graste |
well |
| 20:27 |
graste |
write your custom validator, add it to autoload.xml, define errors and return them from the custom validator |
| 20:27 |
graste |
then in validate.xml of your action set messages for the errors |
| 20:28 |
movvy |
ahh yes, thats makes sense |
| 20:28 |
graste |
they may even be translated when you specify a translation domain |
| 20:28 |
graste |
if validation fails the error messages will be inserted by FPF in you form at positions defined in the FPF config in your filter xml |
| 20:29 |
movvy |
yup yup, I think I know what to do for the custom validator |
| 20:29 |
graste |
custom validator: http://www.mivesto.de/agavi/agavi-faq.html#validation_17 |
| 20:31 |
graste |
then in global_filters.xml you have to fiddle with the message "types": "field_error_messages", "error_messages" and "multi_field_error_messages" |
| 20:31 |
graste |
error_messages is for all non-input-field related messages that your validators throw |
| 20:31 |
graste |
field_error_messages for your input field errors (who would've thought that ^^) |
| 20:31 |
movvy |
excellent thanks gratse |
| 20:31 |
movvy |
thats awesome |
| 20:32 |
movvy |
i feel empowered ;) |
| 20:32 |
graste |
you specify positions via XPATH expressions in global_filters.xml FPF config |
| 20:33 |
graste |
for all parameters see FPF class at the bottom - sample global_filters.xml is in sample app or in http://www.mivesto.de/agavi/agavi-faq.html#filter_0 (with comments copied from there) |
| 20:34 |
pashyon |
[~tfroschm@mnch-5d854ba7.pool.mediaWays.net] has quit [Quit: Leaving.] |
| 20:34 |
pashyon |
[~tfroschm@mnch-5d854ba7.pool.mediaWays.net] has joined #agavi |
| 20:35 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has left #agavi [] |
| 20:36 |
graste |
e.g. you may specify another css class name for error messages via 'error_class' parameter of the FPF (class="error" added to HTML elements is the default) - see http://trac.agavi.org/browser/tags/1.0.2/src/filter/AgaviFormPopulationFilter.class.php#L917 |
| 20:36 |
graste |
etc pp |
| 20:36 |
graste |
:D |
| 20:36 |
movvy |
jesus, your a madman |
| 20:38 |
graste |
no, I'm not |
| 20:38 |
graste |
the agavi devs are |
| 20:38 |
graste |
:P |
| 20:38 |
graste |
and saracen of course as sth would state |
| 20:38 |
graste |
=) |
| 20:39 |
sth |
:D |
| 20:41 |
sth |
There's a BX crazy test |
| 20:42 |
sth |
haha "Not to be outdone by #HipHop, Twitter releases Trance which speeds up Ruby on Rails by converting it to PHP" |
| 20:42 |
graste |
:> |
| 20:44 |
graste |
not to be outdone by $foo, bitextender releases Agavi which eats other frameworks for breakfast |
| 20:45 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has joined #agavi |
| 20:47 |
movvy |
i feel like this framework is very massive, although if you knew what you were doing you could probably develop pretty fast |
| 20:51 |
graste |
I think it's just there with features you really need in a framework (like the translation manager etc) and one's almost never required to work against the framework or its guidelines - and factories.xml is your friend for heavier changes you need :) |
| 20:52 |
graste |
it is especially the fastest IMHO for changes in output types - when your boss or 3rd party app $foo comes around and needs your data as JSON or XML instead of HTML (or whatever) |
| 20:52 |
graste |
routing is pretty advanced too :) |
| 20:57 |
sth |
It's still the framework that hates you |
| 20:58 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff20c000-252.dhcp.inet.fi] has joined #agavi |
| 20:58 |
cheerios_ |
hei! |
| 20:58 |
cheerios_ |
ttj, met a guy from your company tonight (corp business side) |
| 20:58 |
cheerios_ |
"we will crush you, or we will buy you out" cocky bastards :p |
| 20:59 |
sth |
ha |
| 21:07 |
graste |
hrhr |
| 21:19 |
pashyon |
[~tfroschm@mnch-5d854ba7.pool.mediaWays.net] has quit [Ping timeout: 256 seconds] |
| 22:01 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has left #agavi [] |
| 22:08 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has joined #agavi |
| 22:11 |
matbtt_ |
[~matbtt@port-92-202-94-173.dynamic.qsc.de] has left #agavi [] |
| 22:24 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 22:25 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 22:26 |
sikkle |
[~sikkle@70.25.37.18] has quit [Client Quit] |
| 22:56 |
graste |
[~graste@f053000197.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:02 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 23:57 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff20c000-252.dhcp.inet.fi] has quit [Quit: nn] |
| Day changed Wed Feb 03 2010
|
| 00:03 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 00:26 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 00:26 |
movvy |
hello |
| 00:26 |
movvy |
Warning: preg_match() [function.preg-match]: Compilation failed: support for \P, \p, and \X has not been compiled at offset 2 in /REDUNDANT-STORAGE/webdev/dev/sites/cuismailer.touchbasedemo.com/root/CUISUpdater/opt/agavi/src/validator/AgaviStringValidator.class.php on line 68 |
| 00:32 |
movvy |
<ae:parameter name="pattern">#^.+@.+$#U</ae:parameter> |
| 00:34 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 01:05 |
movvy |
is this a problem with agavi? |
| 01:06 |
saracen |
No |
| 01:06 |
movvy |
hmm, can you shed a bit of light, I would really appreciate |
| 01:07 |
movvy |
trying to work making a more advanced form validation :) |
| 01:07 |
saracen |
It looks like its just an error with your regex, but i'm shit with regex |
| 01:07 |
movvy |
hmm, i copied that bit out of impl's old stuff, so i guess it was right, but i could be wrong |
| 01:07 |
movvy |
i guessed* |
| 01:08 |
movvy |
im also not possitive that, thats the line throwing the error |
| 01:08 |
movvy |
i assume it is, because if i don't enter an email it doesnt show that warning |
| 01:08 |
saracen |
http://www.typolight.org/faq-reader/items/compilation-failed.html |
| 01:16 |
movvy |
always something... |
| 01:16 |
movvy |
i will work on it, this is crazy |
| 01:17 |
movvy |
slackware clearly wasn't meant to run a webserver or something ;) |
| 01:17 |
movvy |
its been good linux experience though :) |
| 01:17 |
movvy |
full run troubleshooting! |
| 01:29 |
saracen |
Thats just Linux in general :) |
| 01:45 |
movvy |
hmm having problems finding the lib |
| 01:49 |
movvy |
sigh google not helping much on how to resolve |
| 01:49 |
movvy |
stupiderorr |
| 01:49 |
movvy |
stupid error* |
| 02:00 |
movvy |
i guess im pretty screwed |
| 02:00 |
movvy |
i don't see any way to fix this |
| 02:06 |
saracen |
You saidt this was to validate an email address didnt you? Why not just use the email validator |
| 02:13 |
movvy |
i can try |
| 02:13 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 02:14 |
movvy |
it actually looks like its coming from my password matching alomst |
| 02:15 |
movvy |
nah def my email validator, you want to see the entire thing? |
| 02:16 |
movvy |
> hm |
| 02:16 |
movvy |
http://pastebin.com/m3c767a50 |
| 02:16 |
movvy |
:) |
| 02:16 |
movvy |
thanks |
| 02:17 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Remote host closed the connection] |
| 02:20 |
movvy |
interesting |
| 02:21 |
saracen |
yeah, looks like its the email one. No idea why impl didnt use the email validator, I'm going to assume hhe was on coke |
| 02:21 |
movvy |
could you show me an example? |
| 02:22 |
saracen |
http://pastebin.com/m6e689954 |
| 02:23 |
saracen |
if the email validator itself uses some regex which requires utf8 to be enabled though, you're still fucked. |
| 02:25 |
movvy |
saracen, it wasn't that at all |
| 02:25 |
movvy |
it was a bad paramter somehow in the passowrd validation |
| 02:25 |
movvy |
i have no idea how |
| 02:25 |
movvy |
equals validator must use regex? |
| 02:25 |
saracen |
:) |
| 02:26 |
movvy |
took me all day to get fpf working dude |
| 02:26 |
movvy |
seems ridiculously useful though |
| 02:27 |
movvy |
strange |
| 02:28 |
movvy |
when the passwords don't match i get three of the error's now, but when it does match ti works |
| 02:28 |
movvy |
cuismailer.touchbasedemo.com/userauth/register |
| 02:28 |
movvy |
if your interested |
| 02:30 |
movvy |
ok its back to one erro |
| 02:30 |
movvy |
alright so if they match its all good |
| 02:31 |
movvy |
its actually when the passwords don't match I get that warning |
| 02:31 |
movvy |
oddly, it does say the passwords don't match in the form, its really jsut a warning |
| 02:31 |
movvy |
turning it though.. hmm |
| 02:42 |
movvy |
the regex is def working ;) |
| 02:46 |
movvy |
alright, so its just clearnign that error, your email validator works great :) |
| 02:49 |
movvy |
i think the answer is to supress this warning it works |
| 02:49 |
movvy |
i mean i get the right messages, is there a way to suprress just wanring ? |
| 03:01 |
movvy |
interesting, its a display errors thing, but still really annoying |
| 03:01 |
movvy |
i have a feeling its my slackware boxm but that will go away shortly |
| 03:06 |
movvy |
alright last thing, figure out why my validator is ass backwards ;) |
| 03:06 |
movvy |
and usernames and emails all lowercase |
| 03:14 |
movvy |
odd reconfigure |
| 03:14 |
movvy |
restart of server |
| 03:14 |
movvy |
and gone |
| 03:14 |
movvy |
i did reinstall pcre with unicode suppor |
| 03:14 |
movvy |
tmaybe it needed reboot to take effect |
| 03:14 |
movvy |
wierd |
| 03:20 |
movvy |
good stuff i will take it! |
| 03:20 |
movvy |
damn that for validation and fpf took almost all day :( |
| 03:42 |
Gibbed |
[rick@pool-71-165-66-38.lsanca.fios.verizon.net] has joined #agavi |
| 03:42 |
Rick |
[rick@unaffiliated/rick] has quit [Killed (NickServ (GHOST command used by Gibbed!rick@pool-71-165-66-38.lsanca.fios.verizon.net))] |
| 03:42 |
Gibbed |
is now known as Rick |
| 03:42 |
Rick |
[rick@pool-71-165-66-38.lsanca.fios.verizon.net] has quit [Changing host] |
| 03:42 |
Rick |
[rick@unaffiliated/rick] has joined #agavi |
| 04:00 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 04:02 |
MugeSo |
Huomenta |
| 04:02 |
MugeSo |
anybody use HipHop with agavi? |
| 04:10 |
movvy |
im not good enough to try yet :) |
| 04:10 |
movvy |
though i was interested in the same question |
| 04:26 |
movvy |
sweet |
| 04:26 |
movvy |
i get my engagement ring I have ben wroking on forever tomorrow |
| 04:54 |
luke` |
[~luke`@59.92.169.175] has quit [Quit: luke`] |
| 04:58 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 05:27 |
PeYKaR |
[~pk@91.184.88.100] has joined #agavi |
| 05:38 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:02 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 06:51 |
PeYKaR |
[~pk@91.184.88.100] has quit [Ping timeout: 272 seconds] |
| 07:12 |
PeYKaR |
[~pk@213.207.255.254] has joined #agavi |
| 07:27 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 07:37 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:47 |
robopuff |
[~Miranda@4.76.classcom.pl] has joined #agavi |
| 07:50 |
robopuff |
Huomenta |
| 08:01 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:19 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 08:43 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has joined #agavi |
| 08:52 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:52 |
graste |
huomenta |
| 09:02 |
matbtt |
[~9b3844d7@gateway/web/freenode/x-qxoxsytecmzyqlkc] has joined #agavi |
| 09:15 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 09:16 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 09:31 |
Yossi_ |
Huomenta |
| 09:32 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 09:32 |
_cheerios |
[~cheerios@195.197.209.254] has joined #agavi |
| 09:32 |
_cheerios |
huomenta! |
| 09:32 |
Yossi_ |
I though about gettext translation yesterday, I never really liked it, but now I've thought about it and I know why |
| 09:32 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 09:33 |
Xylakant |
Yossi_: and what is it that you don't like? |
| 09:37 |
ttj |
_cheerios: What exactly is "corp business side"? :) |
| 09:37 |
Yossi_ |
It doesn't make as much sense for web application to have centralized translation files, its not something you compile and ship like C programs (original intent of gettext), web applications are dynamic. and can change many times, so having the translation closer to the context they are used in (per template etc...) makes more sense, also - residing them in a more structured (xml) format... |
| 09:37 |
Yossi_ |
...makes a lot of sense for web apps |
| 09:37 |
_cheerios |
ttj, head of operational excellence, corporate business was on his bizcard |
| 09:38 |
_cheerios |
doesn't say anything to me, but it was mightily impressively long title, as yours :p |
| 09:39 |
ttj |
Sounds like some arcane business card. |
| 09:39 |
ttj |
Only "corporate business", not e.g. "corporate business development"? |
| 09:40 |
_cheerios |
sec, i'll look the guy up |
| 09:40 |
ttj |
_cheerios: First name starts with Sh... and last name with Ta...? |
| 09:40 |
Xylakant |
Yossi_: but what if you have multiple templates that use the same strings? do you translate them individually for each template? |
| 09:40 |
ttj |
No, the other way. Last name and first name. |
| 09:40 |
_cheerios |
ttj, yes |
| 09:40 |
_cheerios |
glad you guessed, linkedin is too hard to use :) |
| 09:41 |
ttj |
Yep, educated guess. :) |
| 09:41 |
Xylakant |
And how would xml be more structured than .po files? |
| 09:45 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 09:46 |
Yossi_ |
Yossi_: XML is somthing you can easily interface with using common libraries, validate, etc... it also has things like xi:include so that can solve things multiple templates using same strings, you can have a global xml file, that xi:includes the per template files, this way you can also maybe allow templates override global strings, which is something that can easily happen in the course of... |
| 09:46 |
Yossi_ |
...a web application... |
| 09:47 |
Yossi_ |
Xylakant: Yossi__ -> Xylakant |
| 09:48 |
Xylakant |
.po files can easily be validated, the structure is simple enough that it's really human readable |
| 09:48 |
Xylakant |
includes are not required since you have one translation file per domain, strings are shared automatically |
| 09:48 |
robopuff |
[~Miranda@4.76.classcom.pl] has quit [Ping timeout: 272 seconds] |
| 09:49 |
Xylakant |
there are some xml based translation systems out there, there are some database-based ones as well |
| 09:50 |
Xylakant |
I haven't seen anything yet that beats the practicability of a well managed gettext based system |
| 09:50 |
Xylakant |
in the end, it's just the storage |
| 09:51 |
Xylakant |
the complex part is actually doing the translations and managing the translation domains |
| 09:54 |
robopuff |
[~Miranda@4.76.classcom.pl] has joined #agavi |
| 09:55 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 09:56 |
Yossi_ |
Xylakant: idk, I used gettext in projects and didn't really like it, when the project gets big and you need to change stuff it feels messy. I haven't used anything else with Agavi, and the only other translation manager i've worked with was Joomla's where the translation files are not global - but per context - felt better... could be just my personal preference, but I feel a more optimal... |
| 09:56 |
Yossi_ |
...solution is required, I am probably going to build one for my current project... so we'll see |
| 09:56 |
Xylakant |
but you can have per-context translation files with gettext |
| 09:57 |
Xylakant |
just use a domain per template |
| 09:57 |
Xylakant |
but I doubt that's a good solution |
| 09:57 |
Xylakant |
well, you roll you own and then we'll see |
| 09:59 |
Yossi_ |
Xylakant: I will put some more though in to it, seems like an interesting problem to me, I really hate translation :) |
| 10:10 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has joined #agavi |
| 10:11 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:11 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:11 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has quit [Read error: Connection reset by peer] |
| 10:11 |
fnordfish1 |
[~fnordfish@f052141115.adsl.alicedsl.de] has joined #agavi |
| 10:13 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 10:13 |
Chuckwalla |
[~chuckwall@agavi.org] has quit [Ping timeout: 246 seconds] |
| 10:15 |
Chuckwalla |
[~chuckwall@agavi.org] has joined #agavi |
| 10:15 |
|
Topic for #agavi: Welcome to Agavi :: www.agavi.org :: stable: 1.0.2 :: legacy: 0.11.8 :: svn: http://svn.agavi.org/ (use branches, not trunk) :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: got no reply? use the mailing lists! :: http://ohloh.net/p/agavi :: logs: http://www.agavi.org/irclogs :: http://trac.agavi.org/wiki/IRC |
| 10:15 |
|
Topic set by Wombert [] [Wed Jan 27 23:03:58 2010] |
| 10:15 |
|
Irssi: #agavi: Total of 36 nicks [1 ops, 0 halfops, 0 voices, 35 normal] |
| 10:15 |
|
Home page for #agavi: http://agavi.org/ |
| 10:15 |
|
Channel #agavi created Sun Nov 26 06:43:22 2006 |
| 10:15 |
|
Irssi: Join to #agavi was synced in 22 secs |
| 10:15 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Išeinu] |
| 10:16 |
steffkes |
morning has broken .. *sing* |
| 10:16 |
_cheerios |
ttj, http://presidentti.fi -- we're on the 1st page :) |
| 10:16 |
sth |
I need coffee or more sleep :/ |
| 13:39 |
Chuckwalla |
[~chuckwall@agavi.org] has joined #agavi |
| 13:39 |
|
Topic for #agavi: Welcome to Agavi :: www.agavi.org :: stable: 1.0.2 :: legacy: 0.11.8 :: svn: http://svn.agavi.org/ (use branches, not trunk) :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: got no reply? use the mailing lists! :: http://ohloh.net/p/agavi :: logs: http://www.agavi.org/irclogs :: http://trac.agavi.org/wiki/IRC |
| 13:39 |
|
Topic set by Wombert [] [Wed Jan 27 23:03:58 2010] |
| 13:39 |
|
Irssi: #agavi: Total of 37 nicks [1 ops, 0 halfops, 0 voices, 36 normal] |
| 13:39 |
|
Channel #agavi created Sun Nov 26 06:43:22 2006 |
| 13:39 |
|
Irssi: Join to #agavi was synced in 2 secs |
| 13:39 |
|
Home page for #agavi: http://agavi.org/ |
| 13:40 |
Xylakant |
E_mE: and yes, the numbervalidator should accept all numeric values |
| 13:40 |
E_mE |
ja, after taking a look into the validator i saw the options :) |
| 13:40 |
E_mE |
sorry for the stupid question :) |
| 13:41 |
Xylakant |
agavi.org should be back up |
| 13:41 |
Xylakant |
the server crashed, we're sorry for the outage |
| 13:42 |
E_mE |
Xylakant: its just not good enough, think of the potential loose of productivity! ;) |
| 13:42 |
Xylakant |
well, i guess since the service is provided for free, you'll have to take whatever we feed you |
| 13:43 |
Xylakant |
however, if you'd pay for a support contract, we'd be there for you 24 hours a day |
| 13:43 |
E_mE |
thats a weak excuse |
| 13:43 |
E_mE |
ohhhhh i see, its a feature, not a bug :P |
| 13:43 |
Xylakant |
well, we have to sell those contracts somehow |
| 13:44 |
Xylakant |
if we'd provide perfect service for free there'd be no incentive |
| 13:44 |
E_mE |
:) of course |
| 13:45 |
E_mE |
24 hours a day eh? |
| 13:45 |
E_mE |
do you have a bleeper with question requests? |
| 13:46 |
Xylakant |
if you'd pay for the appropriate support contract you'd get helpdesk access and yes, we do offer 24h support |
| 13:46 |
Xylakant |
we do reserver a little response time though |
| 13:46 |
E_mE |
but i want it NOW!!! |
| 13:46 |
Xylakant |
and yes, that implies having a mobile right beside the pillow for at least one of us |
| 13:47 |
Rendez |
E_mE: shut up |
| 13:47 |
Rendez |
xD |
| 13:47 |
E_mE |
:) thats pretty cool |
| 13:47 |
E_mE |
slaps Rendez |
| 13:47 |
Rendez |
Xylakant: that's a lot of stress |
| 13:47 |
Xylakant |
yes, agreed |
| 13:47 |
Xylakant |
been there before |
| 13:47 |
Xylakant |
but it has to be done |
| 13:48 |
E_mE |
isnt it quite difficult to wake up at 3am and give a concise answer to a complicated question when half asleep? |
| 13:48 |
Rendez |
E_mE: I'm sure Xylakant has a sheet cheat beneath his bed |
| 13:48 |
Xylakant |
Rendez: you're insulting me |
| 13:48 |
Rendez |
cheat sheet* |
| 13:48 |
E_mE |
a sheet cheat hahah |
| 13:48 |
Rendez |
:P |
| 13:48 |
Xylakant |
I have a coffeemaker rigged up to the mobile |
| 13:48 |
Rendez |
hahaah |
| 13:49 |
E_mE |
i bet its a can of Red bull actually |
| 13:49 |
Xylakant |
I can actually count on one hand the times that I have drunk red bull |
| 13:49 |
Xylakant |
and I'd have four fingers left |
| 13:49 |
Rendez |
do you activate the coffeemaker and then a ball rolls down over your head until it fires a sequential mechanic chain that feeds you the coffee in your mouth |
| 13:50 |
E_mE |
so no times? |
| 13:50 |
Xylakant |
E_mE: I do still have 5 fingers on my hand |
| 13:50 |
E_mE |
wrong, a thumb is not a finger :P |
| 13:50 |
Xylakant |
well, then i say "Einmal ist keinmal" and I'm still right |
| 13:51 |
E_mE |
one time is no time? that makes no sense, least in english |
| 13:51 |
E_mE |
or have i intrepted wrong? |
| 13:51 |
Rendez |
it makes in sense in spanish too |
| 13:52 |
Rendez |
no time = doesn't really require time |
| 13:52 |
Xylakant |
E_mE: it's more like "once does not count" |
| 13:53 |
E_mE |
ah yes |
| 13:53 |
E_mE |
anyway, time to finish off what im doing then some fooodz |
| 13:53 |
Xylakant |
so i tried red bull once and I think it's horrible |
| 13:53 |
Rendez |
Monster taste better |
| 13:53 |
Xylakant |
tastes like gummi bears dissolved in some liquid |
| 13:54 |
Rendez |
I tried it in the slopes |
| 13:54 |
Rendez |
maybe I was incredibly thirsty so anythng tastes good |
| 13:54 |
Rendez |
haha |
| 13:55 |
E_mE |
Xylakant: funny that, i agree with you on the taste of redbull ... im not a huge fan my self... It reminds me of a scottish drink too, called Ion Brew |
| 13:55 |
E_mE |
here http://www.irn-bru.co.uk/ |
| 13:55 |
E_mE |
but then the scots eat deep fried Mars bars |
| 13:56 |
Xylakant |
I actually love gummi bears, but I can't stand red bull |
| 13:56 |
Xylakant |
yeah. the scots are a bit weird |
| 13:56 |
Xylakant |
especially when it comes to food |
| 13:57 |
E_mE |
indeed, my GF always tries to insist that Haggis is nice, but ive had it once and Einmal is Keinmal :P |
| 13:57 |
E_mE |
shes not scottish btw |
| 14:03 |
robopuff |
[~Miranda@4.76.classcom.pl] has quit [Ping timeout: 272 seconds] |
| 14:09 |
Chuckwalla |
[~chuckwall@agavi.org] has joined #agavi |
| 14:09 |
|
Topic for #agavi: Welcome to Agavi :: www.agavi.org :: stable: 1.0.2 :: legacy: 0.11.8 :: svn: http://svn.agavi.org/ (use branches, not trunk) :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: got no reply? use the mailing lists! :: http://ohloh.net/p/agavi :: logs: http://www.agavi.org/irclogs :: http://trac.agavi.org/wiki/IRC |
| 14:09 |
|
Topic set by Wombert [] [Wed Jan 27 23:03:58 2010] |
| 14:09 |
|
Irssi: #agavi: Total of 36 nicks [1 ops, 0 halfops, 0 voices, 35 normal] |
| 14:09 |
|
Channel #agavi created Sun Nov 26 06:43:22 2006 |
| 14:09 |
|
Home page for #agavi: http://agavi.org/ |
| 14:09 |
|
Irssi: Join to #agavi was synced in 2 secs |
| 14:46 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:58 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:01 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 15:02 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 15:12 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 15:37 |
krycek_ |
is there any doc that shows how to use the unit tests? |
| 15:38 |
krycek_ |
I looked at the examples but don't know how to execute them. |
| 15:43 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 15:45 |
krycek_ |
ok, found it |
| 15:50 |
E_mE |
does the FPF automatically use _n() on float types or so? |
| 15:50 |
Xylakant |
E_mE: no |
| 15:51 |
Xylakant |
krycek_: php runtests.php |
| 15:51 |
E_mE |
so how can you get the FPF to do this on errornious submissions? |
| 15:51 |
Xylakant |
in the appropriate directory |
| 15:51 |
Xylakant |
E_mE: not at all |
| 15:51 |
Xylakant |
it inserts the value as the user entered it |
| 15:51 |
Xylakant |
that's the idea behind it |
| 15:51 |
E_mE |
ah yes, im being blond |
| 15:51 |
E_mE |
blonde* |
| 15:56 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 15:58 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 15:59 |
_cheerios |
[~cheerios@195.197.209.254] has quit [Quit: bbl] |
| 16:11 |
krycek_ |
Configuration file "/../my_project/app/config/settings.xml" does not exist or is unreadable. |
| 16:11 |
krycek_ |
but it is there |
| 16:11 |
krycek_ |
accessing my_project/app/config/settings.xml I can read the file |
| 16:13 |
krycek_ |
is it right to set the app dir in: AgaviConfig::set('core.app_dir', "/../my_project/app") ? |
| 16:13 |
Xylakant |
err, why would you mess with the app-dir? |
| 16:13 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has joined #agavi |
| 16:14 |
krycek_ |
the sandbox2 that come has no pub, app, etc structure |
| 16:14 |
krycek_ |
I want to point it to my project |
| 16:15 |
Xylakant |
what where which sandbox? |
| 16:15 |
krycek_ |
I'm talking about AllTests.php |
| 16:15 |
Xylakant |
that's the old old old agavi pre-1.0 suite of tests for the framework |
| 16:15 |
Xylakant |
leave those alone and forget about them |
| 16:16 |
darko |
[~darko@212.201.44.245] has joined #agavi |
| 16:16 |
krycek_ |
hmmm.. but I'm using the 0.11.8 version |
| 16:16 |
darko |
is now known as Guest69794 |
| 16:17 |
Xylakant |
no unit testing for you then |
| 16:17 |
Xylakant |
well, you can test some models, but that's about it |
| 16:17 |
Guest69794 |
is now known as darkom |
| 16:17 |
Xylakant |
and why are you using 0.11.8? |
| 16:18 |
krycek_ |
because the project was 90% done when 1.0 came out |
| 16:19 |
darkom |
hi |
| 16:19 |
Xylakant |
have you tried updating? |
| 16:19 |
Xylakant |
it should be mostly painless |
| 16:19 |
Xylakant |
and 0.11.x is not supported any more |
| 16:19 |
Xylakant |
hi darkom |
| 16:19 |
krycek_ |
no, but I guess I will try it right now |
| 16:20 |
krycek_ |
downloading 1.0.2 right now |
| 16:20 |
darkom |
i run into something, which I don't know if it's a bug or something i don't understand |
| 16:20 |
krycek_ |
wish me luck ;] |
| 16:20 |
darkom |
i have a validator |
| 16:20 |
Xylakant |
anyways, testing support is still alpha quality in 1.0 and has substantially improved in 1.1 |
| 16:21 |
darkom |
and if the validators name is 'field-type' the error is not thrown |
| 16:21 |
darkom |
for any other name for the validator an error is thrown |
| 16:21 |
darkom |
does the validator's name influence something? |
| 16:22 |
krycek_ |
should I wait 1.1? |
| 16:22 |
Xylakant |
the validator's name should not influence anything |
| 16:22 |
Yossi_ |
hmmm... things like $ro etc aren't getting exposed to my templates, and I have them set in out_types... so idk |
| 16:22 |
krycek_ |
when will it be released? |
| 16:23 |
Xylakant |
krycek_: I don't have a date |
| 16:23 |
Xylakant |
so it really depends on what you need |
| 16:24 |
Xylakant |
darkom: you actually don't have to name validators |
| 16:25 |
Xylakant |
unless you later need to reference them by a name |
| 16:25 |
Yossi_ |
my bad, it works |
| 16:28 |
darkom |
yes, I named them just so that I can see easily what broke |
| 16:28 |
darkom |
so this might be a bug? |
| 16:29 |
Xylakant |
it might be, yes |
| 16:37 |
Xylakant |
if you have a simple reproduction case, feel free to report this to the mailing list or open a ticket |
| 16:38 |
darkom |
ok |
| 16:38 |
darkom |
i'll try to find the root of it |
| 16:38 |
Yossi_ |
Ah - I think there is a bug in dwoo - when I do somthing like {$tm->_("testing")} it throws an exception - Parse error, invalid function name : _("testing")} |
| 16:43 |
Yossi_ |
ah... there is a plug in for it |
| 16:43 |
darkom |
the problem was that I had two validators with the same name |
| 16:44 |
darkom |
i.e. i had already a validator with the name field-type |
| 16:45 |
darkom |
so I guess afterwards strange things happen |
| 16:46 |
PeYKaR |
[~pk@213.207.255.254] has quit [Ping timeout: 252 seconds] |
| 16:52 |
matbtt |
[~9b3844d7@gateway/web/freenode/x-qxoxsytecmzyqlkc] has quit [Ping timeout: 248 seconds] |
| 16:54 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-reyfjgwwwwxboooq] has joined #agavi |
| 16:59 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-reyfjgwwwwxboooq] has quit [Ping timeout: 248 seconds] |
| 16:59 |
luke` |
[~luke`@59.92.204.3] has joined #agavi |
| 17:00 |
Xylakant |
darkom: that's expected behavior |
| 17:00 |
Xylakant |
the second validator overwrites the first |
| 17:00 |
Xylakant |
so the first validator is never executed |
| 17:05 |
haji |
is now known as everplays |
| 17:12 |
everplays |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 258 seconds] |
| 17:13 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 17:13 |
haji |
is now known as everplays |
| 17:14 |
Zeelot2k |
[~lorenzo@2002:4332:80b:0:221:70ff:fe5d:1226] has joined #agavi |
| 17:15 |
krycek_ |
facing a "Too many execution runs have been detected for this Context" is common error when migrating to 1.0? |
| 17:17 |
graste |
increase number of executions factories.xml when you have many (nested) slots |
| 17:17 |
graste |
it's a parameter |
| 17:17 |
graste |
<ae:parameter name="max_executions">500</ae:parameter> |
| 17:17 |
graste |
of AgaviController |
| 17:18 |
krycek_ |
I dont think I have so many nested slots |
| 17:18 |
krycek_ |
but i will try that, thanks |
| 17:18 |
graste |
you'll run in this limit with too many slot executions, when you built endless loops :) |
| 17:19 |
graste |
omg english |
| 17:19 |
graste |
:x |
| 17:19 |
krycek_ |
O.o |
| 17:21 |
krycek_ |
it didn't work, I think it has some kind of deadlock |
| 17:21 |
saracen |
Are you forwarding to a page which forwards to itself at all? |
| 17:23 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:25 |
krycek_ |
that's what I'm looking for right now... but if there is such think it shouldn't work with 0.11.8 |
| 17:26 |
graste |
or you include a slot via layout? |
| 17:26 |
graste |
and again and again? |
| 17:26 |
graste |
^^ |
| 17:26 |
graste |
is away |
| 17:26 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:27 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Quit: leaving] |
| 17:30 |
saracen_ |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 17:31 |
saracen_ |
[~saracen@goto.fiveturns.org] has quit [Client Quit] |
| 17:34 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 17:36 |
saracen |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 17:38 |
everplays |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 252 seconds] |
| 17:38 |
Xylakant |
krycek_: increasing the maximum execution runs is possible in 0.11 |
| 17:39 |
Xylakant |
so if you increase the limit and still have that error, you probably have a slot that includes the same slot over and over again |
| 17:39 |
Xylakant |
probably via a layout that's loaded |
| 17:40 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 17:40 |
krycek_ |
Xylakant |
| 17:40 |
krycek_ |
http://pastebin.com/d3384b3f1 |
| 17:41 |
everplays |
[~dp@unaffiliated/everplays] has joined #agavi |
| 17:41 |
Xylakant |
that stacktrace is of no help |
| 17:43 |
krycek_ |
well, it says that it never reached my own code |
| 17:44 |
krycek_ |
it's some endless loop before something that i wrote is executed |
| 17:47 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 17:53 |
everplays |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 264 seconds] |
| 17:57 |
krycek_ |
removing all routes from routing.xml still gives me that error |
| 18:09 |
Zeelot2k |
[~lorenzo@2002:4332:80b:0:221:70ff:fe5d:1226] has quit [Remote host closed the connection] |
| 18:09 |
Zeelot2k |
[~lorenzo@2002:4332:80b:0:221:70ff:fe5d:1226] has joined #agavi |
| 18:37 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 18:40 |
J-P |
is it possible to set a default value for an argument inside a validator ? |
| 18:40 |
J-P |
if not, I think it would be great |
| 18:43 |
J-P |
wouldn't it ? |
| 18:45 |
saracen |
Why not just set it to required="false", and then in your action $rd->getParameter('value_from_validator', 'default_value'); ? |
| 18:46 |
saracen |
A validator being ran to validate it's own default values sounds a little weird |
| 18:46 |
J-P |
because it's not working well with SomeORM->fromArray() |
| 18:46 |
saracen |
How so? |
| 18:48 |
J-P |
I'm using doctrine. When I create a record I've been taught to use input name="parameter[name]" and then create my record using $record->fromArray($rd->(C)etParameter('parameter') |
| 18:48 |
J-P |
however |
| 18:48 |
J-P |
if I want a field to be empty |
| 18:49 |
J-P |
some non-required field, when I put an empty string, it simply does not validate thus not seding a value to the request data holder |
| 18:49 |
J-P |
which finally means, I'm not able to set an empty value to a field |
| 18:50 |
J-P |
to fix this |
| 18:50 |
J-P |
I have to manually check each record that can be empty, look if the value exists in $rd->getParameter(), if so I use the value otherwise I use '' |
| 18:51 |
J-P |
I think it would be easier to simply have a <default></default> element inside the validatur |
| 18:51 |
J-P |
me crazy ? |
| 19:02 |
saracen |
So, when you have an empty string, you're saying it doesn't pass through - which doctrine doesn't like because it expects that value to be in the request data? |
| 19:03 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [Quit: unit tests tomorrow ;]] |
| 19:04 |
saracen |
You could probably nest validators to give you what you want. If the string validator fails, you could export a default value by using the "set" validator |
| 19:05 |
J-P |
exacly |
| 19:05 |
J-P |
:o |
| 19:06 |
saracen |
http://pastebin.com/m25ef4ff1 |
| 19:06 |
saracen |
Something like that |
| 19:06 |
J-P |
sounds nice |
| 19:07 |
J-P |
I guess this is what I'll use untill such feature exists |
| 19:08 |
saracen |
If it was me, I'd probably tackle the problem via some other method - but I'm not 100% sure of what you're doing :) |
| 19:09 |
J-P |
are you using an ORM ? |
| 19:13 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 19:13 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 19:17 |
saracen |
J-P: Yeah, I have done, but I usually usually proxy it, via own my get/setters |
| 19:18 |
saracen |
I see the benefits of using toarray/fromarray stuff though, just havent implemented my own solution so far |
| 19:44 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 19:51 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| 20:00 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 20:30 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 20:32 |
matbtt_ |
[~matbtt@port-92-202-100-73.dynamic.qsc.de] has joined #agavi |
| 21:24 |
darkom |
[~darko@212.201.44.245] has quit [Ping timeout: 252 seconds] |
| 21:40 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 21:48 |
Rayne |
[~Rayne@pD954BF17.dip.t-dialin.net] has joined #agavi |
| 21:50 |
matbtt_ |
Huomenta. |
| 21:50 |
matbtt_ |
...anybody here who has tried Doctrine2 with Agavi |
| 21:50 |
matbtt_ |
? |
| 22:11 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Ping timeout: 246 seconds] |
| 22:18 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 22:25 |
matbtt_ |
[~matbtt@port-92-202-100-73.dynamic.qsc.de] has left #agavi [] |
| 22:33 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 22:37 |
Zeelot2k |
[~lorenzo@2002:4332:80b:0:221:70ff:fe5d:1226] has quit [Remote host closed the connection] |
| 22:38 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has joined #agavi |
| 22:39 |
fnordfish |
[~fnordfish@f052141115.adsl.alicedsl.de] has left #agavi [] |
| 22:39 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 22:41 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 22:42 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Client Quit] |
| 22:47 |
Zeelot2k |
[~lorenzo@2002:4332:80b:0:221:70ff:fe5d:1226] has joined #agavi |
| 22:49 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 23:00 |
matbtt_ |
[~matbtt@port-92-202-100-73.dynamic.qsc.de] has joined #agavi |
| 23:00 |
matbtt_ |
[~matbtt@port-92-202-100-73.dynamic.qsc.de] has left #agavi [] |
| 23:02 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 23:15 |
Rayne |
[~Rayne@pD954BF17.dip.t-dialin.net] has quit [Quit: Rayne] |
| 23:15 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| Day changed Thu Feb 04 2010
|
| 00:08 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 00:37 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 00:37 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Client Quit] |
| 01:00 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 01:15 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [] |
| 01:19 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Read error: Connection reset by peer] |
| 02:51 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 04:07 |
maleknet |
[~maleknet@85.15.40.233] has quit [Read error: No route to host] |
| 04:09 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 05:06 |
Yossi__ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has joined #agavi |
| 05:10 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has quit [Ping timeout: 265 seconds] |
| 05:10 |
Yossi__ |
is now known as Yossi_ |
| 05:51 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 05:52 |
maleknet |
[~maleknet@85.15.40.233] has quit [Read error: Connection reset by peer] |
| 05:54 |
PeYKaR |
[~pk@213.207.255.254] has joined #agavi |
| 05:59 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 06:44 |
luke` |
[~luke`@59.92.204.3] has quit [Quit: luke`] |
| 06:51 |
WasabiCat |
[~moritz@adsl-89-217-126-116.adslplus.ch] has joined #agavi |
| 07:41 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:41 |
matbtt_ |
[~matbtt@port-92-202-49-40.dynamic.qsc.de] has joined #agavi |
| 07:42 |
matbtt_ |
[~matbtt@port-92-202-49-40.dynamic.qsc.de] has left #agavi [] |
| 07:42 |
Yossi__ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has joined #agavi |
| 07:45 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has quit [Ping timeout: 240 seconds] |
| 07:45 |
Yossi__ |
is now known as Yossi_ |
| 07:49 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 07:54 |
robopuff |
[~robotdanc@4.76.classcom.pl] has joined #agavi |
| 08:02 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 08:05 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:08 |
graste |
huomenta |
| 08:15 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 08:16 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 08:17 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:27 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 08:28 |
WasabiCat |
[~moritz@adsl-89-217-126-116.adslplus.ch] has quit [Remote host closed the connection] |
| 08:28 |
WasabiCat |
[~moritz@adsl-89-217-126-116.adslplus.ch] has joined #agavi |
| 08:38 |
robopuff |
huomenta |
| 08:47 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 08:48 |
codecop |
huomenta |
| 08:52 |
fnordfish |
huomenta |
| 09:15 |
simoncpu |
[~soulfury@58.71.34.138] has joined #agavi |
| 09:33 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 09:35 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 09:44 |
matbtt |
[~9b3844d6@gateway/web/freenode/x-qaxhqxfrugsmzska] has joined #agavi |
| 09:44 |
sth |
Morning |
| 10:02 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 10:03 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 10:09 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 10:50 |
WasabiCat |
[~moritz@adsl-89-217-126-116.adslplus.ch] has quit [Quit: WasabiCat] |
| 10:57 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 11:04 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] |
| 11:15 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 11:17 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 11:17 |
Rendez |
morning |
| 11:17 |
Rendez |
how do I pass an #id to gen() |
| 11:18 |
Rendez |
the frament_id at the end, the JS hash in the url |
| 11:21 |
krycek_ |
like ->gen("name.of.action", array ("id" => 1))? |
| 11:22 |
Rendez |
no, something like #450">domain.com/path/to/some/route#450 |
| 11:22 |
Rendez |
the anchor |
| 11:22 |
Rendez |
I saw it in options in AgaviRouting but not sure how to go about it |
| 11:25 |
graste |
http://www.mivesto.de/agavi/agavi-faq.html#routing_4 - so $ro->gen('some.route', $routeParams, array('fragment' => 'id')); should work |
| 11:26 |
Rendez |
yeah, I saw the frament_id |
| 11:27 |
Rendez |
but as it didn't work I thought it was wrong |
| 11:27 |
Rendez |
obviously I had to remove _id |
| 11:27 |
Rendez |
maybe that should be in the FAQ, since might lead to confsion? |
| 11:27 |
Rendez |
graste: thanks |
| 11:31 |
sth |
Rendez: Do you mean #<something> that appears in urls? |
| 11:32 |
sth |
bla.com/foo.html#foobar |
| 11:32 |
Jarda |
sth: yes, that's called a fragment |
| 11:33 |
Rendez |
sth: yes, graste just said it |
| 11:35 |
sth |
knowing the fragment is another thing, since it's not sent to the server |
| 12:07 |
Jarda |
I use fragments mainly to tell things to javascript |
| 12:07 |
Jarda |
that's why generating it is important |
| 12:11 |
Yossi_ |
why and how does agavi get to process request with # |
| 12:11 |
Yossi_ |
nm... stupid question... I think |
| 12:12 |
krycek_ |
$this->getLayer('decorator')->setSlot('filter', $this->createSlotContainer('Front', 'Search.Filter', $rd)); |
| 12:12 |
Yossi_ |
actually no, when you do stuff like <a href="#"> it somehow gets processed by the web server when you run on Agavi... |
| 12:12 |
krycek_ |
that should execute the validation for Search.Filter, right? |
| 12:14 |
Jarda |
krycek_: yes (if you have a execute*( -method) |
| 12:16 |
krycek_ |
that could prevent those validators from executing? because they are not being called |
| 12:17 |
Jarda |
you need to have execute(Agavi..) or execute*(Agavi...) methods to get validation, yes |
| 12:20 |
krycek_ |
oh god, that was exactly the problem... |
| 12:20 |
krycek_ |
thanks |
| 12:20 |
Jarda |
no problem, a common mistake |
| 12:26 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Ping timeout: 246 seconds] |
| 12:34 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 12:34 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 12:52 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 13:01 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 13:03 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 13:06 |
PeYKaR |
[~pk@213.207.255.254] has quit [Ping timeout: 240 seconds] |
| 13:08 |
graste |
Yossi_ actually no, when you do stuff like <a href="#"> it somehow gets processed by the web server when you run on Agavi... |
| 13:08 |
graste |
that would just reload the current url |
| 13:08 |
graste |
that's why agavi is triggered |
| 13:24 |
Jarda |
well I guess it loads /# |
| 13:24 |
Jarda |
which is not usually the intended thing to do |
| 13:24 |
Jarda |
so when you would be at /foo/bar and do <a href="#"> you would end up to /# |
| 13:27 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 13:30 |
robopuff |
[~robotdanc@4.76.classcom.pl] has quit [Ping timeout: 272 seconds] |
| 13:32 |
Yossi_ |
graste: yeah but why |
| 13:32 |
Yossi_ |
or how.. |
| 13:32 |
Yossi_ |
it doesn't do it normaly... |
| 13:38 |
krycek_ |
how to do an UnitTest to test if eg "div.error" exists? |
| 13:39 |
Jarda |
selenium or pure phpunit? |
| 13:39 |
krycek_ |
pure |
| 13:39 |
krycek_ |
there is an example of assertResponseHasTag |
| 13:40 |
Jarda |
I don't know about that. Selenium understands xpath, don't know if phpunit does |
| 13:40 |
krycek_ |
but that's it |
| 13:43 |
matbtt |
[~9b3844d6@gateway/web/freenode/x-qaxhqxfrugsmzska] has quit [Ping timeout: 248 seconds] |
| 13:47 |
Xylakant |
krycek_: assertResponseHasTag() uses phpunit's assertTag() and allows the appropriate matchers |
| 13:48 |
Xylakant |
just as the documentation states btw. |
| 13:49 |
Xylakant |
the matcher does not support xpath |
| 13:49 |
Xylakant |
http://www.phpunit.de/manual/current/en/api.html#api.assert.assertTag |
| 13:50 |
Xylakant |
but you can certainly check that there's a div.error |
| 13:54 |
krycek_ |
Time to read the manual. Thanks again, Xylakant |
| 13:54 |
Xylakant |
this one is in the api docs |
| 13:54 |
Xylakant |
which are generally worth a look if you have any questions about what do methods do and which parameter do they accept |
| 14:00 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] |
| 14:03 |
matbtt |
[~9b3844d8@gateway/web/freenode/x-hhbhxmniavsprglp] has joined #agavi |
| 14:29 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:34 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Remote host closed the connection] |
| 14:34 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 14:36 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 15:20 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:21 |
SasanRose |
[~SasanRose@92.50.7.167] has joined #agavi |
| 15:41 |
Rendez_ |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 15:41 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 15:41 |
Rendez_ |
is now known as Rendez |
| 16:09 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 16:11 |
luke` |
[~luke`@59.92.204.3] has joined #agavi |
| 16:19 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 16:19 |
luke` |
[~luke`@59.92.204.3] has quit [Ping timeout: 248 seconds] |
| 16:26 |
luke` |
[~luke`@59.92.130.98] has joined #agavi |
| 16:33 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 16:34 |
matbtt |
[~9b3844d8@gateway/web/freenode/x-hhbhxmniavsprglp] has quit [Ping timeout: 248 seconds] |
| 16:48 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 16:58 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 16:59 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 16:59 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 17:06 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 17:09 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 17:11 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 17:14 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Ping timeout: 252 seconds] |
| 17:14 |
E_mE |
does AgaviValidator::getData() throw and exception if you pass an invalid argument name? |
| 17:14 |
Jarda |
I guess not |
| 17:14 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:29 |
fnordfish |
[~fnordfish@89.246.250.218] has left #agavi [] |
| 17:54 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has left #agavi [] |
| 18:23 |
graste |
[~graste@f053009111.adsl.alicedsl.de] has joined #agavi |
| 18:32 |
haji1 |
[~dp@89.165.13.184] has joined #agavi |
| 18:34 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 264 seconds] |
| 18:50 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 18:58 |
haji1 |
[~dp@89.165.13.184] has quit [Read error: Operation timed out] |
| 19:00 |
SasanRose |
[~SasanRose@92.50.7.167] has quit [Remote host closed the connection] |
| 19:11 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 19:16 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff20c000-252.dhcp.inet.fi] has joined #agavi |
| 19:24 |
cheerios_ |
jee |
| 19:26 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Read error: Connection reset by peer] |
| 19:32 |
cheerios_ |
berlin tomorrow \o/ |
| 19:40 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 19:43 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [Ping timeout: 258 seconds] |
| 19:46 |
fnordfish |
[~fnordfish@f052140251.adsl.alicedsl.de] has joined #agavi |
| 20:03 |
graste |
:o |
| 20:06 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 20:09 |
saracen |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 20:09 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 20:10 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 20:14 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Client Quit] |
| 20:53 |
fnordfish |
[~fnordfish@f052140251.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 21:25 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 22:55 |
graste |
[~graste@f053009111.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:10 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 23:23 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 23:25 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff20c000-252.dhcp.inet.fi] has quit [Quit: nn] |
| Day changed Fri Feb 05 2010
|
| 00:06 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 00:30 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 00:36 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 00:37 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 00:37 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Client Quit] |
| 00:59 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 01:09 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 02:32 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 03:01 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 04:03 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 04:18 |
luke` |
[~luke`@59.92.130.98] has quit [Quit: luke`] |
| 04:34 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 04:50 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:23 |
luke` |
[~luke`@203.187.255.74] has joined #agavi |
| 06:56 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Ping timeout: 256 seconds] |
| 07:39 |
robopuff |
[~Miranda@4.76.classcom.pl] has joined #agavi |
| 07:57 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 07:57 |
codecop__ |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 08:02 |
luke` |
[~luke`@203.187.255.74] has quit [Read error: Connection reset by peer] |
| 08:02 |
luke` |
[~luke`@203.187.255.74] has joined #agavi |
| 08:06 |
luke` |
[~luke`@203.187.255.74] has quit [Ping timeout: 264 seconds] |
| 08:12 |
luke` |
[~luke`@203.187.255.74] has joined #agavi |
| 08:16 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:26 |
robopuff |
huomenta |
| 08:34 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 09:01 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 09:01 |
graste |
huomenta |
| 09:21 |
Xylakant |
[~Xylakant@munich.bitextender.net] has joined #agavi |
| 09:24 |
sth |
Morning |
| 09:49 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 09:49 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 09:50 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 09:52 |
E_mE |
huomenta |
| 10:01 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] |
| 10:11 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:20 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 10:32 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 10:36 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 10:46 |
krycek_ |
can I do flow tests that use an AgaviRbacSecurityUser? |
| 10:46 |
krycek_ |
I mean action+view uses it |
| 10:47 |
Xylakant |
krycek_: in principle yes |
| 10:47 |
Xylakant |
you need to set up the user in the testcases setup() method |
| 10:48 |
Xylakant |
which agavi version are you using? |
| 10:48 |
krycek_ |
hmm, that's it then |
| 10:48 |
krycek_ |
1.0.2 now ;p |
| 10:48 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:49 |
krycek_ |
I'm glad I switched |
| 10:49 |
krycek_ |
well, I haven't finished yet, but so far so good |
| 10:50 |
Xylakant |
hmm, flow tests will change quite a bit in 1.1 |
| 10:50 |
Xylakant |
so be prepared when you upgrade |
| 10:50 |
Xylakant |
as I said, testing is still alpha in 1.0 and not api-stable |
| 10:51 |
krycek_ |
no problem, i won't be writting a lot of tests just yet |
| 10:52 |
Xylakant |
ok |
| 10:52 |
Xylakant |
just wanted to mention that |
| 10:53 |
krycek_ |
do you have an example of setting up an user? |
| 10:54 |
saracen |
Wai is my fpf not working =( |
| 10:55 |
sth |
Because you suck :x |
| 10:55 |
saracen |
has something be changed to enable it or something? ;x |
| 10:56 |
saracen |
oh wait, form post might be different |
| 10:57 |
Jarda |
Xylakant: ok, so if/when our tests broke in 1.0->1.1 we have no idea if our app is working :D |
| 10:57 |
Jarda |
well, I'm glad we don't have that much tests, a couple hundred maybe |
| 10:58 |
Jarda |
well, actually we use very little agavi testing api |
| 10:58 |
Jarda |
we just bootstrap an agavi instance etc |
| 10:59 |
krycek_ |
flow tests have just 2 or 3 assertions methods |
| 11:00 |
Jarda |
and I'm talking about unit tests |
| 11:00 |
Jarda |
we haven't even got into flow testing yet |
| 11:02 |
Jarda |
ok, so I changed my computer and pear is installing phing 2.4.0, this will bring problems? |
| 11:02 |
Jarda |
(and how should I downgrade) |
| 11:26 |
ttj |
Muahahaaa! GG's back! http://www.youtube.com/watch?v=UigclNEK7Ls |
| 11:30 |
sth |
that film is so bad it looks like a spoof |
| 11:30 |
ttj |
Well, it's a teaser, so of course they're looking to provoke people. |
| 11:33 |
graste |
Jarda well, I'm glad we don't have that much tests, a couple hundred maybe |
| 11:33 |
graste |
-.- |
| 11:33 |
graste |
I'm having like 10 <: |
| 11:33 |
graste |
^^ |
| 11:36 |
Xylakant |
Jarda: it shouldn't be too much work to adapt the tests |
| 11:36 |
Xylakant |
the main changes are around the flowtest |
| 11:36 |
Xylakant |
we split that testcase up into flowtest and container test |
| 11:36 |
Xylakant |
the flowtest does a full application dispatch with all filters |
| 11:37 |
Xylakant |
and a url etc as input |
| 11:37 |
Xylakant |
the container test just runs a single executioncontainer, so you can use it to test slots etc |
| 11:37 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 11:37 |
graste |
cool cool :) |
| 11:42 |
Xylakant |
yes, based on feedback and our own test |
| 12:01 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 265 seconds] |
| 12:08 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Ping timeout: 240 seconds] |
| 12:14 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:23 |
digitarald |
mh, simple yet powerful, I like: http://ezcomponents.org/docs/tutorials/SignalSlot |
| 12:23 |
digitarald |
... another day another reminder that I would like to see pubsub in agavi ;) |
| 12:28 |
digitarald |
idea for a blog tutorial: Your first flow test :) |
| 12:28 |
digitarald |
too many people don't have tests ... including some of my projects, I am guilty |
| 12:32 |
digitarald |
Xylakant, couldn't Davids slides/talks about agavi be linked on agavi.org, since they give a great intro to the framework |
| 12:35 |
digitarald |
and a community page that links to sites like http://www.mivesto.de/agavi/agavi-faq.html and http://adt.projectbin.org/ until there is a forge? |
| 12:37 |
WasabiCat |
[~moritz@adsl-89-217-126-116.adslplus.ch] has joined #agavi |
| 12:47 |
codecop__ |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 13:00 |
matbtt |
[~9b3844d7@gateway/web/freenode/x-wxmsmujfzefikrjj] has joined #agavi |
| 13:16 |
graste |
faq is linked on trac |
| 13:16 |
graste |
probably adt should be added there as well if it's not already there |
| 13:30 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [] |
| 13:31 |
luke` |
[~luke`@203.187.255.74] has quit [Quit: luke`] |
| 13:32 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] |
| 13:49 |
digitarald |
I know trac has a wiki ... but it is still linked under the label "Code" and for managing the code base. Links for community projects and similar should have an extra space ... |
| 13:50 |
digitarald |
could even link to an extra trac page as simple solution ... but hiding useful links in trac, nah |
| 13:51 |
digitarald |
don't u agree, graste? |
| 13:51 |
graste |
I certainly agree |
| 13:51 |
graste |
:) |
| 13:51 |
digitarald |
btw, the training document mentions cheat sheets ... do they exist? |
| 13:52 |
digitarald |
and access to bitextender best practices ... wouldn't both things be something nice to share, at least in a reduced format? |
| 13:56 |
graste |
slides would be a good start as introductions |
| 13:57 |
graste |
many projects gain a lot of speed and publicity through crowds blogging about things etc |
| 13:57 |
digitarald |
yes, when my blog is back alive I'll add some agavi tips for sure |
| 13:58 |
digitarald |
simple things, like "first steps in i18n" etc ... |
| 13:58 |
digitarald |
stuff that is currently hard to grab |
| 14:03 |
digitarald |
and I'm sure, MikeSeth and others also would write small 1-page articles about receipts interesting features |
| 14:03 |
digitarald |
ok, gives me the will to work on revamping my blog this weekend |
| 14:06 |
WasabiCat |
huomenta |
| 14:06 |
WasabiCat |
I was wondering if somebody could help me out with a console route |
| 14:06 |
WasabiCat |
<route name=".fixtures" pattern="fixtures( -m {module_name:[A-Za-z_]+})?$" action=".Fixtures" /> |
| 14:07 |
WasabiCat |
I'm trying to get an optional flag plus its value like this: ... fixtures -m ModuleName |
| 14:08 |
WasabiCat |
with a space before the -m and before the moduleName |
| 14:08 |
WasabiCat |
the above route doesn't do it for some reason |
| 14:13 |
digitarald |
has minimal console routing experience |
| 14:27 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 14:28 |
WasabiCat |
is anybody else experiencing grantRoles() on AgaviRbacSecurityUser to be ineffective? |
| 14:29 |
WasabiCat |
It doesn't actually grant roles for me |
| 14:29 |
WasabiCat |
getRoles() returns an empty array |
| 14:30 |
WasabiCat |
I've already checked that the role is defined in rbac_definitions.xml |
| 14:37 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 14:39 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 14:47 |
robopuff |
[~Miranda@4.76.classcom.pl] has quit [Ping timeout: 245 seconds] |
| 14:52 |
WasabiCat |
do I have to turn on Rbac somehow? |
| 14:52 |
WasabiCat |
except through <setting name="use_security">true</setting> |
| 14:56 |
graste |
factories.xml? |
| 14:57 |
graste |
haven't used it, but you may be required to specify the correct class there |
| 14:58 |
Rendez |
when are the AgaviValidator NOTICE = 300, ERROR = 400 or CRITICAL = 500 called respectively? |
| 15:01 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 15:01 |
Rendez |
how are those severity errors understood? |
| 15:02 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:03 |
WasabiCat |
graste: thanks I did that already |
| 15:14 |
pashyon |
[~tfroschm@ip-109-84-142-154.web.vodafone.de] has joined #agavi |
| 15:19 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 15:19 |
WasabiCat_ |
[~moritz@adsl-89-217-126-116.adslplus.ch] has joined #agavi |
| 15:20 |
WasabiCat |
[~moritz@adsl-89-217-126-116.adslplus.ch] has quit [Ping timeout: 256 seconds] |
| 15:21 |
WasabiCat_ |
is now known as WasabiCat |
| 15:22 |
WasabiCat |
[~moritz@adsl-89-217-126-116.adslplus.ch] has quit [Client Quit] |
| 15:26 |
pashyon |
[~tfroschm@ip-109-84-142-154.web.vodafone.de] has quit [Quit: Leaving.] |
| 15:37 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 15:38 |
hzilla |
back from the dead |
| 15:49 |
intel352 |
[~intel352@rrcs-70-63-90-226.midsouth.biz.rr.com] has joined #agavi |
| 15:51 |
intel352 |
hey all |
| 15:51 |
Tuxguy |
[~jimi_@unaffiliated/tuxguy] has joined #agavi |
| 15:51 |
intel352 |
is it possible w/ agavi code generation, to auto-support relations? |
| 15:51 |
intel352 |
one-to-one, has-many, etc? |
| 15:56 |
intel352 |
[~intel352@rrcs-70-63-90-226.midsouth.biz.rr.com] has left #agavi ["Leaving"] |
| 15:56 |
luke` |
[~luke`@59.92.130.98] has joined #agavi |
| 16:00 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 16:08 |
graste |
Rendez: you may specify severities in your validator xmls to e.g. silently ignore failing validation on arguments |
| 16:11 |
Rendez |
I see, but still not sure how these are treated |
| 16:11 |
Rendez |
I'll dig more myself |
| 16:11 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 16:18 |
digitarald |
m |
| 16:19 |
luke` |
[~luke`@59.92.130.98] has quit [Ping timeout: 252 seconds] |
| 16:25 |
luke` |
[~luke`@59.96.61.42] has joined #agavi |
| 16:32 |
matbtt |
[~9b3844d7@gateway/web/freenode/x-wxmsmujfzefikrjj] has quit [Ping timeout: 248 seconds] |
| 16:34 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 16:44 |
Xylakant |
Rendez: any questions about validation? |
| 16:44 |
Rendez |
yeah well, just trying to grasp a bit of knowledge on how exactly the codes act |
| 16:44 |
Rendez |
NOTICE = 300, ERROR = 400 or CRITICAL = 500 etc |
| 16:45 |
Xylakant |
Error is the standard |
| 16:45 |
Rendez |
since I'm using those to return http status codes for AJAX responses |
| 16:45 |
Xylakant |
validation will fail |
| 16:45 |
Xylakant |
don't do that |
| 16:45 |
Xylakant |
critical will abort validation immediately and all subsequent validators will not run |
| 16:46 |
Xylakant |
notice will generate an error that you can retrieve with the validation report, but validation in general will not fail |
| 16:46 |
Xylakant |
the value will not be available though |
| 16:46 |
Xylakant |
silent pretty much does the same but will suppress the error in the report afaik |
| 16:48 |
Xylakant |
i'd not mess with the severity to return a status code |
| 16:48 |
Xylakant |
you could use error messages as code |
| 16:51 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 17:02 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 17:08 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 17:09 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 17:11 |
Xylakant |
[~Xylakant@munich.bitextender.net] has quit [Quit: Xylakant] |
| 17:22 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 17:36 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 17:56 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 272 seconds] |
| 17:58 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 18:14 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Read error: Connection reset by peer] |
| 18:15 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 18:17 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:19 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Read error: Connection reset by peer] |
| 18:34 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 18:42 |
SasanRose |
[~SasanRose@92.50.7.167] has joined #agavi |
| 18:49 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has joined #agavi |
| 18:58 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: c ya.] |
| 19:31 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has joined #agavi |
| 19:51 |
haji |
is now known as everplays |
| 20:22 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has left #agavi [] |
| 20:22 |
graste |
[~graste@f053007170.adsl.alicedsl.de] has joined #agavi |
| 20:34 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 21:29 |
Tuxguy |
[~jimi_@unaffiliated/tuxguy] has quit [Quit: Leaving] |
| 21:33 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 21:44 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has joined #agavi |
| 21:55 |
SasanRose |
[~SasanRose@92.50.7.167] has quit [Quit: leaving] |
| 22:05 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 22:17 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 22:41 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has left #agavi [] |
| 22:42 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 22:44 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has quit [Quit: digitarald] |
| 23:14 |
WasabiCat |
[~moritz@adsl-84-226-31-91.adslplus.ch] has joined #agavi |
| 23:15 |
WasabiCat |
[~moritz@adsl-84-226-31-91.adslplus.ch] has quit [Client Quit] |
| Day changed Sat Feb 06 2010
|
| 00:16 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 00:18 |
Rayne |
[~Rayne@pD9E34962.dip.t-dialin.net] has joined #agavi |
| 00:19 |
Rayne |
[~Rayne@pD9E34962.dip.t-dialin.net] has left #agavi [] |
| 00:21 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 00:22 |
movvy |
wierd one |
| 00:22 |
movvy |
agavi doesn't have any built in activation type script stuff |
| 00:43 |
graste1 |
[~graste@f053001039.adsl.alicedsl.de] has joined #agavi |
| 00:44 |
graste |
[~graste@f053007170.adsl.alicedsl.de] has quit [Read error: Operation timed out] |
| 00:49 |
graste1 |
[~graste@f053001039.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 01:17 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| 03:33 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 04:34 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 05:51 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 05:58 |
SasanRose |
[~SasanRose@213.207.255.167] has joined #agavi |
| 06:13 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:33 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 240 seconds] |
| 06:40 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:47 |
haji |
[~dp@unaffiliated/everplays] has quit [Read error: Connection reset by peer] |
| 06:54 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 252 seconds] |
| 07:18 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:22 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 240 seconds] |
| 08:07 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 10:02 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 10:05 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 10:20 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 11:26 |
Treffynnon_ |
[~Simon@82-69-141-230.dsl.in-addr.zen.co.uk] has joined #agavi |
| 11:28 |
Treffynnon |
[~Simon@82-69-141-230.dsl.in-addr.zen.co.uk] has quit [Ping timeout: 264 seconds] |
| 11:28 |
Treffynnon_ |
is now known as Treffynnon |
| 12:04 |
SasanRose |
[~SasanRose@213.207.255.167] has quit [Ping timeout: 252 seconds] |
| 12:04 |
SasanRose |
[~SasanRose@213.207.255.167] has joined #agavi |
| 12:11 |
SasanRose |
[~SasanRose@213.207.255.167] has quit [Quit: leaving] |
| 13:18 |
fnordfish |
[~fnordfish@f052136198.adsl.alicedsl.de] has joined #agavi |
| 13:19 |
fnordfish |
[~fnordfish@f052136198.adsl.alicedsl.de] has quit [Client Quit] |
| 13:20 |
luke` |
[~luke`@59.96.61.42] has quit [Ping timeout: 240 seconds] |
| 13:32 |
SasanRose |
[~SasanRose@213.207.255.167] has joined #agavi |
| 15:14 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 246 seconds] |
| 15:31 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 15:36 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 16:03 |
SasanRose |
[~SasanRose@213.207.255.167] has quit [Quit: leaving] |
| 16:08 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 252 seconds] |
| 16:19 |
luke` |
[~luke`@59.92.129.32] has joined #agavi |
| 16:54 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 17:31 |
pashyon |
[~tfroschm@mnch-5d856e44.pool.mediaWays.net] has joined #agavi |
| 17:32 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 17:36 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 17:38 |
pashyon |
[~tfroschm@mnch-5d856e44.pool.mediaWays.net] has quit [Ping timeout: 252 seconds] |
| 18:07 |
haji |
[~dp@unaffiliated/everplays] has quit [Read error: Connection reset by peer] |
| 18:09 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 18:22 |
fnordfish |
[~fnordfish@f052136198.adsl.alicedsl.de] has joined #agavi |
| 18:29 |
movvy |
good afternoon |
| 18:40 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has joined #agavi |
| 19:01 |
SasanRose |
[~SasanRose@92.50.7.167] has joined #agavi |
| 20:11 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has left #agavi [] |
| 20:47 |
SasanRose |
[~SasanRose@92.50.7.167] has quit [Quit: leaving] |
| 21:01 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 21:13 |
Rayne |
[~Rayne@pD9E34CBD.dip.t-dialin.net] has joined #agavi |
| 21:25 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 21:47 |
fnordfish |
[~fnordfish@f052136198.adsl.alicedsl.de] has left #agavi [] |
| 21:55 |
movvy |
hello |
| 21:56 |
movvy |
wondering if agavi has built in email authentication? |
| 21:56 |
movvy |
like the actvation link stuff |
| 21:58 |
sth |
I doubt it |
| 21:59 |
movvy |
didn't think so, but didnt waste time if there was some kinda of feature |
| 23:04 |
Rayne |
is agavi yet php5.3 compatible? (=> namespaces) |
| 23:20 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Ping timeout: 252 seconds] |
| 23:41 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 245 seconds] |
| Day changed Sun Feb 07 2010
|
| 00:07 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 00:22 |
robopuff |
[~myfas@nat2-88.ghnet.pl] has joined #agavi |
| 00:32 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 00:36 |
Rayne |
[~Rayne@pD9E34CBD.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 02:03 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 02:29 |
robopuff |
[~myfas@nat2-88.ghnet.pl] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] |
| 02:30 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [] |
| 03:54 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 03:57 |
luke`_ |
[~luke`@59.92.129.32] has joined #agavi |
| 04:00 |
luke` |
[~luke`@59.92.129.32] has quit [Ping timeout: 256 seconds] |
| 04:00 |
luke`_ |
is now known as luke` |
| 05:02 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 05:39 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 05:42 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 06:01 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:34 |
haji1 |
[~dp@188.158.10.5] has joined #agavi |
| 06:34 |
haji |
[~dp@unaffiliated/everplays] has quit [Disconnected by services] |
| 06:34 |
haji1 |
is now known as haji |
| 06:34 |
haji |
[~dp@188.158.10.5] has quit [Changing host] |
| 06:34 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:46 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 09:54 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 10:28 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 10:43 |
luke` |
[~luke`@59.92.129.32] has quit [Ping timeout: 240 seconds] |
| 11:09 |
luke` |
[~luke`@59.92.129.32] has joined #agavi |
| 11:21 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 11:23 |
Rayne |
[~Rayne@pD9E36731.dip.t-dialin.net] has joined #agavi |
| 11:42 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 12:03 |
MikeSeth |
Rayne: ns compatibility will come in 2.0 |
| 12:03 |
MikeSeth |
btw |
| 12:03 |
MikeSeth |
http://pastebin.com/f72bf5426 |
| 12:04 |
MikeSeth |
ponders |
| 12:22 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 12:36 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has quit [Read error: Connection reset by peer] |
| 12:47 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 12:51 |
graste |
[~graste@f053009066.adsl.alicedsl.de] has joined #agavi |
| 12:57 |
Rayne |
meh. ic, thx |
| 13:14 |
sth |
I thought 1.0.2 had NS support for external classes |
| 13:27 |
Jarda |
namespaces would be great |
| 13:27 |
Jarda |
but |
| 13:27 |
Jarda |
I have no idea what the gain is comparing to prefixin classes |
| 13:28 |
Jarda |
well, $foo = new Propel\models\Foo(); or $foo = new Agavi\ParameterHolder(); |
| 13:33 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 272 seconds] |
| 13:48 |
MikeSeth |
Jarda: I see much rage in our future |
| 13:49 |
MikeSeth |
PHP is fail |
| 13:49 |
MikeSeth |
Agavi should be rewritten in Forth |
| 14:01 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 240 seconds] |
| 14:03 |
sth |
I say we rewrite it in C |
| 14:04 |
Rayne |
MikeSeth, you want to write "5 3 + 7 2 + * ." instead of "(5 + 3) * (7 + 2)"? :D |
| 14:04 |
Rayne |
at least haskell is more interesting :P |
| 14:04 |
graste |
let's rewrite agavi in javascript with node.js |
| 14:04 |
Rayne |
+1 |
| 14:05 |
Rayne |
like that flash javascript interpreter, epic win! |
| 14:05 |
graste |
mootools is available in server version as well |
| 14:05 |
Rayne |
eh
flash interpreter in javascript |
| 14:06 |
graste |
agavi would be the first nonblocking application framework out there =) |
| 14:06 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 14:12 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 14:18 |
sth |
Node.js doen't support threading yet |
| 14:21 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 14:23 |
haji |
[~dp@unaffiliated/everplays] has quit [Read error: Connection reset by peer] |
| 14:40 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 240 seconds] |
| 15:10 |
fnordfish |
[~fnordfish@f052142063.adsl.alicedsl.de] has joined #agavi |
| 15:10 |
fnordfish |
[~fnordfish@f052142063.adsl.alicedsl.de] has left #agavi [] |
| 15:42 |
luke` |
[~luke`@59.92.129.32] has quit [Ping timeout: 248 seconds] |
| 15:44 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 15:48 |
Rayne |
[~Rayne@pD9E36731.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 15:51 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 16:01 |
MikeSeth |
btw have you all seen HTML 5 canvas demo? |
| 16:01 |
MikeSeth |
is win |
| 16:12 |
hzilla |
which demo? |
| 16:12 |
MikeSeth |
http://mugtug.com/sketchpad/ |
| 16:14 |
hzilla |
that's dope |
| 16:15 |
hzilla |
the text thing is dodgy thi |
| 16:15 |
hzilla |
tho |
| 16:16 |
MikeSeth |
well, the technology is almost there |
| 16:16 |
MikeSeth |
in a little bit we will be able to make truly interactive apps without slapping a whole pyramid of flash interaction on the juiciest bits |
| 16:16 |
MikeSeth |
I'm so sick of PHP though |
| 16:17 |
hzilla |
i'm sick of programming in general |
| 16:19 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| 16:39 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 16:39 |
movvy |
iu |
| 16:39 |
movvy |
hi* |
| 16:39 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Client Quit] |
| 16:40 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 16:51 |
MikeSeth |
derp |
| 16:51 |
MikeSeth |
hzilla: I should get a lawyer career |
| 16:55 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has joined #agavi |
| 17:08 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 260 seconds] |
| 17:15 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 17:26 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has quit [Ping timeout: 256 seconds] |
| 17:26 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has joined #agavi |
| 17:36 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 17:40 |
fnordfish |
[~fnordfish@f052142063.adsl.alicedsl.de] has joined #agavi |
| 17:40 |
fnordfish |
[~fnordfish@f052142063.adsl.alicedsl.de] has left #agavi [] |
| 18:05 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 18:09 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 252 seconds] |
| 18:14 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 18:22 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 264 seconds] |
| 18:28 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 18:38 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has left #agavi [] |
| 18:59 |
hzilla |
MikeSeth: no i don't think so |
| 19:01 |
hzilla |
i was thinking about a couple of ideas tho |
| 19:01 |
hzilla |
like a net based voting system to make sure people don't abuse democracy - like exit polling but online |
| 19:03 |
hzilla |
and a usb biometric scanner system to monitor people's health and stuff - some hardware required |
| 19:04 |
hzilla |
i had an idea to do something like evernote years ago but they done it now |
| 19:04 |
hzilla |
still loads of potential to do interesting things on the net |
| 19:08 |
Rayne |
[~Rayne@pD9E36731.dip.t-dialin.net] has joined #agavi |
| 19:09 |
Rayne |
hey guys |
| 19:38 |
graste |
:) |
| 20:07 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 20:21 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Quit: leaving] |
| 20:29 |
Rayne |
how do you name your project's "namespace"? (like Core => CoreBaseModel) |
| 20:31 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 20:40 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has joined #agavi |
| 20:43 |
Rayne |
[~Rayne@pD9E36731.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 21:16 |
sikkle |
[~sikkle@70.25.37.18] has quit [Remote host closed the connection] |
| 21:32 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has left #agavi [] |
| 21:35 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 21:42 |
Rayne |
[~Rayne@pD9E36731.dip.t-dialin.net] has joined #agavi |
| 22:12 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 252 seconds] |
| 22:17 |
saracen |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 22:33 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 23:20 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 23:40 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 23:42 |
Rayne |
[~Rayne@pD9E36731.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| Day changed Mon Feb 08 2010
|
| 00:07 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 00:13 |
graste1 |
[~graste@f053009045.adsl.alicedsl.de] has joined #agavi |
| 00:13 |
graste |
[~graste@f053009066.adsl.alicedsl.de] has quit [Ping timeout: 256 seconds] |
| 00:14 |
graste1 |
[~graste@f053009045.adsl.alicedsl.de] has quit [Client Quit] |
| 01:38 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 01:41 |
MugeSo |
Huomenta |
| 01:46 |
luke` |
[~luke`@59.92.130.8] has joined #agavi |
| 02:16 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Read error: Connection reset by peer] |
| 02:16 |
sikkle__ |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 02:22 |
sikkle__ |
is now known as sikkle |
| 02:56 |
MugeSo |
I want to use array parameter in routing like: <routing pattern="^/(foo[baz]:\w+)(/{foo[bar]:\w+)?$" /> |
| 03:41 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 03:54 |
luke` |
[~luke`@59.92.130.8] has quit [Quit: luke`] |
| 03:57 |
simoncpu |
[~soulfury@58.71.34.138] has quit [Quit: weeeeeeeee] |
| 03:58 |
simoncpu |
[~soulfury@58.71.34.138] has joined #agavi |
| 04:06 |
luke` |
[~luke`@59.92.130.8] has joined #agavi |
| 04:14 |
luke` |
[~luke`@59.92.130.8] has quit [Quit: luke`] |
| 04:26 |
movvy |
hello |
| 04:38 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 05:06 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 05:10 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 05:17 |
Jarda |
MugeSo: why? |
| 05:23 |
MugeSo |
I have model classified by several axises and I want to filter them with parameters. |
| 05:27 |
MugeSo |
And I also want that the path /<axis1>/<axis2>/ can be change to /<axis2>/<axis1> without modifying validator nor action. |
| 05:29 |
Jarda |
MugeSo: well I would do something like pattern="^/(foo:\w+)/(bar:\w+)/(baz:\w+)$" and then a custom validator with <arguments><argument>foo</argument><argument>bar</argument><argument>baz</argument> and then export a array from the validator |
| 05:29 |
MugeSo |
at the same time, axises change with environment. |
| 05:30 |
Jarda |
but now off to work, will continue from there |
| 05:30 |
MugeSo |
Thanks |
| 05:39 |
MugeSo |
Jarda: I'll use RoutingCallback, it seems suit for my need :) |
| 05:39 |
MugeSo |
Jarda: thanks a lot :D |
| 06:00 |
Jarda |
no problem (if I really did help you :D) |
| 07:00 |
movvy |
so I have tons of redundant html, i feel it must be bale to be used in a template somehow |
| 07:00 |
movvy |
like for example the header / footer and menu system are almost always the same |
| 07:03 |
v-dogg |
header, footer and menu are usually put into a decorator template (app/templates/Master.php by default) or into a slot |
| 07:03 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 240 seconds] |
| 07:05 |
movvy |
yeah but what if I have to like 'Master' templates |
| 07:05 |
movvy |
2 master templtes i mean |
| 07:05 |
movvy |
so I have like 2 diff styles |
| 07:05 |
movvy |
how do I like pick my decorator |
| 07:06 |
movvy |
does that make sense :) |
| 07:08 |
Jarda |
movvy: slots |
| 07:09 |
Jarda |
take a look at the tutorial app and http://www.agavi.org/documentation/tutorial/step4/introduction.html |
| 07:09 |
movvy |
hmmm I will read up on it tomorrow, its late, 2am |
| 07:09 |
movvy |
thanks for all the help, chat tomorrow ;) |
| 07:09 |
Jarda |
9am here :D |
| 07:22 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 07:28 |
ttj |
How is it possible to cut yourself in the ear while shaving. Jesus... This week certainly started off well. |
| 07:29 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Read error: Connection reset by peer] |
| 07:30 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:30 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Read error: Connection reset by peer] |
| 07:30 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 07:30 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 07:40 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 07:56 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 07:57 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:11 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Ping timeout: 245 seconds] |
| 08:35 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 08:42 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 08:54 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 08:57 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 09:02 |
graste |
huomenta |
| 09:14 |
simoncpu |
huomenta! |
| 09:15 |
simoncpu |
can i disallow spaces in the string validator? |
| 09:15 |
simoncpu |
or do i need to use regex validator instead? |
| 09:20 |
simoncpu |
uh... how do i pass a regex pattern? |
| 09:20 |
simoncpu |
do i need to enclose it with CDATA or something? |
| 09:24 |
MikeSeth |
simoncpu: string validator only validates lengths |
| 09:24 |
MikeSeth |
if you want to match characters you want a regex validator aye |
| 09:27 |
sth |
simoncpu: <ae:parameter name="pattern"><pattern here></ae:parameter> |
| 09:27 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:30 |
matbtt |
[~9b3844d7@gateway/web/freenode/x-lmuwkeoobydpijst] has joined #agavi |
| 09:32 |
Treffynnon |
[~Simon@82-69-141-230.dsl.in-addr.zen.co.uk] has quit [Remote host closed the connection] |
| 09:35 |
simoncpu |
i used <![CDATA[<pattern here>]]> just to be safe |
| 09:35 |
simoncpu |
i found out that it just uses preg_match underneath... =) |
| 09:36 |
simoncpu |
so i just copy/pasted my old regexes |
| 09:39 |
MikeSeth |
simoncpu: yep |
| 10:05 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has joined #agavi |
| 10:37 |
E_mE |
huomenta |
| 10:38 |
MikeSeth |
ohai |
| 10:41 |
Rayne |
[~Rayne@eduroam-p2-018.triple-a.uni-kl.de] has joined #agavi |
| 10:41 |
Rayne |
[~Rayne@eduroam-p2-018.triple-a.uni-kl.de] has quit [Client Quit] |
| 10:53 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 10:56 |
SasanRose |
[~SasanRose@213.207.255.167] has joined #agavi |
| 11:02 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Ping timeout: 252 seconds] |
| 11:12 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 265 seconds] |
| 11:14 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 11:15 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 11:20 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Ping timeout: 264 seconds] |
| 11:26 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 12:13 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 12:15 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:25 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 12:38 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 12:41 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 13:08 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 13:08 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has joined #agavi |
| 13:09 |
Yossi_ |
Huomenta |
| 13:10 |
Yossi_ |
Anyone knows how to change the way agavi formats currency amounts? |
| 13:13 |
SasanRose |
[~SasanRose@213.207.255.167] has quit [Quit: leaving] |
| 13:14 |
krycek_ |
$tm->_c($float, null, 'en_US@currency=EUR'); |
| 13:23 |
krycek_ |
a logger is not handling phrases with accents correctly... the encoding of the file is UTF-8... what else could it be? |
| 13:24 |
krycek_ |
there is no DB data in it |
| 13:27 |
Xylakant |
krycek_: what is "not correctly" |
| 13:27 |
krycek_ |
it puts "?" in accented letters like á ê ó |
| 13:27 |
krycek_ |
and others like ç |
| 13:29 |
v-dogg |
I haven't had any problems with ??? and I find it hard to believe agavi's loggers would touch the data in any way |
| 13:30 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 13:30 |
v-dogg |
where does the data come from? is it hard coded in your code? |
| 13:30 |
krycek_ |
it logs user input data |
| 13:31 |
Xylakant |
hmm, there's a ton of places where that could go wrong |
| 13:31 |
krycek_ |
but the local version works fine... the production server logs that is giving me those "?" |
| 13:31 |
Xylakant |
do you send the proper charset header? |
| 13:32 |
Xylakant |
maybe you local server is set to utf8 as default while the production server is set to iso or something different |
| 13:32 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] |
| 13:33 |
graste |
or your terminal just shows wrong characters :) |
| 13:33 |
Xylakant |
yeah, another option |
| 13:35 |
krycek_ |
hmm... headers are ok... |
| 13:35 |
krycek_ |
and I'm downloading those logs to my pc to see them |
| 13:36 |
krycek_ |
I will try save that data in the DB to see what happens... thanks |
| 13:38 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 13:39 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 13:44 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Read error: Connection reset by peer] |
| 13:44 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 13:45 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Remote host closed the connection] |
| 13:45 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [Ping timeout: 265 seconds] |
| 13:45 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 13:46 |
digitarald |
[~digitaral@193.247.250.49] has joined #agavi |
| 13:53 |
digitarald |
[~digitaral@193.247.250.49] has quit [Remote host closed the connection] |
| 13:53 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 13:54 |
macen |
what would be needed to initiate a new execute request type? eg. executeAjax, specify a paramater in routing.xml perhaps? |
| 13:54 |
macen |
parameter * |
| 13:55 |
Xylakant |
macen: ajax should not be handled in the action |
| 13:55 |
Xylakant |
otherwise, pretty much nothing |
| 13:55 |
macen |
so define it as an output type then? |
| 13:56 |
Xylakant |
a route can contain an attribute "method" such as 'method="Delete"' which would map to executeDelete |
| 13:56 |
macen |
excellent |
| 13:56 |
Xylakant |
you can remap the http verbs in factories.xml if you'd choose to |
| 13:56 |
Xylakant |
and yes, ajax should be an output type |
| 13:56 |
Xylakant |
there's very little need for other methods |
| 13:57 |
saracen |
I disagree. JSON should be an output type. Or XML |
| 13:57 |
macen |
so the method="" must have a matching output type then |
| 13:57 |
Xylakant |
you'd need them in a proper rest interface but AFAIK all http verbs are mapped |
| 13:57 |
Xylakant |
saracen: ajax is an output type |
| 13:57 |
Xylakant |
it often generates html snippets without a layout |
| 13:57 |
saracen |
But then the output type in that case is html |
| 13:58 |
saracen |
Without a decorator |
| 13:58 |
Xylakant |
macen: no |
| 13:58 |
Xylakant |
saracen: so how do you name that as output type? |
| 13:58 |
Xylakant |
I often see ajaxHtml and ajax as a short form |
| 13:58 |
macen |
ok |
| 13:58 |
Xylakant |
macen: if you want to set an output type use the output_type attribute for the route |
| 13:58 |
macen |
the ajax method would be returning json, so i would need to map it to a json output type then, i presume? |
| 13:59 |
macen |
^^ |
| 13:59 |
macen |
yes |
| 13:59 |
Xylakant |
and then yes, you'll need a matching output type declaration |
| 13:59 |
macen |
ok |
| 13:59 |
saracen |
Yeah, I don't like that. As "ajax" clearly isn't an actual output type. Wombert told me a decent solution: You can check to see if your ajax detection route was matched, then in your base view, if it was matched, send html without any decorators |
| 13:59 |
macen |
thank you Xylakant |
| 14:00 |
Xylakant |
and please, don't make yourself an unhappy man, don't mess with the request methods for ajax requests |
| 14:00 |
Xylakant |
saracen: and if your ajax html response needs some different template? |
| 14:00 |
Xylakant |
or if you want different decorators? |
| 14:01 |
Xylakant |
is "whitelabelHtml" a valid output type? |
| 14:01 |
saracen |
You don't have to make the check in your baseview, you could do it in the view for that action - Then you can just load any decorator/template or whatever you want |
| 14:01 |
Xylakant |
certainly, but then I don't need output types at all |
| 14:01 |
saracen |
You do, for different output types |
| 14:02 |
impl |
lawl |
| 14:02 |
saracen |
json, xml, html, png, jpeg, pdf |
| 14:02 |
Xylakant |
an output type is just a predefined set of renderers and attributes that you associate with a name |
| 14:02 |
impl |
saracen: stop being a douchenozzle |
| 14:02 |
saracen |
impl: :D |
| 14:03 |
Xylakant |
and if there is a renderer with a given set of parameters that I use for ajax requests, "ajax" is a perfectly fine name for that set |
| 14:03 |
Xylakant |
so why is it not an output type? |
| 14:03 |
Xylakant |
because it's not related to an "existing" format? |
| 14:04 |
impl |
because ajax can't return json, it can only return xml |
| 14:04 |
Xylakant |
because the "x" used to be "xml" ;) |
| 14:04 |
Xylakant |
yes, that's nitpicking |
| 14:04 |
impl |
nitpicking is what we do at Agavi :D |
| 14:04 |
Xylakant |
often ajax returns partial html trees |
| 14:04 |
impl |
hmm |
| 14:04 |
saracen |
In which case, the output "type" is html :D |
| 14:04 |
graste |
saracen: we've e.g. have an output type "GSA" for google search appliance and a "silverlight" output type for changes necessary for integrating it - basically it's still HTML, but... ;) |
| 14:05 |
Xylakant |
saracen: wrong |
| 14:05 |
Xylakant |
because it's just a name I give it |
| 14:05 |
saracen |
So "ajax" is your magic output type which can return absolutely anything, given the request was from javascript? |
| 14:05 |
graste |
yes :> |
| 14:05 |
saracen |
Then why have output types |
| 14:05 |
impl |
saracen: "ajax" serves the semantic purpose assigned to it, is the point |
| 14:05 |
Xylakant |
and I need to distinguish between "the html i return for full page request" and "the html i return for partial requests" |
| 14:06 |
Xylakant |
and I can name the first "dork" and the second "duck" if i choose to |
| 14:06 |
graste |
:> |
| 14:06 |
Xylakant |
as long as I and my team can remember the name |
| 14:06 |
graste |
I'm with Xylakant here <: |
| 14:06 |
impl |
executeDuck() // poor duck :( |
| 14:06 |
Xylakant |
so the standard set of parameters that are usually used for ajax requests is named "ajax" |
| 14:07 |
Xylakant |
because it's easier to remember than "duck" |
| 14:07 |
graste |
we've even have an output type "fse" that's basically reusing executeHtml, that renders some additional buttons/info into it |
| 14:07 |
Yossi_ |
krycek_: I should have been more specific what if I want to change the formatting to display the currency sign instead of the 3 letters, and drop the extra .00 he places at the end of the number |
| 14:07 |
graste |
just because it's simpler to work with output types and assign different renderers instead of switching things in executeHtml() in views or templates |
| 14:08 |
graste |
and have layouts of course |
| 14:08 |
saracen |
It doesn't make sense to me. You might as well have executeSlot, because thats potentially partial html too. When you want use some javascript modal window thingy and you want it to load a specific action, you'll have to copy the logic from your executeHtml view in to executeJson |
| 14:08 |
Xylakant |
well, actually that's what output types are for - they are a named set of parameters for the view (+ some magic) |
| 14:08 |
luke` |
[~luke`@122.172.96.99] has joined #agavi |
| 14:09 |
graste |
yes |
| 14:09 |
graste |
they're just an abstract concept with assigned layout/renderer/returntype etc. |
| 14:10 |
graste |
at least that's how I see them |
| 14:10 |
Xylakant |
it's basically what they are |
| 14:10 |
saracen |
Still doesn't make sense, unless you want to rename it. You'll end up with several output types, which essentially "output" the same content type. |
| 14:11 |
impl |
so? |
| 14:11 |
Xylakant |
agavi throws in the handling for you but that'S it |
| 14:11 |
Xylakant |
saracen: yes, yes, that's it |
| 14:11 |
impl |
output type != content type |
| 14:11 |
graste |
saracen: we've got "xml" and "xmldownload" just to have correct http headers for certain dynamic content - sometimes you want to use the xml output and sometimes you want the browser to present it as an d/l |
| 14:11 |
Xylakant |
for mtv we have 5 different xml content types |
| 14:11 |
Xylakant |
because every stupid connector wants his own "xml" |
| 14:11 |
Xylakant |
it's because xml != xml |
| 14:12 |
Xylakant |
how would you handle RSS? |
| 14:12 |
Xylakant |
there's rss 1.0 1.1 2.0 which are all essentially the same |
| 14:12 |
Xylakant |
and they're all XML |
| 14:13 |
v-dogg |
just support one :) |
| 14:13 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 248 seconds] |
| 14:13 |
graste |
atom! |
| 14:13 |
Xylakant |
v-dogg: nice try |
| 14:13 |
v-dogg |
:) |
| 14:13 |
graste |
:) |
| 14:13 |
impl |
it actually might be more sane to use some sort of RSSBuilder model for that or something wouldn't it? |
| 14:13 |
Xylakant |
yes, certainly |
| 14:13 |
Xylakant |
but you need to feed the proper parameters |
| 14:14 |
Xylakant |
and so I usually have a separate output type for all of those |
| 14:14 |
graste |
it's still 3 different routes for 3 output types that all use the builder in the view to generate the correct format version |
| 14:14 |
impl |
aye |
| 14:14 |
graste |
or whatever |
| 14:14 |
graste |
^^ |
| 14:14 |
Xylakant |
so I can handle the setup in separate methods and then delegate to the builder |
| 14:15 |
Xylakant |
it's just another example that the output type != content type |
| 14:15 |
saracen |
If it's 3 different routes, I could use 3 different actions, which call a model. Or I could use one action, which calls a model - Maybe I'm missing something, but I dont see the complication with using executeXml to output that data ;x |
| 14:16 |
impl |
why would you handle RSS generation in an action |
| 14:16 |
impl |
:< |
| 14:16 |
saracen |
The generation would be done in a model, but the request would go to an action, is the way I'd probably do it |
| 14:16 |
v-dogg |
oh hey impl, wat happened with the ele order? |
| 14:17 |
impl |
v-dogg: nexen disappeared and I didn't get around to figuring out how to order them otherwise |
| 14:17 |
v-dogg |
roger |
| 14:17 |
impl |
then I let the domain expire by accident :x |
| 14:17 |
impl |
I'll get to it though |
| 14:17 |
v-dogg |
those french surrender monkeys... |
| 14:23 |
sth |
http://www.youtube.com/watch?v=4rJAw-fuYHk |
| 14:26 |
saracen |
Silly question |
| 14:26 |
graste |
saracen: it's the same action all the time as you need the same data for all your feeds |
| 14:26 |
saracen |
anybody know how popular .com addresses are in south africa? |
| 14:26 |
graste |
so it's just changes in your view depending on the output type (e.g. determined via routing) |
| 14:26 |
graste |
what version to render |
| 14:26 |
saracen |
graste: Yeah. Still not sure why i'd need seperate output types though |
| 14:27 |
Xylakant |
saracen: keeps the code clean |
| 14:27 |
Xylakant |
polymorphism for the win |
| 14:27 |
graste |
to separate concerns instead of switch-case a version parameter you get from your url |
| 14:27 |
sth |
saracen: http://www.google.co.za/ :D |
| 14:28 |
saracen |
You'd have to have that switch case in your action though, if you're providing the data to several builder models |
| 14:28 |
saracen |
So, but the time it meets your view. All you might have to do is change the output type (assuming you just dont tell it application/xml and the header handles the rest) |
| 14:28 |
saracen |
Bah |
| 14:28 |
saracen |
I meant content type* |
| 14:29 |
Xylakant |
saracen: eerrm no |
| 14:29 |
Xylakant |
the output type is independent from the action |
| 14:29 |
Xylakant |
it operates on the same data |
| 14:29 |
Xylakant |
all rss feeds contain basically the same information, but rss 1.0, 2.0 and atom differ slightly in the format |
| 14:30 |
Xylakant |
the action does not need to know which xml format gets generated by the view |
| 14:30 |
graste |
exactly |
| 14:30 |
graste |
you can even generate your feed data as HTML or JSON or $whatever as previews or further use via js or whatever |
| 14:31 |
saracen |
So, you're saying you'd get your model to generate the output, but that call would be made in the view? |
| 14:33 |
graste |
it's the same 10 blog posts all the time (so you get them in your action via models) and then render that result array in your view as whatever the user asked for (via routing: rss 1, 2, atom, html, json, csv, whatever) |
| 14:33 |
graste |
to render them you may use a model or builder or whatever |
| 14:33 |
graste |
in your view |
| 14:33 |
saracen |
I still dont see why I need several output types for that =( |
| 14:33 |
graste |
wtf |
| 14:33 |
graste |
:> |
| 14:33 |
saracen |
I mean, I do for html, json, csv |
| 14:34 |
saracen |
But if I'm getting a model to build the xml for me, to be specific to the type requested |
| 14:34 |
saracen |
I could just do that in my view. Sure, I might have to use a switch. But so are you. The only difference is, you had to make your switch out of several functions and hard coded definitions in output_types, which all look the same just have a different name |
| 14:34 |
saracen |
in my executeXml* rather, not view :) |
| 14:35 |
graste |
okay, what would you do if RSS1 and RSS2 should be delivered differently - one needs certain http headers the other format is not allowed to use |
| 14:35 |
graste |
I'm just changing http headers in output_type.xml without touching php code |
| 14:35 |
graste |
you would add switch case in your action or view |
| 14:35 |
graste |
to set headers |
| 14:35 |
saracen |
And I'm just changing http headers in the view, without touching xml configuration |
| 14:36 |
graste |
yeah and now some of your clients ask you, to deliver the RSS2 with certain additional headers |
| 14:36 |
graste |
and information |
| 14:37 |
saracen |
Additional information? Like what? |
| 14:38 |
graste |
doesn't matter, you would start to write all that into your single method |
| 14:38 |
graste |
or in your action/model |
| 14:38 |
saracen |
So would you |
| 14:38 |
saracen |
Unless you're going to some how add additional information via your output type |
| 14:39 |
Xylakant |
saracen: no, the code specific to RSS2 would go to executeRss2 |
| 14:39 |
Xylakant |
it keeps methods short, properly named and scoped to their responsibility |
| 14:40 |
Xylakant |
switch/case statements quickly grow in size and tend to become unwieldy |
| 14:40 |
saracen |
Ok. Well if I ever get a request to add something large and additional to just one form of RSS, I'll be sorry =( |
| 14:40 |
graste |
the other output types are not touched and I've got no problems to separate the code/results - in executeRss2ForSomeClient() I could even call executeRss2, take the result, add my changes or set mya http headers and by gone |
| 14:40 |
saracen |
But im not sure why you wouldnt do it to rss1 either |
| 14:40 |
saracen |
It's not like my method can't execute other methods |
| 14:40 |
Xylakant |
no, certainly you can |
| 14:40 |
graste |
but your method will grow and become unmaintainable |
| 14:41 |
Xylakant |
but basically you replicate what agavi does for you |
| 14:41 |
Xylakant |
and there's the question where you draw the line: do you place all output types that generate xml in one method? |
| 14:41 |
graste |
and the probability of generating side effects when business logic gets more complicated for SomeClient and changing things for others will break things for former will suck when you have no test coverage |
| 14:42 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 14:42 |
graste |
while yith using output types you probably see fast enough what the problem is |
| 14:42 |
graste |
s/yith/with |
| 14:42 |
graste |
Xylakant and there's the question where you draw the line: do you place all output types that generate xml in one method? |
| 14:43 |
graste |
it's like I remember rails or symfony: switch case response type |
| 14:43 |
graste |
:> |
| 14:43 |
graste |
and deliver whatever was requested |
| 14:43 |
MikeSeth |
hey felix, did you see that libxmpl processor instruction exploit? |
| 14:43 |
saracen |
Well, not everything. I mean, rss is classed as applicaiton/xml+rss I believe. That to me is a new valid output type. |
| 14:43 |
graste |
now in agavi I have the framewok do this for me and I can concentrate on logic:) |
| 14:43 |
MikeSeth |
http://pastebin.com/f72bf5426 |
| 14:43 |
MikeSeth |
^^^ |
| 14:44 |
MikeSeth |
btw I just got the unit test suite to work, it's AWESOME |
| 14:44 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 264 seconds] |
| 14:44 |
impl |
MikeSeth: hah, that's awesome |
| 14:45 |
graste |
pretty nasty MikeSeth :D |
| 14:45 |
MikeSeth |
not really a problem for Agavi configuration system, but still the framework should turn this off explicitly IMO |
| 14:45 |
Xylakant |
MikeSeth: if you have any recommendations for changes in the unit testing, feel free to send us a message |
| 14:46 |
MikeSeth |
Xylakant: if you ask me, a per-project base class for unit tests would be nice |
| 14:46 |
Xylakant |
MikeSeth: it's only a problem if you allow users to upload the xml and display it |
| 14:46 |
Xylakant |
well, you can have one |
| 14:46 |
MikeSeth |
I do have one :P |
| 14:46 |
Xylakant |
but we currently do not generate one, true |
| 14:47 |
MikeSeth |
well actually this means that the project build should generate a default test suite |
| 14:47 |
MikeSeth |
currently it doesnt, the installation is manual and so the point is moot |
| 14:47 |
Xylakant |
we're working on that |
| 14:47 |
Xylakant |
actually, we'd like to generate a unit testcase for every model you generate |
| 14:47 |
Xylakant |
same for actions, views and stuff |
| 14:47 |
MikeSeth |
Xylakant: another nice feature would be locking/divertion of all logging |
| 14:48 |
MikeSeth |
if you have loggers for console environment that are configured to spit out stuff to the console, unit tests will break |
| 14:48 |
Xylakant |
hmm, true |
| 14:48 |
MikeSeth |
so i had to write a special piece of config to go around that |
| 14:48 |
Xylakant |
that's actually the intended way |
| 14:48 |
Xylakant |
we could generate an appropriate config |
| 14:49 |
Xylakant |
we'd actually prefer not to tie the testing system into the framework itself |
| 14:49 |
MikeSeth |
other than this I have had no difficulties integrating the test suite |
| 14:49 |
Xylakant |
but since there are only two appenders writing to console, we could maybe rig those |
| 14:49 |
MikeSeth |
imo you could just divert all output to nowhere |
| 14:50 |
MikeSeth |
though that'd prolly require digging in phpunit internals |
| 14:51 |
saracen |
One of you needs a longer or shorter name. You alignment dazzlers |
| 14:51 |
impl |
fixed-width font whore |
| 14:52 |
MikeSeth |
my alignment is neutral evil |
| 14:52 |
impl |
I'm chaotic neutral |
| 14:53 |
saracen |
I thought somebody had sent me a giant toblerone this morning. I was well happy. Until I was passed it, and it was light. It was just in the right shaped box =( |
| 14:53 |
saracen |
It was actually just an umbrella |
| 14:53 |
MikeSeth |
impl: you're an anarchist? |
| 14:53 |
MikeSeth |
>< |
| 14:53 |
impl |
MikeSeth: pretty close :D |
| 14:53 |
MikeSeth |
move to Somalia |
| 14:53 |
MikeSeth |
I heard it's anarchist heaven over there |
| 14:54 |
impl |
yeah I heard that too |
| 14:54 |
impl |
alas, I don't speak any of their languages and so I'd probably rightfully be killed pretty quickly |
| 14:54 |
Xylakant |
or be mistaken for a god |
| 14:54 |
impl |
haha |
| 14:54 |
Xylakant |
just wear your best furs, helmet and battle axe when you land |
| 14:54 |
MikeSeth |
yes, that worked out well in south park |
| 15:00 |
E_mE |
checkout the APR on this site: wonga.com |
| 15:00 |
E_mE |
its laughable! |
| 15:04 |
saracen |
i think thats the point :) |
| 15:10 |
pashyon |
[~tfroschm@ip-109-84-211-35.web.vodafone.de] has joined #agavi |
| 15:10 |
pashyon |
[~tfroschm@ip-109-84-211-35.web.vodafone.de] has quit [Client Quit] |
| 15:19 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has left #agavi [] |
| 15:27 |
hzilla |
lo - got a bit of an issue. I'm using a slot to generate an html fragment for an ajax call. i need some params from the module config but AgaviConfig is returning null - seems like its not setup when u call a slot |
| 15:30 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 15:31 |
Xylakant |
hzilla: that would be very much surprising |
| 15:33 |
hzilla |
somethings up.. |
| 15:33 |
Xylakant |
the module config is set up the moment any action gets touched in the module |
| 15:33 |
Xylakant |
however, if you're reading a config from a different module that may not be the case |
| 15:35 |
hzilla |
ah yes thats it i think |
| 15:35 |
hzilla |
i'm trying to grab the config of a different module |
| 15:36 |
hzilla |
is taht poss? |
| 15:38 |
Xylakant |
yes, in general |
| 15:38 |
Xylakant |
but if you need to access a config from a different module, why don't you move that up the tree |
| 15:39 |
Xylakant |
it somehow indicates that you separation is wron |
| 15:41 |
hzilla |
one module for the user contains the settings for managing the image/avatar read/write - so i'm calling for that config in various places where avatars are needed in slots |
| 15:41 |
Xylakant |
see - obviously the config should rather be global |
| 15:42 |
hzilla |
so create a images.xml and stick the image options in the top config? |
| 15:42 |
Xylakant |
in general you could call controller::initializeModule() but that's pretty much an internal api |
| 15:42 |
Xylakant |
use at your own risk |
| 15:52 |
Xylakant |
so I'd go create either an images.xml or maybe just stick the settings in the global settings.xml |
| 15:52 |
Xylakant |
depending on how much there is to configure |
| 15:53 |
hzilla |
its quite a bit so i think a seperate file is better. how then do i address it in get()? images.xml>configuration>settings>setting with name |
| 15:53 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 15:55 |
macen |
[~craigfair@78-105-119-23.zone3.bethere.co.uk] has quit [Client Quit] |
| 15:55 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 15:56 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Client Quit] |
| 15:56 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 15:58 |
hzilla |
do i have to do a checkConfig? |
| 15:59 |
hzilla |
i mean i have to include it explicitly right? |
| 16:01 |
Xylakant |
what? |
| 16:01 |
Xylakant |
you get the config with $config = AgaviConfigCache::checkConfig('path/to/file'); |
| 16:02 |
Zeelot2k |
[~lorenzo@2002:4332:80b:0:221:70ff:fe5d:1226] has quit [Remote host closed the connection] |
| 16:03 |
hzilla |
ok thanks |
| 16:05 |
pashyon |
[~tfroschm@mnch-5d85a34f.pool.mediaWays.net] has joined #agavi |
| 16:07 |
luke` |
[~luke`@122.172.96.99] has quit [Quit: luke`] |
| 16:08 |
Zeelot2k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 16:15 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 16:15 |
pashyon |
[~tfroschm@mnch-5d85a34f.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] |
| 16:21 |
sth |
Xylakant: Does your new drive have USB as well? |
| 16:21 |
Xylakant |
yes |
| 16:23 |
matbtt |
[~9b3844d7@gateway/web/freenode/x-lmuwkeoobydpijst] has quit [Ping timeout: 248 seconds] |
| 16:37 |
Yossi_ |
Any one knows how I can change the format $tm->_c() formats numbers? |
| 16:40 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 16:41 |
Xylakant |
you need to define a number-format in you translation.xml |
| 16:56 |
Yossi_ |
Xylakant: Any example/which function retrieves those values? |
| 16:56 |
Xylakant |
not atm |
| 16:57 |
Xylakant |
and I don't have too much time to answer that question, so either someone else can help you or you could send an email to the mailing list |
| 16:58 |
Yossi_ |
Xylakant: okay |
| 17:06 |
Yossi_ |
I'll try to figure it out from the schema |
| 17:26 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 17:31 |
horros_ |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 17:40 |
movvy |
what is the best way to handle like |
| 17:40 |
movvy |
you know lets say you add a user, and you edit a user... |
| 17:40 |
movvy |
like whats the best way, to handle editing |
| 17:40 |
movvy |
adding is easy with forms and FPF |
| 17:41 |
movvy |
but the editing form would be very close tot he adding form, not sure if agavi had some awesome tool for this |
| 17:42 |
graste |
make edit user route, get user in action, assign input template in view and prefill FPF with user data |
| 17:42 |
graste |
perhaps |
| 17:42 |
graste |
<: |
| 17:42 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 17:44 |
nick3 |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 17:46 |
nick3 |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] |
| 17:47 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] |
| 17:47 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 17:53 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:16 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 18:24 |
Xylakant |
oh, php please: http://bugs.php.net/bug.php?id=18556 |
| 18:26 |
luke` |
[~luke`@59.96.42.230] has joined #agavi |
| 18:27 |
impl |
hahah |
| 18:27 |
impl |
PHP. you are awesome. |
| 18:30 |
Xylakant |
adobe get's it's share of awesomeness: http://www.picpaste.de/Photoshop_Druck-Undo.png |
| 18:31 |
Xylakant |
for all that don't speak german it says "Undo Printing" |
| 18:31 |
Xylakant |
I wonder what's the implementation for that |
| 18:32 |
Yossi_ |
wow, amazing |
| 18:36 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 18:38 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:43 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 18:46 |
Yossi_ |
Xylakant: let me just see if I get this right, the way I change the format of $tm->_c is create a filter function which is simply edits the output of _c just before it returns it |
| 18:55 |
graste |
[~graste@f053009045.adsl.alicedsl.de] has joined #agavi |
| 19:09 |
movvy |
graste, I will check it out, i don't understand how to prefill FPF |
| 19:09 |
movvy |
is there some functions to do so? |
| 19:13 |
saracen |
The snippet for doing so should really go in the agavi FPF |
| 19:13 |
saracen |
it gets asked all of the time |
| 19:14 |
v-dogg |
"Agavi FAQ" is probably what you meant |
| 19:15 |
movvy |
i think so :) |
| 19:18 |
saracen |
lol, opps |
| 19:18 |
saracen |
Yes it is |
| 19:18 |
graste |
hm |
| 19:19 |
graste |
http://pastie.org/815050 |
| 19:19 |
graste |
how about this snippet? |
| 19:20 |
movvy |
thats elite |
| 19:20 |
movvy |
that does it |
| 19:21 |
graste |
or I could just add the populate method MikeSeth posted a few days ago: http://pastie.org/815052 |
| 19:21 |
saracen |
graste: That's not quite right |
| 19:21 |
graste |
repaste it with errors fixed, movvy should try if it works and I add it to the faq |
| 19:21 |
graste |
^^ |
| 19:21 |
movvy |
yup, I will try it |
| 19:22 |
saracen |
Ok, one sec |
| 19:22 |
movvy |
its going to be about 30 minutes though, have to do some quotes for work :) |
| 19:22 |
movvy |
just vpn'd out of my dev envioronment |
| 19:23 |
graste |
:-) |
| 19:23 |
graste |
no worries |
| 19:27 |
E_mE |
[~jeramy@5e029ee8.bb.sky.com] has quit [Quit: E_mE] |
| 19:27 |
saracen |
http://pastie.org/815062 |
| 19:27 |
saracen |
various ways. All essentially the same |
| 19:27 |
saracen |
I probably have a syntax error, given that the comments arent the right colour, but meh |
| 19:28 |
graste |
s/getAttribute/setAttribute |
| 19:28 |
graste |
<: |
| 19:28 |
graste |
but thanks |
| 19:28 |
saracen |
Yeah, should be setAttribute - except for the last one, which gets by reference |
| 19:28 |
saracen |
Then theres no need to set, obviously |
| 19:29 |
graste |
it's essentially similar to http://www.mivesto.de/agavi/agavi-faq.html#validation_8 but I think I'll add another faq entry explicitely for form population |
| 19:29 |
graste |
well, dinner first ^^ |
| 19:29 |
saracen |
Last method is handy if you have various if statements, so you only want to populare various things because of something. Then you can split up the population |
| 19:30 |
graste |
last method of yours? |
| 19:30 |
graste |
right before mikes? |
| 19:30 |
saracen |
yeah, before mikes |
| 19:31 |
graste |
:-) |
| 19:31 |
graste |
any other snippets to add to the faq you have at hand? ^^ |
| 19:31 |
graste |
I've got a lot in my opera's notes, but don't feel like writing entries as it's hard work ;) |
| 19:33 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [] |
| 19:34 |
saracen |
Nothing I can think of atm :) |
| 19:36 |
graste |
just remember it, when you hit a problem you have to look up in agavi's sources or somewhere |
| 19:36 |
graste |
send that snippet to me ;) |
| 19:37 |
graste |
last weeks questions about translations, currencies and date formatting reoccur all the time |
| 19:37 |
graste |
imho |
| 19:37 |
graste |
:) |
| 19:47 |
krycek_ |
cookies need to be validated to be avaiable in an action? |
| 19:47 |
Jarda |
krycek_: right |
| 19:51 |
krycek_ |
i used to get the cookie value in 0.11.x with: $rd->getCookie("foo"); is that still the right way? |
| 19:52 |
krycek_ |
i'm seeing the cookie value in the webkit web inspector, I have set the xml validation for that "argument"... but no value returned from the getCookie() in the action |
| 19:54 |
v-dogg |
wrong validator source? |
| 19:55 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 19:57 |
krycek_ |
cookie, validator argument and getCookie()... all with the same name |
| 19:57 |
graste |
did you specify a source attribute in your validator?= |
| 19:58 |
krycek_ |
i guess not ;) |
| 19:58 |
graste |
<validator ... source="cookies"> |
| 19:59 |
graste |
that's what v-dogg was thinking about, I'd say :) |
| 19:59 |
Jarda |
yup |
| 19:59 |
Jarda |
that's the one |
| 19:59 |
krycek_ |
yes, he was right... that source att is new for me |
| 19:59 |
krycek_ |
thanks, that was it |
| 20:00 |
graste |
http://www.mivesto.de/agavi/agavi-faq.html#general_11 |
| 20:00 |
graste |
there is headers, files, cookies |
| 20:00 |
graste |
as well |
| 20:04 |
krycek_ |
hm, good faq you have there... agavi.org could have something alike |
| 20:05 |
graste |
it's link is on the trac hp |
| 20:06 |
krycek_ |
what is the reason for actions that has no execute() method(s) do not validated any input? |
| 20:14 |
sth |
Sweet, I have the new facebook interface |
| 20:15 |
saracen |
old |
| 20:15 |
Xylakant |
[~Xylakant@ip-77-24-223-31.web.vodafone.de] has joined #agavi |
| 20:15 |
sth |
heh |
| 20:15 |
Jarda |
I admit that it can't be easy to upgrade a monster app like facebook |
| 20:15 |
sth |
I need to put my old hard drive in the freezer |
| 20:15 |
graste |
sweet, nobody other than those 400 mio people uses that web app anyways :P |
| 20:16 |
Jarda |
but I still can't understand how shitty it has been working last days |
| 20:23 |
Xylakant |
Well, the official upgrade policy is "move fast, break stuff" |
| 20:24 |
Xylakant |
anyways, I'll be off, see you tomorrow |
| 20:24 |
Xylakant |
[~Xylakant@ip-77-24-223-31.web.vodafone.de] has left #agavi [] |
| 20:34 |
saracen |
Sweet, my facebook interface just updated too |
| 20:41 |
sth |
OLD |
| 20:41 |
saracen |
That's what she said. |
| 20:42 |
sth |
So's your face |
| 20:47 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 248 seconds] |
| 20:54 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 20:58 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Ping timeout: 252 seconds] |
| 21:00 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 21:03 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 21:04 |
movvy |
sorry my pc died |
| 21:04 |
movvy |
im done with ym quoptes now, im reading the logs |
| 21:09 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has joined #agavi |
| 21:58 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 22:02 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Ping timeout: 260 seconds] |
| 22:13 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 22:17 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Ping timeout: 245 seconds] |
| 22:18 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [] |
| 22:19 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 22:20 |
matbtt_ |
[~matbtt@port-92-202-43-95.dynamic.qsc.de] has left #agavi [] |
| 22:23 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Ping timeout: 260 seconds] |
| 22:24 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 22:28 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Ping timeout: 240 seconds] |
| 22:29 |
graste |
gn8 internet :-) |
| 22:29 |
graste |
[~graste@f053009045.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 22:38 |
MikeSeth |
urr durr |
| 22:41 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 22:43 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 22:51 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 22:52 |
Rick |
[rick@unaffiliated/rick] has quit [Quit: I
don't need to be here.] |
| 23:00 |
maleknet |
[~maleknet@85.15.40.233] has quit [Read error: Operation timed out] |
| 23:08 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 23:12 |
horros_ |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| Day changed Tue Feb 09 2010
|
| 00:49 |
Rick |
[rick@pool-71-165-66-38.lsanca.fios.verizon.net] has joined #agavi |
| 00:49 |
Rick |
[rick@pool-71-165-66-38.lsanca.fios.verizon.net] has quit [Changing host] |
| 00:49 |
Rick |
[rick@unaffiliated/rick] has joined #agavi |
| 01:06 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 03:11 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 03:26 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 04:05 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 04:19 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 04:42 |
Rick |
[rick@unaffiliated/rick] has quit [Quit: I
don't need to be here.] |
| 04:43 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 04:44 |
graste |
huomenta |
| 05:22 |
Rick |
[rick@pool-71-165-66-38.lsanca.fios.verizon.net] has joined #agavi |
| 05:22 |
Rick |
[rick@pool-71-165-66-38.lsanca.fios.verizon.net] has quit [Changing host] |
| 05:22 |
Rick |
[rick@unaffiliated/rick] has joined #agavi |
| 05:41 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 05:45 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 06:47 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 06:51 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Ping timeout: 256 seconds] |
| 06:55 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 06:59 |
simoncpu |
[~soulfury@58.71.34.138] has quit [Ping timeout: 258 seconds] |
| 07:51 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 07:54 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has quit [Quit: leaving] |
| 07:57 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 08:06 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Read error: Connection reset by peer] |
| 08:06 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 08:07 |
luke` |
[~luke`@59.96.42.230] has quit [Quit: luke`] |
| 08:12 |
fnordfish |
[~fnordfish@f052141146.adsl.alicedsl.de] has joined #agavi |
| 08:17 |
MikeSeth |
derp |
| 08:19 |
fnordfish |
[~fnordfish@f052141146.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 08:32 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:35 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] |
| 09:01 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 09:04 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:09 |
MikeSeth |
ummm |
| 09:09 |
MikeSeth |
why does phpunit do this |
| 09:09 |
MikeSeth |
1) testRemoteProfileStorage(BannerProfileTest) |
| 09:09 |
MikeSeth |
RuntimeException: a:3:{s:10:"testResult";N;s:13:"numAssertions";i:2;s:6:"result";O:28:"PHPUnit_Framework_TestResult":16:{s:9:" |
| 09:10 |
MikeSeth |
wtf exception with serialize data |
| 09:24 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 09:24 |
MugeSo |
MikeSeth: maybe, the original exception class is not loaded out of isolation test environment. |
| 09:24 |
MikeSeth |
MugeSo: hmmm |
| 09:25 |
MikeSeth |
hole in autoloaders |
| 09:25 |
MugeSo |
hmmm |
| 09:27 |
MugeSo |
how about property of testcase class ? |
| 09:28 |
sth |
Morning |
| 09:28 |
MugeSo |
don't you set an instance to property in setup method? |
| 09:30 |
MikeSeth |
no, it was doctrine magic causing this |
| 09:34 |
MugeSo |
then, as a quick fix, I usually do testTestname(){try{/* test code */}}catch(exception $e){$this->fail($e->getMessage());}} |
| 09:35 |
MikeSeth |
hah that should be in a base class somewhere :P |
| 09:36 |
MikeSeth |
b |
| 09:37 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-ivmcdjkvosttpqon] has joined #agavi |
| 09:43 |
MugeSo |
speaking of phpunit, I also got similar phpunit problem when i use AgaviViewTestCase. |
| 09:45 |
Xylakant |
please feel free to report all problems with testing to the mailing list |
| 09:45 |
Xylakant |
we're interested in feedback |
| 09:45 |
Xylakant |
and I can't monitor and remember the channel all the time, but I tend to not forget what's in my mailbox |
| 09:46 |
MugeSo |
Xylakant: ok, i see :) |
| 09:47 |
sth |
Xylakant: In the end I got the WD My Book Elite yesterday. |
| 09:47 |
sth |
I disapprove of the crapware they put on the drive though |
| 09:47 |
Xylakant |
yes, though I can see some reason behind it |
| 09:48 |
Xylakant |
if you use the hardware encryption you might be happy to have it along |
| 09:48 |
sth |
Yeah |
| 09:48 |
Xylakant |
and since I do, I guess I can live with that |
| 09:48 |
Xylakant |
drive is nice though. quiet, fast |
| 09:49 |
sth |
I like the screen |
| 09:51 |
Xylakant |
i guess that really gets useful if you have more than one |
| 09:52 |
Xylakant |
no more "darn, which one is backups, which one is videos?" |
| 09:53 |
sth |
And the capacity bar. |
| 09:54 |
Xylakant |
well, that's nice but not that useful. i can check the capacity when the drive is plugged in, i rarely have use for that when it's not |
| 09:56 |
sth |
I wonder if the screen can be hacked to display other stuff |
| 10:04 |
graste |
no, impossible! |
| 10:04 |
graste |
<: |
| 10:08 |
Xylakant |
graste: have you tried? |
| 10:10 |
graste |
no |
| 10:10 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:10 |
graste |
but all those VCDs are usually hackable :) |
| 10:11 |
graste |
I don't even know what you're talking about, as I don't know the drive |
| 10:12 |
sth |
graste: http://pcarena.pl/uploads/file/MyBookElite3.jpg |
| 10:12 |
sth |
And Xylakant has the version with firewire |
| 10:13 |
Xylakant |
yes, since I have a mac with firewire ;) |
| 10:13 |
sth |
:( |
| 10:13 |
Xylakant |
I'd have bought a firewire version anyways, just as investment for the future |
| 10:14 |
sth |
they didn't have the firewire version at saturn |
| 10:14 |
Xylakant |
hmm |
| 10:15 |
Xylakant |
well, order online ;) |
| 10:15 |
sth |
On your pitiful German websites? :) |
| 10:18 |
MikeSeth |
are there any tools for code coverage report generation in the current agavi testing stack? |
| 10:20 |
Xylakant |
MikeSeth: the current stack in 1.1 supports all phpunit options |
| 10:20 |
Xylakant |
sth: on pityfuk amazon.co.uk |
| 10:23 |
MikeSeth |
zomg |
| 10:23 |
MikeSeth |
i love you |
| 10:24 |
Xylakant |
thanks :) |
| 10:25 |
MikeSeth |
umm it generated coverage reports from / to /home |
| 10:25 |
MikeSeth |
i mean |
| 10:25 |
MikeSeth |
for projects other than intended |
| 10:25 |
MikeSeth |
ponders |
| 10:25 |
MikeSeth |
is it because of agavi autoload or something? |
| 10:26 |
MikeSeth |
i mean there's an external library on which the target app depends which is situated outside the app directory.. and the report for it got generated |
| 10:27 |
MikeSeth |
durr |
| 10:31 |
Xylakant |
you can add files to the ignore list |
| 10:32 |
Xylakant |
and yes, all files that get loaded are in the coverage report |
| 10:32 |
sth |
Xylakant: I would have saved nothing :) |
| 10:32 |
Xylakant |
use |
| 10:32 |
Xylakant |
PHPUnit_Util_Filter::addDirectoryToFilter(<dirname>); |
| 10:32 |
Xylakant |
sth: no, certainly. but you'd have firewire |
| 10:33 |
sth |
USB is fine for now |
| 10:33 |
graste |
http://www.knutster.com/bilder/1123/insel-der-flaschen/ |
| 10:33 |
graste |
:o |
| 10:34 |
robopuff |
[~Miranda@4.76.classcom.pl] has joined #agavi |
| 10:56 |
MikeSeth |
Xylakant: any way to make it not cross topwards from a certain directory? |
| 10:56 |
Xylakant |
no |
| 10:56 |
Xylakant |
you can only explicitly list directories to exclude |
| 10:56 |
MikeSeth |
goddammit, so it always generates beginnign with /home/foo? |
| 10:56 |
Xylakant |
but all subdirectories will be excluded as well |
| 10:57 |
Xylakant |
so you can exclude /home/foo unless your app lives in it |
| 10:57 |
Xylakant |
you'll probably have to place the exclude in run-tests.php |
| 10:57 |
MikeSeth |
it does |
| 10:57 |
MikeSeth |
anf worse yet when you add wide exclusion filters like /usr it iterates over the entire contents of /usr making the coverage generation very slow |
| 11:09 |
nick3 |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 11:09 |
Xylakant |
well, patch phpunit ;) |
| 11:09 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] |
| 11:15 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 11:18 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 11:19 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 11:28 |
khashayar |
[~d5cfe026@gateway/web/freenode/x-undbjkpwpozilhvx] has joined #agavi |
| 11:28 |
khashayar |
hi |
| 11:29 |
khashayar |
is there anyway to define a validator for a parameter to be defined globaly for all actions? |
| 11:29 |
khashayar |
i have a parameter that appears in all actions and i don't want to copy & paste that validator in all validation.xml files |
| 11:37 |
Xylakant |
khashayar: there's a global validation file in app/config and all other validation files should inherit from that file |
| 11:38 |
Xylakant |
if you used the build system to generate the actions, that is |
| 11:38 |
khashayar |
yes, i did. that's a relief, thanks Xylakant |
| 11:38 |
MikeSeth |
haha khashayar has a bulb moment |
| 11:38 |
MikeSeth |
Agavi is made of these |
| 11:39 |
MikeSeth |
khashayar: and of course you can pack common validator configurations into XML files and include those in your action |
| 11:39 |
MikeSeth |
Xylakant: d'ya know where Ross is these days? |
| 11:40 |
MikeSeth |
he kinda fell off the radar |
| 11:40 |
Xylakant |
no clue, you'd probably have to ask david |
| 11:40 |
khashayar |
MikeSeth: thanks |
| 11:41 |
Xylakant |
yeah, using xincludes for common sets would be an option as well |
| 11:41 |
Xylakant |
you might also want to read this blog entry http://blog.agavi.org/post/284778196/save-letters-use-short-validator-names |
| 11:44 |
v-dogg |
didn't ross jump into the python wagon like all the cool guys? |
| 11:45 |
Xylakant |
anyways, off, grab some food |
| 11:45 |
Jarda |
I'm cool and I hate python! |
| 11:45 |
Jarda |
well I'm not nerd cool |
| 12:10 |
nick3 |
is now known as steffkes |
| 12:12 |
tobyS |
[crazyuser@hartes-php.de] has quit [Quit: Coyote finally caught me] |
| 12:25 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 12:28 |
tobyS |
[crazyuser@hartes-php.de] has joined #agavi |
| 12:38 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 12:42 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 12:44 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 12:46 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] |
| 12:56 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 13:01 |
Jarda |
8http://highscalability.com/blog/2010/2/8/how-farmville-scales-to-harvest-75-million-players-a-month.html |
| 13:02 |
MikeSeth |
you mean retards |
| 13:02 |
MikeSeth |
it's not hard to scale up in retards :P |
| 13:03 |
digitarald |
who wants to buy my cow? |
| 13:04 |
khashayar |
[~d5cfe026@gateway/web/freenode/x-undbjkpwpozilhvx] has quit [Ping timeout: 248 seconds] |
| 13:07 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 13:18 |
graste |
arguing on the internet <: |
| 13:19 |
Xylakant |
who's wrong? |
| 13:21 |
Jarda |
(farmville users) |
| 13:21 |
Jarda |
(and farmville creators) |
| 13:28 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 13:40 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 14:32 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:36 |
CIA-74 |
david * r4420 /branches/1.0/ (2 files in 2 dirs): Fix #1223: Generated action cache configs have caching enabled by default |
| 14:38 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 14:47 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 14:58 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 15:32 |
robopuff |
[~Miranda@4.76.classcom.pl] has quit [Read error: Connection reset by peer] |
| 15:35 |
graste |
[~graste@f053000043.adsl.alicedsl.de] has joined #agavi |
| 15:36 |
veturi |
[~veturi@lilja.asteriski.fi] has left #agavi [] |
| 15:36 |
digitarald| |
[~digitaral@gprs17.swisscom-mobile.ch] has joined #agavi |
| 15:38 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Ping timeout: 240 seconds] |
| 15:38 |
digitarald| |
is now known as digitarald |
| 15:39 |
digitarald |
[~digitaral@gprs17.swisscom-mobile.ch] has quit [Client Quit] |
| 16:08 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 16:41 |
MikeSeth |
wtf |
| 16:42 |
MikeSeth |
in one of my tests suddenly Doctrine_Query isnt loaded |
| 16:42 |
MikeSeth |
durr |
| 16:47 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 16:55 |
luke` |
[~luke`@59.92.141.228] has joined #agavi |
| 16:55 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-ivmcdjkvosttpqon] has quit [Ping timeout: 248 seconds] |
| 17:00 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:03 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 17:59 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 18:06 |
Rayne |
[~Rayne@pD9E36CDA.dip.t-dialin.net] has joined #agavi |
| 18:20 |
sikkle |
[~sikkle@70.25.37.18] has quit [Ping timeout: 256 seconds] |
| 18:26 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 18:43 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 18:44 |
movvy |
hello everyone |
| 18:49 |
Xylakant |
hi |
| 19:05 |
matbtt_ |
[~matbtt@port-92-202-103-144.dynamic.qsc.de] has joined #agavi |
| 19:10 |
Rayne |
[~Rayne@pD9E36CDA.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 19:21 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 19:22 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 19:43 |
Xylakant |
[~Xylakant@ip-109-40-8-162.web.vodafone.de] has joined #agavi |
| 19:45 |
fnordfish |
[~fnordfish@f052141146.adsl.alicedsl.de] has joined #agavi |
| 19:48 |
Xylakant |
[~Xylakant@ip-109-40-8-162.web.vodafone.de] has quit [Client Quit] |
| 19:53 |
Xylakant |
[~Xylakant@ip-77-25-172-107.web.vodafone.de] has joined #agavi |
| 20:02 |
fnordfish |
[~fnordfish@f052141146.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 20:30 |
matbtt_ |
[~matbtt@port-92-202-103-144.dynamic.qsc.de] has left #agavi [] |
| 20:35 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has joined #agavi |
| 20:52 |
digitarald |
Huomenta |
| 20:55 |
digitarald |
btw, for personal use ;) http://github.com/digitarald/agavi-1.0 |
| 21:07 |
movvy |
so, i am trying to basically database dip on a validator, and if it returns I want to say the email is alreayd in use |
| 21:10 |
movvy |
http://pastebin.com/m31d8f566 |
| 21:11 |
movvy |
hmm may have found it.. not sure why there was no error though :x |
| 21:12 |
movvy |
i feel like it may not even be calling the class? |
| 21:15 |
movvy |
I will really be getting somewher on validation once I figure this out! |
| 21:22 |
movvy |
hmm, yeha loks like the validator class doesn't run at all, any ideas anyone ? |
| 21:25 |
Xylakant |
movvy: what's the input data like? |
| 21:25 |
Xylakant |
validators don't run when the argument is not present |
| 21:26 |
Xylakant |
and your last validator depends on a dependency that no other validator provides |
| 21:26 |
Xylakant |
so it will never run |
| 21:27 |
Xylakant |
and as a side note, please don't use AgaviException in your own code, it's reserved for framework errors |
| 21:28 |
movvy |
ok soa few things, A what should be my exception in that case |
| 21:28 |
movvy |
b, do i need to add a provide to my second validator? that was what I maybe thought |
| 21:29 |
Xylakant |
yes, you need the provides to fulfill the dependency |
| 21:29 |
Xylakant |
and you can use a regular plain Exception or create your own Exception class if you need on |
| 21:30 |
Xylakant |
it's just that when someone reports an AgaviException we assume that it's a framework error |
| 21:30 |
movvy |
gotcha, thats cool |
| 21:30 |
movvy |
I might write an error logging class |
| 21:35 |
Xylakant |
you can use AgaviLogger for most of your logging purposes |
| 21:35 |
Xylakant |
there are some points that I'd like to change but overall the logging subsystem is quite ok |
| 21:37 |
movvy |
alright i will check it out, thanks Xylakant, I also just fixed up my custom validation class ;) |
| 22:04 |
movvy |
ok i got one more for you |
| 22:04 |
movvy |
so lets say that in my form |
| 22:04 |
movvy |
www.touchbasedemo.com/userauth/register |
| 22:04 |
movvy |
my email and username, they are the same query |
| 22:05 |
movvy |
im wondering if there is a reutnr from that query if it can be used to validate off in the future |
| 22:05 |
movvy |
oh... hmm .... nm |
| 22:09 |
movvy |
now i just need to figure out how to change the text on the FPF stuff |
| 22:12 |
Xylakant |
hmm, I don't understand your question |
| 22:12 |
Xylakant |
a validator can have multiple arguments |
| 22:12 |
Xylakant |
but I guess that's not what you want |
| 22:24 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 22:37 |
graste |
[~graste@f053000043.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 22:47 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has quit [Quit: digitarald] |
| 22:56 |
Xylakant |
[~Xylakant@ip-77-25-172-107.web.vodafone.de] has quit [Quit: Xylakant] |
| 23:14 |
movvy |
hmmm |
| 23:15 |
movvy |
i don't know why my 2 newest validaotr show up ina diff plce in the fpf :< |
| 23:16 |
movvy |
www.touchbasedemo.com/userauth/register |
| 23:16 |
movvy |
for example if you type Touchbase is int eh company there error come above |
| 23:16 |
movvy |
if you type in chadstachowicz@gmail.com is displays the error below the email |
| 23:17 |
movvy |
same problem with the username... what controls this? :) |
| 23:20 |
impl |
HEY MIKESETH |
| 23:26 |
movvy |
its using the self:: instead of the parent:: filter for the messages |
| 23:28 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| 23:33 |
movvy |
:( |
| 23:39 |
movvy |
BLEH and there is some how a random >? |
| 23:40 |
movvy |
}?> appearing |
| 23:40 |
movvy |
;( |
| Day changed Wed Feb 10 2010
|
| 00:04 |
movvy |
k figured that one out, now I just need to understand how agavi deterines which set of filters it uses |
| 00:08 |
movvy |
well, I will move onto something else and wait until someone who knows what they are doing somes around ;) |
| 00:20 |
movvy |
its strange it only reports it once to, it never erases the errors |
| 00:20 |
movvy |
:( |
| 01:06 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 01:13 |
v-dogg |
[vmakinen@kapsi.fi] has quit [Ping timeout: 265 seconds] |
| 01:14 |
v-dogg |
[vmakinen@kapsi.fi] has joined #agavi |
| 01:19 |
v-dogg |
[vmakinen@kapsi.fi] has quit [Ping timeout: 252 seconds] |
| 01:20 |
v-dogg |
[vmakinen@kapsi.fi] has joined #agavi |
| 01:27 |
v-dogg |
[vmakinen@kapsi.fi] has quit [Ping timeout: 248 seconds] |
| 01:28 |
v-dogg |
[vmakinen@kapsi.fi] has joined #agavi |
| 02:33 |
movvy |
hello |
| 03:21 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 03:43 |
luke` |
[~luke`@59.92.141.228] has quit [Quit: luke`] |
| 05:27 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 05:57 |
luke` |
[~luke`@122.172.96.99] has joined #agavi |
| 05:58 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has joined #agavi |
| 06:37 |
digitarald |
Huomenta |
| 06:50 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 07:18 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 07:33 |
luke`_ |
[~luke`@122.172.96.99] has joined #agavi |
| 07:34 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 07:34 |
luke` |
[~luke`@122.172.96.99] has quit [Ping timeout: 252 seconds] |
| 07:34 |
luke`_ |
is now known as luke` |
| 08:06 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:32 |
matbtt_ |
[~matbtt@port-92-202-102-66.dynamic.qsc.de] has joined #agavi |
| 08:39 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:42 |
graste |
huomenta |
| 08:44 |
matbtt_ |
morning :) |
| 08:56 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 08:59 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 09:01 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 09:03 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] |
| 09:05 |
luke` |
[~luke`@122.172.96.99] has quit [Quit: luke`] |
| 09:07 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 09:42 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has quit [Remote host closed the connection] |
| 10:02 |
MikeSeth |
ay guise |
| 10:03 |
steffkes- |
is now known as steffkes |
| 10:08 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:10 |
fnordfish1 |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:11 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 10:12 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Ping timeout: 246 seconds] |
| 10:25 |
sth |
Morning |
| 10:38 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] |
| 10:39 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 11:06 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 11:21 |
Jarda |
http://wiki.github.com/facebook/xhp/ |
| 11:21 |
sth |
Do they have benchmarks? |
| 11:23 |
Jarda |
http://toys.lerdorf.com/archives/54-A-quick-look-at-XHP.html |
| 11:30 |
hzilla |
hey Xylakant i am updating to 1.0.2. did i have some special AgaviWebReponse class installed to handled the response attributes? i get an error: Call to undefined method AgaviWebResponse::setAttribute() |
| 11:32 |
Xylakant |
hzilla: yes, we patched that |
| 11:33 |
Xylakant |
there's two changesets you need to pull in |
| 11:34 |
hzilla |
would it be ok to use the one i had before and drop it in extending the 1.0.2 webresponse? |
| 11:34 |
hzilla |
or are there other changes? |
| 11:34 |
Xylakant |
there's some minor changes, it's not only the web response |
| 11:35 |
Xylakant |
just have a look at the changesets, they should be easy to find in the logs |
| 11:35 |
hzilla |
ok |
| 11:40 |
hzilla |
looks like only one significant change - something to do with the http headers |
| 11:42 |
hzilla |
sorry which files were patched? AgaviWebResponse and AgaviResponse? |
| 11:43 |
Xylakant |
all response classes iirc |
| 11:43 |
hzilla |
ok |
| 11:48 |
Xylakant |
it should be one or two changesets and they should apply cleanly to 1.0.2 as well |
| 11:54 |
hzilla |
yeh it looks like the changes are to some http header processing and simply the response class extends attributeholder instead of parameterholder |
| 11:54 |
hzilla |
seems to be working so far |
| 11:55 |
Xylakant |
fine |
| 12:12 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 12:37 |
Jarda |
If I have a dynamically created form, what would be the best way to create the form in error template? |
| 12:37 |
Jarda |
sniff $rd for the posted inputs or? |
| 12:38 |
Jarda |
well, maybe I should add javascript validation in this particular case |
| 12:56 |
Xylakant |
Jarda: well, how did you create it dynamically? |
| 13:03 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Read error: Connection reset by peer] |
| 13:03 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 13:08 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 13:15 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has joined #agavi |
| 13:15 |
Yossi_ |
Huomenta |
| 13:18 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 13:20 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 13:22 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 248 seconds] |
| 13:27 |
fnordfish1 |
[~fnordfish@89.246.250.218] has left #agavi [] |
| 13:33 |
Jarda |
Xylakant: with javascript |
| 13:33 |
Xylakant |
well, that's tough then |
| 13:33 |
Xylakant |
since if validation fails you'll never have access to the data you might need |
| 13:34 |
Xylakant |
it really depends on how your form is constructed |
| 13:34 |
Jarda |
in this case it's a table with inputs (in a multidimensional array), so I can check if a row should be created or not |
| 13:34 |
Jarda |
well, at least in 99% of cases |
| 13:35 |
Xylakant |
you may be able to smuggle in a hidden field that always validates unless there's something very wrong and could use that |
| 13:35 |
Jarda |
if actually 100%, if I add a hidden field with name="foo[<rowid>][existing]" |
| 13:35 |
Xylakant |
yeah, that's what I meant |
| 13:35 |
Jarda |
I know |
| 13:35 |
Xylakant |
so you could use that to reconstruct the form in the error view |
| 13:35 |
Jarda |
your line just came visible when I was hitting enter |
| 13:37 |
Xylakant |
that's probably the cleanest way |
| 13:37 |
Jarda |
yeah, I will do it that way |
| 13:37 |
Jarda |
thanks |
| 13:38 |
Xylakant |
otherwise you could access the unvalidated request data in the actions initialize method, but that's more than ugly and in general not recommended |
| 13:40 |
Jarda |
yeah, feels hackish |
| 14:18 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] |
| 14:26 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:40 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 14:41 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 15:01 |
benschi |
[~benschi@s0498.vpn.hrz.tu-darmstadt.de] has joined #agavi |
| 15:06 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 15:30 |
benschi |
[~benschi@s0498.vpn.hrz.tu-darmstadt.de] has quit [Remote host closed the connection] |
| 15:31 |
benschi |
[~benschi@s0498.vpn.hrz.tu-darmstadt.de] has joined #agavi |
| 15:39 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 15:49 |
cheerios_ |
[~cheerios@88.193.83.40] has joined #agavi |
| 15:49 |
cheerios_ |
hei! |
| 16:18 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has quit [Ping timeout: 272 seconds] |
| 16:21 |
Jarda |
<input id="foo" name="bar" value="foo" type="hidden" /> alert($('#foo').val()); gives nothing |
| 16:23 |
Xylakant |
err, yes, probably |
| 16:23 |
Xylakant |
first, there's script tags missing |
| 16:23 |
Xylakant |
second, depending on your framework, the $ function accepts an id |
| 16:23 |
Jarda |
jquery |
| 16:24 |
Xylakant |
and your id is 'foo" and not '#foo' |
| 16:24 |
Xylakant |
i don't support jquery questions |
| 16:24 |
sth |
haha |
| 16:24 |
Jarda |
jquery selectors use # for the id |
| 16:24 |
Xylakant |
often the $$ function is the selector |
| 16:25 |
Xylakant |
and not $ |
| 16:25 |
Jarda |
not in jquery |
| 16:26 |
Jarda |
but the problem is, also chromes inspector thinks there is no valua |
| 16:26 |
Xylakant |
that would be weird |
| 16:26 |
Jarda |
so I'm starting to believe it is missing from the dom |
| 16:27 |
Xylakant |
but the api docs for jquery are crap, so it's hard to tell whether $() actually returns a single element or a set |
| 16:27 |
Jarda |
and I'm using fpf to populate values, so I'm afraid it erases the value |
| 16:28 |
Xylakant |
oh, that may be |
| 16:28 |
Xylakant |
if there's no value in there |
| 16:28 |
Xylakant |
you can either tell fpf not to fill in hidden values at all |
| 16:29 |
Xylakant |
or to skip specific names |
| 16:29 |
Xylakant |
but you should actually see that in your html source |
| 16:29 |
Xylakant |
if it's in the generated source, then it's not fpf |
| 16:29 |
luke` |
[~luke`@59.96.61.203] has joined #agavi |
| 16:30 |
Jarda |
yeah, it's missing |
| 16:30 |
Jarda |
http://pastebin.com/m13bb6cfb foo is an multidimensional array coming from database |
| 16:30 |
Jarda |
and my hidden field (with the name of baz) isn't part of the array |
| 16:30 |
Jarda |
so I thought it wouldn't be touched by fpf |
| 16:32 |
Jarda |
how can I tell fpf to leave it :) |
| 16:32 |
Jarda |
well, I can workaround this in js, no problem |
| 16:35 |
Xylakant |
there's a pretty good explanation of all the fpf options in the docs http://www.agavi.org/documentation/tutorial/step7/the-form-population-filter.html |
| 16:36 |
Xylakant |
finally i begin to understand why everybody complains that there's so little documentation |
| 16:36 |
Xylakant |
it's because nobody ever bothers to read it |
| 16:37 |
Xylakant |
you can either set the option globally or just for that action |
| 16:38 |
Xylakant |
by using $request->setAttribute('option_name', 'value', 'org.agavi.filter.FormPopulationFilter'); |
| 16:40 |
Jarda |
oh, thanks |
| 16:41 |
Jarda |
now I know where to look at |
| 16:42 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 16:46 |
sth |
Well that scared me. Walked out of the bathroom and there was a small boy standing in the dark waiting |
| 16:46 |
sth |
Like 50cm from the door |
| 16:53 |
Xylakant |
buh |
| 17:02 |
benschi |
[~benschi@s0498.vpn.hrz.tu-darmstadt.de] has quit [Quit: benschi] |
| 17:15 |
steffkes- |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:16 |
movvy |
hmm, so anyone kind enough to look at something and posibly know why the FPF is choosing parent:: over self:: in the global filters for displaying errors |
| 17:16 |
movvy |
its only 2 fields... i don't understand how that is defined |
| 17:16 |
pashyon |
[~tfroschm@mnch-5d869415.pool.mediaWays.net] has joined #agavi |
| 17:17 |
movvy |
http://cuismailer.touchbasedemo.com/userauth/register |
| 17:17 |
movvy |
if you just clikc register... you will see that... You did not enter a company name... appears uptop |
| 17:17 |
movvy |
I want it below the Company field like the other fields, i don't know what is making it do that. |
| 17:17 |
movvy |
I will paste my validate xml and global filters |
| 17:19 |
movvy |
http://pastebin.com/m299c7155 |
| 17:20 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 17:21 |
Xylakant |
the input is named "company" |
| 17:21 |
pashyon |
[~tfroschm@mnch-5d869415.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] |
| 17:21 |
Xylakant |
and the validator takes "customer" as argument |
| 17:21 |
Xylakant |
so it uses a field that does not exist and FPF does not know which field to associate the error message to |
| 17:21 |
Xylakant |
so it gets associated with the form |
| 17:22 |
Xylakant |
fix the argument for the validator and all should wordk |
| 17:22 |
Xylakant |
-d |
| 17:23 |
Xylakant |
same thing for the customer_usage validator |
| 17:23 |
Xylakant |
actually, why do you split that up in two validators? |
| 17:23 |
Xylakant |
the first one just checks that the name is set |
| 17:23 |
movvy |
I don't know, woudl you like to show me a better way :) |
| 17:23 |
movvy |
im sorry ima newb |
| 17:23 |
Xylakant |
just remove the first one |
| 17:24 |
Xylakant |
the second one will error when it's set to required="true" and no value is provided |
| 17:24 |
Xylakant |
hmm, but you wrap that in a "not" validator |
| 17:25 |
Xylakant |
that's a bit tricky then |
| 17:25 |
movvy |
uhm |
| 17:25 |
Xylakant |
you could have the validator return "true" in case the name is not taken |
| 17:25 |
Xylakant |
unless you want to use it somewhere else, that is |
| 17:25 |
movvy |
Xylakant, i thought about that |
| 17:25 |
movvy |
Xylakant, i don't see where this company is |
| 17:26 |
movvy |
www.touchbasedemo.com/userauth/register |
| 17:26 |
movvy |
view source before clicking button |
| 17:26 |
movvy |
it shows customer in the actual form |
| 17:26 |
Xylakant |
yeah, and now submit the form and check again |
| 17:26 |
pashyon |
[~tfroschm@mnch-5d869415.pool.mediaWays.net] has joined #agavi |
| 17:27 |
Xylakant |
you're obviously not using the same template for both |
| 17:27 |
movvy |
scratches head |
| 17:27 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Ping timeout: 260 seconds] |
| 17:27 |
movvy |
omg |
| 17:27 |
movvy |
im a fucking idiot |
| 17:27 |
movvy |
i need to sleep more |
| 17:27 |
movvy |
I WASTED OS MUCH TIME ON THIS LAST NIGHT |
| 17:28 |
movvy |
lol thanks Xylakant I found it! |
| 17:28 |
Xylakant |
just make both use the same template |
| 17:28 |
v-dogg |
it's called learning |
| 17:28 |
Xylakant |
it's the same form |
| 17:28 |
v-dogg |
not wasting time |
| 17:28 |
Xylakant |
v-dogg: yeah, and there's always a price to pay :) |
| 17:28 |
movvy |
Xylakant, yeah, I did that for my newest form |
| 17:29 |
movvy |
this particular form was my first tyr |
| 17:29 |
Xylakant |
well, just change it so it does as well |
| 17:29 |
movvy |
I will clean it up |
| 17:29 |
Xylakant |
will save you lots of pain later on |
| 17:29 |
movvy |
i agree |
| 17:30 |
movvy |
i feel just learning MVC in general, has to be beneficial |
| 17:30 |
movvy |
there is lots of web architectures using MVC from what I read |
| 17:30 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 17:31 |
movvy |
but yes learning ;) |
| 17:38 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 17:40 |
pashyon |
[~tfroschm@mnch-5d869415.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] |
| 17:42 |
movvy |
sigh |
| 17:42 |
movvy |
ok well I think that is fixed, that was annoying the living hell out of me |
| 17:45 |
pashyon |
[~tfroschm@mnch-5d869415.pool.mediaWays.net] has joined #agavi |
| 17:46 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has joined #agavi |
| 17:46 |
digitarald |
hey folks |
| 17:46 |
digitarald |
anybody already played with http://github.com/facebook/xhp ? |
| 17:46 |
digitarald |
looks awesome, I love it |
| 17:48 |
pashyon1 |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Ping timeout: 246 seconds] |
| 17:53 |
pashyon |
[~tfroschm@mnch-5d869415.pool.mediaWays.net] has quit [Quit: Leaving.] |
| 18:02 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 18:03 |
Jarda |
looks nice |
| 18:03 |
Jarda |
(needs apc) |
| 18:13 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Ping timeout: 246 seconds] |
| 18:17 |
Xylakant |
would be nice if you could enable the xhp processor only for certain parts of the code |
| 18:18 |
Xylakant |
for example in the renderer |
| 18:19 |
Jarda |
yeah |
| 18:20 |
Jarda |
AgaciXHPRenderer :) |
| 18:20 |
Xylakant |
yeah, thought about exactly that |
| 18:21 |
Xylakant |
and it would be nice to just imply the "echo", then templates would look very clean |
| 18:29 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:48 |
Xylakant |
oh yeah, the use of "OMFG" is forbidden in the pre-commit hook |
| 18:48 |
Xylakant |
seems like they need it |
| 18:48 |
Xylakant |
right, let's resort to other words expressing the same thing |
| 18:57 |
Strzalek |
[~Strzalek@aarb22.neoplus.adsl.tpnet.pl] has joined #agavi |
| 18:58 |
matbtt_ |
Huomenta, is there a recommended way how to use AgaviGettextTranslator with message variables... |
| 18:59 |
matbtt_ |
...I need to return a message like "Account % has been created" where % is the name of that account |
| 18:59 |
movvy |
Xylakant, that FPF is fixed for customer now, however it looks as if username isn't getting any treatment :< |
| 19:00 |
movvy |
0 validation |
| 19:02 |
Xylakant |
matbtt_: have a look at the api-docs, especially AgaviTranslationManager::_() |
| 19:03 |
Xylakant |
it accepts an sprintf-style format string and parameters |
| 19:03 |
Xylakant |
movvy: please post the current validation.xml and the url again |
| 19:05 |
matbtt_ |
...thx, my fault! I was looking at the translate method of AgaviGettextTranslator. Damn. |
| 19:06 |
Xylakant |
if you need to translate messages that can have singular/plural forms you might want to have a look at AgaviTranslationManager::__() as well |
| 19:07 |
movvy |
www.touchbasedemo.com/userauth/register |
| 19:07 |
matbtt_ |
...yeah! Thx a lot! |
| 19:07 |
movvy |
http://pastebin.com/m11ca4f53 |
| 19:09 |
Strzalek |
[~Strzalek@aarb22.neoplus.adsl.tpnet.pl] has quit [Quit: Strzalek] |
| 19:14 |
movvy |
ahh |
| 19:14 |
matbtt_ |
[~matbtt@port-92-202-102-66.dynamic.qsc.de] has left #agavi [] |
| 19:14 |
movvy |
i found it i think |
| 19:14 |
movvy |
depends instead of a provides ;) |
| 19:15 |
Xylakant |
good |
| 19:16 |
movvy |
thanks again Xylakant |
| 19:16 |
movvy |
do you work for bitxtender if you dont mind me asking? |
| 19:16 |
Xylakant |
np |
| 19:16 |
Xylakant |
didn't do anything this time |
| 19:16 |
movvy |
yea but willing to even look is still nice :) |
| 19:20 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [] |
| 19:29 |
luke` |
[~luke`@59.96.61.203] has left #agavi [] |
| 19:36 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Read error: Operation timed out] |
| 19:46 |
movvy |
so like is there a way to handle redirecting after so many seconds |
| 19:46 |
movvy |
like after they register successfully, just say you have reigster successfully wait 5 seconds or clikc here |
| 19:46 |
movvy |
type of thing? |
| 19:47 |
movvy |
how do i do this? ;) |
| 19:49 |
v-dogg |
google html meta refresh |
| 19:53 |
movvy |
ahh yes, i remember this, but this goes in the header right? |
| 19:53 |
movvy |
so somehow I would need a new template ? |
| 19:53 |
movvy |
Master.php, I wouldn't want to use this |
| 19:54 |
movvy |
<meta http-equiv="refresh" content="5;url=http://example.com/" /> |
| 19:54 |
movvy |
i want that :) |
| 19:54 |
movvy |
but it must be a diff template I would want to use |
| 19:56 |
v-dogg |
or you add it there dynamically |
| 19:58 |
movvy |
what would you do? I feel like somehow I have to know how to give different templates |
| 19:58 |
v-dogg |
<?php if isset($t['htmlmeta']) foreach($t['htmlmeta'] as $he => $content): ?><meta http-equiv="<?php echo $he; ?>" content="... |
| 19:58 |
movvy |
or should i really only do that if its drastically differnet? |
| 19:59 |
movvy |
im just curious... if you haven't noticed im newish to web dev |
| 19:59 |
movvy |
at least on a scale, that i may acutally make a useable website :) |
| 20:04 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 20:15 |
graste |
[~graste@f053002026.adsl.alicedsl.de] has joined #agavi |
| 20:19 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 20:30 |
hzilla |
hm environment-create not in the build system anymore? |
| 20:31 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 20:57 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 21:06 |
movvy |
am I right that the Error View is selected automatically when validation fails? |
| 21:06 |
movvy |
is this true? |
| 21:06 |
movvy |
and if so, how do I select my template within the view? |
| 21:07 |
movvy |
op got it |
| 21:07 |
movvy |
hmm maybe not |
| 21:08 |
hzilla |
return 'Name' from the action |
| 21:08 |
movvy |
that sets the view, not the template right? |
| 21:08 |
hzilla |
template is $this->getLayer('content')->setTemplate('Name'); |
| 21:08 |
hzilla |
from the view |
| 21:09 |
movvy |
is it always content? |
| 21:09 |
hzilla |
depends on your output_types def |
| 21:09 |
hzilla |
but usually that is the case |
| 21:09 |
movvy |
do still need to call $this->setupHtml($rd); |
| 21:09 |
hzilla |
yes |
| 21:09 |
movvy |
and if so before or after setting the template |
| 21:09 |
hzilla |
before |
| 21:10 |
movvy |
thank you dude, its very appreciated! |
| 21:10 |
movvy |
giving it a shit now |
| 21:10 |
hzilla |
BAM |
| 21:10 |
movvy |
lol |
| 21:10 |
movvy |
a shit now, shot* |
| 21:13 |
movvy |
Template "Input" could not be found. Paths tried: |
| 21:13 |
movvy |
i assume it needs the full template name |
| 21:13 |
hzilla |
yeh |
| 21:13 |
hzilla |
where the blazes is environment-create gone in 1.0.2?! |
| 21:14 |
movvy |
sweeet |
| 21:14 |
movvy |
it works hzilla thanks! |
| 21:14 |
movvy |
also one more question, do I need to do some kind of view-delete script if I delete something |
| 21:14 |
movvy |
or cna i just delete the files? |
| 21:15 |
hzilla |
using source control? |
| 21:15 |
movvy |
am I? |
| 21:15 |
hzilla |
yes? |
| 21:15 |
movvy |
I just have amercurial repository |
| 21:15 |
movvy |
im not sure if thats source control |
| 21:15 |
hzilla |
well then delete through your ide should be ok |
| 21:16 |
movvy |
ok, i just didn't know if that script did anything else |
| 21:16 |
hzilla |
nah |
| 21:19 |
movvy |
this is awesome |
| 21:19 |
movvy |
im getting into the final stages of planning my vacation to hawaii |
| 21:20 |
movvy |
so far I have sport fishing... ATV tour through the island of kauai and waterfall swimming |
| 21:20 |
movvy |
snorkling a laua and whale watching tour |
| 21:20 |
movvy |
need 1-2 more things |
| 21:26 |
hzilla |
north beach surfing and eat original kua'aina burger |
| 21:26 |
hzilla |
hula watching |
| 21:26 |
movvy |
i believe north beach is on auhu |
| 21:26 |
movvy |
err |
| 21:28 |
hzilla |
u not going to oahu? |
| 21:28 |
hzilla |
well its all good |
| 21:29 |
hzilla |
volcanos |
| 21:29 |
movvy |
we are going to Maui and Kauai |
| 21:29 |
movvy |
11 nights total |
| 21:29 |
movvy |
6 on maui, 5 on kauai. |
| 21:34 |
hzilla |
first time? |
| 21:35 |
movvy |
yup |
| 21:35 |
movvy |
we are going to san fran 3 nights before we leave for maui to |
| 21:35 |
movvy |
sweet vaca!!! |
| 21:57 |
movvy |
interesting |
| 21:57 |
movvy |
another FPF problem, this may be more complex |
| 21:58 |
movvy |
http://www.touchbasedemo.com/notification/addnotdevice |
| 21:58 |
movvy |
so if you click one of the radio buttons, it cahnges the form's html dynamically.. is this going to be a problem? |
| 21:58 |
movvy |
im getting some FPF error |
| 21:58 |
movvy |
Line 43: Specification mandate value for attribute checked |
| 22:02 |
movvy |
i thought i could just put anything optional with no required setting |
| 22:05 |
movvy |
alright figured that out, now all I want is for this FPF, that it shows NO error's if it can;t find the field |
| 22:05 |
movvy |
but only on this form |
| 22:08 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has quit [Quit: digitarald] |
| 22:11 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has joined #agavi |
| 22:14 |
benschi |
[~benschi@ip-81-210-159-77.unitymediagroup.de] has joined #agavi |
| 22:20 |
hzilla |
use error_messages and populate parameters |
| 22:20 |
hzilla |
populate identifies the form to target |
| 22:21 |
hzilla |
error_messages are messages that are not for a particular field |
| 22:24 |
digitarald |
[~digitaral@dyn.144-85-187-218.dsl.vtx.ch] has quit [Quit: digitarald] |
| 22:27 |
movvy |
hmm |
| 22:27 |
movvy |
did you look at my page |
| 22:27 |
movvy |
the issue, is that its validating everything... i want it to make some fields completely optional |
| 22:28 |
movvy |
does that make sense? |
| 22:30 |
movvy |
hmm this looks like it may be impossible with the javascript i am using to manipulate the form |
| 22:31 |
movvy |
oh, I guess I know what I need to do! |
| 22:31 |
movvy |
add some logic to the validators based on the devtype |
| 22:31 |
movvy |
genious! |
| 22:33 |
movvy |
http://pastebin.com/m186d48b4 |
| 22:33 |
movvy |
how do I make it so the phone will only be validated ID devtype = 'email' |
| 22:33 |
movvy |
err im sorry |
| 22:33 |
movvy |
devtype = 'sms' |
| 22:33 |
movvy |
this is def my issue ;) |
| 22:36 |
movvy |
i know it must be on a depends |
| 22:37 |
movvy |
i am sure i use the equlas, but how do i do something static |
| 22:39 |
hzilla |
its better to ask a specific question rather than just rambling... |
| 22:41 |
movvy |
I am trying to make a validation rule that if devtype paramter="sms" |
| 22:41 |
movvy |
then run another validator |
| 22:41 |
movvy |
that way its conditional |
| 22:41 |
hzilla |
what u mean devtype parameter? |
| 22:41 |
movvy |
http://pastebin.com/m186d48b4 |
| 22:41 |
movvy |
the first validator in that pastebin |
| 22:41 |
movvy |
the argument is devtype |
| 22:42 |
movvy |
so I know on that one I need a provides |
| 22:42 |
hzilla |
i think there is an equals validator |
| 22:42 |
movvy |
but what im not sure is how to make an equales validator that uses a static value |
| 22:42 |
movvy |
i have it working for say a password and a confirm password |
| 22:42 |
movvy |
but they are both arguments |
| 22:42 |
movvy |
i don't know how to compare an argument against a static string |
| 22:43 |
hzilla |
yeh so if one argument devetype = sms then set provides="sms" |
| 22:43 |
hzilla |
ah |
| 22:43 |
movvy |
correct, then I can use that depends on the right values |
| 22:43 |
movvy |
so its stops tossing errors and runs my action |
| 22:43 |
hzilla |
well if its an array i can use the in array validator |
| 22:43 |
hzilla |
u |
| 22:43 |
hzilla |
that lets u set array values |
| 22:44 |
hzilla |
is it an array? |
| 22:45 |
hzilla |
its a checkbox right? |
| 22:45 |
movvy |
radio button |
| 22:45 |
hzilla |
radio? |
| 22:45 |
movvy |
but provides a string |
| 22:45 |
hzilla |
ok i haven't used a direct value checker but u could definitely use the regex validator and set a pattern |
| 22:46 |
movvy |
alright just tossed some config together |
| 22:46 |
movvy |
let me give it a whirl :) |
| 22:51 |
movvy |
if($this->hasParameter('value')) { |
| 22:51 |
movvy |
in the validator |
| 22:51 |
movvy |
how do I set value :) |
| 22:52 |
movvy |
ahh |
| 22:52 |
cheerios_ |
[~cheerios@88.193.83.40] has quit [Quit: Leaving] |
| 22:54 |
hzilla |
u using a custom validator? well u use export() |
| 22:55 |
movvy |
nope im not |
| 22:55 |
hzilla |
waht are u referring too? |
| 22:55 |
hzilla |
is this still validation? |
| 22:55 |
movvy |
yeah so I got it to kinda work, but there is still an issue kinda of |
| 22:55 |
movvy |
let me paste new validator |
| 22:56 |
movvy |
http://pastebin.com/m6c718b1f |
| 22:57 |
movvy |
yeah, I guess it doesn't matter, im going to have to seperate out the URL's anyways |
| 22:57 |
movvy |
the FPF's doesn't look at form's that have been changed by javascript, it must work off the previous template somehow? |
| 22:58 |
hzilla |
i think this is getting too complicated for that simple form |
| 22:58 |
movvy |
well all the problems seem to be spanning from he fact that i dynamically tried to change it with javascript |
| 22:58 |
hzilla |
fpf will only repopulate if it has been posted into |
| 22:59 |
hzilla |
ok so u are chaning the form fields when u click the radio? |
| 22:59 |
movvy |
I would say, it doesn't look like I am doing something very nicely |
| 22:59 |
movvy |
correct |
| 22:59 |
movvy |
i put div's in, and i was changing the innerHTML |
| 22:59 |
hzilla |
if devtype is the key element here that only has one choice |
| 23:00 |
movvy |
http://www.touchbasedemo.com/notification/addnotdevice |
| 23:00 |
movvy |
you can look at it, if it helps :) |
| 23:01 |
hzilla |
right the devtype radio is required - the other fields can be set to required="false" that way they only validate if they are posted |
| 23:01 |
hzilla |
simple |
| 23:01 |
movvy |
it doesnt matter though, click on Twitter |
| 23:01 |
hzilla |
that's the quick option anyway |
| 23:01 |
movvy |
and hit add device |
| 23:01 |
movvy |
and notice, that it reverts to the email form |
| 23:03 |
hzilla |
u r sending devtype in the post so in the template you can switch on devtype - u have to use dynamically generated js |
| 23:04 |
hzilla |
so when your doc is repopulated u can use showField(<?php echo rd->getParameter('devtype'); ?>) {} |
| 23:04 |
movvy |
alright, required = "false fixes most of it |
| 23:04 |
movvy |
i thought false was the default :) |
| 23:04 |
movvy |
it appears to be true ;) |
| 23:04 |
hzilla |
yes |
| 23:05 |
hzilla |
u understand aboud the js? |
| 23:05 |
movvy |
sort of, im trying to get my head around it |
| 23:05 |
hzilla |
ok so u have some js in the page |
| 23:05 |
hzilla |
when u click a radio it shows different panel right? |
| 23:06 |
movvy |
correct it changes the 'input' fields of the form |
| 23:06 |
hzilla |
so when u submit u r sending in the devtype at least. if there is an error u can get the devtype in rd->getParameter() |
| 23:07 |
hzilla |
so in your form you just preset your panel switcher to that |
| 23:07 |
movvy |
correct I can, in the errorview |
| 23:07 |
movvy |
and I can add some on load, but the question is, when does the filter do its magic |
| 23:07 |
movvy |
im guessing that willa ctually wipe away the error's |
| 23:07 |
hzilla |
the filter will populate any fields anyway |
| 23:07 |
hzilla |
no it won;t |
| 23:08 |
hzilla |
the js just switches panel - it doens't change the html |
| 23:08 |
hzilla |
the html is already marked up with the error |
| 23:09 |
movvy |
ahh thats where your wrong, this uses innerhtml, how should i be doing the js ? |
| 23:09 |
movvy |
those aren't new panels |
| 23:09 |
hzilla |
ah i see |
| 23:09 |
hzilla |
ok well there;s your problem |
| 23:09 |
movvy |
im not saying my way isn't done wrong |
| 23:09 |
movvy |
i just didnt know another way? |
| 23:09 |
hzilla |
i woould make all the files in the form and just show/hide them |
| 23:09 |
hzilla |
fields |
| 23:10 |
movvy |
how do I show hide a field? |
| 23:10 |
hzilla |
display:none |
| 23:10 |
hzilla |
css |
| 23:10 |
hzilla |
on the panel |
| 23:10 |
hzilla |
so create a few div panels |
| 23:11 |
hzilla |
and use display:none or display:block css to hide/show |
| 23:11 |
movvy |
yeah so each field is wrapped in a div |
| 23:11 |
hzilla |
each set of fields |
| 23:11 |
movvy |
oh i see what your saying you would put a div around each |
| 23:11 |
hzilla |
show/hide as a group |
| 23:12 |
hzilla |
otherwise the fpf will be useless to u |
| 23:12 |
movvy |
no i get it |
| 23:12 |
movvy |
so just makea show CSS and a HIDE CSS |
| 23:12 |
movvy |
and change it in JS? |
| 23:13 |
hzilla |
togglePanel() |
| 23:13 |
hzilla |
togglePanel(id) |
| 23:13 |
hzilla |
if u use a js lib it makes things like that easy eg. jquery etc |
| 23:13 |
movvy |
i have jquery loaded |
| 23:14 |
movvy |
i use it for a few things |
| 23:14 |
hzilla |
right so u can just do $("#panel1").show() |
| 23:14 |
movvy |
hmm |
| 23:14 |
movvy |
i need to read on this.. im such a newb! |
| 23:14 |
movvy |
does .hige exist? |
| 23:15 |
hzilla |
well u are the one that is using innerHtml! |
| 23:15 |
hzilla |
yeh hide() also |
| 23:15 |
movvy |
lol, i didn't know another option existed |
| 23:15 |
movvy |
i was determined to get it done! |
| 23:15 |
hzilla |
ok listen its easy |
| 23:15 |
hzilla |
lay out all the fields in the form |
| 23:15 |
movvy |
im going to go modify my template first |
| 23:15 |
movvy |
give me a few |
| 23:15 |
movvy |
i understand the concept |
| 23:16 |
movvy |
when you say panel, thats jsut a specific div id right? |
| 23:16 |
hzilla |
wrap each group with a div and id the div like devtype1 devtype2 etc whatever u use for the devtype values |
| 23:16 |
hzilla |
then u can show/hide using the jquery |
| 23:16 |
movvy |
in your above |
| 23:16 |
hzilla |
yeh |
| 23:17 |
movvy |
is'panel1' |
| 23:17 |
movvy |
the id |
| 23:17 |
hzilla |
yeh |
| 23:17 |
movvy |
do i always use the # |
| 23:17 |
movvy |
or only if it was in my div id |
| 23:17 |
hzilla |
there's lots of different syntax - u need to check the jquery 'selectors' documentation |
| 23:17 |
movvy |
ok |
| 23:17 |
hzilla |
# is for id |
| 23:17 |
movvy |
my gosh, web dev is overwheliming |
| 23:17 |
hzilla |
u should see what i'm building |
| 23:18 |
movvy |
heh |
| 23:18 |
hzilla |
u might start crying... i do sometimes |
| 23:18 |
movvy |
lol |
| 23:18 |
movvy |
well, It just so fucking tedious |
| 23:18 |
movvy |
im also constantly shooting myself in the foot |
| 23:18 |
hzilla |
yeh i hate forms |
| 23:18 |
movvy |
because i am learning 100% of the time |
| 23:18 |
hzilla |
but they are so important |
| 23:18 |
movvy |
yeah they are the most critical |
| 23:18 |
movvy |
this required="false" i don't think is the right solution |
| 23:19 |
movvy |
i mean it works.. but i want things to be required when they are on their JS panel and its active |
| 23:19 |
movvy |
my equals works that I made, but it still tosses an error message |
| 23:19 |
movvy |
i need the exact config i ahve but no error |
| 23:19 |
movvy |
if it error's i just want the FPF to ignore it |
| 23:19 |
hzilla |
ok ut that's a relatively easy problem to solve |
| 23:20 |
movvy |
yeh forms are the worst |
| 23:20 |
movvy |
but i now see the absolute power of validation + FPF |
| 23:20 |
movvy |
if done right, it must save massive work once you know wtf your doing |
| 23:20 |
movvy |
im glad im spending so much time on agavi stuff now |
| 23:20 |
hzilla |
its nasty when you are mixing js and forms |
| 23:21 |
hzilla |
esp if doing ajax submmission |
| 23:21 |
movvy |
yeah actually when you go to my |
| 23:21 |
movvy |
"SMS" type radio |
| 23:21 |
movvy |
that select box is populated via JSON |
| 23:21 |
hzilla |
and then with translation as well its a bitch |
| 23:22 |
hzilla |
i see. but that's a get. i'm talking about json post + fpf + translation |
| 23:23 |
movvy |
uggg, I have posting working for saving this interface im building |
| 23:23 |
movvy |
www.contacular.com/survey/1 |
| 23:23 |
movvy |
its probably broken now, that project is a pain in the balls as well |
| 23:24 |
hzilla |
anyway... |
| 23:24 |
movvy |
im remaking my form right now |
| 23:24 |
movvy |
hopefully this will fix it :) |
| 23:25 |
movvy |
then fpf, i see how it will work |
| 23:31 |
movvy |
alright so i fixed the form itself |
| 23:32 |
graste |
[~graste@f053002026.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:41 |
movvy |
hmm, how do i select my beinging panel, my <body> command is in my Master.php |
| 23:41 |
movvy |
cries |
| 23:41 |
movvy |
it never ends |
| 23:45 |
benschi |
[~benschi@ip-81-210-159-77.unitymediagroup.de] has quit [Quit: benschi] |
| 23:50 |
movvy |
ok hzilla, this is really close! |
| 23:50 |
hzilla |
whatsup? |
| 23:51 |
movvy |
well... how to kick off togglePanel on load |
| 23:51 |
movvy |
its in Master.php |
| 23:51 |
movvy |
:( |
| 23:51 |
hzilla |
not in the template? |
| 23:51 |
hzilla |
u might as well put it in the template |
| 23:51 |
movvy |
no, do you useually put that in the template? |
| 23:52 |
hzilla |
its easier |
| 23:52 |
hzilla |
and its specific to the form |
| 23:52 |
hzilla |
and it needs to be generated so i would |
| 23:52 |
movvy |
ahh yeah thats way easier |
| 23:52 |
movvy |
its only one line difference |
| 23:54 |
movvy |
where are the parameters in template? |
| 23:54 |
movvy |
$t['variable'] ? |
| 23:54 |
hzilla |
rd->getParameter() |
| 23:54 |
movvy |
in a template? |
| 23:55 |
hzilla |
did u set the fpf to generate template variables |
| 23:55 |
hzilla |
? |
| 23:55 |
hzilla |
guess not |
| 23:55 |
hzilla |
so u can access fpf params using that |
| 23:58 |
movvy |
sec.. im close I think |
| Day changed Thu Feb 11 2010
|
| 00:00 |
movvy |
http://10.1.1.55/notification/addnotdevice |
| 00:00 |
movvy |
mmm |
| 00:00 |
movvy |
www.touchbasedemo.com/notification/addnotdevice |
| 00:00 |
movvy |
any idea what that notice is? |
| 00:01 |
movvy |
$devtype = $t['devtype']; |
| 00:02 |
movvy |
it appears to come up the first time it loads cause its empty? |
| 00:02 |
hzilla |
yes |
| 00:03 |
movvy |
is there an empty something or other to compare against in php |
| 00:03 |
movvy |
like to see isf a variable is even populated |
| 00:03 |
movvy |
does null work? |
| 00:04 |
movvy |
pfft man this is getting annoying! |
| 00:04 |
hzilla |
$devtype = isset($t['devtype']) ? $t['devtype'] : ''; |
| 00:05 |
hzilla |
or false |
| 00:05 |
hzilla |
the in your js |
| 00:06 |
hzilla |
togglePanel(<?$devtype;?>); |
| 00:06 |
hzilla |
or that |
| 00:06 |
movvy |
first one worked :) |
| 00:06 |
movvy |
now just a tiny bit of validation to fix and im good |
| 00:07 |
movvy |
because switching works now.. but a few other things broke :) |
| 00:09 |
movvy |
how about holding back error's in the validator now |
| 00:11 |
movvy |
once i can suppress those im freaking there |
| 00:11 |
movvy |
only took 2 hours :) |
| 00:11 |
hzilla |
u get errors because u set required=true |
| 00:12 |
hzilla |
if they were false or depends then it would be ok |
| 00:13 |
movvy |
will paste... trying to get the equls working straight false doesnt work, because depending what panel you are on they are indee required |
| 00:13 |
movvy |
so I made an equals validator... which does indeed work witha static value |
| 00:13 |
movvy |
but if it doesn't match the devtype it error..s even though thats only a conditiona |
| 00:15 |
movvy |
isn't there like some magical parameter you can pass |
| 00:15 |
movvy |
like error = false |
| 00:21 |
movvy |
that an to figure out why my on load is broken :) |
| 00:22 |
movvy |
CHECK THAT SHIT OUT |
| 00:22 |
movvy |
error = false actually worked |
| 00:22 |
movvy |
lol |
| 00:22 |
movvy |
thank you agavi for thinking like me |
| 00:23 |
hzilla |
? |
| 00:24 |
movvy |
damn it actually didn't work |
| 00:25 |
movvy |
http://www.pastebin.org/89809 |
| 00:26 |
movvy |
that middle validator.. if it actually come back as not equal |
| 00:26 |
movvy |
i jsut want it to stop, i don't want an error message |
| 00:26 |
movvy |
i just want it to pretend nothing happened :) |
| 00:27 |
hzilla |
what error message is it sending? |
| 00:28 |
movvy |
right now its just a bullet point |
| 00:28 |
movvy |
since i deleted <errpr> |
| 00:28 |
movvy |
error* |
| 00:28 |
movvy |
then i tried adding error=false |
| 00:28 |
hzilla |
i don't htink u r really thinking logically about this |
| 00:29 |
hzilla |
that's your main problem |
| 00:29 |
hzilla |
u don't need the first validator |
| 00:29 |
hzilla |
not at this stage anyway |
| 00:29 |
movvy |
well my point was that i can't take the phone argument and set it to required="false" |
| 00:30 |
movvy |
yes it makes the error go away |
| 00:30 |
movvy |
but when the devtype is sms it is required |
| 00:30 |
movvy |
however if the devtype isn't sms, i don't want it to throw an error, for me just doing a little equal logic in the validators |
| 00:30 |
movvy |
not at least that the use can see |
| 00:31 |
movvy |
the logic works, i tested it, its just when the devtype ISN't sms it tosses an error |
| 00:31 |
hzilla |
http://www.pastebin.org/89811 |
| 00:32 |
hzilla |
then make the validators for the other devtypes |
| 00:32 |
hzilla |
then test |
| 00:37 |
movvy |
nah.. even with removing the first and making it not required... since devtype is provided... it error's |
| 00:37 |
hzilla |
ok it errors because devtype is not equal to sms so thats the problem |
| 00:37 |
movvy |
i understand but it can be = to 3 things |
| 00:38 |
movvy |
thats my problem |
| 00:38 |
movvy |
on those 3 conditional, i dont want it to actually error i want to use it as a conditional |
| 00:38 |
movvy |
maybe agavi, cannot over ride its throwError ? |
| 00:38 |
hzilla |
i think you can setup the validators better but if you want to shortcut the problem you can use severity="silent" to supress the errors |
| 00:39 |
movvy |
ypu thats EXACTLY what i was looking for |
| 00:40 |
movvy |
I will see what I can do better baout my validators though |
| 00:40 |
hzilla |
what is better |
| 00:41 |
hzilla |
is to use an or validator |
| 00:41 |
hzilla |
and put all three devtype ones in that |
| 00:41 |
hzilla |
then it passes if any of them are valid |
| 00:42 |
hzilla |
that also works for your catch all error which is if none are set |
| 00:43 |
movvy |
correct.. but after that its going to only provide, one output right, or can you set 3 sepearte provides? |
| 00:43 |
movvy |
if you can would you mind showing me ana example, thats perfect!! |
| 00:44 |
hzilla |
there are examples here http://www.mivesto.de/agavi/agavi-faq.html |
| 00:44 |
hzilla |
yes u can nest validators |
| 00:44 |
hzilla |
just wrap all of them in the or validator |
| 00:45 |
movvy |
i see, i just wrap my 3 ina single or |
| 00:45 |
movvy |
BAM |
| 00:45 |
movvy |
let me try :) |
| 00:47 |
hzilla |
but the nested valiadtors must be required = false |
| 00:47 |
hzilla |
the or validator is required |
| 00:50 |
movvy |
hmm.. looks like or doesn't work like we thought |
| 00:50 |
movvy |
or a bit different |
| 00:50 |
movvy |
http://www.pastebin.org/89816 |
| 00:51 |
movvy |
this produces no errors if its email |
| 00:51 |
movvy |
1 error if its sms |
| 00:51 |
movvy |
and 2 errors if its twitter ;) |
| 00:51 |
movvy |
so it looks like it opts out at the first validator that succeeds but does produce errors |
| 00:52 |
hzilla |
your paste is incomplete |
| 00:52 |
hzilla |
try again |
| 00:53 |
hzilla |
u should ask your company to hire me |
| 00:53 |
hzilla |
as a freelance |
| 00:54 |
movvy |
its not out of the question, i need to get some of this stuff up an running to prove conept before i can open that budget then |
| 00:54 |
hzilla |
anyway u r missing the or part in that last paste |
| 00:54 |
movvy |
http://www.pastebin.org/89817 |
| 01:00 |
hzilla |
looks ok to me - whats prob? |
| 01:00 |
movvy |
yeah so if its email |
| 01:00 |
movvy |
everything is great |
| 01:01 |
movvy |
if its sms, i get on erro displayed from the email validator |
| 01:01 |
movvy |
and if its twitter i get an error from the email and the sms not validating |
| 01:01 |
movvy |
i would still have to use severity silent |
| 01:02 |
movvy |
which really, just make the or, just a tidbit more efficient |
| 01:03 |
hzilla |
yeh figures. i'm sure there's a better way but i'm just doing something else. seeing as its a small matter u might as well use the severity thing |
| 01:03 |
hzilla |
if i think of something better i'll let u know |
| 01:04 |
movvy |
thats ok, i apprecaite the help, it sure made me learn alot about validation |
| 01:04 |
movvy |
and fpf |
| 01:04 |
movvy |
it was a huge help, i never would have gotten it myself |
| 01:04 |
hzilla |
of course there is alwasy the option of using a validator callback |
| 01:04 |
hzilla |
but thats more advanced |
| 01:14 |
movvy |
so fucking close one last error |
| 01:14 |
movvy |
for some reason the devtype isn't comeing all the way back to my template |
| 01:15 |
movvy |
that tidy bit of code always returns email |
| 01:15 |
movvy |
for the onload javascript |
| 01:16 |
movvy |
ahhhh, i think thats why i validated it in the first place ;) |
| 01:16 |
movvy |
i guess my equals would do that to |
| 01:24 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 01:27 |
movvy |
mf |
| 01:27 |
movvy |
why the hell won't the devtype variable populate |
| 01:30 |
hzilla |
i can't help u without more info |
| 01:31 |
movvy |
in my template $devtype = isset($t['devtype']) ? $t['devtype'] : 'email'; |
| 01:31 |
movvy |
is ALWAYS coming out email |
| 01:32 |
movvy |
so devtype isn't populating at all, I set the attribute like this in the action |
| 01:32 |
movvy |
$this->setAttribute('devtype',$rd->getParameter('devtype')); |
| 01:33 |
movvy |
this is in my view |
| 01:33 |
movvy |
$devtype = $this->getAttribute('devtype'); |
| 01:36 |
movvy |
is there something i am missing? |
| 01:36 |
movvy |
i thouht then it was recoverable in t[] |
| 01:36 |
hzilla |
paste ur validator again |
| 01:36 |
movvy |
does it use the original argument, or the validator name? |
| 01:37 |
movvy |
http://pastebin.com/m2f1e8de5 |
| 01:37 |
movvy |
thats the whole thing, it almost works perfectly now :) |
| 01:37 |
movvy |
this loading thing is all thats left I think, and a bit of work on the carriers :) |
| 01:37 |
movvy |
so they can't use 'Select One' :) |
| 01:41 |
movvy |
damn, so close!! :) i fixed a db issue, so its just passing that arguement through now, and this form works |
| 01:41 |
movvy |
what a bitch |
| 02:02 |
hzilla |
whats notdevice? |
| 02:03 |
movvy |
not device is the device name |
| 02:04 |
movvy |
i can tell you for sure that devtype dev type is populated in the action |
| 02:04 |
movvy |
110% |
| 02:05 |
movvy |
http://pastebin.com/m95fe38c |
| 02:05 |
movvy |
action |
| 02:05 |
hzilla |
yeh just scrap the or validator wrapper |
| 02:05 |
movvy |
if ($rd->getParameter('devtype') == "email") |
| 02:05 |
movvy |
that works in my action though, so it must get populated |
| 02:05 |
hzilla |
yeh just scrap the or validator wrapper |
| 02:07 |
hzilla |
like i say its not the most elegant solution and there is probably a better way but its not a big deal if u say its just a proof of concept |
| 02:07 |
movvy |
same thign still |
| 02:07 |
hzilla |
what? |
| 02:07 |
movvy |
still not populating in the template |
| 02:07 |
movvy |
(so i can select the right panel, after form validation) |
| 02:08 |
hzilla |
tat in the template |
| 02:08 |
hzilla |
so use that in the template |
| 02:08 |
movvy |
t['devtype'] is never populated to use |
| 02:08 |
movvy |
thats the problem |
| 02:08 |
movvy |
isset always retruns false |
| 02:08 |
hzilla |
try rd->getParam |
| 02:09 |
hzilla |
there's some bug in your code |
| 02:09 |
movvy |
in the action you mean? |
| 02:09 |
hzilla |
no in the template |
| 02:09 |
hzilla |
use rd->getParameter('devtype') in your template |
| 02:15 |
hzilla |
u said that its always coming out as 'emai'? so what is it? is it not being set or is it being set to email always? |
| 02:15 |
movvy |
i tried that, i don't think you an use the $rd in the template, or at least it through an error |
| 02:15 |
movvy |
it's not being set |
| 02:15 |
hzilla |
u saud before it was setting as email |
| 02:16 |
movvy |
$this->setAttribute('devtype',$rd->getParameter('devtype')); |
| 02:16 |
hzilla |
wat about it? |
| 02:16 |
movvy |
$devtype = isset($t['devtype']) ? $t['devtype'] : 'email'; |
| 02:16 |
hzilla |
looks fine |
| 02:16 |
movvy |
thats the code im using, which should be is set period |
| 02:16 |
movvy |
correct? |
| 02:17 |
hzilla |
yeh so whats te value of devtype in your action? |
| 02:19 |
hzilla |
? |
| 02:19 |
movvy |
i was going to put in logging to a file to check quick, and make sure |
| 02:19 |
movvy |
but from the valdiation results it does indeed sometime set to sms and twitter if selected |
| 02:19 |
hzilla |
just use var_dump($rd->getParameter('dev_type')); die(); in your action |
| 02:20 |
hzilla |
devtype that is |
| 02:21 |
hzilla |
i'm going in a minute so... |
| 02:21 |
movvy |
opening now |
| 02:23 |
hzilla |
well if you are saying that its sometimes set then clearly the problem is something else - no doubt you have not really designed the validators correctly. so i leave u too it |
| 02:23 |
hzilla |
bye |
| 02:23 |
movvy |
thanks man |
| 02:23 |
movvy |
will let you know |
| 02:23 |
hzilla |
no thanks |
| 02:23 |
movvy |
OH |
| 02:23 |
movvy |
dude the problem is so simple |
| 02:23 |
hzilla |
i got plenty of ohter stuff to worry about |
| 02:24 |
movvy |
devtype never gets set, because the validator doesn't make it all the way through |
| 02:24 |
hzilla |
u said it does get set sometimes |
| 02:24 |
movvy |
well only when i filled out the fields |
| 02:24 |
movvy |
now that i think about it |
| 02:24 |
movvy |
so if i flip to panel sms hit register |
| 02:25 |
movvy |
the validator doesn't go through, and devtype isn't populated |
| 02:25 |
hzilla |
so redesign your validators |
| 02:25 |
movvy |
I think i need to se tthis in the error view |
| 02:25 |
hzilla |
yeh of course |
| 02:25 |
movvy |
well no thats the point, it isn't validating |
| 02:26 |
movvy |
devtype is but other fields aren't |
| 02:26 |
movvy |
what happens in that case, it returns the error view right? |
| 02:26 |
hzilla |
of course you should set the devtype in the error view |
| 02:26 |
hzilla |
thats where u need it |
| 02:27 |
hzilla |
anyway take a break and think about it. its all logical and it works and there's no bugs so its your thought process that isn't clear |
| 02:27 |
hzilla |
anyway i gotta go. good luck |
| 02:28 |
movvy |
thanks again |
| 02:28 |
movvy |
you were a massive help |
| 02:28 |
movvy |
you have been fucked wihtout you peace |
| 02:31 |
movvy |
yeah damn its null in the view |
| 02:34 |
movvy |
doesn't seem that any part of the validation is passed back to the error view? |
| 02:34 |
movvy |
certainly that data is somewhere for the FPF to work |
| 02:36 |
movvy |
can see the finish line |
| 02:40 |
movvy |
oh well, I guess I will have to wait till tomorrow to figure this one out |
| 02:42 |
movvy |
tried adding the export command but :( |
| 04:08 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 06:08 |
movvy |
ello |
| 06:27 |
movvy |
i forget everyone is euro :) |
| 06:34 |
movvy |
man i feel like i went pretty deep on these validators |
| 07:48 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Ping timeout: 246 seconds] |
| 07:55 |
|
Netsplit *.net <-> *.split quits: tobyS, CIA-74 |
| 07:57 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:01 |
CIA-50 |
[~CIA@208.69.182.149] has joined #agavi |
| 08:01 |
|
Netsplit over, joins: tobyS |
| 08:03 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 08:06 |
movvy |
my gosh....i just read up and hzilla helped me FOREVER |
| 08:07 |
movvy |
thats awesome!!! |
| 08:45 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:47 |
graste |
huomenta |
| 09:32 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:35 |
matbtt |
[~9b3844d6@gateway/web/freenode/x-bdnzwpylyunhpibo] has joined #agavi |
| 09:38 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 09:40 |
Jarda |
#1437822">http://stackoverflow.com/questions/1437771/how-can-i-get-the-clients-ip-address-in-a-php-webservice/1437822#1437822 |
| 09:40 |
Jarda |
I'd like to reply to that, but I don't know how |
| 09:41 |
Jarda |
it's complete bullshit, agavi doesn't clear $_SERVER |
| 09:42 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 09:44 |
fnordfish |
[~fnordfish@89.246.250.218] has left #agavi [] |
| 09:45 |
v-dogg |
Jarda: not all of it but it does clear HTTP_* vars |
| 09:46 |
Jarda |
Please note, that you can access $_SERVER (like $_SERVER['SERVER_NAME']) and $_ENV directly, as it is mostly not user provided data (and not really standardized as well). ? |
| 09:46 |
Jarda |
http://www.mivesto.de/agavi/agavi-faq.html#general_11 |
| 09:46 |
Jarda |
yeah, HTTP_ is cleared |
| 09:46 |
Jarda |
you win :/ |
| 09:47 |
v-dogg |
I always do |
| 09:56 |
sth |
Morning |
| 10:25 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 10:25 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Client Quit] |
| 10:28 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 10:49 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 10:50 |
macen |
hi Xylakant |
| 10:50 |
Xylakant |
hi |
| 10:56 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 11:08 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 11:11 |
digitarald |
ladies ... |
| 11:11 |
digitarald |
YQL is cool |
| 11:12 |
digitarald |
poll: need a CMF ... did anybody try Drupal? |
| 11:12 |
sth |
Yes |
| 11:12 |
sth |
I hated it |
| 11:12 |
digitarald |
my eyes are bleeding that the Drupal 7 based on PHP5 is still alpha and the others are compatible with 4 |
| 11:13 |
digitarald |
the drupal-goes-php5 is there since 2007. WTF happened since than? |
| 11:13 |
sth |
Death. |
| 11:13 |
digitarald |
any recommendations for alternatives? |
| 11:13 |
sth |
Nope |
| 11:14 |
digitarald |
mh ... eZ Publish |
| 11:14 |
digitarald |
maybe in the mix with agavi |
| 11:15 |
digitarald |
found another player ... TangoCMS |
| 11:15 |
digitarald |
why are CMF solutions so difficult to find ... maybe the gazillions of different requirements |
| 11:18 |
Xylakant |
hmmm, roll your own :) |
| 11:18 |
digitarald |
So, I'm happy about any suggestion ... that does not involve a ton of time ;) |
| 11:18 |
Xylakant |
you might want to poke fnordfish, he's been working on something lately |
| 11:18 |
digitarald |
I rather focus on real work than showing text and images in a nice layout |
| 11:18 |
Xylakant |
I have no clue how far advanced they are though |
| 11:19 |
digitarald |
problem, I have requirements too ... like i18n and team workflow :( which makes it difficult |
| 11:19 |
Xylakant |
:/ |
| 12:15 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 12:17 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 12:55 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 13:07 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has quit [Remote host closed the connection] |
| 13:20 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 13:47 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 14:00 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has left #agavi [] |
| 14:26 |
hzilla |
hello chaps. |
| 14:27 |
hzilla |
i upgraded to agavi 102 yesterday but looks like the environment-create option is not in the build script anymore? |
| 14:31 |
Jarda |
what did environment-create do? |
| 14:31 |
Jarda |
(I mean, are you maybe searching for public-create |
| 14:31 |
sth |
create environments? |
| 14:32 |
sth |
I can't say I remember it |
| 14:33 |
hzilla |
it just set the environments in the templates |
| 14:33 |
hzilla |
and copied them to root etc |
| 14:33 |
Jarda |
hmm, public create asks what environment to bootstrap and places index.php and .htaccess to pub/ |
| 14:33 |
hzilla |
yeh but it won't work when u already have a project in there i think |
| 14:33 |
hzilla |
project-create? |
| 14:34 |
Jarda |
are you sure? |
| 14:34 |
Jarda |
no, I'm not talking about project-create |
| 14:34 |
hzilla |
ah ok public-create |
| 14:34 |
hzilla |
let me try it |
| 14:36 |
sth |
hzilla: There wasn't one in 1.0.0 either |
| 14:36 |
hzilla |
really? i;ve been using environment -create for ages |
| 14:36 |
hzilla |
this one seems to run but doesn't genereate the files |
| 14:37 |
sth |
There wasn't one in 0.11.X either |
| 14:38 |
hzilla |
gosh it must have been patched by Xylakant then? |
| 14:38 |
sth |
Sure it wasn't a custom one someone added in? |
| 14:38 |
Xylakant |
hzilla: it's in your project's build file |
| 14:39 |
Xylakant |
there are some troubles with phing 2.3.x and agavi 1.0.2 |
| 14:39 |
Xylakant |
due to a fix that was supposed to bring phing 2.4 compat |
| 14:39 |
hzilla |
[agavi.import] Could not read /private/var/www/samurai_fm/build.xml: Error reading project file [wrapped: property (unknown) doesn't support the 'userproperty' attribute.] (skipping) |
| 14:39 |
hzilla |
[agavi.import] Could not read /private/var/www/samurai_fm/build.xml: Error reading project file [wrapped: property (unknown) doesn't support the 'userproperty' attribute.] (skipping) |
| 14:39 |
Xylakant |
sad enough, the fix broke 2.3 and didn't provide 2.4 compat |
| 14:39 |
hzilla |
something to do with that? |
| 14:40 |
Xylakant |
yes, that's the issue |
| 14:41 |
Xylakant |
which phing version do you have installed? |
| 14:41 |
hzilla |
2.4 |
| 14:41 |
hzilla |
it didn't seem to work with 2.3.3 |
| 14:41 |
hzilla |
when i upgraded |
| 14:41 |
hzilla |
so i upgraded phing also |
| 14:46 |
Xylakant |
right |
| 14:46 |
Xylakant |
there's a pretty simple fix for that |
| 14:46 |
Xylakant |
can you open the agavi build file, it should be located in build/build.xml in the agavi source |
| 14:47 |
Xylakant |
right down to the bottom is a <agavi.import> call |
| 14:47 |
Xylakant |
replace that with just <import> |
| 14:47 |
Xylakant |
phing 2.4 has a quite capable import task |
| 14:47 |
Xylakant |
that should do the job |
| 14:47 |
hzilla |
alrighty |
| 14:49 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has joined #agavi |
| 14:49 |
MikeSeth |
Xylakant: testing phenomenon |
| 14:50 |
MikeSeth |
if I don't call $this->getContext() before new Doctrine_Query in a test then Doctrine_Query class isnt autoload |
| 14:50 |
MikeSeth |
is it because of test isolation and me improperly initializing something? |
| 14:51 |
hzilla |
Xylakant: seems to work. thanks |
| 14:52 |
hzilla |
MikeSeth: conservative model loading set on? |
| 14:52 |
Xylakant |
MikeSeth: maybe the database manager does not get initialized |
| 14:52 |
Xylakant |
and I think we initialize the doctrine autoloading only when needed |
| 14:52 |
MikeSeth |
Xylakant: is it initialized lazily? |
| 14:53 |
MikeSeth |
hzilla: hmmm... probably, but conservative model loading applies to models |
| 14:53 |
MikeSeth |
here it's a core class of Doctrine, not a model |
| 14:53 |
Xylakant |
the database manager? I'm almost certain but I'd have to take a peek at the source |
| 14:54 |
Xylakant |
even though it's a doctrine core class it's not handled by agavis autoloader |
| 14:54 |
MikeSeth |
Xylakant: its handled by Doctrine's own autoloader, which is initialized in the Doctrine adapter, which is initialized by the database manager |
| 14:54 |
MikeSeth |
so is the correct procedure to initalize it every time in tearUp()? |
| 14:55 |
Xylakant |
i'd say so |
| 14:55 |
MikeSeth |
I see |
| 14:55 |
Xylakant |
I'd really have to look at the code when we init the doctrine autoloader |
| 14:55 |
Xylakant |
that's not really the code I usually dig around in :) |
| 14:55 |
MikeSeth |
its inited with the adapter initialization |
| 14:56 |
MikeSeth |
specifically in initialie() |
| 14:56 |
MikeSeth |
initialize() |
| 14:56 |
MikeSeth |
so yeah thats prolly it |
| 14:56 |
MikeSeth |
non-Agavi autoloading gets reset during test isolation |
| 14:57 |
Xylakant |
agavi autoloading also gets reset :) |
| 14:58 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 14:59 |
MikeSeth |
but then re-reset :P |
| 15:01 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 15:03 |
Yossi_ |
HUomenta |
| 15:04 |
Yossi_ |
can I get an execution container from context? to do stuff like getAttribute? |
| 15:21 |
matbtt |
[~9b3844d6@gateway/web/freenode/x-bdnzwpylyunhpibo] has quit [Ping timeout: 248 seconds] |
| 15:24 |
Xylakant |
Yossi_: what would you do witn an execution container? |
| 15:24 |
Yossi_ |
Xkylakant: I didn't I was trying to hack due to my lack of knowledge, but MikeSetch came through |
| 15:25 |
Xylakant |
good |
| 15:25 |
Xylakant |
take an AgaviAttributeHolder :) |
| 15:30 |
Yossi_ |
haha |
| 15:32 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 15:34 |
Yossi_ |
now going back to dig at how I can form $tm->_c output :( |
| 15:34 |
Yossi_ |
*format |
| 15:35 |
Xylakant |
you didn't post to the mailing list |
| 15:35 |
Xylakant |
why? |
| 15:37 |
Yossi_ |
ah... II kind of figured it would be faster and more educational to read the code, well, the faster part was a wrong assumption - I never got to it |
| 15:40 |
Yossi_ |
sent |
| 15:43 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 15:57 |
impl |
Xylakant: I'm reasonably certain that if you replace <agavi.import> with <import> it'll break support for custom project build.xml's |
| 15:58 |
impl |
unless they fixed that in 2.4 somehow |
| 15:58 |
Xylakant |
impl: they did |
| 15:58 |
impl |
ah, well, excellent |
| 16:09 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 16:09 |
Xylakant |
but since you're online I might ask you a few phing questions |
| 16:10 |
Xylakant |
basically: is there any property set with the phing version |
| 16:10 |
Xylakant |
so i can decide which task to call depending on which phing version is usedss |
| 16:10 |
Xylakant |
? |
| 16:17 |
movvy |
heya guys |
| 16:18 |
movvy |
so if validation fails... lets say EVERY field doesn't validate... and it reutnrs the error view |
| 16:18 |
movvy |
is the someway to still use the value that was given to the validator in the error view |
| 16:18 |
movvy |
$rd->getParameter('foo') |
| 16:19 |
movvy |
returns NULL for me right now |
| 16:23 |
hzilla |
hey movvy the FAQ has some info about how to get an error report from the validation manager |
| 16:24 |
movvy |
hzilla, ist the only thing left, everything else is working! |
| 16:25 |
movvy |
$report = $this->getContainer()->getValidatorManager()->getReport(); |
| 16:25 |
movvy |
$devtypevalue = $report->? |
| 16:26 |
hzilla |
not sure - u have to have a look at the api docs |
| 16:27 |
hzilla |
i've never needed the unvalidated data before |
| 16:27 |
movvy |
well it is validated ofr that single value is |
| 16:27 |
movvy |
just the validator as a whole doesn't run |
| 16:28 |
movvy |
it just doesnt seem to export any values unless EVERYTHING validates |
| 16:28 |
hzilla |
well then your validators are setup wrong |
| 16:29 |
movvy |
why.. does ANY field that validates pass out the value? |
| 16:29 |
hzilla |
yeh should do |
| 16:30 |
movvy |
http://pastebin.com/m3b7ae086 |
| 16:30 |
movvy |
its the very first validator ...however i use that argument in other vlaidators |
| 16:30 |
movvy |
is that why its wiping out the value? |
| 16:31 |
movvy |
the first validator def passes when this runs |
| 16:32 |
hzilla |
possibly your or validator is overwriting the devtype value. |
| 16:32 |
movvy |
I can delete it and see, what should I do, add export to the or? |
| 16:32 |
movvy |
well to the validators within or |
| 16:32 |
hzilla |
you are doing 4 checks on the same value so of course you are going to have some confusion |
| 16:33 |
movvy |
im removing the or, just to see if the value is there! |
| 16:35 |
movvy |
nope still NULL |
| 16:37 |
hzilla |
yes its null because all the validators run and the last one doesn't pass so its null |
| 16:37 |
hzilla |
even if it passed before |
| 16:40 |
movvy |
yeah so no matter what im going to have to use the error report, because this is a scenario when the validators are supposed to fail |
| 16:40 |
movvy |
but i still need the devtype to select the panel |
| 16:40 |
movvy |
ill look into the reporting API |
| 16:40 |
movvy |
let hope i can actually do it :) |
| 16:41 |
Yossi_ |
if I have a model that I want initialized for all actions (just after routing handling is done for instance) and exposed to the template, how do I go about? |
| 16:41 |
Rayne |
[~Rayne@pD954B0C4.dip.t-dialin.net] has joined #agavi |
| 16:44 |
hzilla |
Yossi_: load in base action? |
| 16:45 |
Yossi_ |
hzilla: to do that I need to write an 'execute' method in base action? |
| 16:45 |
v-dogg |
or extend renderer if you want to have it $likethis instead of $t['likethis'] |
| 16:45 |
v-dogg |
in the template |
| 16:46 |
v-dogg |
if it's just for the templates baseview::setupHtml might be the place for it |
| 16:53 |
movvy |
damn none of this example shows how to get the value |
| 16:53 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 16:53 |
movvy |
i wonder where this getReport() lies in the documentation |
| 16:54 |
hzilla |
Yossi: yeh as v-dogg says if its just for templates u could setupHtml in your project baseview. or in your action u could write an execute or another method but then you would have to call that from your action. Perhaps if u need it in an action without changing code u can overwrite the an initialize method? |
| 16:55 |
hzilla |
although not sure if there is an initialize method for actions |
| 16:56 |
matbtt_ |
[~9b3844d9@gateway/web/freenode/x-jslxuctuhnsnmbja] has joined #agavi |
| 16:56 |
hzilla |
time for the gym. ciao |
| 16:57 |
movvy |
http://www.agavi.org/apidocs/ |
| 16:57 |
movvy |
agavivalidationmanager... im not seeing a good API to retrieve a failed validators value |
| 16:58 |
movvy |
maybe getFailedArguments |
| 16:59 |
Yossi_ |
v-dogg: when you say extend renderer - you mean something that will enable me to assign it in the output_types? (I am using Dwoo btw) |
| 17:01 |
movvy |
Call to undefined method AgaviExecutionContainer::getValidatorManager() in /REDUNDANT-STORAGE/webdev/dev/sites/cuismailer.touchbasedemo.com/root/OperationPortal/app/modules/NotificationSystem/views/AddNotificationDeviceErrorView.class.php on line 10 |
| 17:02 |
Xylakant |
movvy: it's getValidationManager not getValidatorManager |
| 17:02 |
saracen |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 17:03 |
movvy |
yup found it in the api... Xylakant do you know if im trying to use the right API |
| 17:03 |
movvy |
$devtype = $report->getFailedArguments('devtype'); returns array(0) |
| 17:04 |
movvy |
im trying to get the value of an argument from a failed validator |
| 17:04 |
movvy |
the argument is devtype |
| 17:04 |
movvy |
in my error view |
| 17:04 |
Xylakant |
what are you trying to do :) |
| 17:04 |
movvy |
^^ |
| 17:05 |
movvy |
so basically my validato fails which it should... but i still need a value from it to appropriatly set some javacscript in my error template |
| 17:05 |
movvy |
so i need to be able to get argument values in my error view |
| 17:05 |
movvy |
does that make sense? |
| 17:06 |
movvy |
1 cookie to the first person to help |
| 17:06 |
movvy |
i'll toss in a little marijuana to if that will help solve it :) |
| 17:06 |
Xylakant |
you can't access arguments from failed validators |
| 17:07 |
movvy |
sigh, so this is impossible |
| 17:07 |
Xylakant |
well, not their values at least |
| 17:07 |
Xylakant |
nothing is impossible |
| 17:07 |
movvy |
i HAVE to have that value... |
| 17:07 |
Xylakant |
what is the javascript supposed to do? |
| 17:07 |
movvy |
select a panel for a form |
| 17:07 |
Xylakant |
and why does it need the value of the failed validator for that |
| 17:07 |
Xylakant |
can you show code or the form? |
| 17:08 |
movvy |
http://www.touchbasedemo.com/notification/addnotdevice |
| 17:08 |
movvy |
so just go click twitter radio button |
| 17:08 |
movvy |
then when its all blank hit add device |
| 17:08 |
movvy |
its going to revert to the email panal when it fails |
| 17:08 |
movvy |
i need to pass the devtpye.. which is whether you selected email / mobile or twitter to the error view |
| 17:09 |
movvy |
so i can set my onload javascript function value |
| 17:09 |
movvy |
so after a failed validation it selects the right panel in the form |
| 17:09 |
movvy |
me and hzilla spent like 4 hours yesterday getting all that to work just right with the FPF |
| 17:09 |
Xylakant |
well no, you don't need to |
| 17:10 |
Xylakant |
if the validation for that argument failed then the user selected a button that does not exist |
| 17:10 |
movvy |
it doesn't fail |
| 17:10 |
movvy |
it passes for that argument so far as i can see |
| 17:10 |
movvy |
but $rd->getParamter('devtype') |
| 17:10 |
Xylakant |
otherwise the argument is available in $rd |
| 17:10 |
movvy |
is always NULL in my error view |
| 17:10 |
movvy |
tried that |
| 17:10 |
Xylakant |
show me the validation xml |
| 17:11 |
movvy |
http://pastebin.com/m5967af97 |
| 17:11 |
movvy |
its the very first validator |
| 17:11 |
movvy |
i also tried removing the or validator just to se if somehow it was getting overwritten, but that doesnt work either |
| 17:13 |
Xylakant |
you need to work on your coding standard |
| 17:13 |
Xylakant |
take either tabs or spaces for validation, not both |
| 17:13 |
Xylakant |
though I'd recommend tabs |
| 17:14 |
movvy |
can do |
| 17:14 |
movvy |
all my php is tabbed |
| 17:15 |
movvy |
but noted |
| 17:15 |
matbtt_ |
[~9b3844d9@gateway/web/freenode/x-jslxuctuhnsnmbja] has quit [Ping timeout: 248 seconds] |
| 17:17 |
movvy |
see anything that stands out? |
| 17:18 |
Xylakant |
multiple things |
| 17:19 |
Xylakant |
apart from the fact that asking for twitter password is a bit hmm hmm, you should use oauth for twitter connectivity |
| 17:19 |
Xylakant |
but well, that's unrelated |
| 17:19 |
movvy |
Xylikant, i haven't gotten that far on twitter ;) |
| 17:21 |
sth |
I'm going to find all the churches in the area of the office and break the rope that controls the bell. |
| 17:21 |
Xylakant |
you should also fix your validation for the phone number |
| 17:21 |
Xylakant |
phone numbers are not numbers but strings |
| 17:21 |
movvy |
ok i cna fix that! |
| 17:22 |
movvy |
any idea why my devtype isn't avaialble in my error view? |
| 17:22 |
Xylakant |
and a minimum of "10" on a number validator means 10 and not 10 digits |
| 17:22 |
movvy |
lol ok |
| 17:22 |
movvy |
ixed on the phone |
| 17:22 |
Xylakant |
don't use stringvalidators for everything |
| 17:22 |
Xylakant |
for example you have a known set of carriers |
| 17:23 |
Xylakant |
use an inarray validator |
| 17:23 |
movvy |
read about that yesterday, will look at it |
| 17:23 |
Xylakant |
if you validate it as a string any string would be valid, even if it's not a valid carrier |
| 17:23 |
movvy |
yeah i was going to address this today... for example select one |
| 17:23 |
movvy |
is not a valid carrier and would still be taken |
| 17:23 |
movvy |
so it was on the list :) |
| 17:24 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 248 seconds] |
| 17:24 |
movvy |
though, if i don't get devtype in the error view im going to have to completely redo all this shit |
| 17:24 |
movvy |
and split it into 3 forms with no js |
| 17:24 |
movvy |
which sucks |
| 17:25 |
matbtt_ |
[~9b3844d9@gateway/web/freenode/x-wnkzwkuejsvlbnwi] has joined #agavi |
| 17:26 |
Xylakant |
try this http://pastebin.com/m1b32644d |
| 17:27 |
Xylakant |
all parameters that validated should be in $rd in the error view |
| 17:27 |
movvy |
will test, thanks xylakant, its very nice to help |
| 17:29 |
movvy |
Line 1: Start tag expected, '<' not found |
| 17:29 |
movvy |
strange |
| 17:29 |
Xylakant |
might have some typos |
| 17:30 |
movvy |
i see it there |
| 17:30 |
Xylakant |
hmm, that would be weird |
| 17:30 |
movvy |
oh fuck |
| 17:30 |
movvy |
im stupid |
| 17:30 |
Xylakant |
did you copy some char? |
| 17:30 |
movvy |
lol yeah |
| 17:30 |
movvy |
wrong window in paste bin |
| 17:30 |
movvy |
it has all the numbers |
| 17:31 |
Xylakant |
did I mention that I have carneval? |
| 17:32 |
saracen |
You should get that seen to |
| 17:32 |
Xylakant |
why that? |
| 17:32 |
Xylakant |
because people bragging about how many "cheap drunken women" they'll fuck tonight are cool? |
| 17:32 |
Xylakant |
well, I don't want to be cool then I guess |
| 17:32 |
movvy |
unknown validator found: in_array |
| 17:33 |
Xylakant |
make that inarray |
| 17:34 |
movvy |
still null Xylakant |
| 17:34 |
Xylakant |
hmm, right, I'll have a look |
| 17:34 |
Xylakant |
might take a second |
| 17:35 |
movvy |
no worries man ill test anything you want its driving me fucking insane |
| 17:36 |
matbtt_ |
[~9b3844d9@gateway/web/freenode/x-wnkzwkuejsvlbnwi] has quit [Ping timeout: 248 seconds] |
| 17:36 |
movvy |
ill give you part of the cookie as an upfront payment |
| 17:36 |
Xylakant |
you'll have to post that to colonge |
| 17:36 |
movvy |
ahh your in cologne germany? |
| 17:36 |
Xylakant |
and all civil services are out of service atm |
| 17:36 |
movvy |
i just did a client site there |
| 17:36 |
Xylakant |
including mail and everything else |
| 17:36 |
movvy |
CHEP is the company name.... they do Pallets |
| 17:36 |
movvy |
like for shipping |
| 17:37 |
Xylakant |
never heard of that |
| 17:37 |
movvy |
pallets are the big wood things that they ship shit on in semi's |
| 17:37 |
Xylakant |
yeah, i meant the company |
| 17:38 |
movvy |
ahh gotcha |
| 17:38 |
movvy |
you think its a bug that its not avaialble in the error view? |
| 17:40 |
Xylakant |
well, i just tested with a simple testcase and it is for me |
| 17:40 |
krycek_ |
[~dsadsa@201-15-171-196.paemt705.dsl.brasiltelecom.net.br] has quit [Ping timeout: 276 seconds] |
| 17:41 |
movvy |
:( |
| 17:41 |
movvy |
erorr view |
| 17:41 |
movvy |
http://pastebin.com/m188b0f22 |
| 17:42 |
Xylakant |
yeah |
| 17:42 |
Xylakant |
that's simple |
| 17:42 |
Xylakant |
you have a typo in the var_dump |
| 17:43 |
Xylakant |
dev_type, your parameter name is devtype |
| 17:44 |
movvy |
man i will feel dumb |
| 17:46 |
krycek_ |
[~dsadsa@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 17:46 |
Xylakant |
happens to all of us |
| 17:46 |
movvy |
nope |
| 17:46 |
movvy |
still null |
| 17:46 |
movvy |
i figured it was, i didn't add that vardump till i was alreayd sure it was null |
| 17:47 |
Xylakant |
past again |
| 17:47 |
movvy |
http://pastebin.com/m5245abcc |
| 17:47 |
Xylakant |
tr y |
| 17:47 |
Xylakant |
y |
| 17:47 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 17:47 |
Xylakant |
try dumping the full $rd |
| 17:48 |
Xylakant |
but I guess I know what your problem is |
| 17:48 |
movvy |
object(AgaviWebRequestDataHolder)#227 (6) { ["files:protected"]=> array(0) { } ["cookies:protected"]=> array(0) { } ["headers:protected"]=> array(0) { } ["uploadedFileClass:protected"]=> string(17) "AgaviUploadedFile" ["sourceNames:private"]=> array(4) { ["cookies"]=> string(6) "cookie" ["files"]=> string(4) "file" ["headers"]=> string(6) "header" ["parameters"]=> string(9) "parameter" } ["parameters:protected"]=> array(0) { } } |
| 17:48 |
Xylakant |
yeah |
| 17:49 |
Xylakant |
right |
| 17:49 |
Xylakant |
you need to know a little about how "success" is determined in validation |
| 17:49 |
Xylakant |
you have four validators for the argument 'devtype' |
| 17:49 |
Xylakant |
the first one succeeds |
| 17:49 |
Xylakant |
of the other three, two fail |
| 17:50 |
movvy |
correct |
| 17:50 |
Xylakant |
any validator can mark a field as succeeded |
| 17:50 |
Xylakant |
but once it's marked as failed it can never be marked as succeeded again |
| 17:50 |
movvy |
ok so how do i keep all this logic and make it work |
| 17:50 |
Xylakant |
so in the end the field is marked as failed |
| 17:50 |
Xylakant |
the easiest way is to export the value from the first validator to a new name |
| 17:51 |
movvy |
im removing those 3 just for a test |
| 17:51 |
Xylakant |
and use that either for the dependency tests or for your logic |
| 17:51 |
movvy |
hmm where does the export go in your inarray example |
| 17:51 |
movvy |
there is multiple ae:parameters in it |
| 17:52 |
movvy |
so when i export something, does it make it an 'argument? |
| 17:53 |
Xylakant |
something like this |
| 17:53 |
Xylakant |
http://pastebin.com/m3573da2a |
| 17:53 |
Xylakant |
yes, exported values show up in the request data holder |
| 17:53 |
Xylakant |
they should work as an argument for subsequent validators |
| 17:54 |
Xylakant |
if it doesn't you'll have to work the other way round - export the value, use the original argument for the dependency tests and the exported value in your code |
| 17:55 |
movvy |
yeah it apsses the value now, but broke the other validator's |
| 17:55 |
movvy |
i will try the other way :) |
| 17:55 |
Xylakant |
right |
| 17:55 |
movvy |
thanks for your help xylakan |
| 17:57 |
movvy |
fucking piece of shit |
| 17:57 |
movvy |
the other way doesnt work either, the export value is null now in my error view |
| 17:58 |
Xylakant |
show validation and error view |
| 17:59 |
movvy |
http://pastebin.com/m4318daca |
| 17:59 |
movvy |
error view is at the bottom |
| 17:59 |
Xylakant |
does it work when you remove the three validators? |
| 17:59 |
movvy |
bb in a few CEO is ringing |
| 17:59 |
movvy |
yup |
| 18:00 |
movvy |
oh with the exported value? |
| 18:01 |
Xylakant |
well, I meant without |
| 18:02 |
Xylakant |
btw: why are you limiting emails to 255 chars? |
| 18:02 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:14 |
movvy |
Xylakant, yeah as long as the other arguments aren't the same as devtpye in the other 3 validators it all works |
| 18:14 |
movvy |
i tested it |
| 18:14 |
movvy |
it sounds like maybe i actually need to handle this on the form side with a ghosting of the devtype |
| 18:15 |
movvy |
so sending in 2 arguments with the same info |
| 18:15 |
movvy |
unless you think it can truly be tackled in the validator |
| 18:15 |
Xylakant |
and it does not work with the export? |
| 18:15 |
Xylakant |
hmm, I'd have to dig around for another solution |
| 18:15 |
Xylakant |
I'm a bit out of ideas |
| 18:16 |
movvy |
i tried exporting and using devtype in the other 3, and using exported value |
| 18:16 |
Xylakant |
you could have three forms that all send a hidden value and still use the same action |
| 18:16 |
movvy |
Xylakant, thats what im going to do |
| 18:16 |
movvy |
send ahidden input with the same value as devtype |
| 18:16 |
movvy |
and just use that |
| 18:16 |
Xylakant |
that would keep the interface and pretty much all logic |
| 18:16 |
Xylakant |
yes |
| 18:16 |
movvy |
well... at least i figured out the rpoblem |
| 18:16 |
movvy |
which was the main hurdle |
| 18:17 |
movvy |
cheers and thanks for that |
| 18:17 |
movvy |
this is hard to focus on hungover :) |
| 18:37 |
krycek_ |
[~dsadsa@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [] |
| 18:38 |
Yossi_ |
Anyone knows how do I set currency to a locale instance? I don't want to change the current locale, I just want to have $tm->_c() generate a number for a different currency then the one set. |
| 18:42 |
Xylakant |
can't you use AgaviTranslationManager::getLocale('@currency=foo'); |
| 18:43 |
Xylakant |
it returns a new locale instance |
| 18:43 |
Xylakant |
and certainly doesn't chance the current locale |
| 18:54 |
Yossi_ |
Xylakant: Gracias |
| 18:58 |
matbtt_ |
[~matbtt@port-92-202-53-186.dynamic.qsc.de] has joined #agavi |
| 19:01 |
Yossi_ |
Fatal error: Call to undefined method NumbersModel::getLocaleIdentifier() in /home/yossi/dev/agavi/translation/AgaviTranslationManager.class.php on line 695 |
| 19:04 |
matbtt_ |
what? |
| 19:05 |
Yossi_ |
what is the effect of doing somthing like AgaviTranslationManager::getLocale("en"); in my model... |
| 19:05 |
Yossi_ |
*that |
| 19:08 |
matbtt_ |
...getLocale returns an AgaviLocale instance. |
| 19:08 |
Yossi_ |
its my stupidity... when calling from a model I should do something like $tm = $this->context->getTranslationManager(); $tm->getLocale(...) |
| 19:09 |
matbtt_ |
...yes. Method is not static |
| 19:12 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 19:34 |
Xylakant |
[~Xylakant@ip-77-25-18-9.web.vodafone.de] has joined #agavi |
| 20:00 |
matbtt_ |
[~matbtt@port-92-202-53-186.dynamic.qsc.de] has left #agavi [] |
| 20:15 |
Xylakant |
[~Xylakant@ip-77-25-18-9.web.vodafone.de] has quit [Quit: Xylakant] |
| 20:23 |
graste |
[~graste@f053002151.adsl.alicedsl.de] has joined #agavi |
| 20:32 |
hzilla |
say, if u have a form which doesn't validate and returns an error view, do any child slots also return the error view by default? |
| 20:42 |
v-dogg |
no |
| 20:50 |
hzilla |
thanks |
| 21:04 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 21:27 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| 21:46 |
matbtt_ |
[~matbtt@port-92-202-53-186.dynamic.qsc.de] has joined #agavi |
| 21:49 |
matbtt_ |
[~matbtt@port-92-202-53-186.dynamic.qsc.de] has left #agavi [] |
| 22:14 |
skoop |
[~stefan@unaffiliated/skoop] has joined #agavi |
| 22:16 |
skoop |
[~stefan@unaffiliated/skoop] has quit [Client Quit] |
| 22:16 |
skoop |
[~stefan@82-170-191-156.ip.telfort.nl] has joined #agavi |
| 22:16 |
skoop |
[~stefan@82-170-191-156.ip.telfort.nl] has quit [Changing host] |
| 22:16 |
skoop |
[~stefan@unaffiliated/skoop] has joined #agavi |
| 22:57 |
skoop |
[~stefan@unaffiliated/skoop] has quit [Quit: skoop] |
| 23:04 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 23:22 |
|
Netsplit *.net <-> *.split quits: saracen, Rayne |
| 23:26 |
|
Netsplit over, joins: saracen, Rayne |
| 23:45 |
graste |
[~graste@f053002151.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:53 |
Rayne |
[~Rayne@pD954B0C4.dip.t-dialin.net] has left #agavi ["Dein Text ist so schlecht, der könnte authentisch sein."] |
| 23:56 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| Day changed Fri Feb 12 2010
|
| 00:21 |
movvy |
hzilla |
| 00:21 |
movvy |
not sure if you read but think i got things sorted out |
| 00:50 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 00:50 |
hzilla |
that's good |
| 00:52 |
movvy |
so basically the prob... devtype was in multiple validator's |
| 00:53 |
movvy |
and if anyone fails at all, then the value can;t be retrieved |
| 00:53 |
movvy |
through the report manager same thing, if it failed can't get the value |
| 00:53 |
movvy |
so im adding a second hidden field |
| 00:56 |
hzilla |
fine |
| 01:06 |
movvy |
yup i just did it, works like a champ |
| 01:06 |
movvy |
man that took FOREVER |
| 01:27 |
hzilla |
dude that was nothing. i've been developing my site for over a year |
| 01:41 |
movvy |
what does your site do/ |
| 03:44 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Ping timeout: 256 seconds] |
| 03:50 |
movvy |
so i see layou in the output types |
| 03:50 |
movvy |
how do I switch these in the view? of the one I want to use? |
| 03:58 |
movvy |
i see this in some of impl's code in the view |
| 03:58 |
movvy |
$this->loadStandardHtmlLayout(); |
| 03:59 |
movvy |
i currently use this->setupHtml This is what currently uses the master template |
| 04:16 |
saracen |
impl is weird. |
| 04:17 |
movvy |
heh |
| 04:17 |
movvy |
can you tell me how to switch for example i can see in the default install of agavi there is already a standard and a simple |
| 04:17 |
movvy |
how can i pick and chose |
| 04:18 |
saracen |
$this->setupHtml($rd, 'simple') |
| 04:18 |
movvy |
thats awesome, you just made my life so much more simple :) |
| 04:19 |
movvy |
btw where in the documenation might i find...setupHtml |
| 04:19 |
movvy |
I was trying to find it because i figured it was something liek that |
| 04:19 |
saracen |
If you use an IDE, you should just right click the method and go to it's defintion :P |
| 04:19 |
saracen |
That will show you, that in it's parent class |
| 04:20 |
saracen |
the method accepts $layoutName |
| 04:20 |
movvy |
what ide should i use? |
| 04:20 |
movvy |
i use notepad+ right now |
| 04:20 |
movvy |
heh |
| 04:21 |
saracen |
I use Komodo. But I'm probably the only person in the channel that does. It's because I'm too amateur to figure our emacs or eclipse with it's PHP stuffz |
| 04:21 |
movvy |
gotcha i alreayd use eclipse for java |
| 04:21 |
movvy |
i should check it out |
| 04:22 |
movvy |
oh ir emember why i got pissed |
| 04:23 |
movvy |
it like wants to move my project i feel like |
| 04:23 |
movvy |
it doesn't keep active track of my directory |
| 04:23 |
movvy |
when i pull thing from a repo, its not like auto populating them in my ide |
| 04:24 |
saracen |
God. It'd 4:30am, I've been up since 6am after having 3 hours sleep last night and I've had a few beers |
| 04:24 |
saracen |
I should probably go to sleep |
| 04:24 |
movvy |
lol |
| 04:24 |
saracen |
So, yeah. nn! |
| 04:24 |
movvy |
lata |
| 04:24 |
saracen |
04:19:12 <xDDD> well they do reply and tell me the forwarded it to the dev team, but sometimes it just doesn't get fixed even after a few months |
| 04:25 |
saracen |
04:19:23 <xDDD> they* |
| 04:25 |
saracen |
opps |
| 04:25 |
saracen |
04:20:22 <xDDD> But recently it looks like their server side checking has gotten a lot better |
| 04:25 |
saracen |
04:21:17 <xDDD> so that's good already, maybe l3j had a part in that hehe |
| 04:25 |
saracen |
04:22:11 <xDDD> does he work on the networking now? |
| 04:25 |
saracen |
putty and fail right click copy |
| 04:25 |
saracen |
Thats compleely unlrated to the world, ignorez |
| 04:31 |
movvy |
damn, this new template stuff, is going to make dev so much easier |
| 04:31 |
movvy |
BAM |
| 04:34 |
Jarda |
smc reset <3 |
| 04:34 |
Jarda |
now my battery is working again |
| 04:55 |
movvy |
nice, this is great ;) |
| 05:06 |
movvy |
hmm |
| 05:06 |
movvy |
this doesn't seem to be selecting the template :> |
| 05:50 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 05:51 |
mob_yo |
[~mob_yo@c-98-245-215-134.hsd1.co.comcast.net] has joined #agavi |
| 05:52 |
mob_yo |
hello friends |
| 05:52 |
mob_yo |
who's still awake? |
| 05:52 |
movvy |
me |
| 05:52 |
mob_yo |
who's just waking up? |
| 05:53 |
mob_yo |
hey movvy |
| 05:53 |
mob_yo |
MugeSo? Mikeseth? v-dogg? |
| 05:53 |
mob_yo |
I've learned a little bit from each of you over the past year |
| 05:54 |
mob_yo |
yea the channel must be dead right now |
| 05:55 |
mob_yo |
[~mob_yo@c-98-245-215-134.hsd1.co.comcast.net] has left #agavi [] |
| 05:58 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 276 seconds] |
| 06:17 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:01 |
haji1 |
[~dp@89.165.26.53] has joined #agavi |
| 07:02 |
haji |
[~dp@unaffiliated/everplays] has quit [Disconnected by services] |
| 07:02 |
haji1 |
is now known as haji |
| 07:02 |
haji |
[~dp@89.165.26.53] has quit [Changing host] |
| 07:02 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:03 |
MugeSo |
mob_yo have to be more patient :( |
| 07:03 |
MugeSo |
btw, Huomenta |
| 07:22 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:31 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 07:31 |
Jarda |
huomenta |
| 07:59 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 08:00 |
movvy |
night all... another hugely productive day |
| 08:00 |
movvy |
later all and as always thanks for all the help provided today |
| 08:11 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:40 |
simoncpu |
[~soulfury@58.71.34.155] has joined #agavi |
| 08:57 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 09:42 |
_cheerios |
[~cheerios@195.197.209.254] has joined #agavi |
| 09:42 |
_cheerios |
huomenta |
| 09:49 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 09:58 |
Rayne |
[~Rayne@pD9E34278.dip.t-dialin.net] has joined #agavi |
| 10:09 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:10 |
graste |
huomenta |
| 10:12 |
fnordfish |
[~fnordfish@89.246.250.218] has left #agavi [] |
| 10:12 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:13 |
fnordfish |
huomenta, moin moin, tach och, god'day, hi |
| 10:14 |
graste |
^^ |
| 10:19 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:37 |
xalva |
[~57dcfc1f@gateway/web/freenode/x-btrawlkfodjwtlqv] has joined #agavi |
| 10:39 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Read error: Connection reset by peer] |
| 10:39 |
fnordfish1 |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:41 |
xalva |
Wich is the best opensource ide to debug php (agavi) in a ubuntu box? |
| 10:49 |
_cheerios |
started vim last week, then vacation, now figuring out what the hell all those shortcuts were... |
| 10:50 |
_cheerios |
xalva, i've used xdebug with eclipde&netbeans, works fine (when configured) |
| 10:50 |
v-dogg |
hehe |
| 10:50 |
v-dogg |
_cheerios: you could write a short how-to on that |
| 10:51 |
v-dogg |
I tried xdebug once with eclipse but wasn't able to get it to work nicely with me and/or agavi |
| 10:55 |
xalva |
_cheerios: thanks I going to try it! |
| 10:55 |
xalva |
v-dogg: what're you using then? |
| 10:55 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:58 |
v-dogg |
xalva: var_dump, agavi logging and ADT |
| 10:58 |
v-dogg |
(ADT with firephp+firebug) |
| 11:06 |
xalva |
v-dogg: interesting I am going to study this other way to, thank you |
| 11:08 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 11:26 |
Jarda |
debugging with breakpoints would be very nice to have (haven't tried to integrate those to netbeans/eclipse) |
| 11:27 |
Jarda |
maybe I should try zend studio.. |
| 11:46 |
xalva |
but zend studio is not opensource |
| 11:46 |
Jarda |
true |
| 11:49 |
sth |
Who really cares if it's open source or not? |
| 11:49 |
sth |
IT's about using the best tool for the job |
| 11:49 |
Jarda |
not me atleast |
| 11:56 |
horros |
Open source = communism! |
| 12:33 |
Rayne |
[~Rayne@pD9E34278.dip.t-dialin.net] has left #agavi ["Dein Text ist so schlecht, der könnte authentisch sein."] |
| 12:34 |
simoncpu |
horros: nope |
| 12:34 |
simoncpu |
GNU = communism |
| 12:34 |
simoncpu |
BSD = free love |
| 13:17 |
graste |
who said that communism is bad? ^^ |
| 13:20 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 13:45 |
simoncpu |
[~soulfury@58.71.34.155] has quit [Quit: firewall is being rebooted] |
| 14:02 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 14:06 |
hzilla |
http://www.cnngo.com/tokyo/none/worlds-greatest-city-50-reasons-why-tokyo-no-1-903662 |
| 14:06 |
hzilla |
who wants to come to a party in Tokyo at the end of May? |
| 14:08 |
sth |
Are you buying the plane tickets? :P |
| 14:09 |
hzilla |
hey i'm sure u can afford it on your healthy salary |
| 14:09 |
hzilla |
or if not there's always visa |
| 14:09 |
hzilla |
priceless. |
| 14:20 |
macen |
anybody using ImageMagick here? |
| 14:20 |
macen |
i've some files that aren't converting, not sure if it's the files or my setup, would appreciate it if someone could test them with their setup? |
| 14:22 |
Xylakant |
macen: do the file open fine in any other image processing app? |
| 14:22 |
Xylakant |
if yes, they're probably fine |
| 14:23 |
macen |
Xylakant: yes, they do, but not sure if it's my setup or the way the files are encoded |
| 14:23 |
macen |
any PDF generated by Illustrator/InDesign doesn't convert, but if it's saved and converted in Acrobat, they work ok |
| 14:24 |
macen |
took time to get it working at all as i compiled from source for the most up-to-date versions, now it only converts acrobat generated pdf's |
| 14:24 |
macen |
files are here if you can help: http://public.me.com/craigfairhurst |
| 14:25 |
xalva |
[~57dcfc1f@gateway/web/freenode/x-btrawlkfodjwtlqv] has quit [Quit: Page closed] |
| 14:32 |
_cheerios |
hzilla, what party when? |
| 14:32 |
hzilla |
_cheerios: my site relaunch party at the end of May at one of the world's best clubs |
| 14:36 |
_cheerios |
1150e round-trip flights o_O (well, expected it) |
| 14:36 |
hzilla |
_cheerios: so much? that seems too much |
| 14:37 |
hzilla |
should be bale to get something for half that |
| 14:37 |
_cheerios |
via ebookers |
| 14:38 |
_cheerios |
k, bad dates, cheaper on some other dates (~850) |
| 14:39 |
hzilla |
yeh that sounds more reasonable. and i expect that the prices fluctuate. it would end up being expensive but its a great place and i'm a good host |
| 14:42 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 14:45 |
_cheerios |
wow, flights between tokyo to china/australia are as expensive (if not more) as coming all the way from Finland |
| 14:46 |
hzilla |
finnair is usually reasonable |
| 14:46 |
hzilla |
la is cheap |
| 15:01 |
_cheerios |
yup, finnair+japan airlines had best offers (only ones too :p) |
| 15:02 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 15:07 |
digitarald |
who is behind dracoblue.net? |
| 15:19 |
fnordfish1 |
gui from xoz ;) |
| 15:20 |
macen |
Xylakant: was a missing "-colorspace rbg" parameter |
| 15:20 |
macen |
thanks for reply :) |
| 15:20 |
fnordfish1 |
digitarald: http://dracoblue.net/about/#impressum gives you the whole info |
| 15:20 |
digitarald |
but not his irc nick |
| 15:21 |
digitarald |
but I think I remember |
| 15:21 |
fnordfish1 |
go, mail him |
| 15:21 |
fnordfish1 |
don't think so |
| 15:21 |
fnordfish1 |
anyways - gotta go |
| 15:21 |
fnordfish1 |
cu |
| 15:21 |
fnordfish1 |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 15:39 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 16:18 |
_cheerios |
[~cheerios@195.197.209.254] has quit [Quit: viimkend] |
| 16:31 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 16:38 |
fnordfish |
[~fnordfish@f052140249.adsl.alicedsl.de] has joined #agavi |
| 16:59 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 16:59 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 17:03 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Quit: leaving] |
| 17:04 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 17:07 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 17:11 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Quit: leaving] |
| 17:15 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 17:34 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:30 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Ping timeout: 246 seconds] |
| 18:37 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 19:40 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Remote host closed the connection] |
| 19:47 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 21:06 |
fnordfish |
[~fnordfish@f052140249.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 21:42 |
matbtt |
[~5cca64a0@gateway/web/freenode/x-bsdqljlifdikdgrj] has joined #agavi |
| 21:49 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 22:31 |
matbtt |
[~5cca64a0@gateway/web/freenode/x-bsdqljlifdikdgrj] has left #agavi [] |
| 22:44 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 23:09 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Quit: Lost terminal] |
| 23:26 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 23:47 |
movvy |
sigh |
| 23:47 |
movvy |
so close |
| 23:47 |
movvy |
something is messed up in my fpf:x |
| 23:49 |
movvy |
how do i dump the html that it is seeing, so i can see where the error is |
| Day changed Sat Feb 13 2010
|
| 00:02 |
movvy |
ahh found it :) |
| 05:52 |
luke` |
[~luke`@59.96.63.7] has joined #agavi |
| 07:42 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:56 |
graste |
[~graste@f053011214.adsl.alicedsl.de] has joined #agavi |
| 08:49 |
benschi |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has joined #agavi |
| 09:03 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 09:21 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 09:40 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 09:41 |
benschi |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has quit [Ping timeout: 245 seconds] |
| 09:48 |
benschi |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has joined #agavi |
| 10:09 |
dwc|n4cer |
[~n4cer@p4FC13734.dip.t-dialin.net] has joined #agavi |
| 10:27 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 10:27 |
cheerios_ |
jee |
| 11:02 |
ttj |
!jee |
| 11:02 |
graste |
jee? |
| 11:11 |
CIA-50 |
[~CIA@208.69.182.149] has quit [Ping timeout: 265 seconds] |
| 11:31 |
luke` |
[~luke`@59.96.63.7] has quit [Read error: Connection reset by peer] |
| 12:02 |
cheerios_ |
after catching a cold, seems stuffy nose has setup an ear infection (left ear half-blocked). MEH. |
| 12:36 |
matbtt_ |
[~matbtt@port-92-202-166-131.dynamic.qsc.de] has joined #agavi |
| 12:37 |
benschi |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has quit [Quit: benschi] |
| 12:48 |
dwc|n4cer |
[~n4cer@p4FC13734.dip.t-dialin.net] has quit [Quit: Leaving] |
| 13:04 |
fnordfish |
[~fnordfish@f052134143.adsl.alicedsl.de] has joined #agavi |
| 13:07 |
fnordfish |
[~fnordfish@f052134143.adsl.alicedsl.de] has quit [Client Quit] |
| 13:52 |
benschi |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has joined #agavi |
| 14:40 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 14:46 |
benschi_ |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has joined #agavi |
| 14:46 |
benschi |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has quit [Read error: Connection reset by peer] |
| 14:46 |
benschi_ |
is now known as benschi |
| 14:46 |
haji |
is now known as everplays |
| 15:40 |
benschi |
[~benschi@s0895.vpn.hrz.tu-darmstadt.de] has quit [Quit: benschi] |
| 16:22 |
luke` |
[~luke`@59.96.63.7] has joined #agavi |
| 16:27 |
luke` |
[~luke`@59.96.63.7] has quit [Ping timeout: 272 seconds] |
| 16:32 |
luke` |
[~luke`@59.96.63.7] has joined #agavi |
| 16:36 |
luke` |
[~luke`@59.96.63.7] has quit [Ping timeout: 246 seconds] |
| 17:03 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 17:04 |
SasanRose |
[~SasanRose@92.50.7.121] has joined #agavi |
| 17:23 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 240 seconds] |
| 17:36 |
movvy |
hello |
| 17:40 |
Rayne |
[~Rayne@pD9E37278.dip.t-dialin.net] has joined #agavi |
| 17:49 |
luke` |
[~luke`@59.96.63.7] has joined #agavi |
| 17:53 |
luke` |
[~luke`@59.96.63.7] has quit [Ping timeout: 256 seconds] |
| 18:08 |
SasanRose |
[~SasanRose@92.50.7.121] has quit [Ping timeout: 256 seconds] |
| 18:18 |
macen |
[~macen@85.113.83.202] has joined #agavi |
| 18:26 |
macen |
[~macen@85.113.83.202] has quit [Quit: macen] |
| 18:41 |
macen |
[~macen@85.113.83.202] has joined #agavi |
| 18:56 |
macen |
[~macen@85.113.83.202] has quit [Quit: macen] |
| 18:57 |
movvy |
how is everyone today? |
| 18:58 |
movvy |
hellooooo how is everyone today? |
| 18:59 |
matbtt_ |
fine :) |
| 19:00 |
movvy |
good good, same here |
| 19:00 |
movvy |
just continueing to tie up loose ends on this project |
| 19:01 |
Jarda |
I have the problem, that I have a few projects almost done (just some little tweaking needed) and I just start to hack new things.. |
| 19:02 |
Jarda |
there's a couple that I would be able to bill after a few hours of work |
| 19:02 |
Jarda |
just haven't got the motivation to finish them :) |
| 19:03 |
matbtt_ |
...I'm just switching my project to Doctrine 2... hope it will be finished soon... |
| 19:04 |
Jarda |
I should port one project to propel 1.5 (just for the kicks..), but the little terror seems to be taking all my time |
| 19:04 |
Jarda |
and when he goes to sleep I have no energy left :) |
| 19:15 |
macen |
[~macen@85.113.83.202] has joined #agavi |
| 19:21 |
macen_ |
[~macen@85.113.83.201] has joined #agavi |
| 19:22 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 19:25 |
macen |
[~macen@85.113.83.202] has quit [Ping timeout: 240 seconds] |
| 19:25 |
macen_ |
is now known as macen |
| 19:29 |
graste |
[~graste@f053011214.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 19:34 |
luke` |
[~luke`@59.96.63.7] has joined #agavi |
| 19:38 |
luke` |
[~luke`@59.96.63.7] has quit [Ping timeout: 246 seconds] |
| 19:46 |
luke` |
[~luke`@59.92.135.40] has joined #agavi |
| 19:59 |
Rayne |
[~Rayne@pD9E37278.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 20:07 |
macen |
[~macen@85.113.83.201] has quit [Quit: macen] |
| 20:21 |
macen |
[~macen@85.113.83.201] has joined #agavi |
| 20:30 |
macen |
[~macen@85.113.83.201] has quit [Quit: macen] |
| 20:41 |
matbtt_ |
[~matbtt@port-92-202-166-131.dynamic.qsc.de] has left #agavi [] |
| 20:49 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 21:34 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 22:10 |
dwc|n4cer |
[~n4cer@p4FC13798.dip.t-dialin.net] has joined #agavi |
| 22:41 |
dwc|n4cer |
[~n4cer@p4FC13798.dip.t-dialin.net] has quit [Quit: Leaving] |
| 23:24 |
MikeSeth |
le derp |
| 23:26 |
cheerios_ |
mmm... watched a good finnish movie, "kolme viisasta miest?" |
| 23:26 |
cheerios_ |
good drama http://www.imdb.com/title/tt1270769/ |
| Day changed Sun Feb 14 2010
|
| 00:06 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Ping timeout: 246 seconds] |
| 00:11 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 00:18 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 00:21 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Client Quit] |
| 00:24 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: sleep] |
| 03:53 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 03:53 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Read error: Operation timed out] |
| 06:15 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 06:39 |
SasanRose |
[~SasanRose@213.207.255.167] has joined #agavi |
| 06:59 |
SasanRose |
[~SasanRose@213.207.255.167] has quit [Quit: leaving] |
| 07:00 |
SasanRose |
[~SasanRose@213.207.255.167] has joined #agavi |
| 08:26 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 08:54 |
Jarda |
I should make a agavirouting for javascript |
| 08:54 |
Jarda |
this uses so heavily javascript, that I have now hard coded my url |
| 08:54 |
Jarda |
s |
| 08:55 |
Jarda |
but it wouldn't be that hard to make a routing-action that takes the route name as parmeter and returns the route by json |
| 09:15 |
matbtt_ |
[~matbtt@port-92-202-226-76.dynamic.qsc.de] has joined #agavi |
| 09:23 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 10:07 |
MikeSeth |
jaaa |
| 10:08 |
MikeSeth |
Jarda: yeah you could do that |
| 10:52 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has joined #agavi |
| 10:52 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has quit [Client Quit] |
| 10:52 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has joined #agavi |
| 10:52 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has quit [Remote host closed the connection] |
| 10:53 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has joined #agavi |
| 10:54 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has quit [Client Quit] |
| 10:54 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has joined #agavi |
| 11:29 |
graste |
[~graste@f053006167.adsl.alicedsl.de] has joined #agavi |
| 11:43 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 11:45 |
MikeSeth |
mmmm |
| 11:45 |
MikeSeth |
phpunit can't test protected/private methods can it? |
| 11:46 |
graste |
it can |
| 11:46 |
graste |
but why would you |
| 11:47 |
graste |
http://sebastian-bergmann.de/archives/881-Testing-Your-Privates.html |
| 11:59 |
MikeSeth |
some shit i didn't write :< |
| 12:00 |
graste |
:-) |
| 12:02 |
graste |
like I said a few weeks after being asked about my project: since the site is live I'm now working with legacy code ^^ |
| 13:15 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 252 seconds] |
| 13:36 |
SasanRose |
[~SasanRose@213.207.255.167] has quit [Quit: leaving] |
| 13:52 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 13:58 |
hoffigk |
[~fhoffmann@f052173131.adsl.alicedsl.de] has joined #agavi |
| 14:12 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has quit [Read error: Connection reset by peer] |
| 14:13 |
matbtt_ |
[~matbtt@port-92-202-226-76.dynamic.qsc.de] has left #agavi [] |
| 14:15 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 260 seconds] |
| 15:00 |
MikeSeth |
man tdd for the win |
| 15:18 |
Rendez |
[~Rendez@3.Red-83-34-4.dynamicIP.rima-tde.net] has joined #agavi |
| 15:51 |
fnordfish |
[~fnordfish@f052141099.adsl.alicedsl.de] has joined #agavi |
| 16:06 |
Rendez |
[~Rendez@3.Red-83-34-4.dynamicIP.rima-tde.net] has quit [Quit: c ya.] |
| 17:29 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 17:54 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 17:57 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 18:11 |
luke` |
[~luke`@59.92.135.40] has quit [Quit: luke`] |
| 18:29 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 19:24 |
Rendez |
[~Rendez@3.Red-83-34-4.dynamicIP.rima-tde.net] has joined #agavi |
| 19:29 |
hoffigk |
[~fhoffmann@f052173131.adsl.alicedsl.de] has quit [Quit: hoffigk] |
| 19:33 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has joined #agavi |
| 19:36 |
matbtt_ |
[~matbtt@port-92-202-226-76.dynamic.qsc.de] has joined #agavi |
| 20:18 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 20:18 |
cheerios_ |
iltaa |
| 20:23 |
v-dogg |
what the hell is Dillo? yes, a browser, but why haven't I heard of it everrr |
| 20:24 |
v-dogg |
according to a test I ran with browsershots.org it doesn't do a very good job rendering css styles |
| 20:26 |
cheerios_ |
anyone played with js lately? what's the proper way to do program classes to have some standalone objects with their methods+vars up? |
| 20:36 |
Jarda |
browsershots is slow as hell |
| 20:37 |
v-dogg |
sure is |
| 20:41 |
cheerios_ |
hmm, cheated by using jquery.extend({}, my_object) |
| 20:59 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 21:02 |
ttj |
cheerios_: When is heimoi going to go live? ;) |
| 21:03 |
cheerios_ |
when my gf gives me more freetime |
| 21:03 |
cheerios_ |
working on it right now atleast :) |
| 21:08 |
ttj |
I just started preliminary work on my thesis. Maybe I'll finally graudate this year. :P |
| 21:09 |
cheerios_ |
\o/ |
| 21:19 |
Rendez |
[~Rendez@3.Red-83-34-4.dynamicIP.rima-tde.net] has quit [Quit: c ya.] |
| 21:34 |
matbtt_ |
[~matbtt@port-92-202-226-76.dynamic.qsc.de] has left #agavi [] |
| 21:36 |
graste |
:> |
| 21:36 |
graste |
been there, done that |
| 21:37 |
graste |
good luck :-) |
| 21:42 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 22:15 |
fnordfish |
[~fnordfish@f052141099.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 22:25 |
Rayne |
[~Rayne@pD9E36489.dip.t-dialin.net] has left #agavi ["Dein Text ist so schlecht, der könnte authentisch sein."] |
| 22:26 |
movvy |
what is heimoi |
| 22:30 |
cheerios_ |
movvy, (a kind of) location-based social network |
| 22:56 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 23:15 |
graste |
[~graste@f053006167.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:15 |
nfq |
[~nfq@dyn.144-85-196-062.dsl.vtx.ch] has joined #agavi |
| 23:23 |
Reza__ |
[~5775d905@gateway/web/freenode/x-tacvgcmkuuozfwcb] has joined #agavi |
| 23:23 |
Reza__ |
Hi every body |
| 23:25 |
Reza__ |
i have been working with symfony for 2 years . It is wonderful . I found your project (agavi) witch is extended from Mojavi . I test it and I wrote an App |
| 23:25 |
Reza__ |
But Why agavi |
| 23:25 |
Reza__ |
?? |
| 23:26 |
cheerios_ |
sea of choices. this is one of 'em. |
| 23:26 |
Reza__ |
I would like to know about special features |
| 23:27 |
Reza__ |
I found agavi alittle bit different |
| 23:27 |
Reza__ |
with symfony |
| 23:27 |
Reza__ |
Is it another wheel ? |
| 23:29 |
cheerios_ |
basically what is says on the web page. since you've done an app already you can decide what to go with based on your requirements. |
| 23:30 |
Reza__ |
I suggest you , complete your manual , it is really important for useres . it makes your project , grow faster and find more developer |
| 23:32 |
Reza__ |
[~5775d905@gateway/web/freenode/x-tacvgcmkuuozfwcb] has quit [Quit: Page closed] |
| Day changed Mon Feb 15 2010
|
| 00:15 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: nn] |
| 02:45 |
nfq |
[~nfq@dyn.144-85-196-062.dsl.vtx.ch] has quit [Quit: nfq] |
| 03:48 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 05:35 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 05:45 |
v-dogg |
wow, a manual?! how did we not think of that... |
| 05:46 |
v-dogg |
and also |
| 05:46 |
v-dogg |
huomenta |
| 05:50 |
movvy |
hello |
| 05:51 |
movvy |
that hilarious, I actually think agavi's tutorial is complately awesome |
| 05:52 |
movvy |
did it teach me everything? no... did I feel empowered chapter by chapter.. yes!! |
| 05:52 |
movvy |
it is really nice... |
| 06:38 |
MugeSo |
How can i set default layer class? |
| 06:40 |
MugeSo |
now I've reached it's in AgaviOutputTypeConfigHandler class's parameter, but how to set it... |
| 06:45 |
MugeSo |
in config_handlers.xml ? |
| 06:47 |
MugeSo |
it's confusing :( |
| 06:48 |
MugeSo |
it should in output_types.xml or factories.xml! |
| 07:22 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 07:45 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:57 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 08:04 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 08:05 |
Jarda |
can I disable fpf per action/view |
| 08:05 |
Jarda |
I'm getting parse-exception from fpf on production (works in dev) |
| 08:12 |
digitarald |
heya |
| 08:15 |
Jarda |
ok, wtf. $ro->gen(null); is generating urls in production with "&". In development with & |
| 08:16 |
Jarda |
some php-stupidness? |
| 08:17 |
digitarald |
checking, I remember a quirk |
| 08:27 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 08:42 |
MugeSo |
Jarda: $this->getContext()->getRequest()->setAttribute('populate', false, 'org.agavi.filter.FormPopulationFilter'); disables FPF |
| 08:45 |
Jarda |
MugeSo: yeah, I figured that out |
| 08:45 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 08:46 |
Jarda |
but the actua problem is routing generating urls with unescaped &-character |
| 08:50 |
MugeSo |
Jarda: arg_separator.output and 'separator' eleement in 3rd parameter for gen method affects url query separator. |
| 08:50 |
MugeSo |
arg_separator.output is php.ini setting. |
| 08:50 |
Jarda |
MugeSo: arg_separator.output is "&" in both development and production |
| 08:51 |
Jarda |
doesn't explain why the urls generate differently in dev and prod |
| 08:51 |
MugeSo |
how about arg_separator.input ? |
| 08:52 |
MugeSo |
and did you try $ro->gen(nulll, array(), array('separator'=>'&')); ? |
| 08:55 |
MugeSo |
ok, I've read the code now, arg_separator.input is |
| 08:57 |
Jarda |
yeah, arg_separator.input is ';&' which breaks |
| 08:57 |
Jarda |
but it is a valid value for the setting in php.ini |
| 08:57 |
Jarda |
so this might be a bug in agavi I guess |
| 08:58 |
Jarda |
I have to check if our hosting provider gives access to php.ini |
| 09:00 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 09:01 |
graste |
huomenta |
| 09:02 |
Jarda |
that's a setting that can't be changeg runtime |
| 09:04 |
MugeSo |
yeah, it's PHP_INI_SYSTEM|PHP_INI_PERDIR. |
| 09:04 |
graste |
huomenta |
| 09:04 |
graste |
oosp |
| 09:04 |
MugeSo |
huomenta :) |
| 09:04 |
graste |
slaps graste around with a time displacement |
| 09:05 |
Jarda |
ok, php_value doesn't work on our hosting |
| 09:07 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-fceztwinysftednp] has joined #agavi |
| 09:08 |
MikeSeth |
huomenta |
| 09:25 |
Xylakant |
[~Xylakant@munich.bitextender.net] has joined #agavi |
| 09:30 |
Xylakant |
[~Xylakant@munich.bitextender.net] has left #agavi [] |
| 09:30 |
Xylakant |
[~Xylakant@munich.bitextender.net] has joined #agavi |
| 09:32 |
MikeSeth |
RuntimeException: PDOException: You cannot serialize or unserialize PDOStatement instances |
| 09:32 |
MikeSeth |
wtf is phpunit trying to do >< |
| 09:33 |
Jarda |
Xylakant: ping |
| 09:34 |
Xylakant |
MikeSeth: probably your setup code creates a pdo instance |
| 09:36 |
Jarda |
Xylakant: if in php.ini arg_separator.input is ';&', $ro->gen(null) creates urls with "&" as separator, is this expected? |
| 09:36 |
MikeSeth |
uhmmm it doesn't |
| 09:36 |
MikeSeth |
at least not directly |
| 09:36 |
MikeSeth |
Some sort of Doctrine chemsitry |
| 09:36 |
Xylakant |
Jarda: certainly |
| 09:36 |
Jarda |
any way to workaround? |
| 09:36 |
MikeSeth |
Xylakant: wait, setup code = ? |
| 09:36 |
Xylakant |
we use that config setting |
| 09:36 |
Xylakant |
fix the config setting? |
| 09:37 |
Jarda |
Xylakant: I don't have access to php.ini |
| 09:37 |
Xylakant |
but it should not be arg_separator.input iirc but the other one |
| 09:37 |
Xylakant |
use ini_set()? |
| 09:37 |
Jarda |
Xylakant: not possible to change with ini_set |
| 09:37 |
Xylakant |
otherwise i think you can pass that as an option in factories.xml |
| 09:37 |
Xylakant |
why would that not be changeable with ini_set? |
| 09:38 |
Jarda |
11:04:12 < MugeSo> yeah, it's PHP_INI_SYSTEM|PHP_INI_PERDIR. |
| 09:38 |
Xylakant |
arg_separator.output |
| 09:38 |
Jarda |
nope, I'm talking about .input |
| 09:39 |
Xylakant |
we're using output for generation |
| 09:39 |
Xylakant |
as things should be |
| 09:39 |
Jarda |
I can make a patch against sample app, that breaks when .input is changed to ';&' |
| 09:41 |
MugeSo |
Xylakant: gen uses .input when route is null and parameter is empty. |
| 09:41 |
Xylakant |
what's your incoming url? |
| 09:41 |
Jarda |
/foo?bar=1&baz=2 |
| 09:42 |
Xylakant |
well |
| 09:42 |
Xylakant |
how do you expect that to work? |
| 09:43 |
Xylakant |
you're passing one single parameter |
| 09:43 |
Xylakant |
it's name is 'bar' and the value is '1&baz=2' |
| 09:43 |
Xylakant |
and that's what we generate on gen(null) |
| 09:43 |
Xylakant |
no bug |
| 09:44 |
Xylakant |
or is that supposed to be a list of separators? |
| 09:44 |
Jarda |
you say http://foo.tld/index.php?foo=bar&baz=quux isn't valid? |
| 09:45 |
Xylakant |
it certainly is vali |
| 09:45 |
Xylakant |
d |
| 09:45 |
Xylakant |
let me check |
| 09:46 |
Xylakant |
ok. it's supposed to be a list of characters |
| 09:46 |
Xylakant |
so each should be regarded as separator |
| 09:46 |
MikeSeth |
Xylakant: I'm confused, at what stage does phpunit serialize/unserialize stuff? |
| 09:46 |
Xylakant |
MikeSeth: arguments passed to the testcase for example |
| 09:47 |
MikeSeth |
hurr |
| 09:47 |
Xylakant |
when in isolation |
| 09:47 |
Xylakant |
can you try and disable isolation for that test and see if it works |
| 09:47 |
Xylakant |
and in error cases some parts of the result can be serialized |
| 09:47 |
MikeSeth |
i didnt even realise you could disable isolation |
| 09:48 |
Xylakant |
which version are you using |
| 09:48 |
Xylakant |
jarda: right, that's a bug |
| 09:48 |
Xylakant |
we don't treat a list of input separators correctly |
| 09:49 |
MikeSeth |
umm 1.0.1 from pear iirc..lemme check |
| 09:49 |
MikeSeth |
yep 1.0.1 |
| 09:50 |
Xylakant |
try calling |
| 09:50 |
Xylakant |
$this->setRunTestInSeparateProcess(false); in the constructor |
| 09:50 |
MikeSeth |
of the test? |
| 09:50 |
Xylakant |
you might have to call it before calling the parent constructor |
| 09:50 |
Xylakant |
yes |
| 09:52 |
Jarda |
Xylakant: ok, any way to workaround? |
| 09:52 |
MikeSeth |
Xylakant: heh, works |
| 09:52 |
Xylakant |
not calling gen(null) is the only idea i currently have |
| 09:53 |
Jarda |
ok |
| 09:53 |
Jarda |
you want me to open a ticket? |
| 09:53 |
Jarda |
I have a patch against sample app |
| 09:53 |
Xylakant |
certainly |
| 10:02 |
Jarda |
https://trac.agavi.org/ticket/1227 |
| 10:10 |
Xylakant |
right |
| 10:15 |
Xylakant |
david is currently offline but we'll have a look at it |
| 10:17 |
Jarda |
yeah, It's not a show stopper, as it occures only in an action only our own staff uses |
| 10:17 |
Jarda |
doesn't break the whole application :) |
| 10:19 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:19 |
digitarald |
u can change the FPF parameters for that action |
| 10:20 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:21 |
fnordfish |
[~fnordfish@89.246.250.218] has left #agavi [] |
| 10:21 |
Jarda |
I first have to bug our hosting provider why they have that setting |
| 10:23 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:23 |
Xylakant |
digitarald: only disabling would help |
| 10:45 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 11:11 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 11:11 |
cheerios_ |
huomenta |
| 11:13 |
cheerios_ |
is now known as _cheerios |
| 11:22 |
nfq |
[~nfq@dyn.144-85-193-171.dsl.vtx.ch] has joined #agavi |
| 11:24 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 11:25 |
nfq_ |
[~nfq@dyn.83-228-199-102.dsl.vtx.ch] has joined #agavi |
| 11:26 |
nfq |
[~nfq@dyn.144-85-193-171.dsl.vtx.ch] has quit [Ping timeout: 246 seconds] |
| 11:26 |
nfq_ |
is now known as nfq |
| 11:37 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Quit: Lost terminal] |
| 11:46 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 11:50 |
_cheerios |
nokia+intel joined forces on mobile front... interesting; http://meego.com |
| 11:54 |
nfq_ |
[~nfq@dyn.83-228-213-234.dsl.vtx.ch] has joined #agavi |
| 11:56 |
nfq |
[~nfq@dyn.83-228-199-102.dsl.vtx.ch] has quit [Ping timeout: 256 seconds] |
| 11:56 |
nfq_ |
is now known as nfq |
| 12:01 |
nfq |
[~nfq@dyn.83-228-213-234.dsl.vtx.ch] has quit [Ping timeout: 256 seconds] |
| 12:02 |
nfq |
[~nfq@dyn.144-85-209-238.dsl.vtx.ch] has joined #agavi |
| 12:06 |
nfq |
[~nfq@dyn.144-85-209-238.dsl.vtx.ch] has quit [Ping timeout: 240 seconds] |
| 12:08 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has joined #agavi |
| 12:08 |
Yossi_ |
Huomenta |
| 12:19 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 12:34 |
MikeSeth |
people TOLD me not to use REPLACE INTO |
| 12:34 |
MikeSeth |
hurr durr |
| 12:34 |
MikeSeth |
kills self |
| 12:39 |
Yossi_ |
Hello, I want to create a routing rule for images and other media, with language/currency fallbacks (as in, if image missing in en/eur - use same image as en/usd folder). They way I thought of doing it is creating a script that looks at those folders and builds an xml file with all the exisiting media, the xml can then be prased by a config handler - and then the routing callback ongenerate... |
| 12:39 |
Yossi_ |
...method can use the resulting cache file to map to the right file. My question is how do make my folder scanning->xml script run in the agavi initialization faze, but only when you clear the projects cache (so it doesn't do it for every request). any ideas? |
| 12:39 |
Yossi_ |
spelling... |
| 12:41 |
Yossi_ |
MikeSeth: don't die... |
| 12:42 |
MikeSeth |
um |
| 12:42 |
MikeSeth |
ummmm |
| 12:45 |
Yossi_ |
I wonder is you can hook something in to the project-cache-clear mechanizem |
| 12:47 |
Xylakant |
Yossi_: why don't you add that to the deployment scripts? |
| 12:49 |
MikeSeth |
thats what i told him too |
| 12:51 |
Yossi_ |
Sounds logical enough, just wanted to save our webmaster from running another command when adding images to the site... |
| 12:51 |
MikeSeth |
she should lurk less and work moar |
| 12:52 |
MikeSeth |
also if that's so critical you can hook it up to git pre-commit or something |
| 12:52 |
Yossi_ |
hehe... yeah... and I am saving 80% of her daily fail with this project |
| 12:54 |
Yossi_ |
git hooks, sounds good |
| 12:55 |
Xylakant |
Yossi_: how many commands does she need to run? |
| 12:55 |
Xylakant |
does she call the agavi public-create? |
| 12:55 |
Yossi_ |
project-cache-clear... for now |
| 12:55 |
Xylakant |
well, you can use the buildsystem to call arbitrary tasks |
| 12:56 |
Xylakant |
so you can have agavi deploy-live |
| 12:56 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:56 |
Xylakant |
which calls project-cache-clear and create-image-mapping |
| 12:56 |
Yossi_ |
Xylakant: Smart.... |
| 13:05 |
Xylakant |
you should read the agavi blog more often |
| 13:05 |
Xylakant |
I posted about that |
| 13:10 |
saracen |
I read the agavi blog once |
| 13:10 |
saracen |
It told me to use short validator names |
| 13:10 |
saracen |
I've never looked at it again since |
| 13:11 |
Xylakant |
well, if you prefer more typing, feel free |
| 13:13 |
saracen |
:D |
| 13:16 |
Yossi_ |
Oh I only now found there is a blog |
| 13:17 |
Xylakant |
does anyone have an old phing pear package? |
| 13:17 |
Xylakant |
2.3.x? |
| 13:18 |
Xylakant |
i |
| 13:18 |
Xylakant |
i'd like to tackle http://trac.agavi.org/ticket/1216 and http://trac.agavi.org/ticket/1222 |
| 13:22 |
Jarda |
[echo] Phing: |
| 13:22 |
Jarda |
[echo] Version: Phing version 2.3.3 |
| 13:23 |
Jarda |
I can run a simple test if you tell how to |
| 13:24 |
Xylakant |
thanks, but generating a proper patch is somewhat complicated |
| 13:26 |
nfq |
[~nfq@zux006-049-117.adsl.green.ch] has joined #agavi |
| 13:30 |
v-dogg |
saracen: +1 for full class names vs. short names and hidden parameters :) |
| 13:33 |
Xylakant |
hmm, so you'd prefer to use FooProjectUsernameValidator and specifying all parameters over having a sensible set of defaults and calling it "username" |
| 13:33 |
Xylakant |
may I ask if you use the "email" validator? |
| 13:45 |
saracen |
Xylakant: Yeah, I do. I use the shortnames for build in agavi validators |
| 13:45 |
saracen |
built in* |
| 13:46 |
Xylakant |
so why not for your own? |
| 13:46 |
saracen |
That way, I know they're built in. Full class name also tells me a lot about where the class is stored. A lot of the time, while developing, I realise I can solve an issue by just extending a validator slightly, rather than make 2 that are semi-unique. My point being, sometimes the name changes slightly. |
| 13:46 |
saracen |
But the biggest reason is simply because it's just not that much of a timesaver. I usually write it once, then copy it out of other validators anyway |
| 13:47 |
saracen |
I dont want anything hidden. If I want to search for the name of that validator to see all of its uses, I just search for one name, the class name |
| 13:48 |
saracen |
Say I had to write my own Email validator, because agavi wouldn't provide one. If I wanted to search for it's use: AgaviEmailValidator vs. Email. - I'd get quite a few results come back which were just about a generic usage of email |
| 13:48 |
Xylakant |
I often see the other way round - the same intent but the definitions all over the place |
| 13:48 |
Xylakant |
5 actions check for username |
| 13:48 |
Xylakant |
and they all use a different length |
| 13:48 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 13:48 |
Xylakant |
and I prefer to have the definition in one place |
| 13:49 |
Xylakant |
so i can change it in one place and it's consistent all over the app |
| 13:49 |
saracen |
How is that not the case for what I'm doing? |
| 13:50 |
saracen |
You mean, because you'd keep the alias the same, but change the name of the validator? or? |
| 13:50 |
Xylakant |
if you only use the validator once then there's no benefit having a short name |
| 13:50 |
Xylakant |
if you use it in multiple places you can have a reasonable set of default parameters attached |
| 13:50 |
Xylakant |
and you can change the name of the validator class later |
| 13:51 |
saracen |
I can have default parameters in my validator class |
| 13:51 |
Xylakant |
yes, certainly |
| 13:51 |
Xylakant |
but you cannot have two sets |
| 13:51 |
Xylakant |
I can |
| 13:51 |
saracen |
find/replace (I'm pretty sure I won't run in to problems, giving its the full validator name :)) |
| 13:52 |
Xylakant |
well, you don't have to do it |
| 13:52 |
Xylakant |
i just wanted to point out that you can |
| 13:52 |
saracen |
Xylakant: I see, that is interesting |
| 13:52 |
saracen |
The different sets, I see what you mean |
| 13:52 |
Xylakant |
and that you can actually use that to your benefit |
| 13:53 |
saracen |
Yeah, I think there's probably times where defining two different sets like that can be really handy |
| 13:53 |
saracen |
I didnt think of that =( |
| 13:53 |
Xylakant |
and if you want to change the validator that's behind it it's also handy |
| 13:53 |
Jarda |
oh, david was quick |
| 13:53 |
Xylakant |
you can start out with a regular stringvalidator for usernames |
| 13:54 |
Xylakant |
just limiting the length |
| 13:54 |
saracen |
Jarda: That's what she said |
| 13:54 |
Xylakant |
improve by using the regexp validator to filter undesired chars |
| 13:55 |
Xylakant |
and later define a custom validator that does actual checking and maybe blacklisting of offending names |
| 13:55 |
Jarda |
something is ought to fail, bumbing svn:externals to latest HEAD |
| 13:55 |
Jarda |
:) |
| 13:55 |
Xylakant |
and all of that without grepping through the source |
| 14:01 |
matbtt |
Huomenta. In my application I have some restrictions on the number of entities, e.g. a standard account must not create more than five characters. Actually this code is cluttered everywhere and I want move it into a validator. |
| 14:01 |
Jarda |
Xylakant: now when arg_separator.input is ";&" and we have been using ";" in our urls (and we have to because of 3rd party apps) $ro->gen(null); changes ";" characters to &Amp; Is this expected (do we have to workaround those when generating |
| 14:01 |
Xylakant |
yes, it is expected |
| 14:02 |
matbtt |
Are there better places for this logic? |
| 14:02 |
Jarda |
ok, then I just workaround it (shouldn't be too hard) |
| 14:02 |
Xylakant |
well, you can use the default_gen_options for that |
| 14:02 |
Xylakant |
and set the default to ; |
| 14:04 |
Jarda |
<ae:parameter name="default_gen_options"> </ae:..> ? in factories.xml?= |
| 14:06 |
Xylakant |
sort of |
| 14:06 |
Xylakant |
default_gen_options is a list itself |
| 14:06 |
Jarda |
ok |
| 14:06 |
Xylakant |
it can contain any options that you can pass when calling gen() |
| 14:35 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 14:57 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 14:57 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 15:10 |
hzilla_ |
is there built into agavi a way to look up a timezone for a country or city? |
| 15:25 |
Yossi_ |
how do I get the file system route to my pub dir? |
| 15:51 |
darkom |
[~darko@212.201.44.245] has joined #agavi |
| 15:53 |
darkom |
[~darko@212.201.44.245] has quit [Remote host closed the connection] |
| 15:56 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 15:57 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 15:58 |
hzilla_ |
Yossi: AgaviConfig::get('core.project_dir'.'pub') should do it |
| 16:26 |
Yossi_ |
hzilla_: no go :( |
| 16:32 |
Yossi_ |
there is no way configuration value that can give the pub die... just dumped them all |
| 16:33 |
graste |
you could specifiy your own properties in config.php using the already existing ones :-) |
| 16:33 |
graste |
or define it in index.php if you like |
| 16:33 |
Xylakant |
Yossi_: what do you mean by filesytem route? the path? |
| 16:33 |
Yossi_ |
yes the path |
| 16:34 |
Xylakant |
AgaviConfig::get('core.app_dir').'/../pub' |
| 16:35 |
Xylakant |
AgaviConfig::get('core.project_dir').'/pub' might work but I'm not 100% certain we do set that |
| 16:36 |
Yossi_ |
Xylakant: yeah used /../pub. there is no project_dir |
| 16:37 |
Xylakant |
i think that's only available in the build system |
| 16:39 |
sth |
It's one of those vars I always set in projects though :/ |
| 16:45 |
Xylakant |
we might consider introducing that as a default |
| 16:51 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 16:57 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-fceztwinysftednp] has quit [Ping timeout: 252 seconds] |
| 17:04 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 17:07 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:08 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 17:11 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 17:30 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:31 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 17:36 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 17:48 |
Yossi_ |
[~chatzilla@bzq-218-138-113.cablep.bezeqint.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] |
| 17:51 |
Xylakant |
[~Xylakant@munich.bitextender.net] has quit [Quit: Xylakant] |
| 18:09 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 18:09 |
J-P |
is there a reason the FPF would somehow screw up the encoding ? |
| 18:12 |
matbtt_ |
[~matbtt@port-92-202-82-116.dynamic.qsc.de] has joined #agavi |
| 18:15 |
J-P |
somehow, when I pre-populate a form, all specials characters are turned into stuff like ?(C) |
| 18:22 |
J-P |
hum It's somehow localized to a single module |
| 18:23 |
J-P |
Is it possible one of my file does not use a proper UTF-8 encoding ? |
| 18:26 |
v-dogg |
it is |
| 18:28 |
J-P |
i re-saved the action, the template, the view.. |
| 18:28 |
J-P |
with Textmate making sure it's using UTF-8 |
| 18:31 |
nfq |
[~nfq@zux006-049-117.adsl.green.ch] has quit [Quit: nfq] |
| 18:36 |
J-P |
I re-saved the files making sure it's UTF8 and it's not fixit it ... |
| 18:36 |
J-P |
:-S |
| 18:47 |
haji |
is now known as everplays |
| 18:53 |
CIA-74 |
[cia@208.69.182.149] has joined #agavi |
| 18:54 |
J-P |
Is there known issues with the FPF and accented characters in page titles ? |
| 18:55 |
J-P |
it seems there is problems.. |
| 18:55 |
J-P |
well, I believe |
| 18:56 |
J-P |
ok |
| 18:56 |
J-P |
This is an issue when the <title> element contains special characters like ? ? ? ... using the HTML 5 doctype |
| 18:57 |
J-P |
should I fill a I-found-a-bug form ? |
| 19:00 |
J-P |
v-dogg ? |
| 19:07 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 240 seconds] |
| 19:07 |
graste |
[~graste@f053005117.adsl.alicedsl.de] has joined #agavi |
| 19:44 |
Xylakant |
[~Xylakant@p5DE96858.dip.t-dialin.net] has joined #agavi |
| 19:54 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 20:04 |
nfq |
[~nfq@dyn.144-85-142-180.dsl.vtx.ch] has joined #agavi |
| 20:07 |
nfq_ |
[~nfq@dyn.83-228-153-001.dsl.vtx.ch] has joined #agavi |
| 20:08 |
nfq |
[~nfq@dyn.144-85-142-180.dsl.vtx.ch] has quit [Ping timeout: 245 seconds] |
| 20:08 |
nfq_ |
is now known as nfq |
| 20:10 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 20:34 |
nfq |
[~nfq@dyn.83-228-153-001.dsl.vtx.ch] has quit [Ping timeout: 256 seconds] |
| 20:42 |
nfq |
[~nfq@dyn.144-85-149-025.dsl.vtx.ch] has joined #agavi |
| 20:44 |
matbtt_ |
[~matbtt@port-92-202-82-116.dynamic.qsc.de] has left #agavi [] |
| 20:45 |
Xylakant |
[~Xylakant@p5DE96858.dip.t-dialin.net] has quit [Quit: Xylakant] |
| 20:46 |
nfq |
[~nfq@dyn.144-85-149-025.dsl.vtx.ch] has quit [Ping timeout: 256 seconds] |
| 20:51 |
nfq |
[~nfq@dyn.83-228-133-211.dsl.vtx.ch] has joined #agavi |
| 21:05 |
nfq_ |
[~nfq@dyn.83-228-130-239.dsl.vtx.ch] has joined #agavi |
| 21:05 |
nfq |
[~nfq@dyn.83-228-133-211.dsl.vtx.ch] has quit [Ping timeout: 252 seconds] |
| 21:05 |
nfq_ |
is now known as nfq |
| 21:12 |
nfq |
[~nfq@dyn.83-228-130-239.dsl.vtx.ch] has quit [Ping timeout: 256 seconds] |
| 21:18 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Quit: leaving] |
| 21:23 |
fnordfish |
[~fnordfish@f052139164.adsl.alicedsl.de] has joined #agavi |
| 21:36 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 22:03 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 22:21 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 22:31 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 23:09 |
graste |
[~graste@f053005117.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:13 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 23:24 |
Rayne |
[~Rayne@pD9E345C9.dip.t-dialin.net] has joined #agavi |
| 23:24 |
fnordfish |
[~fnordfish@f052139164.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 23:37 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: foo] |
| 23:57 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| Day changed Tue Feb 16 2010
|
| 00:15 |
Rayne |
[~Rayne@pD9E345C9.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 00:24 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 02:15 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 03:05 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 04:53 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Read error: Connection reset by peer] |
| 04:53 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 05:07 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 05:15 |
tobyS |
[crazyuser@hartes-php.de] has quit [Remote host closed the connection] |
| 05:35 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 06:52 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 07:51 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 07:59 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:02 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 08:18 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Quit: leaving] |
| 08:31 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 08:51 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 08:51 |
simoncpu |
huomenta,people! |
| 08:51 |
simoncpu |
weeeeeee |
| 08:51 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 08:52 |
_cheerios |
[~cheerios@195.197.209.254] has joined #agavi |
| 08:52 |
_cheerios |
huomenta |
| 08:52 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:53 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 08:54 |
simoncpu |
do you guys know how to ignore SIGINT (i.e., Ctrl+C) in CLI scripts? |
| 08:57 |
graste |
huomenta |
| 09:00 |
graste |
simoncpu: something like that probably: http://pastie.org/826832 |
| 09:01 |
simoncpu |
graste: yepp, that would catch SIGINT, but it won't jump to where it left off |
| 09:01 |
simoncpu |
it will catch SIGINT, but not ignore it... :( |
| 09:02 |
graste |
I don't get it |
| 09:02 |
graste |
didn't play around with this too much |
| 09:03 |
graste |
you couldn't just ignore it when signal is catched? |
| 09:06 |
simoncpu |
aha... i think it works |
| 09:06 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Read error: Connection reset by peer] |
| 09:06 |
simoncpu |
except that i used sleep() to test my script |
| 09:06 |
simoncpu |
it jumps back to the previous point and continues executing but the sleep timer is reset |
| 09:07 |
simoncpu |
hmmm... i won't use sleep() anyway |
| 09:07 |
simoncpu |
tests |
| 09:07 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 09:12 |
graste |
simoncpu: f5 http://pastie.org/826832 |
| 09:14 |
simoncpu |
whoa... i never thought i could do that with declare() |
| 09:16 |
graste |
i think declare ticks is not state of the art, but it works :> |
| 09:25 |
Xylakant |
[~Xylakant@munich.bitextender.net] has joined #agavi |
| 09:27 |
simoncpu |
aha, i think i got my problem |
| 09:27 |
simoncpu |
i have bourne shell script that calls this php script |
| 09:28 |
simoncpu |
when the bourne script calls the php script, there is this critcal ~1 second where the php is loaded and the pcntl calls are not yet executed |
| 09:28 |
simoncpu |
so i can press ctrl+c at that critical 1 second... blah |
| 09:29 |
simoncpu |
we have this weird project where PHP is used to initialize the whole OS |
| 09:29 |
simoncpu |
PHP is not suitable for this kind of task... blah :( |
| 09:32 |
graste |
:> |
| 09:43 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 09:44 |
fnordfish |
[~fnordfish@f052139212.adsl.alicedsl.de] has joined #agavi |
| 09:47 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:34 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 10:45 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:48 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 10:50 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 11:35 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 11:38 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 11:40 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 11:48 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 12:38 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:47 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 12:48 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 13:02 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 13:26 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 13:36 |
graste |
lalalalala |
| 13:39 |
v-dogg |
no singing |
| 13:40 |
sth |
whistles the Bladadder theme tune |
| 13:40 |
Xylakant |
well, no need to whistle, i can hear it over your headphones :) |
| 13:41 |
v-dogg |
haha |
| 13:41 |
sth |
You can hear the music I'm playing? |
| 13:41 |
v-dogg |
open office <3 :) |
| 13:41 |
Xylakant |
well, yes :) |
| 13:41 |
Xylakant |
i'd not call it music though ;) |
| 13:42 |
sth |
Xylakant should be lucky I'm using headphones. I've become used to not using headphones since I'm the only one here normally |
| 13:42 |
sth |
It's a dance music album |
| 13:42 |
sth |
makes a note to buy better headphones |
| 13:44 |
graste |
dance music? |
| 13:44 |
graste |
wtf? :D |
| 13:44 |
sth |
What you european scum call "techno" |
| 13:44 |
graste |
haha |
| 13:45 |
v-dogg |
haha |
| 13:45 |
graste |
eurodance trash or what |
| 13:51 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 13:52 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 13:59 |
_cheerios |
[~cheerios@195.197.209.254] has quit [Quit: foo] |
| 13:59 |
Jarda |
v-dogg: bought me new speakers today |
| 13:59 |
Jarda |
<3 |
| 14:00 |
Jarda |
s/:// |
| 14:03 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 272 seconds] |
| 14:10 |
PeYKaR |
[~pk@213.207.255.167] has joined #agavi |
| 14:17 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 14:19 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 14:20 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 14:23 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:23 |
Rendez |
[~Rendez@83.34.4.3] has joined #agavi |
| 14:36 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 14:41 |
PeYKaR |
[~pk@213.207.255.167] has quit [Ping timeout: 246 seconds] |
| 14:42 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 14:54 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:09 |
simoncpu_ |
[~simoncpu@222.127.171.211] has joined #agavi |
| 15:22 |
darkom |
[~darko@212.201.44.241] has joined #agavi |
| 15:24 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 272 seconds] |
| 15:24 |
darkom |
hi |
| 15:28 |
sth |
hi |
| 15:31 |
darkom |
i have a problem when I try to export an array |
| 15:31 |
darkom |
all the values get filtered |
| 15:31 |
darkom |
it may be a bug |
| 15:32 |
darkom |
as I can see the AgaviValidator->export method checks if it is an array and adds ArgumentResult for each key |
| 15:32 |
darkom |
however the keys reproduced by AgaviArrayPathDefinition::getFlatKeyNames |
| 15:32 |
darkom |
return sth like |
| 15:33 |
darkom |
0[fields][0][type] |
| 15:33 |
darkom |
instead of |
| 15:33 |
darkom |
[0][fields][0][type] |
| 15:33 |
darkom |
and so in the report the results are |
| 15:33 |
darkom |
parameters/fieldsets_data[0fields][0][type] |
| 15:33 |
darkom |
instead of |
| 15:34 |
darkom |
parameters/fieldsets_data[0][fields][0][type] |
| 15:34 |
darkom |
and the array values get filtered |
| 15:34 |
darkom |
i'm puzzled |
| 15:34 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 15:35 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 15:35 |
Xylakant |
can you post your validation.xml and your code? |
| 15:36 |
darkom |
it's simple |
| 15:37 |
darkom |
this is the validator part |
| 15:37 |
darkom |
http://pastebin.com/m7ea0eb |
| 15:38 |
darkom |
this is the validator part |
| 15:38 |
darkom |
http://pastebin.com/m97b1bff |
| 15:39 |
darkom |
if I change line 319 from AgaviArrayPathDefinition |
| 15:39 |
darkom |
from |
| 15:39 |
darkom |
$name = $key; |
| 15:39 |
darkom |
to |
| 15:39 |
darkom |
$name = '[' . $key . ']'; |
| 15:40 |
darkom |
or the part in AgaviValidator->export |
| 15:40 |
darkom |
from |
| 15:40 |
darkom |
AgaviArrayPathDefinition::getFlatKeyNames($value) |
| 15:40 |
darkom |
to |
| 15:40 |
darkom |
AgaviArrayPathDefinition::getFlatKeyNames($value, '') |
| 15:40 |
darkom |
it works |
| 15:43 |
simoncpu_ |
[~simoncpu@222.127.171.211] has quit [Quit: blagadoraq za translation!] |
| 15:57 |
Rendez |
[~Rendez@83.34.4.3] has quit [Quit: Rendez] |
| 16:00 |
hzilla_ |
looks like that bug |
| 16:08 |
hzilla_ |
http://trac.agavi.org/ticket/1189 |
| 16:16 |
Xylakant |
hzilla_: doesn't look like that to me |
| 16:17 |
Xylakant |
but 0[fields][0][type] is what I'd actually expect as a result |
| 16:17 |
Xylakant |
this is not a valid fieldname in a form [0][fields][0][type] |
| 16:17 |
Xylakant |
and thus not a valid parameter name |
| 16:19 |
hzilla_ |
i see, tho if 0 is the first character the sub-array may be ignored as a consequence of that bug? |
| 16:23 |
Xylakant |
yes, he might loose 0[fields][0][type] while seeing 1[fields][0][type] |
| 16:23 |
Xylakant |
but he's complaining about the name 0[fields][0][type] instead of [0][fields][0][type] |
| 16:23 |
Xylakant |
darkom: any commet |
| 16:24 |
darkom |
yes |
| 16:24 |
darkom |
if getFlatKeyNames returns with [0] |
| 16:24 |
darkom |
afterwards everything is working as expected |
| 16:24 |
darkom |
in this scenario* |
| 16:25 |
darkom |
maybe it's a problem afterwards where the key is translated to |
| 16:25 |
darkom |
fieldsets_data[0fields][0][type] |
| 16:25 |
darkom |
this [0fields] makes no sense |
| 16:26 |
Xylakant |
so what does the export look like? can you post a dump of that? |
| 16:29 |
darkom |
I just updated to 1.0.2, and the problem disapeared |
| 16:29 |
darkom |
i guess it was that bug after all |
| 16:29 |
hzilla_ |
i did see very similar results behaviour when i came across it |
| 16:30 |
darkom |
thanks |
| 16:31 |
Xylakant |
yeah, looks like it |
| 16:40 |
hzilla_ |
so i was having this strange behaviour on my site. i haven't investigated thoroughly yet but it looks like when i do an ajax call to a route the home page gets matched also and i get that loaded as well. firebug and the adt show two responses but one is ignored by the ajax call. is it possible for two responses to be returned with one call? |
| 16:41 |
Xylakant |
actually, I can't think of how that could possibly happen |
| 16:42 |
hzilla_ |
yeh its strange.. not sure how to go about debugging it |
| 16:42 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 16:48 |
Rendez |
[~Rendez@83.34.4.3] has joined #agavi |
| 16:53 |
Rendez_ |
[~Rendez@83.34.4.3] has joined #agavi |
| 16:53 |
Rendez |
[~Rendez@83.34.4.3] has quit [Read error: Connection reset by peer] |
| 16:53 |
Rendez_ |
is now known as Rendez |
| 16:54 |
hzilla_ |
thinking it might be client side issue |
| 16:54 |
Xylakant |
http://news.bbc.co.uk/2/hi/uk_news/politics/8518049.stm |
| 16:57 |
hzilla_ |
politics in the uk has becom more ridiculous than ever |
| 16:58 |
darkom |
[~darko@212.201.44.241] has quit [Quit: Ex-Chat] |
| 16:58 |
darkom |
[~darko@212.201.44.242] has joined #agavi |
| 17:01 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 17:01 |
Xylakant |
[~Xylakant@munich.bitextender.net] has quit [Quit: Xylakant] |
| 17:15 |
Rayne |
[~Rayne@pD9E35A0B.dip.t-dialin.net] has joined #agavi |
| 17:21 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Ping timeout: 276 seconds] |
| 17:23 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 17:26 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Client Quit] |
| 17:26 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 17:30 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:33 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 18:10 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 18:12 |
Rendez |
[~Rendez@83.34.4.3] has quit [Quit: Rendez] |
| 18:14 |
matbtt_ |
[~matbtt@port-92-202-227-63.dynamic.qsc.de] has joined #agavi |
| 18:22 |
J-P |
Hi |
| 18:22 |
J-P |
yesterday, I believe I found a bug with the FPF |
| 18:22 |
J-P |
Is there a place I can report it ? |
| 18:27 |
matbtt_ |
J-P: http://trac.agavi.org/newticket |
| 18:37 |
Rendez |
[~Rendez@83.34.4.3] has joined #agavi |
| 18:45 |
fnordfish |
[~fnordfish@f052139212.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 19:13 |
J-P |
Is there a way to reach Wombert right now ? |
| 19:16 |
sth |
J-P: If it's an agavi bug, create a ticket |
| 19:16 |
J-P |
I did |
| 19:16 |
sth |
It'll be picked up eventually |
| 19:16 |
sth |
probably next week |
| 19:17 |
J-P |
David answered me |
| 19:17 |
J-P |
saying it cannot be reproduced, but it can |
| 19:17 |
sth |
then give reproduction steps |
| 19:18 |
J-P |
I've built a test case, however it's too large to be uploaded. |
| 19:18 |
sth |
upload to localhostr.com or a similar service and then link to it |
| 19:18 |
J-P |
alright |
| 19:19 |
sth |
I'll let Kaos know about the file upload thing and get him to increase it tomorrow |
| 19:19 |
J-P |
thnx! |
| 19:46 |
Rayne |
[~Rayne@pD9E35A0B.dip.t-dialin.net] has left #agavi ["Dein Text ist so schlecht, der könnte authentisch sein."] |
| 19:54 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 19:59 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: Leaving] |
| 20:54 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 21:10 |
cheerios_ |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 21:11 |
cheerios_ |
is now known as _cheerios |
| 21:39 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Quit: leaving] |
| 21:44 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 21:56 |
matbtt_ |
[~matbtt@port-92-202-227-63.dynamic.qsc.de] has left #agavi [] |
| 22:03 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 22:24 |
movvy |
does anyone know any agavi guys who want to work on contract? |
| 22:26 |
Rayne |
[~Rayne@pD9E35A0B.dip.t-dialin.net] has joined #agavi |
| 22:32 |
_cheerios |
best talk with the framework creators on that http://www.bitextender.com/ |
| 22:34 |
E_mE |
[~jeramy@83.34.4.3] has joined #agavi |
| 22:35 |
E_mE |
huomenta |
| 22:41 |
Rendez |
[~Rendez@83.34.4.3] has quit [Quit: c ya.] |
| 22:50 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 22:55 |
graste |
[~graste@f053006003.adsl.alicedsl.de] has joined #agavi |
| 22:55 |
fnordfish |
[~fnordfish@f052139212.adsl.alicedsl.de] has joined #agavi |
| 23:02 |
movvy |
hmm |
| 23:03 |
movvy |
their service offerings seem to be all based around training and support :) |
| 23:08 |
Rayne |
[~Rayne@pD9E35A0B.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 23:17 |
_cheerios |
i updated my twitter pic </random-nonsensical-update> |
| 23:19 |
E_mE_ |
[~jeramy@83.34.4.3] has joined #agavi |
| 23:19 |
E_mE |
[~jeramy@83.34.4.3] has quit [Read error: Connection reset by peer] |
| 23:19 |
E_mE_ |
is now known as E_mE |
| 23:20 |
E_mE |
[~jeramy@83.34.4.3] has quit [Client Quit] |
| 23:30 |
darkom |
[~darko@212.201.44.242] has quit [Quit: Ex-Chat] |
| 23:33 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: sleep()] |
| 23:58 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Quit: MaximusColourum] |
| Day changed Wed Feb 17 2010
|
| 00:12 |
graste |
[~graste@f053006003.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 01:07 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 01:50 |
movvy |
<ae:parameter>AT&T</ae:parameter> |
| 01:50 |
movvy |
this is highlighting the & sign strange |
| 01:50 |
movvy |
is there some special way to denote this in the validate.xml config? |
| 02:17 |
hzilla |
try & |
| 02:42 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 03:07 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 03:23 |
CIA-74 |
[cia@208.69.182.149] has quit [] |
| 03:24 |
CIA-74 |
[cia@208.69.182.149] has joined #agavi |
| 03:37 |
movvy |
hmm |
| 03:37 |
movvy |
devastation |
| 03:38 |
movvy |
i am working with the tutorial and a bit about the user authentication system |
| 03:38 |
movvy |
and in my case surrounding it, there is a protected variable which is should be clearly set, however after i login it appears to be empty |
| 03:39 |
movvy |
it is always something :) |
| 05:29 |
PeYKaR |
[~pk@91.184.88.120] has joined #agavi |
| 05:30 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 258 seconds] |
| 05:32 |
SasanRose |
[~SasanRose@91.184.88.120] has joined #agavi |
| 05:35 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 05:40 |
PeYKaR |
[~pk@91.184.88.120] has quit [Ping timeout: 256 seconds] |
| 05:40 |
SasanRose |
[~SasanRose@91.184.88.120] has quit [Ping timeout: 256 seconds] |
| 05:54 |
movvy |
if I use the isSecure function |
| 05:54 |
movvy |
and I try and go to a page that is secure... how do i knmow what view is oging to return |
| 05:55 |
movvy |
it says LoginSuccess right now? |
| 05:55 |
movvy |
where is this set |
| 05:56 |
movvy |
I see |
| 05:56 |
movvy |
it seems to return it to the system_action login |
| 05:58 |
movvy |
awesome fixed |
| 06:12 |
movvy |
hmm almost a weeka fter someone posted it, now I need the FPF population tutorial stuff ;) |
| 06:12 |
movvy |
I want to make an edit page!! ;) |
| 06:23 |
Zeelot2k |
[~lorenzo@67.50.8.11] has quit [Ping timeout: 246 seconds] |
| 06:30 |
Jarda |
$populate = new AgaviParameterHolder(); $populate->setParameter('foo', $bar); $this->getContext()->getRequest()->setAttribute('populate', array( 'form_id'=>$populate), 'org.agavi.filter.FormPopulationFilter'); |
| 06:52 |
luke` |
[~luke`@122.172.86.188] has joined #agavi |
| 06:56 |
movvy |
oke, its like bedimte now, but I put it in a word doc to try tomorrow! |
| 06:56 |
movvy |
thanks Jarda! |
| 07:07 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:21 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 07:31 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:36 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has quit [Quit: leaving] |
| 07:41 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has joined #agavi |
| 07:42 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 07:50 |
fnordfish |
[~fnordfish@f052139212.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 07:51 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 07:56 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:04 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 08:18 |
simoncpu |
whoa... i came across this pic |
| 08:18 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Read error: Connection reset by peer] |
| 08:19 |
simoncpu |
http://tinypic.com/view.php?pic=t7d181&s=4&hid=1&tag=agavi |
| 08:19 |
simoncpu |
is this an official tutorial or something? |
| 08:20 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 08:26 |
digitarald |
simoncpu: it was in the old tutorial |
| 08:27 |
digitarald |
Huomenta :) |
| 08:29 |
digitarald |
... http://www.zazzle.com/cr/design/pt-hat?coverimage=b3dae330-bc38-4bc4-a4c2-7d8a3a3308d6&pd=148514879545726487&cn=238663562064450277&linkover=True&r=4890660 :) |
| 08:35 |
simoncpu |
this guy looks familiar too: |
| 08:35 |
simoncpu |
http://tinypic.com/view.php?pic=xfbz3o&s=4&hid=8&tag=saracen |
| 08:35 |
simoncpu |
do you guys know who he is? |
| 08:35 |
simoncpu |
NYAHAHAHAHAHA |
| 08:36 |
saracen |
I know who i am :D |
| 08:36 |
saracen |
What a tagger |
| 08:37 |
saracen |
Seriously, I dress up as a homosexual devil once and I pay for it every other day |
| 08:37 |
simoncpu |
you look so cute in your outfit! |
| 08:37 |
simoncpu |
aaaaw.... *so cute* |
| 08:37 |
simoncpu |
:p |
| 08:37 |
saracen |
!! |
| 08:37 |
saracen |
=( |
| 08:37 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 08:50 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:51 |
graste |
huomenta |
| 08:52 |
_cheerios |
[~cheerios@195.197.209.254] has joined #agavi |
| 08:52 |
_cheerios |
huomenta |
| 09:01 |
sth |
Yay, the telecom engineer is here |
| 09:03 |
graste |
yeh! |
| 09:04 |
matbtt_ |
[~matbtt@port-92-202-27-15.dynamic.qsc.de] has joined #agavi |
| 09:05 |
sth |
I finally get my own line |
| 09:05 |
graste |
\o_ \o/ _o/ |
| 09:06 |
sth |
wtf is that? |
| 09:06 |
graste |
/o/ |
| 09:06 |
sth |
Landing a plane? |
| 09:06 |
graste |
ppl throwing arms in the air |
| 09:06 |
graste |
^^ |
| 09:06 |
sth |
I'll go with landing a plane... |
| 09:06 |
graste |
flight deck officers? |
| 09:07 |
graste |
^^ |
| 09:07 |
sth |
yeah |
| 09:08 |
sth |
Then I have to go to the office and work |
| 09:08 |
graste |
:\ |
| 09:12 |
hoffigk |
[~fhoffmann@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 09:13 |
graste |
welcome ^^ |
| 09:13 |
graste |
meanhuomenta |
| 09:16 |
MugeSo |
graste: I think " /o/ " is jumping goalkeeper :D |
| 09:16 |
graste |
:> |
| 09:35 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 09:48 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 10:00 |
luke` |
[~luke`@122.172.86.188] has quit [Quit: luke`] |
| 10:09 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:20 |
digitarald |
\o/ |
| 10:21 |
digitarald |
lunch on the rocks |
| 10:23 |
darkom |
[~darko@firewallix.jacobs-university.de] has joined #agavi |
| 10:25 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 10:28 |
sth_ |
[~sth@vor.thulbourn.com] has joined #agavi |
| 10:28 |
sth |
[~sth@208.93.195.20] has quit [Disconnected by services] |
| 10:28 |
sth_ |
is now known as sth |
| 10:32 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 10:33 |
|
Netsplit *.net <-> *.split quits: Jarda, pashyon, digitarald |
| 10:34 |
|
Netsplit over, joins: Jarda |
| 10:42 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 11:00 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 11:27 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has quit [Quit: leaving] |
| 11:31 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has joined #agavi |
| 11:32 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has quit [Client Quit] |
| 11:41 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 272 seconds] |
| 11:42 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 11:48 |
Zeelot2k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 11:53 |
SasanRose |
[~SasanRose@91.184.89.251] has joined #agavi |
| 11:54 |
PeYKaR |
[~pk@91.184.89.251] has joined #agavi |
| 11:57 |
PeYKaR |
[~pk@91.184.89.251] has quit [Client Quit] |
| 12:05 |
PeYKaR |
[~pk@91.184.89.251] has joined #agavi |
| 12:05 |
PeYKaR |
[~pk@91.184.89.251] has quit [Read error: Connection reset by peer] |
| 12:07 |
zeeg |
[~pk@91.184.89.251] has joined #agavi |
| 12:07 |
zeeg |
[~pk@91.184.89.251] has quit [Read error: Connection reset by peer] |
| 12:13 |
zeeg |
[~pk@91.184.89.251] has joined #agavi |
| 12:16 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 260 seconds] |
| 12:18 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 12:19 |
CIA-74 |
dominik * r4423 /branches/1.0/ (CHANGELOG src/translation/AgaviTranslationManager.class.php): |
| 12:19 |
CIA-74 |
fix AgaviTranslationManager->getDefaultLocale() using an undefined variable (and hence being completely broken) |
| 12:19 |
CIA-74 |
closes #1229 |
| 12:35 |
Rayne |
[~Rayne@pD954B245.dip.t-dialin.net] has joined #agavi |
| 12:38 |
_cheerios |
is php-fpm mature for php 5.2+5.3 ? |
| 12:52 |
_cheerios |
https://bugs.launchpad.net/php-fpm hmm... i wonder if apache+mod_php is still the best way to run php |
| 12:55 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:56 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 13:02 |
Xylakant |
_cheerios: why not lighty + fcgi? |
| 13:20 |
matbtt_ |
Huomenta. All my validators are using the same translation_domain for messages. Is there a way to configure this globally? In the validator definitions it is not possible and the AgaviValidator translates only with given translation_domain. |
| 13:20 |
matbtt_ |
If possible I want to avoid hacking in AgaviValidator. ;) |
| 13:27 |
matbtt_ |
Ahh, I can set it via parameters in the applications validators.xml... it is not really global as I need to set it for every validator there, but bettern than cluttering translation_domain attribute all over my validations files |
| 13:29 |
Xylakant |
you might try and add it to the <validators> tag |
| 13:30 |
Xylakant |
I must admit I never encountered that problem, but I think that might work |
| 13:33 |
matbtt_ |
Xylakant: Nope. Validators tag does not like this attribute. But no problem. |
| 13:33 |
Xylakant |
hmm, kk |
| 13:33 |
matbtt_ |
But no problem, I'm using application specific validator definitions. I can set it there. It's fine for me. |
| 13:35 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 13:36 |
_cheerios |
Xylakant, using lighty+fcgi atm., trying to go for all nginx setup |
| 13:36 |
_cheerios |
one problem with lighty+fcgi i've had is that the fcgi processes die |
| 13:37 |
_cheerios |
not sure if any better with php-fpm |
| 13:37 |
_cheerios |
"die" as in, they're there, but they serve php erroneously |
| 13:39 |
Xylakant |
hmm, never happened to me |
| 13:40 |
Xylakant |
maybe the bytecode cache was corrupted |
| 13:44 |
_cheerios |
something annoying idd, havent had time to look into. temporary glue has been to restart the process every 3hrs via cron... |
| 13:51 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Quit: weeeee] |
| 13:52 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 13:59 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 256 seconds] |
| 14:00 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 14:11 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 14:24 |
hzilla |
hey can validators trim line breaks? works for whitespace bot not \r\n it seems |
| 14:26 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:33 |
hzilla |
hm looks like its doing a \p replace but doesn't seem to work |
| 14:33 |
Xylakant |
which validator are you using? |
| 14:33 |
Xylakant |
trim should work with the stringvalidator, but only if you export the value |
| 14:34 |
hzilla |
oh have to export it ok |
| 14:34 |
Xylakant |
oh, seems like the validator still modifies the value in place |
| 14:34 |
Xylakant |
so no need to export currently |
| 14:35 |
hzilla |
hm not getting expected result - will debug a bit more |
| 14:36 |
sth |
J-P: The file upload limit has been increased |
| 14:36 |
J-P |
thnx |
| 14:47 |
SasanRose |
[~SasanRose@91.184.89.251] has quit [Quit: leaving] |
| 14:49 |
graste |
http://pleaserobme.com/ :D |
| 14:51 |
zeeg |
[~pk@91.184.89.251] has quit [Quit: Leaving] |
| 14:52 |
_cheerios |
[~cheerios@195.197.209.254] has quit [Ping timeout: 256 seconds] |
| 15:22 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:23 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 15:29 |
hzilla |
http://pastie.org/829033 |
| 15:29 |
hzilla |
looks like string validator is always switching to utf-8 mode and that preg_expression won't match |
| 15:35 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 15:43 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 15:49 |
hzilla |
the other problem is that if you do a string post, the text is urlencoded so that slips past the trimmer as linebreaks are encoded as %0A |
| 15:50 |
haji |
is now known as everplays |
| 15:50 |
hzilla |
i'll write a ticket |
| 15:50 |
Xylakant |
weird, the value should certainly be decoded |
| 15:53 |
hzilla |
and then for some reasons the originalValue is exported instead of the new value! |
| 15:53 |
hzilla |
maybe that's the problem with the decode |
| 15:59 |
matbtt_ |
It seems today is validation day! Next question. I have a validator validating two fields (password/password_confirm). However errors are only shown on the first field... I would like to have it on both fields. |
| 15:59 |
matbtt_ |
...IMHO the settings of the FormPopulationFilter are not correct? |
| 16:03 |
hzilla |
matbtt_:http://pastie.org/829100 |
| 16:09 |
matbtt_ |
hzilla: Thx. |
| 16:20 |
krycek_ |
[~dsadsa@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 16:24 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 16:31 |
hzilla |
Xylakant, is urlencoded post data decoded before it arrives at the validators? |
| 16:31 |
Xylakant |
it should be |
| 16:31 |
hzilla |
yeh i mean when its inserted into the db it seems to be ok |
| 16:32 |
hzilla |
but looking into my posted data i'm getting an html entity |
| 16:32 |
hzilla |
at the validator |
| 16:32 |
Xylakant |
an html entity? |
| 16:32 |
Xylakant |
or a url-encoded value? |
| 16:32 |
hzilla |
yeh line break is coming is as |
| 16:32 |
Xylakant |
err? |
| 16:32 |
v-dogg |
um? |
| 16:33 |
Xylakant |
that is rather unexpected |
| 16:33 |
hzilla |
i don't get it either |
| 16:33 |
hzilla |
where should i look to find the decoding bits? |
| 16:34 |
Xylakant |
html entities will not be decoded |
| 16:34 |
Xylakant |
actually, all url-decoding for post values should happen when the php interpreter accepts the request |
| 16:34 |
hzilla |
yeh sure but i'm wondering igf %0A is getting cnverted into entities |
| 16:34 |
Rayne |
[~Rayne@pD954B245.dip.t-dialin.net] has left #agavi ["Dein Text ist so schlecht, der könnte authentisch sein."] |
| 16:34 |
hzilla |
right |
| 16:34 |
Xylakant |
that would make no sens |
| 16:34 |
Xylakant |
you could try and dump $_POST in your dispatcher |
| 16:34 |
hzilla |
ok maybe this is a red herring |
| 16:35 |
matbtt_ |
hzilla: regarding http://pastie.org/829100, just thought about it... and it wont work.. the error message "Passwords do not match" will be shown on the password field, but not on the password_confirm field... |
| 16:35 |
hzilla |
matbtt: you could remove the provide/depends i think |
| 16:36 |
matbtt_ |
...nope. I did... I'm not sure why, but FormPopulationFilter handles ValidationsIncidents with multiple arguments this way... have to dive deeper into it |
| 16:38 |
hzilla |
Xylakant: i'm debugging an ajax call so firebug is saying the input is possibly this is just firebug converting %0A |
| 16:39 |
hzilla |
or xdebug |
| 16:39 |
Xylakant |
hmm, you might just dump the post to a file |
| 16:39 |
hzilla |
k |
| 16:44 |
hzilla |
ok line breaks as expected.. |
| 16:47 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| 16:52 |
Xylakant |
so the issue might be firebug displaying that wrong |
| 16:55 |
hzilla |
yeh but that's a seperate problem to the trimming |
| 16:59 |
Xylakant |
yes, indeed |
| 17:06 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 17:09 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:10 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:32 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 17:32 |
krycek_ |
[~dsadsa@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [] |
| 17:36 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Ping timeout: 259 seconds] |
| 17:38 |
hoffigk |
[~fhoffmann@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:59 |
krycek_ |
[~quassel@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:00 |
krycek_ |
[~quassel@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [Client Quit] |
| 18:00 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:00 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [Client Quit] |
| 18:00 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:00 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [Client Quit] |
| 18:01 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:03 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [Client Quit] |
| 18:04 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:04 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [Client Quit] |
| 18:05 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:08 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [Client Quit] |
| 18:08 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 18:17 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 18:26 |
cheerios_ |
[~cheerios@88.193.83.40] has joined #agavi |
| 18:27 |
cheerios_ |
fucking shit xchat. fuck |
| 18:27 |
cheerios_ |
[~cheerios@88.193.83.40] has quit [Quit: Leaving] |
| 18:27 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 18:27 |
_cheerios |
better |
| 18:28 |
Xylakant |
hmm, what makes you feel better now? having the underscore at the beginning of the name instead of at the end? |
| 18:28 |
Xylakant |
does that make you feel better arranged? |
| 18:28 |
_cheerios |
xchat doesn't save settings unless you connect to a server having made changes. |
| 18:29 |
_cheerios |
retarded. |
| 18:29 |
_cheerios |
the positioning is only based on what my registered nick is here |
| 18:29 |
_cheerios |
no mystery beyond that |
| 18:35 |
everplays |
is now known as haji |
| 18:40 |
krycek_ |
[~krycek_@201-3-155-56.paemt705.dsl.brasiltelecom.net.br] has quit [Remote host closed the connection] |
| 18:55 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Ping timeout: 256 seconds] |
| 19:01 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 19:08 |
matbtt_ |
[~matbtt@port-92-202-27-15.dynamic.qsc.de] has left #agavi [] |
| 19:17 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 19:43 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 19:43 |
_cheerios |
domain expiring for my php-orm project. so it's nearly been a year since i wanted that beast out, gaah! |
| 19:51 |
v-dogg |
:) |
| 19:53 |
_cheerios |
i'll github it real soon... |
| 19:54 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 19:58 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 20:11 |
_cheerios |
doctrine might hit 2.0 before i release it, hah! |
| 20:15 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 20:38 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 20:52 |
_cheerios |
meh. custom homepage sites raking in millions $$, and mine is delayed since 2008 :| |
| 20:53 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 20:58 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 20:58 |
Rayne |
[~Rayne@pD954B245.dip.t-dialin.net] has joined #agavi |
| 21:05 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 21:07 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 256 seconds] |
| 21:13 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 21:18 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 21:24 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 21:32 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 21:37 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 21:40 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Client Quit] |
| 21:53 |
Xylakant |
[~Xylakant@ip-109-40-42-180.web.vodafone.de] has joined #agavi |
| 21:54 |
_cheerios |
it's swell to note that good design decisions only strenghten the package in the long run. planning isn't waste \o/ |
| 21:55 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 21:56 |
impl |
why is Phing such a pile of freaking garbage |
| 21:56 |
impl |
grrrrrrrrrrrr |
| 21:57 |
saracen |
~garbage? american. |
| 21:57 |
impl |
what do you call it? |
| 21:57 |
impl |
refuse? |
| 21:59 |
_cheerios |
turd! |
| 22:02 |
CIA-74 |
david * r4424 /branches/1.0/ (CHANGELOG RELEASE_NOTES src/build/agavi/script/agavi.php): Require Phing 2.4 or newer, closes #1232 |
| 22:16 |
sth |
impl: rubish |
| 22:18 |
sikkle |
[~sikkle@70.25.37.18] has quit [Quit: Leaving...] |
| 22:23 |
CIA-74 |
felix * r4425 /branches/1.0/ (5 files in 5 dirs): |
| 22:23 |
CIA-74 |
- reverted [4411] |
| 22:23 |
CIA-74 |
- removed the AgaviImportTask and replaced it with phings import task |
| 22:23 |
CIA-74 |
- refs #1216 and fixes it for good |
| 22:23 |
CIA-74 |
- fixes #1231 (Project build.xml not used with Phing 2.4.0+) |
| 22:29 |
fnordfish |
[~fnordfish@f052136025.adsl.alicedsl.de] has joined #agavi |
| 22:32 |
graste |
[~graste@f053006085.adsl.alicedsl.de] has joined #agavi |
| 22:42 |
CIA-74 |
felix * r4426 /branches/1.0/src/build/agavi/script/agavi.php: |
| 22:42 |
CIA-74 |
reverts unintended changes introduced in [4425] |
| 22:42 |
CIA-74 |
- removes duplicate message |
| 22:42 |
CIA-74 |
- removes some dead code |
| 22:42 |
CIA-74 |
-refs #1231 |
| 22:47 |
Rayne |
ACHTUNG! serious business: what was the name of that (british?) tv series with that incredible awesome german general? |
| 23:01 |
fnordfish |
[~fnordfish@f052136025.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 23:02 |
Xylakant |
lost to phing |
| 23:02 |
Xylakant |
it's impossible to be compatible with 2.3.x and 2.4.x |
| 23:03 |
Xylakant |
at least if you're doing some moderately advanced stuff |
| 23:12 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: sleep] |
| 23:17 |
saracen |
21:56:45 < impl> what do you call it? |
| 23:18 |
saracen |
"why is Phing such a pile of shit" would probably be what most British people would say |
| 23:18 |
saracen |
Some might attempt to be creative, by calling it a pile of dildos or something though |
| 23:28 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 23:29 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 23:32 |
graste |
[~graste@f053006085.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:57 |
Rayne |
[~Rayne@pD954B245.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| Day changed Thu Feb 18 2010
|
| 00:23 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 00:31 |
Xylakant |
[~Xylakant@ip-109-40-42-180.web.vodafone.de] has quit [Ping timeout: 265 seconds] |
| 00:50 |
darkom |
[~darko@firewallix.jacobs-university.de] has quit [Quit: Ex-Chat] |
| 01:12 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: Leaving] |
| 01:37 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 02:09 |
luke` |
[~luke`@59.92.131.92] has joined #agavi |
| 02:34 |
Wombert |
[~Wombert@83.34.4.3] has joined #agavi |
| 02:49 |
Wombert |
[~Wombert@83.34.4.3] has quit [Quit: bai] |
| 05:45 |
luke` |
[~luke`@59.92.131.92] has quit [Quit: luke`] |
| 05:50 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 246 seconds] |
| 05:58 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:50 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 07:35 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 07:50 |
zeeg |
[~pk@91.184.89.251] has joined #agavi |
| 07:57 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 07:57 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:12 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:12 |
graste |
huomenta |
| 08:26 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 08:41 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 08:42 |
fnordfish |
[~fnordfish@f052143001.adsl.alicedsl.de] has joined #agavi |
| 09:05 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 09:09 |
sth |
Morning |
| 09:10 |
fnordfish |
[~fnordfish@f052143001.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 09:17 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 09:42 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 09:43 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 09:55 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 09:57 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Client Quit] |
| 10:04 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 10:04 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:07 |
macen |
anybody come across drupal.org? seeing it more and more |
| 10:08 |
macen |
seems "over documented", if that's possible |
| 10:09 |
Xylakant |
as far as I've heard it's a reasonable system |
| 10:10 |
Xylakant |
though they still are php4 compatible |
| 10:10 |
sth |
I made a social networking site with drupal |
| 10:10 |
Xylakant |
which is a bad thing - you get to use the lowest common denominator |
| 10:12 |
sth |
I hated how drupal produced the worst HTML/XHTML known to man |
| 10:16 |
haji |
is now known as everplayZzz |
| 10:21 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:31 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 10:32 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 11:11 |
zeeg |
[~pk@91.184.89.251] has quit [Ping timeout: 256 seconds] |
| 11:17 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 11:18 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 11:28 |
pashyon |
hey everybody, i have a question about dates and translation, is there a predefined date to get a short month tag (3 letters, like 'Feb' for february) for every month including translation |
| 11:29 |
pashyon |
$tm->_(date()something); |
| 11:30 |
pashyon |
sry for my english ^^ |
| 11:33 |
v-dogg |
you need to define a translation domain for it |
| 11:33 |
v-dogg |
just a sec, I'll give you an example |
| 11:36 |
v-dogg |
http://pastebin.ca/1801419 |
| 11:36 |
pashyon |
ah ok ty |
| 11:37 |
v-dogg |
formatting codes can be found here: http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax |
| 11:37 |
v-dogg |
and to use that domain do echo $tm->_d($mydate, 'shortmonth'); |
| 11:38 |
v-dogg |
note that you have a format string per locale. in my example only "fi" locale is used |
| 11:39 |
v-dogg |
a more comprehensive example: http://www.mivesto.de/agavi/agavi-faq.html#translation_0 |
| 11:39 |
pashyon |
haha slow down a bit ;p |
| 11:40 |
pashyon |
thanks a lot |
| 11:40 |
v-dogg |
take your time, those links aren't going anywhere :) |
| 11:45 |
pashyon |
ok nice its working |
| 11:49 |
pashyon |
thank you :) |
| 11:50 |
v-dogg |
no problem. we aim to please |
| 12:33 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:38 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 13:01 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 13:12 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 13:36 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 13:49 |
Rayne |
[~Rayne@pD954BF19.dip.t-dialin.net] has joined #agavi |
| 13:52 |
E_mE |
[~jeramy@83.34.4.3] has joined #agavi |
| 13:53 |
E_mE |
huomenta |
| 13:53 |
E_mE |
does agavi have a pre-defined configuration for implementing language based on the Incoming Header? |
| 13:53 |
E_mE |
HTTP Header that be |
| 13:54 |
Xylakant |
no |
| 13:54 |
Xylakant |
it's simple to do in routing though |
| 13:55 |
E_mE |
would the best place to incept this be in the AgaviWebRequest? |
| 13:55 |
E_mE |
ah yes |
| 13:55 |
E_mE |
with a callback? |
| 13:56 |
Xylakant |
define a route that matches the header, use a callback |
| 13:56 |
Xylakant |
you should probably do language switches based on a url-snippet though |
| 13:57 |
E_mE |
well, ill check for header if /en/ or what ever doesn't exist in the URL |
| 13:57 |
sth |
I really detest sites that do language checks based on geoip |
| 13:57 |
E_mE |
sth: not by geoip, using the HTTP Header that the browser sends, unless you where just voicing your anger :) |
| 13:57 |
Xylakant |
well, then you should probably do that in the language routes callback, in the onNotMatched section |
| 13:57 |
Xylakant |
have a look at the sample app |
| 13:57 |
sth |
Just voicing anger :) |
| 13:58 |
Xylakant |
it does it using a cookie |
| 13:58 |
Xylakant |
I fail to see what's wrong with doing the initial selection based on geoip |
| 13:58 |
E_mE |
Xylakant: we have a language routing callback :) ill take a peak into it :) thank you |
| 13:58 |
Xylakant |
just because you're based in germany :) |
| 13:59 |
E_mE |
hahahaha |
| 13:59 |
E_mE |
sth is a very angry man :P |
| 13:59 |
sth |
Xylakant: Take me for example |
| 13:59 |
sth |
Google, Paypal, and many others give me German instead of English |
| 13:59 |
sth |
Google is the worst for it |
| 14:00 |
E_mE |
sth: i get the same problem with google search here, always directing me to google.ES |
| 14:01 |
Xylakant |
sth: yes, but it's a reasonable guess that works for most cases |
| 14:01 |
E_mE |
maybe its a legal thing? to confirm to local laws or so... i don;t know just an assumption |
| 14:01 |
Xylakant |
far better than using the accept-language header |
| 14:01 |
E_mE |
Xylakant: how comes? accept-language is based on your computer configurations, so would be considered more valid to the user? |
| 14:02 |
Xylakant |
it's based on the browser's localization |
| 14:02 |
Xylakant |
so if you download the german firefox you get german |
| 14:02 |
Xylakant |
i usually get english |
| 14:02 |
Xylakant |
since i use an english operating system |
| 14:02 |
E_mE |
why? when you speak german |
| 14:02 |
Xylakant |
i'm used to it |
| 14:02 |
E_mE |
oh english menus etc? |
| 14:03 |
Xylakant |
yes |
| 14:03 |
Xylakant |
i also use an english firefox |
| 14:03 |
Xylakant |
though I do use a german keyboard |
| 14:03 |
Xylakant |
a |
| 14:03 |
Xylakant |
anyways, if you speak a language that's more rare than german or swiss |
| 14:03 |
Xylakant |
then the chance that there's a localized version gets lower |
| 14:04 |
Xylakant |
more people will use the english version |
| 14:04 |
Xylakant |
and then suddenly geoip trumps accept language |
| 14:04 |
E_mE |
what about odd languages like gaylic or so :P |
| 14:04 |
E_mE |
then geoip fail |
| 14:04 |
sth |
Xylakant: one can assume though, if they're used to English, they should cope with the website being in English :D |
| 14:06 |
Xylakant |
yes, but I can assume since you're sitting in germany that you can cope with finding an english flag on a german website |
| 14:07 |
Xylakant |
E_mE: yes, certainly. is there a firefox localized in gaelic |
| 14:07 |
E_mE |
looks |
| 14:09 |
E_mE |
appears no |
| 14:10 |
E_mE |
its mentioned but thats about it |
| 14:27 |
Yossi_ |
[~chatzilla@62.90.159.110] has joined #agavi |
| 14:27 |
Yossi_ |
Huomenta |
| 14:48 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 15:03 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: Connection reset by peer] |
| 15:05 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi |
| 15:49 |
Rayne |
[~Rayne@pD954BF19.dip.t-dialin.net] has left #agavi ["Dein Text ist so schlecht, der könnte authentisch sein."] |
| 15:58 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 16:01 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 16:03 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 16:17 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 16:32 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 16:37 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 16:39 |
macen |
i'm getting "Unsupported operand types" with a new server setup, see http://85.113.83.196/index.php - phpinfo() is here http://85.113.83.196/phpinfo.php |
| 16:40 |
macen |
Google seems to indicate its the PHP version but I'm running the same setup locally with no problems |
| 16:56 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 16:56 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 16:57 |
Xylakant |
macen: agavi version? |
| 16:58 |
macen |
1.0.2RC3 |
| 16:59 |
Xylakant |
hmm, weird |
| 16:59 |
Yossi_ |
I am trying to figure out if its a good idea to have agavi route to serve things like images |
| 17:00 |
Yossi_ |
it's probably a lot of overhead on routing... |
| 17:01 |
macen |
sorry, 1.01 |
| 17:02 |
Xylakant |
macen: shouldn't make any difference |
| 17:02 |
Xylakant |
it complains about + in concatenating to arrays |
| 17:02 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 17:02 |
Xylakant |
the only thing that springs to my mind is that one of your config_handler files in a module is not parsed properly and thus empty |
| 17:03 |
Xylakant |
you might go and check the cached file |
| 17:03 |
Xylakant |
Yossi_: depends on what you're trying to do |
| 17:03 |
Xylakant |
if you need to check access rights and stuff, then it makes sens |
| 17:03 |
Xylakant |
e |
| 17:04 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 17:04 |
_cheerios |
heimoi! |
| 17:09 |
macen |
Xylakant: no empty files |
| 17:09 |
macen |
I can't see the config_handlers compiled php file for the Default action/view/template |
| 17:11 |
Yossi_ |
I am doing content negotiation on media files (fallbacks on missing images etc), I have set up the script that builds a xml media 'map' of all things available, and a config handler that caches it, now I'm building the routing call back to generate the right urls (according to rules in settings.xm, and the map), but now I think that means that routing pattern for this will be quite broad,... |
| 17:11 |
Yossi_ |
...and i'll have to worry about serving the files through an action, which I don't really need to (the ongenerate methods already creates path to existing files). so I think instead of generating the urls with a route, i'll do it with a helper model of sorts. |
| 17:24 |
macen |
this is very strange |
| 17:24 |
macen |
i'll update to 1.02 and see how i get on |
| 17:26 |
luke` |
[~luke`@59.92.131.92] has joined #agavi |
| 17:28 |
E_mE |
[~jeramy@83.34.4.3] has quit [Quit: Bai4now!] |
| 17:33 |
Xylakant |
Yossi_: i don't see why you'd need to serve files through an action |
| 17:34 |
Xylakant |
a routing callback can return a response |
| 17:34 |
Xylakant |
that response will be sent to the client directly |
| 17:35 |
Yossi_ |
Xylakant: Okay, though my real fear is about the routing evaluating a lot of requests... |
| 17:36 |
Xylakant |
well then you need to generate the proper urls to the static files |
| 17:41 |
Yossi_ |
hmmm... any reason I shouldn't use a helper model for generating the urls? |
| 17:49 |
Xylakant |
no, |
| 17:51 |
movvy |
Xylakant, do you work for bitxtender? |
| 17:51 |
Xylakant |
yes |
| 17:52 |
movvy |
I was reading your service offerings, do you offer any project style consulting? |
| 17:52 |
movvy |
i didn't see anything listed |
| 17:52 |
Xylakant |
certainly |
| 17:52 |
movvy |
do you guys have any rates or information, or do you generally do fixed bid style or? |
| 17:52 |
Xylakant |
http://www.agavi.org/support |
| 17:53 |
Xylakant |
bottom right, consulting :) |
| 17:53 |
Xylakant |
we do fixed bid but only with appropriate specs |
| 17:54 |
Xylakant |
you'd best email david if you need specific information |
| 17:54 |
pashyon |
[~tfroschm@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Quit: Leaving.] |
| 17:56 |
movvy |
gotcha will do, we have the need for some realtime status and presence information and a pretty complex friends / rbac system that needs developing |
| 17:56 |
movvy |
considering outsourcing all the realtime work, not really sure how to go about that :) |
| 17:57 |
movvy |
I will emial david though, thanks! |
| 17:57 |
Xylakant |
you're welcome |
| 18:01 |
Yossi_ |
[~chatzilla@62.90.159.110] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] |
| 18:16 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Read error: Connection reset by peer] |
| 18:16 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 18:31 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 18:47 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Ping timeout: 245 seconds] |
| 18:50 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 18:52 |
MaximusColourum_ |
[~bryan@71.15.127.142] has joined #agavi |
| 18:53 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Ping timeout: 256 seconds] |
| 19:06 |
everplayZzz |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 252 seconds] |
| 19:10 |
hzilla |
hey is there some way to get the country name from a country code? the getTerritoryData() method doens't retrun the localised country name |
| 19:11 |
Xylakant |
there is a method that returns all countrynames in the current locale |
| 19:11 |
hzilla |
ok i'll look it up |
| 19:13 |
Jarda |
my personal home page has had 16 hits from germany (according to google analytics) |
| 19:13 |
Jarda |
what are they doing there :D |
| 19:16 |
robopuff |
[~robopuff@nat3-88.ghnet.pl] has joined #agavi |
| 19:17 |
robopuff |
huomenta, ive got question - can i parse custom xml file with build-in agavi parsers? |
| 19:17 |
Xylakant |
we at bitextender have one employee only to go visit our users personal websites. just to make them happy. that's what we're doing for you. |
| 19:17 |
Xylakant |
or what did you think sth is doing all day long, jarda? |
| 19:17 |
Jarda |
Xylakant: from 6 different cities? |
| 19:18 |
Xylakant |
certainly |
| 19:18 |
Xylakant |
robopuff: yes and no |
| 19:18 |
Jarda |
ok, cool |
| 19:18 |
Jarda |
that makes me happy :) |
| 19:18 |
Xylakant |
you can use the returnarrayconfighandler which transforms pretty much all xml into an array |
| 19:19 |
Xylakant |
and you can build your own config handler using the config parser that we use |
| 19:19 |
Xylakant |
but that's pretty basic |
| 19:19 |
Xylakant |
so depending on how your custom xml looks like it may or may not be worth it |
| 19:19 |
robopuff |
Xylakant: thanks, ill check it ;) |
| 19:23 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 19:24 |
graste |
[~graste@f053004056.adsl.alicedsl.de] has joined #agavi |
| 19:27 |
robopuff |
hmmm .. .can i parse xml file from any directory? |
| 19:29 |
Xylakant |
yes, you just need to register the appropriate config handler |
| 19:31 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen_] |
| 19:44 |
robopuff |
[~robopuff@nat3-88.ghnet.pl] has quit [Read error: Connection reset by peer] |
| 19:46 |
luke` |
[~luke`@59.92.131.92] has quit [Ping timeout: 245 seconds] |
| 19:49 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 19:53 |
luke` |
[~luke`@59.92.146.215] has joined #agavi |
| 20:08 |
darkom |
[~darko@212.201.44.241] has joined #agavi |
| 20:32 |
neubian |
[~neubian@hq1.advancedopen.net] has joined #agavi |
| 20:43 |
maleknet_ |
[~alireza@78.38.246.254] has joined #agavi |
| 20:44 |
maleknet_ |
[~alireza@78.38.246.254] has quit [Client Quit] |
| 20:53 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 20:54 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 20:55 |
Jarda |
is there a way to figure out why file validator is failing? |
| 20:55 |
Jarda |
http://pastebin.com/m1167a369 |
| 20:56 |
Jarda |
http://pastebin.com/m5782f00a |
| 21:04 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Read error: Connection reset by peer] |
| 21:04 |
saracen |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 21:07 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 21:13 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen_] |
| 21:15 |
fnordfish |
[~fnordfish@f052143001.adsl.alicedsl.de] has joined #agavi |
| 21:16 |
v-dogg |
Jarda: enctype missing |
| 21:24 |
fnordfish |
[~fnordfish@f052143001.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 21:25 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 21:48 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [] |
| 21:49 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 21:55 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Ping timeout: 246 seconds] |
| 22:07 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 22:20 |
macen_ |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Ping timeout: 268 seconds] |
| 22:27 |
_cheerios |
meeeeeeeeeeeeeeeeeeeeeeeeeeeh. |
| 22:39 |
saracen |
No, not today. |
| 22:40 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 22:47 |
sikkle |
[~sikkle@70.25.37.18] has quit [Remote host closed the connection] |
| 22:54 |
_cheerios |
so excited, so drunk. sleep? |
| 23:20 |
saracen_ |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 23:22 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Read error: Connection reset by peer] |
| 23:28 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: pillow-head-hit] |
| Day changed Fri Feb 19 2010
|
| 00:07 |
MaximusColourum_ |
[~bryan@71.15.127.142] has left #agavi [] |
| 00:09 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 00:47 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 01:17 |
graste |
[~graste@f053004056.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 02:29 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 02:43 |
MugeSo |
can't we setup layouts in modules' config ? :( |
| 03:45 |
MugeSo |
I should do that in loadlayout method of modules' BaseView class, right? |
| 03:50 |
MugeSo |
btw, PHP Conference Japan 2010 has been announced will held on 25th sep. |
| 04:18 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 04:29 |
MugeSo |
Huomenta |
| 04:54 |
luke` |
[~luke`@59.92.146.215] has quit [Quit: luke`] |
| 05:17 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 05:27 |
Jarda |
I'm using uploadify (http://www.uploadify.com/) to upload files. However, my file upload action is secure, how should I make that flash madnessa understand my sessions? |
| 05:30 |
Jarda |
isn't it a bit unsecure to pass session ids in POST? |
| 05:38 |
v-dogg |
not really any less secure than passing them in a cookie |
| 05:41 |
MugeSo |
yeah, on the other hand, session id in query string is less secure. |
| 05:42 |
v-dogg |
how so? |
| 05:43 |
v-dogg |
because you can see it easily? |
| 05:47 |
MugeSo |
because it will be passed to other server as referer when user click outbound link. |
| 05:47 |
v-dogg |
ah, true |
| 06:31 |
luke` |
[~luke`@122.172.86.188] has joined #agavi |
| 07:20 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 07:56 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:00 |
matbtt_ |
[~matbtt@port-92-202-26-64.dynamic.qsc.de] has joined #agavi |
| 08:01 |
matbtt_ |
[~matbtt@port-92-202-26-64.dynamic.qsc.de] has left #agavi [] |
| 08:06 |
hoffigk |
[~fhoffmann@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:34 |
fnordfish |
[~fnordfish@f052143001.adsl.alicedsl.de] has joined #agavi |
| 08:37 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 08:45 |
fnordfish |
[~fnordfish@f052143001.adsl.alicedsl.de] has quit [Ping timeout: 260 seconds] |
| 08:45 |
matbtt_ |
[~matbtt@port-92-202-26-64.dynamic.qsc.de] has joined #agavi |
| 08:48 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 08:51 |
fnordfish |
[~fnordfish@f052142193.adsl.alicedsl.de] has joined #agavi |
| 08:52 |
fnordfish |
[~fnordfish@f052142193.adsl.alicedsl.de] has quit [Client Quit] |
| 08:55 |
Jarda |
hmm, have been so busy doing work I hadn't opened my ssh session :o |
| 08:56 |
Jarda |
yeah, how would I then manage the session id passing? in user startup or? |
| 08:56 |
Jarda |
I guess I have to do something like session_id($_POST['session_id']) |
| 08:56 |
Jarda |
or can I do it per action? |
| 08:57 |
Jarda |
it's one action I'm posting to with a flash file uploader |
| 08:58 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:59 |
fnordfish |
[~fnordfish@f052142193.adsl.alicedsl.de] has joined #agavi |
| 08:59 |
graste |
huomenta |
| 09:00 |
Xylakant |
Jarda: I assume you're generating the url you're posting to somewhere in your agavi app and pass it to the uploader |
| 09:01 |
sth |
Morning |
| 09:09 |
Jarda |
Xylakant: yes |
| 09:10 |
Xylakant |
$ro->gen('foo.bar', array('pinky' => 'narf'), array('use_trans_sid' => true)); should do it |
| 09:10 |
Xylakant |
that should append the proper session parameters to the url |
| 09:10 |
Xylakant |
however, that will not help if session.use_only_cookies is enabled |
| 09:12 |
fnordfish |
[~fnordfish@f052142193.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 09:13 |
Jarda |
it shouldn't be |
| 09:13 |
Jarda |
but nice, thanks |
| 09:13 |
Jarda |
that's easier than I thought |
| 09:18 |
Xylakant |
the agavi experience :) |
| 09:38 |
digitarald |
"that's easier than I though"(TM(TM) |
| 09:39 |
digitarald |
gotta tweet that |
| 09:42 |
stachu |
[sayonara@enc170.internetdsl.tpnet.pl] has joined #agavi |
| 09:43 |
Xylakant |
:) |
| 09:45 |
digitarald |
also highlights the hidden, undocumented agavi features ;) |
| 09:46 |
stachu |
Hello, i would like to ask what is the best way to implement many templates in agavi - now im using $layer->setParameter('theme', 'v1.0'); in base view and <ae:parameter name="directory">%core.template_dir%/${theme}</ae:parameter> in output_types |
| 09:46 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 09:46 |
stachu |
but today i have to create diffrent templates for diffrent domains |
| 09:47 |
stachu |
i would appriciate any help |
| 09:47 |
Xylakant |
why don't you go the same route? |
| 09:48 |
stachu |
i dont now if its correct and what influence has it on cache - probably i'll try this |
| 09:48 |
Xylakant |
you'll need to use the domain as a cache group |
| 09:49 |
Xylakant |
otherwise all domains will use the same cache |
| 09:51 |
stachu |
and should i create callback to catch domain? |
| 09:53 |
stachu |
cause i have to get some static informations about domain from database and im wondering where i shoul do this |
| 09:54 |
Xylakant |
well, that's getting really tricky now |
| 09:54 |
Xylakant |
I'm sorry but I don't have that much time - either someone else picks that up or you could shoot an email to the list |
| 09:55 |
stachu |
ok, thanks anyway |
| 09:55 |
Xylakant |
you might consider using a routing callback though |
| 09:55 |
Xylakant |
however, you'd have to validate those parameters in each and every place |
| 09:57 |
Xylakant |
you could maybe access the request directly and push that information into request attributes |
| 09:58 |
Xylakant |
since that information is from a database it would be implicitly trusted |
| 09:58 |
Xylakant |
though you should be very careful about doing a database query in the routing |
| 09:59 |
Xylakant |
it will be executed on each and every request |
| 09:59 |
Xylakant |
caching that result will probably be essential |
| 10:01 |
luke` |
[~luke`@122.172.86.188] has quit [Quit: luke`] |
| 10:01 |
stachu |
ok |
| 10:03 |
digitarald |
still, shoot an email to the list with either your question or your solution ;) |
| 10:03 |
stachu |
like i thought - routing is best place but i have to use cache becouse query will be executed each request |
| 10:04 |
stachu |
ok, just after i'll test it |
| 10:04 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:08 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]] |
| 10:23 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 10:37 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:41 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 11:05 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 11:16 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Ping timeout: 240 seconds] |
| 11:18 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 11:41 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 12:14 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Quit: Lost terminal] |
| 12:20 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 272 seconds] |
| 12:21 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 12:27 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:34 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 264 seconds] |
| 12:34 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 12:35 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 12:38 |
matbtt_ |
[~matbtt@port-92-202-26-64.dynamic.qsc.de] has quit [Ping timeout: 264 seconds] |
| 12:45 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 12:47 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 264 seconds] |
| 12:54 |
sikkle |
[~sikkle@70.25.37.18] has quit [Read error: Operation timed out] |
| 12:59 |
matbtt_ |
[~matbtt@port-92-202-26-64.dynamic.qsc.de] has joined #agavi |
| 13:00 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 252 seconds] |
| 13:00 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 13:11 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 246 seconds] |
| 13:13 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 13:50 |
E_mE |
[~jeramy@83.34.4.3] has joined #agavi |
| 13:56 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 246 seconds] |
| 13:58 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 14:00 |
Jarda |
ok wtf, why doesn't uploadify send some speficial headers |
| 14:00 |
Jarda |
now I have to add /json to the route |
| 14:07 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:08 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 14:09 |
Jarda |
Xylakant: use_trans_sid => true doesn't append anything to the url |
| 14:10 |
Xylakant |
sending headers is complicated and not always possible from flash |
| 14:10 |
Xylakant |
and I'll have to test that other problem |
| 14:10 |
Xylakant |
there's a check that the SID constant is set in the code |
| 14:10 |
Xylakant |
maybe that's not defined in some circumstances |
| 14:11 |
Xylakant |
a quick fix would be to pass array(session_name() => session_id()) as paramters |
| 14:17 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:23 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 14:29 |
Jarda |
ok |
| 14:29 |
Jarda |
and agavi catches it automatically? |
| 14:29 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Read error: No route to host] |
| 14:29 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 14:32 |
hzilla |
hello |
| 14:34 |
hzilla |
i was wondering if anyone has had to deal with with transliteration of foreign text into latin? i had a look around the net but didn't find anything that useful. I noticed that the ICU has some tools for doing it but not sure how to access the api |
| 14:34 |
hzilla |
http://userguide.icu-project.org/transforms/general |
| 14:39 |
Jarda |
Xylakant: no, $ro->gen('admoin.files.upload+json', array(session_name() => session_id()), array('use_trans_sid' => true)); didn't help |
| 14:40 |
Jarda |
my request is stille redirected to login view |
| 14:40 |
Xylakant |
how does the generated url look like? |
| 14:40 |
Jarda |
/fi/hallinta/tiedostot/lataa/json?Agavi=p54ps3absi7rft9dorhc6j3ku4 |
| 14:40 |
Xylakant |
well, that's fine |
| 14:41 |
Xylakant |
I guess it looks the same if you remove array(session_name() => session_id()) |
| 14:41 |
Jarda |
/fi/hallinta/tiedostot/lataa/json |
| 14:42 |
Xylakant |
interesting |
| 14:42 |
Xylakant |
ok, then stick with the full version, you could remove the trans_sid option then |
| 14:43 |
Xylakant |
however, if you're still getting redirected to the login page with that url, then you have some other problem |
| 14:43 |
Xylakant |
php may not pick up your sessionid when passed in the url |
| 14:43 |
Jarda |
that might be |
| 14:48 |
Jarda |
yeah.. |
| 14:48 |
Jarda |
session.use_only_cookies On On |
| 14:48 |
Jarda |
session.use_trans_sid 0 0 |
| 14:52 |
Xylakant |
well, i told you that it wouldn't work with session.use_only_cookies on |
| 14:52 |
graste |
5:42 hours ago <: |
| 14:52 |
Xylakant |
that would explain why $ro->gen('admoin.files.upload+json', array(), array('use_trans_sid' => true)); does not work |
| 14:52 |
graste |
debugging sucks :> |
| 14:53 |
saracen_ |
Jarda: When I did this stuff, I just placed ini_set('session.use_only_cookies', 0); in config.php, so it was application specific |
| 14:54 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 14:57 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 15:03 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 15:05 |
Jarda |
Xylakant: yeah, but I was looking at wrong phpinfo :) |
| 15:05 |
Jarda |
sorry for wasting your time |
| 15:06 |
Xylakant |
np |
| 15:08 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 15:21 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 15:25 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:39 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 16:16 |
movvy |
good morning everyone! |
| 16:16 |
movvy |
i suppose its about afternoon :) |
| 16:16 |
movvy |
i think IRC should att some kind of timezone notification |
| 16:25 |
saracen_ |
16:24:12 [Freenode] CTCP TIME reply from movvy: Fri Feb 19 11:25:04 2010 |
| 16:26 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 16:26 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 16:29 |
matbtt_ |
[~matbtt@port-92-202-26-64.dynamic.qsc.de] has left #agavi [] |
| 16:36 |
Xylakant |
it's 17:36 saracen |
| 16:37 |
sth |
Yeah, get with the times saracen_ |
| 16:37 |
graste |
word |
| 16:38 |
hoffigk |
[~fhoffmann@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has quit [Quit: hoffigk] |
| 16:39 |
saracen_ |
Germans. |
| 16:39 |
hzilla |
what time is it? |
| 16:43 |
sth |
I'm English |
| 16:43 |
sth |
17:44 |
| 16:44 |
hzilla |
i believe that is wrong |
| 16:45 |
hzilla |
it's tea time |
| 16:45 |
graste |
it's time for weekend |
| 16:46 |
sth |
You're right on the weekend part |
| 16:47 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 16:50 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 16:56 |
Xylakant |
I agree. Have a nice weekend, all of you. |
| 16:56 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 17:10 |
v-dogg |
< sth> I'm English |
| 17:10 |
v-dogg |
< hzilla> i believe that is wrong |
| 17:11 |
v-dogg |
< Xylakant> I agree. |
| 17:11 |
v-dogg |
we all do... |
| 17:24 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 17:24 |
_cheerios |
huomenta |
| 17:36 |
_cheerios |
new office is sooo nice |
| 17:36 |
_cheerios |
smack middle in the expensive part of Helsinki, though, makes for higher lunch prices :| |
| 17:49 |
luke` |
[~luke`@59.92.146.215] has joined #agavi |
| 17:49 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 17:59 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 18:08 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:58 |
Jarda |
god I hate css |
| 18:58 |
Jarda |
<div class="foo"><div class="bar"> and I'm not seeing the css changes of bar |
| 18:58 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Ping timeout: 246 seconds] |
| 18:58 |
Jarda |
how should that notation be in my css |
| 19:10 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 264 seconds] |
| 19:12 |
Jarda |
ah |
| 19:12 |
Jarda |
stupid textmate |
| 19:12 |
Jarda |
inserting some utf-8 spaces to my css |
| 19:12 |
Jarda |
and breaking my stuff |
| 19:12 |
neubian |
use vim |
| 19:12 |
Jarda |
don't swear |
| 19:25 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 19:46 |
graste |
[~graste@f053005185.adsl.alicedsl.de] has joined #agavi |
| 19:47 |
luke` |
[~luke`@59.92.146.215] has quit [Ping timeout: 260 seconds] |
| 19:49 |
Rayne |
[~Rayne@pD9E35DA4.dip.t-dialin.net] has joined #agavi |
| 19:52 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 19:54 |
luke` |
[~luke`@59.92.130.150] has joined #agavi |
| 19:54 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| 20:02 |
stachu |
[sayonara@enc170.internetdsl.tpnet.pl] has quit [Quit: This computer has gone to sleep] |
| 20:22 |
darkom |
[~darko@212.201.44.241] has quit [Quit: Ex-Chat] |
| 20:22 |
movvy |
hmm |
| 20:22 |
Rayne |
[~Rayne@pD9E35DA4.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 20:23 |
movvy |
is agavi used enough that it will be something i could put on a job requisite? |
| 20:23 |
movvy |
or should i be looking for a PHP developer that has experience with an MVC framework |
| 20:31 |
movvy |
whats the deal yo |
| 20:39 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 20:47 |
graste |
depends, but IMHO every developer who got some background/experience and knowledge of MVC frameworks (other programming languages included) and some patterns should get up to speed with agavi pretty fast |
| 20:47 |
graste |
even despite the missing docs often mentioned :-) |
| 20:47 |
graste |
this channel and some api docs certainly help a lot :-) |
| 20:47 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 260 seconds] |
| 20:48 |
graste |
just mention agavi as being used and that experience in it as a plus perhaps? |
| 20:49 |
movvy |
gotcha thats what I thought |
| 20:50 |
movvy |
I have never hired a developer before, how many years experience and what should i look for in a senior developer |
| 20:51 |
graste |
I don't know, I'm not senior in terms of years as well - I just happened to hang around at university and stuff ;) |
| 20:54 |
graste |
strong OOP and sw architecture background should certainly help (as well as a broader experience in languages/frameworks and experience with bigger web apps because of scalability/stability etc. as well as common good practices like continuous integration etc. probably won't hurt your senior devs either) :D |
| 20:54 |
graste |
just dreaming of things I don't use here ^^ |
| 21:15 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 21:23 |
_cheerios |
NOM NOM http://www.youtube.com/watch?v=lKeA3-n27t8&NR=1 |
| 21:31 |
movvy |
gotcha |
| 21:31 |
movvy |
and last question what should i be looking to pay :) |
| 21:31 |
movvy |
if you have any idea |
| 21:32 |
movvy |
or better yet im wondering if what im wanting to pay is going to get me what i think it will |
| 21:32 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Quit: leaving] |
| 22:07 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 22:11 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 252 seconds] |
| 23:17 |
neubian |
[~neubian@hq1.advancedopen.net] has quit [Read error: No route to host] |
| 23:17 |
graste |
[~graste@f053005185.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| Day changed Sat Feb 20 2010
|
| 01:04 |
hzilla |
movvy: its important that you have a clear specification before u start asking people for work. |
| 01:04 |
hzilla |
the developer needs to know exactly what u want so they can make it as quickly as possible |
| 01:05 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| 01:47 |
E_mE |
[~jeramy@83.34.4.3] has quit [Quit: Bai4now!] |
| 01:53 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: nn] |
| 02:15 |
movvy |
hzilla, indeed we are working on that now |
| 02:17 |
saracen_ |
m00 |
| 02:17 |
movvy |
moo |
| 02:17 |
saracen_ |
is now known as saracen |
| 02:17 |
movvy |
how are you saracen |
| 02:17 |
saracen |
Not too bad. Sleep pattern is all over the place though |
| 02:17 |
saracen |
How about yourself? |
| 02:18 |
movvy |
im doing good, just watching the olympics and starting to work a bit more on this web app im creating |
| 02:33 |
hzilla |
woop |
| 03:21 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 04:35 |
movvy |
if anyone does happen to know anyone in the usa seeking fulltime employment, that they feel would be the right guy to work with dojo and agavi all day, do let me know please |
| 04:36 |
movvy |
also willing to relocate, relocation package negotiable |
| 04:36 |
movvy |
meaning we will pay, but i dont know how much |
| 04:36 |
movvy |
depends where they come from |
| 04:36 |
movvy |
also visa are possible |
| 05:32 |
PeYKaR |
[~pk@91.184.89.251] has joined #agavi |
| 05:52 |
SasanRose |
[~SasanRose@91.184.89.251] has joined #agavi |
| 06:03 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 08:33 |
PeYKaR |
[~pk@91.184.89.251] has quit [Quit: Leaving] |
| 09:28 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 10:03 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| 10:19 |
graste |
[~graste@f053002100.adsl.alicedsl.de] has joined #agavi |
| 10:54 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has joined #agavi |
| 10:54 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has quit [Remote host closed the connection] |
| 10:55 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has joined #agavi |
| 11:56 |
xboy |
[~me@85.133.194.175] has joined #agavi |
| 12:30 |
xboy |
[~me@85.133.194.175] has quit [Ping timeout: 246 seconds] |
| 12:30 |
xboy |
[~me@85.133.194.123] has joined #agavi |
| 12:37 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 12:50 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 12:57 |
fnordfish |
[~fnordfish@f052129241.adsl.alicedsl.de] has joined #agavi |
| 13:21 |
Wombert |
[~Wombert@83.34.4.3] has joined #agavi |
| 13:21 |
Wombert |
[~Wombert@83.34.4.3] has quit [Client Quit] |
| 13:24 |
Wombert |
[~Wombert@83.34.4.3] has joined #agavi |
| 13:25 |
Wombert |
[~Wombert@83.34.4.3] has quit [Client Quit] |
| 13:25 |
Wombert |
[~Wombert@83.34.4.3] has joined #agavi |
| 13:27 |
Wombert |
[~Wombert@83.34.4.3] has quit [Client Quit] |
| 13:30 |
stachu |
[sayonara@enc170.internetdsl.tpnet.pl] has joined #agavi |
| 13:47 |
SasanRose |
[~SasanRose@91.184.89.251] has quit [Quit: leaving] |
| 13:49 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 240 seconds] |
| 13:57 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 14:00 |
fnordfish |
[~fnordfish@f052129241.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 14:02 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 14:05 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 14:09 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 15:04 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 15:24 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Ping timeout: 272 seconds] |
| 15:30 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 16:01 |
fnordfish |
[~fnordfish@f052129241.adsl.alicedsl.de] has joined #agavi |
| 16:25 |
fnordfish |
[~fnordfish@f052129241.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 16:31 |
fnordfish |
[~fnordfish@f052129241.adsl.alicedsl.de] has joined #agavi |
| 16:31 |
fnordfish |
[~fnordfish@f052129241.adsl.alicedsl.de] has quit [Client Quit] |
| 16:55 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Ping timeout: 260 seconds] |
| 17:00 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 17:10 |
Rayne |
[~Rayne@pD9E36D9D.dip.t-dialin.net] has joined #agavi |
| 18:00 |
movvy |
hey all |
| 18:19 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Remote host closed the connection] |
| 18:21 |
matbtt_ |
[~matbtt@port-92-202-2-175.dynamic.qsc.de] has joined #agavi |
| 19:04 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 19:06 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Ping timeout: 245 seconds] |
| 19:37 |
matbtt_ |
[~matbtt@port-92-202-2-175.dynamic.qsc.de] has left #agavi [] |
| 19:46 |
luke` |
[~luke`@59.92.130.150] has quit [Ping timeout: 246 seconds] |
| 19:52 |
luke` |
[~luke`@59.92.138.235] has joined #agavi |
| 20:03 |
SasanRose |
[~SasanRose@92.50.7.212] has joined #agavi |
| 20:24 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 21:03 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 21:41 |
stachu |
[sayonara@enc170.internetdsl.tpnet.pl] has quit [Quit: Leaving] |
| 22:02 |
Rayne |
[~Rayne@pD9E36D9D.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 22:33 |
graste |
[~graste@f053002100.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 22:56 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 246 seconds] |
| 23:54 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 23:57 |
xboy |
[~me@85.133.194.123] has quit [Ping timeout: 246 seconds] |
| 23:58 |
xboy |
[~me@85.133.194.123] has joined #agavi |
| Day changed Sun Feb 21 2010
|
| 01:15 |
xboy |
[~me@85.133.194.123] has quit [] |
| 04:20 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 04:20 |
movvy |
hmm |
| 04:34 |
movvy |
how does using <select> with size="X" and multiple="multiple" |
| 04:34 |
movvy |
affect things ina validator |
| 04:34 |
movvy |
since its an array |
| 05:49 |
luke`_ |
[~luke`@59.92.138.235] has joined #agavi |
| 05:51 |
luke` |
[~luke`@59.92.138.235] has quit [Ping timeout: 246 seconds] |
| 05:51 |
luke`_ |
is now known as luke` |
| 06:41 |
PeYKaR |
[~pk@87.107.16.90] has joined #agavi |
| 06:42 |
PeYKaR |
[~pk@87.107.16.90] has quit [Read error: Connection reset by peer] |
| 06:44 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:53 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 07:49 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 08:19 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 246 seconds] |
| 08:30 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 08:39 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Ping timeout: 265 seconds] |
| 08:50 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has joined #agavi |
| 09:02 |
horros |
[~horros@e212-246-208-179.elisa-laajakaista.fi] has quit [Quit: Leaving] |
| 10:22 |
PeYKaR |
[~pk@87.107.16.90] has joined #agavi |
| 10:30 |
zeeg |
[~pk@87.107.16.90] has joined #agavi |
| 10:32 |
PeYKaR |
[~pk@87.107.16.90] has quit [Ping timeout: 240 seconds] |
| 10:57 |
haji |
[~dp@unaffiliated/everplays] has quit [Read error: Operation timed out] |
| 11:00 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 11:01 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 11:38 |
matbtt_ |
[~matbtt@port-92-202-23-48.dynamic.qsc.de] has joined #agavi |
| 11:42 |
|
Netsplit *.net <-> *.split quits: hzilla_ |
| 11:46 |
zeeg |
[~pk@87.107.16.90] has quit [Quit: Leaving] |
| 11:54 |
|
Netsplit over, joins: hzilla_ |
| 12:02 |
Yossi_ |
[~chatzilla@62.90.159.110] has joined #agavi |
| 12:02 |
Yossi_ |
Huomenta |
| 12:02 |
fnordfish |
[~fnordfish@f052142206.adsl.alicedsl.de] has joined #agavi |
| 12:02 |
Yossi_ |
anyidea how to write a routing pattern that will always be matched? |
| 12:04 |
Jarda |
Yossi_: well, <route pattern="(.*)" /> should always match |
| 12:04 |
Jarda |
no idea though why you would want that |
| 12:05 |
matbtt_ |
...strange |
| 12:06 |
Yossi_ |
Jarda: doesn't seem to quite to the trick, I just have an action that I want to run each time - only in development env though |
| 12:06 |
Yossi_ |
*do |
| 12:08 |
Jarda |
what does it do? |
| 12:14 |
Yossi_ |
builds an xml file of available media files by brand/language/currency... it will be ran manualy on production when someone updates the site, but in development I just wanted to make it run each time... I bet there are other ways to do that |
| 12:14 |
Jarda |
well if it already is an action, then you could run it as a slot |
| 12:14 |
Jarda |
on development |
| 12:17 |
Yossi_ |
through output types? |
| 12:23 |
Jarda |
yeah |
| 12:30 |
fnordfish |
[~fnordfish@f052142206.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 12:59 |
MikeSeth |
hey any example code for action tests? |
| 13:43 |
_cheerios |
[~cheerios@88.193.83.40] has joined #agavi |
| 13:44 |
_cheerios |
huomenta |
| 15:17 |
matbtt_ |
[~matbtt@port-92-202-23-48.dynamic.qsc.de] has left #agavi [] |
| 15:56 |
fnordfish |
[~fnordfish@f052142206.adsl.alicedsl.de] has joined #agavi |
| 16:21 |
Yossi_ |
exit |
| 16:21 |
Yossi_ |
quit |
| 16:21 |
Yossi_ |
[~chatzilla@62.90.159.110] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] |
| 16:23 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 17:16 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 18:09 |
SasanRose |
[~SasanRose@92.50.7.212] has quit [Ping timeout: 272 seconds] |
| 18:10 |
movvy |
when the FPF fails, is there an easy way to dump the page source of whats failing? |
| 18:11 |
SasanRose |
[~SasanRose@92.50.6.192] has joined #agavi |
| 18:14 |
SasanRose |
[~SasanRose@92.50.6.192] has quit [Client Quit] |
| 18:15 |
movvy |
i mean i have the error's but im not finding this error :< |
| 18:20 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Remote host closed the connection] |
| 18:21 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 18:21 |
movvy |
this is really strange, I believe i have the line it yells about, but i seriously can see nothing wrong |
| 18:21 |
movvy |
maybe i have just looked at it too long |
| 18:22 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Read error: Connection reset by peer] |
| 18:22 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 18:24 |
v-dogg |
movvy: if you have logging enabled, fpf logs the complete (x)html document it parses |
| 18:25 |
v-dogg |
if you can't spot the error paste the source line (plus a few lines above and below) and the error message |
| 18:34 |
Jarda |
movvy: in the error view? |
| 18:34 |
Jarda |
(I suggest you check that you are setting all template attributes also for the error view (or handleError in action)) |
| 18:35 |
Jarda |
if php is throwing a E_NOTICE it isn't valid xhtml |
| 18:50 |
movvy |
i figured it out, it was bad html |
| 18:50 |
movvy |
so here is something im noticin |
| 18:51 |
movvy |
I have some form's that have their <select> options dynamically populate |
| 18:51 |
movvy |
there is database activites to set attributes in the input action |
| 18:51 |
movvy |
but when things are messes up for example, and I redirect my error view back to my input view |
| 18:51 |
movvy |
for fpf and validation to take place, my select boxes are all empty |
| 18:52 |
Jarda |
what do you nee |
| 18:52 |
movvy |
I thought the fpf, used the previous html that was in the form as a whole |
| 18:52 |
Jarda |
no |
| 18:52 |
v-dogg |
it _populates_ your form |
| 18:52 |
Jarda |
you have to fetch the select options in actions handleError() or in the erroview executeHtml |
| 18:52 |
movvy |
ok, so indeed it will be required to DB dip again |
| 18:53 |
movvy |
interesting, then how will i track if in the form they did any select boxes movements |
| 18:53 |
movvy |
hmmm |
| 18:53 |
movvy |
grim |
| 18:53 |
movvy |
http://10.1.1.55/notification/addthresh |
| 18:53 |
movvy |
oh its not going to show anything cause your not logged in |
| 18:53 |
movvy |
hehe |
| 18:54 |
Jarda |
it also is a ip address from your private network |
| 18:54 |
movvy |
oh, well I guess the values are still going to get validated, I just need to display those values back into the boxes |
| 18:54 |
movvy |
if they are validated they will be n the error view |
| 18:55 |
movvy |
lol sorry jarda, but I believe I know what to do |
| 18:56 |
movvy |
i see the power, my template will handle all this |
| 18:56 |
movvy |
i just need to set my attributes |
| 18:56 |
movvy |
awesome rock on agavi!! |
| 18:56 |
Jarda |
yeah |
| 18:56 |
movvy |
thanks jarda you got my brain jump started |
| 18:57 |
Jarda |
no problem |
| 18:57 |
movvy |
i also learned in this, how to read the fpf error a bit better |
| 18:57 |
movvy |
and trace the html from it to the line with the error, good stuff |
| 18:58 |
Jarda |
you might want to read this blog post by v-dogg http://blog.veikko.fi/post/75101068/agavi-tip-automatic-output-of-validation-errors |
| 18:58 |
Jarda |
I'm using that on my agavi projects |
| 19:00 |
movvy |
awesome, I will check it out! |
| 19:00 |
movvy |
im still pretty new to developing around a framework |
| 19:00 |
movvy |
IE making a halfway useable site |
| 19:00 |
movvy |
;) |
| 19:08 |
SasanRose |
[~SasanRose@92.50.7.116] has joined #agavi |
| 19:31 |
_cheerios |
anyone used visible uuid's in their webapps? any leaving customers on ugly urls? :) |
| 19:34 |
luke` |
[~luke`@59.92.138.235] has quit [Ping timeout: 268 seconds] |
| 19:40 |
luke` |
[~luke`@59.92.138.238] has joined #agavi |
| 20:40 |
fnordfish |
[~fnordfish@f052142206.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 20:43 |
haji |
[~dp@unaffiliated/everplays] has quit [Quit: Leaving.] |
| 21:04 |
SasanRose |
[~SasanRose@92.50.7.116] has quit [Quit: leaving] |
| 21:24 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 22:07 |
Rayne |
[~Rayne@pD9E37953.dip.t-dialin.net] has joined #agavi |
| 23:10 |
_cheerios |
[~cheerios@88.193.83.40] has quit [Quit: opensourcerules] |
| Day changed Mon Feb 22 2010
|
| 00:58 |
Rayne |
[~Rayne@pD9E37953.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 02:58 |
movvy |
hmm |
| 02:58 |
movvy |
my arraylength validator does not work :( |
| 02:59 |
movvy |
i am trying to use a select box with multiple="multiple" |
| 03:01 |
movvy |
hmm |
| 03:06 |
saracen |
meme="meme" |
| 03:06 |
movvy |
hmm? |
| 03:07 |
saracen |
Nothing. XHTML tags like that remind me of the whole "Obvious troll is obvious" meme. |
| 03:07 |
movvy |
so what im trying to do is, there is 2 select boxes |
| 03:08 |
movvy |
and you can move options between then (jquery) |
| 03:08 |
saracen |
xhtml attributes* |
| 03:08 |
movvy |
and when i submit my form all the values that are in one of the 2 select boxes |
| 03:08 |
movvy |
i want all the values sent to the form / validator |
| 03:08 |
movvy |
in that specific select box, is there something in HTML, or am I looking at javascript? |
| 04:26 |
sikkle__ |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 04:29 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Ping timeout: 248 seconds] |
| 04:33 |
sikkle__ |
is now known as sikkle |
| 04:58 |
luke` |
[~luke`@59.92.138.238] has quit [Quit: luke`] |
| 05:15 |
zeeg |
[~pk@91.184.89.251] has joined #agavi |
| 05:27 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Ping timeout: 272 seconds] |
| 05:40 |
SasanRose |
[~SasanRose@91.184.89.251] has joined #agavi |
| 06:14 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:50 |
luke` |
[~luke`@122.172.86.188] has joined #agavi |
| 06:51 |
simoncpu |
[~soulfury@120.89.39.74] has joined #agavi |
| 06:52 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 07:15 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [] |
| 08:02 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:18 |
_cheerios |
[~cheerios@84.20.149.49] has joined #agavi |
| 08:18 |
_cheerios |
huomenta |
| 08:18 |
_cheerios |
first day at new office \o/ |
| 08:19 |
haji |
[~dp@unaffiliated/everplays] has quit [Read error: Connection reset by peer] |
| 08:24 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 08:29 |
luke` |
Huomenta |
| 08:29 |
luke` |
what's the deal with HMVC? |
| 08:38 |
_cheerios |
Time magazine reported at ze office o_O |
| 08:38 |
_cheerios |
*reporter, even |
| 08:39 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 08:42 |
sth |
Morning |
| 08:48 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:49 |
graste |
huomenta |
| 09:12 |
graste |
does anyone use the AgaviReturnArrayConfigHandler with <ae:configurations> blocks merged by context/environments? |
| 09:14 |
graste |
and does anyone have custom xml configs in use with agavi 1.0.x? need some bare bones simple XSD/XML example for the faq (with Agavi envolope namespace etc) :-) |
| 09:15 |
MikeSeth |
not me |
| 09:15 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 09:16 |
graste |
well I've got something here, but am not sure if that is correct (at least correct enough for the FAQ) ;) |
| 09:40 |
luke` |
[~luke`@122.172.86.188] has quit [Quit: luke`] |
| 09:40 |
luke` |
[~luke`@122.172.86.188] has joined #agavi |
| 09:45 |
luke` |
[~luke`@122.172.86.188] has quit [Ping timeout: 252 seconds] |
| 09:58 |
fnordfish |
[~fnordfish@e179015061.adsl.alicedsl.de] has joined #agavi |
| 10:20 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 10:23 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:36 |
fnordfish |
[~fnordfish@e179015061.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 10:37 |
simoncpu |
sth: You're Simon? |
| 10:37 |
simoncpu |
sth: Hi evil twin! :p |
| 10:42 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 10:46 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 10:49 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 10:57 |
sth |
:) |
| 11:04 |
zeeg |
[~pk@91.184.89.251] has quit [Ping timeout: 246 seconds] |
| 11:07 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Ping timeout: 240 seconds] |
| 11:14 |
_cheerios |
r??peri... lunch prices mostly from 10e to 13e :p |
| 11:14 |
_cheerios |
if lucky can get a soup/salad for 9e |
| 11:14 |
Jarda |
v-dogg: how much did our pasta cost? |
| 11:15 |
v-dogg |
8,20EUR |
| 11:16 |
v-dogg |
not including the capuccino doppio + mud cake :p |
| 11:17 |
Jarda |
well, it was worth 8 euros imo |
| 11:18 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 11:22 |
zeeg |
[~pk@91.184.89.251] has joined #agavi |
| 11:26 |
Rendez |
[~Rendez@71.Red-88-31-17.staticIP.rima-tde.net] has joined #agavi |
| 11:37 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 11:38 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 12:03 |
Yossi_ |
[~chatzilla@62.90.159.110] has joined #agavi |
| 12:03 |
Yossi_ |
Huomenta |
| 12:04 |
Rendez |
[~Rendez@71.Red-88-31-17.staticIP.rima-tde.net] has quit [Ping timeout: 265 seconds] |
| 12:10 |
digitarald |
Huomenta |
| 12:10 |
digitarald |
so, who is in London? |
| 12:21 |
Jarda |
no one |
| 12:22 |
Kaonashi |
[~root@ppp118-210-24-214.lns20.adl2.internode.on.net] has joined #agavi |
| 12:24 |
Kaonashi |
[~root@ppp118-210-24-214.lns20.adl2.internode.on.net] has left #agavi [] |
| 12:28 |
sth |
digitarald: David and I from Thursday :D |
| 12:29 |
_cheerios |
enjoying sunny finland |
| 12:29 |
sth |
I have cloudy Munich |
| 12:29 |
sth |
Although, it was sunny Munich yesterday |
| 12:32 |
ttj |
_cheerios: Coming to Turku? |
| 12:34 |
_cheerios |
ttj, no plans currently. |
| 12:34 |
zeeg |
is now known as PeYKaR |
| 12:34 |
ttj |
You should. You also left way too early last year. ;) |
| 12:34 |
PeYKaR |
is now known as zeeg |
| 12:34 |
_cheerios |
idd :) |
| 12:35 |
ttj |
? |
| 12:43 |
steffkes |
sth, it was not only sunny .. pure sun ;D |
| 12:44 |
sth |
It was rather nice yesterday, I even had my balcony door open |
| 12:47 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:47 |
_cheerios |
ttj, true, had another party to attend that evening. good day overall, that one. |
| 12:51 |
steffkes |
balcony door open? lol .. |
| 12:52 |
sth |
steffkes: It must have been 6-7C yesterday |
| 13:04 |
steffkes |
i know ;o last day on ice @ west-stadion yesterday .. seems to be more then 7° ;o |
| 13:18 |
steffkes |
http://xkcd.com/705/ |
| 13:19 |
graste |
the image title is nice as always ;) |
| 13:25 |
_cheerios |
:) |
| 13:38 |
Xylakant |
[~Xylakant@munich.bitextender.net] has joined #agavi |
| 13:38 |
Yossi_ |
Xylakant: Hi |
| 13:39 |
Xylakant |
hi |
| 13:39 |
Seldaek |
[~seld@intertubes.ch] has joined #agavi |
| 13:40 |
Yossi_ |
I have yet to get an answer on the mailing list about formating $tm->_c, it's on Digest, Vol 40, Issue 4... been a few since then... so... if you have time for that sometime, keep me in mind :) |
| 13:50 |
haji |
is now known as everplayZzz |
| 14:05 |
Xylakant |
right. I'll see what I can do |
| 14:05 |
Xylakant |
I've been very busy the last couple of days |
| 14:13 |
SasanRose |
[~SasanRose@91.184.89.251] has quit [Quit: leaving] |
| 14:15 |
Yossi_ |
Xylakant: sure, no problem... it's not like i"m paying ;) |
| 14:20 |
zeeg |
[~pk@91.184.89.251] has quit [Ping timeout: 272 seconds] |
| 14:24 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 14:24 |
archtech |
[stanv@83.228.56.37] has joined #agavi |
| 14:25 |
archtech |
"Patience is key to happiness" |
| 14:25 |
archtech |
No, it's just key to procrastination. |
| 14:25 |
Xylakant |
procrastinators unite! tomorrow! |
| 14:25 |
Xylakant |
scnr |
| 14:25 |
archtech |
QED |
| 14:26 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 256 seconds] |
| 14:30 |
graste |
:> |
| 14:57 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:57 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 15:01 |
luke` |
[~luke`@122.166.1.164] has quit [Ping timeout: 246 seconds] |
| 15:07 |
pashyon |
[~tfroschm@ip-109-84-50-168.web.vodafone.de] has joined #agavi |
| 15:07 |
pashyon |
[~tfroschm@ip-109-84-50-168.web.vodafone.de] has quit [Client Quit] |
| 15:30 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Read error: Connection reset by peer] |
| 15:31 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:31 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 15:50 |
_cheerios |
[~cheerios@84.20.149.49] has quit [Ping timeout: 265 seconds] |
| 15:53 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 16:21 |
hzilla_ |
what's this? Form Population Filter could not parse the document due to the following error: |
| 16:21 |
hzilla_ |
[Error #27] Line 477: Entity 'nbsp' not defined |
| 16:21 |
sth |
Did you miss the semi-colon? |
| 16:22 |
Rick |
http://www.agavi.org/documentation/tutorial/step7/the-form-population-filter.html |
| 16:22 |
Rick |
read "The FPF and HTML Entities" |
| 16:23 |
hzilla_ |
semi-colon there... reading |
| 16:23 |
hzilla_ |
nuff said |
| 16:23 |
Rick |
:) |
| 16:25 |
Xylakant |
:) |
| 16:25 |
Xylakant |
hey, someone else pointing at the docs |
| 16:25 |
Xylakant |
I did something right |
| 16:26 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 16:26 |
hzilla_ |
ok how abotu this then.. if u post a form param which is the same name as a routing param, which takes precedence? |
| 16:27 |
Rayne |
[~Rayne@pD9E376DC.dip.t-dialin.net] has joined #agavi |
| 16:28 |
Xylakant |
I'd say post but I'd have to look it up |
| 16:28 |
Xylakant |
I think the order is routing, get, post |
| 16:29 |
hzilla_ |
i would hope that the routing would override the post |
| 16:30 |
hzilla_ |
i guess i can test but just wondering if there was a quick answer |
| 16:30 |
everplayZzz |
is now known as everplays |
| 16:32 |
Xylakant |
I'm not certain, best is that you test |
| 16:32 |
hzilla_ |
k |
| 16:32 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 16:34 |
Rayne |
[~Rayne@pD9E376DC.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 16:34 |
Xylakant |
ok, quick look in the code reveals that routing should overwrite post |
| 16:34 |
Rayne |
[~Rayne@pD9E376DC.dip.t-dialin.net] has joined #agavi |
| 16:35 |
hzilla_ |
great |
| 16:35 |
Xylakant |
still test :) |
| 16:35 |
hzilla_ |
yep |
| 16:35 |
Xylakant |
please post the answer |
| 16:38 |
movvy |
hmm |
| 16:38 |
movvy |
i hate javascript to death |
| 16:38 |
movvy |
how was everyone's weekend? |
| 16:39 |
hzilla_ |
initial test indicates that routing takes precedence |
| 16:39 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 16:40 |
hzilla_ |
which is good otherwise it could lead to all sorts of trouble |
| 16:43 |
Rayne |
[~Rayne@pD9E376DC.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 16:45 |
hzilla_ |
weekend? what's that? |
| 16:50 |
Xylakant |
hzilla_: I heard that's what they call the two days between friday and monday |
| 16:51 |
Xylakant |
those two that you can use for productive work since no customer calls you |
| 16:51 |
graste |
if you're lucky, that is |
| 16:51 |
graste |
:D |
| 16:53 |
Xylakant |
yes, indeed |
| 16:53 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 16:54 |
ttj |
_cheerios: Immediate fooding. |
| 16:54 |
_cheerios |
just got home. will food myself soon :) |
| 16:54 |
ttj |
Bah. |
| 16:54 |
_cheerios |
we should go to lunch in r??peri someday |
| 16:54 |
_cheerios |
nice places there |
| 16:54 |
hzilla_ |
oh that;s why i stop getting email for a couple of days. i get so much more work done |
| 16:54 |
_cheerios |
had an ace salad today \o/ |
| 16:54 |
ttj |
Ah, but company subsidized lunch is so much cheaper.. |
| 16:55 |
_cheerios |
... :) |
| 16:56 |
ttj |
Fuck. The Tumi store is closing in 5 minutes. |
| 17:05 |
Xylakant |
right, off to cologne |
| 17:05 |
Xylakant |
cya guys |
| 17:05 |
Xylakant |
[~Xylakant@munich.bitextender.net] has quit [Quit: Xylakant] |
| 17:11 |
everplays |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 252 seconds] |
| 17:25 |
luke` |
[~luke`@59.92.138.238] has joined #agavi |
| 17:34 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 17:35 |
archtech |
[stanv@83.228.56.37] has quit [Ping timeout: 252 seconds] |
| 17:35 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:36 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 17:42 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 17:54 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:20 |
johnutzm |
[~ionut@86.104.252.118] has joined #agavi |
| 18:27 |
johnutzm |
huomenta! |
| 18:37 |
SasanRose |
[~SasanRose@92.50.7.116] has joined #agavi |
| 18:50 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 18:55 |
Rayne |
[~Rayne@pD9E376DC.dip.t-dialin.net] has joined #agavi |
| 18:58 |
codecop_ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Read error: Connection reset by peer] |
| 19:09 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 19:18 |
sikkle |
[~sikkle@70.25.37.18] has quit [Remote host closed the connection] |
| 19:25 |
45PAAFNSD |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 19:40 |
johnutzm |
[~ionut@86.104.252.118] has quit [Quit: Leaving.] |
| 19:46 |
CIA-74 |
[cia@208.69.182.149] has quit [Ping timeout: 276 seconds] |
| 19:47 |
luke` |
[~luke`@59.92.138.238] has quit [Ping timeout: 245 seconds] |
| 19:50 |
haji |
is now known as everplays |
| 19:54 |
luke` |
[~luke`@59.92.141.4] has joined #agavi |
| 19:55 |
matbtt_ |
[~matbtt@port-92-202-8-29.dynamic.qsc.de] has joined #agavi |
| 20:09 |
_cheerios |
model refactorings suck. ate my whole Sunday. |
| 20:09 |
matbtt_ |
:) |
| 20:13 |
_cheerios |
went from key_len 4 (int11) to key_len 110 (varchar36). no idea how much that'll affect mysql reads+writes in the long run, but here we go... |
| 20:14 |
matbtt_ |
...INNODB? |
| 20:14 |
_cheerios |
yes |
| 20:15 |
matbtt_ |
...don't do it! |
| 20:15 |
_cheerios |
explain |
| 20:16 |
matbtt_ |
...wait |
| 20:18 |
CIA-74 |
[cia@208.69.182.149] has joined #agavi |
| 20:20 |
45PAAFNSD |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 20:21 |
matbtt_ |
...according to O'Reilly High Performance MySQL, InnoDB works better with sequential primary keys, e.g. an auto incremented integer. |
| 20:21 |
matbtt_ |
...Insert of 1.000.000 records: 137 vs 180 sec |
| 20:22 |
matbtt_ |
...Index size for 1.000.000 records: 342 vs 544 MByte |
| 20:22 |
_cheerios |
i've read inserts are slower due pk being random (instead of sequential like with auto_inc), long and reads will also be slower if doing full table scans. |
| 20:23 |
matbtt_ |
...why do you need UUIDs? |
| 20:23 |
_cheerios |
for uniqueness of entries |
| 20:23 |
matbtt_ |
...in a decentralize app? |
| 20:23 |
matbtt_ |
+d |
| 20:24 |
_cheerios |
accomodating for writes in multiple locations while being able to work with it all. |
| 20:25 |
matbtt_ |
...how many different servers? |
| 20:25 |
_cheerios |
none yet, just starting with an extensible schema so far |
| 20:26 |
matbtt_ |
...MySQL has UUID_SHORT... http://dev.mysql.com/doc/refman/5.1/en/miscellaneous-functions.html#function_uuid-short |
| 20:26 |
matbtt_ |
...drawback is that you need access to the server ID. :( |
| 20:32 |
movvy |
hmm |
| 20:32 |
_cheerios |
that's ok, the mysql-call of it makes it tough (sucky orm in use) |
| 20:32 |
movvy |
so im using a arraylenth validator, and it definatly works |
| 20:32 |
movvy |
however when I do $rd->getParameter('arrayparam') |
| 20:33 |
movvy |
its empty |
| 20:35 |
matbtt_ |
which ORM? |
| 20:36 |
_cheerios |
matbtt_, django's |
| 20:36 |
movvy |
verys trange ;< |
| 20:37 |
matbtt_ |
Django? Use Agavi with Doctrine 2 ;) |
| 20:37 |
_cheerios |
i'll use my own orm in php if i'd just finish it rather than doctrine. haven't looked at 2, but v1 sucked hard. |
| 20:38 |
_cheerios |
cleaner, faster and smaller footprint. |
| 20:38 |
_cheerios |
just not so enterprise :) |
| 20:38 |
matbtt_ |
...Doctrine 2 is much better as it decouples your Domain Objects from the persistency layer. |
| 20:39 |
matbtt_ |
...it's also faster and lighter than Doctrine 1, which is IMHO bloated |
| 20:41 |
_cheerios |
don't give me flashbacks on how shit doctrine is :( |
| 20:41 |
_cheerios |
*shivers* |
| 20:41 |
matbtt_ |
:) |
| 20:41 |
matbtt_ |
movvy: example? |
| 20:45 |
movvy |
what do you meam? |
| 20:45 |
movvy |
are you looking for the validator config? |
| 20:46 |
krycek_ |
matbtt_: do you prefer doctrine 2 over propel 1.5? |
| 20:46 |
movvy |
that appears to work as its supposed to though, its validating and acting as expected |
| 20:46 |
movvy |
just doesnt seemt o be any value exported |
| 20:48 |
matbtt_ |
krycek_: I do not know Propel very good. I used it four years ago and the app is still online. |
| 20:49 |
krycek_ |
movvy: what agavi version do you use? take a look here: http://trac.agavi.org/ticket/1189 |
| 20:51 |
matbtt_ |
krycek: Just checked their website... they are still using Active Record pattern. I don't like that. But that is just my feeling... |
| 20:53 |
movvy |
interesting, this is custom though, its AgaviArrayLength |
| 20:53 |
movvy |
though it seems pretty bug like |
| 20:54 |
movvy |
http://www.pastie.org/837532 |
| 20:55 |
movvy |
it certainly is giving the results I want, there is just not value in the action |
| 20:55 |
movvy |
http://www.pastie.org/837537 |
| 20:55 |
movvy |
var_dump is empty |
| 20:58 |
movvy |
yeah looks like its a problem in the validaot |
| 21:00 |
movvy |
how do I file a bug fix? |
| 21:00 |
movvy |
the AgaviArrayLengthValidator is missing |
| 21:00 |
movvy |
$this->export($data); |
| 21:00 |
movvy |
at the bottom :) |
| 21:00 |
movvy |
I added it and my code works as expected |
| 21:02 |
SasanRose |
[~SasanRose@92.50.7.116] has quit [Quit: leaving] |
| 21:04 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 21:33 |
matbtt_ |
[~matbtt@port-92-202-8-29.dynamic.qsc.de] has left #agavi [] |
| 21:55 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 22:10 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 22:23 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 22:23 |
matbtt_ |
[~matbtt@port-92-202-8-29.dynamic.qsc.de] has joined #agavi |
| 22:35 |
Rayne |
[~Rayne@pD9E376DC.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 22:38 |
matbtt_ |
...I need to access the user's IP address in a validator. Do I have to access it directly via $_SERVER? It looks like Agavi does not store it in RequestDataHolder. |
| 22:45 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 22:48 |
hzilla_ |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 22:52 |
matbtt_ |
[~matbtt@port-92-202-8-29.dynamic.qsc.de] has left #agavi [] |
| 23:02 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 23:13 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has joined #agavi |
| 23:19 |
graste |
[~graste@f053002184.adsl.alicedsl.de] has joined #agavi |
| 23:38 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Read error: Connection reset by peer] |
| 23:38 |
saracen |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 23:50 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has quit [Ping timeout: 252 seconds] |
| 23:52 |
_cheerios |
meh. schema change was a ton of work. found a few bugs while doing it, some consolation. *sigh* |
| Day changed Tue Feb 23 2010
|
| 00:06 |
impl |
0.11 to 1.0? |
| 00:09 |
_cheerios |
non-agavi related, just my own app; trying out uuid's |
| 00:09 |
impl |
ah |
| 00:13 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| 00:29 |
|
Netsplit *.net <-> *.split quits: sikkle |
| 00:30 |
|
Netsplit over, joins: sikkle |
| 00:36 |
graste |
[~graste@f053002184.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 00:47 |
movvy |
hi impl |
| 00:50 |
movvy |
boo |
| 00:50 |
movvy |
trac tells me my ticket is spam |
| 00:51 |
movvy |
awesome i filed my first agavi bug |
| 00:51 |
movvy |
i feel of slight use to society |
| 00:55 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: nn] |
| 01:03 |
hzilla |
i don't think the array length validator is supposed to export any data. it just tests if it the length is valid |
| 01:04 |
hzilla |
once validated u can use count() etc in your app |
| 01:04 |
hzilla |
anwyay agavi dev will respond with the definitive answer |
| 01:13 |
movvy |
huh? well of course i need the array data |
| 01:13 |
movvy |
where do i use count? |
| 01:14 |
movvy |
the array is coming from a multiple select box in a post action, so i guess i wonder what other validator i could even run on it? |
| 01:15 |
saracen |
movvy: |
| 01:15 |
saracen |
You can chain validators |
| 01:16 |
saracen |
You could use the arraylength one, and if it validates correctly, allow the data through via isset |
| 01:18 |
saracen |
http://trac.agavi.org/browser/trunk/src/validator/AgaviIssetValidator.class.php |
| 01:18 |
movvy |
same thing though, it doesnt export any data |
| 01:19 |
saracen |
Oh wait. Correct. But-but-but |
| 01:19 |
saracen |
It doesn't have to |
| 01:20 |
saracen |
When a validator returns true, it allows that value through |
| 01:20 |
saracen |
So you wouldnt even need the isset |
| 01:20 |
hzilla |
yeh what fo u want the array length exported for> |
| 01:20 |
hzilla |
? |
| 01:20 |
hzilla |
do |
| 01:20 |
movvy |
saracen i tested ir on the array length |
| 01:20 |
movvy |
and go look at liek String for example |
| 01:20 |
movvy |
the validator exports :) |
| 01:21 |
saracen |
movvy: You're still doing it wrong :D |
| 01:21 |
movvy |
how! |
| 01:21 |
movvy |
:) |
| 01:22 |
movvy |
i HAVE to validate my array somehow |
| 01:22 |
hzilla |
what do u watn to export the length for? |
| 01:22 |
movvy |
i don't |
| 01:22 |
movvy |
i want the values |
| 01:22 |
hzilla |
so u using the length validator is not necessary right? |
| 01:23 |
movvy |
well it is, because if i don't run a validator at all, then its not available in the action with $rd->getParameter |
| 01:23 |
movvy |
i have to validate it somehow |
| 01:23 |
hzilla |
waht is the content of the array? |
| 01:23 |
movvy |
uuid's |
| 01:23 |
hzilla |
there are some good example of array validation in the FAQ - have u looked at that? |
| 01:24 |
saracen |
When a validator returns true, it allows that data through. Regardless of export() being used. The export method serves a different function. All you need to do is then use $rd->getParameter('name_of_the_select') |
| 01:24 |
saracen |
and you'll have your array |
| 01:25 |
movvy |
i tried and tested it |
| 01:25 |
movvy |
doesn't work with ArrayLength |
| 01:25 |
saracen |
paste your validation xml. |
| 01:25 |
saracen |
In pastie or something |
| 01:25 |
movvy |
indeed the FPF responds correctly |
| 01:25 |
hzilla |
possibly because that validator requires a length parameter which u r not providing |
| 01:26 |
hzilla |
the export() is simply overiding the validation so u might as well not use that at all |
| 01:27 |
movvy |
http://www.pastie.org/837943 |
| 01:27 |
movvy |
please note i added that export in there before i changed the validator... trying to get results |
| 01:27 |
movvy |
i believe i can just delete that now |
| 01:29 |
saracen |
http://www.pastie.org/837945 |
| 01:29 |
saracen |
Try this |
| 01:30 |
saracen |
required="true" is default by the way. And you don't need to give name="" unless you're going to reference it someplace |
| 01:32 |
hzilla |
movvy: are there a limited set of values for devices? if so u can simply use an inarray validator |
| 01:32 |
hzilla |
save u'r self a load of time and trouble and don't overengineer your solutions |
| 01:37 |
saracen |
movvy: Know if what I gave you works? |
| 02:28 |
movvy |
saracen, i can paste you the results in the morning, I am unfortuntaly in the middle of a paid rented rack time |
| 02:28 |
movvy |
I am sorry |
| 02:28 |
movvy |
im gonna try it at 1145PM USA EST time |
| 02:28 |
movvy |
;) |
| 03:23 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has quit [Quit: nfq] |
| 05:04 |
movvy |
saracen: that did not work whatsoever ;) |
| 05:05 |
movvy |
it totally messed up fpf, and it didn't validate |
| 05:06 |
movvy |
if there is a better way to do it im all for it, but it does indeed work as expected |
| 05:06 |
movvy |
about using the inarray, it is not a set list of anything, its is an ever changing list of uuid's |
| 05:06 |
movvy |
I mean i could write a custom validator to go query against the uuid's i guess |
| 05:07 |
movvy |
and export from there, but... is it relaly any different? |
| 05:18 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 05:43 |
Jarda |
movvy: still having problems with array validation? |
| 05:43 |
Jarda |
movvy: take a look at http://blog.veikko.fi/post/68983308/agavi-tip-validation-gotchas (v-doggs blog) |
| 05:45 |
Jarda |
movvy: if you have a select allowing multiple optios, you might want to go with <validator class="string"><arguments base="selectname[]"><argument /></arguments></validator> |
| 07:26 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 07:31 |
matbtt_ |
[~matbtt@port-92-202-32-43.dynamic.qsc.de] has joined #agavi |
| 07:35 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 07:44 |
SasanRose |
[~SasanRose@91.184.76.254] has joined #agavi |
| 07:52 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:03 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 08:27 |
digitarald |
Huomenta |
| 08:27 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 08:29 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 08:29 |
matbtt_ |
[~matbtt@port-92-202-32-43.dynamic.qsc.de] has left #agavi [] |
| 08:34 |
simoncpu |
[~soulfury@120.89.39.74] has quit [Ping timeout: 246 seconds] |
| 08:35 |
fnordfish |
[~fnordfish@f052141017.adsl.alicedsl.de] has joined #agavi |
| 08:36 |
simoncpu |
[~soulfury@120.89.39.74] has joined #agavi |
| 08:41 |
fnordfish |
[~fnordfish@f052141017.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 08:53 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:53 |
graste |
huomenta |
| 08:59 |
simoncpu |
[~soulfury@120.89.39.74] has quit [Ping timeout: 256 seconds] |
| 09:07 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 09:25 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 09:27 |
16SAAGCDC |
[~pk@91.184.76.254] has joined #agavi |
| 09:39 |
_cheerios |
[~cheerios@84.20.149.53] has joined #agavi |
| 09:39 |
_cheerios |
huomenta |
| 09:55 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:04 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 10:04 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 10:04 |
fnordfish |
[~fnordfish@89.246.250.218] has left #agavi [] |
| 10:07 |
graste |
How do I test if certain (config) files deliver the expected environment-specific (production/staging/etc) content/settings in an Agavi testcase? |
| 10:11 |
nfq |
[~nfq@adsl-84-226-245-117.adslplus.ch] has joined #agavi |
| 10:11 |
Xylakant |
hmm |
| 10:11 |
Xylakant |
is that really something you want to test? |
| 10:12 |
nfq_ |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has joined #agavi |
| 10:15 |
nfq |
[~nfq@adsl-84-226-245-117.adslplus.ch] has quit [Ping timeout: 252 seconds] |
| 10:15 |
nfq_ |
is now known as nfq |
| 10:16 |
steffkes |
Xylakant, y not? if something goes wrong .. config files are the very first point that should be checked |
| 10:16 |
Xylakant |
because every config change will lead to a test breakage |
| 10:16 |
Xylakant |
tests should test behavior |
| 10:16 |
Xylakant |
and not config values |
| 10:17 |
Xylakant |
if you change your config values and adapt the tests accordingly |
| 10:17 |
Xylakant |
and you have the wrong value but still believe it's right |
| 10:17 |
Xylakant |
then your tests will pass |
| 10:17 |
Xylakant |
all will be fine |
| 10:17 |
Xylakant |
but still it won't work |
| 10:19 |
16SAAGCDC |
[~pk@91.184.76.254] has quit [Quit: Leaving] |
| 10:19 |
steffkes |
hm yes .. indeed .. right. check the config files != test the config files -.- |
| 10:20 |
PeYKaR |
[~pk@91.184.76.254] has joined #agavi |
| 10:32 |
Xylakant |
do you still need an answer to that question? |
| 10:40 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 10:41 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 256 seconds] |
| 10:43 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 10:57 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 10:58 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 248 seconds] |
| 11:20 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has quit [Quit: nfq] |
| 11:23 |
digitarald |
Xylakant: what about a book for agavi |
| 11:23 |
digitarald |
I'm in contact with http://www.opensourcepress.de/ |
| 11:23 |
Xylakant |
well, in general yes, we'd love to see that |
| 11:23 |
digitarald |
for MooTools, but I would suggest an Agavi book |
| 11:24 |
Xylakant |
would you want to write one? |
| 11:24 |
digitarald |
but I would not write it ;) |
| 11:24 |
Xylakant |
ah, I see |
| 11:24 |
digitarald |
as cookbook, it could have multiple authors |
| 11:24 |
Xylakant |
certainly, I'll try and ask some people |
| 11:26 |
Xylakant |
a cookbook would certainly be a nice idea |
| 11:26 |
digitarald |
I'd add my "senf" ;) |
| 11:27 |
Xylakant |
:) |
| 11:27 |
digitarald |
but I would not manage the book, since I just accepted the MooTools book |
| 11:27 |
digitarald |
should I refer the guy to you? |
| 11:28 |
Xylakant |
when do you need an answer on that? |
| 11:28 |
Xylakant |
I'd like to discuss that with david first |
| 11:28 |
digitarald |
I can recommend agavi whenever you want |
| 11:28 |
digitarald |
was just an idea, since I am in contact with them anyways |
| 11:29 |
digitarald |
bb1h, lunch |
| 11:29 |
Xylakant |
enjoy |
| 11:29 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 12:01 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:07 |
nfq_ |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has joined #agavi |
| 12:19 |
Zeelot4k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 12:19 |
Zeelot2k |
[~lorenzo@67.50.8.11] has quit [Read error: Connection reset by peer] |
| 12:25 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 12:28 |
digitarald |
back |
| 12:55 |
saracen |
11:25:36 < Xylakant> a cookbook would certainly be a nice idea |
| 12:55 |
saracen |
Weird you guys should be talking about this |
| 12:55 |
saracen |
I thought about it yesterday :) |
| 12:57 |
Yossi_ |
the FAQ is sort of a cookbook |
| 13:00 |
Yossi_ |
when I have a little time im going to submit some stuff I did for my project, like creating config handlers. |
| 13:01 |
digitarald |
Yossi_: how does your handler work, more of a generic format? |
| 13:02 |
digitarald |
I'd like to have a nested-<parameter> style (for example) handler in the default package, custom handlers consume my development time otherwise |
| 13:02 |
Yossi_ |
I wrote a couple of config handlers for specific stuff I needed. |
| 13:06 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 260 seconds] |
| 13:07 |
Yossi_ |
digitarald: I wonder if you can take the Agavi config schemas and handlers and just modify them a bit, that way it won't be too much work. |
| 13:08 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 13:09 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 13:12 |
digitarald |
Yossi_: u can take the one for settings.xml |
| 13:12 |
digitarald |
I usually put my stuff in there anyways, since it allows nested parameters |
| 13:13 |
Yossi_ |
yeah for sure, I do that too, with xi:includes... |
| 13:13 |
digitarald |
my custom settings go to settings via xinclude |
| 13:13 |
Yossi_ |
hehe |
| 13:13 |
digitarald |
magic of xml ;) |
| 13:22 |
nfq_ |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has quit [Quit: nfq_] |
| 13:23 |
SasanRose |
[~SasanRose@91.184.76.254] has quit [Quit: leaving] |
| 13:24 |
graste |
Xylakant: I'd like to know an answer - general one would be sufficient :-) |
| 13:24 |
graste |
sry wasn't at my pc for an answer :> |
| 13:25 |
graste |
perhaps I just want to make certain, that the config handler gives me correct things (I'd expect) without using a system to test it |
| 13:25 |
graste |
so config handler testing would it be? |
| 13:38 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 13:44 |
PeYKaR |
[~pk@91.184.76.254] has quit [Ping timeout: 252 seconds] |
| 13:45 |
Yossi_ |
anyone know how to escape % in .po files? |
| 13:47 |
_cheerios |
might've been (hunch) %% |
| 13:48 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 256 seconds] |
| 13:48 |
Yossi_ |
that's it, thanks |
| 13:50 |
E_mE |
[~jeramy@5e069395.bb.sky.com] has joined #agavi |
| 13:52 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 13:52 |
_cheerios |
[~cheerios@84.20.149.53] has quit [Quit: bbl] |
| 13:59 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has joined #agavi |
| 14:09 |
luke` |
[~luke`@59.92.141.4] has quit [Remote host closed the connection] |
| 14:10 |
luke` |
[~luke`@59.92.141.4] has joined #agavi |
| 14:14 |
luke` |
[~luke`@59.92.141.4] has quit [Ping timeout: 265 seconds] |
| 14:15 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has quit [Quit: nfq] |
| 14:23 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 14:35 |
luke` |
[~luke`@59.92.141.4] has joined #agavi |
| 14:47 |
Xylakant |
graste: you could either use the AgaviPhpUnitTestCase as base or the UnitTestcase. You can control which env to bootstrap in isolation and then have a test for each env. |
| 14:47 |
graste |
okay, thanks :-) |
| 15:08 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 15:10 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 15:14 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 15:19 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 15:37 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:46 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 15:52 |
saracen |
/names |
| 15:52 |
saracen |
WUT |
| 15:55 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 15:55 |
sth |
wtg! |
| 16:09 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: Leaving] |
| 16:18 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Read error: Connection reset by peer] |
| 16:18 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 16:25 |
graste |
chown -R / |
| 16:27 |
Yossi_ |
[~chatzilla@62.90.159.110] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] |
| 16:31 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 16:39 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 17:07 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:08 |
haji |
i have a table with about 6000 entries, i have to fetch all 6000 rows to generate a page. now looking for a caching solution witch caches rows or generated html in sliced form. for example give me ability to save 200 rows per cache because of memory limit. any suggestion? |
| 17:10 |
SasanRose |
[~SasanRose@92.50.6.10] has joined #agavi |
| 17:12 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 17:13 |
Jarda |
I don't belive you really need 6000 rows to show one page |
| 17:13 |
Jarda |
if you need, you're most certainly doing someethng wrong |
| 17:14 |
sth |
haji: I suggest using pagination |
| 17:14 |
sth |
There's no way people will need all 6000 rows at once |
| 17:16 |
haji |
yeah, but it's some kind of web application so needs to be really fast, so i decided to fetch all 6000 so i can cache them on client using gears or html5's data store |
| 17:16 |
Jarda |
I still think you are doing something wrong |
| 17:16 |
Jarda |
doing ajax-requests will be way faster |
| 17:17 |
haji |
hmm |
| 17:17 |
Jarda |
you can fetch 200 records, show 100 first, user hits next, you show the 100 cached and then on the background fetch 100 more |
| 17:18 |
haji |
it's not just a list! it's a name searching ... |
| 17:18 |
Jarda |
like autocomplete? |
| 17:18 |
Jarda |
or a filtered list? |
| 17:19 |
haji |
filtered list |
| 17:19 |
Jarda |
I have not found a way to do a filtered list that would scale up nicely |
| 17:19 |
Jarda |
when the record count is somewhere between 100-5000 it's possible |
| 17:20 |
Jarda |
but I would still do it so, that the filtering starts only when user has typed 2-3 chars |
| 17:20 |
Jarda |
so that you can reduce the fetch load |
| 17:21 |
haji |
hmm, seems i should forget it & use new ajax request :) |
| 17:22 |
CIA-74 |
david * r4427 /branches/1.0/ (CHANGELOG src/validator/AgaviBaseFileValidator.class.php): allow 'extension' parameter to be an array and perform case-insensitive comparisons against it in file validators, closes #1234 and #1235 |
| 17:22 |
Jarda |
well, that's my opinion |
| 17:23 |
Jarda |
but I'm not that experienced in creating rich web applications |
| 17:24 |
haji |
i have to cache ajax requests with gears or datastore, i think it will be enough fast |
| 17:24 |
haji |
thanks :) |
| 17:44 |
hzilla |
flex |
| 17:45 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 264 seconds] |
| 17:51 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:52 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 17:52 |
_cheerios |
hei! |
| 17:57 |
MaximusColourum |
[~bryan@71.15.127.142] has left #agavi [] |
| 18:05 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:19 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 18:33 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has joined #agavi |
| 18:40 |
haji |
is now known as everplayZzz |
| 18:57 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has quit [Quit: nfq] |
| 19:00 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 19:02 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 268 seconds] |
| 19:03 |
everplayZzz |
is now known as everplays |
| 19:26 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 19:26 |
movvy |
hmm |
| 19:27 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has joined #agavi |
| 19:30 |
nfq |
[~nfq@dyn.83-228-195-242.dsl.vtx.ch] has quit [Client Quit] |
| 19:34 |
E_mE |
[~jeramy@5e069395.bb.sky.com] has quit [Quit: E_mE] |
| 19:44 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has quit [Ping timeout: 245 seconds] |
| 19:47 |
luke` |
[~luke`@59.92.141.4] has quit [Ping timeout: 264 seconds] |
| 19:54 |
luke` |
[~luke`@59.92.141.4] has joined #agavi |
| 20:00 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 20:10 |
movvy |
Jarda: I will take a look! |
| 20:13 |
matbtt_ |
[~matbtt@port-92-202-32-43.dynamic.qsc.de] has joined #agavi |
| 20:18 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 20:20 |
Jarda |
what might be wrong when fpf isn't outputting errors |
| 20:20 |
Jarda |
and I definitely am in the error view |
| 20:23 |
Jarda |
oh yeah, found it |
| 20:23 |
Jarda |
it's not good to do $ro->gen(null); on login form |
| 20:26 |
E_mE |
[~jeramy@5e069395.bb.sky.com] has joined #agavi |
| 20:28 |
v-dogg |
you so n00b .p |
| 20:29 |
ttj |
Drunk walking is eight times more dangerous to you than drunk driving per mile covered. |
| 20:33 |
E_mE |
hehehe ttj |
| 20:34 |
E_mE |
but then could you optimise those statistic with speed comparisons, e.g. human walks 6km/h where as a car drives 60km/h |
| 20:34 |
E_mE |
so you could say that for every KM of human walking could be as risky as every 10KM of a car driving in a drunken state :P |
| 20:35 |
ttj |
:) |
| 20:35 |
E_mE |
i think you should test the theroy ;D |
| 20:36 |
ttj |
Nah. I prefer drunk riding in taxis. My preferred method of travel. :) |
| 20:37 |
E_mE |
:) |
| 20:37 |
ttj |
Just watched some videos of Steven Levitt on YouTube. Interesting guy. |
| 20:38 |
E_mE |
dont know that name |
| 20:39 |
E_mE |
ah yes, someone was telling me about the theory between abortion and crime rate |
| 20:39 |
ttj |
Yeah, that guy. |
| 20:43 |
E_mE |
interesting, thanks for the name ttj :) |
| 20:46 |
sikkle |
[~sikkle@70.25.37.18] has quit [Ping timeout: 256 seconds] |
| 20:50 |
ttj |
If you're as bored as I am, Cliff Stoll is another interesting guy (e.g. http://www.ted.com/talks/clifford_stoll_on_everything.html). |
| 20:59 |
_cheerios |
ttj, erm... |
| 20:59 |
nfq |
[~nfq@adsl-84-226-245-117.adslplus.ch] has joined #agavi |
| 21:00 |
_cheerios |
slightly eccentric :) |
| 21:00 |
matbtt_ |
[~matbtt@port-92-202-32-43.dynamic.qsc.de] has left #agavi [] |
| 21:01 |
ttj |
But the sheer amount of energy and enthusiasm is amazing. |
| 21:02 |
ttj |
His Klein bottles are also cool. Thinking about ordering one for the office. |
| 21:03 |
movvy |
awesome |
| 21:03 |
movvy |
I officially got a job positioned opened at my company! |
| 21:03 |
movvy |
for a developer |
| 21:03 |
movvy |
sweet |
| 21:04 |
_cheerios |
movvy: grats. |
| 21:04 |
movvy |
only took 10 months :) |
| 21:04 |
ttj |
Congrats. I'm still waiting for our HR to move and get us cleared to recruit a new guy. Not gonna happen anytime soon, I imagine. |
| 21:04 |
movvy |
i wonder where a good place to find decent candidates are |
| 21:04 |
_cheerios |
i heard today we got a new hot russian secretary to fill the office space some, nerd hires seem to be down, bummer! |
| 21:04 |
ttj |
_cheerios: !!! |
| 21:04 |
ttj |
What happened to your old model secretary? |
| 21:05 |
ttj |
And why haven't I been invited to your offices?-) |
| 21:05 |
_cheerios |
she's there too, she's the general secretary, this one will be my boss'es personal one |
| 21:06 |
_cheerios |
i'll get you pics someday, we've two femmes in the office now, both totally hot |
| 21:06 |
ttj |
I hate you. |
| 21:06 |
v-dogg |
:D |
| 21:13 |
ttj |
They laid off the hot Norwegian chick from our office. :( |
| 21:13 |
movvy |
:( |
| 21:14 |
movvy |
f3ar ;( |
| 21:18 |
nfq_ |
[~nfq@adsl-84-226-245-117.adslplus.ch] has joined #agavi |
| 21:18 |
nfq |
[~nfq@adsl-84-226-245-117.adslplus.ch] has quit [Read error: Connection reset by peer] |
| 21:19 |
nfq_ |
is now known as nfq |
| 21:19 |
v-dogg |
ttj: so you are coming to Turku Agile Day? |
| 21:19 |
v-dogg |
what about horros, have you heard of him? |
| 21:22 |
ttj |
v-dogg: Yeah, definately coming. |
| 21:22 |
ttj |
Even bought the dinner this time around. :) |
| 21:22 |
v-dogg |
heh |
| 21:24 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 21:31 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 21:31 |
|
Netsplit *.net <-> *.split quits: SasanRose, luke` |
| 21:32 |
|
Netsplit over, joins: SasanRose |
| 21:43 |
nfq_ |
[~nfq@dyn.83-228-134-139.dsl.vtx.ch] has joined #agavi |
| 21:47 |
nfq |
[~nfq@adsl-84-226-245-117.adslplus.ch] has quit [Ping timeout: 265 seconds] |
| 21:47 |
nfq_ |
is now known as nfq |
| 21:48 |
|
Netsplit over, joins: sth |
| 21:48 |
|
Netsplit *.net <-> *.split quits: simoncpu_ |
| 21:48 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 21:57 |
SasanRose |
[~SasanRose@92.50.6.10] has quit [Quit: leaving] |
| 22:22 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| 23:12 |
graste |
[~graste@f053010166.adsl.alicedsl.de] has joined #agavi |
| 23:28 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: Leaving] |
| 23:48 |
E_mE |
[~jeramy@5e069395.bb.sky.com] has quit [Quit: Bai4now!] |
| 23:53 |
movvy |
v-dogg your in turku? |
| 23:54 |
movvy |
v-dogg we have a very big client in turku ;P |
| 23:59 |
graste |
[~graste@f053010166.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| Day changed Wed Feb 24 2010
|
| 00:39 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: nn] |
| 00:59 |
Zeelot4k |
[~lorenzo@67.50.8.11] has quit [Quit: Konversation terminated!] |
| 00:59 |
Zeelot4k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 01:00 |
Zeelot4k |
is now known as Zeelot2k |
| 01:04 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 01:26 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: Rendez] |
| 01:31 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 01:46 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: c ya.] |
| 03:52 |
nfq |
[~nfq@dyn.83-228-134-139.dsl.vtx.ch] has quit [Quit: nfq] |
| 04:07 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 04:10 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 04:34 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Quit: MaximusColourum] |
| 05:01 |
PeYKaR |
[~pk@91.184.76.254] has joined #agavi |
| 05:35 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 05:37 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi |
| 05:37 |
MugeSo |
Huomenta |
| 05:38 |
MugeSo |
AgaviDoctrineDatabase doesn't support Doctrine's cache, right? |
| 05:43 |
MugeSo |
This question is incorrect. to be exact, AgaviDoctrineDatabase doesn't support Doctrine's cache configuration in database.xml, right? |
| 06:09 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 06:11 |
maleknet |
[~maleknet@85.15.40.233] has quit [Client Quit] |
| 06:13 |
maleknet |
[~maleknet@85.15.40.233] has joined #agavi |
| 06:15 |
maleknet1 |
[~alireza@85.15.40.233] has joined #agavi |
| 06:15 |
maleknet1 |
[~alireza@85.15.40.233] has left #agavi [] |
| 06:17 |
v-dogg |
movvy: yes I am. |
| 06:17 |
v-dogg |
and Huomenta, too |
| 06:18 |
v-dogg |
movvy: mind telling me who the client is? |
| 06:23 |
maleknet1 |
[~alireza@85.15.40.233] has joined #agavi |
| 06:24 |
maleknet1 |
[~alireza@85.15.40.233] has left #agavi [] |
| 06:47 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:00 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 07:17 |
Zeelot2k |
[~lorenzo@67.50.8.11] has quit [Read error: Connection reset by peer] |
| 07:18 |
Zeelot2k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 07:22 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 07:23 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 07:24 |
digitarald |
Huomenta |
| 07:41 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 07:54 |
Zeelot2k |
[~lorenzo@67.50.8.11] has quit [Read error: Connection reset by peer] |
| 07:54 |
Zeelot2k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 08:22 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 08:35 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 08:48 |
_cheerios |
[~cheerios@84.20.149.53] has joined #agavi |
| 08:48 |
_cheerios |
huomenta |
| 08:49 |
riddler |
[~3ed60643@gateway/web/freenode/x-iwmhoadbpqpfcpzv] has joined #agavi |
| 08:50 |
riddler |
Hello, after a got a new reposetory my View of the Webcam dosn't load the LayoutType 'simple'. Has someone an idea y? |
| 08:51 |
riddler |
if i add other layouttypes to setupHtml it works but simple not |
| 08:51 |
riddler |
i have no idea why |
| 08:53 |
Xylakant |
show some code please |
| 08:54 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:55 |
riddler |
http://pastebin.org/96361 |
| 08:55 |
v-dogg |
Xylakant: happy birthday :) |
| 08:55 |
v-dogg |
riddler: pastebin output_types.xml too, please |
| 08:56 |
v-dogg |
and tell us the exact error message |
| 08:56 |
Xylakant |
thanks, v-dogg |
| 08:56 |
riddler |
main output types : http://pastebin.org/96362 |
| 08:56 |
v-dogg |
and also, what the heck is add_javascript($rq, '... |
| 08:56 |
v-dogg |
:) |
| 08:57 |
riddler |
no idea its from an other company |
| 08:57 |
Xylakant |
looks fine to me |
| 08:57 |
riddler |
and the client module outputtypes http://pastebin.org/96363 |
| 08:57 |
riddler |
4 me 2 |
| 08:57 |
riddler |
thats the problem |
| 08:57 |
riddler |
=) |
| 08:58 |
Xylakant |
so what's the result and what's the expected result? do you get an error message complaining that the OT does not exist? |
| 08:59 |
Xylakant |
and how does your setupHtml look like? |
| 09:00 |
graste |
Happy birthday! :D |
| 09:00 |
Xylakant |
thank you |
| 09:01 |
Rayne |
[~Rayne@pD9E3482A.dip.t-dialin.net] has joined #agavi |
| 09:03 |
riddler |
i get no error message. it seams that the view loads the default layouttype |
| 09:04 |
riddler |
seems |
| 09:05 |
Xylakant |
please paste the setupHtml method, at least the relevant parts |
| 09:07 |
riddler |
mom |
| 09:09 |
riddler |
http://pastebin.org/96369 |
| 09:11 |
Xylakant |
seems fine to me as well |
| 09:12 |
Xylakant |
did you clear the cache after making the change? |
| 09:13 |
riddler |
yes |
| 09:14 |
riddler |
hmm ok |
| 09:14 |
Xylakant |
then I'm pretty much lost, the parts of the code that I've seen look fine |
| 09:14 |
riddler |
hmm ok thx for the time |
| 09:15 |
riddler |
if i find the mistake i will tell :) |
| 09:15 |
Xylakant |
right |
| 09:16 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 09:30 |
riddler |
[~3ed60643@gateway/web/freenode/x-iwmhoadbpqpfcpzv] has quit [Quit: Page closed] |
| 09:51 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:53 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:28 |
MugeSo |
Xylakant: Happy birthday!! |
| 10:29 |
MugeSo |
[~chatzilla@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100202165920]] |
| 10:31 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-doyfgsuzcdwjrmci] has joined #agavi |
| 10:41 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 10:44 |
Xylakant |
thank you |
| 10:53 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 11:23 |
_cheerios |
ditto @Mugeso Xylakant: Happy birthday!! |
| 11:23 |
Xylakant |
thank you as well :) |
| 11:24 |
sth |
No cake though :( |
| 11:27 |
Xylakant |
well, that's not true |
| 11:27 |
Xylakant |
there are two cakes here standing on my desk |
| 11:27 |
Xylakant |
just hop over |
| 11:29 |
sth |
It would be easier to head over to Rischart and buy some cake and pretend it's from your birthday cake |
| 11:31 |
Xylakant |
do so |
| 11:31 |
Xylakant |
buy some cheesecake then |
| 11:31 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 11:50 |
v-dogg |
The Cake is a Lie: .... Scaffolding, the meta-programming method of building software applications, promises easier development and a faster time-to-market. But the \"code generation bliss\" can lead to problems later on, for instance with regard to maintainability and scalability. This sessions takes a sceptical look at frameworks such as CakePHP and Symfony. |
| 11:50 |
v-dogg |
somebody go there and live stream that, please :) |
| 11:50 |
v-dogg |
(IPC this spring) |
| 11:54 |
graste |
hm :> |
| 11:55 |
graste |
starts to develop scaffolding for agavi |
| 11:55 |
graste |
right now! |
| 11:55 |
graste |
<: |
| 11:55 |
graste |
perhaps we can make it til IPC |
| 11:56 |
_cheerios |
I have to say these my-framework-is-better-than-yours discussions are getting quite old. I'd rather see best/better practices presentations instead of nitpicking on framework features and their shortcomings. |
| 12:14 |
digitarald |
ah, Xylakant, Happy Birthday ... no cake here, too ;) |
| 12:14 |
digitarald |
who made the cake though? |
| 12:16 |
digitarald |
The cake is a Spy ... mh ... |
| 12:20 |
digitarald |
WTF do they want to give a free netbook worth 400 EUR for a 700 EUR ticket ... just make the damn ticket cheaper |
| 12:34 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 12:39 |
Xylakant |
digitarald: thank you |
| 12:40 |
simoncpu |
My framework brings all the girls to the yard |
| 12:40 |
digitarald |
always happy to fight in a proper flame war |
| 12:40 |
simoncpu |
Dam right, it's better than yours |
| 12:43 |
Xylakant |
well, asbestos suits coming up |
| 12:46 |
simoncpu |
linux sucks |
| 12:46 |
simoncpu |
mac os x is gay |
| 12:47 |
sth |
... |
| 12:47 |
Seldaek |
digitarald: agreed, 700euro is fucking expensive |
| 12:47 |
Seldaek |
not sure if I'll go yet, but if I do I hope I can get a good price off the netbook on ebay:p |
| 12:56 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 12:56 |
haji1 |
[~dp@188.158.11.173] has joined #agavi |
| 12:58 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 276 seconds] |
| 13:20 |
hzilla |
arg doctrine bastard |
| 13:21 |
hzilla |
Xylakant: happy birthday :D |
| 13:22 |
Xylakant |
thanks |
| 13:41 |
codecop_ |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 13:52 |
haji1 |
is now known as everplays |
| 13:52 |
everplays |
[~dp@188.158.11.173] has quit [Changing host] |
| 13:52 |
everplays |
[~dp@unaffiliated/everplays] has joined #agavi |
| 14:03 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 14:19 |
PeYKaR |
[~pk@91.184.76.254] has quit [Quit: Leaving] |
| 14:54 |
SasanRose |
[~SasanRose@92.50.6.10] has joined #agavi |
| 14:59 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 15:12 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has joined #agavi |
| 15:13 |
Yossi_ |
Huomenta |
| 15:22 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 15:23 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:30 |
Yossi_ |
Me and MikeSeth just moved to a new office |
| 15:30 |
Yossi_ |
we can see the Mediterranean sea. |
| 15:30 |
graste |
win :) |
| 15:31 |
Yossi_ |
yeah, pretty nice, plus MikeSeth will be sitting right next to me, so It's much easier to bother him with questions |
| 15:33 |
Rayne |
[~Rayne@pD9E3482A.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 15:37 |
mknet |
[~Adium@216.106.113.82.net.de.o2.com] has joined #agavi |
| 15:37 |
mknet |
Helo there |
| 15:38 |
mknet |
I got a short question concerning JSON and Agavi |
| 15:39 |
mknet |
I want to set up an application which offers a REST kind of API |
| 15:39 |
_cheerios |
[~cheerios@84.20.149.53] has quit [Quit: foo] |
| 15:39 |
mknet |
and I want to accept JSON and XML |
| 15:39 |
mknet |
Now he question is how would you validate the incoming JSON string |
| 15:40 |
maleknet |
[~maleknet@85.15.40.233] has quit [Ping timeout: 265 seconds] |
| 15:40 |
mknet |
like validating XML with a schema |
| 15:40 |
mknet |
Do you have any ideas? |
| 15:42 |
Xylakant |
mknet: nope, that's the big issue with json that it's schema-free |
| 15:43 |
Xylakant |
there is http://json-schema.org/ |
| 15:43 |
Xylakant |
but I fear you'll have to hand-roll your implementation |
| 15:43 |
Xylakant |
however, you could decode the incoming json in the request and then use regular agavi validation |
| 15:44 |
Xylakant |
that would not validate a given schema but it would validate that the required data is available |
| 15:45 |
mknet |
Yeah, that's what I thought |
| 15:46 |
mknet |
This would mean that I decode the JSON string in the action and then access the validator(s) |
| 15:46 |
mknet |
Is this what you thought? |
| 15:46 |
Xylakant |
no |
| 15:47 |
Xylakant |
you can decode the json string in the request |
| 15:48 |
Xylakant |
you can extend AgaviWebRequest, overwrite the startup method and test whether the incoming data is json. if it is, decode it and write the decoded part back to the request data |
| 15:48 |
Xylakant |
the action only sees the decoded parameters |
| 15:50 |
mknet |
cool, I wondered if this would be possible - and obviously it is :-D |
| 15:51 |
mknet |
I will just have a look at the webrequest implementation |
| 15:51 |
mknet |
Thank you very much |
| 15:51 |
Xylakant |
it's a bit hacky since you need to extend AgaviWebRequest and it only works nicely for json |
| 15:51 |
Xylakant |
but in general it's a working solution |
| 15:52 |
mknet |
i think so, too |
| 15:52 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 15:52 |
mknet |
How would you test if it's json or not? |
| 15:56 |
codecop_ |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Ping timeout: 245 seconds] |
| 16:01 |
lippser |
[~d55f1952@gateway/web/freenode/x-cqriuflagcgfavyr] has joined #agavi |
| 16:04 |
lippser |
well huomenta (: |
| 16:04 |
lippser |
any1 here? |
| 16:04 |
mknet |
Thanks for now |
| 16:04 |
mknet |
bye |
| 16:04 |
mknet |
I was here ;) |
| 16:04 |
mknet |
bye |
| 16:05 |
mknet |
[~Adium@216.106.113.82.net.de.o2.com] has quit [Quit: Leaving.] |
| 16:10 |
Xylakant |
lippser: hey hey, certainly there's somebody here |
| 16:14 |
lippser |
fine ;p |
| 16:14 |
lippser |
i guess there's a little bug in the 1.0.2 fpf |
| 16:15 |
lippser |
hope u didn't discuss it recently since it's my first time here |
| 16:15 |
lippser |
buttons created with <input type="button" .... value="button" /> get rid of their value attribute after submit |
| 16:19 |
v-dogg |
but but but..hmm.. |
| 16:20 |
v-dogg |
browser doesn't send the value so it's not simple |
| 16:20 |
lippser |
well |
| 16:20 |
lippser |
1.0.1 doesn't have this issue |
| 16:20 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has quit [Read error: Operation timed out] |
| 16:21 |
v-dogg |
are you sure? |
| 16:21 |
Xylakant |
there were some changes for HTML5 compat that might be in 1.0.2 |
| 16:21 |
lippser |
i'm sure |
| 16:21 |
Jarda |
v-dogg: (buttons send always the value) |
| 16:21 |
lippser |
(: |
| 16:21 |
Xylakant |
I'd be surprised though |
| 16:21 |
v-dogg |
Jarda: no, buttons in IE are sent always |
| 16:21 |
Xylakant |
Jarda: do they? I seem to remember that some browsers don't |
| 16:21 |
Jarda |
damn |
| 16:21 |
Xylakant |
which is why you should not rely on them |
| 16:22 |
lippser |
tested with ff only |
| 16:22 |
Xylakant |
does it send the value? |
| 16:22 |
graste |
IE is the problem |
| 16:23 |
Jarda |
oh yeah, v-dogg has right |
| 16:23 |
lippser |
nope does not send the value |
| 16:23 |
Jarda |
input type="submit" works always as "expected" |
| 16:23 |
lippser |
right, submit sends value |
| 16:23 |
graste |
button type=submit gets inner content submitted in IE instead of value |
| 16:24 |
Arme[N] |
[~ArmeN]@unaffiliated/armen/x-394205] has joined #agavi |
| 16:24 |
Xylakant |
anyways, you could try and revert http://trac.agavi.org/changeset/4405 |
| 16:24 |
Xylakant |
that's the only change I can think of that could cause that problem |
| 16:24 |
Xylakant |
see http://trac.agavi.org/ticket/1213 |
| 16:27 |
graste |
http://www.mivesto.de/agavi/agavi-faq.html#validation_12 mentions the button type=submit thingy (beware, as perhaps outdated/flawed) and is most probably not related to the FPF changes anyways :-) |
| 16:32 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has quit [Ping timeout: 265 seconds] |
| 16:35 |
lippser |
reverted changeset 4405 - works now |
| 16:37 |
Xylakant |
hmm, could you open a ticket please? |
| 16:38 |
lippser |
sure |
| 16:39 |
Xylakant |
thank you |
| 16:44 |
lippser |
ok ppl |
| 16:44 |
lippser |
thanks for your time |
| 16:45 |
lippser |
cu |
| 16:45 |
lippser |
[~d55f1952@gateway/web/freenode/x-cqriuflagcgfavyr] has quit [Quit: Page closed] |
| 16:53 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 16:55 |
nfq |
[~nfq@dyn.83-228-155-135.dsl.vtx.ch] has joined #agavi |
| 17:02 |
haji |
[~dp@unaffiliated/everplays] has quit [Quit: Leaving.] |
| 17:03 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has joined #agavi |
| 17:10 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:10 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 17:10 |
Xylakant_ |
is now known as Xylakant |
| 17:12 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Quit: Verlassend] |
| 17:15 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:15 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 17:15 |
Xylakant_ |
is now known as Xylakant |
| 17:15 |
Rayne |
[~Rayne@pD9E3482A.dip.t-dialin.net] has joined #agavi |
| 17:21 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:21 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 17:21 |
Xylakant_ |
is now known as Xylakant |
| 17:22 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 17:23 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 17:23 |
movvy |
hmm |
| 17:25 |
Xylakant |
hmm what? |
| 17:26 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has quit [Ping timeout: 246 seconds] |
| 17:31 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:31 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 17:31 |
Xylakant_ |
is now known as Xylakant |
| 17:32 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has joined #agavi |
| 17:35 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 17:40 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:40 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 17:40 |
Xylakant_ |
is now known as Xylakant |
| 17:42 |
hzilla |
marvelous |
| 17:46 |
hzilla |
is it my imagination or is symfony a bit 'messy' |
| 17:48 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 17:48 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:48 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 17:48 |
Xylakant_ |
is now known as Xylakant |
| 17:49 |
graste |
<: |
| 17:50 |
v-dogg |
hzilla: go ask #symfony |
| 17:51 |
hzilla |
i imagine i would get a messy answer |
| 17:51 |
Jarda |
"guys on #agavi told me to ask here if symfony is a bit 'messy'" |
| 17:51 |
Jarda |
frameworkwars, got to love them |
| 17:52 |
hzilla |
i think symfony is more of a zimmerframe than a framework |
| 17:52 |
v-dogg |
:) |
| 17:52 |
Jarda |
zend! |
| 17:52 |
Jarda |
wait, we were talking about frameworks.. |
| 17:52 |
hzilla |
zend is more of a wheelchair |
| 17:53 |
hzilla |
yeh best stop that and do some work |
| 17:53 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 17:53 |
Jarda |
good for handicapped people |
| 17:53 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 17:53 |
Jarda |
well, I like zend as a tool box |
| 17:53 |
Jarda |
works great on that |
| 17:54 |
Jarda |
s/on/as/ |
| 17:54 |
Jarda |
my english is crap |
| 17:54 |
hzilla |
u can half fun in wheelchairs |
| 17:54 |
hzilla |
have |
| 17:54 |
hzilla |
i had one for a while when i broke my leg |
| 17:55 |
movvy |
Xylakant, not much |
| 17:55 |
movvy |
v-dogg i see from your blog your from turku |
| 17:55 |
movvy |
we have a large customer there |
| 17:55 |
v-dogg |
yeah, you mentioned that. can you name it? (just out of curiosity) |
| 17:58 |
movvy |
Perkin Elmer |
| 18:00 |
movvy |
they ahve about 800 employees in turku, but they are a global company out of boston |
| 18:00 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 18:00 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 18:00 |
Xylakant_ |
is now known as Xylakant |
| 18:04 |
nfq |
yo Xylakant |
| 18:04 |
nfq |
happy birthday dude |
| 18:04 |
nfq |
gotta love FB |
| 18:04 |
Xylakant |
thanks |
| 18:05 |
nfq |
I got 5 friends with birthday's today |
| 18:05 |
nfq |
i only know this because of FB |
| 18:06 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 18:06 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 18:06 |
Xylakant_ |
is now known as Xylakant |
| 18:08 |
Xylakant |
hrhr |
| 18:08 |
Xylakant |
one of the guys here in the office had his birthday today as well |
| 18:08 |
Xylakant |
and we didn't know before |
| 18:08 |
graste |
:D |
| 18:08 |
graste |
bunch of programmers :p |
| 18:09 |
matbtt |
[~9b3844d9@gateway/web/freenode/x-doyfgsuzcdwjrmci] has quit [Ping timeout: 252 seconds] |
| 18:10 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 18:10 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 18:14 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 18:15 |
Xylakant_ |
[~Xylakant@87.79.35.60] has joined #agavi |
| 18:15 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Read error: Connection reset by peer] |
| 18:15 |
Xylakant_ |
is now known as Xylakant |
| 18:17 |
Xylakant |
right, I'll be off |
| 18:17 |
Xylakant |
enough work for today |
| 18:17 |
Xylakant |
see you all tomorrow |
| 18:17 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Client Quit] |
| 18:20 |
nfq_ |
[~nfq@dyn.144-85-146-064.dsl.vtx.ch] has joined #agavi |
| 18:22 |
nfq |
[~nfq@dyn.83-228-155-135.dsl.vtx.ch] has quit [Ping timeout: 256 seconds] |
| 18:22 |
nfq_ |
is now known as nfq |
| 18:25 |
Rayne |
[~Rayne@pD9E3482A.dip.t-dialin.net] has left #agavi ["Dein Text ist so schlecht, der könnte authentisch sein."] |
| 18:36 |
Jarda |
hmm, if I do <route name="customer" pattern="^/(email:[A-Za-z0-9\@]*)" action="Customer"><route name=".foo" pattern="^/foo$" action=".Foo" /></route> |
| 18:37 |
Jarda |
would it be "wrong" to add a routing callback to "customer" to set the customer-email as an attribute to user? |
| 18:37 |
Jarda |
or actually as a parameter |
| 18:37 |
Jarda |
as it is per request |
| 18:39 |
Jarda |
actually, in this case I am calling a backend via http/xml-requests and I am switching to the customer with one request (sessions are "persistent"). |
| 18:40 |
Jarda |
so switchin to the customer in a routing callback and storing the customer information into session (user) would save me a lot of requests |
| 18:41 |
Jarda |
as I wouldn't need to do the customer switching every request |
| 18:41 |
Jarda |
thanks, helped me a lot! |
| 18:41 |
Jarda |
;) |
| 18:45 |
hzilla |
that's an interesting email regex |
| 18:47 |
Jarda |
well I didn't think much when writing it here |
| 18:48 |
hzilla |
alrighty |
| 18:49 |
Jarda |
\w+ would be just fine :) |
| 18:50 |
hzilla |
praps |
| 18:51 |
hzilla |
not sure why u want email in the route tho but i guess u have reasons |
| 18:51 |
Jarda |
because email is the identification of the customer (no numerical id's or stuff) |
| 18:51 |
hzilla |
don't they have a session already? |
| 18:52 |
hzilla |
so the first time they call there's no other way to identify them? |
| 18:52 |
Jarda |
no no, I can have a lot of customers |
| 18:53 |
Jarda |
so that I could have routes like /customers/foo@bar.com/delete /customers/bar@foo.com/delete |
| 18:53 |
hzilla |
so its more of a performance optimisation than nything else? |
| 18:54 |
Jarda |
guess so |
| 18:54 |
hzilla |
isn't there a security risk? like anyone could delete a customer? |
| 18:54 |
Jarda |
no |
| 18:54 |
Jarda |
the backend keeps track of permissions |
| 18:54 |
Jarda |
you can only "switch" to customers you have righ to |
| 18:55 |
hzilla |
seems fair enough then - don't see why u can't hijack the routing if that's all u need |
| 18:55 |
Jarda |
yeah |
| 18:55 |
Jarda |
gonna do that |
| 18:58 |
hzilla |
i suspect its 'wrong' but then u could always change it later |
| 19:04 |
saracen |
Jarda: I'd advise against it :) |
| 19:05 |
saracen |
If there's rights somewhere, you must be storing the email address in some sort of database no? |
| 19:05 |
saracen |
Why can't their be an id? |
| 19:07 |
saracen |
I wouldn't like to have my address in a url. That sort of information can be picked up elsewhere, proxy servers, url check lists etc. |
| 19:07 |
Jarda |
saracen: well I can't do anything about the backend |
| 19:07 |
Jarda |
I'm just developing a html-client |
| 19:09 |
Jarda |
saracen: so I'm not storing anything in a db |
| 19:09 |
Jarda |
my agavi app makes xml-requests to the backend |
| 19:10 |
saracen |
The backend is just something you're interfacing with? I take it there's some sort of login - why not create your own small database in there for doing storing an id for an email address. Your clients are known by ID. You talk to the backend using it's id (in this case, an email address). This is how it's usually done, for example if you were to create an application which uses Facebooks API etc. |
| 19:12 |
Jarda |
saracen: I wouldn't want to duplicate data |
| 19:13 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 19:13 |
Jarda |
if not absolutely necessary |
| 19:14 |
Jarda |
and there is no need to cache backend data for responsivity, because the client is useless without the backend |
| 19:14 |
Jarda |
because every modification needs to go to the backend |
| 19:15 |
saracen |
Well, the other reason to do so is you can extend the data. A lot of the time, your interface offers more functionality, something the backend doesn't support and you can't save there. This way, you can append data to a user |
| 19:15 |
Jarda |
well, yeah. That might be true |
| 19:15 |
Jarda |
the problem is, how to update the data |
| 19:16 |
Jarda |
because if I take a list of "my" customers and save it to the db, I have to update the list on every listing I make from the backend |
| 19:16 |
Jarda |
and I might end up having customers in my db that are deleted from the backend |
| 19:17 |
saracen |
So they can login to the backend, without going through your application? |
| 19:17 |
Jarda |
yeah |
| 19:18 |
Jarda |
there are atleast two different clients for the backend |
| 19:18 |
Jarda |
mine will be the third |
| 19:19 |
saracen |
All you really have to keep in sync is a local user id, and an email address - for now. If they can change email address without using your interface and you're storing additional information - then that's the problem. You'd have to make it so they could link accounts, by using some form of authorisation. But that's the only problem you'll generally run in to. You keep in sync by having them login, if login succeeds, you create them an ID locally if one |
| 19:20 |
saracen |
The alternative, is to just use a session id. If they login, give them a session id. Just store their email in that session |
| 19:20 |
saracen |
But I'm assuming you can't do this for some reason? |
| 19:21 |
Jarda |
yeah, the session id is stored in my app |
| 19:21 |
saracen |
Why don't you just save the email address they're using to the session then? |
| 19:23 |
Jarda |
well, the thing is. normally my routes would look like customers/1/foo, customers/2/foo, customers/3/bar and I would do thinks like $this->customerModel->delete($rd->getParameter('customerid')); |
| 19:23 |
Jarda |
but this backend doesn't work like that. In the backend you "switch" to a customer via email |
| 19:24 |
Jarda |
so I would like to avoid "switching" on every request |
| 19:25 |
Jarda |
because that's an addiotonal xml-request |
| 19:25 |
Jarda |
but yes, I could store only the customers email in session and check if it has changed and then switch |
| 19:26 |
Jarda |
but still I need to have the emails in urls, or then map them to a local db |
| 19:46 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has quit [Read error: Connection reset by peer] |
| 20:06 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: This computer has gone to sleep] |
| 20:17 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 20:23 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 20:32 |
matbtt_ |
[~matbtt@port-92-202-65-189.dynamic.qsc.de] has joined #agavi |
| 20:43 |
skoop |
[~stefan@unaffiliated/skoop] has joined #agavi |
| 20:43 |
matbtt_ |
[~matbtt@port-92-202-65-189.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] |
| 20:45 |
matbtt_ |
[~matbtt@port-92-202-171-82.dynamic.qsc.de] has joined #agavi |
| 20:55 |
Yossi__ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has joined #agavi |
| 20:58 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has quit [Ping timeout: 264 seconds] |
| 20:58 |
Yossi__ |
is now known as Yossi_ |
| 20:59 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ex-Chat] |
| 21:00 |
skoop |
[~stefan@unaffiliated/skoop] has quit [Quit: skoop] |
| 21:09 |
fnordfish |
[~fnordfish@f052142071.adsl.alicedsl.de] has joined #agavi |
| 21:19 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 21:27 |
matbtt_ |
Hi all, I have seen some you guys in the Doctrine chat as well. Did you ever get response there? |
| 21:33 |
hzilla |
no they are lame |
| 21:33 |
hzilla |
i'v estarted helping people cos no one else is |
| 21:34 |
matbtt_ |
...yeah, the only response I receive was when I found a bug in Doctrine 2.... :( |
| 21:35 |
hzilla |
yeh they totally dropped the ball on 1.2 |
| 21:35 |
hzilla |
i'm having to hack the framework myself to get shit to work |
| 21:36 |
matbtt_ |
...I've heard about the 1.2 |
| 21:36 |
matbtt_ |
...actually I have 1.1 and 2 running in a distributed app |
| 21:39 |
matbtt_ |
...hopefully I get it done :) |
| 21:40 |
hzilla |
u have problems i take it? |
| 21:41 |
_cheerios |
i use doctrine 1.x something, havent touched it in a while. how's v2 coming? any ETA yet? |
| 21:42 |
matbtt_ |
...conceptual question. Doctrine2 is supposed to support polymorphic association, at least it is written. However I'm not able to define it... |
| 21:44 |
matbtt_ |
_cheerios: Somewhere I've seen the roadmap... not sure. However I gave V2 a try and I'm happy beside the documentation |
| 21:44 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 21:45 |
matbtt_ |
hzilla: I think I'll post to their dev channel :) |
| 21:46 |
graste |
[~graste@f053004035.adsl.alicedsl.de] has joined #agavi |
| 21:46 |
_cheerios |
my take: if it won't work like it would in pure php, then it's botched |
| 21:48 |
v-dogg |
? |
| 21:48 |
v-dogg |
what are they doing? |
| 21:49 |
hzilla |
matbtt_ i tried also with no success |
| 21:50 |
hzilla |
maybe u'll get better results |
| 21:51 |
matbtt_ |
hzilla: maybe I shall feign a bug :) |
| 21:52 |
hzilla |
if its about 2 then they will probably engage |
| 21:52 |
matbtt_ |
v-dogg: we are just complaining about the Doctrine channels. :) |
| 21:54 |
v-dogg |
that I understood but I was referring to _cheerios' "if it won't work like it would in pure php, then it's botched" |
| 21:54 |
matbtt_ |
v-dogg: ah, sorry |
| 21:54 |
matbtt_ |
my fault |
| 22:20 |
movvy |
can i ask a question maybe its dubm |
| 22:20 |
movvy |
is there any kind of open souirce content management system, to help allow users to change content |
| 22:20 |
movvy |
if that makes sense, for like marketing website |
| 22:22 |
matbtt_ |
[~matbtt@port-92-202-171-82.dynamic.qsc.de] has left #agavi [] |
| 22:30 |
fnordfish |
[~fnordfish@f052142071.adsl.alicedsl.de] has quit [Quit: Leaving.] |
| 22:49 |
sikkle |
[~sikkle@70.25.37.18] has quit [Ping timeout: 245 seconds] |
| 23:04 |
graste |
[~graste@f053004035.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:08 |
SasanRose |
[~SasanRose@92.50.6.10] has quit [Quit: leaving] |
| 23:26 |
_cheerios |
many CMS'es out there...? never touched a single one, bar WordPress. |
| 23:29 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: nn] |
| Day changed Thu Feb 25 2010
|
| 00:26 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 00:37 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Quit: MaximusColourum] |
| 02:14 |
CIA-74 |
david * r4428 /branches/1.0/samples/app/lib/routing/AgaviSampleAppLanguageRoutingCallback.class.php: make sample app use Accept-Language header when no locale in URL or cookie matched |
| 02:26 |
nfq |
[~nfq@dyn.144-85-146-064.dsl.vtx.ch] has quit [Quit: nfq] |
| 02:33 |
CIA-74 |
david * r4429 /branches/1.0/samples/app/lib/routing/AgaviSampleAppLanguageRoutingCallback.class.php: drop duplicate comment |
| 03:32 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 05:34 |
zeeg |
[~pk@91.184.76.254] has joined #agavi |
| 05:45 |
luke` |
[~luke`@59.92.132.247] has joined #agavi |
| 05:53 |
movvy |
you don't have to validate everything on a form for a single field to workright |
| 05:53 |
movvy |
meaning that I have a ton of fields i dont ever want or care about |
| 05:53 |
movvy |
so i dont need to put anything in the validator for them do i? |
| 06:16 |
simoncpu |
ei guys |
| 06:16 |
simoncpu |
do you know of companies that use agavi? |
| 06:17 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:18 |
haji |
[~dp@unaffiliated/everplays] has quit [Client Quit] |
| 06:28 |
Jarda |
movvy: what do you mean? |
| 06:29 |
Jarda |
if you have a form with five inputs (foo1, foo2, foo3, foo4, foo5) and you only need the value of foo3, then you only need a validator for foo3 |
| 06:29 |
Jarda |
but you won't be able to access the values of foo1, foo2, foo4 and foo5 |
| 06:29 |
Jarda |
so I don't see the point of them being in the form :) |
| 06:55 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [Read error: Connection reset by peer] |
| 07:40 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:43 |
fnordfish |
[~fnordfish@f052142071.adsl.alicedsl.de] has joined #agavi |
| 07:47 |
fnordfish |
[~fnordfish@f052142071.adsl.alicedsl.de] has quit [Client Quit] |
| 07:52 |
luke` |
[~luke`@59.92.132.247] has quit [Quit: luke`] |
| 07:57 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:16 |
fnordfish |
[~fnordfish@f052142071.adsl.alicedsl.de] has joined #agavi |
| 08:17 |
fnordfish |
[~fnordfish@f052142071.adsl.alicedsl.de] has quit [Client Quit] |
| 08:33 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 08:37 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] |
| 08:40 |
matbtt |
[~9b3844d8@gateway/web/freenode/x-axddxwyfhezxstno] has joined #agavi |
| 08:45 |
_cheerios |
[~cheerios@84.20.149.53] has joined #agavi |
| 08:46 |
_cheerios |
huomenta! |
| 08:48 |
matbtt |
huomenta! |
| 08:51 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 08:58 |
luke` |
[~luke`@122.166.1.164] has joined #agavi |
| 09:01 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 09:14 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Quit: quit irc to focus] |
| 09:17 |
SasanRose |
[~SasanRose@92.50.6.10] has joined #agavi |
| 09:19 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:30 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 09:36 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:41 |
graste |
huomenta |
| 09:43 |
matbtt |
[~9b3844d8@gateway/web/freenode/x-axddxwyfhezxstno] has quit [Ping timeout: 252 seconds] |
| 09:56 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 10:22 |
fnordfish |
huomentaahhhh |
| 10:23 |
_cheerios |
mmh, just submitted vacations email for accounting... mondays+fridays off till end of next month, after which 2 weeks off both March+April \o/ |
| 10:37 |
hzilla |
huomenta |
| 10:45 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Quit: Ieinu] |
| 11:11 |
nfq |
[~nfq@dyn.144-85-146-064.dsl.vtx.ch] has joined #agavi |
| 11:18 |
_cheerios |
printed http://www.flickr.com/photos/joshuarothhaas/3327763912/ |
| 11:58 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has joined #agavi |
| 11:58 |
Yossi_ |
Huomenta |
| 12:08 |
Yossi_ |
Huomenta |
| 12:11 |
|
Netsplit *.net <-> *.split quits: johann__ |
| 12:15 |
|
Netsplit over, joins: johann__ |
| 12:26 |
Yossi_ |
Huomenta |
| 12:31 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 12:44 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 13:02 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 13:05 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 13:15 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 13:25 |
graste |
great victory for germany in the race to london! sth 0 : 1 dzuelke |
| 13:27 |
v-dogg |
:) |
| 13:27 |
_cheerios |
heh, so luftwaffe won |
| 13:29 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 13:48 |
_cheerios |
[~cheerios@84.20.149.53] has quit [Quit: bl] |
| 13:55 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 14:00 |
luke` |
[~luke`@122.166.1.164] has quit [Quit: luke`] |
| 14:06 |
J-P |
Is there any issues with the latest version of agavi and layouts ? |
| 14:06 |
sikkle |
[~sikkle@70.25.37.18] has quit [Read error: Operation timed out] |
| 14:07 |
J-P |
Right now, I'm using ajax to grab some content off another page |
| 14:07 |
J-P |
and I'm getting the following exception : Message |
| 14:07 |
J-P |
=========== |
| 14:07 |
J-P |
Unknown layout "slot" |
| 14:07 |
J-P |
however, my 'slot' layout is defined |
| 14:07 |
J-P |
<output_type name="slot" exception_template="%core.agavi_dir%/exception/templates/plaintext.php"> |
| 14:08 |
v-dogg |
and it is also defined for the ajax output type? |
| 14:11 |
J-P |
where do you mean exacly ? |
| 14:11 |
Xylakant |
J-P: where's that layout defined? |
| 14:11 |
J-P |
output_type.xml |
| 14:11 |
Xylakant |
the line you posted defines an output type named "slot" |
| 14:11 |
Xylakant |
not a layout named "slot" |
| 14:11 |
sikkle |
[~sikkle@70.25.37.18] has joined #agavi |
| 14:11 |
J-P |
http://pastie.org/842220 |
| 14:12 |
Xylakant |
I don't see a layout named slot |
| 14:12 |
Xylakant |
except for the html output type |
| 14:13 |
J-P |
:o |
| 14:13 |
v-dogg |
and also, are you sure this is what you want: <output_type name="slot" |
| 14:13 |
v-dogg |
_output_type_ ? |
| 14:14 |
J-P |
yeah |
| 14:14 |
J-P |
it's basically when I request content using ajax |
| 14:14 |
J-P |
I don't want the decorator |
| 14:14 |
J-P |
<route source="_SERVER[HTTP_ACCEPT]" output_type="slot" stop="false" pattern="application/slot" /> |
| 14:15 |
v-dogg |
but your output type "slot" doesn't have a layout named "slot" |
| 14:16 |
v-dogg |
and there, my friend, lies the problem :) |
| 14:16 |
J-P |
I kinda see that. However, I'm puzzled why it's looking for that layout |
| 14:16 |
J-P |
weird but indeed |
| 14:16 |
saracen |
Do you understand what the lines doing? It checks HTTP_ACCEPT to see the web browsers excepts "application/slot". Which it won't, because that's a made up type :D |
| 14:16 |
J-P |
that's my problem |
| 14:16 |
saracen |
So the route is wrong, also |
| 14:16 |
saracen |
accepts* |
| 14:16 |
J-P |
I add the header with mootools |
| 14:17 |
saracen |
Oh i see. Doesn't mootools use application/json by default? |
| 14:17 |
J-P |
not with Request.HTML |
| 14:17 |
saracen |
I'd get rid of that name, to avoid confusion between slot layouts |
| 14:17 |
saracen |
Or manually set it to application/json |
| 14:17 |
J-P |
I don't want json in that case |
| 14:17 |
J-P |
I want html without the decorator |
| 14:18 |
J-P |
I could call that output type "naked" instead then |
| 14:18 |
saracen |
You don't have to change the output type for that, just change the layout |
| 14:19 |
J-P |
I know. I just thought it's cleaner to create an output type, instead of looking for a special header in setupHtml then forcing a different layout |
| 14:19 |
J-P |
and handle it with a routing rule |
| 14:22 |
J-P |
is it ? |
| 14:25 |
saracen |
You wouldn't have to look for a special header. If you gave that route a name (the one that checks the http_accept source), you could just check to see whether that route was matched. But I don't know, last time we discussed this, everybody else wanted to create an output_type for things I didnt :) |
| 14:26 |
saracen |
I like output_types being the definition of the content I'm returning (json (not ajax), html, xml etc.) |
| 14:30 |
zeeg |
[~pk@91.184.76.254] has quit [Ping timeout: 268 seconds] |
| 14:33 |
J-P |
it's possible to force a layout using only a route ? |
| 14:33 |
J-P |
instead of an output type |
| 14:33 |
hzilla |
J-P: does that view always return a slot or does it sometimes need a decorator? |
| 14:40 |
J-P |
not always |
| 14:40 |
J-P |
only sometime |
| 14:40 |
J-P |
let's say I'm thinking about refreshing only a piece of a page |
| 14:41 |
J-P |
with ajax of course |
| 14:41 |
J-P |
I load the page with ajax, extract the piece I want to refresh and replace it |
| 14:41 |
J-P |
in that case, I don't want the decorator to run |
| 14:42 |
hzilla |
yeh if it were always a slot u could just always call teh slot layout in your view and you would get your fragment |
| 14:42 |
J-P |
but its not |
| 14:42 |
hzilla |
precisely |
| 14:43 |
hzilla |
i'm not sure but a url param sounds easier than a custom http header |
| 14:43 |
hzilla |
then just do a loadlayout() in teh view based on that |
| 14:44 |
J-P |
actually with Mootool it's easier to add a custom header |
| 14:45 |
hzilla |
well then what's the prob? |
| 14:45 |
hzilla |
u r calling setupHtml which is loading the decorator? |
| 14:45 |
J-P |
I used to do it that way |
| 14:46 |
J-P |
but like I said, I thought it was cleaner to use a route and force an output type |
| 14:46 |
hzilla |
your output type is html so u should prbably stick with that and use loadlayout to select the slot layout which is apparently missing |
| 14:48 |
hzilla |
using teh custom header is throwing u off because u want to select layout in the route |
| 14:51 |
hzilla |
i guess u could set a named route param on the header in the route and swtich on that in the view |
| 15:06 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 15:07 |
nfq_ |
[~nfq@dyn.83-228-152-033.dsl.vtx.ch] has joined #agavi |
| 15:07 |
nfq |
[~nfq@dyn.144-85-146-064.dsl.vtx.ch] has quit [Ping timeout: 256 seconds] |
| 15:07 |
nfq_ |
is now known as nfq |
| 15:07 |
digitarald |
Huomenta |
| 15:07 |
sikkle |
[~sikkle@70.25.37.18] has quit [Ping timeout: 248 seconds] |
| 15:11 |
Rayne |
[~Rayne@pD9E35EB0.dip.t-dialin.net] has joined #agavi |
| 15:17 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Read error: Connection reset by peer] |
| 15:18 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 15:19 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Client Quit] |
| 15:24 |
J-P |
Is there any documentation about validating a header (for all actions) |
| 15:29 |
Xylakant |
J-P: it's the same as for any parameter, just use source="headers" |
| 15:29 |
J-P |
thnx |
| 15:29 |
Xylakant |
might also be source="HEADERS", I'm not certain about the casing atm |
| 15:30 |
Xylakant |
and if you need it validated in all actions you might just place it in app/config/validators.xml |
| 15:31 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 15:31 |
graste |
http://www.mivesto.de/agavi/agavi-faq.html#general_11 and http://www.mivesto.de/agavi/agavi-faq.html#validation_18 |
| 15:32 |
graste |
may help |
| 15:33 |
sth |
saracen: ping? |
| 15:34 |
saracen |
sth: ping! |
| 15:34 |
saracen |
err |
| 15:34 |
saracen |
o. |
| 15:35 |
sth |
saracen: Coming to London tomorrow? |
| 15:35 |
saracen |
No =( |
| 15:36 |
sth |
Why not? |
| 15:36 |
saracen |
I'm antisocial. Plus, the Agavi shirt you got me makes me look fat. |
| 15:36 |
sth |
david and I flew over especially. |
| 15:37 |
sth |
You don't have to wear the shirt |
| 15:37 |
saracen |
Haha, I know :P |
| 15:37 |
saracen |
But still |
| 15:37 |
sth |
C'mon... train + conf is like ?130 |
| 15:38 |
saracen |
Even if I wanted to, which I don't (PHP geeks calling other PHP geeks criminal!) I still can't |
| 15:39 |
sth |
You suck. |
| 15:39 |
saracen |
Yeah, I know =( |
| 15:40 |
nfq |
yo steffkes |
| 15:40 |
nfq |
sth: |
| 15:40 |
graste |
you could be there blaming others |
| 15:40 |
sth |
hey nfq |
| 15:41 |
nfq |
hey dude.. having fun being back home? |
| 15:41 |
nfq |
I'd love to have come |
| 15:41 |
nfq |
but I am sick in bed |
| 15:41 |
nfq |
sucks |
| 15:41 |
graste |
or calling other frameworks bollocks |
| 15:41 |
sth |
Between David moaning and using the tube, yes :D |
| 15:41 |
graste |
and fight with others after that |
| 15:41 |
luke` |
[~luke`@59.92.132.247] has joined #agavi |
| 15:41 |
nfq |
haha |
| 15:41 |
nfq |
sth: when you wanna chat? |
| 15:41 |
sth |
I can do it now if we only use text |
| 15:42 |
sth |
I'm in the apple store with David whilst he finishes a presentation |
| 15:42 |
nfq |
he's doing a presentation at the apple store |
| 15:42 |
nfq |
? |
| 15:42 |
nfq |
that's cool |
| 15:42 |
sth |
No, he's finishing writing one here |
| 15:42 |
nfq |
ah |
| 15:42 |
nfq |
I see |
| 15:43 |
v-dogg |
we souked his laptop again?-) |
| 15:43 |
graste |
isn't it always some sort of presentation when you apple fanboys meet each other in apple stores? ^^ |
| 15:43 |
v-dogg |
haha |
| 15:43 |
graste |
look at my iCandy here or your iEgo there |
| 15:43 |
graste |
:D |
| 15:46 |
saracen |
sth: Does David refer to you as his iBrit? |
| 15:47 |
sth |
No |
| 15:47 |
saracen |
=( |
| 15:47 |
graste |
:> |
| 15:47 |
graste |
but he most certainly runs around shouting iWon |
| 15:48 |
graste |
#racetolondon |
| 15:48 |
graste |
:D |
| 15:48 |
sth |
:( |
| 15:48 |
graste |
:\ |
| 15:53 |
hzilla |
sth what tims is david's presentation? |
| 15:55 |
graste |
are there livestreams? |
| 15:55 |
graste |
^^ |
| 15:59 |
sth |
hzilla: no idea |
| 15:59 |
hzilla |
ok what time u gonna get there? |
| 16:00 |
sth |
talks are at 8pm apparently |
| 16:01 |
hzilla |
ok |
| 16:02 |
sth |
We'll be there 7ish I guess |
| 16:02 |
hzilla |
alrigth see you later then |
| 16:03 |
sth |
Yup :) |
| 16:04 |
hzilla |
just realized its raining again :( |
| 16:04 |
sth |
yeah |
| 16:04 |
sth |
I don't have a coat either |
| 16:04 |
hzilla |
brolly? |
| 16:05 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 16:05 |
sth |
Nope |
| 16:06 |
sth |
I might go buy one |
| 16:06 |
hzilla |
get an iBrella |
| 16:06 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit [Quit: J-P] |
| 16:06 |
sth |
I'll use David's mac |
| 16:06 |
hzilla |
with built in ipad |
| 16:07 |
sth |
Stop mocking us :( |
| 16:07 |
hzilla |
its ok i use a mac too |
| 16:22 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has left #agavi ["Leaving"] |
| 16:24 |
v-dogg |
It is OK to be gay! |
| 16:24 |
v-dogg |
I'm mean... use Mac |
| 16:24 |
steffkes |
;D |
| 16:37 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has joined #agavi |
| 16:43 |
Zeelot2k |
[~lorenzo@67.50.8.11] has quit [Remote host closed the connection] |
| 16:53 |
Jarda |
v-dogg uses a mac secretly at home |
| 16:53 |
sth |
heh |
| 16:53 |
Jarda |
and then laughs at me @work |
| 16:53 |
Jarda |
and pretends to be a proud win user |
| 16:54 |
steffkes |
working toghter with an mac user .. wired people here ;D |
| 16:54 |
steffkes |
*together |
| 16:55 |
Jarda |
well, I use win7 at work too |
| 16:56 |
Jarda |
and I have nothing against it |
| 16:56 |
Jarda |
it would be kinda hard to develop C# on os x :) |
| 16:58 |
Xylakant |
works nicely in a vm |
| 16:58 |
Jarda |
well, I havent tried vmware fusion |
| 16:58 |
Jarda |
but virtualbox is shit |
| 16:59 |
Jarda |
and I guess our company can't afford buying me a mac pro, so that I could get as much performance I'm currently having |
| 17:09 |
v-dogg |
how much would you have to pay for a mac with 4gb ram and 10krpm raid1-disks? |
| 17:10 |
v-dogg |
oh, I guess you could use same disks + controller as you do now, right? |
| 17:10 |
v-dogg |
or do you need iDisks and iRaidController? |
| 17:18 |
Xylakant |
the issue is probably that you'd need to buy a mac pro for that setup |
| 17:21 |
Xylakant |
and you can't buy 4gb ram |
| 17:21 |
Xylakant |
it's either 3 or 6 |
| 17:22 |
Xylakant |
so you'd probably spend around 2500 - 3000 euros |
| 17:23 |
v-dogg |
ugh.. |
| 17:23 |
Xylakant |
hard to compare though since you'll have to buy a quad-core system |
| 17:24 |
Xylakant |
I'd love to get one of those |
| 17:24 |
Xylakant |
they're awesome machines |
| 17:25 |
v-dogg |
Jarda's machine has quad-core cpu |
| 17:26 |
Xylakant |
how much did it cost? |
| 17:28 |
graste |
my linux quadcore box at home cost less than 1000 euro :P (that's with intel SSD) |
| 17:28 |
v-dogg |
~500 euros + 250 (I think) for the 2 extra disks and raid-controller |
| 17:29 |
graste |
see |
| 17:29 |
graste |
:> |
| 17:31 |
Zeelot2k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 17:31 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] |
| 17:32 |
movvy |
hrhr |
| 17:32 |
movvy |
alright my last major task |
| 17:33 |
movvy |
then I should be able tof ill out the rest of my site pretty quickly |
| 17:33 |
v-dogg |
C Major |
| 17:33 |
movvy |
yeah mac's are way to expensive |
| 17:33 |
movvy |
fuck that shit |
| 17:34 |
graste |
C Senór |
| 17:34 |
graste |
they're not that bad |
| 17:34 |
graste |
how often do you buy computers? :p |
| 17:35 |
movvy |
bleh i dont see any value in a mac over a pc |
| 17:35 |
movvy |
so spending 3 times as much for a product that isnt as good |
| 17:35 |
movvy |
just doesnt do it for me |
| 17:36 |
graste |
isn't as good is simply wrong :-) |
| 17:36 |
graste |
it's different - hardware is pretty much the same |
| 17:36 |
graste |
but more expensive |
| 17:36 |
graste |
you'll be billed for user experience :D |
| 17:43 |
saracen |
So you're just talking about the software? |
| 17:43 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 17:43 |
saracen |
Can't I buy the operating system for like 170 quid? So where they overcharge me would be on the hardware which is "pretty much the same" |
| 17:44 |
Xylakant |
graste: no, you're being billed for a tested subset of hardware that's rigorously tested to integrate with the software |
| 17:44 |
Xylakant |
actually, the hardware found in apple computers is pretty expensive if you buy it standalone |
| 17:45 |
saracen |
Like what? |
| 17:46 |
Xylakant |
try to buy a laptop comparable to a macbook pro and you'll see little price difference |
| 17:46 |
graste |
that's right |
| 17:46 |
graste |
2.5ghz are not that common in pcs |
| 17:47 |
graste |
or whatever the number is atm |
| 17:47 |
graste |
^^ |
| 17:47 |
Xylakant |
2.93 is the top of the line i thing |
| 17:47 |
Xylakant |
-g +k |
| 17:47 |
graste |
looked that up a few weeks ago |
| 17:47 |
graste |
i c |
| 17:47 |
saracen |
Xylakant: So things I can replace in a laptop... memory and hard disc, pretty much? |
| 17:47 |
Xylakant |
mine still is at 2.53 |
| 17:47 |
graste |
ought to be enough :p |
| 17:47 |
Xylakant |
yes, it is |
| 17:48 |
Xylakant |
the faster ones tend to run hot |
| 17:48 |
Xylakant |
there's more advantages of a macbook over a cheap laptop |
| 17:48 |
nfq |
just read up on the conversation.. movvy where do you get the idea that macs cost 3 times as much>? |
| 17:48 |
nfq |
I am sick of misinformation |
| 17:48 |
Xylakant |
the cooling system is well done, fans are running quiet |
| 17:49 |
Xylakant |
all that stuff is actually costs cash |
| 17:49 |
Xylakant |
you can buy a comparable laptop from sony, but the vayos are not the cheapest laptops either |
| 17:49 |
saracen |
Yeah, the build quality of the macbooks is good. I'd buy one of those over a laptop anyday (if i had the cash) |
| 17:49 |
graste |
pretty expensive even |
| 17:49 |
saracen |
But for desktop |
| 17:49 |
saracen |
The price is stupid |
| 17:49 |
saracen |
I don't care what the box looks like |
| 17:50 |
Xylakant |
well, the mac pro is not a desktop machine |
| 17:50 |
Xylakant |
it |
| 17:50 |
nfq |
yeah, if you compare the hardware specs of any mac to a the same with dell, you'll pay close to the same and sometimes more |
| 17:50 |
Xylakant |
it's made for video and graphics editing, expensive graphics cards, solid mainboard, ... |
| 17:50 |
Xylakant |
space for 8-core cpus and 32gb ram |
| 17:51 |
saracen |
I wanted to buy one :). But I ended up buying a camera instead :) |
| 17:51 |
Xylakant |
you can easily spend 10k euros on such a thing |
| 17:51 |
graste |
indeed |
| 17:51 |
graste |
that's why I got me a core i5 740 with ubuntu :p |
| 17:51 |
graste |
750 |
| 17:52 |
saracen |
Argh |
| 17:52 |
Xylakant |
yes, certainly |
| 17:52 |
graste |
should've put 8gb of ram in it :-) |
| 17:52 |
graste |
:\ |
| 17:52 |
saracen |
Compiling C++ is so damn slow =( |
| 17:52 |
saracen |
I need moar cores |
| 17:52 |
Xylakant |
but that's not comparable :) |
| 17:52 |
graste |
yep |
| 17:53 |
graste |
mac bashing is just to easy when you never had one or are just comparing prices for opening up spreadsheet apps :P |
| 17:53 |
Xylakant |
certainly |
| 17:54 |
v-dogg |
I need faster disks. that always seems to be bottle neck |
| 17:54 |
Xylakant |
ssd FTW :) |
| 17:54 |
graste |
! |
| 17:55 |
graste |
never looked back or at that 200 euro again |
| 17:55 |
nfq |
can't wait until ssd is cheaper and has more space |
| 17:55 |
graste |
nfq it's no exchange for (external) storage |
| 17:55 |
nfq |
right |
| 17:55 |
graste |
but 80gb for your OS should be enough |
| 17:55 |
nfq |
but on a MBP |
| 17:56 |
graste |
and it's less than 200 euro now |
| 17:56 |
nfq |
yeah |
| 17:56 |
Xylakant |
well, you can exchange the cd drive |
| 17:56 |
nfq |
but then I always need an external connected |
| 17:56 |
Xylakant |
put it in an external case |
| 17:56 |
nfq |
ah |
| 17:56 |
nfq |
that might work |
| 17:56 |
nfq |
either way |
| 17:56 |
Xylakant |
it's rare that you need the cd drive nowadays |
| 17:57 |
nfq |
true |
| 17:57 |
nfq |
apple will soon, maybe in a year or so, mac optical drives non standard on all their portables |
| 17:57 |
nfq |
I think |
| 17:57 |
graste |
& |
| 17:58 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:58 |
Xylakant |
i doubt it's in a year or two |
| 17:58 |
Xylakant |
people still use the drives to watch dvds etc |
| 17:59 |
Xylakant |
and apple is still targeting the consumer market |
| 17:59 |
nfq |
true |
| 17:59 |
nfq |
might take longer |
| 17:59 |
nfq |
but they'll be the first |
| 18:00 |
nfq |
Steve Jobs has already said optical drives are old |
| 18:05 |
Jarda |
yeah, my work computer is a quad core intel with 4G of ram and raid1 disks (10k rpm each) |
| 18:05 |
Jarda |
and win7 really is a good operating system |
| 18:05 |
Jarda |
there are a lot of nice usability short cuts |
| 18:06 |
Jarda |
but at home I prefer to use my macbook pro |
| 18:06 |
nfq |
it's still Windows |
| 18:06 |
Jarda |
nfq: which isn't a bad thing at all |
| 18:06 |
nfq |
I think it is a terrible thing |
| 18:06 |
Jarda |
why is that? |
| 18:06 |
nfq |
Windows has held back the industry for 20 years |
| 18:06 |
Jarda |
so? |
| 18:06 |
nfq |
and finally we are coming out of the dark ages |
| 18:06 |
Jarda |
well, it's business |
| 18:07 |
nfq |
yes, that doesn't mean it's a good thing |
| 18:07 |
Jarda |
there hasn't been that much good alternatives |
| 18:07 |
nfq |
no? |
| 18:07 |
nfq |
give me a break |
| 18:07 |
Jarda |
(until apple started to make intel based computers) |
| 18:07 |
nfq |
OS X and even OS 9/8 was way better |
| 18:07 |
nfq |
haha |
| 18:07 |
nfq |
dude |
| 18:07 |
nfq |
OS X was fine on the power PC |
| 18:08 |
nfq |
I've used all types of OS's for the last 10 years |
| 18:08 |
Jarda |
yeah, just slow as hell, as G5 did never make it to laptops |
| 18:08 |
nfq |
and nothing compared to OS X |
| 18:08 |
nfq |
yes |
| 18:08 |
nfq |
slow on the G4's |
| 18:08 |
nfq |
either way, I always came back to Mac |
| 18:08 |
nfq |
no matter what I tried |
| 18:08 |
nfq |
I think Windows is dirt |
| 18:09 |
nfq |
really, they don't get anything right |
| 18:09 |
Jarda |
win xp was usable, vista was/is a piece of shit |
| 18:09 |
nfq |
XP was usable |
| 18:09 |
nfq |
deffo |
| 18:09 |
nfq |
but I want something more than usable |
| 18:09 |
Jarda |
but win7 really is the best windows ever made |
| 18:09 |
nfq |
I want to enjoy my work |
| 18:09 |
Jarda |
almost compares to os x |
| 18:09 |
nfq |
win7, yeah I'd agree |
| 18:09 |
nfq |
I still don't enjoy using it |
| 18:09 |
Rayne |
[~Rayne@pD9E35EB0.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 18:10 |
Jarda |
the only problem is the crappy command prompt |
| 18:10 |
nfq |
and the fact I spend like 8 hours day or more in front of this machine, if I was using win7 for this, I'd feel shit when I got hime |
| 18:10 |
nfq |
home! |
| 18:10 |
nfq |
the file system is still holding Windows back |
| 18:10 |
Jarda |
what's wrong with ntfs? |
| 18:10 |
nfq |
the fact that they still haven't introduced WinFS is stupid |
| 18:11 |
nfq |
well, it's not just ntfs |
| 18:11 |
saracen |
What's right with ntfs? |
| 18:11 |
nfq |
it's the registry |
| 18:11 |
nfq |
and all the dll bullshit that still occurs |
| 18:11 |
nfq |
win7 still needs virus softare |
| 18:11 |
nfq |
software |
| 18:11 |
nfq |
and so on |
| 18:11 |
nfq |
they don't take chances |
| 18:12 |
nfq |
one thing I have to say about apple, with all the shit they've done |
| 18:12 |
nfq |
the bad things I mean.. they at least take chances |
| 18:12 |
nfq |
like, not making Snow Leopard PowerPC compatible |
| 18:12 |
nfq |
or moving to intel |
| 18:12 |
saracen |
Yeah, as seen recently with the iPad too |
| 18:12 |
nfq |
or trashing OS9 |
| 18:13 |
saracen |
what a chance to release something that nobody wants |
| 18:13 |
nfq |
saracen: haha you think? |
| 18:13 |
nfq |
dude, you are more than wrong |
| 18:13 |
nfq |
people will buy this in droves |
| 18:13 |
nfq |
that much is already clear |
| 18:13 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 18:13 |
saracen |
Fanboys will buy it to complete their iCollection |
| 18:13 |
Xylakant |
saracen: I'll get one |
| 18:13 |
hzilla |
seen this? http://www.zazzle.co.uk/php_women_2010_large_calendar-158038689179469171 |
| 18:13 |
nfq |
me too.. |
| 18:14 |
nfq |
iPad is going to be huge |
| 18:14 |
nfq |
it's got some things I'll miss |
| 18:14 |
Xylakant |
not because I'm a fanboy but it's the first solid ebook reader that can also play a video |
| 18:14 |
nfq |
but 2nd, or 3rd generation |
| 18:14 |
Jarda |
nfq: don't get me wrong, I'm not anti apple or a windows fan. I just want to use the right tool to the task at hand |
| 18:14 |
nfq |
Jarda: well said |
| 18:14 |
nfq |
me too |
| 18:14 |
nfq |
when I have to test a web app all day on Windows |
| 18:14 |
nfq |
I come home very frustrated |
| 18:14 |
nfq |
let me be clearer: IE |
| 18:15 |
Jarda |
50-80% of my work is coding C#, for that win7 with a powerfull pc is the right tool |
| 18:15 |
nfq |
but even the Windows environment, it hurts |
| 18:15 |
digitarald |
Xylakant: reading ebooks on backlit? come on |
| 18:15 |
nfq |
Jarda: right, that makes sense.. you programming in .NET? |
| 18:15 |
Jarda |
nfq: yeah, winforms+.NET |
| 18:15 |
nfq |
digitarald: what's the problem with that? |
| 18:15 |
saracen |
Xylakant: If you must, I suppose. I just think it could have been so much better. I don't think I'd carry one around to just watch video. |
| 18:16 |
digitarald |
backlit vs e-ink ... reading is awesome on my kindle |
| 18:16 |
Jarda |
the rest is coding php (minus IRC and coffee drinking) |
| 18:16 |
Xylakant |
well, I want a device that I can take on a train that will display an ebook, play video and music and all the stuff I want when i'm travelling |
| 18:16 |
nfq |
saracen: I'd be interested to see what you think when you play with it.. I just have the feeling it will fill a void for a certain demographic |
| 18:16 |
nfq |
like my gran |
| 18:16 |
saracen |
Xylakant: And when you get to your destination, you'll take out your macbook, right? |
| 18:16 |
nfq |
digitarald: you own a kindle? you paid 500 bucks for it? |
| 18:16 |
nfq |
out |
| 18:16 |
nfq |
ouch! |
| 18:16 |
digitarald |
no, I didn't ;) |
| 18:17 |
Xylakant |
saracen: yes, I probably will |
| 18:17 |
nfq |
lucky you |
| 18:17 |
saracen |
I'd just watch video on my iphone |
| 18:17 |
Jarda |
iPad might be huge if they get a big eBook library |
| 18:17 |
nfq |
they will with time |
| 18:17 |
nfq |
thing is, apple thought alot about it |
| 18:17 |
nfq |
they tried everything out |
| 18:17 |
nfq |
they didn't jut launch this thing |
| 18:18 |
saracen |
Really? |
| 18:18 |
nfq |
haha |
| 18:18 |
nfq |
well |
| 18:18 |
saracen |
I thought they looked at what they already have |
| 18:18 |
saracen |
and made the screen bigger. |
| 18:18 |
nfq |
people act like it's trash |
| 18:18 |
nfq |
on some tech blogs |
| 18:18 |
saracen |
and then took away some features |
| 18:18 |
nfq |
saracen: you being serious? |
| 18:18 |
nfq |
and thing is |
| 18:18 |
nfq |
what they have is already awesome |
| 18:18 |
nfq |
why change it |
| 18:18 |
nfq |
but |
| 18:18 |
nfq |
they went way deeper |
| 18:18 |
nfq |
screen is a different aspect ratio |
| 18:18 |
nfq |
why? |
| 18:19 |
nfq |
cheaper LEDS? |
| 18:19 |
nfq |
no way |
| 18:19 |
saracen |
The only thing I'm looking forward to from the iPad is the competition. If they can push more manufactuers to create similar devices, where I can then run my own applications on... That'll be awesome |
| 18:19 |
nfq |
they chose this size on purpose |
| 18:19 |
saracen |
We need a buzz like we got with the eeepc |
| 18:19 |
nfq |
I do agree with the applications thing.. I hope they somehow make it possible to run a more desktop like version if OS X |
| 18:19 |
nfq |
at some point |
| 18:20 |
saracen |
If it was OS X on the iPad |
| 18:20 |
saracen |
I'd be all over it :) |
| 18:20 |
nfq |
it is OS X |
| 18:20 |
saracen |
I mean |
| 18:20 |
nfq |
right |
| 18:20 |
nfq |
got you |
| 18:20 |
saracen |
Yeah |
| 18:20 |
saracen |
:) |
| 18:20 |
nfq |
sorry, I just read blogs |
| 18:20 |
nfq |
like 'there's no OS X; |
| 18:20 |
nfq |
I can't stand that shit |
| 18:20 |
Xylakant |
nfq: it's not - it's Iphone-OS |
| 18:20 |
nfq |
iPhone OS is OS X dude |
| 18:20 |
Xylakant |
which is somewhat related to os x but it's not the same |
| 18:20 |
nfq |
it's not the same.. but it's OS X |
| 18:21 |
saracen |
Yeah, there needs to be some distinction. :) |
| 18:21 |
nfq |
built from OS X and optimised for ARM |
| 18:21 |
nfq |
and adapting the UI |
| 18:21 |
saracen |
Well anyway. It'd have been nicer if you had more freedom with it |
| 18:22 |
nfq |
yeah |
| 18:22 |
saracen |
So, I'm hoping competition will fill the void |
| 18:22 |
nfq |
I do with that too |
| 18:22 |
nfq |
it might,. maybe some new company |
| 18:22 |
nfq |
I doubt the usual suspects will do anything awesome |
| 18:22 |
nfq |
I wish they would |
| 18:22 |
nfq |
apple have only really been pushing themselves for years |
| 18:22 |
nfq |
they could use proper outer competition |
| 18:22 |
nfq |
that's my view anyway |
| 18:23 |
nfq |
Like, I read this article http://www.quirksmode.org/blog/archives/2010/02/the_iphone_obse.html#more |
| 18:23 |
nfq |
and the argument is maybe interesting |
| 18:23 |
nfq |
but not based on reality |
| 18:24 |
digitarald |
bye guys |
| 18:24 |
saracen |
I see people using the iphone literally everywhere now |
| 18:24 |
saracen |
Everybody I've had a meet up with through work, has got one |
| 18:25 |
saracen |
70% on my hiphop build of agavi :D |
| 18:26 |
saracen |
I got to 89% earlier, then ran in to an error. Bet the same thing happens, then it's repeat again for agggess |
| 18:26 |
nfq_ |
[~nfq@dyn.83-228-137-019.dsl.vtx.ch] has joined #agavi |
| 18:28 |
nfq |
[~nfq@dyn.83-228-152-033.dsl.vtx.ch] has quit [Ping timeout: 264 seconds] |
| 18:28 |
nfq_ |
is now known as nfq |
| 18:28 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 18:37 |
matbtt_ |
[~matbtt@port-92-202-103-15.dynamic.qsc.de] has joined #agavi |
| 18:52 |
Zeelot2k |
[~lorenzo@67.50.8.11] has quit [Read error: Connection reset by peer] |
| 18:53 |
Zeelot2k |
[~lorenzo@67.50.8.11] has joined #agavi |
| 19:04 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 19:04 |
SasanRose |
[~SasanRose@92.50.6.10] has quit [Quit: leaving] |
| 19:12 |
SasanRose |
[~SasanRose@92.50.6.10] has joined #agavi |
| 19:20 |
graste |
[~graste@f053002048.adsl.alicedsl.de] has joined #agavi |
| 19:23 |
movvy |
hmm |
| 19:23 |
movvy |
$populate = new AgaviParameterHolder(); |
| 19:23 |
movvy |
$populate->setParameter('foo', $bar); |
| 19:23 |
movvy |
$this->getContext()->getRequest()->setAttribute('populate', array( 'form_id'=>$populate), 'org.agavi.filter.FormPopulationFilter'); |
| 19:24 |
movvy |
do i literally just set all of my fields individually? |
| 19:24 |
movvy |
with setParameter? |
| 19:29 |
v-dogg |
AgaviParameterHolder offers setParameters(array) and you can also give an array to the constructor |
| 19:29 |
v-dogg |
BUT there is a better way |
| 19:31 |
v-dogg |
<input name="user[Name]" /> <input name=user[Email] /> and then $populate = new AgaviParameterHolder(array('user'=>$myUserObject->toArray())); |
| 19:31 |
v-dogg |
I use this extensively |
| 19:41 |
movvy |
gotcha interesante |
| 19:44 |
haji |
is now known as everplays |
| 19:47 |
luke` |
[~luke`@59.92.132.247] has quit [Ping timeout: 265 seconds] |
| 19:54 |
luke` |
[~luke`@59.92.134.31] has joined #agavi |
| 20:04 |
matbtt_ |
[~matbtt@port-92-202-103-15.dynamic.qsc.de] has quit [Quit: matbtt_] |
| 20:43 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Remote host closed the connection] |
| 21:10 |
saracen |
sth: ping? |
| 21:56 |
everplays |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 22:01 |
movvy |
saracen are you in the UK? I forget? |
| 22:02 |
saracen |
yeah, i am |
| 22:02 |
movvy |
London? |
| 22:02 |
saracen |
nah :P |
| 22:02 |
movvy |
gotcha |
| 22:02 |
saracen |
Spalding |
| 22:03 |
movvy |
oh wow |
| 22:03 |
movvy |
your kinda in the middle of nowhere huh |
| 22:03 |
saracen |
:) |
| 22:05 |
movvy |
i need to find a fulltime guy nw |
| 22:05 |
movvy |
now* |
| 22:38 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] |
| 22:48 |
SasanRose |
[~SasanRose@92.50.6.10] has quit [Quit: leaving] |
| 23:26 |
MaximusColourum |
[~bryan@71.15.127.142] has quit [Quit: MaximusColourum] |
| 23:27 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 23:40 |
luke` |
[~luke`@59.92.134.31] has quit [Read error: Connection reset by peer] |
| 23:55 |
graste |
[~graste@f053002048.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| Day changed Fri Feb 26 2010
|
| 00:08 |
saracen |
Can you guys vote this up if you have a github account: http://github.com/facebook/hiphop-php/issues#issue/48 |
| 00:08 |
saracen |
:) |
| 00:26 |
nfq |
[~nfq@dyn.83-228-137-019.dsl.vtx.ch] has quit [Quit: nfq] |
| 02:32 |
luke` |
[~luke`@59.92.134.31] has joined #agavi |
| 05:31 |
luke` |
[~luke`@59.92.134.31] has quit [Quit: luke`] |
| 05:48 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:04 |
movvy |
alright, I have an exciting question for everyone! :) |
| 06:13 |
haji1 |
[~dp@89.165.20.228] has joined #agavi |
| 06:14 |
Jarda |
let us hear it |
| 06:14 |
haji |
[~dp@unaffiliated/everplays] has quit [Ping timeout: 256 seconds] |
| 06:15 |
haji1 |
is now known as everplays |
| 06:15 |
everplays |
[~dp@89.165.20.228] has quit [Changing host] |
| 06:15 |
everplays |
[~dp@unaffiliated/everplays] has joined #agavi |
| 06:17 |
v-dogg |
movvy: seriously, just ask |
| 06:44 |
v-dogg |
[vmakinen@kapsi.fi] has quit [Ping timeout: 246 seconds] |
| 06:45 |
v-dogg |
[vmakinen@kapsi.fi] has joined #agavi |
| 07:02 |
SasanRose |
[~SasanRose@92.50.6.10] has joined #agavi |
| 07:06 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has joined #agavi |
| 07:13 |
luke` |
[~luke`@122.172.85.52] has joined #agavi |
| 07:21 |
johnutzm |
[~ionut@195.246.243.234] has joined #agavi |
| 07:38 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has joined #agavi |
| 08:24 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi |
| 08:52 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 08:53 |
simoncpu |
wee weee weeee |
| 08:53 |
simoncpu |
huomenta weee wee weeeee |
| 08:53 |
johnutzm |
huomenta! |
| 08:53 |
graste |
huomenta |
| 08:54 |
johnutzm |
so, how's the weather? |
| 08:54 |
Xylakant |
[~Xylakant@87.79.35.60] has joined #agavi |
| 08:54 |
johnutzm |
:D |
| 08:58 |
simoncpu |
the weather is so fine here in the tropical paradise of Cebu, Philippines! |
| 09:00 |
simoncpu |
johnutzm: you're in romania? |
| 09:00 |
johnutzm |
yes |
| 09:00 |
johnutzm |
in the foggy bucarest |
| 09:00 |
matbtt |
[~9b3844d6@gateway/web/freenode/x-jgcrivzacsvbzspf] has joined #agavi |
| 09:02 |
simoncpu |
uh... do you guys know where i can find projects that use agavi? |
| 09:02 |
simoncpu |
i hate working on a project that use zend... i thought zend was supposed to be ok |
| 09:02 |
simoncpu |
but the project that i'm working doesn't even have a facility for doing something like getModel() |
| 09:02 |
v-dogg |
where did you get that idea?! :D |
| 09:03 |
simoncpu |
so they just load all files |
| 09:03 |
v-dogg |
... let the framework war begin... ;) |
| 09:03 |
simoncpu |
v-dogg: dunno... from various articles, i guess.... |
| 09:03 |
simoncpu |
maybe my teammates are just using zend incorrectly, i guess |
| 09:04 |
johnutzm |
there's no Zend_Model :D |
| 09:04 |
simoncpu |
there isn't? |
| 09:04 |
johnutzm |
well you should integrate the team and use it incorrectly too |
| 09:05 |
simoncpu |
i'm working on a project part time and i was expecting that i can just jump in to the code and immediately start working |
| 09:05 |
johnutzm |
AFAIK,it does not |
| 09:06 |
markiv |
[~markiv@123.236.0.7] has joined #agavi |
| 09:06 |
markiv |
how do i get the request method from inside a view's executeHtml() method? |
| 09:07 |
johnutzm |
a common approach is to consider Zend_Db_Table as model |
| 09:07 |
v-dogg |
unlike Agavi, Zend doesn't seem to have even loose "project/coding/naming standards" so that you really can't just jump in and know your way around the project |
| 09:08 |
simoncpu |
yeah... true true |
| 09:08 |
v-dogg |
markiv: $this->getContext()->getRequest()->getMethod() (or was it getRequestMethod) |
| 09:08 |
v-dogg |
see agavi.org/apidocs |
| 09:09 |
v-dogg |
getMethod() |
| 09:18 |
markiv |
thank you |
| 09:32 |
skade |
[~skade@p54AD6FA2.dip.t-dialin.net] has joined #agavi |
| 09:32 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 09:38 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has joined #agavi |
| 10:05 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has quit [Quit: Leaving] |
| 10:30 |
markiv |
[~markiv@123.236.0.7] has quit [Read error: Connection reset by peer] |
| 10:39 |
skade |
[~skade@p54AD6FA2.dip.t-dialin.net] has quit [Quit: skade] |
| 10:42 |
_cheerios |
[~cheerios@88.193.83.40] has joined #agavi |
| 10:42 |
_cheerios |
huomenta! |
| 10:48 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 10:52 |
_cheerios |
budget for new machines at office got approved. \o/ 2-year-old laptop can finally be sent to the laptop graveyard. |
| 10:52 |
_cheerios |
i'm thinking Apple iMac 21,5", 3,06 GHz + Ubuntu on it :) |
| 11:19 |
Jarda |
you are weird |
| 11:19 |
Jarda |
you get a pretty computer with a good operating system and then install an ugly crappy os on it |
| 11:21 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has joined #agavi |
| 11:22 |
digitarald |
Huomenta |
| 11:39 |
skade |
[~skade@p5B11D187.dip.t-dialin.net] has joined #agavi |
| 11:42 |
markiv |
[~markiv@123.236.0.7] has joined #agavi |
| 11:45 |
markiv |
i have an application with 3 different output types. in case of an error, i want the error view to redirect to the default module's 404 page, which contains executexml() executerss() etc methods for each output type. the only way that i was able to do this was to create executexxx methods for each output type in my error view as well, each redirecting to the 404 container. is there a way for me to define a single execute() method in my error view that handles re |
| 11:50 |
Xylakant |
define execute(); |
| 11:51 |
simoncpu |
Jarda: i'm planning to replace my macbook with freebsd too |
| 11:51 |
simoncpu |
because more and more applications are dropping support for mac os x 10.4 |
| 11:51 |
simoncpu |
firefox even stopped supporting it |
| 11:53 |
markiv |
xylakant: i defined execute() but i get a message saying cannot override Cannot override final method AppBaseView::execute() |
| 11:53 |
Xylakant |
well, but the AppBaseView is in your project |
| 11:54 |
Xylakant |
you can decide to remove the final keyword |
| 11:54 |
Rendez_ |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 11:54 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 11:54 |
Rendez_ |
is now known as Rendez |
| 12:18 |
_cheerios |
OMG, debugged for an hour a JS form submit using $$('... li').click(), where the <input/> was below the <li/>, wondering why the input-value didn't always get set... |
| 12:19 |
graste |
^^ |
| 12:19 |
graste |
my favorite gotcha is missing return statements somewhere in the code <: |
| 12:21 |
Jarda |
simoncpu: well just update os x :) |
| 12:21 |
simoncpu |
that would cost $100 |
| 12:21 |
simoncpu |
hehehe |
| 12:21 |
Jarda |
..... |
| 12:23 |
Xylakant |
simoncpu: snow leopard costs 29euros |
| 12:23 |
Xylakant |
I didn't know the exchange rate was so bad for dollars |
| 12:23 |
simoncpu |
i think it only cost that much if you upgrade from leopard |
| 12:24 |
simoncpu |
leopard -> snow leopard 29euros |
| 12:24 |
simoncpu |
tiger -> snow leopard = whole suite |
| 12:24 |
graste |
that's how sw licences work usually |
| 12:24 |
markiv |
[~markiv@123.236.0.7] has quit [Read error: Connection reset by peer] |
| 12:25 |
Xylakant |
well, it says so |
| 12:25 |
Xylakant |
however, in the german apple store, the upgrade is the only one for sale |
| 12:26 |
skade |
the SL installer is perfectly capable to install 10.6 over 10.4 |
| 12:26 |
skade |
worked like a charm |
| 12:36 |
codecop |
[~codecop@88-119-253-245.static.zebra.lt] has quit [Read error: Operation timed out] |
| 13:09 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has joined #agavi |
| 13:18 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 13:18 |
simoncpu |
[~soulfury@ph.infoweapons.com] has quit [Ping timeout: 276 seconds] |
| 13:21 |
simoncpu_ |
[~soulfury@ph.infoweapons.com] has quit [Client Quit] |
| 13:29 |
krycek_ |
does anyone have an AgaviOutletDatabase.class.php to share? |
| 13:34 |
Xylakant |
whatever outletdatabase is |
| 13:38 |
v-dogg |
krycek_: what is it? |
| 13:39 |
krycek_ |
outlet? orm |
| 13:39 |
krycek_ |
I haven't used it yet |
| 13:44 |
krycek_ |
but I've just read that it doesn't support composite primary keys ;/ |
| 13:47 |
krycek_ |
I saw David complaining about Doctrine. What does he recommend instead? |
| 13:47 |
krycek_ |
or is it the best choice even it's not being perfect? |
| 13:49 |
_cheerios |
lol @ canada women's icehockey team boozing after match win at the olympics |
| 14:06 |
Jarda |
krycek_: propel! |
| 14:07 |
J-P |
[~mrjeep@modemcable086.163-70-69.static.videotron.ca] has joined #agavi |
| 14:08 |
steffkes |
[~steffkes@pd95b9c11.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] |
| 14:09 |
krycek_ |
yeah, I'm reading about it right now. Looks much better than doctrine. I really liked how behaviors work. |
| 14:10 |
Xylakant |
well, propel has it's very own set of problems and gripes |
| 14:10 |
Xylakant |
still it's a valid choice |
| 14:11 |
krycek_ |
can you say one or two problems? |
| 14:11 |
J-P |
I would say Criteria has it's own limits |
| 14:11 |
J-P |
this is basically why I switched to doctrine |
| 14:13 |
krycek_ |
how doctrine deals with queries looks more intuitive indeed... but propel 1.5 looks better than 1.4 in that matter |
| 14:15 |
Xylakant |
some sort of joins were very painful |
| 14:15 |
Xylakant |
it's been a while since I worked with propel though |
| 14:15 |
Xylakant |
1.3 was the last version i personally used |
| 14:15 |
J-P |
same here |
| 14:18 |
krycek_ |
/ Propel 1.5 |
| 14:18 |
krycek_ |
$articles = ArticleQuery::create() |
| 14:18 |
krycek_ |
->useAuthorQuery() |
| 14:18 |
krycek_ |
->useGroupQuery() |
| 14:18 |
krycek_ |
->filterByName('The Foos') |
| 14:18 |
krycek_ |
->endUse() |
| 14:18 |
krycek_ |
->endUse() |
| 14:18 |
krycek_ |
->find() |
| 14:18 |
krycek_ |
not bad, hu? |
| 14:20 |
v-dogg |
yes, the new query API is quite nice (disclaimer: I haven't tried it in real life yet but at least it looks nice compared to Criteria which can be a pain in the butt) |
| 14:26 |
_cheerios |
nesting in query creation? hmm. |
| 14:31 |
krycek_ |
hmm good or hmm bad? |
| 14:33 |
_cheerios |
looks powerful, yet, i'm left wondering what it actually does :) |
| 14:35 |
krycek_ |
http://propel.posterous.com/the-ultimate-orm-query-api-only-with-propel |
| 14:35 |
krycek_ |
here he explains why it uses create() |
| 14:36 |
_cheerios |
factory method due php limitations most likely |
| 14:39 |
_cheerios |
improvement against 1.4 syntax in any case |
| 14:40 |
_cheerios |
but far from "the ultimate" :p |
| 14:42 |
Xylakant |
the ultimate language for dsls is ruby in any case |
| 14:42 |
movvy |
Scorp1on |
| 14:42 |
skade |
you have to admit that naming does look a lot like ActiveRecord in those examples |
| 14:43 |
Xylakant |
movvy: so now we only need you to tell us which account that was the password for |
| 14:43 |
movvy |
lol |
| 14:43 |
movvy |
you are indeed right, that was a password |
| 14:44 |
movvy |
so I have an idea how to go about making some SOAP based API's in agavi |
| 14:44 |
movvy |
but what im confused about is authentication |
| 14:49 |
movvy |
should i just include a login and pass field in every api? |
| 14:49 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 14:59 |
horros |
[~horros@a88-115-201-11.elisa-laajakaista.fi] has quit [Quit: Meh] |
| 15:08 |
Xylakant |
movvy: feel free to post to the mailing list, i have to run, need to catch a train |
| 15:08 |
Xylakant |
cu all |
| 15:08 |
Xylakant |
[~Xylakant@87.79.35.60] has quit [Quit: Xylakant] |
| 15:11 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 15:25 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Ping timeout: 265 seconds] |
| 15:26 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 15:26 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 15:42 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has joined #agavi |
| 16:04 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 16:19 |
digitarald |
[~digitaral@102.45.202.62.cust.bluewin.ch] has quit [Quit: digitarald] |
| 16:52 |
johnutzm |
[~ionut@195.246.243.234] has quit [Quit: Leaving.] |
| 17:00 |
skade |
[~skade@p5B11D187.dip.t-dialin.net] has quit [Quit: skade] |
| 17:13 |
matbtt |
[~9b3844d6@gateway/web/freenode/x-jgcrivzacsvbzspf] has quit [Ping timeout: 252 seconds] |
| 17:20 |
macen |
[~macen@78-105-119-23.zone3.bethere.co.uk] has quit [Quit: macen] |
| 17:40 |
saracen |
[~saracen@goto.fiveturns.org] has quit [Quit: leaving] |
| 17:40 |
saracen |
[~saracen@goto.fiveturns.org] has joined #agavi |
| 17:41 |
johnutzm |
[~ionut@86.104.252.118] has joined #agavi |
| 17:47 |
graste |
[~graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi [] |
| 17:56 |
luke` |
[~luke`@122.172.85.52] has quit [Quit: luke`] |
| 18:00 |
_cheerios |
[~cheerios@88.193.83.40] has quit [Ping timeout: 246 seconds] |
| 18:10 |
johnutzm |
[~ionut@86.104.252.118] has quit [Quit: Leaving.] |
| 18:38 |
MaximusColourum |
is now known as Colonel-Rosy |
| 18:38 |
graste |
[~graste@f053000241.adsl.alicedsl.de] has joined #agavi |
| 18:40 |
Colonel-Rosy |
is now known as Brigadier-Rosa |
| 18:41 |
Brigadier-Rosa |
is now known as Max-Colour |
| 18:47 |
Max-Colour |
is now known as zombor |
| 18:47 |
zombor |
is now known as Guest12013 |
| 18:50 |
Guest12013 |
[~bryan@71.15.127.142] has left #agavi [] |
| 18:54 |
everplays |
[~dp@unaffiliated/everplays] has quit [Quit: Leaving.] |
| 19:01 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 19:06 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 19:06 |
haji |
[~dp@unaffiliated/everplays] has quit [Client Quit] |
| 19:06 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 19:13 |
Seldaek |
[~seld@intertubes.ch] has left #agavi [] |
| 19:30 |
krycek_ |
[~krycek_@201-25-32-182.paemt705.dsl.brasiltelecom.net.br] has quit [Remote host closed the connection] |
| 19:56 |
MaximusColourum |
[~bryan@71.15.127.142] has joined #agavi |
| 20:01 |
MaximusColourum |
is now known as GetSmarter |
| 20:11 |
Jarda |
I love fpf, just that you know it |
| 20:18 |
GetSmarter |
is now known as Maximus-Colourum |
| 20:21 |
nfq |
[~nfq@dyn.144-85-194-177.dsl.vtx.ch] has joined #agavi |
| 20:28 |
codecop__ |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 245 seconds] |
| 20:39 |
skade |
[~skade@p5B11D187.dip.t-dialin.net] has joined #agavi |
| 20:59 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 21:10 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 21:10 |
Rayne |
[~Rayne@pD9E37F73.dip.t-dialin.net] has joined #agavi |
| 21:10 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: Rendez] |
| 21:11 |
skade |
[~skade@p5B11D187.dip.t-dialin.net] has left #agavi [] |
| 21:13 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 21:38 |
SasanRose |
[~SasanRose@92.50.6.10] has quit [Quit: leaving] |
| 22:13 |
johnutzm |
[~ionut@86.104.252.118] has joined #agavi |
| 22:14 |
johnutzm |
[~ionut@86.104.252.118] has quit [Client Quit] |
| 22:32 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Read error: Operation timed out] |
| 22:33 |
johnutzm |
[~ionut@86.104.252.118] has joined #agavi |
| 23:24 |
graste |
[~graste@f053000241.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:33 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| Day changed Sat Feb 27 2010
|
| 00:00 |
movvy |
[~movvy@99-173-172-20.lightspeed.chrlnc.sbcglobal.net] has quit [] |
| 00:07 |
Rayne |
[~Rayne@pD9E37F73.dip.t-dialin.net] has quit [Quit: Dein Text ist so schlecht, der könnte authentisch sein.] |
| 01:05 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 01:30 |
luke` |
[~luke`@59.92.149.132] has joined #agavi |
| 01:35 |
nfq |
[~nfq@dyn.144-85-194-177.dsl.vtx.ch] has quit [Quit: nfq] |
| 02:04 |
robopuff |
[~raidon@nat3-88.ghnet.pl] has joined #agavi |
| 02:04 |
robopuff |
[~raidon@nat3-88.ghnet.pl] has left #agavi [] |
| 02:41 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 02:59 |
luke` |
[~luke`@59.92.149.132] has quit [Quit: luke`] |
| 04:26 |
luke` |
[~luke`@122.172.85.52] has joined #agavi |
| 05:37 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 05:44 |
SasanRose |
[~SasanRose@91.184.76.254] has joined #agavi |
| 05:46 |
zeeg |
[~pk@91.184.76.254] has joined #agavi |
| 06:16 |
haji1 |
[~dp@89.165.18.91] has joined #agavi |
| 06:16 |
haji |
[~dp@unaffiliated/everplays] has quit [Disconnected by services] |
| 06:16 |
haji1 |
is now known as everplays |
| 06:17 |
everplays |
[~dp@89.165.18.91] has quit [Changing host] |
| 06:17 |
everplays |
[~dp@unaffiliated/everplays] has joined #agavi |
| 08:17 |
zeeg |
[~pk@91.184.76.254] has quit [Ping timeout: 258 seconds] |
| 08:20 |
johnutzm |
[~ionut@86.104.252.118] has quit [Quit: Leaving.] |
| 09:32 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 09:44 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 10:01 |
graste |
[~graste@f053004166.adsl.alicedsl.de] has joined #agavi |
| 10:18 |
skade |
[~skade@p54AD381B.dip.t-dialin.net] has joined #agavi |
| 11:43 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 11:45 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 11:49 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 11:52 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 11:52 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 11:57 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] |
| 11:58 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 11:58 |
luke` |
[~luke`@122.172.85.52] has quit [Quit: luke`] |
| 12:42 |
Jarda |
hmm, if I have <validator><arguments base="foo[]"><argument>bar</argument></arguments></validator> |
| 12:42 |
Jarda |
and that validator provides something |
| 12:46 |
Jarda |
and I have input like foo[1][bar], foo[2][bar] |
| 12:46 |
Jarda |
then I have a validator that depends on the first one |
| 12:46 |
Jarda |
so the real qeustion is: |
| 12:46 |
Jarda |
the second validator get run only in its own "array namespace" |
| 12:47 |
Jarda |
like if foo[1][bar] is setm only depending validators on foo[1] get run? |
| 12:54 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: Rendez] |
| 12:55 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has joined #agavi |
| 13:04 |
simoncpu |
[~soulfury@ph.infoweapons.com] has joined #agavi |
| 13:15 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 13:15 |
_cheerios |
huomenta |
| 13:16 |
ttj |
Yo. |
| 13:18 |
_cheerios |
last night was a bit fucking odd |
| 13:18 |
_cheerios |
i went to a bar |
| 13:18 |
_cheerios |
and it displayed FIN-USA as 0-6 |
| 13:19 |
_cheerios |
with 5mins remaining on 1st period |
| 13:19 |
_cheerios |
luckily the party i went into the bar for wasnt for the hockey |
| 13:21 |
ttj |
Dunno, don't really care for hockey. Or the Olympics for that matter. |
| 13:22 |
ttj |
Had to watch the last period of the game since I was invited to a gettogether where everyone was just watching the game. |
| 13:22 |
ttj |
Tried to compensate by playing with the dog, but it was scared of me. :( |
| 13:23 |
graste |
jarda do you use the argument's base in your depend attribute's value? |
| 13:23 |
_cheerios |
i thought it was the women's hockey team on ice, or something wrong with the TV :) |
| 13:23 |
_cheerios |
heh, i watched a few mins when ordering a beer, but luckily averted the game after that |
| 13:37 |
_cheerios |
the japanese version of curlin seems intriguing http://i.imgur.com/zHPBH.jpg [NSFW] |
| 13:53 |
graste |
:o |
| 13:56 |
ttj |
Haha. A school friend's site is blocked in the UAE. |
| 13:57 |
ttj |
http://fop3.kyla.fi/~tazle/kuukunen.net.png |
| 14:00 |
SasanRose |
[~SasanRose@91.184.76.254] has quit [Quit: leaving] |
| 14:07 |
graste |
wtf |
| 14:23 |
skade |
[~skade@p54AD381B.dip.t-dialin.net] has left #agavi [] |
| 15:28 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Read error: Connection reset by peer] |
| 16:03 |
_cheerios |
[~cheerios@88.193.83.40] has joined #agavi |
| 16:24 |
MikeSeth |
hay guise |
| 16:25 |
v-dogg |
hai |
| 16:25 |
v-dogg |
what's up |
| 16:25 |
MikeSeth |
i just found out i missed the london con |
| 16:25 |
MikeSeth |
other than this agavi is awesome:P |
| 16:26 |
v-dogg |
so you missed a great opportunity to call people criminal :( |
| 16:26 |
MikeSeth |
mmmhmmm |
| 16:27 |
MikeSeth |
aye |
| 16:27 |
v-dogg |
you could come to Turku Agile Day. I'm pretty sure there will a bunch of criminals there |
| 16:29 |
MikeSeth |
i dont even know what that is |
| 16:32 |
v-dogg |
http://www.turkuagileday.fi/ |
| 16:33 |
MikeSeth |
hmmmm |
| 16:33 |
MikeSeth |
not a fan of agile voodoo tho |
| 17:03 |
_cheerios |
MikeSeth, where's your sidekick been lately? |
| 17:09 |
MikeSeth |
who? |
| 17:12 |
_cheerios |
mm... marklar, was it? |
| 17:13 |
MikeSeth |
oh |
| 17:13 |
MikeSeth |
no idea frankly |
| 17:15 |
MikeSeth |
hes active on his blog tho |
| 17:43 |
everplays |
is now known as haji |
| 18:40 |
SasanRose |
[~SasanRose@92.50.6.10] has joined #agavi |
| 18:57 |
_cheerios |
hmm, google maps is really f*ked up for finland |
| 18:57 |
_cheerios |
forgot about this. hmm, have to see what microsoft has to offer |
| 19:02 |
_cheerios |
(context: some joker at Google decided that it's hilarious to use street names translated in swedish in Finland) |
| 19:03 |
v-dogg |
that seems to vary from area to area |
| 19:04 |
_cheerios |
indeed, making google maps not that usable when you want finnish results |
| 19:05 |
_cheerios |
even the place i live in is in swedish (Alberga instead of Lepp?vaara) |
| 19:06 |
_cheerios |
Bing Maps seems to be all in finnish, just need to figure out how to use that beast :| |
| 19:14 |
Jarda |
hmm, I need something like <script type="text/javascript">var foo = <?php echo json_encode($array);?></script> |
| 19:14 |
Jarda |
is this possible? |
| 19:15 |
_cheerios |
should work fine |
| 19:16 |
Jarda |
ok, then it's just I have no idea how to iterate over the object :) |
| 19:17 |
Jarda |
oh, I was missing one ; from the end |
| 19:18 |
Jarda |
but still no iterating :o |
| 19:18 |
Jarda |
alert gives the right obj though |
| 19:19 |
Jarda |
I should be doing a lot more javascript, I'm always rusty when I need it |
| 19:20 |
_cheerios |
for(i in foo) print foo[i]; or with some js-framework something like foo.each() = function(i) { print i; } |
| 19:21 |
_cheerios |
modify as needed :) |
| 19:23 |
Jarda |
oh nice, jQuery.each(foo, function(i, val) { alert(val); }); |
| 19:23 |
Jarda |
thanks for the direction |
| 19:24 |
graste |
:-) |
| 19:24 |
Jarda |
thank god for firebug |
| 19:25 |
Jarda |
I would kill myself without.. |
| 19:46 |
SasanRose |
[~SasanRose@92.50.6.10] has quit [Read error: Connection reset by peer] |
| 19:48 |
nfq |
[~nfq@dyn.83-228-213-187.dsl.vtx.ch] has joined #agavi |
| 20:11 |
Rendez |
[~Rendez@204.Red-79-148-241.staticIP.rima-tde.net] has quit [Quit: Rendez] |
| 20:15 |
_cheerios |
sweet, Welho coming out with 40/2 for 35,90e/mo |
| 20:15 |
_cheerios |
no wonder I've had a Sonera rep calling me start of year to sign up for them for another 2 years, while upping to 24/2 for same price |
| 20:16 |
_cheerios |
110/5 44,90e/mo, 200/10M (!) for 54,90e... nice :D |
| 20:23 |
Jarda |
nice prices indeed |
| 20:33 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 20:36 |
nfq |
[~nfq@dyn.83-228-213-187.dsl.vtx.ch] has quit [Read error: Connection reset by peer] |
| 20:36 |
nfq |
[~nfq@dyn.144-85-196-047.dsl.vtx.ch] has joined #agavi |
| 22:06 |
_cheerios |
facebook, yahoo, twitter auths done... finally, login+registration is such a hassle |
| 22:10 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Quit: Ieinu] |
| 23:15 |
hzilla |
[~hzilla@93-97-48-84.zone5.bethere.co.uk] has joined #agavi |
| 23:43 |
fnordfish1 |
[~fnordfish@89.246.250.218] has joined #agavi |
| 23:43 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Read error: No route to host] |
| 23:45 |
fnordfish1 |
[~fnordfish@89.246.250.218] has quit [Client Quit] |
| Day changed Sun Feb 28 2010
|
| 00:00 |
graste |
[~graste@f053004166.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 00:29 |
_cheerios |
[~cheerios@88.193.83.40] has quit [Quit: foo] |
| 00:43 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 02:15 |
luke` |
[~luke`@59.92.139.16] has joined #agavi |
| 05:14 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 05:49 |
nfq |
[~nfq@dyn.144-85-196-047.dsl.vtx.ch] has quit [Quit: nfq] |
| 06:09 |
SasanRose |
[~SasanRose@92.50.6.10] has joined #agavi |
| 06:55 |
Jarda |
I was thinking of writing a password storage with agavi |
| 06:56 |
Jarda |
and then a "facebook share" feature :) |
| 07:00 |
haji |
[~dp@unaffiliated/everplays] has joined #agavi |
| 07:04 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 07:21 |
skade |
[~skade@p54AD381B.dip.t-dialin.net] has joined #agavi |
| 07:23 |
skade |
[~skade@p54AD381B.dip.t-dialin.net] has quit [Client Quit] |
| 07:54 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| 08:49 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has joined #agavi |
| 09:15 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has quit [Quit: skade] |
| 09:25 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has joined #agavi |
| 09:25 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has quit [Client Quit] |
| 09:58 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has joined #agavi |
| 10:25 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has joined #agavi |
| 10:27 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has quit [Client Quit] |
| 10:31 |
dwc|n4cer |
[~n4cer@95-88-25-61-dynip.superkabel.de] has quit [Quit: Leaving] |
| 10:51 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has joined #agavi |
| 11:14 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has quit [Quit: skade] |
| 11:24 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has joined #agavi |
| 11:24 |
Yossi_ |
Huomenta |
| 11:24 |
Yossi_ |
Is it possible to create a new output type layour on the fly? |
| 11:25 |
v-dogg |
yes |
| 11:26 |
v-dogg |
(just don't ask how :) |
| 11:29 |
fnordfish |
[~fnordfish@89.246.250.218] has joined #agavi |
| 11:34 |
Jarda |
how? |
| 11:43 |
sth |
There will be methods in the classes for it |
| 11:43 |
sth |
Which would need to be done in the action |
| 11:45 |
v-dogg |
or view::initialize, right? |
| 11:46 |
v-dogg |
umm.. excuse me.. but what the feck! |
| 11:46 |
sth |
Sure, if you subclass it |
| 11:46 |
v-dogg |
http://www.allfacebook.com/2010/02/facebook-feed-patent/ |
| 11:47 |
v-dogg |
don't you subclass view like always?-) |
| 11:47 |
sth |
Well yes |
| 11:47 |
sth |
Leave me alone, I've been on a drink fueled weekend so far |
| 11:48 |
sth |
And I lost David in London :D |
| 11:48 |
v-dogg |
haha |
| 11:56 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has joined #agavi |
| 12:57 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has quit [Quit: skade] |
| 12:57 |
digitarald |
[~digitaral@dyn.83-228-187-248.dsl.vtx.ch] has joined #agavi |
| 12:58 |
digitarald |
Huomenta |
| 13:09 |
hzilla |
hi are there any docs on setting up gettext translation? |
| 13:23 |
hzilla |
like how do i put html into the translation eg. http://pastebin.com/CXVgSdpp |
| 13:35 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 15:37 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has joined #agavi |
| 15:37 |
matbtt_ |
[~matbtt@port-92-202-15-72.dynamic.qsc.de] has joined #agavi |
| 15:46 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has joined #agavi |
| 16:06 |
digitarald |
[~digitaral@dyn.83-228-187-248.dsl.vtx.ch] has quit [Quit: digitarald] |
| 16:09 |
Yossi_ |
hzilla: on your .po file put msgstr do something like "<a href='%s'>register</a>" |
| 16:10 |
Yossi_ |
then in the template you can pass the url as a parameter $tm->_("yourmsgid",null,null,array($ro->gen('register'))) |
| 16:14 |
hzilla |
what's yourmsgid? i'm using the full text in there. so is this ok? $tm->('<a href="%s">register</a>', 'domain', null, array($ro->gen('register')))); |
| 16:14 |
Yossi_ |
then the full text is your msgid... |
| 16:15 |
hzilla |
right so i just have to excape the quotes and it should be ok? |
| 16:15 |
hzilla |
and is it normal to put html in the .po file? |
| 16:17 |
Yossi_ |
probably, although I vaguely remember that putting %s in the msgid implys something you might not want it to imply, maybe you should put in only in the msgstr |
| 16:18 |
hzilla |
ok thanks.. |
| 16:19 |
Yossi_ |
well, sometimes it makes sense (like then bolding specific words in a paragraph), other times it can be avoided. I think it's Okay |
| 16:20 |
hzilla |
i see. i was just thinking that perhaps translators don't want to deal with html but i guess there are editor tools that can simplify that |
| 16:28 |
Yossi_ |
well... there are no perfect solutions for that, you give them a little guidance. in my experience, some translation agencies are used to that kind of things. best case scanario is if you can have the translator on site, or give them a copy of your project, that way they can edit the .po files with a tool like poedit (which also can auto complie to .mo file), and he can test the results on... |
| 16:28 |
Yossi_ |
...his PC and make sure everything makes sense. |
| 16:31 |
hzilla |
i see.. |
| 16:59 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 17:01 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 17:04 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has quit [Quit: skade] |
| 17:11 |
Yossi_ |
v-dogg: are you here:? |
| 17:11 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |
| 17:11 |
Yossi_ |
sth: ? |
| 17:13 |
matbtt_ |
[~matbtt@port-92-202-15-72.dynamic.qsc.de] has left #agavi [] |
| 17:56 |
graste |
[~graste@f053011214.adsl.alicedsl.de] has joined #agavi |
| 17:57 |
matbtt_ |
[~matbtt@port-92-202-15-72.dynamic.qsc.de] has joined #agavi |
| 17:59 |
digitarald |
[~digitaral@dyn.83-228-187-248.dsl.vtx.ch] has joined #agavi |
| 18:09 |
digitarald |
Huomenta |
| 18:09 |
digitarald |
anybody here? |
| 18:09 |
v-dogg |
nope |
| 18:09 |
digitarald |
damn, I have no luck :( |
| 18:09 |
v-dogg |
all quiet on the western front |
| 18:10 |
digitarald |
anybody has an open app with an agavi custom task? |
| 18:10 |
Yossi_ |
v-dogg: I am having some weird results trying to create new layers in the view |
| 18:10 |
v-dogg |
as in Phing task? |
| 18:10 |
digitarald |
I guess |
| 18:10 |
v-dogg |
Yossi_: do tell, but I'm afraid I am not able to help you out |
| 18:11 |
digitarald |
reading the agavi default tasks |
| 18:12 |
Yossi_ |
ah, you seemed knowledgeable about it earlier... |
| 18:14 |
Yossi_ |
when I do $this->appendLayer($newlayer), it wipes out the last one I added... |
| 18:15 |
v-dogg |
Yossi_: I said "yes, you can do that" but I don't know how :) |
| 18:15 |
v-dogg |
hence: 13:26 < v-dogg> (just don't ask how :) |
| 18:15 |
Yossi_ |
:( |
| 18:16 |
v-dogg |
but you are on the right track there. hopefully someone else can tell you what's wrong |
| 18:17 |
Yossi_ |
yeah, i'll figure out... thanks |
| 18:35 |
graste |
does something like $this->appendLayer($this->createLayer('AgaviFileTemplateLayer', 'content')); work? did you call loadLayout() after that? |
| 18:40 |
graste |
does $this->getLayer('content') return null and you didn't use setupHtml? |
| 18:41 |
Yossi_ |
[~chatzilla@bzq-218-43-90.cablep.bezeqint.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] |
| 18:42 |
graste |
:\ |
| 18:43 |
nfq |
[~nfq@dyn.144-85-196-047.dsl.vtx.ch] has joined #agavi |
| 18:53 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has joined #agavi |
| 19:05 |
matbtt_ |
[~matbtt@port-92-202-15-72.dynamic.qsc.de] has left #agavi [] |
| 19:49 |
luke` |
[~luke`@59.92.139.16] has quit [Ping timeout: 265 seconds] |
| 19:55 |
luke` |
[~luke`@59.92.139.248] has joined #agavi |
| 20:17 |
codecop |
[~codecop@78-61-120-117.static.zebra.lt] has quit [Ping timeout: 265 seconds] |
| 20:35 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has joined #agavi |
| 20:36 |
nfq_ |
[~nfq@dyn.144-85-205-119.dsl.vtx.ch] has joined #agavi |
| 20:37 |
nfq |
[~nfq@dyn.144-85-196-047.dsl.vtx.ch] has quit [Ping timeout: 248 seconds] |
| 20:37 |
nfq_ |
is now known as nfq |
| 20:40 |
haji |
[~dp@unaffiliated/everplays] has left #agavi [] |
| 20:59 |
fnordfish |
[~fnordfish@89.246.250.218] has quit [Quit: Leaving.] |
| 21:22 |
SasanRose |
[~SasanRose@92.50.6.10] has quit [Quit: leaving] |
| 21:42 |
digitarald |
[~digitaral@dyn.83-228-187-248.dsl.vtx.ch] has quit [Quit: We are all friends now! http://digitarald.de] |
| 21:44 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has joined #agavi |
| 21:45 |
skade |
[~skade@p54AD4C6A.dip.t-dialin.net] has quit [Client Quit] |
| 23:04 |
_cheerios |
[~cheerios@dsl-hkibrasgw3-ff53c100-40.dhcp.inet.fi] has quit [Quit: foo] |
| 23:33 |
graste |
[~graste@f053011214.adsl.alicedsl.de] has quit [Quit: That you're not paranoid doesn't mean, they aren't right behind you!] |
| 23:48 |
sikkle |
[~sikkle@modemcable221.185-83-70.mc.videotron.ca] has quit [Quit: Leaving...] |