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] 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] Session expiry per user

2008-03-14 Thread Matt Lawrence
Alexandre Jousset wrote: Hello list, I've problems to set session expiry time per user. My goal is to have a default expiry time of until you quit the browser unless the user logs in and select a checkbox to have the site remember her (i.e. set expiry time to 1 year). I use

Re: [Catalyst] Session expiry per user

2008-03-14 Thread Matt Lawrence
Alexandre Jousset wrote: Hello Matt, Matt Lawrence a écrit : To set the longer expiry time, I try: I think that will make the cookie expire on the 1st January 1971. Try +31536000. Looking at the sessions table, the value is correct, with or without the '+'. The problem seems

Re: [Catalyst] Re: Http Status Chart

2008-03-13 Thread Matt Lawrence
Aristotle Pagaltzis wrote: * Andrew Rodland [EMAIL PROTECTED] [2008-03-12 05:55]: Anyway, you get a 401 if the server doesn't know who you are, and it thinks that if you were the right person you might be able to perform that action. You get a 403 if you're not allowed to do that despite who

Re: [Catalyst] debug mode or debug levels?

2008-03-05 Thread Matt Lawrence
Bill Moseley wrote: On Tue, Mar 04, 2008 at 05:22:38PM +, Matt Lawrence wrote: Tyler Bird wrote: hi I want to only show certain log messages to my console based on the log level 'debug' I believe catalyst supports log levels, but this doesn't seem to be working if ( $c-is_debug

Re: [Catalyst] debug mode or debug levels?

2008-03-04 Thread Matt Lawrence
Tyler Bird wrote: hi I want to only show certain log messages to my console based on the log level 'debug' I believe catalyst supports log levels, but this doesn't seem to be working if ( $c-is_debug() ) { $c-log(log message here..); } I believe that's spelt: if ($c-log-is_debug) {

Re: [Catalyst] Re: utf8 in regexes in Catalyst

2008-03-03 Thread Matt Lawrence
Aristotle Pagaltzis wrote: So for that one-liner, you do this: echo 'é' | perl -MEncode -e '$_ = decode 'UTF-8', scalar ; print /\w/' Yes, this is tedious. So what you do is you find ways to get the parts of your program that speak to the outside world to decode input on receipt and encode

Re: [Catalyst] C::P::Authentication - user not found debug info

2007-12-11 Thread Matt Lawrence
Tobias Kremer wrote: Hey all, my log files are filling up with the following warning [debug] Unable to locate user matching user info provided This info is both annoying and not really helpful IMHO. I found out that it's issued via $c-log-debug() and immediately wondered why this

[Catalyst] Dependency mismatch in C::P::Auth::Store::DBIC

2007-12-11 Thread Matt Lawrence
After upgrading Catalyst::Plugin::Authenticiation::Store::DBIC I started getting the following error at server startup: Base class package Catalyst::Plugin::Authentication::User is empty. (Perhaps you need to 'use' the module which defines that package first.) at

Re: [Catalyst] semi-OT: is it possible to circumvent tests that are related to WWW::Mechanize?

2007-11-05 Thread Matt Lawrence
Jonathan Rockway wrote: * On Monday 05 November 2007 08:50:03 am Matt Lawrence wrote: Jonathan Rockway wrote: How is Module::Mask different from Devel::Hide? The interface is different, Module::Mask has a slightly more flexible OO interface, but it does have some

Re: [Catalyst] semi-OT: is it possible to circumvent tests that are related to WWW::Mechanize?

2007-11-02 Thread Matt Lawrence
Joe Landman wrote: Hi folks: Working on deploying a Catalyst app on a customers machine. Installation is going well ... until the Catalyst modules that depend upon WWW::Mechanize and family come up. As far as we can tell, the breakage is not the modules, but the WWW::Mechanize (and