RE: [Catalyst] Authz: How granular to make roles?

2009-07-20 Thread Merlyn Kline
outside people can have read access. But these people probably shouldn't be able to see what I paid for each book. In the old system, I checked if the user had jts_access = 7 in order to display this. In the new system, I don't want to create a role for jts_price-paid_viewing or whatever; on

Re: [Catalyst] local::lib and mini-cpan for Catalyst apps

2009-07-20 Thread Erik Wasser
On Thursday 16 July 2009, Chris wrote: Has anyone had success with such a thing? If/when I get it working I'll do a write-up for the wiki. Recently I've written a small shell script that install a lot of catalyst stuff under '/foo/bar'. After tweaking PERL5LIB everything runs fine. It's not

Re: [Catalyst] Authz: How granular to make roles?

2009-07-20 Thread Jonathan Rockway
* On Sun, Jul 19 2009, Jesse Sheidlower wrote: This is more of a philosophical question about how to handle authz with roles, but is perhaps OT for Catalyst, I suppose. http://blog.woobling.org/2009/06/users-accounts-identities-and-roles.html -- print just = another = perl = hacker = if $,=$

[Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Christoph Metz
Hey guys, i want to deploy my c-app by using the dev-server myapp_server.pl. while the development i went into the dir myapp and typed script/myapp_server.pl -r -d so far, so good, but now i want to start this server via an init.d script under open-suse 9.2, so i wrote the script by using the

Re: [Catalyst] OpenID authentication and LWPx-ParanoidAgent

2009-07-20 Thread Zbigniew Lukasiak
On Sat, Jul 18, 2009 at 9:14 PM, Tatsuhiko Miyagawamiyag...@gmail.com wrote: Brad just uploaded the module to CPAN. Unfortunately it still fails everywhere: http://matrix.cpantesters.org/?dist=LWPx-ParanoidAgent+1.06 Here are my results: perl -Ilib t/00-all.t . . . Three 1-second redirect

Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Lindolfo Lorn Rodrigues
Ops, sent to fast Of couse you will put your path in path_to, i copy this from TTSite :) On Mon, Jul 20, 2009 at 1:00 PM, Lindolfo Lorn Rodrigues lorn.br@ gmail.com wrote: Try to add this in your view: __PACKAGE__-config({ INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ),

Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Lindolfo Lorn Rodrigues
Try to add this in your view: __PACKAGE__-config({ INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ), MyApp-path_to( 'root', 'lib' ) ], On Mon, Jul 20, 2009 at 10:40 AM, Christoph Metz mail-...@web.de wrote: Hey guys, i want to deploy my c-app by using the dev-server

Re: [Catalyst] OpenID authentication and LWPx-ParanoidAgent

2009-07-20 Thread Zbigniew Lukasiak
Next thing is that LWPx::ParanoidAgent does not set attributes from the call to 'new'. It is not documented there - so I guess this is fair from the side of LWPx::ParanoidAgent - but in line 62 in Catalyst::Authentication::Credential::OpenID there is: ua =

[Catalyst] More up-to-date version of Perl 5.10 ...

2009-07-20 Thread Kiffin Gish
Hi there. Installed Catalyst and at the end it said that because of a bug in Perl 5.10 I need to update to a newer version. Which version do you recommend that is the most stable for Catalyst? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands

Re: [Catalyst] What do you guys use for sanitizing HTML input

2009-07-20 Thread mateu
Zbigniew Lukasiak wrote: I noticed that there is a new HTML sanitizer bundled with Mojo: http://search.cpan.org/~mramberg/MojoMojo-0.999030/lib/HTML/Declaw.pm by our own Marcus Ramberg. The POD says it is a modifed version of HTML::Defang - but there is no clue as to what was really

Re: [Catalyst] More up-to-date version of Perl 5.10 ...

2009-07-20 Thread Darren Duncan
Kiffin Gish wrote: Installed Catalyst and at the end it said that because of a bug in Perl 5.10 I need to update to a newer version. Which version do you recommend that is the most stable for Catalyst? The first Perl 5.10.1 release candidate is expected to be out in maybe a week or so, and

Re: [Catalyst] More up-to-date version of Perl 5.10 ...

2009-07-20 Thread Andrew Rodland
On Monday 20 July 2009 02:42:51 pm Kiffin Gish wrote: Hi there. Installed Catalyst and at the end it said that because of a bug in Perl 5.10 I need to update to a newer version. Which version do you recommend that is the most stable for Catalyst? If you build your own perl, then take 5.10.0

Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Tomas Doran
On 20 Jul 2009, at 14:40, Christoph Metz wrote: so, where do i have to set a HOME oder PATH var, so that i can run the dev server from any fs-point? You can use CATALYST_HOME or MYAPP_HOME (replacing MYAPP with your capitalised app name with :: changed to _). Cheers t0m

[Catalyst] Re: More up-to-date version of Perl 5.10 ...

2009-07-20 Thread Aristotle Pagaltzis
* Kiffin Gish kiffin.g...@planet.nl [2009-07-20 21:45]: Installed Catalyst and at the end it said that because of a bug in Perl 5.10 I need to update to a newer version. The effect of the bug in question is if you have some kind of syntax error somewhere, perl will exit with just “unknown