Re: [Catalyst] Model::LDAP vs Authentication::Credential::LDAP

2008-08-22 Thread Matt S Trout
On Thu, Aug 21, 2008 at 11:17:05PM -0500, Peter Karman wrote: Peter Karman wrote on 8/17/08 2:09 PM: Matt S Trout wrote on 8/17/08 12:39 PM: On Mon, Aug 11, 2008 at 11:49:00AM -0500, Peter Karman wrote: I am going to be doing something similar eventually using Net::LDAP::Class

Re: [Catalyst] Patch for Catalyst::Authentication::Store::DBIx::Class::User

2008-08-22 Thread Matt S Trout
-authenticate. The password_field is necessary because of the possible changes done by Credential::Password . I think the point is that it should be possible to rename fields on the DBIC side without eneding to change your $c-authenticate line. -- Matt S Trout Need help with your Catalyst

[Catalyst] CatMail list and svn set up

2008-08-22 Thread Matt S Trout
http://lists.scsys.co.uk/ to get onto the list. http://code2.0beta.co.uk/catmail/svn is the currently empty repository; anybody who wants an htpasswd line on it should mail m.trout at shadowcat.co.uk with one and I'll rack 'em up. -- Matt S Trout Need help with your Catalyst or DBIx

Re: [Catalyst] [PATCH] PageCache and white labelling

2008-08-21 Thread Matt S Trout
On Sat, Aug 16, 2008 at 09:28:57PM +0800, Martin Ellison wrote: I am resubmitting this patch *again*, could someone please look at it. If you can please send the patch -with- the config key fix, as requested, the PageCache maintainer is waiting to look at that version for you. -- Matt S

Re: [Catalyst] Re: list of perl-*.rpm files for a basic Cat install

2008-08-21 Thread Matt S Trout
tend to consider that a bug. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] PageCache and white labelling?

2008-08-18 Thread Matt S Trout
On Mon, Aug 18, 2008 at 12:37:11PM +0800, Martin Ellison wrote: 2008/8/18 Matt S Trout [EMAIL PROTECTED] ...config should be under 'Plugin::PageCache' as I said - that's the standard for plugin config info. If PageCache is still using old style it'd be nice if you could do a first

Re: [Catalyst] list of perl-*.rpm files for a basic Cat install

2008-08-18 Thread Matt S Trout
the system perl on there for system-provided things that depend on perl. Build your own applications perl for your applications. You are allowed more than one perl on a system. I've got over a dozen on the Shadowcat dev server and I know of people with many more than that. -- Matt S Trout

Re: [Catalyst] Model::LDAP vs Authentication::Credential::LDAP

2008-08-17 Thread Matt S Trout
. Damn. Net::LDAP::Class reserves -meta for a crappy metadata object. Could that not be called metadata or something to make it easier to use with catamoose? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] PageCache and white labelling?

2008-08-17 Thread Matt S Trout
- that's the standard for plugin config info. If PageCache is still using old style it'd be nice if you could do a first patch switching it across. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

Re: [Catalyst] URL Aliasing MyApp::Controller - Apache

2008-08-17 Thread Matt S Trout
the $c-base value they are using the '/myapp/areaX' form rather than '/areaXapp' form. If you're going to insist on using mod_perl anyway, why not just have two apps and alias each one separately? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] Cat + DBIC + DBD-Pg + mpm_worker -- Solution

2008-08-17 Thread Matt S Trout
for anyone else with this issue, and found a japanese site I can't understand which looks to be mentioning it too, including a fix. http://d.hatena.ne.jp/holidays-l/20070126/p1 COuld you try the last DBIC dev release? Also, please can you keep DBIC questions on the DBIC list :) -- Matt S Trout

Re: [Catalyst] Troubleshooting FastCGI error

2008-08-17 Thread Matt S Trout
use FastCgiExternalServer you can run the app as its own user. That's what I usually do. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

Re: [Catalyst] catalyst start-up

2008-08-17 Thread Matt S Trout
it doesn't work but I rebooted it which is an ok bug report against windows but not much use to us :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

Re: [Catalyst] list of perl-*.rpm files for a basic Cat install

2008-08-17 Thread Matt S Trout
hours fixing all the stupid problems and/or moving the client's platform to something else. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

Re: [Catalyst] Multiple DB, single instance of Cat

2008-08-17 Thread Matt S Trout
and config $new-schema($self-schema-connect(@connect_info)); return $new; } 1; -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Patch for Catalyst-Action-REST-0.63 distro

2008-08-14 Thread Matt S Trout
happily apply it to M::I -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] PageCache and white labelling?

2008-08-08 Thread Matt S Trout
{ my $c = shift; handwave($c); } } ); and making the current implementation the default in the absence thereof? Fancy having a play with doing a patch? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] [SOT] cat webmail app?

2008-08-08 Thread Matt S Trout
On Fri, Aug 08, 2008 at 09:39:01AM +0200, Jose Luis Martinez wrote: Matt S Trout wrote: We'll happily host a list and svn for this alongside the main catalyst stuff; I can also help you set up an IRC channel on irc.perl.org if you want to at some point. Please do so, Matt. That way we

Re: [Catalyst] [SOT] cat webmail app?

2008-08-07 Thread Matt S Trout
, and LDA's could be used with a little tweaking. We'll happily host a list and svn for this alongside the main catalyst stuff; I can also help you set up an IRC channel on irc.perl.org if you want to at some point. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] Profiling shows Catalyst::Engine::write slowest ?

2008-08-07 Thread Matt S Trout
the connection should be persistent - assuming your db server doesn't kick you off you'll only connect on the first request per process that hits the db. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-08-07 Thread Matt S Trout
On Thu, Aug 07, 2008 at 05:29:38PM +0200, Buchan Milne wrote: On Thursday 24 July 2008 04:38:30 Matt S Trout wrote: On Wed, Jul 23, 2008 at 08:29:42AM -0500, Peter Karman wrote: On 07/22/2008 10:37 PM, Matt S Trout wrote: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote

Re: [Catalyst] Re: question for mst : using $c-config-{blah} ...

2008-08-04 Thread Matt S Trout
and the end result - example configfile is at http://code2.0beta.co.uk/reaction/svn/Reaction-Example-MailerForm/1.000/trunk/mailerform.conf -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Re: Access to $c-cache from a script

2008-08-04 Thread Matt S Trout
On Sun, Aug 03, 2008 at 04:51:54PM -0400, Kevin Old wrote: Well, after playing with this for days and not getting anywhere I assume it can't be done gracefully. You tried just patching C::P::Cache, right? -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] Re: question for mst : using $c-config-{blah} ...

2008-08-04 Thread Matt S Trout
On Mon, Aug 04, 2008 at 01:59:06PM +0200, Daniel McBrearty wrote: On Mon, Aug 4, 2008 at 11:14 AM, Matt S Trout [EMAIL PROTECTED] wrote: On Sun, Aug 03, 2008 at 06:30:02PM +0200, Daniel McBrearty wrote: wait, it is on $self not $c, so my reservations don't really apply. but what about

Re: [Catalyst] Checking out sources with svk?

2008-08-03 Thread Matt S Trout
S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk/servers

Re: [Catalyst] Checking out sources with svk?

2008-08-03 Thread Matt S Trout
On Sun, Aug 03, 2008 at 07:36:26AM -0700, J. Shirley wrote: On Sun, Aug 3, 2008 at 5:17 AM, Matt S Trout [EMAIL PROTECTED] wrote: On Sat, Aug 02, 2008 at 06:05:43AM -0700, Dr. Jennifer Nussbaum wrote: Hi, Im trying to check out the Catalyst sources using svk on a Debian system

Re: [Catalyst] transactions with DBIx::Class model

2008-08-02 Thread Matt S Trout
, ::ResultSource, ::Schema and ::Row docs, plus the docs for Catalyst::Model::DBIC::Schema itself. Please also note that dbix-class has its own list so any more DBIC-specific questions should go there. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Squatting::On::Catalyst

2008-07-31 Thread Matt S Trout
. Each sub-app uses the same credential and a store that maps to -its- user class. We need to have attribute names and column names truly separated though, which means DBIC 09 most likely. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Configuring a Controller from the config file

2008-07-31 Thread Matt S Trout
to get the runtime value. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] Squatting::On::Catalyst

2008-07-30 Thread Matt S Trout
-discussion_controller) -action_for($self-discussion_action), [ $current_page-id ] ); -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Duplicate entries with C::P::Session::Store::DBIC and MySQL

2008-07-30 Thread Matt S Trout
database. Maybe you could wander over to the DBIC list and poke at patching that instead? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Squatting::On::Catalyst

2008-07-29 Thread Matt S Trout
On Mon, Jul 28, 2008 at 09:36:44PM -0700, John Beppu wrote: On Mon, Jul 28, 2008 at 2:40 PM, Matt S Trout [EMAIL PROTECTED]wrote: On Mon, Jul 28, 2008 at 08:27:27AM -0700, John Beppu wrote: Imagine if you could install a blog, a wiki, a forum, or a store just as easily. Yeah

Re: [Catalyst] API Versioning for Web Services

2008-07-28 Thread Matt S Trout
On Sun, Jul 27, 2008 at 09:09:46AM -0700, Bill Moseley wrote: On Sat, Jul 26, 2008 at 06:00:39AM +0100, Matt S Trout wrote: sub widget :Local VersionedXMLRPC('widget.get') { sub widget_xmlrpc_v1 { have VersionedXMLRPC apply a custom a ction class that does -can based dispatch

Re: [Catalyst] Squatting::On::Catalyst

2008-07-28 Thread Matt S Trout
code with other frameworks, and consider joining the catalyst-dev list since we're planning to kick off a project to see about sharing dispatchers with other projects as well. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Preventing simultaneous logins

2008-07-25 Thread Matt S Trout
in the persistent session use case fastmmap is lossy - in yours the lossyness is irrelevant, you don't care about the persistence feature) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] API Versioning for Web Services

2008-07-25 Thread Matt S Trout
handle anything below v9 as well until it finds a more specific, lower versioned compat handler (_v3 or similar). -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Matt S Trout
associated this username Session::PerUser ? 2. Being sure that the associated session is cleared when the user hits 'logout' after logout = { shift-delete_session }; -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Catalyst and Taint?

2008-07-23 Thread Matt S Trout
On Tue, Jul 22, 2008 at 11:45:09PM -0700, Chris Weyl wrote: On Tue, Jul 22, 2008 at 8:30 PM, Matt S Trout [EMAIL PROTECTED] wrote: On Mon, Jul 21, 2008 at 10:08:11PM -0700, Chris Weyl wrote: Hey all -- A google of catalyst taint turns up this message: http://lists.scsys.co.uk

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-23 Thread Matt S Trout
On Wed, Jul 23, 2008 at 08:29:42AM -0500, Peter Karman wrote: On 07/22/2008 10:37 PM, Matt S Trout wrote: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote: Also, somewhat apropos, I have a C::A::{Store,Credential}::ActiveDirectory that I based on the LDAP stuff

Re: [Catalyst] auto re-load of application yaml config file?

2008-07-23 Thread Matt S Trout
On Wed, Jul 23, 2008 at 11:26:18PM +0100, Pedro Melo wrote: On Jul 23, 2008, at 4:32 AM, Matt S Trout wrote: On Tue, Jul 22, 2008 at 12:53:10PM +0200, Marc Sebastian Pelzer wrote: Hello, I'm running a Catalyst application under mod_perl and wonder if there is a Plugin available

Re: [Catalyst] Catalyst and Taint?

2008-07-22 Thread Matt S Trout
, maybe you could enlighten us as to why you do?) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-22 Thread Matt S Trout
a store and credential, I'd rather the next person wrote one that didn't already exist :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-21 Thread Matt S Trout
On Mon, Jul 21, 2008 at 11:48:39AM -0500, [EMAIL PROTECTED] wrote: Matt S Trout [EMAIL PROTECTED] wrote on 07/19/2008 07:10:28 PM: On Wed, Jun 25, 2008 at 11:27:13AM -0700, Bruce J Keeler wrote: Also, somewhat apropos, I have a C::A::{Store,Credential}::ActiveDirectory that I based

Re: [Catalyst] [Announce] Catalyst-Runtime 5.7099_01 - Developer Release

2008-07-21 Thread Matt S Trout
-- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk

Re: [Catalyst] Catalyst-Devel Patch

2008-07-21 Thread Matt S Trout
suggested you patched Catalyst::Helper::Model::DBIC::Schema ... maybe we should have a myapp_create.pl --help Model DBIC::Schema option that invokes perldoc for the appropriate helper? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Bug with $c-request-query_keywords ?

2008-07-19 Thread Matt S Trout
::Runtime install of one version and half another. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Capture page on server?

2008-07-19 Thread Matt S Trout
the front page to a static page, but regenerate the static page, and also force the app to do something (so the server can restart the fastcgi process before the user requests any other page). Catalyst::Plugin::PageCache ? -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] [Fwd: [rt-users] Security vulnerability in RT 3.0 and up]

2008-07-19 Thread Matt S Trout
your DBI connect info :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] Catalyst::Authentication::Credential::LDAP

2008-07-19 Thread Matt S Trout
by retrieve and check' should be an option in the LDAP stuff, not a separate module. Fancy doing up a patch? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] [Announce] Catalyst-Runtime 5.7099_01 - Developer Release

2008-07-19 Thread Matt S Trout
way that go() is analogous to detach()? Seems like it'd be a nice way to wrap an action that uses auto() or end() in its controller to handle tasks common to several actions there. Maybe. How about doing up a patch for catalyst-dev@ ? -- Matt S Trout Need help with your Catalyst

Re: [Catalyst] Accessing schema in non-DBIC-model

2008-07-19 Thread Matt S Trout
')-resultset('Foo') would be fine. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] parameter validation

2008-07-19 Thread Matt S Trout
of the problem? The point of that message was that $c-req-param('foo') is list context aware whereas $c-req-params-{foo} isn't. But once you've done the validating, you're going to be ok either way. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] Package , Catalyst::Plugin::Wizard is great but examples need some clarification

2008-07-19 Thread Matt S Trout
. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] why no $c-action_class ?

2008-07-19 Thread Matt S Trout
the object. If you feel that this isn't clear, a doc patch would be much appreciated. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Authorization ACL: future plans?

2008-06-12 Thread Matt S Trout
permission to call $obj-update on a DBIC row or whatever. Might be interesting to start a thread on the DBIC list about model level security if you were so inclined. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

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

2008-06-12 Thread Matt S Trout
appreciative that you've provided an example of what you think is better - perhaps you could include an explanation of why you think it's better, though? The point here is I'm presenting -first- -drafts- of ideas. +1/-1 can wait until the final designs are done. -- Matt S Trout Need

Re: [Catalyst] Catalyst site design drafts feedback thread

2008-06-12 Thread Matt S Trout
On Wed, Jun 11, 2008 at 03:58:28PM -0500, Dave Rolsky wrote: On Wed, 11 Jun 2008, 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

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

2008-06-12 Thread Matt S Trout
own proposal? I was thinking about yours but can I get away with asking for all of the above? Given myself and kieren both find most of the other sites objectionable it'd be nice to see why you prefer them. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

[Catalyst] Catalyst site new design reminder: deadline TOMORROW

2008-06-04 Thread Matt S Trout
Remember, if you want your design to be considered for http://catalyst.perl.org/ it needs to be in the mst (at) shadowcat.co.uk mailbox by tomorrow or your excuse for needing until sunday needs to be instead. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] Re: Request paths - rejoining Chained actions together.

2008-05-30 Thread Matt S Trout
On Thu, May 29, 2008 at 10:07:50AM +0100, Tomas Doran wrote: On 29 May 2008, at 06:44, Matt S Trout wrote: As I said before, Catalyst will treat the namespace corresponding to the file and any -subnamespaces- as components to load. Which is why my example was more like Controller/Foo.pm

Re: [Catalyst] Suggestions for CatalystX::Installer

2008-05-30 Thread Matt S Trout
somebody has time to do it later ... -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] Undefined subroutine Test::WWW::Mechanize::Catalyst::Aux::request called

2008-05-29 Thread Matt S Trout
On Fri, May 23, 2008 at 10:36:54AM -0700, Bill Moseley wrote: Before I start debugging I'm curious if this is a know issue. Yeah, it means your app is fucked and didn't load. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Suggestions for CatalystX::Installer

2008-05-28 Thread Matt S Trout
it to run 'make catalyst_par' for you? - Install the preresiquites via CPAN You want it to run 'make installdeps' for you? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat

Re: [Catalyst] UTF-16 surrogate message when writing binary data (image)

2008-05-10 Thread Matt S Trout
. It'd of course be easier for you to confirm this, since you have the copy of IO/Handle.pm and the line number - maybe you could look? A good way to check would be to loop reading $pic_image yourself and see if you get the same warning ... -- Matt S Trout Need help with your Catalyst

Re: [Catalyst] Variable Catalyst seems to be undefined.

2008-05-10 Thread Matt S Trout
the phrase best practice please tell me so I can send them a flaming llama turd as an expression of my love of it. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] session in DB example in Catalyst book

2008-05-10 Thread Matt S Trout
=http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ Try it now./a You're posting in HTML only. Fix your mail client. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-09 Thread Matt S Trout
idea. I think there was some discussion over the same error in the POE HTTP client over on perlmonks that included a this is the line of code that is wrong. I can't find the link offhand though. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-06 Thread Matt S Trout
the fallout fixed, not for you to posture. Either write code, shut up, or start a separate thread so I can safely killfile it. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat

Re: [Catalyst] So, what do we want in the -next- book?

2008-05-05 Thread Matt S Trout
On Sun, May 04, 2008 at 07:28:46PM +0200, Marcus Ramberg wrote: On 4. mai. 2008, at 15.39, Matt S Trout wrote: Then again, I originally learned Catalyst by reading the source; took me about 8 hours. The only thing that confused me was the dispatcher, which is why I rewrote most

Re: [Catalyst] modperl 1.3 wierdness

2008-05-05 Thread Matt S Trout
On Sun, May 04, 2008 at 11:19:24PM +1000, Toby Corkindale wrote: On Sat, May 03, 2008 at 11:22:49PM +0100, Matt S Trout wrote: On Mon, Apr 28, 2008 at 11:30:53AM +1000, Toby Corkindale wrote: Unfortunately due to somewhat unusual app deployment tactics here, apps get installed

Re: [Catalyst] Re: How to print/display some data in an end action

2008-05-05 Thread Matt S Trout
'); } Once you've fixed those, all you should need to do is make sure there's something in $t and RenderView won't call the TT view at all for rg. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Tutorial

2008-05-05 Thread Matt S Trout
anything - you're almost as vague as my uncle is when he says the internet is broken. Oh, and ignore Ali M. He likes telling people how awful their documentation is and how they should write more but hasn't sent a single patch himself. -- Matt S Trout Need help with your Catalyst

Re: Fw: high school reunion [Catalyst] (no subject)

2008-05-05 Thread Matt S Trout
, of course. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] RFC: Catalyst::Controller::REST::DBIC

2008-05-05 Thread Matt S Trout
point, which was your lookup key and names of actions might clash so it can be nice to have an extra path component such as 'id' for the lookup part to disambiguate. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Re: RFC: Catalyst::Controller::REST::DBIC

2008-05-05 Thread Matt S Trout
. Of course I forget which browsers and which headers, but it sure as hell fucked our shit up but good. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

Re: [Catalyst] RFC: Catalyst::Controller::REST::DBIC

2008-05-05 Thread Matt S Trout
On Mon, May 05, 2008 at 07:50:08AM -0700, J. Shirley wrote: On Mon, May 5, 2008 at 4:31 AM, Matt S Trout [EMAIL PROTECTED] wrote: On Sun, May 04, 2008 at 09:06:30AM -0700, J. Shirley wrote: On Sun, May 4, 2008 at 8:52 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote: Sorry

Re: [Catalyst] Re: RFC: Catalyst::Controller::REST::DBIC

2008-05-04 Thread Matt S Trout
whatever alternative you like. Please don't let your obsessive REST advocacy blind you to pragmatic software development issues; it's starting to get boring. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: Fw: high school reunion [Catalyst] (no subject)

2008-05-03 Thread Matt S Trout
Unsubscribed and banned. Bai. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] So, what do we want in the -next- book?

2008-05-03 Thread Matt S Trout
://catwiki.toeat.com/thebook Don't even waste your time submitting to them, just hassle them to link to the real errata list we've collected :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

[Catalyst] Kill the book thread please

2008-05-03 Thread Matt S Trout
There's about four different conversations going on on it now. Please anybody who considers one of those conversations worth keeping start a fresh thread with a more accurate subject. It'll make the conversation saner. -- Matt S Trout Need help with your Catalyst or DBIx::Class

Re: [Catalyst] modperl 1.3 wierdness

2008-05-03 Thread Matt S Trout
that the config file lived in the same non-standard location. How about using __PACKAGE__-config( 'Plugin::ConfigLoader' = { file = __PACKAGE__-path_to(...) } ); or setting an environment variable? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] Catalyst website

2008-05-03 Thread Matt S Trout
nobody join that channel unless you're planning to implement; bikeshedders unwelcome and can expect to be banned. Commit bits to the site can be given out very easily; if you can't find anybody else to do it kick me. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] Re: Dispatching based on path and host/domain

2008-04-25 Thread Matt S Trout
On Wed, Apr 23, 2008 at 10:56:07PM +0200, Aristotle Pagaltzis wrote: * Matt S Trout [EMAIL PROTECTED] [2008-04-23 21:40]: On Wed, Apr 23, 2008 at 03:25:47PM +0100, Curtis Fletcher wrote: Digging around, is it a sane thing to have: __PACKAGE__-_action_class('Catalyst::Action::MyAction

Re: [Catalyst] Dispatching based on path and host/domain

2008-04-23 Thread Matt S Trout
:) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] Dispatching based on path and host/domain

2008-04-23 Thread Matt S Trout
On Wed, Apr 23, 2008 at 03:25:47PM +0100, Curtis Fletcher wrote: -Original Message- From: Matt S Trout [mailto:[EMAIL PROTECTED] Sent: 23 April 2008 14:34 To: The elegant MVC web framework Subject: Re: [Catalyst] Dispatching based on path and host/domain :Local

Re: [Catalyst] TT custom virtual methods available to all pages.

2008-04-23 Thread Matt S Trout
::View::TT); __PACKAGE__-config( ... ); use Moose; around template_vars = sub { my $orig = shift; my $self = shift; return (mk_hash = sub { ... }, $self-$orig(@_)); }; no Moose; 1; -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Dispatching based on path and host/domain

2008-04-22 Thread Matt S Trout
) for their business logic specific methods? (Well those that use DBIx::Class as their model anyway) No, generally they don't. That's why they end up with controllers full of crap. Anybody trying to write -actual- MVC code with Catalyst+DBIC will have resultset classes though :) -- Matt S Trout

Re: [Catalyst] Catalyst and PayPal

2008-04-21 Thread Matt S Trout
- people are scared of powerful tools that can bite :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-21 Thread Matt S Trout
On Mon, Apr 21, 2008 at 11:49:56AM +0930, Jon Schutz wrote: On Sun, 2008-04-20 at 15:15 +0100, Matt S Trout wrote: So far as I can see, all we really need to do is supply a proxy of the common Tree::Simple method from the C::Stats object through to $self-{tree} and we're done. That'll

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-21 Thread Matt S Trout
live with the world we have. You're not making a stand for anything except your right to buck standard perl practice and get away with it; I tried, failed, had unhappy users, and learned. Welcome to the real world sucking. If it was perfect, we'd need a lot less developers :) -- Matt S Trout

Re: [Catalyst] Catalyst::Log::Log4perl autoflush

2008-04-20 Thread Matt S Trout
doesn't do what it doesn't say it does? The autoflush option to new has the right name, but does the wrong thing. So your test should prove that the code doesn't do what it's supposed to even though it accepts the parameter. -- Matt S Trout Need help with your Catalyst or DBIx::Class

Re: [Catalyst] Sending email safely with Catalyst

2008-04-19 Thread Matt S Trout
On Fri, Apr 18, 2008 at 01:31:37PM -0700, Tatsuhiko Miyagawa wrote: On Fri, Apr 18, 2008 at 10:54 AM, Matt S Trout [EMAIL PROTECTED] wrote: But you're writing a new catalyst app, so you're deploying it under fastcgi, right? Really, mod_perl is a legacy deployment option. Don't

Re: [Catalyst] Sending email safely with Catalyst

2008-04-18 Thread Matt S Trout
guide recommends against forking http://modperlbook.org/html/10-2-Forking-and-Executing-Subprocessesfrom-mod_perl.html). But you're writing a new catalyst app, so you're deploying it under fastcgi, right? Really, mod_perl is a legacy deployment option. Don't. -- Matt S Trout Need

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-18 Thread Matt S Trout
stats API, but it still needs doing. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] Testing View

2008-04-18 Thread Matt S Trout
Catalyst::Test 'MyApp'; use Test::WWW::Mechanize::Catalyst 'MyApp'; You can't just call -prepare with no engine, bypass the entire dispatch setup and then expect the dispatcher to work. Also, a controller is an object. Calling methods as subroutines is -just- -wrong-. -- Matt S Trout Need

Re: [Catalyst] RIA on Catalyst

2008-04-11 Thread Matt S Trout
it made modeling the system as half object + protocol (the protocol being a JSON transport) much easier. I am not, however, a JS expert; I spent most of my time beating Cat + DBIC with a stick, as usual :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] Re: STDERR noise on Perl 5.10

2008-04-11 Thread Matt S Trout
redefined at /usr/local/lib/perl5/site_perl/5.10.0/Class/C3.pm line 70. Send patches to Class::C3 Name MailRu::Catalyst::Plugin::Authentication::setup used only once: possible typo at /usr/local/lib/perl5/5.10.0/NEXT.pm line 58. Send patches to NEXT -- Matt S Trout Need help

Re: [Catalyst] Memory leak under FastCGI?

2008-04-10 Thread Matt S Trout
. Note also that the FCGI::ProcManager maintainer is Gareth Kirwan and can be found hopefully via this list or as gbjk on IRC. (moral of the story: RFC on here first before coding lest ye be reinventing a wheel :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] Why does $c-stats require -Debug flag?

2008-04-10 Thread Matt S Trout
the stats object isn't initialised without it. I'm not sure if this is a bug or a feature. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] RFC: Catalyst::Plugin::AutoValidate

2008-04-10 Thread Matt S Trout
the .fb files when using Formbuilder). I'm curiuos of your opinions. Should be a controller base class. Using a plugin for this is bad style - see for example Controller::FormBuilder which replaces the old Plugin::FormBuilder -- Matt S Trout Need help with your Catalyst or DBIx::Class

<    1   2   3   >