Re: [Catalyst] CatalystX::SimpleLogin and "auto"

2010-02-10 Thread Tomas Doran
Ovid wrote: Thanks Florian. Simply adding a 'return $c' fixes it for me. You probably want to return 1; # As it's any truth value, and you don't want to later confuse yourself that the $c is meaningful. Cheers t0m ___ List: Catalyst@lists.scsys.c

Re: [Catalyst] more thoughts on $c->foward

2010-02-12 Thread Tomas Doran
On 12 Feb 2010, at 19:10, Tommy Butler wrote: does this give you something special that I'm missing? $c->controller('foo')->action_for('bar') You are missing $c->uri_for_action('/foo/bar', \...@captures, @args) HTH Cheers t0m ___ List: Catalyst

Re: [Catalyst] more thoughts on $c->foward

2010-02-12 Thread Tomas Doran
On 12 Feb 2010, at 19:10, Tommy Butler wrote: $c->forward($c->controller('Helper::Ajax')- >action_for('nocache_headers')); Actually, please ignore last response - you're not generating URIs, you're calling code. Don't do that. Use an action role (Catalyst::Controller::ActionRole), or

Re: [Catalyst] Cannot fetch value of Active pre-execute

2010-02-13 Thread Tomas Doran
On 13 Feb 2010, at 02:09, Silvio Almeida wrote: I got this error on script/myapp_server with DBI_TRACE=1 inside $c- >authenticate call: - Cannot fetch value of Active pre-execute <- prepare_cached('SELECT me.id, me.name, me.password, me.status, me.created, me.id_person FR

Re: [Catalyst] Use SessionId from HTTP header

2010-02-14 Thread Tomas Doran
On 14 Feb 2010, at 11:43, Christiaan Kras wrote: In a RESTful application I'm working I'd like to be able to load a session based on the sessionid which is sent with the HTTP headers. It's perfectly arguable that you just failed at REST. http://www.prescod.net/rest/mistakes/ The applicatio

Re: [Catalyst] FastCGI deployment - slow to complete request

2010-02-15 Thread Tomas Doran
Steve Rippl wrote: Andrew Rodland wrote: Fix: Use a current snapshot version of mod_fastcgi. Source tarballs can be found in http://www.fastcgi.com/dist/ or if you'd like a deb, I've built http://cleverdomain.org/libapache2-mod-fastcgi_2.4.6.99~snap20081109_i386.deb (for Debian 5.0 i386). A

Re: [Catalyst] Multiple chaining to same action ...

2010-02-15 Thread Tomas Doran
On 15 Feb 2010, at 21:10, Kiffin Gish wrote: I just happened to find the answer here: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg07604.html Leaping in to correct myself, the preferred syntax is now: use MooseX::MethodAttributes::Role; rather than: use Moose::Role -traits =>

Re: [Catalyst] Clearing $c->req->params in CatalystX::SimpleLogin ...

2010-02-20 Thread Tomas Doran
On 19 Feb 2010, at 10:23, Kiffin Gish wrote: I've been playing around with the ideas used in CatalystX::SimpleLogin, and it's been a good learning experience for me! However, I discovered a slight problem with the redirect in which the current uri is saved in a session key like this: $c->se

Re: [Catalyst] Inconsistent hierarchy during C3 merge of class

2010-02-25 Thread Tomas Doran
Al Alder wrote: Using Catalyst 5.80020 When running CATALYST_DEBUG=0 prove -l t/01app.t per 'The Definitive Guide To Catalyst' page 76 I get: LolCatalyst-Lite > CATALYST_DEBUG=0 prove -l t/01app.t t/01app.t .. 1/1

Re: [Catalyst] on the topic of PAR file distribution, why is it frowned upon?

2010-02-25 Thread Tomas Doran
On 26 Feb 2010, at 01:34, Toby Corkindale wrote: On 26/02/10 11:27, Tommy Butler wrote: Hello all, I will be deploying a catalyst app onto several dozens of servers in the next months, which will probably turn into more than that eventually. It is a year in the making, and quite complex in

Re: [Catalyst] Scripts and @INC

2010-02-26 Thread Tomas Doran
On 24 Feb 2010, at 15:33, Stuart Watt wrote: Does anybody know if there any very good reason why the fastcgi.pl (and other) scripts move the application's lib folder to the front of @INC even if it is already in @INC but not at the front? No. I've just noticed that my carefully constructe

Re: [Catalyst] Inconsistent hierarchy during C3 merge of class

2010-02-26 Thread Tomas Doran
On 25 Feb 2010, at 17:55, Al Alder wrote: Ran Makefile.PL for Catalyst::Runtime no modules are reported as old. Using the o command in cpanplus shows only the following modules not up to date: CPAN Terminal> o 1 0.24 0.2702 ExtUtils::CBuilder DAGOLDEN

Re: [Catalyst] Catalyst::Plugin::AutoCRUD and multiple roles

2010-03-03 Thread Tomas Doran
Kiffin Gish wrote: Is this possible? No, I don't think so. AutoCRUD is very simple and easy to use, works like a charm and also gives you absolutely no configurability.. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys

[Catalyst] [ANNOUNCE] Catalyst-Runtime-5.80021

2010-03-03 Thread Tomas Doran
Hi It gives me great pleasure to announce the latest maintenance release of the Catalyst 5.80 series. The only change in this release is to fix some buts around the handling of extended characters in the uri_for and related methods. Full changelog below as always. Cheers t0m -- 5.80021

Re: [Catalyst] Which C::View::PDF should I use?

2010-03-05 Thread Tomas Doran
On 5 Mar 2010, at 05:38, Charlie Garrison wrote: I'm not looking to create PDFs from code, I'll be using an existing PDF and replacing values. And both C::V::P::Reuse & C::V::P::API2 seem to handle that in effectively the same way. Yeah, they're both basically just wrappers.. PDF::Reuse i

Re: [Catalyst] Redirecting Catalyst's Log to a File

2010-03-08 Thread Tomas Doran
On 8 Mar 2010, at 09:14, John Karr wrote: I'm having a problem with deploying a Catalyst application (I'm learning Catalyst and this is the first application I've tried to put on the web, and it works on my test machine which has a similar configuration to my ISP, but just times-out at my

Re: [Catalyst] uri_for and unicode

2010-03-09 Thread Tomas Doran
Alex Povolotsky wrote: Catalyst is 5.80020 5.80021 2010-03-03 23:02:01 Bug fixed: - $c->uri_for will now escape unsafe characterss in captures ($c->request->captures) and correctly encode utf8 charracters. Can you try upgrading? And I'm _very_ interested in test cases / fixing this

Re: [Catalyst] Empty pdf file/ using Catalyst::View::PDF::Reuse

2010-03-10 Thread Tomas Doran
Lupin Deterd wrote: hobbs suggest that it can be file as bug but I don't have idea how(I newbie on both Perl/Cat). Every CPAN distribution has a bug tracker linked: http://search.cpan.org/~jonallen/Catalyst-View-PDF-Reuse-0.03/ Just follow 'View/Report Bugs' Cheers t0m _

Re: [Catalyst] ask for help on table with 2 similar columns

2010-03-17 Thread Tomas Doran
On 17 Mar 2010, at 18:00, nhyda wrote: I am learning Catalyst for my project. DBIx::Class question follows.. I think you want to be asking that on the DBIC list, sorry.. :) Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists

Re: [Catalyst] Making a hash available across the application

2010-03-17 Thread Tomas Doran
On 17 Mar 2010, at 18:48, Ram Dobson wrote: I'm kinda new to Catalyst too, but i believe this is what one might call a "helper" function. Anybody who knows more have an opinion on the relative merit of my change? Crapping stuff into the top level context class like that works, however

Re: [Catalyst] ask for help on table with 2 similar columns

2010-03-18 Thread Tomas Doran
nhyda wrote: any suggestion for improvement is well welcome. Yes, and you're more likely to get them by ASKING ON THE RIGHT LIST. Still. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/ca

Re: [Catalyst] Slow Makefile.PL

2010-03-24 Thread Tomas Doran
On 23 Mar 2010, at 21:52, Wade Stuart wrote: The other option is to wait (up to 2 minutes) for RAM to write to disk and the sleep light to slow blink before moving your lappy; I am just too impatient. Or just shell out for the SSD option. :) Cheers t0m _

Re: [Catalyst] Configuring individual models via config file with DBIx::Class:Schema

2010-03-24 Thread Tomas Doran
On 22 Mar 2010, at 19:15, Alan Schwartz wrote: I have an application using DBIx::Class::Schema. In the application config file, I have: schema_class MyApp::Schema ...various necessary stuff here... someattribute value anotherattribute anothervalue The first two of these blocks

Re: [Catalyst] application broke once installed under other than the web root directory

2010-03-24 Thread Tomas Doran
On 21 Mar 2010, at 17:18, Charles wrote: I have finished development of my app using the built in server in the scripts dir. I have installed it and configured apache to let it run under http://myurl.com/myapp . The Root.pm index controller get's called and works ( fetches db table dat

Re: [Catalyst] Security issue with hashed passwords in C:P:A:Password

2010-03-24 Thread Tomas Doran
On 23 Mar 2010, at 20:17, Evan Carroll wrote: This is broken implementation. Hard coding salt in a config file only protects you from a rainbow table without that salt. It still doesn't solve the problem of cached hashings. Thanks for the responsible disclosure of a potential security vulner

Re: [Catalyst] Security issue with hashed passwords in C:P:A:Password

2010-03-24 Thread Tomas Doran
Tomas Doran wrote: P.P.S. I expect to be uploading a fix this in the next 24-48 hours for anyone who concerned that evil people in possession of their application configuration are generating the relevant rainbow tables right now... Well, having read the other followups (bah, my home internet

Re: [Catalyst] How to extend authentication to use other DB fields?

2010-03-26 Thread Tomas Doran
Julien Sobrier wrote: __PACKAGE__->config->{'Plugin::Authentication'} = { default => { There might be a better way to do it. A better way to do it is calling config as a method, rather than doing direct hash access. So: __PACKAGE__->config('Plugin::Authentication' => {... Chee

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread Tomas Doran
Jon mailinglists wrote: Hi all, I'm making a small catalyst application and I want to be able to serve different types of content based on parameters and/or request headers. I'm curious about where the "correct" location for that kind of code is, my current sollution is in the Root end like this:

Re: [Catalyst] GSoC

2010-03-27 Thread Tomas Doran
On 27 Mar 2010, at 06:10, Caleb Cushing wrote: so unless I get a job offer before applications go live I'm interested in working on the context/app split issue as I think it's important. Just thought I'd mention it on the list if anyone wants to discuss it. I for one would be happy to support

Re: [Catalyst] Global behaviour modification

2010-03-27 Thread Tomas Doran
On 27 Mar 2010, at 13:01, J. Shirley wrote: The approach I take, and recommend, is to use Chained for this (though on an existing application it may be too late). You can setup chains for auth required that redirects as desired, then anything that doesn't need authentication can either tie to a

[Catalyst] [ANNOUNCE] Catalyst-Runtime-5.80022

2010-03-28 Thread Tomas Doran
Hi It gives me great pleasure to announce the latest maintenance release of the Catalyst 5.80 series. There are two significant changes in this release - one is to significantly optimise component resolution, and the other to refactor the debug console output generation code to make it po

Re: [Catalyst] Picking template type based on input

2010-03-28 Thread Tomas Doran
On 28 Mar 2010, at 15:12, Jon mailinglists wrote: I then login to my application in one tab, and in another tab access this js/html. That will give back the data about me since I've got a valid session which gets sent to my catalyst server. That means evilempire.com has access to my logged in us

Re: [Catalyst] Picking template type based on input

2010-03-28 Thread Tomas Doran
On 28 Mar 2010, at 22:41, Bill Moseley wrote: Hopefully, that's clear -- and correct. ;) Yes, I think so - in the reply I just sent to the list to this thread I had entirely neglected to notice that the main issue is the JSONP thing, rather than the general case of XSRF. Not to say that

Re: [Catalyst] Picking template type based on input

2010-03-28 Thread Tomas Doran
On 29 Mar 2010, at 01:06, Bill Moseley wrote: I do this -- every POST must include token, and the token can only be used once. That means the the form must be fetched before bing posted (to generate the token). Have anything generic you'd care to share? :) However this would obviously

Re: [Catalyst] PostgreSQL as DB: schema and views (DBIx ?)

2010-03-29 Thread Tomas Doran
Roderick A. Anderson wrote: Or is this a DBIx only question? DBIx is a namespace for modules providing interfaces to DBI. It is -not- a project. If you're calling DBIx::Class DBIx, please stop because there are lots of other DBIx::* projects out there and it's unfair on them (for DBIx::Class

[Catalyst] Re: Views and escaping HTML

2010-04-01 Thread Tomas Doran
Ovid wrote: package Veure::View::HTML; use Modern::Perl; use parent 'Catalyst::View::TT'; __PACKAGE__->config( TEMPLATE_CLASS => 'Template::HTML', TEMPLATE_EXTENSION => '.tt', WRAPPER=> 'site/wrapper', ); However, that doesn't work because the template c

Re: [Catalyst] HttpOnly flag dependency.

2010-04-02 Thread Tomas Doran
On 29 Mar 2010, at 23:31, Bill Moseley wrote: I don't see that dependency in Catalyst::Runtime or C::P::Session::State::Cookie. Could that be added to Runtime? Added in r13124, thanks for the suggestion. Cheers t0m ___ List: Catalyst@lists.sc

Re: [Catalyst] Distributing and updating Cat apps

2010-04-06 Thread Tomas Doran
On 5 Apr 2010, at 15:19, Bill Moseley wrote: Wasn't there talk a while back about splitting up ConfigLoader to make it available outside of Catalyst and with the ability to merge files? Yes. Nobody actually did anything useful to help make it happen yet however :( Cheers t0m ___

Re: [Catalyst] What to upload

2010-04-06 Thread Tomas Doran
On 6 Apr 2010, at 14:07, Oleg Kostyuk wrote: My site does FastCGI and I can do a .htaccess file but I haven't gotten that to work yet either Would have a sample .htaccess file I can try? Very interested, how they does FastCGI, if you don't have access to server config? You should ask t

Re: [Catalyst] What to upload

2010-04-06 Thread Tomas Doran
On 6 Apr 2010, at 14:55, Oleg Kostyuk wrote: but with AddHandler you will get "dynamic" FastCGI. As for me, it don't have any benefits comparing to plain old CGI. If this is what you want, then just forget about FastCGI, and configure your app as usual CGI. No benefits other than your app bei

Re: [Catalyst] Outcome of the "Security issue with hashed passwords in C:P:A:Password"?

2010-04-09 Thread Tomas Doran
On 9 Apr 2010, at 03:05, Evan Carroll wrote: http://github.com/EvanCarroll/Catalyst-Plugin-Authentication Anyway, that's the repo -- Find the commits here: http://github.com/EvanCarroll/Catalyst-Plugin-Authentication/commits/master This is actually a very unhelpful way to supply patches, as i

Re: [Catalyst] More Application or More Controllers

2010-04-09 Thread Tomas Doran
On 9 Apr 2010, at 07:50, Amit Jha wrote: Hi, Can any body help me on finding out a best way: I am planning to build an application on catalyst. I have 3 different module 1. Admin Utility. 2. Search Utility. 3. Index List Utility. All modules have lots of jobs to perform. Erm, that's fail

Re: [Catalyst] [Beginner] How to get 'Chained' to work`?

2010-04-15 Thread Tomas Doran
Johannes Kilian wrote: Thank you - that was the problem ... It's difficult to find a documented entry to this (Chained/Args/CaptureArgs ...) with (nearly) zero knowledge. Can you tell us where you tried to look for the info, and I'll make sure some helpful hints get added too the documentati

Re: [Catalyst] Catalyst getting wrong path from Apache server-side includes

2010-04-18 Thread Tomas Doran
On 16 Apr 2010, at 04:49, Ashley wrote: It's a longshot that this is relevant to the problem but it is relevant to Engine::CGI and I needed an excuse to bring it up again. There is a long-standing bug in the prepare_path of Catalyst::Engine::CGI that wrecks certain kinds of apache path h

Re: [Catalyst] Catalyst getting wrong path from Apache server-side includes

2010-04-18 Thread Tomas Doran
On 16 Apr 2010, at 01:53, Jason McIntosh wrote: Howdy y'all, Since upgrading to Catalyst 5.8022 on Wednesday, I've found that no Catalyst requests coming from Apache server-side includes work. If the user requests "foo.shtml", and that file contains "", then Apache correctly forwards the requ

Re: [Catalyst] Automated testing?

2010-04-18 Thread Tomas Doran
On 18 Apr 2010, at 16:22, Bill Moseley wrote: Do you do anything similar? Anyone using Smolder and/or SmokeRunner::Multi or other standard tools for their in-house code? At work, we're using hudson, and Tap::Harness::JUnit. It's entirely a dog and uses a million RAM, but does work quite wel

Re: [Catalyst] Suggestions for iPhone version of app

2010-04-27 Thread Tomas Doran
On 26 Apr 2010, at 16:27, Steve Nolte wrote: HTTP::BrowserDetect gives you the detection, and you could setup a separate view for those templates with a fallback to the previous templates. You configure the secondary view with multiple paths (INCLUDE_PATH), so you can override any template (ju

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-27 Thread Tomas Doran
On 26 Apr 2010, at 10:36, Dermot wrote: Obviously I'd rather use the faster method but if I'm breaking the encapsulation in some ways that's going to bite me later, I'd steer clear. Premature optimisation is the root of all evil. I really really wouldn't be worrying about method call overhead

Re: [Catalyst] Pre-Moose version of Catalyst and all plugins?

2010-04-27 Thread Tomas Doran
On 26 Apr 2010, at 21:09, Kee Hinckley wrote: I'm trying to get some old code running in a hurry. Unfortunately Moose has completely fouled things up.First it broke my use of Error.pm (conflict with "with"). Erm, that'll only break things if you import the Moose helper functions into the

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-27 Thread Tomas Doran
Merlyn Kline wrote: So I had a quick look at the docs (for the first time in many years - I found them at http://search.cpan.org/~hkclark/Catalyst-Manual/) to see if I could see what this is all about. The answer to Dermot's question is there but it it's a bit obscured by the CGI.pm combatability

Re: [Catalyst] Oddness with Catalyst::Plugin::Session::Store::DBIC

2010-04-29 Thread Tomas Doran
On 29 Apr 2010, at 02:50, Ben van Staveren wrote: Which is great. But a lot of users leave Static::Simple loaded, so while it's not going to bother you it -will- bother them. So, in the name of paying karma forwards, any chance I could have the versions anyway please? *Cough* remind me

Re: [Catalyst] RunAfterRequest/delayed Catalyst view

2010-04-29 Thread Tomas Doran
On 30 Apr 2010, at 07:00, Steve Kleiman wrote: Thanks in advance for any insights. No ideas I'm afraid. However I don't see any reason why this couldn't / shouldn't work.. Could you work up some test cases (or a very small test app) for either View::Email or ::RunAfterRequest which demonst

Re: [Catalyst] Returning error codes to the user.

2010-05-01 Thread Tomas Doran
On 30 Apr 2010, at 23:18, Bill Moseley wrote: But, for a tiny, tiny percent a request might fail. Then the question is *why* did it fail? What WHERE condition or join failed? Just like our favorite topic premature optimization, I don't think it would be wise to write the above in multip

Re: [Catalyst] RunAfterRequest/delayed Catalyst view

2010-05-01 Thread Tomas Doran
On 30 Apr 2010, at 23:22, Bill Moseley wrote: Ya, it's a fine line. I tend to think Catalyst's job is to handle a request and return the response as soon as possible and then move on to serve another request. But, if you have processes to spare then why not use them? Might need to think

Re: [Catalyst] RunAfterRequest/delayed Catalyst view

2010-05-03 Thread Tomas Doran
On 3 May 2010, at 05:28, Steve Kleiman wrote: Wow, Matt. That works like a charm. THANK YOU. No pointing and laughing from this corner. Except at myself for not setting up a proper email dispatching mechanism. One bridge at a time. Again, my thanks for tracking that down. Can we at least

Re: [Catalyst] Bareword "catalyst" not allowed while "strict subs" in use at Makefile.PL line 90.

2010-05-03 Thread Tomas Doran
On 3 May 2010, at 12:57, Octavian Rasnita wrote: Hi, I am trying to install a Catalyst-based app under Debian which has Perl 5.10.0 installed. I've installed the latest versions of CPAN, CPANPLUS, ExtUtils::MakeMaker, Module::Install, Module::Build and local::lib using cpan. Then I tri

Re: [Catalyst] Difference in way config->{home} is calculated?

2010-05-10 Thread Tomas Doran
On 10 May 2010, at 23:23, Paul Makepeace wrote: I'm noticing a difference in config->{home} between two installs (one is 5.8/18 & other is /23). The latter also has the new ScriptRunner code: .../IDL-Web and .../IDL-Web/script/../lib/IDL/Web The latter breaks our app (and is wrong; our html e

Re: [Catalyst] Difference in way config->{home} is calculated?

2010-05-11 Thread Tomas Doran
On 11 May 2010, at 03:59, Paul Makepeace wrote: On Mon, May 10, 2010 at 15:19, Tomas Doran wrote: On 10 May 2010, at 23:23, Paul Makepeace wrote: I'm noticing a difference in config->{home} between two installs (one is 5.8/18 & other is /23). The latter also has the new

Re: [Catalyst] Adding build scripts to Makefile.PL

2010-05-11 Thread Tomas Doran
On 11 May 2010, at 06:31, Florian Ragwitz wrote: Anyone have examples of how to set this up in Makefile.PL (which uses Module::Install)? Module::Install has a postamble() command to add makefile snippets to the generated Makefile.PL I'd love to see a recipe for how to do this on the wi

Re: [Catalyst] Difference in way config->{home} is calculated?

2010-05-11 Thread Tomas Doran
On 11 May 2010, at 09:47, Paul Makepeace wrote: This app is quite a lot older than 'a while' :) I think the migration to Cat was about five years ago. :) What actually prompted me to toss the inner Makefile.PL today was something at some stage complaining about the bareword 'catalyst;'...

Re: [Catalyst] db delete

2010-05-12 Thread Tomas Doran
On 12 May 2010, at 17:12, Stuart Dodds wrote: This is more of a Catalyst/DBIx problem and i've probably got it wrong and it should be in the DBIx mailing list, but i know most of you guys here use both, so hopefully someone can help me out. Yes, this should be on the DBIC mailing list, sorry.

[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80024

2010-05-15 Thread Tomas Doran
Good afternoon. It gives me great pleasure to announce the release of the latest maintenance version of Catalyst-Runtime, 5.80024. This release adds some documentation and fixes what (for some people) was a major backwards compatibility breakage first seen in 5.80014_02. The more correct

Re: [Catalyst] "Catalyst::Plugin::Authentication uses NEXT, which is deprecated."

2010-05-18 Thread Tomas Doran
On 18 May 2010, at 20:31, Paul Makepeace wrote: Thanks Jay, that worked nicely! Doc patch to make this more clear worthwhile? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Sea

Re: [Catalyst] A point of confusion/frustration on chained actions

2010-05-20 Thread Tomas Doran
On 20 May 2010, at 08:28, Ido Perlmuter wrote: Plus, there's an example at Catalyst::Manual::Cookbook. Anyway, I don't see why the Catalyst wiki is completely different than the documentation at CPAN. Makes more sense to me to have them merged and expanded. Well volunteered. Please feel

Re: [Catalyst] Picking template type based on input

2010-05-22 Thread Tomas Doran
On 29 Mar 2010, at 10:12, Jon mailinglists wrote: That's why I was talking auth tokens or some other means of protection. A guess so, given that auth tokens are an XSRF protection really :) I suppose more people have thought of that, and this isn't really Catalyst specific but very genera

Re: [Catalyst] Catalyst::Model::DBIC::Schema and ACCEPT_CONTEXT -- current user in model

2010-05-22 Thread Tomas Doran
On 14 May 2010, at 21:59, Bill Moseley wrote: Better ideas? DBIx::Class::Schema::RestrictWithObject ? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://

Re: [Catalyst] What is the currently blessed XMLRPC

2010-05-22 Thread Tomas Doran
On 6 Feb 2010, at 14:29, Joe Landman wrote: Hi folks: Working on a new version of some of our applications. One of the things we are doing is providing an XMLRPC interface for some of our functionality. I am setting up a new load of Catalyst::Devel and some of the additional bits, and

Re: [Catalyst] Re: Unicode trouble with Catalyst::Engine::FastCGI

2010-05-22 Thread Tomas Doran
On 26 Jan 2010, at 04:28, Rod Taylor wrote: 0.6802 does not seem to work for me. Sorry for the very late reply, but... Do you still have this issue? Can you retest using the latest Plugin::Unicode::Encoding and the latest FCGI as they've both had important fixes since that point. Chee

Re: [Catalyst] A point of confusion/frustration on chained actions

2010-05-22 Thread Tomas Doran
On 20 May 2010, at 00:24, Jeff Albert wrote: I've never contributed, so I don't know the process, but it would be nice to see this information in the documentation. If somebody who knows what's necessary mails me off-list with the information on how to get started, I would be willing hack u

Re: [Catalyst] Not cleaning up temporary files / HTTP::Body

2010-05-22 Thread Tomas Doran
On 13 Jan 2010, at 14:53, Bill Moseley wrote: Where should this be addressed? In Catalyst or in HTTP::Body? I'm all for it being addressed as suggested, in both places (for extra double sure). Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Li

Re: [Catalyst] on the topic of PAR file distribution.

2010-05-22 Thread Tomas Doran
On 1 Mar 2010, at 02:08, Toby Corkindale wrote: I was thinking it'd be in Module::Install::Catalyst, with some automatically-added -M options to par. Yes, that sounds more sane... Speaking of M-I-C, is there a good reason why STDERR is redirected to /dev/null, as well as __WARN__? I ask,

Re: [Catalyst] Apache + mod_perl + Digest-SHA fails

2010-05-22 Thread Tomas Doran
On 18 Dec 2009, at 14:27, Ascii King wrote: Could you please point out the specific section so I can GO BEAT IT WITH A STICK. A STICK WITH RUSTY NAILS HAMMERED THROUGH IT. I have done this, the documentation will be more accurate to what we generally recommend in the next release. :)

Re: [Catalyst] create controller 'option' -mechanize fails

2010-05-22 Thread Tomas Doran
On 19 Jan 2010, at 21:22, Thomas L. Shinnick wrote: I'm confused about the 'options' to script/foo_create.pl . Nothing seems to work as documented. Note already the disagreement between "--mechanize" and "-mechanize". Fixed in trunk in r13297. Couldn't load helper "Catalyst::He

Re: [Catalyst] Catalyst::Model::DBIC::Schema and dbh_maker

2010-05-25 Thread Tomas Doran
On 25 May 2010, at 15:36, Bill Moseley wrote: I would like my Catalyst::Model::DBIC::Schema model class to be able to inspect the configuration and modify connect_info. Specifically, based on a flag in the config either pass connect_info unmodified or replace dsn/user/password with a dbh_

Re: [Catalyst] "Catalyst::Plugin::Authentication uses NEXT, which is deprecated."

2010-05-31 Thread Tomas Doran
On 31 May 2010, at 05:16, w...@serensoft.com wrote: Okay, we should uninstall the deprecated modules just to be sure our dependencies are all clean, and we should use Catalyst::Authentication instead of Catalyst::Plugin::Authentication... Erm, no. You still use Catalyst::Plugin::Authen

Re: [Catalyst] "Catalyst::Plugin::Authentication uses NEXT, which is deprecated."

2010-05-31 Thread Tomas Doran
On 31 May 2010, at 16:25, w...@serensoft.com wrote: Thanks Tom. I can see now that I was a bit fuzzy on my question, whoops :) On Mon, May 31, 2010 at 9:34 AM, Tomas Doran wrote: On 31 May 2010, at 05:16, w...@serensoft.com wrote: Okay, we should uninstall the deprecated modules just

Re: [Catalyst] "Catalyst::Plugin::Authentication uses NEXT, which is deprecated."

2010-05-31 Thread Tomas Doran
On 31 May 2010, at 17:36, w...@serensoft.com wrote: Thanks for your patience, Tom Sahib. :) We've been getting up to speed via the (Packt Publishing) book "Catalyst: Accelerating Perl Web Application Development" by Jonathan Rockway, using the paradigm introduced on p74. That's where we

Re: [Catalyst] Subclassing using Catalyst::Controller::REST

2010-06-07 Thread Tomas Doran
On 7 Jun 2010, at 10:15, prasad guna wrote: lasses are using the default config and renders the output using YAML::HTML, so ideally what i need is, when a request is made the subclass should use the config from the parent class and forward to View::TT, Please let me know, how to do this.

Re: [Catalyst] Clean install doesn't work at all... any ideas?

2010-06-10 Thread Tomas Doran
On 9 Jun 2010, at 22:53, Sir Robert Burbridge wrote: Hey can anyone help me figure out this issue? I upgraded catalyst to v5.80024 (from CPAN). A fresh install throws the following error. I included module version numbers that seemed relevant ... Thanks! -Sir Moose: v1.07 Catalyst: v5

Re: [Catalyst] Issues with IO module for my app

2010-06-10 Thread Tomas Doran
On 10 Jun 2010, at 10:58, prasad guna wrote: I am running my app using fastCGi under lighttpd, I am getting the following error, i tried to trace the issue and googled for it, but cant find anything useful or does make sense to me, Can't load '/path/perl5/lib/perl5/darwin-2level/auto/IO/I

Re: [Catalyst] Clean install doesn't work at all... any ideas?

2010-06-10 Thread Tomas Doran
On 10 Jun 2010, at 16:11, Sir Robert Burbridge wrote: On 06/10/2010 04:58 AM, Tomas Doran wrote: On 9 Jun 2010, at 22:53, Sir Robert Burbridge wrote: Hey can anyone help me figure out this issue? I upgraded catalyst to v5.80024 (from CPAN). A fresh install throws the following error

Re: [Catalyst] unrecognized characters

2010-06-14 Thread Tomas Doran
On 14 Jun 2010, at 02:05, Xiao Yafeng wrote: Thanks for your advice. I've solved it. Woo! \o/ Just for my information, what was the correct fix? Did C::P::Unicode::Encoding work better for you? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Log::Log4perl::Catalyst or Catalyst::Log::Log4perl ?

2010-06-14 Thread Tomas Doran
On 13 Jun 2010, at 18:53, J. Shirley wrote: On Jun 13, 2010, at 3:56 AM, Christiaan Kras wrote: Thanks. He suggests Catalyst::Log::Log4perl. I guess I'll try both Catalyst::Log::Log4perl and Log::Log4perl::Catalyst then. Christiaan Kras The cspec issues can (in most cases) be safely ig

Re: [Catalyst] Re: possible to get uri fragment?

2010-06-15 Thread Tomas Doran
On 15 Jun 2010, at 10:07, Fayland Lam wrote: hmm, it seems server can't get #fragment because the browser doesn't send it to server? Correct. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/list

Re: [Catalyst] Extending Catalyst -- new elements

2010-06-18 Thread Tomas Doran
On 17 Jun 2010, at 20:22, Sir Robert Burbridge wrote: My questions are: * Would this kind of functionality be better done in Catalyst::Helper::(Model|View|Contoller):: or somewhere else? No, you want to put it in about the right place. Currently the skeleton code generation only generates a

Re: [Catalyst] Extending Catalyst -- new elements

2010-06-18 Thread Tomas Doran
On 18 Jun 2010, at 09:58, piotr pogorzelski wrote: Hi, I prefer instead of catalyst.pl MyApp run catalyst.pl MyApp::Catalyst and keep my model, helpers, or other application modules below MyApp::Catalyst, leaving MyApp::Catalyst for web interface modules. using DBIC::Schema i c

Re: [Catalyst] Extending Catalyst -- new elements

2010-06-18 Thread Tomas Doran
On 18 Jun 2010, at 15:50, Sir Robert Burbridge wrote: Yeah, that's just from habit (the docs on cpan and, I think, in the Catalyst book, have "script/myapp_create.pl view TT TT"). I removed this from the help recently, and I believe it has also been removed from the manual (Caelum++). Use

Re: [Catalyst] Contributing code

2010-06-22 Thread Tomas Doran
On 22 Jun 2010, at 08:55, Toby Corkindale wrote: I think I asked about this last time (to great silence), but.. what's the correct base path for the Git repos there? ie. git clone http://git.shadowcat.co.uk//Catalyst-Devel.git Like the CPAN search page says, it is git://git.shadowcat.c

Re: [Catalyst] Contributing code

2010-06-22 Thread Tomas Doran
On 22 Jun 2010, at 11:27, Chisel wrote: I agree that it's a bit annoying that the summary page for the project isn't more helpful by explicitly showing the clone URL and relies on a bit of educated guessing to find. By 'the summary page for the project', you mean something other than the sea

Re: [Catalyst] Contributing code

2010-06-22 Thread Tomas Doran
On 22 Jun 2010, at 17:01, Chisel wrote: I'm spoiled by github and gitosis having easy to spot, copy and use git:// URLs for a repo clone action. Erm, you are looking at a gitosis install :) But I get exactly what you're saying about the clone URI - that would be entirely useful here.. Ch

Re: [Catalyst] view error - file error - MyApp_Model_MyApp_Team: not found

2010-06-22 Thread Tomas Doran
On 22 Jun 2010, at 21:15, w...@serensoft.com wrote: "Here's the error message, on the off-chance that it means something to you: view error - file error - MyApp_Model_MyApp_Team: not found" Any suggestions on how to track down what might cause a VIEW ERROR like this? I would very much

Re: [Catalyst] view error - file error - MyApp_Model_MyApp_Team: not found

2010-06-23 Thread Tomas Doran
On 23 Jun 2010, at 07:37, w...@serensoft.com wrote: The View class (TTSite) contains only __PACKAGE__->config, so there's not much to debug there. That's entirely wrong, or it wouldn't work.. It also inherits from something. I was suggesting putting the debugging where the functionality i

Re: [Catalyst] RESTy Chained actions

2010-06-29 Thread Tomas Doran
On 29 Jun 2010, at 14:43, Stephen Howard wrote: I may be off the mark on what you're trying to do, but here goes. In my brief experience with catalyst, inheritance doesn't do much for you when constructing actions. I believe that chained actions are pretty tightly bound to the urls you are

Re: [Catalyst] RESTy Chained actions

2010-06-29 Thread Tomas Doran
On 29 Jun 2010, at 16:10, Stephen Howard wrote: very cool. I need to go find the docs that talk about that bit of config magic, as I hadn't run into it yet. http://www.catalystframework.org/calendar/2008/11 Also documented in the relevant classes. Patches of course welcome if you think i

Re: [Catalyst] Contributing code

2010-07-03 Thread Tomas Doran
On 23 Jun 2010, at 07:23, Toby Corkindale wrote: Cheers - can I suggest that URL is added to the Contributing Code wiki page that was originally linked in this email thread? Wiki like wiki is like a wiki. Thanks in advance! t0m ___ List: Catalys

Re: [Catalyst] Contributing code

2010-07-03 Thread Tomas Doran
On 30 Jun 2010, at 13:40, Alexander Hartmaier wrote: I'd prefer *much* more inline comments as well to make it easier to work on code parts I've never touched before when debugging or adding features as it's very hard to figure out what the methods do and how they interact. Entirely prepare

Re: [Catalyst] FastCGI caching issue

2010-07-06 Thread Tomas Doran
On 6 Jul 2010, at 19:26, Steve wrote: however my session seems to 'cross' over to other fastCGI processes (I've got 3 fastCGI processes running). Yes, they'll do that. I've googled around and even tried to set $cachetime = 0 in my Root.pm controller's END action. Er, what is $cachetime

Re: [Catalyst] FastCGI caching issue

2010-07-06 Thread Tomas Doran
On 6 Jul 2010, at 22:35, Steve wrote: At present, my cohort and I suspect that we are up against a database caching problem, but haven't completely ruled out anything. Am I better off asking the DBIC list? Erm, well if you're unsure, the first thing to do is work out if your app is actua

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-12 Thread Tomas Doran
On 12 Jul 2010, at 15:34, Derek Wueppelmann wrote: On Sat, 2010-07-10 at 13:37 -0400, Alejandro Imass wrote: If in a Catalyst::Component, say an extension of Catalyst::Model, the attributes of my instance are also per-request. In other words if I do $self->yuca($c->stash->{yuca}) in ACCEPT_

Re: [Catalyst] Announce (JSON|XML)-RPC modules

2010-07-14 Thread Tomas Doran
On 13 Jul 2010, at 21:39, Jose Luis Martinez wrote: Catalyst::Plugin::Server::XMLRPC - got comaint and uploaded a new version to CPAN with Cat 5.8 compatibility Catalyst::Plugin::Server::JSONRPC - got comaint and uploaded a new version to CPAN with Cat 5.8 compatibility Thanks for

  1   2   3   4   5   6   7   8   9   10   >