[Catalyst] RE: Log::Log4perl::Catalyst

2013-05-15 Thread Anthony Gladdish
n the main app config: path_to_log4perl_conf: 'Log4perl_prod.conf' Log4Perl_filename: '/some/path/to/logfile.log' Then in ./Log4perl_prod.conf (root of the Cat app): log4perl.appender.LOGFILE.filename=sub { return MyApp->config->{Log4Perl_filename} } Hope this

RE: [Catalyst] Populate Log4perl config from Catalyst perl hooks

2013-04-23 Thread Anthony Gladdish
Hi Charlie, >-Original Message- >From: Charlie Garrison [mailto:garri...@zeta.org.au] >Sent: 22 April 2013 17:56 >To: The elegant MVC web framework >Subject: RE: [Catalyst] Populate Log4perl config from Catalyst >perl hooks > >Good morning, > >On 22/0

RE: [Catalyst] Populate Log4perl config from Catalyst perl hooks

2013-04-22 Thread Anthony Gladdish
>-Original Message- >From: Charlie Garrison [mailto:garri...@zeta.org.au] >Sent: 22 April 2013 13:36 >To: The elegant MVC web framework >Subject: RE: [Catalyst] Populate Log4perl config from Catalyst >perl hooks > >Good evening, > >On 22/04/13 at 11:38 AM -

RE: [Catalyst] Populate Log4perl config from Catalyst perl hooks

2013-04-22 Thread Anthony Gladdish
>-Original Message- >From: Charlie Garrison [mailto:garri...@zeta.org.au] >Sent: 22 April 2013 12:26 >To: The elegant MVC web framework >Subject: Re: [Catalyst] Populate Log4perl config from Catalyst >perl hooks > >Good evening, > >On 22/04/13 at 10:25 AM -

[Catalyst] Populate Log4perl config from Catalyst perl hooks

2013-04-22 Thread Anthony Gladdish
Hi, I'm trying to add values to the Log4perl configuration from my Catalyst config, via Perl hooks as per https://metacpan.org/module/Log::Log4perl#Perl-Hooks-in-the-Configuration-File My main Cat app file is: package MyApp::Cat; use strict; use warnings; use

RE: [Catalyst] C::V::Email and Email::Sender 0.120002 -> 1.300003

2013-03-11 Thread Anthony Gladdish
ich is available on CPAN, it seems like it's fixed. Here is the Changelog: https://metacpan.org/source/DHOSS/Catalyst-View-Email-0.33/Changes Cheers, Dimitar On Tue, Mar 5, 2013 at 4:06 PM, Anthony Gladdish mailto:anthony.gladd...@newcastle.ac.uk>> wrote: Hi, Had this been fixed?

RE: [Catalyst] C::V::Email and Email::Sender 0.120002 -> 1.300003

2013-03-05 Thread Anthony Gladdish
gt;To: The elegant MVC web framework >Cc: catalyst@lists.scsys.co.uk >Subject: Re: [Catalyst] C::V::Email and Email::Sender 0.120002 -> >1.33 > >Hi, > >I have a patch from Ilmari that fixes this. Among some other >issues, that will be fixed in this next release whic

RE: [Catalyst] C::V::Email and Email::Sender 0.120002 -> 1.300003

2013-02-11 Thread Anthony Gladdish
>-Original Message- >From: Devin Austin [mailto:devin.aus...@gmail.com] >Sent: 11 February 2013 15:10 >To: The elegant MVC web framework >Cc: catalyst@lists.scsys.co.uk >Subject: Re: [Catalyst] C::V::Email and Email::Sender 0.120002 -> >1.33 > >Hi, > >I have a patch from Ilmari that fix

[Catalyst] C::V::Email and Email::Sender 0.120002 -> 1.300003

2013-02-11 Thread Anthony Gladdish
Hi, Having problems when upgrading from Email::Sender 0.120002 -> 1.33. While v1.33 compiles and "make test" passes, it appears to be no longer working with Catalyst::View::Email ( v0.31 + v0.32 ): # 1. Catalyst app config: View::Email::Template: stash_key: 'email' template_

RE: [Catalyst] Access Catalyst context object from script

2012-11-01 Thread Anthony Gladdish
>From: Bill Moseley [mailto:mose...@hank.org] >Sent: 01 November 2012 14:14 >To: The elegant MVC web framework >Subject: Re: [Catalyst] Access Catalyst context object from script > > >On Wed, Oct 31, 2012 at 6:10 AM, Anthony Gladdish > wrote: > >Great

RE: [Catalyst] Access Catalyst context object from script

2012-10-31 Thread Anthony Gladdish
>-Original Message- >From: Alexander Hartmaier [mailto:alexander.hartmaier@t- >systems.at] >Sent: 31 October 2012 12:46 >To: catalyst@lists.scsys.co.uk >Subject: Re: [Catalyst] Access Catalyst context object from script >I suggest to load your Catalyst app with a config that doesn't >load

RE: [Catalyst] Access Catalyst context object from script

2012-10-31 Thread Anthony Gladdish
>From: Dimitar Petrov [mailto:mita...@gmail.com] >Sent: 31 October 2012 11:18 >To: The elegant MVC web framework >Subject: Re: [Catalyst] Access Catalyst context object from script > >Hello Anthony, > >I think the catalyst object is not called Catalyst but c, this you need [% >c.uri_for(...) %] o

RE: [Catalyst] Access Catalyst context object from script

2012-10-31 Thread Anthony Gladdish
>-Original Message- >From: Ian Docherty [mailto:catal...@iandocherty.com] >Sent: 31 October 2012 11:29 >To: The elegant MVC web framework >Subject: Re: [Catalyst] Access Catalyst context object from script > >On 31 October 2012 10:41, Anthony Gladdish > wrote: &

[Catalyst] Access Catalyst context object from script

2012-10-31 Thread Anthony Gladdish
alyst context object of a running app, in a separate external script? Regards, Anthony Gladdish ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/c

[Catalyst] Catalyst upgrade: not picking up custom request headers from $ENV variables

2012-01-11 Thread Anthony Gladdish
Hi, Upgrading Catalyst v5.80033 -> v5.9000 is highlighting an issue identified by one of my tests. Previously, creating an $ENV variable was automatically converted as a request header. So, I create an $ENV variable in a test script, make a HTTP request, and check for response contents that is

RE: [Catalyst] Catalyst-Runtime-5.80030 install error

2011-01-26 Thread Anthony Gladdish
>Run package-stash-conflicts > >Upgrade the modules it tells you to. > >Cheers >t0m Awesome! ( in this case, culprit was MooseX::Role::WithOverloading ). Cheers, Anthony ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/ma

[Catalyst] Catalyst-Runtime-5.80030 install error

2011-01-26 Thread Anthony Gladdish
Hi, Attempting to install Catalyst-Runtime-5.80030. All required modules loaded: - Class::Data::Inheritable ...loaded. (0.08) - Test::Exception...loaded. (0.31) - Test::More ...loaded. (0.96 >= 0.88) - List::MoreUtils

[Catalyst] Catalyst-Controller-FormBuilder-0.05 NEXT patch

2011-01-25 Thread Anthony Gladdish
/FormBuilder.pm line 12 Patch attached. Could someone apply/roll it out please? Thanks, Anthony Gladdish Catalyst-Controller-FormBuilder.patch Description: Catalyst-Controller-FormBuilder.patch ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

RE: [Catalyst] Catalyst-Authentication-Store-DBIx-Class-User v0.1400 - patch

2010-11-17 Thread Anthony Gladdish
>-Original Message- >From: Tomas Doran [mailto:bobtf...@bobtfish.net] >Sent: 16 November 2010 15:41 >To: The elegant MVC web framework >Cc: Anthony Gladdish >Subject: Re: [Catalyst] Catalyst-Authentication-Store-DBIx-Class-User v0.1400 >- patch > > >On

[Catalyst] Catalyst-Authentication-Store-DBIx-Class-User v0.1400 - patch

2010-11-16 Thread Anthony Gladdish
on tests are now passing. Is there any reason why $c has been ommited here? Can this patch be merged in please? Regards, Anthony Gladdish Cat-Auth-Store-DBIC-User.pm.patch Description: Cat-Auth-Store-DBIC-User.pm.patch ___ List: Catalyst@lists.scs

[Catalyst] Catalyst::Authentication::Store::DBIx::Class upgrade - authentication fails

2010-11-11 Thread Anthony Gladdish
Hi, Upgrading Catalyst::Authentication::Store::DBIx::Class 0.1083 to 0.1200+, I get error: " u2: , Can't call method "can" on an undefined value at /opt/netskills/apps/lib/perl5/site_perl/5.8.8/Catalyst/Authentication/Store/DBIx/Class/User.pm line 261.". 1. My yaml config: authentication:

RE: [Catalyst] Displaying template files without adding new controller actions

2010-10-12 Thread Anthony Gladdish
re hitting the filesystem for every request that wasn't satisfied by an existing action. Like I said, you can either let the webserver serve up static pages. If you are worried about how the URL looks in the browser, some mod_rewrite magic will fix that for you, but that's a subject

RE: [Catalyst] Displaying template files without adding new controller actions

2010-10-11 Thread Anthony Gladdish
>-Original Message- >From: Denny [mailto:2...@denny.me] >Sent: 11 October 2010 15:22 >To: The elegant MVC web framework >Subject: Re: [Catalyst] Displaying template files without adding new controller >actions > >On Mon, 2010-10-11 at 15:02 +0100, Anthony Gladdish w

[Catalyst] Displaying template files without adding new controller actions

2010-10-11 Thread Anthony Gladdish
Hi, I'd like to add various web pages to my Catalyst app without the need to modify controllers and restarting the server. Instead, I just want to add a Template::Toolkit .tt2 file on the file system and it get picked up automatically. I'm not sure of an elegant/recommended way to produce an ac

[Catalyst] C::P::Authorization::ACL::Engine calling deprecated method Catalyst::Dispatcher::tree

2009-06-09 Thread Anthony Gladdish
Hi, perl5.10 Catalyst::Runtime 5.80005 Produces following warning in my cat apps: Class Catalyst::Plugin::Authorization::ACL::Engine is calling the deprecated method Catalyst::Dispatcher::tree, this will be removed in Catalyst 5.9X Does anyone know if this plugin is due to be updated to ca

[Catalyst] Catlyst::Action::REST - NEXT warnings patch

2009-05-07 Thread Anthony Gladdish
"NEXT deprecated" warnings: Passes in Cat::Runtime 5.8 + perl 5.10. Passes in Cat::Runtime 5.7011 + perl 5.8.8. I would like to know if I've gone about it correctly? And if so, could you review my patch and possibly apply? Many thanks in advance, Anthony Gladdish Patch-

[Catalyst] Catalyst::Plugin::Scheduler - NEXT warnings patch

2009-05-07 Thread Anthony Gladdish
ne about this patch in the correct way. Also, as I've had no response from the author, what would the procedure be re. possibly applying this patch? For more info on this please see: http://search.cpan.org/~agrundma/Catalyst-Plugin-Scheduler-0.08/lib/Catalyst/Plugin/Scheduler.pm Many than

[Catalyst] Catalyst 5.8 NEXT deprecated warnings

2009-03-31 Thread Anthony Gladdish
Hi, Testing my cat apps tests against Catalyst 5.8. Getting following warnings: Catalyst::Plugin::Session::Store::DBIC is trying to use NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details Catalyst::Plugin::Authorization::ACL is trying to use NEXT, which

RE: [Catalyst] Using Test::Log4perl, testing cat log output only works after firing initial request

2009-03-25 Thread Anthony Gladdish
e elegant MVC web framework >Subject: Re: [Catalyst] Using Test::Log4perl, testing cat log output >only works after firing initial request > >On Mon, 2009-03-23 at 15:22 +, Tomas Doran wrote: >> Anthony Gladdish wrote: >> > Has anyone else experienced this problem? &

[Catalyst] Using Test::Log4perl, testing cat log output only works after firing initial request

2009-03-23 Thread Anthony Gladdish
Hi, I'm trying to create some tests for my Cat app to make sure the right logging output is being generated in the right place at the right time. My test case fails, unless I fire off an initial request at the app. Am using Catalyst::Log::Log4perl v1.02. My Test::Log4perl config is: log4perl.r