RE: [Catalyst] reference lib outside Catalyst web applicationdirectory

2006-12-13 Thread Hermida, Leandro
From: Matt S Trout [mailto:[EMAIL PROTECTED] On 12 Dec 2006, at 16:57, Hermida, Leandro wrote: Hello, I have the following folder hierarchy for a project which will have a web component that is driven by Catalyst: MyProj/ lib/ sql/ web/ --- Catalyst

Re: [Catalyst] Supporting multiple password types with C::P::Auth::Store::DBIC

2006-12-13 Thread Marc Espie
On Wed, Dec 13, 2006 at 12:16:30AM +0100, Daniel McBrearty wrote: Am migrating from an old system which used Basic Auth, to this plugin. As mentioned in a previous post, using password_type = crypted means that the old passwords still work. Nice ... But reading the docs for crypt I just

Re: [Catalyst] Supporting multiple password types with C::P::Auth::Store::DBIC

2006-12-13 Thread Daniel McBrearty
although ... there might be a related problem that makes restricting to ASCII make sense. If usernames are also UTF8, will there be potential problems using them in URLs? I know UTF8 in urls have been discussed a lot, but I've no idea what the current state of play is (does it work well on all

[Catalyst] How to configure Catalyst home directory

2006-12-13 Thread N. Arakawa
I want to configure Catalyst home directory. I use up-to-date Catalyst in CPAN. Manual suggests to use use Catalyst qw[-Home=/usr/mst]; but doesn't work. Moreover I can't even find the code segment which will handle '-Home' flag. So now I do something like: BEGIN{

[Catalyst] TIP: resolv uri based on delta params

2006-12-13 Thread N. Arakawa
I often make a data-table view, which links to similar views with small parameter changes, such as paging or sorting order. In this case, making a link URI based on 'delta' information is handy. In Application Code: sub uri_delta{ my($self,@arg)[EMAIL PROTECTED]; if (@arg % 2 != 0){

Re: [Catalyst] TIP: resolv uri based on delta params

2006-12-13 Thread Brian Cassidy
N. Arakawa wrote: I often make a data-table view, which links to similar views with small parameter changes, such as paging or sorting order. In this case, making a link URI based on 'delta' information is handy. In Application Code: sub uri_delta{ my($self,@arg)[EMAIL PROTECTED];

Re: [Catalyst] reference lib outside Catalyst web applicationdirectory

2006-12-13 Thread Matt S Trout
On 13 Dec 2006, at 10:03, Hermida, Leandro wrote: From: Matt S Trout [mailto:[EMAIL PROTECTED] On 12 Dec 2006, at 16:57, Hermida, Leandro wrote: Hello, I have the following folder hierarchy for a project which will have a web component that is driven by Catalyst: MyProj/ lib/

Re: [Catalyst] reference lib outside Catalyst web applicationdirectory

2006-12-13 Thread Dave Howorth
Matt S Trout wrote: I'm asking why the web part can't be in the main app directory :) I've been reading this thread with interest because Leandro's description seems to fit my situation as well. This seems like a pretty lame response. Does it mean that Catalyst can't be configured to live in a

[Catalyst] Catalyst advent calendar / day 12: minor correction

2006-12-13 Thread Marcello Romani
Hi, I spotted a little problem when following the 12th day of cat calendar. The original line: } if $c-engine eq 'Catalyst::Engine::HTTP'; doesn't work if one launches the dev http server with -r option. That's because the engine becomes C::E::HTTP::Restarter. I changed the line in: } if

Re: [Catalyst] Supporting multiple password types with C::P::Auth::Store::DBIC

2006-12-13 Thread Jonathan Rockway
I know UTF8 in urls have been discussed a lot, but I've no idea what the current state of play is (does it work well on all platforms). Yes. http://host/path/to/something/%xx%xx%xx%xx%xx%xx%xx%xx%xx/... The %xx's are the utf-8 octets. Catalyst will understand this just fine; we even have

Re: [Catalyst] reference lib outside Catalyst web applicationdirectory

2006-12-13 Thread Christopher H. Laco
Brian Kirkbride wrote: Dave Howorth wrote: Matt S Trout wrote: I'm asking why the web part can't be in the main app directory :) I've been reading this thread with interest because Leandro's description seems to fit my situation as well. This seems like a pretty lame response. Does it mean

Re: [Catalyst] Supporting multiple password types with C::P::Auth::Store::DBIC

2006-12-13 Thread Daniel McBrearty
thanks Jonathan. I looked up on the W3C site and saw that this was how it should work, and had it on my list to see if cat would be all right with it. I'd have been surprised if it wouldn't, TBH ... it's taken me quite a while to get up to speed on cat/dbix/tt ... a lot of new stuff to learn,

[Catalyst] Re: reference lib outside Catalyst web application directory

2006-12-13 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2006-12-13 18:40]: I can't imagine life before $FindBin::Bin Despite the fact that it’s perverse and horribly broken [1]? [1]: http://www.perlmonks.org/index.pl?node_id=41213 Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/

Re: [Catalyst] reference lib outside Catalyst web applicationdirectory

2006-12-13 Thread Matt S Trout
On 13 Dec 2006, at 14:59, Dave Howorth wrote: Matt S Trout wrote: I'm asking why the web part can't be in the main app directory :) I've been reading this thread with interest because Leandro's description seems to fit my situation as well. This seems like a pretty lame response. Does it

Re: [Catalyst] Re: reference lib outside Catalyst web application directory

2006-12-13 Thread Adam Jacob
On Wed, Dec 13, 2006 at 08:06:02PM +0100, A. Pagaltzis wrote: Despite the fact that it’s perverse and horribly broken [1]? [1]: http://www.perlmonks.org/index.pl?node_id=41213 Yes, despite that. :) Adam ___ List: Catalyst@lists.rawmode.org

[Catalyst] Re: Catalyst Digest, Vol 22, Issue 36

2006-12-13 Thread N. Arakawa
N. Arakawa wrote: I often make a data-table view, which links to similar views with small parameter changes, such as paging or sorting order. In this case, making a link URI based on 'delta' information is handy. In Application Code: sub uri_delta{ There is at least one drawback of