Re: [Catalyst] FormBuilder and View::Email

2008-07-17 Thread Peter Karman
eck out the docs for 'default_view', assuming you are using the RenderView Action class. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listin

Re: [Catalyst] patch for Catalyst::Authentication::Store::LDAP::Backend lookup_roles method

2008-07-10 Thread Peter Karman
schema is a little unusual, but you were right in pointing out that Net::LDAP::Entry only returns one value when called in scalar context. I applied the patch after testing it locally against my POSIX schema. http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=8100 Thanks. -- Peter

Re: [Catalyst] REST, JSON and Content-Type

2008-06-17 Thread Peter Karman
On 06/16/2008 06:52 PM, Christopher Laco wrote: > Committed to trunk. > > RT filed for MIME::Types > claco++ -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists

[Catalyst] ANNOUNCE: 0.09_01 dev release of Rose::DBx::Garden::Catalyst

2008-06-13 Thread Peter Karman
s Catalyst Advent calendar here: http://www.catalystframework.org/calendar/2007/7 Also new in this version: * support for YUI 2.5.x * Excel export of db records * lots of UI improvements Feedback, comments welcome. -- Peter Karman . [EMAIL PROTECTED] . http://

Re: [Dbix-class] Re: [Catalyst] untainting utf8 text for db

2008-06-07 Thread Peter Karman
Daniel McBrearty wrote on 6/7/08 5:25 AM: of course. But how do you regex an inclusive list for any character in any human language ? [\w]+ works pretty well iirc, if your locale includes UTF-8. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] Changes to the behavior of $c->namespace in 5.7013

2008-05-21 Thread Peter Karman
On 05/19/2008 06:04 PM, John Napiorkowski wrote: > I'd just like to clarify this is the behavior we want and see if we can cook > up a test for it. Is this giving anyone else trouble? > FYI, I just sent a test patch exposing the problem to the catalyst-dev list. -- Peter Kar

Re: [Catalyst] Changes to the behavior of $c->namespace in 5.7013

2008-05-20 Thread Peter Karman
On 05/19/2008 06:04 PM, John Napiorkowski wrote: > I'd just like to clarify this is the behavior we want and see if we can cook > up a test for it. Is this giving anyone else trouble? > Yes, this is biting my app too. -- Peter Karman . [EMAIL PROTECTED] . htt

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

2008-05-06 Thread Peter Karman
On 05/05/2008 02:33 PM, luke saunders wrote: > On Mon, May 5, 2008 at 7:28 PM, Peter Karman <[EMAIL PROTECTED]> wrote: >> >> On 05/05/2008 12:16 PM, J. Shirley wrote: >> >> > >> > The discussions about a better CRUD base class with REST and RPC

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

2008-05-05 Thread Peter Karman
eserved PK value since seq PKs start at 1 and zero evaluates as false in Perl. my ($self, $c, $oid) = @_; if (!$oid) { # could be absent or zero, either is fine # ... } Also, I adopted drolsky's suggestion of /create_form instead of /create in order to keep the RESTful no-

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

2008-05-05 Thread Peter Karman
plementation, rather than starting a new project. There are already too many CRUD-style Catalyst modules on CPAN imho. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys

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

2008-04-28 Thread Peter Karman
. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http

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

2008-04-23 Thread Peter Karman
%] Of course, you have to be careful when adding virtual methods, that you don't step on the default ones. So I just have a couple I often use (dump_data and as_json). -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___

Re: [Catalyst] Sending email safely with Catalyst

2008-04-11 Thread Peter Karman
ry sending large numbers of email (see other replies on this thread for suggestions on that). Usually it's a confirmation email for some action the requester has made. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Cataly

Re: [Catalyst] Problem storing session data

2008-04-01 Thread Peter Karman
CKAGE__->config( session => { storage => '/tmp/session'.$$, cache_size => '10m', page_size => '256k', expires => 3600

Re: [Catalyst] Re: Patch for Catalyst::Plugin::Unicode::Encoding

2008-03-20 Thread Peter Karman
and gives user something to chew on. Jon, what do you think? -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: h

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Peter Karman
On 03/12/2008 01:24 PM, Zbigniew Lukasiak wrote: > > We are closing to it. Basically the adaptor needs to store the table > name in it's instance - that's all. > So one adaptor per table? How is that different than one model per table? -- Peter Karman . [EMA

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Peter Karman
On 03/12/2008 11:39 AM, Zbigniew Lukasiak wrote: > On Wed, Mar 12, 2008 at 5:06 PM, Peter Karman <[EMAIL PROTECTED]> wrote: >> >> On 03/12/2008 10:27 AM, Zbigniew Lukasiak wrote: >> >> > If you'd make them to use the same db connection than indeed this

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Peter Karman
rage, connections, etc. It's up to the implementation to handle that part. >> If you like the model_adaptor() syntax in the Controller API, how would you >> implement a >> ModelAdaptor class and how would you change the Controller API to use it? >> You've left t

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Peter Karman
ld be simplified, that the ::Object class could go away, and that the Model class could take over the c/r/u/d methods that Object currently performs. If you like the model_adaptor() syntax in the Controller API, how would you implement a ModelAdaptor class and how would you change the Controller A

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Peter Karman
@_; my $thing = $c->model('Foo')->fetch( id => $id ); $c->stash->{object} = $thing; # NOT a CX::CRUD::Object } and if wanted to update $thing: $c->model('Foo')->update( $thing ); I could live with that. Does it meet your needs? Does it make

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Peter Karman
to forward to the REST API > (with suitable massaging of the stash). CX::CRUD::REST is part of the core dist. It is designed to make swapping between REST and RPC-style APIs as trivial as: use base qw( CatalystX::CRUD::REST CatalystX::CRUD::Controller::SomeThing ); where SomeThing is cur

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-12 Thread Peter Karman
t is (a) terser and (b) seems clearer to me what is happening. But if the design goal of common expectations for $form and $object is to be achieved, we need some way of defining that API. I'm open to suggestions of how to get rid of CX::CRUD::Object and still defining a way for

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-10 Thread Peter Karman
ormFu make sure to make it Model agnostic. That is, it could be used with DBIC or RDBO or whatever. That's the whole point of CatalystX::CRUD. It would appear that HTML::FormFu::Model::* is a placeholder for that same idea wrt FormFu. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-10 Thread Peter Karman
On 03/10/2008 07:14 AM, Zbigniew Lukasiak wrote: > Hi Peter, > > On Wed, Feb 20, 2008 at 7:48 PM, Peter Karman <[EMAIL PROTECTED]> wrote: >> Also look at CatalystX::CRUD::Model::DBIC. Feedback appreciated. >> > > I had today another look at CatalystX::CRUD

Re: [Catalyst] Base controllers and multiple inheritance

2008-03-06 Thread Peter Karman
anted to use DBIC and C::C::HTML::FormFu, so I made my own. Anyway, kudos! Consider contributing a CX::CRUD::Controller::FormFu then! :) If you based yours off the Rose::CRUD API, you're mostly there. -- Peter Karman . http://peknet.com/ . [EM

Re: [Catalyst] Base controllers and multiple inheritance

2008-03-05 Thread Peter Karman
sistent objects, etc. IME, there isn't much you want like that. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchabl

Re: [Catalyst] Session Expiry

2008-03-01 Thread Peter Karman
a separate 'expires' entry in the cache. AFAIK it is the only session store class to do that. I don't know if that is a fault with how the Cache store itself is implemented, or with the implementation of the superclass. -- Peter Karman . http://peknet

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-02-20 Thread Peter Karman
On 02/20/2008 09:17 AM, Alex Povolotsky wrote: > Hello! > > Scaffold seems to be a good thing, but it is using CDBI. Maybe something > like it with DBIC exists? > Also look at CatalystX::CRUD::Model::DBIC. Feedback appreciated. -- Peter Karman . [EMAIL PROTECTED] . ht

[Catalyst] using frontend proxy with non-/ PATH_INFO

2008-02-11 Thread Peter Karman
end_path_info} ) { +$base_path = $c->config->{prepend_path_info} . $base_path; +} + my $path = $base_path . ( $ENV{PATH_INFO} || '' ); $path =~ s{^/+}{}; -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-02-05 Thread Peter Karman
ecated. Catalyst::Authentication::Store::LDAP 0.1000 is now the latest and greatest. Both just uploaded to CPAN etc. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] How to use dbh in the model

2008-01-29 Thread Peter Karman
"strict refs" > in use at /usr/local/share/perl/5.8.7/Class/Accessor/Fast.pm line 38. > > MyApp::Model::DBI connect_info is automatically loaded from the global > config file. I need to get the models dbh into DBIx::Simple->new(). What > am I doing wrong? override new(

Re: [Catalyst] OT: YUI v Ext JS

2008-01-25 Thread Peter Karman
d effect (see http://catalyst.perl.org/calendar/2007/7) so if Ext had some widget I really wanted, I would just use both together. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.s

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-25 Thread Peter Karman
bs with the new names that just subclass the existing plugins? pek -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
P's [warn] in my own apps. I'm still running C::P::A 0.10002. Thanks, jrockway. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/cat

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
On 01/24/2008 03:22 PM, Jonathan Rockway wrote: > Peter Karman <[EMAIL PROTECTED]> writes: > >> On 01/24/2008 02:49 PM, Andrew Peebles wrote: >> >>> perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP' >>> CPAN: Storable loaded ok &

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
On 01/24/2008 03:45 PM, Andrew Peebles wrote: > Peter Karman wrote: >> On 01/24/2008 02:49 PM, Andrew Peebles wrote: >> >> >>> perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP' >>> CPAN: Storable loaded ok >>> Going to rea

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
alyst::Authentication::Store::LDAP, don't > know what it is. you forgot the ::Plugin part -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
d that first if you are upgrading from a previous version of Catalyst::Plugin::Authentication::Store::LDAP." I have added that line to svn. In the meantime, you can read about it here: http://search.cpan.org/~jayk/Catalyst-Plugin-Authentication-0.10004/lib/Catalyst/Plugin/Authe

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
nd timeout if they can't reach it. So you can safely ignore those test failures for now. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinf

Re: [Catalyst] Re: REST - like uri design for CRUD

2008-01-22 Thread Peter Karman
Peter Karman wrote on 1/20/08 7:53 PM: Aristotle Pagaltzis wrote on 1/20/08 7:36 PM: * Peter Karman <[EMAIL PROTECTED]> [2008-01-20 22:10]: there's no checking of HTTP method at all. Yikes!! http://example.org/foo/id/42/delete";> I actually consider that a feat

Re: [Catalyst] Re: REST - like uri design for CRUD

2008-01-20 Thread Peter Karman
Aristotle Pagaltzis wrote on 1/20/08 7:36 PM: * Peter Karman <[EMAIL PROTECTED]> [2008-01-20 22:10]: there's no checking of HTTP method at all. Yikes!! http://example.org/foo/id/42/delete";> That API is intentionally RESTish It’s not REST if it ignores the unifo

Re: [Catalyst] REST - like uri design for CRUD

2008-01-20 Thread Peter Karman
method at all. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/

Re: [Catalyst] View plugin for excell/OO

2008-01-14 Thread Peter Karman
On 01/14/2008 08:01 AM, Angel Kolev wrote: > the file archive_report.tt is in MyApp/root/src/sheets > xls that i receive is named myapp_archives_export.xls > what are the contents of MyApp/root/src/sheets ? That's what will matter. Is that template actually getting called? --

Re: [Catalyst] View plugin for excell/OO

2008-01-14 Thread Peter Karman
SQL with DBIx::Class to excel sheet, but Catalyst-View-Excel-Template-Plus is not enough documented. Can anyone show me examples pls. Thanks. Look at CatalystX::CRUD::View::Excel. http://search.cpan.org/~karman/CatalystX-CRUD-View-Excel-0.03/ -- Peter Karman . http://peknet.com/ . [EM

Re: [Catalyst] ResultSet renderer?

2008-01-07 Thread Peter Karman
DBIC. I have uploaded a 0.01 version of CatalystX::CRUD::Model::DBIC that might be useful to look at. I'm sure the templates generated by RDGC could be adapted to use it instead. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ L

Re: [Catalyst] Re: Database connections leaking

2007-12-31 Thread Peter Karman
d or something like that, and then > make sure that such objects can be used in place of plain DBI > handles, so that anyone who needs this functionality can use that > instead of maintaining the $N'th copy of the code? > How is this different than DBI's own connect_cach

Re: [Catalyst] Re: retrieving multiple values from forms

2007-12-18 Thread Peter Karman
s if it’s an arrayref > it’s impossible to forget to unpack the array when you meant to > do that.) > I did something similar in my last $job, where I just had a begin() block in my Root.pm that reset params->{foo} to always return an arrayref. -- Peter Karman . [EMAIL PROTECTE

Re: [Catalyst] State of the art in form validation; opinion poll... Mod el based forms/validation?

2007-12-04 Thread Peter Karman
lidation based on the data types defined in the form classes (a'la FormBuilder). There's an Advent entry on RDGC coming up Soon. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://

Re: [Catalyst] BBC's "Perl on Rails" nuttiness

2007-12-01 Thread Peter Karman
ween MVC, CRUD and CMS?" > > I'm seeing this as an opportunity (hey, Peter Karman!) to get more word out > that Catalyst is the blocks you build a CRUD app or CMS with. It is not a > CMS app... but neither is Rails. And really, if we do get the word out we > still can'

Re: [Catalyst] PageCache and SubRequest

2007-11-20 Thread Peter Karman
> - TT (index.tt): > > > Hello > [%c.subreq('/parts/test')%] > > > > I hope that the page including 'Hello' and 'Test' are cached. > But, often I cannot see 'Test' in the cached page. > The behavior often happens. > You l

Re: [Catalyst] how to get controller path

2007-11-20 Thread Peter Karman
as what I had to go on in my template. The Catalyst::Dispatcher seems to be the correct place to interrogate the action map for any given URL, maybe with get_action_by_path(). Or am I way off base? -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ _

[Catalyst] ANNOUNCE: Rose::DBx::Garden and Rose::DBx::Garden::Catalyst

2007-11-19 Thread Peter Karman
t. * add Create/Search to menu * bumped req versions of CatalystX::CRUD::* -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/l

Re: [Catalyst] PathPart help

2007-11-15 Thread Peter Karman
object with the > numeric id= > /namespace//edit => brings up a form to edit object with numeric > id= > /namespace/create => brings up a form to create a new object > This controller implements that exact API: http://search.cpan.org/~karman/Catalyst-Controller-Rose-0.04/

Re: [Catalyst] Switching between different databases during a session

2007-11-15 Thread Peter Karman
simple, but I just ain't getting it. Lots of hints on > the list, but nothing I can find that's helping. > why not have a different Model class for each db? -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___

Re: [Catalyst] Solved: Catalyst::Plugin::Authentication::Store::LDAP problems

2007-11-13 Thread Peter Karman
oblem. good idea. thanks. > > P.S. If you want an example set up for authenticating against Active > Directory (as opposed to posix LDAP setup, as in your documentation), > let me know, and I'll send you the relevant config lines. > sure. send them to me offlist. -- Peter

Re: [Catalyst] HTML::Dojo

2007-11-12 Thread Peter Karman
-enabled Catalyst app for you. YUI is Very Cool. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-arc

Re: [Catalyst] ANNOUNCE: Rose::DBx::Garden::Catalyst

2007-11-12 Thread Peter Karman
On 11/09/2007 01:13 PM, Peter Karman wrote: > I've just uploaded Rose::DBx::Garden::Catalyst 0.01 to CPAN. > And in the spirit of release early and often, 0.02 is now uploaded as well. Thanks to John Siracusa for spotting some bugs in the CatalystX::CRUD::* dependencies. >Fr

Re: [Catalyst] Catalyst::Plugin::Authentication::Store::LDAP problems

2007-11-12 Thread Peter Karman
tication method that simply takes over the username and password > that Apache got from the user? I believe Apache stores the user name from its auth in the REMOTE_USER env var. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ __

Re: [Catalyst] Re: [OT] Search Solution

2007-11-09 Thread Peter Karman
On 11/09/2007 03:47 PM, Octavian Rasnita wrote: > Do you have a recommendation for a good perl module that can be used > easyly for creating a spider that should index a web site? > If you don't need UTF-8, check out Swish-e. It has a spider and parser. -- Peter Karman . [E

Re: [Catalyst] Re: [OT] Search Solution

2007-11-09 Thread Peter Karman
doc? > Xapian is a library. The related Omega project has support for parsing docs of various formats. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bi

[Catalyst] ANNOUNCE: Rose::DBx::Garden::Catalyst

2007-11-09 Thread Peter Karman
); $garden->plant('MyApp'); # run your script > perl mk_cat_garden.pl # start your Catalyst dev server > cd MyApp > perl script/myapp_server.pl # enjoy the fruits at http://localhost:3000/rdgc Feedback, comments, patches, tests,

Re: [Catalyst] Re: [OT] Search Solution

2007-11-09 Thread Peter Karman
I posted this link awhile back too: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06061.html -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

Re: [Catalyst] A question on persistence with sessions or similar

2007-11-06 Thread Peter Karman
t; just like stash. > > Really, it is very simple. And I thought I had it. > > $c->flash > $c->session That does what you describe. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Ca

Re: [Catalyst] extending apps to use alternate root namespaces at setup() time

2007-10-24 Thread Peter Karman
On 10/24/2007 10:41 AM, Matt S Trout wrote: > On Wed, Oct 24, 2007 at 09:09:34AM -0500, Peter Karman wrote: >> >> >> ... >> >> This is a bit of an involved question. I'm looking mostly for feedback on >> whether (a) what I am attempting is sane and

[Catalyst] extending apps to use alternate root namespaces at setup() time

2007-10-24 Thread Peter Karman
->{$base_component}; $class->components->{$base_component} = $class->setup_component($base_component); } } 1; __END__ -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk L

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-22 Thread Peter Karman
gt; -Original Message----- > From: Peter Karman [mailto:[EMAIL PROTECTED] > Sent: Friday, October 19, 2007 3:13 PM > To: The elegant MVC web framework > Subject: Re: [Catalyst] New auth stuff and LDAP store... > > > > On 10/19/2007 03:42 AM, Hartmaier Alexander wrote: >

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-19 Thread Peter Karman
On 10/19/2007 03:42 AM, Hartmaier Alexander wrote: > I will test it now. > > BTW the Changes file has a wrong date for 0.0600. > Thanks. I'll change in svn do it is correct for the next release. -- Peter Karman . [EMAIL PROTECTED] .

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-18 Thread Peter Karman
Thanks to Adam, mst and jshirley for bringing me into the Cat fold. Catalyst-Plugin-Authentication-Store-LDAP-0.0600 was just pushed to CPAN. This brings the LDAP auth plugin up to speed with the current C::P::Authentication realms API. On 09/24/2007 12:22 PM, Peter Karman wrote: > > On

[Catalyst] extending apps to use alternate root namespaces at setup() time

2007-10-16 Thread Peter Karman
mponent}; $class->components->{$base_component} = $class->setup_component($base_component); } } 1; __END__ -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: ht

Re: [Catalyst] modules recommendations

2007-10-16 Thread Peter Karman
On 10/16/2007 12:02 PM, Octavian Rasnita wrote: > Does anyone know if I can find somewhere a list of perl modules which > are recommended to be used with Catalyst for some tasks like [snip] http://www.perlfoundation.org/perl5/index.cgi?recommended_cpan_modules -- Peter Karman .

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-15 Thread Peter Karman
On 10/15/2007 11:32 AM, Peter Karman wrote: > I ended up writing a Net::LDAP::Server::Test based on the existing CPAN > module. > As soon as I get permission to release it, I'll post for comments. > http://search.cpan.org/~karman/Net-LDAP-Server-Test-0.01/ I'm es

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-15 Thread Peter Karman
On 10/15/2007 12:28 PM, Adam Jacob wrote: > Peter, do you want CPAN privileges for C::P::A::S::LDAP? > sure. > Do you have a commit bit in the Catalyst SVN? > I do not. pek > Adam > > On 10/15/07, Peter Karman <[EMAIL PROTECTED]> wrote: >> >> On

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-15 Thread Peter Karman
r on CPAN which may or may not be any use. > Thanks, Matt. I ended up writing a Net::LDAP::Server::Test based on the existing CPAN module. As soon as I get permission to release it, I'll post for comments. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ __

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-15 Thread Peter Karman
get_user(). I started on some more tests to exercise some of the roles features, but the attached at least exercises the changes in the patches I submitted. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ #!/usr/bin/perl use strict; use warnings; use Catalyst::Exception; us

Re: [Catalyst] uri_for and Chained actions

2007-10-12 Thread Peter Karman
e static content from a different URL altogether (as I do) by just changing [% img_url = 'http://static.mystuff.foo' %] in one place. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Lis

[Catalyst] C::P::Session::Store::* and C3

2007-10-12 Thread Peter Karman
::Data::Inheritable Catalyst::Plugin::Session::Store /; use NEXT; -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-12 Thread Peter Karman
wondering if there is a way anyone knows of writing portable tests with a mock LDAP server. I'd be happy to write such a test if there were a way to do it. > On 9/24/07, Peter Karman <[EMAIL PROTECTED]> wrote: >> >> On 09/24/2007 12:22 PM, Peter Karman wrote: >>>

Re: [Catalyst] merging DB data with XML data

2007-10-05 Thread Peter Karman
poses. > > What I'd like to do though is when I do a search in the DB, turn any > rows returned into these XML objects so I can then access the whole of > the content as usual. > Check out SWISH::API::Object. Swish-e indexes XML from the grou

[Catalyst] uri_for() behaviour

2007-10-03 Thread Peter Karman
nal_uri_for( I, I ) Like uri_for() but for URIs outside the current application (i.e., beginning with C<\w+://>). =cut sub external_uri_for { my ( $c, $path, @arg ) = @_; my $uri = $c->uri_for( $c, $path, @arg ); # remove the pre-pe

<    1   2