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

2008-03-19 Thread Aristotle Pagaltzis
* Tatsuhiko Miyagawa [EMAIL PROTECTED] [2008-03-19 07:20]: Some modules like XML::LibXML adds UTF-8 flags regardless of if the characters to handle are composed of latin-1 range (like Encode::decode_utf8 instead of utf8::decode), and that's pretty much realistic and sane approach I think.

Re: [Catalyst]Catalyst::Plugin::Authentication::Store::DBIx::Classdeprecated?

2008-03-19 Thread Tobias Kremer
Quoting Octavian Rasnita [EMAIL PROTECTED]: From: Tobias Kremer [EMAIL PROTECTED] I suggest removing the old C::P::Authentication store/state backends completely and installing the new ones to avoid clashes between old installations of your app and possible future ones. I'm not sure, but

Re: [Catalyst] developer.yahoo.com

2008-03-19 Thread Mike Whitaker
On 18 Mar 2008, at 12:29, Chisel Wright wrote: On Tue, Mar 18, 2008 at 02:13:22PM +0200, Octavian Rasnita wrote: Do you have any idea why? None at all. Have you tried asking _them_? http://developer.yahoo.com/perl/ exists, is not linked. I've set things in motion both to fix that and to

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

2008-03-19 Thread Matt Lawrence
Aristotle Pagaltzis wrote: * Tatsuhiko Miyagawa [EMAIL PROTECTED] [2008-03-19 07:20]: Some modules like XML::LibXML adds UTF-8 flags regardless of if the characters to handle are composed of latin-1 range (like Encode::decode_utf8 instead of utf8::decode), and that's pretty much realistic

Re: [Catalyst] developer.yahoo.com

2008-03-19 Thread Dustin Suchter
This is only tangentially related: I noticed recently that Yahoo moved their official how to interact with Yahoo SearchMarketing sample Perl code from a simple Perl file to a proper program using a real CPAN released library. This seems to be a part of their v4.0 SearchMarketing API release.

Re: [Catalyst] How do I access 'Catalysed' custom datasets?

2008-03-19 Thread Eden Cardim
On Tue, Mar 18, 2008 at 4:40 PM, Ian Sillitoe [EMAIL PROTECTED] wrote: sub get_custom_resultset { my ($from, $to) = @_; my $result_source_name = ResultSetFrom${from}To${to}; my $result_source; # check if we haven't already made this if ( grep { $reps_source_name eq $_ }

[Catalyst] sqlite3

2008-03-19 Thread gautam gupta
Hi All, is it mandatory to use sqlite3 in catalyst ? -- With Regards Gautam Gupta ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] sqlite3

2008-03-19 Thread Ash Berlin
On 19 Mar 2008, at 12:39, gautam gupta wrote: Hi All, is it mandatory to use sqlite3 in catalyst ? -- Not by a long shot. Catalyst also doesn't talk to a database itself. And DBIx::Class to which I'm guessing you are talking about can use almost any database that perl can talk to.

[Catalyst] failed to install Catalyst::Plugin::Session::Store::FastMmap on strawberry perl

2008-03-19 Thread Ali M.
i failed to install Catalyst::Plugin::Session::Store::FastMmap on strawberry perl on windows here is the install attempt output basically i am installing all the modules necessary for trying the tutorial in catalyst docs this module is one those CPAN Terminal install

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

2008-03-19 Thread Bill Moseley
On Wed, Mar 19, 2008 at 12:36:42AM -0500, Jonathan Rockway wrote: * On Wed, Mar 19 2008, Jonathan Rockway wrote: We should not need to check the flag. The incoming data should be encoded. Then we should decode it. Then we should not try to decode it again. A key thing I forgot to

[Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jochen Luig
Hi, I stumbled upon a feature of the Authentication Plugin today (Yes I was the guy who used Ash's cardboard cutout programmer service earlier today on #catalyst, so thanks again, Ash ;-) My configuration was something like this: authentication: default_realm: users realms: users:

[Catalyst] Memory leak under FastCGI?

2008-03-19 Thread Matt Pitts
We have a Catalyst app that I recently (about a month ago) converted from running under mod_fcgid to external under mod_fastcgi and it appears to be leaking memory. There are 2 application backends and they both suffered oom-killer events within six minutes of one another yesterday and one of them

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Alex Povolotsky
Jochen Luig wrote: Hi, I stumbled upon a feature of the Authentication Plugin today (Yes I was the guy who used Ash's cardboard cutout programmer service earlier today on #catalyst, so thanks again, Ash ;-) My configuration was something like this: authentication: default_realm: users

[Catalyst] [OT] Request for help

2008-03-19 Thread Guillermo Roditi
Hi everyone, First, let me apologize if you are seeing this twice as a result of the cross post. As some of you may know, apart from being a module developer and occasional presence of the lists and IRC, I am a student of Economics at Northeastern University. I am preparing the final research

Re: [Catalyst] failed to install Catalyst::Plugin::Session::Store::FastMmap on strawberry perl

2008-03-19 Thread rahed
On 3/19/08, Ali M. [EMAIL PROTECTED] wrote: i failed to install Catalyst::Plugin::Session::Store::FastMmap on strawberry perl on windows Module 'Catalyst::Plugin::Session::Store::FastMmap' requires 'Cache::FastMmap' to be installed Cache::FastMmap doesn't work on windows. It uses mmap and

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jochen Luig
Hi Alex, It is A Feature. You've messed with parameters, username in userinfo, login in credential. my $userinfo = { login = $login, password = $password} will cure. Yes, I know. I found this out just as I was beginning to complain on #catalyst. I just wanted to know if I interpreted the

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jay K
Hi Jochen, You are nearly there. The DBIx::Class store interprets the authinfo hash (almost) exactly like the condition argument to $resultset-search(); The 'almost' bit is that it will filter out any columns that aren't actually in the user class. So - if you provide it with an authinfo

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jay K
Upon consideration - I've decided to throw an exception if you try to always going to be an error and better to fail loudly than silently pass auth, even if it is unlikely that the passwords will match. I'll put this in the next release. You can still accomplish an empty search if you really

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jay K
Upon consideration - I've decided to throw an exception if you try to always going to be an error and better to fail loudly than silently pass auth, even if it is unlikely that the passwords will match. I'll put this in the next release. You can still accomplish an empty search if you really

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jay K
Upon consideration - I've decided to throw an exception if you try to always going to be an error and better to fail loudly than silently pass auth, even if it is unlikely that the passwords will match. I'll put this in the next release. You can still accomplish an empty search if you really

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jay K
Upon consideration - I've decided to throw an exception if you try to always going to be an error and better to fail loudly than silently pass auth, even if it is unlikely that the passwords will match. I'll put this in the next release. You can still accomplish an empty search if you really

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jay K
Upon consideration - I've decided to throw an exception if you try to always going to be an error and better to fail loudly than silently pass auth, even if it is unlikely that the passwords will match. I'll put this in the next release. You can still accomplish an empty search if you really

Re: [Catalyst] Behaviour of Catalyst::Plugin::Authentication

2008-03-19 Thread Jay K
Sorry all. Mail client went crazy. If you try to call authenticate with no valid fields from the user class - it will throw an exception - as of the next release. Jay On Mar 19, 2008, at 2:44 PM, Jay K wrote: Upon consideration - I've decided to throw an exception if you try to always going