Re: [Catalyst] Re: Handel Installation Problems

2007-10-17 Thread Christopher H. Laco
Collin Condray wrote: Christopher, It looks like DBD::SQLite 1.14 is installed. Do I need to use a different version? I don't believe so. This is a bug in DBD::SQlite 1.13/1.14 where the query immediately after a failing 'pk value already exists' error also failsand of course, I keep

Re: [Catalyst] [OT] Firefox input type=image issues?

2007-10-26 Thread Christopher H. Laco
it (greesemonky, firebug, etc), but removing firefox and doing a fresh install nix any extensions/plugins seems to fix it. -Wade Christopher H. Laco [EMAIL PROTECTED] wrote on 10/26/2007 10:04:36 AM: I posted this to UP, and wondered if anyone has run across this issue during

[Catalyst] Chained Madness

2007-10-30 Thread Christopher H. Laco
What am I missing here. This passage from DispatchType/Chained.pm yields no public actions: Another interesting possibility gives :Chained('.'), which chains itself to an action with the path of the current controller's namespace. For example: # in MyApp::Controller::Foo sub bar :

Re: [Catalyst] Preventing Catalyst from loading a Controller pm module

2007-10-31 Thread Christopher H. Laco
Oleg Pronin wrote: I put these things into MyApp::SAME_AS_CATALYST_BASE_CLASSES, i.e: MyApp::Catalyst::Controller MyApp::Catalyst::View::TT etc. It's clean and nice :) I do the same thing. It works out great if you have a lot og MyApp:: modules that have nothing to do with Catalyst, like fat

Re: [Catalyst] Selective debug output

2007-11-07 Thread Christopher H. Laco
J. Shirley wrote: On Nov 6, 2007 5:47 PM, Jonathan Rockway [EMAIL PROTECTED] wrote: Joe Landman wrote: How do I selectively enable or disable debugging output? Specifically, FormBuilder debugging output is simply far to verbose to be meaningful to us. I suppose I could simply pass in a

[Catalyst] Credential::HTTP vs. Controller::REST

2007-11-09 Thread Christopher H. Laco
I'm working with the REST action/controller to expose my app to browsers and to any remote client (json/xml, etc). For the browser stuff, I just use the regular Auth plugins with a database store tied to a user/pass login form. For remote clients, I wanted to tack on HTTP Auth using Basic/Digest.

Re: [Catalyst] PathPart help

2007-11-15 Thread Christopher H. Laco
Ashley Pond V wrote: That is really cool and answers something I've wanted to do for a long time (let the user define the URI to customize a package). I have a question. Using the PathPrefix seems to work as advertised but it does not replace the default path. So, in a test I just did,

Re: [Catalyst] PathPart help

2007-11-15 Thread Christopher H. Laco
Les Fletcher wrote: I have question about setting up PathPart's and Chaining. I am trying to set something that has the following look: /namespace/ = This lists out a list of objects /namespace/id = displays detail information about the object with the numeric id=id /namespace/id/edit =

Re: [Catalyst] catalystframework.org exired

2007-11-19 Thread Christopher H. Laco
Bernhard Weißhuhn wrote: Oh no! somebody renew catalystframework.org! Quick! Until *they* get it. regards, bkw Unfortunately...it appears the GoDaddy is one of the ones that doesn't allow anyone to renew a domain name. It only appears to allow the registrant to do so. At least with

Re: [Catalyst] catalystframework.org exired

2007-11-19 Thread Christopher H. Laco
Bernhard Weißhuhn wrote: Oh no! somebody renew catalystframework.org! Quick! Until *they* get it. regards, bkw Just called GoDaddy. This is so fucked up. They won't let anyone pay for renewal who isn't the last person/card on file with the 4 digit pin or the same credit card. That's

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

2007-12-11 Thread Christopher H. Laco
Matt Lawrence wrote: 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

Re: [Catalyst] Setting the Catalyst Request object

2007-12-13 Thread Christopher H. Laco
Bill Moseley wrote: Yesterday I needed to add JSON support (both in the request and response) to a few actions. I decided to try Catalyst::Action::REST. Well, actually, I first tried using just C::A::Serialize and C::A::Deserialize -- but was not sure if those could be used separately.

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread Christopher H. Laco
I'm still holding hopes for: Chained('../') -=Chris signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] [RFC] Loading Plugins from lib/MyApp/Plugins

2007-12-18 Thread Christopher H. Laco
Ash Berlin wrote: On 18 Dec 2007, at 02:39, Christopher Laco wrote: I know I've been down this thread before. When writing a framework that generates customized Catalyst apps, it would be a whole lot easier (well, more proper) to add plugins in lib/MyApp/Plugins, just like we do with

Re: [Catalyst] [RFC] Loading Plugins from lib/MyApp/Plugins

2007-12-18 Thread Christopher H. Laco
Christopher Laco wrote: I know I've been down this thread before. When writing a framework that generates customized Catalyst apps, it would be a whole lot easier (well, more proper) to add plugins in lib/MyApp/Plugins, just like we do with controllers/models/view, than it is to molest the

Re: [Catalyst] Catalyst, REST and Firefox

2008-01-17 Thread Christopher H. Laco
Jonas Alves wrote: On Jan 17, 2008 2:32 PM, Christopher H. Laco [EMAIL PROTECTED] wrote: I've touched on this before, and posted about it on UP: http://use.perl.org/~jk2addict/journal/35411 In a nutshell, Firefox 2.x Accept header totaly screws with the REST controller when you use

[Catalyst] Mango, Catalyst and Class::Workflow

2008-01-21 Thread Christopher H. Laco
This is a plea from a drowning sailor for a life boat, or at least life vest and a pointer towards the nearest shore. It's that point in Mango where I need to start the really nasty bits: checkout. Since everyone wants something different, it seems that basing things on Class::Workflow at

Re: [Catalyst] Why no extra attributes on Private actions?

2008-01-22 Thread Christopher H. Laco
Bill Moseley wrote: In Catalyst::Controller register_actions() there's this code: my $attrs = $self-_parse_attrs( $c, $method, @{ $cache-[1] } ); if ( $attrs-{Private} ( keys %$attrs 1 ) ) { $c-log-debug( 'Bad action definition ' . join( ' ', @{ $cache-[1] } )

Re: [Catalyst] Authentication for web services (slightly off topic)

2008-01-23 Thread Christopher H. Laco
Andrew Payne wrote: On Jan 23, 2008 2:30 PM, Ian Docherty [EMAIL PROTECTED] wrote: This might seem like a stupid question, and one that probably has a I could use Apache Basic Authentication, but I would prefer to hold usernames passwords in a database rather than a htpasswd file. Just do

Re: [Catalyst] Authentication for web services (slightly off topic)

2008-01-23 Thread Christopher H. Laco
Andrew Payne wrote: On Jan 23, 2008 4:28 PM, Matt Lawrence [EMAIL PROTECTED] wrote: WWW::Mechanize isa LWP::UserAgent. Ditto T::W::M::C, AFAIK. Yes, but how does that help when we're using get_ok(...) ? I accidently chopped too many lines from the previous snippet. print

Re: [Catalyst] How to return a 401 from Catalyst

2008-01-29 Thread Christopher H. Laco
Jason Kohles wrote: On Jan 29, 2008, at 3:18 AM, Kieren Diment wrote: On 27 Jan 2008, at 20:59, Ian Docherty wrote: p.s. I note that there is nothing in Test::WWW (that I can find) that tests return status's such as 200, 401 etc. From perldoc Test::WWW::Mechanize: ... From perldoc

[Catalyst] Catalyst + Class::Workflow

2008-02-26 Thread Christopher H. Laco
Anyone done any integration with Class::Workflow and mapping object states to actions? I need to get back on the Mango wagon this week and I'm toying with making checkout nothing more than configurable states of an order. My first question is me wondering if checkout states are the same as

Re: [Catalyst] Patch for Catalyst::View::Mason

2008-03-07 Thread Christopher H. Laco
David Jack Wange Olrik wrote: On 07/03/2008, at 22.22, Florian Ragwitz wrote: I want to keep the default behaviour to not break existing code and to be consistent with most other catalyst views. However I'll think about implementing a new configuration option that, when enabled, will

[Catalyst] Re: Meios

2008-03-31 Thread Christopher H. Laco
Mojo Nichols wrote: Hi Christopher, I'm wondering what the status of Meios is. I have found an svn version on handleframework.org and one other server, but the do not work for me out of the box even after all dependencies are set up. I believe because of changes to catalyst and

[Catalyst] RFC: Catalyst::View::Feed (Atom/RSS)

2008-04-11 Thread Christopher H. Laco
As I sat around last night refactoring the View::Feed/View::Feed::(Atom|RSS) code in Mango because critic told me process() was too complex (and it was), a little voice popped into my head and told me I should just release it as a new dist. Most of this is code from helpful others who have

Re: [Catalyst] Re: CatalystSites.org

2008-04-16 Thread Christopher H. Laco
Aristotle Pagaltzis wrote: * Chisel Wright [EMAIL PROTECTED] [2008-04-16 11:50]: Just for chuckles - does anyone have an idea of the pain-level involved in converting a non-Chained application to Chained? Or is it just not worth the effort for an established project? Totally depends. I

Re: [Catalyst] Multi-language and REST

2008-04-25 Thread Christopher H. Laco
Ian Docherty wrote: I have been pondering how to take an existing Catalyst application and make it multi-lingual. I would prefer to use a RESTful method, so this would translate /foo/bar to /en/foo/bar or /fr/foo/bar (for English and French respectively). The problem as I see it is how to

Re: [Catalyst] Multi-language and REST

2008-04-25 Thread Christopher H. Laco
Dave Rolsky wrote: On Fri, 25 Apr 2008, Ashley wrote: I agree that it's content, not formatting. If CSS/client-side-JS can (in a practical fashion) change it, it's formatting, otherwise, it's content. I should have used the word representation. With REST, you'd have the same URI for one

Re: [Catalyst] Catalyst / dbix-class / mysql / REST job

2008-05-07 Thread Christopher H. Laco
Mark Trostler wrote: The job description is kinda crapy: http://jobs.perl.org/job/8624 But you can work in Sunnyvale, CA or Carslbad, CA. The backend in Catalyst/REST/DBIx::Class/MySQL. Frontends are currently command line/library using Moose and lots of AJAXy Javascript (using ExtJS - yah

Re: [Catalyst] Catalyst site design drafts feedback thread

2008-06-11 Thread Christopher H. Laco
Dave Rolsky wrote: On Wed, 11 Jun 2008, Matt S Trout wrote: Simon Elliott: (1) http://www.browsing.co.uk/cat Overall my favorite. The white text against the bottom of the grey gradient starts to fade, but I'm sure that's easily fixed. I wouldn't mind making all the non-tab text a little

[Catalyst] REST, JSON and Content-Type

2008-06-16 Thread Christopher H. Laco
So, I'm trolling through the ASP.NET 3.5 docs on JSON and AJAX and it talks about GET not being enabled by default for a web service and that the mime type must be application/json Of course the REST package has this: 'text/x-json'= 'JSON', Near as I can gather, the

Re: [Catalyst] Re: Catalyst site design drafts feedback thread

2008-06-17 Thread Christopher H. Laco
My bikeshed has blue shag carpets with a disco ball and tinted windows. :-) signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] Announce: Instant AJAX web front-end for DBIx::Class

2008-08-19 Thread Christopher H. Laco
Ali M. wrote: DBIC is switching to Moose? Isn't everything? :-) signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: