Re: [Catalyst] Catalyst::View::Email stopped working

2010-01-27 Thread Benjamin Martin
Excellent... I had this exact problem yesterday, and thought I would have to battle through modules tracking down the source of the problem... but totally randomly I read this posting in the list and it fixed my problem.. thanks very much :) Devin Austin wrote: Charlie Garrison wrote:

Re: [Catalyst] Login as another user ...

2010-01-27 Thread Rodrigo
What's the best way to achieve this? I tried $c-authenticate without a password, but this doesn't seem to work. -- I use 2 different authentication realms, ldap (normal login) and none (single-signon, surrogate) and my login controller decides which one to use, so that root can

[Catalyst] Q: CatalystX::SimpleLogin

2010-01-27 Thread Bernhard Graf
I have two questions about CX::SimpleLogin: 1. Is there a simple way to change the settings for redirect_after_login_uri and redirect_after_logout_uri ? 2. Why is the redirect code outsourced into a role (CX:S::TraitFor::Controller::Login::WithRedirect) when

[Catalyst] Users, roles, HTML::FormFu::DBIx::Class::Model - complete example?

2010-01-27 Thread Alex Povolotsky
Hello! Maybe someone can provide the community with complete example of users/roles editor with HTML::FormFu::DBIx::Class::Model? Manual drops to foo:bar explaination too often ( Alex. ___ List: Catalyst@lists.scsys.co.uk Listinfo:

[Catalyst] Catalyst/C:M:Adaptor/Moose/Moosex::Declare bug?

2010-01-27 Thread iain
Hi all, This is probably going to end up being nothing to do with catalyst but as this is where I am seeing the problem its where im starting. I have a standalone set of objects that work as expected. When I wrap these with Catalyst::Model::Adaptor for use as a model they fail with the

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread Bill Moseley
On Tue, Jan 26, 2010 at 6:33 AM, J. Shirley jshir...@gmail.com wrote: I'm all for reusable code, but in no way should HTTP::Body start taking this behavior by default. I'm not really that sure how effective it is, anyway. No, I was not suggesting that would be the default (although I'm

Re: [Catalyst] Users, roles, HTML::FormFu::DBIx::Class::Model - complete example?

2010-01-27 Thread Octavian Rasnita
From: Alex Povolotsky tark...@over.ru Hello! Maybe someone can provide the community with complete example of users/roles editor with HTML::FormFu::DBIx::Class::Model? Are you sure this module exists? Octavian ___ List:

Re: [Catalyst] Users, roles, HTML::FormFu::DBIx::Class::Model - complete example?

2010-01-27 Thread J. Shirley
2010/1/27 Octavian Rasnita orasn...@gmail.com: From: Alex Povolotsky tark...@over.ru Hello! Maybe someone can provide the community with complete example of users/roles editor with HTML::FormFu::DBIx::Class::Model? Are you sure this module exists? Yes, it does exist, just under a

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread J. Shirley
On Wed, Jan 27, 2010 at 7:33 AM, Bill Moseley mose...@hank.org wrote: On Tue, Jan 26, 2010 at 6:33 AM, J. Shirley jshir...@gmail.com wrote: I'm all for reusable code, but in no way should HTTP::Body start taking this behavior by default.  I'm not really that sure how effective it is,

[Catalyst] Catalyst::View::Email 0.21

2010-01-27 Thread Devin Austin
Hi again all, There were some more fixes taken care of in this release. I have provided a tarball of this release before releasing it on CPAN. Please check it out here: http://dhoss.net/Catalyst-View-Email-0.21.tar.gz, test and let the list/channel (#catalyst) know if you have any issues.

[Catalyst] Catalyst::View::Email 0.21_1

2010-01-27 Thread Devin Austin
Hi all, sorry to spam the list yet again, but I have released a development version of Catalyst::View::Email for testing and convenience. You know what to do. dhoss ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] uri_for

2010-01-27 Thread Tomas Doran
On 20 Jan 2010, at 09:40, Carl Johnstone wrote: Tomohiro Hosaka wrote: Is this correct result? Yes, the previous situation was a bug. Given sub foo : Args(1) { my ($c, $arg) = @_; }; The URL http://127.0.0.1/foo/bar%2Fbaz would match and set $arg to 'bar/baz' correctly. However

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread Tomas Doran
On 27 Jan 2010, at 15:33, Bill Moseley wrote: No big deal. I was just curious why the HTTP::Body approach was not used in the existing REST/RPC modules, as that was already the place used by Catalyst to de-serialize the body. I thought maybe there was a reason I might not understood,

Re: [Catalyst] Q: CatalystX::SimpleLogin

2010-01-27 Thread Tomas Doran
On 27 Jan 2010, at 12:06, Bernhard Graf wrote: I have two questions about CX::SimpleLogin: 1. Is there a simple way to change the settings for redirect_after_login_uri and redirect_after_logout_uri ? The 'redirect_after_logout_uri' is just a method, so you can write a method yourself to

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread Bill Moseley
On Wed, Jan 27, 2010 at 1:16 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 27 Jan 2010, at 15:33, Bill Moseley wrote: No big deal. I was just curious why the HTTP::Body approach was not used in the existing REST/RPC modules, as that was already the place used by Catalyst to de-serialize

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread Tomas Doran
On 28 Jan 2010, at 00:14, Bill Moseley wrote: Or that an application might want the raw json? Or that one app depends on JSON::XS doing the decoding whilst one depends on JSON.pm.. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread Hans Dieter Pearcey
Excerpts from Bill Moseley's message of Wed Jan 27 19:14:29 -0500 2010: I see. So you are saying that Content-Type: application/json might need to be deserialized differently in different applications that share the same interpreter? Obviously, json could decode into an array ref so that

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread J. Shirley
On Wed, Jan 27, 2010 at 4:14 PM, Bill Moseley mose...@hank.org wrote: I see.  So you are saying that Content-Type: application/json might need to be deserialized differently in different applications that share the same interpreter?  Obviously, json could decode into an array ref so that could

[Catalyst] Re: Default running over chained

2010-01-27 Thread Caleb Cushing
any help? is this the correct behavior? On Tue, Jan 26, 2010 at 5:13 PM, xenoterrac...@gmail.com xenoterrac...@gmail.com wrote: I added a default action to my user controller. When I access /user/ a chained action is supposed to run, and it ran just fine until i added the default action. Now