[Catalyst] [ANNOUNCE] Catalyst-Runtime-5.90003

2011-10-05 Thread Tomas Doran
Morning! I'm very pleased to announce the latest maintenance release of Catalyst::Runtime is available: 5.90003. Full changelog is included below as always. Many thanks t0m 5.90003 - 2011-10-05 08:32:00 Bug fixes: - Make default body reponses for 302s W3C compliant. RT#71237 -

[Catalyst] Catalyst::Plugin::Authentication set_authenticated

2011-10-05 Thread Bill Corr
Hi, Is the set_authenticated method really private? I am puzzled because in the documentation for Catalyst::Plugin::Authentication there is an example using this method - $user = $c-find_user({ id = $id }); $c-set_authenticated($user); # logs the user in and calls persist_user

Re: [Catalyst] Catalyst::Plugin::Authentication set_authenticated

2011-10-05 Thread Denny
I'm using it in ShinyCMS, with the same concerns. Discussion in #catalyst when I was writing that bit of the code didn't really reach a conclusion on whether it was 'safe' to use it, but nobody had a better suggestion. Regards, Denny -- Sent from my phone. Please excuse terseness, typos and

[Catalyst] ACCEPT_CONTEXT with Module::Pluggable::Object

2011-10-05 Thread Cylon Toaster
Hello, in the book 'Guide to Catalyst' is described how to build a Driver Model using Module::Pluggable::Object. You can find it on page 88, chapter 'A Driver Model for Generic Translation'. All works fine :-) But now I wanted to implement ACCEPT_CONTEXT, which always worked fine in

Re: [Catalyst] Catalyst::Plugin::Authentication set_authenticated

2011-10-05 Thread Stephen Clouse
On Wed, Oct 5, 2011 at 5:42 AM, Denny 2...@denny.me wrote: Discussion in #catalyst when I was writing that bit of the code didn't really reach a conclusion on whether it was 'safe' to use it, but nobody had a better suggestion. Set up a separate authentication realm that doesn't require a

Re: [Catalyst] ACCEPT_CONTEXT with Module::Pluggable::Object

2011-10-05 Thread Tomas Doran
On 5 Oct 2011, at 15:42, Cylon Toaster wrote: Hello, in the book 'Guide to Catalyst' is described how to build a Driver Model using Module::Pluggable::Object. You can find it on page 88, chapter 'A Driver Model for Generic Translation'. All works fine :-) But now I wanted to implement