Re: [Catalyst] Re: Detach won't detach?

2009-01-28 Thread Jonas Alves
-- Jonas 2009/1/28 Jonathan Rockway > * On Tue, Jan 27 2009, pie3...@comcast.net wrote: > > Why not > > > > sub auto :Private { > > my $c = pop; > > return user_logged_in || $c->res->redirect( ... ); > > } > > Because now the correctness of your application depends on undoc

Re: [Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-18 Thread Jonas Alves
On Tue, Mar 18, 2008 at 11:01 AM, Bill Moseley <[EMAIL PROTECTED]> wrote: > On Tue, Mar 18, 2008 at 03:38:06AM -0500, Jonathan Rockway wrote: > > * On Tue, Mar 18 2008, Bill Moseley wrote: > > > The plugin decodes all parameters using: > > > > > > $_ = $c->encoding->decode( $_, $CHECK ) for

Re: [Catalyst] exceptions and chained actions

2008-03-11 Thread Jonas Alves
On Tue, Mar 11, 2008 at 4:12 PM, Dami Laurent (PJ) <[EMAIL PROTECTED]> wrote: > > > > Hi Catalysters, > > It seems that if an exception is raised in the entry point to an action > chain, Catalyst still tries to forward to the other chain components, > accumulating all exceptions into $c->errors. >

Re: [Catalyst] Catalyst, REST and Firefox

2008-01-22 Thread Jonas Alves
On Jan 18, 2008 8:46 PM, Adam Jacob <[EMAIL PROTECTED]> wrote: > Jonas, > > Myself, Jshirley, or Claco would gladly take patches to C::A::REST to > add this functionality. Send us the patch, and we'll get it tested > and out the door. > > Adam > Hi Adam, I started to write a patch some time ago,

Re: [Catalyst] Catalyst, REST and Firefox

2008-01-17 Thread Jonas Alves
On Jan 17, 2008 6:03 PM, Christopher H. Laco <[EMAIL PROTECTED]> wrote: > > Jonas Alves wrote: > > On Jan 17, 2008 2:32 PM, Christopher H. Laco <[EMAIL PROTECTED]> wrote: > >> I've touched on this before, and posted about it on UP: > >> http://use.p

Re: [Catalyst] Catalyst, REST and Firefox

2008-01-17 Thread Jonas Alves
On Jan 17, 2008 2:32 PM, Christopher H. Laco <[EMAIL PROTECTED]> wrote: > I've touched on this before, and posted about it on UP: > http://use.perl.org/~jk2addict/journal/35411 > > In a nutshell, Firefox 2.x Accept header totaly screws with the REST > controller when you use it as a base for View n

Re: [Catalyst] process a restored request

2008-01-11 Thread Jonas Alves
On Jan 11, 2008 6:27 PM, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Tue, Jan 08, 2008 at 02:58:17PM -0500, [EMAIL PROTECTED] wrote: > > Hi, > > in my application, if a client issues a request after say 30 minutes of > > inactivity, I want to answer his request only after successfull > > authentic

Re: [Catalyst] process a restored request

2008-01-08 Thread Jonas Alves
On Jan 8, 2008 7:58 PM, <[EMAIL PROTECTED]> wrote: > Hi, > in my application, if a client issues a request after say 30 minutes of > inactivity, I want to answer his request only after successfull > authentication. > > Ideally, I would simply serialize $c->request in the session, ask for > authent

Re: [Catalyst] utf-8 problems

2007-12-12 Thread Jonas Alves
On Dec 12, 2007 10:08 AM, Jon <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having some problems with utf-8 and was hoping someone could point me > in the right direction. I've two machines and I just copied (scp:ed) from > the one I've been playing around with to my other and then all my umlaut > char

Re: [Catalyst] PathPart help

2007-11-16 Thread Jonas Alves
On 11/16/07, Jason Kohles <[EMAIL PROTECTED]> wrote: > On Nov 16, 2007, at 11:11 AM, Christopher H. Laco wrote: > > sub has_user : Chained('id|name|email') NoPathPart CaptureArgs(0) { } > sub edit : Chained('has_user') PathPart('edit') Args(0) { } > That NoPathPart you already have with an empty P

Re: [Catalyst] Directory layout

2007-11-08 Thread Jonas Alves
On 11/8/07, Gerda Shank <[EMAIL PROTECTED]> wrote: > Thanks for the responses to my question about the View Directory. I'm > still trying to figure out the reasons for the rest of the directory layout. > > The templates are not in the View directory, because the "lib" hierarchy > is just for Perl c

Re: [Catalyst] transforming a Catalyst uni-lang app into a multi-lang one

2007-10-19 Thread Jonas Alves
On 19/10/2007, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > > Hi, > > I've made a site using Catalyst that uses a single language, and now I > want > to transform it into a multi language site and I don't know which would be > the most easy method. > > I use Catalyst::Plugin::I18N and I already ma

[Catalyst] C::P::Continuation fails to install

2007-10-12 Thread Jonas Alves
I'm trying to install Catalyst::Plugin::Continuation but it fails to install in Catalyst 5.7010. It appears that $c->stats is undef when Continuation is loaded. I tried to dive in the code but it's too much for me. Hope someone more smarter can look at it. Here goes the make test: PERL_DL_NONLAZY