Re: [Catalyst] Sending 3000 emails.

2015-12-11 Thread Luca Ferrari
On Thu, Nov 26, 2015 at 4:32 PM, Andrew wrote: > I just want to know why the whole FastCGI Plack loaded Catalyst app came > down half way through, > and how I can have a Perl script process sending 3000 emails without that > happening every time, =S. > As pointed out already the main problem

Re: [Catalyst] [OT] catalyst hosting

2015-02-24 Thread Luca Ferrari
On Tue, Feb 24, 2015 at 1:02 PM, Dimitar Petrov wrote: > Are you asking for shared hosting? Yes > I just love linode and will recommend > those guys I was not aware of this service, I will give a look. Thanks, Luca ___ List: Catalyst@lists.scsys.co.

[Catalyst] [OT] catalyst hosting

2015-02-24 Thread Luca Ferrari
Hi, having a catalyst application, which hosting provider would you suggest to use for it? I mean, without starting a flame on advertising, is there anything providing more support to Perl/Catalyst than others? Thanks, Luca ___ List: Catalyst@lists.scsy

Re: [Catalyst] question about authorization and roles

2015-02-11 Thread Luca Ferrari
On Tue, Feb 10, 2015 at 9:26 AM, Dmitry L. wrote: > What do you get in debug console output? > By code (Catalyst::Plugin::Authorization::Roles) you have to see > something like this: > Role denied: @roles > This is what appears in the debug console: [debug] Path is "tickets/list" [debug] Found s

Re: [Catalyst] question about authorization and roles

2015-02-10 Thread Luca Ferrari
the user has one role, the description of the role is matched 4) the check_any_user_role reports false (0) 5) the lookup of all the roles reports the right primary key and description. Any idea about what I'm missing? Thanks, Luca On Mon, Feb 9, 2015 at 9:43 PM, Luca Ferrari wrote: > Ci

Re: [Catalyst] question about authorization and roles

2015-02-09 Thread Luca Ferrari
Ciao, On Mon, Feb 9, 2015 at 6:12 PM, Jeff Black wrote: > > Perhaps it's a stupid question, but have you checked that the user exists? > > if ( $c->user_exists() && ... > Apparently it exists because I print the username and its role list to check...and of course the role is there. Luca _

[Catalyst] question about authorization and roles

2015-02-09 Thread Luca Ferrari
Hi all, I'm trying to setup the authorization in an application, and therefore in my controller method I've something like the following: if ( ! $c->check_any_user_role( qw/Admin Manutentore/ ) ){ } and the above is always failing. At first I thought I was missing something with the role con

Re: [Catalyst] forward not working correctly ?

2015-02-01 Thread Luca Ferrari
CIao, On Thu, Jan 29, 2015 at 6:28 PM, QE :: Felix Ostmann wrote: > Hi, > > i guess you are confused by all the different type of redirects, forwards, > visits ... > > After your explanation i think you want a HTTP-Redirect > (http://www.catalystframework.org/calendar/2007/13) / redirect_to_actio

[Catalyst] forward not working correctly ?

2015-01-29 Thread Luca Ferrari
Hi all, I'm surely missing something in my action: sub edit : Local Form { my ( $self, $c, $id ) = @_; my $form = $self->formbuilder(); ... if ( $is_form_ok ){ ... $c->forward( 'list' ); } else { ... } } The result is that the same page (the form for t

Re: [Catalyst] problem with DBIx, Catalyst and PostgreSQL

2015-01-29 Thread Luca Ferrari
Oh what a shame! Apologize for the noise, the model was 'Smickets::Worker' and not 'Smickets::Workes'. I found out dumping the $c->model( 'Smickets' ) hash Sorry for the noise. Luca On Thu, Jan 29, 2015 at 11:20 AM, Luca Ferrari wrote: > Hi all, > I

[Catalyst] problem with DBIx, Catalyst and PostgreSQL

2015-01-29 Thread Luca Ferrari
Hi all, I'm working on an application and I've a problem I cannot resolve. I've a postgresql database with a workers table, loggin of queries is on. I've created the schema with: % perl script/smickets_create.pl model SmicketsDB DBIC::Schema Smickets::Schema create=static dbi:Pg:dbname=smicketsdb