Re: [Catalyst] Store something in the stash at startup

2010-08-16 Thread J. Shirley
2010/8/16 Octavian Rasnita orasn...@gmail.com: Hi, I have a module that creates an object (a menu) and I want to store it in the stash when the application starts. Where is the recommended place to create this object and store it in the stash if I want that object created just once at app

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-13 Thread J. Shirley
On Fri, Aug 13, 2010 at 4:51 AM, Marc Perez markkus...@gmail.com wrote: Hi, Do you thinks is there another possibility to find a solution o test other aspects to solve this? Thanks very much Marc First, there's a DBIx::Class mailing list for DBIC questions, which this is. It has nothing

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread J. Shirley
On Jul 16, 2010, at 7:16 AM, Sir Robert Burbridge wrote: On 07/16/2010 08:15 AM, André Walker wrote: You could also 'cheat', by getting a free pingdom account (which will monitor your apps uptime, and wake it up for this monitoring every 60 seconds).. Depending how aggressively your ISP

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread J. Shirley
On Jul 16, 2010, at 12:25 PM, Lyle wrote: On 16/07/2010 15:16, Sir Robert Burbridge wrote: On 07/16/2010 08:15 AM, André Walker wrote: Other than that, I'd suggest that slicehosts or some other small VM provider are very cheap these days ;) Yeah, I'm seriously considering that. Would really

Re: [Catalyst] Question on Perl versions with Catalyst

2010-07-07 Thread J. Shirley
On Jul 7, 2010, at 12:57 PM, Joe Landman wrote: Darren Duncan wrote: Joe Landman wrote: We are redoing one of our applications, and I wanted a quick sync against which Perl versions are currently blessed. I remember that 5.10.0 did not work due to a bug in the Perl base. Are there any

Re: [Catalyst] Contributing code

2010-06-21 Thread J. Shirley
On Mon, Jun 21, 2010 at 7:43 AM, iain iainhubb...@googlemail.com wrote: Ævar Arnfjörð Bjarmason wrote: It depends on what sort of comments you're making. Comments that explain tricky code that help with maintenance down the road are welcome everywhere. If you're just making comments that help

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

2010-06-13 Thread J. Shirley
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 ignored. If you do encounter any issues with

Re: [Catalyst] Literal elements in uri_for generated paths

2010-06-09 Thread J. Shirley
2010/6/8 Octavian Rasnita orasn...@gmail.com: Hi, I have tried to use uri_for() in some parameters of a Java applet, but that URI should contain chars like { and } which then should be replaced by the appled with something else: param name=DataSource value=[% c.uri_for('/static/data/eof',

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

2010-05-28 Thread J. Shirley
On May 28, 2010, at 1:21 PM, Jeff Albert wrote: Hey, Can you expand on this? I followed the suggestion that Ido and others had put forward, but I don't like the 'extra' midpoint to extend the chain; what would a simple example of your proposed solution look like? Cheers, Jeff I hear

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

2010-05-19 Thread J. Shirley
On May 19, 2010, at 4:32 PM, Steve Kleiman wrote: I second that. I'm another Catalyst newbie who would like to submit doc patches for review, but I don't know the process On May 19, 2010, at 4:24 PM, Jeff Albert wrote: As an unabashed Catalyst n00b, I spent a couple of hours

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

2010-05-09 Thread J. Shirley
On May 9, 2010, at 4:49 PM, Paul Makepeace wrote: I'm puzzled with this warning since there's nothing I can see in the docs of the latest version that suggests we should be using another module (cf. Catalyst::Plugin::Authentication::Store::DBIC which is very clear). What's the story here?

Re: [Catalyst] Chained actions with can't terminate with :PathPart('') ?

2010-05-07 Thread J. Shirley
On May 7, 2010, at 10:12 AM, Evan Carroll wrote: I have two destinations in my Catalyst app /auth/company/5/lot /auth/company/5/lot/5 This works and is often seen in Catalyst apps to achive this effect. sub lot :Chained('/auth/company') :CaptureArgs(1) { sub view_lot

Re: [Catalyst] Catalyst 5.80023 Release Announcement

2010-05-07 Thread J. Shirley
On May 7, 2010, at 3:30 PM, Devin Austin wrote: Last login: Fri May 7 14:11:38 on ttys001 It is my pleasure (and first time!) to announce the release of Catalyst version 5.80023. That means everyone should skip this one ;) Congrats! ___ List:

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-27 Thread J. Shirley
On Tue, Apr 27, 2010 at 2:39 AM, Oleg Pronin syber@gmail.com wrote: Why can't nobody understand, the question is not why someone should use $c-req-{params}. Of course that is an evil. Problem is that if i could get -{parameters}{name} at a speed 100x there can't be no reason for -params

Re: [Catalyst] Suggestions for iPhone version of app

2010-04-26 Thread J. Shirley
On Mon, Apr 26, 2010 at 7:47 AM, Steve Nolte st...@redanvil.net wrote: On 4/26/2010 10:22 AM, Steve Nolte wrote: And any frameworks, such as jQTouch, to recommend or stay away from? I've heard good things about http://www.phonegap.com/ Thanks for the PhoneGap suggestions, but to clarify I'm

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-23 Thread J. Shirley
On Fri, Apr 23, 2010 at 4:36 AM, Oleg Pronin syber@gmail.com wrote: Can you hear the difference between 3mln/s and 24k/s ? I do not say that using hashes are good. But i'm sure that developers MUST NOT use super-slow frameworks like Moose-shit (which tries to emulate perl6 on perl5:  

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-23 Thread J. Shirley
On Fri, Apr 23, 2010 at 10:27 AM, Lyle webmas...@cosmicperl.com wrote: Kee Hinckley wrote: No argument there. I dearly wish the effort that had gone into Perl6 had gone into a Perl5 IDE and web framework with a single best in class set of options (with docs) to bring a new, non-perl,

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-21 Thread J. Shirley
On Wed, Apr 21, 2010 at 9:30 AM, Oleg Pronin syber@gmail.com wrote: This was the last shot for me at dealing with catalyst. Catalyst is very perfomance-optimized system and it never stops me wondering    timethese(-1, {        sep = sub { $req-param('lang') },        all = sub {

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread J. Shirley
On Sat, Apr 17, 2010 at 6:35 AM, Lyle webmas...@cosmicperl.com wrote: Personally I think DBIx::Class is the biggest load of crock out there. It's much slower, awkward to use, time consuming to learn, and as soon as you try to do some complicated queries you'll end up dropping it anyway. ORMs

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread J. Shirley
On Sat, Apr 17, 2010 at 4:04 PM, John Karr brain...@brainbuz.org wrote: I think there's a very important difference of approach, much as Template Tool Kit and Template Declare, radically different approaches, that are both far superior to the classic CGI Module. Working in raw DBI is the

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread J. Shirley
On Sat, Apr 17, 2010 at 4:35 PM, Octavian Rasnita orasn...@gmail.com wrote: Hi, From: John Karr brain...@brainbuz.org Working in raw DBI is the opposite of the DRY principle which underlies having a framework in the first place, so I am seeking an alternative. Just as Catalyst uses MVC,

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread J. Shirley
On Sat, Apr 17, 2010 at 5:12 PM, Lyle webmas...@cosmicperl.com wrote: Octavian Rasnita wrote: But in that case you probably shouldn't be interested in using Template-Toolkit nor Catalyst, because they also have their overhead, and the other higher level modules used for accessing the database

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

2010-04-15 Thread J. Shirley
On Thu, Apr 15, 2010 at 5:53 PM, Jason McIntosh j...@jmac.org 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 !--#include

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

2010-04-15 Thread J. Shirley
On Thu, Apr 15, 2010 at 7:03 PM, Jason McIntosh j...@jmac.org wrote: On Thu, Apr 15, 2010 at 9:18 PM, J. Shirley jshir...@gmail.com wrote: Did you upgrade anything else (Apache?) or just Catalyst?  Any other changes, configuration or anything? Nothing that strikes me as relevant. Also

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

2010-04-09 Thread J. Shirley
On Fri, Apr 9, 2010 at 12:53 AM, Tomas Doran bobtf...@bobtfish.net wrote: 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:

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

2010-04-09 Thread J. Shirley
On Fri, Apr 9, 2010 at 8:51 AM, Evan Carroll li...@evancarroll.com wrote: Without any unnecessary commentary, here is the implementation of the password_(pre|post)_salt_field, without other features that should be patched separately. http://codepeek.com/paste/4bbf456c0ae3049443a742a2 I

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

2010-04-07 Thread J. Shirley
On Wed, Apr 7, 2010 at 6:15 PM, Toby Corkindale toby.corkind...@strategicdata.com.au wrote: So, a while back there was some.. slightly heated.. discussion about security issues with C-P-A-Password.. or perhaps one of the modules it uses internally.. in certain cases, if certain options are, or

Re: [Catalyst] What to upload

2010-04-05 Thread J. Shirley
On Mon, Apr 5, 2010 at 7:00 AM, Paul Falbe p...@cassens.com wrote: Oleg, thank you for your help.  Problem I'm having is the main site is at a hosting site where I can't experiment to easily.  :{  I sent them what I wanted put into the Apache conf file and they responded that it wasn't

Re: [Catalyst] What to upload

2010-04-05 Thread J. Shirley
On Mon, Apr 5, 2010 at 7:33 AM, Paul Falbe p...@cassens.com wrote: Right now the site is at lunarpages.com.  I've asked them how much to upgrade to a VPS. I may get a site at dreamhost for testing also.  Thank you for the information! Have you looked here?

Re: [Catalyst] Views and escaping HTML

2010-04-01 Thread J. Shirley
On Thu, Apr 1, 2010 at 11:58 AM, Mesdaq, Ali ames...@websense.com wrote: Actually I was not aware of built-in | html escaping. Where is the documentation for that? Or better yet where exactly is that built-in? Is that a catalyst method or TT? Now the authors question makes A LOT more sense. I

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread J. Shirley
On Fri, Mar 26, 2010 at 9:31 AM, Jon mailinglists jon.ml...@gmail.com wrote: On Fri, Mar 26, 2010 at 1:50 PM, Tomas Doran bobtf...@bobtfish.net wrote: Jon mailinglists wrote: Hi all, [snip] How is generating JSON in template toolkit not 100% insane? Please use something like

Re: [Catalyst] Catalyst 5.80021

2010-03-25 Thread J. Shirley
On Thu, Mar 25, 2010 at 2:08 PM, gor...@gorste.plus.com wrote: Dear List I have just updated to Catalyst 5.80021 from 5.8002 and now I am seeing the following error when I restart my application. Use of uninitialized value in list assignment at

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

2010-03-24 Thread J. Shirley
On Wed, Mar 24, 2010 at 11:13 AM, Evan Carroll li...@evancarroll.com wrote: It would be if anything you said were true; fortunately it's not, and both available methods of doing salted passwords with Catalyst::Plugin::Authentication do salt entirely the correct way. Your unncecessary and

Re: [Catalyst] Managing errors - cut execution flow.

2010-03-18 Thread J. Shirley
On Thu, Mar 18, 2010 at 10:03 AM, David oldskif...@yahoo.es wrote: Hi, I am not sure how to manage errors in my Catalyst application. When I detect an error, I forward the error to my Error View, but the execution doesn't stop. When my application was not in Catalyst, I used exit 1; once I

Re: [Catalyst] using uri_for to parsing parameters

2010-03-18 Thread J. Shirley
On Thu, Mar 18, 2010 at 9:38 AM, nhyda nhydanh...@gmail.com wrote: I don't know whether someone has asked it yet. here is my situation. I have an action find that take one argument of book id and I have another action author that chained to find so in practice I use /find/1/author to list

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

2010-03-17 Thread J. Shirley
On Wed, Mar 17, 2010 at 9:43 AM, Dermot paik...@googlemail.com wrote: Hi, I'm sure there is a way but it's not jumping out at me. I have a list of countries and their associated database ID's that I need to stash in the header of (almost) every page on a site. I have no problems creating a

Re: [Catalyst] strange generated DBIC accessor name

2010-03-10 Thread J. Shirley
On Wed, Mar 10, 2010 at 7:29 AM, t...@dix.cz wrote: I'm going to be crazzy about one generated accessor name: __PACKAGE__-has_many(   company_people,         # I expected to be company_persons   Jf::Schema::Result::CompanyPerson,   { foreign.role = self.id }, ); I have no people pattern

Re: [Catalyst] FastCGI error

2010-03-10 Thread J. Shirley
On Wed, Mar 10, 2010 at 9:04 AM, Steve Rippl rip...@woodlandschools.org wrote: Hi, I wonder if anyone with FastCGI experience recognizes what these are about? (error log for my apps VirtualHost) [Wed Mar 10 08:14:35 2010] [error] [client 10.22.0.85] FastCGI: comm with server

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread J. Shirley
On Sat, Mar 6, 2010 at 6:17 AM, David oldskif...@yahoo.es wrote: Exactly, as there is a little bit of application logic, so I need this process. Thanks for the solution Jay. I'll go for it. Just one last question. When you talk about using 'lib/MyApp/View/MyView.pm', you mean that is also

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread J. Shirley
On Sat, Mar 6, 2010 at 8:25 AM, Bill Moseley mose...@hank.org wrote: On Sat, Mar 6, 2010 at 6:34 AM, J. Shirley jshir...@gmail.com wrote: Just one last question. When you talk about using 'lib/MyApp/View/MyView.pm', you mean that is also correct to create a simple perl Module for your

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread J. Shirley
On Sat, Mar 6, 2010 at 2:20 PM, Bill Moseley mose...@hank.org wrote: On Sat, Mar 6, 2010 at 12:59 PM, J. Shirley jshir...@gmail.com wrote: I don't think the path taken with Catalyst::Action::REST is the best, but it does work very very well in my opinion and I certainly can't think

Re: [Catalyst] Best practices: XML output from static XML

2010-03-05 Thread J. Shirley
On Fri, Mar 5, 2010 at 5:10 AM, David oldskif...@yahoo.es wrote: Hi, I need to generate an XML output (Content-type: application/xml), but this XML output is the XML content which is stored in an XML file. I don't need to dinamically generate this XML content. I have searched in google but I

Re: [Catalyst] Best practices: XML output from static XML

2010-03-05 Thread J. Shirley
On Fri, Mar 5, 2010 at 10:46 AM, David oldskif...@yahoo.es wrote: Thanks Jay. I thought of that solution too when I had a look at Catalyst::Plugin::Static::Simple. But in this case, my doubt was, and is, how should I create the view through the helper? Most of the examples for creating views

Re: [Catalyst] Best practices: XML output from static XML

2010-03-05 Thread J. Shirley
On Fri, Mar 5, 2010 at 11:31 AM, Mesdaq, Ali ames...@websense.com wrote: To me this sounds like it’s the same issue as serving static images you wouldn’t create a view for that unless you need to wrap it around some application logic. Or at least that’s what it sounds like to me based on the

Re: [Catalyst] Greasemonkey with JQuery, JSON, and Catalyst

2010-03-02 Thread J. Shirley
On Tue, Mar 2, 2010 at 12:06 PM, Michael Peck mapec...@gmail.com wrote: I'm writing a Greasemonkey script that incorporates JQuery, which I want to POST JSON data to a catalyst application.  The Catalyst application does not exist within the same domain as the page the greasemonkey script is

Re: [Catalyst] Automatic passing of objects to DBIx::Class

2010-02-28 Thread J. Shirley
On Sat, Feb 27, 2010 at 10:58 PM, Ido Perlmuter i...@ido50.net wrote: Hi everyone. I've been racking my brain trying to find a way to automatically pass an object, for the matter the Catalyst::Request object, to DBIx::Class methods. I cannot and will not pass it myself every time I call a

Re: [Catalyst] Could use some help from people with Windows boxen...

2010-02-22 Thread J. Shirley
On Mon, Feb 22, 2010 at 4:56 AM, David Silva david...@gmail.com wrote: Linux isn't that hard to learn, i'm still learning every day. As they said, you might expect that some modules won't work in windows. If you can, and have time forget perl in windows and work in linux, it's better. And

Re: [Catalyst] Requiring a certain module version in Makefile.PL

2010-02-21 Thread J. Shirley
On Sun, Feb 21, 2010 at 9:54 AM, Octavian Rasnita orasn...@gmail.com wrote: Hi, In Makefile.PL I have the following line: requires 'DBIx::Class::Schema::Loader' = '0.05003'; When I do perl Makefile.PL shouldn't that line require and install this version of DBIx::Class::Schema::Loder?

Re: [Catalyst] Multiple path for the same action

2010-02-17 Thread J. Shirley
On Wed, Feb 17, 2010 at 4:18 PM, Julien Sobrier jul...@sobrier.net wrote: Hello, I'd like to assign multiple pass, at run-time, to the same action. For example: package MyApp::Controller::Foo; sub foo :Path {...} Then, have /foo, /bar, /other associated with MyApp::Controller::Foo-foo

Re: [Catalyst] Multiple path for the same action

2010-02-17 Thread J. Shirley
On Wed, Feb 17, 2010 at 5:34 PM, Julien Sobrier jul...@sobrier.net wrote: Thank you But I cannot create these aliases at run-time, right? They're not aliases, they're methods and dispatchable actions. How about explaining what you are trying to achieve :) -J

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

2010-02-15 Thread J. Shirley
On Mon, Feb 15, 2010 at 12:38 PM, Kiffin Gish kiffin.g...@planet.nl wrote: In my application, users are allowed to edit only their own settings like this: /account/id/client/settings/edit | /role/*/settings/edit | /auth (0)                       | |                       | - /role/base (1)  

Re: [Catalyst] Users, roles, HTML::FormFu::DBIx::Class::Model - complete example?

2010-01-27 Thread J. Shirley
2010/1/27 Octavian Rasnita orasn...@gmail.com: From: Alex Povolotsky tark...@over.ru Hello! Maybe someone can provide the community with complete example of users/roles editor with HTML::FormFu::DBIx::Class::Model? Are you sure this module exists? Yes, it does exist, just under a

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread J. Shirley
On Wed, Jan 27, 2010 at 7:33 AM, Bill Moseley mose...@hank.org wrote: On Tue, Jan 26, 2010 at 6:33 AM, J. Shirley jshir...@gmail.com wrote: I'm all for reusable code, but in no way should HTTP::Body start taking this behavior by default.  I'm not really that sure how effective

Re: [Catalyst] How to de-serialize json?

2010-01-27 Thread J. Shirley
On Wed, Jan 27, 2010 at 4:14 PM, Bill Moseley mose...@hank.org wrote: I see.  So you are saying that Content-Type: application/json might need to be deserialized differently in different applications that share the same interpreter?  Obviously, json could decode into an array ref so that could

Re: [Catalyst] How to de-serialize json?

2010-01-26 Thread J. Shirley
On Tue, Jan 26, 2010 at 1:49 AM, Zbigniew Lukasiak zzb...@gmail.com wrote: On Sun, Jan 24, 2010 at 8:01 AM, Bill Moseley mose...@hank.org wrote: On Sat, Jan 23, 2010 at 7:20 PM, Hans Dieter Pearcey hdp.perl.catalyst.us...@weftsoar.net wrote: As far as I can tell, you missed the point of my

Re: [Catalyst] How to de-serialize json?

2010-01-23 Thread J. Shirley
On Sat, Jan 23, 2010 at 10:16 AM, Bill Moseley mose...@hank.org wrote: Following up on our recent simulating discussion on adding an API to an application, I wonder is someone can help me understand something: Catalyst uses HTTP::Body to parse body content.  It currently handles these request

Re: [Catalyst] Fat Model Methodology?

2010-01-22 Thread J. Shirley
On Fri, Jan 22, 2010 at 11:33 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 21 Jan 2010, at 18:36, Rodrigo wrote: So ideally I would like to have DB entities represented by a single Moose class, rather than in 2 or more places. For that there's KiokuDB and MooseX::NonMoose-- the latter

Re: [Catalyst] Fat Model Methodology?

2010-01-21 Thread J. Shirley
On Thu, Jan 21, 2010 at 9:37 AM, Jeff Albert jralb...@uvic.ca wrote: Hi List! I’m a new-ish Catalyst developer, converted from the ranks of the HTML::Mason faithful, and the recent nature of my dedication to MVC design, and to Catalyst’s fat-model pattern specifically, has left me with some

Re: [Catalyst] Error handling

2010-01-20 Thread J. Shirley
On Wed, Jan 20, 2010 at 10:52 AM, Wes Cravens wcrav...@cortex-it.com wrote: J. Shirley wrote: That will show you the errors, and I believe get you what you expect to see.  Having said all that, I am fond of ErrorCatcher, and use its included Email emitter quite happily. I am currently

Re: [Catalyst] Catalyst::View::Email stopped working

2010-01-19 Thread J. Shirley
On Tue, Jan 19, 2010 at 8:42 AM, Charlie Garrison garri...@zeta.org.au wrote: Good morning, On 19/01/10 at 10:33 AM -0500, Hans Dieter Pearcey hdp.perl.catalyst.us...@weftsoar.net wrote: It's a bug in C::V::Email.  I'm not sure who's fixing it.  Downgrading to 0.13 should fix it. Thanks

Re: [Catalyst] Error handling

2010-01-18 Thread J. Shirley
On Mon, Jan 18, 2010 at 5:44 PM, Steve Kleiman st...@prodhub.com wrote: Thanks for getting back, t0m. By abort all processing it seemed like when the error was thrown, Catalyst stopped processing the request. Here's my fabricated error in a controller: sub test_error : Local {       my (

Re: [Catalyst] Subclass $c-log-debug(...) to prepend ${\$c-action}: ...

2010-01-18 Thread J. Shirley
On Mon, Jan 18, 2010 at 12:22 PM, Kiffin Gish kiffin.g...@planet.nl wrote: I'd like to subclass $c-log-debug(message) so that it prints out: ''.$c-action.': '.'message' What's the easiest way to do this? Easiest is to just switch to Catalyst::Log::Log4perl, since it will do what you want

Re: [Catalyst] C::V::Email::Template cannot send data ...

2010-01-09 Thread J. Shirley
On Sat, Jan 9, 2010 at 8:47 AM, Kiffin Gish kiffin.g...@planet.nl wrote: SMTP isn't even making it out the front door, e.g. no requests are being generated nor showing up via wireshark. Any other ideas, friend? On Sat, 2010-01-09 at 16:05 +, Tomas Doran wrote: On 9 Jan 2010, at 15:53,

Re: [Catalyst] Elegant way to check action presence?

2010-01-09 Thread J. Shirley
2010/1/9 Alex Povolotsky tark...@over.ru: Hello! I'm working on a (more or less) flexible system with plugins should be installed just like controllers; some basic information about them (particulary, numerical id) must be kept in database. Plugins should be handle some queries in

Re: [Catalyst] Running Catalyst App from Command Line (or via Cron)

2010-01-08 Thread J. Shirley
On Fri, Jan 8, 2010 at 7:58 AM, Christoph Friedrich christ...@christophfriedrich.de wrote: Hello there, I need to build a script for my catalyst application that reads some data and put it into the database. This script needs to run as a daily cron job. My first idea was to create a

Re: [Catalyst] Upgraded to Catalyst 5.80016, restarting dev server with HUP crashes

2010-01-06 Thread J. Shirley
On Wed, Jan 6, 2010 at 5:34 PM, Jim Dread jimdr...@hotmail.com wrote: Here are steps to make the server crash. Can anybody reproduce this problem please? # on linux catalyst.pl TestApp cd TestApp/ perl Makefile.PL ./script/testapp_server.pl kill -HUP %1 # and then: Restarting server

Re: [Catalyst] C::P::Authentication, force user authentication

2009-12-28 Thread J. Shirley
On Mon, Dec 28, 2009 at 7:13 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 28 Dec 2009, at 09:16, Ben van Staveren wrote: Warning: I use this myself, it seems to work, but it's a hack. YMMV. Standard disclaimer applies. I.e. It is very much relying on an implementation detail which I/we

Re: [Catalyst] Format last modified date field ...

2009-12-28 Thread J. Shirley
On Mon, Dec 28, 2009 at 1:17 PM, Kiffin Gish kiffin.g...@planet.nl wrote: I'm using a last_modified field which is being displayed like this 2009-12-28T18:25:28 (what's that 'T' doing in there?) but want to use a different format, how? In the list.tt2 file for listing users, I have: [%

Re: [Catalyst] go to chained action

2009-12-17 Thread J. Shirley
2009/12/17 Alex Povolotsky tark...@over.ru: Tomas Doran wrote: On 16 Dec 2009, at 13:18, Alex Povolotsky wrote: Hello! Having, for example, /controller/*/action handled by /controller/base (1) = /controller/action, how do I write correct go to /controller/argument/action ? just

Re: [Catalyst] Sub-classing Application

2009-12-16 Thread J. Shirley
On Wed, Dec 16, 2009 at 9:27 AM, Bill Moseley mose...@hank.org wrote: On Wed, Dec 16, 2009 at 8:31 AM, J. Shirley jshir...@gmail.com wrote: The documentation seems quite sparse, but if you look at the source it just essentially does:    my $locator = Module::Pluggable::Object-new

Re: [Catalyst] Catalyst::View::Thumbnail

2009-12-16 Thread J. Shirley
On Wed, Dec 16, 2009 at 9:18 PM, Meeko meeko.li...@gmail.com wrote: Has anyone successfully got Catalyst::View::Thumbnail to work?  I'm trying to add this to my app to create thumbnails on the fly for me so I don't have to make them ahead of time with Image::Magick. So, I'm following the guide

Re: [Catalyst] Getting relative path to methods

2009-12-15 Thread J. Shirley
On Tue, Dec 15, 2009 at 10:51 AM, Derek Wueppelmann dwuep...@gmail.comwrote: Hello all, I'm currently using FormBuilder to generate some forms to be used in my Catalyst Application. However FormBuilder wants to have the same method handle the submit as well as the display. For certain

Re: [Catalyst] Re: Avoiding UTF8 in Catalyst

2009-11-23 Thread J. Shirley
that. Thanks for this, it was really great. -J -- J. Shirley :: jshir...@gmail.com :: Killing two stones with one bird. http://our.coldhardcode.com/jshirley/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst

Re: [Catalyst] Trouble inserting data after migrate database from SQLite to My SQL

2009-11-10 Thread J. Shirley
On Tue, Nov 10, 2009 at 5:53 AM, Jordi Amorós jamo...@etsetb.upc.eduwrote: Hi all, I'm developing a little web application (a remote lab that works with Catalyst+LabView). Until now I was using SQLite, but due to new requirements I've had to migrate the database. I've created a new model:

Re: [Catalyst] Include a local configuration file

2009-11-08 Thread J. Shirley
2009/11/8 Octavian Râşniţă orasn...@gmail.com Hello, I want to include a configuration file (for generating a menu) in a separate file, not in myapp.pl nor myapp_local.pl. That file (menu.pl) also contains a perl hashref inside. I have included this file using the following line in

Re: [Catalyst] Debian recommendation

2009-10-26 Thread J. Shirley
On Mon, Oct 26, 2009 at 2:08 PM, Evan Carroll li...@evancarroll.com wrote: I just wanted to buzz in and be slightly more explicit. Debian doesn't understand Perl, and they don't care about CPAN. Debian hand-hacks stuff in the most virulent and ridiculous fashion: they'll open up a perl class,

Re: [Catalyst] Debian recommendation

2009-10-16 Thread J. Shirley
2009/10/16 Octavian Râşniţă orasn...@gmail.com Hi, I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN shell. For example if I run $ cpan

Re: [Catalyst] Validating single arg id

2009-10-16 Thread J. Shirley
On Fri, Oct 16, 2009 at 7:19 AM, Matt Whipple m...@mattwhipple.com wrote: I would probably avoid potentially hitting the database unnecessarily, and only use the exception in the case of complicated validation. In the case of simple validation, why not something simple along the lines of:

Re: [Catalyst] Debian recommendation

2009-10-16 Thread J. Shirley
2009/10/16 Octavian Râşniţă orasn...@gmail.com From: J. Shirley jshir...@gmail.com Hi, I've seen a recommendation on this list for Debian for running perl apps, and recently I started to use this distro. I've seen that I can install perl modules very hard under Debian if I use the CPAN

Re: [Catalyst] Facebook canvas application in Catalyst

2009-10-15 Thread J. Shirley
On Thu, Oct 15, 2009 at 1:22 PM, Gunnar Strand gunnarstr...@yahoo.comwrote: I've rechecked the api_key and secret, and they are correct. I guess that that the source above really should product useful output? Minimize what you're doing. Just do: $c-log-_dump( $client-users-is_app_user );

Re: [Catalyst] Deployment in practice

2009-10-09 Thread J. Shirley
On Fri, Oct 9, 2009 at 7:55 AM, Tobias Kremer tobias.kre...@gmail.comwrote: 2009/10/9 Octavian Râşniţă orasn...@gmail.com: I've recently started to use Mercurial for revision control and the pages regarding the deployment of a Catalyst app from the Catalyst wiki also help me very much,

Re: [Catalyst] Re: Deployment in practice

2009-10-09 Thread J. Shirley
On Fri, Oct 9, 2009 at 1:18 PM, kevin montuori montu...@gmail.com wrote: MA == Mesdaq, Ali ames...@websense.com writes: MA Once it passes the tests the code can be merged into the MA production branch and will auto deploy. That's a great solution until someone checks a change into the

Re: [Catalyst] wrapper.tt2 as default template EXCEPT for some selected actions?

2009-09-28 Thread J. Shirley
On Sun, Sep 27, 2009 at 9:59 PM, Jens Schwarz blacky6...@gmx.de wrote: Hi *, I followed the Catalyst Tutorial at [1] and created the wrapper template. Everything works fine except that I have a few selected actions in my Controllers that should explicit NOT use this template. Any hints on

Re: [Catalyst] FastCGI on dev. server, reloading modules?

2009-09-19 Thread J. Shirley
On Sat, Sep 19, 2009 at 6:23 AM, Christiaan Kras c.k...@pcc-online.netwrote: Because the less difference between the development and production server the better. It lessens the amount of possible problems that can arise when deploying the application to the production server. Christiaan

Re: [Catalyst] best practice for a protocol mechanism?

2009-09-10 Thread J. Shirley
On Thu, Sep 10, 2009 at 6:43 AM, Jens Schwarz blacky6...@gmx.de wrote: Oh, *err* right. I meant 'logging' and not 'protocol' *douh*. Well, right now I have a proto^Wlogging action in my Root controller that I call everytime I want something to be logged in my DB. P.ex.: package

Re: [Catalyst] Netiquette (was: Reading Database At Startup)

2009-08-19 Thread J. Shirley
On Aug 19, 2009, at 12:24 PM, Denny wrote: On Wed, 2009-08-19 at 20:13 +0100, Denny wrote: Specifically, J. Shirley almost always does this (bottom posting after quoting entire message _with list sigs too_) I retract that. Looking at the archives it seems he finally started trimming

Re: [Catalyst] Inconsistent hierarchy....

2009-08-17 Thread J. Shirley
On Mon, Aug 17, 2009 at 8:48 AM, mrchips mailli...@aspiretools.co.ukwrote: Infact i can't even start up the Tutorial.pm server either...so there is something about my underlying installation which is really troubling catalyst. Class::DBI seems to be the problem, but i dunno. (actually, when

Re: [Catalyst] Inconsistent hierarchy....

2009-08-17 Thread J. Shirley
On Mon, Aug 17, 2009 at 12:30 PM, mrchips mailli...@aspiretools.co.ukwrote: Which tutorial are you following, exactly? The Catalyst::Manual::Tutorial is using DBIx::Class and I've yet to see any Catalyst tutorial that uses Class::DBI. sorry, i'm not following any tutorial. I just meant

Re: [Catalyst] Loading template according to request path

2009-08-11 Thread J. Shirley
On Tue, Aug 11, 2009 at 12:09 PM, Matt Whipple m...@mattwhipple.com wrote: Is there a presently existing mechanism which flexibly allows for template selection according to the request URI? For instance a request to www.myapp.com/somepage would set something like stash(template = '

Re: [Catalyst] Loading template according to request path

2009-08-11 Thread J. Shirley
On Tue, Aug 11, 2009 at 1:01 PM, Matt Whipple m...@mattwhipple.com wrote: This is the default behavior for View::TT, as it says in the POD: If a stash item isn't defined, then it instead uses the stringification of the action dispatched to (as defined by $c-action) in the above example,

Re: [Catalyst] Loading template according to request path

2009-08-11 Thread J. Shirley
On Tue, Aug 11, 2009 at 1:34 PM, Alejandro Imass alejandro.im...@gmail.comwrote: Well in Catalyst an action is usually mapped to a controller method, so I really don't understand your request. Maybe this example will help: sub edit : Local { my ( $self, $c ) = @_; my $uri =

Re: [Catalyst] Loading template according to request path

2009-08-11 Thread J. Shirley
On Tue, Aug 11, 2009 at 2:47 PM, Eden Cardim edencar...@gmail.com wrote: On Tue, Aug 11, 2009 at 2:15 PM, Matt Whipplem...@mattwhipple.com wrote: Thanks everyone for your input, I'm certainly gathering that there is nothing preexisting that does what I'm looking to do. I'll continue to

Re: [Catalyst] Chained, root action, with default sub present

2009-08-09 Thread J. Shirley
On Sun, Aug 9, 2009 at 7:31 AM, Matija Grabnar mat...@serverflow.comwrote: I think this may be either a bug or something I don't understand about specifying chained actions. Suppose I have a controller which has a defined default action (such as created by catalyst.pl by default, i.e. sub

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

2009-07-19 Thread J. Shirley
On Sun, Jul 19, 2009 at 1:29 AM, Devin Austin devin.aus...@gmail.comwrote: HTML::StripScripts is nice On Sun, Jul 19, 2009 at 2:15 AM, Zbigniew Lukasiak zzb...@gmail.comwrote: Hi, There seems to be a log list of HTML sanitizers at CPAN and no guide. So I quickly made a list at the P5P

Re: [Catalyst] How to do pass-through login?

2009-07-09 Thread J. Shirley
On Thu, Jul 9, 2009 at 7:57 AM, Nate ogm...@gmail.com wrote: On Thu, Jul 9, 2009 at 5:03 AM, Gunnar Strandgunnarstr...@yahoo.com wrote: Hi, I am looking for a way to send users to the login screen if they are trying to access a restricted path, and if the login is valid, the

Re: [Catalyst] Polymorphism?

2009-07-07 Thread J. Shirley
On Tue, Jul 7, 2009 at 6:11 AM, Eric Wright i...@rapidsynergy.com wrote: Thanks all for the thoughts and the link. I'll be sure to take some time and digest that. Re: method modifiers, that sounds like a really interesting solution. Roles seem very similar to me to Java interfaces. I really

Re: [Catalyst] how to implement Transactions (over different db tables) in a Catalyst project

2009-07-06 Thread J. Shirley
On Mon, Jul 6, 2009 at 3:36 PM, kakim...@tpg.com.au wrote: However, this is NOT a Catalyst question. Please subscribe to the DBIx::Class users list at: http://lists.scsys.co.uk/mailman/listinfo/dbix-class/ and ask these questions there. Many of the subscribers are the same, but many

Re: [Catalyst] adding my_app_name to action paths

2009-07-03 Thread J. Shirley
On Fri, Jul 3, 2009 at 4:15 AM, Mike Glen mike.g...@mindsweep.net wrote: J. Shirley wrote: On Wed, Jul 1, 2009 at 8:43 AM, Mike Glen mike.g...@mindsweep.netmailto: mike.g...@mindsweep.net wrote: I'm trying to setup a catyst app to run behind nginx so that the app is accessed at http

Re: [Catalyst] adding my_app_name to action paths

2009-07-01 Thread J. Shirley
On Wed, Jul 1, 2009 at 8:43 AM, Mike Glen mike.g...@mindsweep.net wrote: I'm trying to setup a catyst app to run behind nginx so that the app is accessed at http://my.server.com/my_app_name/ I have set this up following instructions at

Re: [Catalyst] Is there a good solution of file cache? which plugin is recommended?

2009-06-24 Thread J. Shirley
On Wed, Jun 24, 2009 at 5:27 PM, kakim...@tpg.com.au wrote: Hi, there, I looked at the example in the doc for Catalyst::Plugin::PageCache (

  1   2   3   4   >