Re: [Catalyst] Catalyst and Shibboleth authentication

2008-03-17 Thread Alex Povolotsky
Jay K wrote: My point is simply that I built the Auth module to allow the most flexibility for customization without the need to 'rewrite Catalyst from scratch' as you put it. Any of the hook points I mentioned can be appropriate, and indeed for an SSO such as OpenID, which is much more comple

[Catalyst] Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-17 Thread Bill Moseley
The plugin decodes all parameters using: $_ = $c->encoding->decode( $_, $CHECK ) for ( ref($value) ? @{$value} : $value ); I'd think it would be wise to check to see if the string is already decoded: for ( ref($value) ? @{$value} : $value ) { next if Encode::is_utf8($_);

Re: [Catalyst] Catalyst and Shibboleth authentication

2008-03-17 Thread Jay K
On Mar 17, 2008, at 4:40 PM, Alex Povolotsky wrote: Jay K wrote: That page is slightly incorrect. In C::A::Store::Null -based class, apparently $storeclass- >can('find_user') returns 0 (called from C::A::Authentication::Realm.pm line 85) so Realm tries to construct find_user by itself, without

Re: [Catalyst] Catalyst and Shibboleth authentication

2008-03-17 Thread Alex Povolotsky
Jay K wrote: That page is slightly incorrect. In C::A::Store::Null -based class, apparently $storeclass- >can('find_user') returns 0 (called from C::A::Authentication::Realm.pm line 85) so Realm tries to construct find_user by itself, without success. Yes. Null does not implement find_use

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Alex Povolotsky
Ashley wrote: On Mar 17, 2008, at 1:53 PM, Alex Povolotsky wrote: So far I can tell only that SOMETIMES it does not escape it properly. I'm heavily pressed by missing deadline, but I'll make a test case and send it to you. This sounds like you are double encoding URIs in some situations with

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Ashley
On Mar 17, 2008, at 1:53 PM, Alex Povolotsky wrote: So far I can tell only that SOMETIMES it does not escape it properly. I'm heavily pressed by missing deadline, but I'll make a test case and send it to you. This sounds like you are double encoding URIs in some situations without realizin

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Alex Povolotsky
Jonathan Rockway wrote: * On Mon, Mar 17 2008, Stef T wrote: Hello Alex, I would assume that if Catalyst-Plugin-HTML-Scrubber-0.01 doesn't do what you want, it will probably point you in the right direction ;) You could probably also do this using the DBIx inflate_column I dare say.

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread John Goulah
On Mon, Mar 17, 2008 at 4:05 PM, Jonathan Rockway <[EMAIL PROTECTED]> wrote: > * On Mon, Mar 17 2008, Stef T wrote: > > Hello Alex, > >I would assume that if Catalyst-Plugin-HTML-Scrubber-0.01 doesn't > > do what you want, it will probably point you in the right direction ;) > > > >You cou

Re: [Catalyst] Catalyst and Shibboleth authentication

2008-03-17 Thread Jay K
That page is slightly incorrect. In C::A::Store::Null -based class, apparently $storeclass- >can('find_user') returns 0 (called from C::A::Authentication::Realm.pm line 85) so Realm tries to construct find_user by itself, without success. Yes. Null does not implement find_user - you ha

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Jonathan Rockway
* On Mon, Mar 17 2008, Stef T wrote: > Hello Alex, >I would assume that if Catalyst-Plugin-HTML-Scrubber-0.01 doesn't > do what you want, it will probably point you in the right direction ;) > >You could probably also do this using the DBIx inflate_column I > dare say. I don't think this i

Re: [Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Stef T
Alex Povolotsky wrote: Hello! Do we have some way to automatically uri_unescape parameters passed to handlers? Alex. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: htt

RE: [Catalyst] Weird Wiki markup issue, Bug?

2008-03-17 Thread Matt Pitts
> -Original Message- > From: Peter Edwards [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2008 9:02 AM > To: 'The elegant MVC web framework' > Subject: RE: [Catalyst] Weird Wiki markup issue, Bug? > > matt pitts wrote: > >I'm trying to setup my page for "PAR Deployments with Apache an

Re: [Catalyst] Re: [again] die() in an action chain : does not breakthe chain !

2008-03-17 Thread Ashley
On Mar 17, 2008, at 1:15 AM, Dami Laurent (PJ) wrote: So I think something more radical is needed, at the core of the chained actions mechanism. I tried the following modification to Catalyst::ActionChain sub dispatch { my ( $self, $c ) = @_; my @captures = @{$c->req->captures

[Catalyst] Automatically uri_unescape parameters

2008-03-17 Thread Alex Povolotsky
Hello! Do we have some way to automatically uri_unescape parameters passed to handlers? Alex. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/

RE: [Catalyst] Weird Wiki markup issue, Bug?

2008-03-17 Thread Peter Edwards
matt pitts wrote: >I'm trying to setup my page for "PAR Deployments with Apache and FastCGI". However, as soon as I type the link entry and let the live preview (really neat feature, BTW) refresh, the following is what appears as the list entry: > >span>Fast_CGI?.edit">? Sounds like it thinks you

[Catalyst] Weird Wiki markup issue, Bug?

2008-03-17 Thread Matt Pitts
I'm trying to setup my page for "PAR Deployments with Apache and FastCGI". However, as soon as I type the link entry and let the live preview (really neat feature, BTW) refresh, the following is what appears as the list entry: span>Fast_CGI?.edit">? If I back out the "FastCGI" and let it refresh

RE: [Catalyst] Catalyst and Shibboleth authentication

2008-03-17 Thread Carl Vincent
Hi Kirby, >-Original Message- >From: Kirby Krueger [mailto:[EMAIL PROTECTED] >Sent: 14 March 2008 19:01 >To: catalyst@lists.scsys.co.uk >Subject: [Catalyst] Catalyst and Shibboleth authentication > >One thing that Catalyst seems to do well is have a good mechanism for >plugging in standa

[Catalyst] Re: Quick Catalyst::Plugin::SubRequest notes

2008-03-17 Thread Aristotle Pagaltzis
* Pedro Melo <[EMAIL PROTECTED]> [2008-03-17 11:20]: > I needed that once, and after advise from mst, I used a base > controller. Basically, I implemented the entire chain in a base > controller, and then I create a normal controller, that defines > the base URL (in your case /clinicXY). So each /c

Re: [Catalyst] Can I install the catalyst manual from cpan?

2008-03-17 Thread Matt Lawrence
Chisel Wright wrote: On Sun, Mar 16, 2008 at 11:09:12AM +, Chisel Wright wrote: The manuals are part of the runtime distribution: http://search.cpan.org/~mramberg/Catalyst-Runtime-5.7012/lib/Catalyst/Manual.pm On a related note, I just upgraded Catalyst::Devel and saw: Warning

Re: [Catalyst] Engine::CGI POST

2008-03-17 Thread Matt Lawrence
Anton Katsarov wrote: Hello, all, I am trying to get any post params using C::Engine::CGI, but no result. I've seen this happen before with hand-made AJAX post requests missing the proper Content-Type (application/x-www-form-urlencoded or similar). You don't mention how you are making the

Re: [Catalyst] Engine::CGI POST

2008-03-17 Thread Anton Katsarov
I fixed it, Thanks anyway. :-) On пн, 2008-03-17 at 11:02 +0200, Anton Katsarov wrote: > Hello, all, > I am trying to get any post params using C::Engine::CGI, but no result. > > Thsi is my cgi handler: > > #!/usr/bin/perl > use strict; > use warnings; > BEGIN { > $ENV{CATALYST_ENGINE} ||= 'CGI'

Re: [Catalyst] Re: Quick Catalyst::Plugin::SubRequest notes

2008-03-17 Thread Pedro Melo
Hi, On Mar 11, 2008, at 3:26 AM, Aristotle Pagaltzis wrote: Oh yeah, [a user question, so I’m taking this over to the other list] * Aristotle Pagaltzis <[EMAIL PROTECTED]> [2008-03-11 03:59]: And honestly, it seems to me that if you start thinking about nesting subrequests, it’s probably time

[Catalyst] Engine::CGI POST

2008-03-17 Thread Anton Katsarov
Hello, all, I am trying to get any post params using C::Engine::CGI, but no result. Thsi is my cgi handler: #!/usr/bin/perl use strict; use warnings; BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI'; } use FindBin; use lib "$FindBin::Bin/../lib"; use lib "../../lib"; use MyApp; eval { MyAp

RE: [Catalyst] Re: [again] die() in an action chain : does not breakthe chain !

2008-03-17 Thread Dami Laurent (PJ)
Hi all, It seems that the discussion on how to break a chain now has moved to "let's write a special method for breaking the chain, and let's find a good name for it (candidates : die, abort, halt, fail, error_out, explode, collapse, stop_that, ...)" However, this approach still implies that one

[Catalyst] Book - Japanese

2008-03-17 Thread sindharta_tanuwijaya
Hi, I am wondering if there is a plan to publish the Catalyst Book in Japanese. Although I already bought the book, my team seems to prefer reading the book in Japanese ... Sin - Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar ___

RE: [Catalyst] Chart::Graph::Gnuplot trouble.

2008-03-17 Thread Peter Edwards
>[info] test powered by Catalyst 5.7012 >You can connect to your server at http://trillian:3000 exit value = 16777215 signal number = 127 dumped core = 128 at >/usr/local/share/perl/5.8.8/Chart/Graph/Gnuplot.pm line 768 [info] *** Request 1 (0.143/s) [13684] [Sun Mar 16 22:16:47 >2008] *** [debug]