RE: [Catalyst] Application Testing, Mocking Apache Headers/Environment

2012-04-16 Thread brainbuz
In my auto action I have something like: $c-{ USERNAME } = $c-engine-env-{ HTTP_COOKIE } ;#Authenticated via apache 2.4 mod_auth_form $c-{ USERRIGHTS } = $c-model( 'method returning a ref to a list of the rights for $c-{ USERNAME }'); In a controller I would like to test There is code

Re: [Catalyst] Does Paypal standard require login?

2012-04-16 Thread Jorge Gonzalez
And the point of asking this in a Catalyst list is...? Why don't you go straight to the first party and ask them directly (i.e. Paypal)? If I were you I would surely prefer first hand answers rather than second hand opinions :-) Regards J. El 15/04/12 00:43, Bill Moseley escribió: A

Re: [Catalyst] Application Testing, Mocking Apache Headers/Environment

2012-04-16 Thread Tomas Doran
On 16 Apr 2012, at 07:11, brainbuz wrote: In my auto action I have something like: $c-{ USERNAME } = $c-engine-env-{ HTTP_COOKIE } ;#Authenticated via apache 2.4 mod_auth_form $c-{ USERRIGHTS } = $c-model( ‘method returning a ref to a list of the rights for $c-{ USERNAME }’);

Re: [Catalyst] Does Paypal standard require login?

2012-04-16 Thread Bill Moseley
On Mon, Apr 16, 2012 at 2:46 PM, Jorge Gonzalez jorge.gonza...@daikon.eswrote: And the point of asking this in a Catalyst list is...? None. I clicked on the wrong list email gmail offered up. Wondered why hadn't seen a response there yet... -- Bill Moseley mose...@hank.org

[Catalyst] Problems with relation in DBIx::Class::Schema::Loader

2012-04-16 Thread cylontoaster
Hello, when I wanted to move my code to a production-machine I got a new warning, which I don't really understand a new realtionship-name . On both machines exists the similar MySQL-DB with real foreign keys. For creating the Schema I always used DBIx::Class::Schema::Loader, which also

Re: [Catalyst] Problems with relation in DBIx::Class::Schema::Loader

2012-04-16 Thread Tomas Doran
On 16 Apr 2012, at 15:24, cylontoaster wrote: Hello, when I wanted to move my code to a production-machine I got a new warning, which I don't really understand a new realtionship-name . Your database schema classes are nothing to do with Catalyst. You'd be much better asking the DBIC list

[Catalyst] Catalyst::ActionRole::RequireSSL under development server

2012-04-16 Thread Rippl, Steve
Hi, We're just upgrading to Catalyst 5.9 from 5.8, and therefore switching from the old Catalyst::Plugin::RequireSSL to Catalyst::ActionRole::RequireSSL. The old module would detect when is was running under the standalone server and so was fine under development.

Re: [Catalyst] Application Testing, Mocking Apache Headers/Environment

2012-04-16 Thread brainbuz
- the answer you're probably looking for is to use Plack::Middleware::ForceEnv Thanks I peeked at the documentation it looks like exactly the approach I wanted to take. The documentation is brief and the tests are all directly against plackup. You wouldn't happen to have some handy examples you

Re: [Catalyst] Catalyst::ActionRole::RequireSSL under development server

2012-04-16 Thread Charlie Garrison
Good morning, On 16/04/12 at 11:11 AM -0700, Rippl, Steve rip...@woodlandschools.org wrote: We're just upgrading to Catalyst 5.9 from 5.8, and therefore switching from the old Catalyst::Plugin::RequireSSL to Catalyst::ActionRole::RequireSSL. The old module would detect when is was running

Re: [Catalyst] Catalyst::ActionRole::RequireSSL under development server

2012-04-16 Thread Rippl, Steve
On Mon, Apr 16, 2012 at 4:58 PM, Charlie Garrison garri...@zeta.org.auwrote: Good morning, On 16/04/12 at 11:11 AM -0700, Rippl, Steve rip...@woodlandschools.org wrote: We're just upgrading to Catalyst 5.9 from 5.8, and therefore switching from the old Catalyst::Plugin::RequireSSL to