[Catalyst] Is there any way to change the catalyst model parameters at the runtime ?

2007-08-27 Thread Sandip Patel
Hi Guys, Does anybody know how to change the parameters of catalyst model at the runtime ? Actually i am using Catalyst::Model::LDAP model, where you have to define your ldap configurations (like host, base, dn, password etc) into LDAP model and that configuration will be static for all the

Re: [Catalyst] CMS

2007-08-27 Thread Matt Rosin
Dear Matt, Wow, you have blown me away again. So many things on the wishlist already executed. Whew! I had trouble finding Reaction code/docs - is it in prealpha or actually production grade now? I haven't used Moose before (silly me..) after reading a few presentations I'm very impressed. Re

Re: [Catalyst] Should CATALYST_DEBUG suppress manual calls to $c-log-debug()?

2007-08-27 Thread Jonathan Swartz
On Aug 25, 2007, at 3:17 PM, Matt S Trout wrote: On Fri, Aug 24, 2007 at 10:15:37PM +0100, Will Hawes wrote: I've been trying unsuccessfully to disable all debug messages while running tests on my app with prove. Setting CATALYST_DEBUG=0 eliminates all the test server debug output such as

Re: [Catalyst] Is there any way to change the catalyst model parameters at the runtime ?

2007-08-27 Thread Daniel Westermann-Clark
On 2007-08-27 15:15:59 +0530, Sandip Patel wrote: Actually i am using Catalyst::Model::LDAP model, where you have to define your ldap configurations (like host, base, dn, password etc) into LDAP model and that configuration will be static for all the transactions. For all Relational databases,

Re: [Catalyst] Mmap of shared file Operation not permitted

2007-08-27 Thread Dennis Daupert
Mmap of shared file /tmp/catapult/session_data failed: Operation not permitted at /usr/lib/perl5/Cache/FastMmap.pm line 496. Yousef Alhashemi: Did you switch between the development server and some other server, like apache/fastcgi? If so, you can either chown /tmp/catapult (and all of

Re: [Catalyst] Is there any way to change the catalyst model parameters at the runtime ?

2007-08-27 Thread Matt Rosin
I'm curious. I was asked to clone an existing catalyst system so a different database would be used depending on the url. Doesn't seem like a good idea unless it is a completely separate code base... ___ List: Catalyst@lists.rawmode.org Listinfo:

Re: [Catalyst] CMS

2007-08-27 Thread Matt Rosin
I'd love to see the code publically, even if it isn't re-used it's instructive to see how other people do it. I'm moving a bunch of sites to a couple new hosting companies and will do this when I get the domain moved. ___ List:

Re: [Catalyst] Mmap of shared file Operation not permitted

2007-08-27 Thread Kiki
Dennis Daupert wrote: I had not changed anything on the hosted site, but noticed the apache2 error log statement. I upgraded the OS -- debian etch -- upgraded all perl modules, noticed I could not install Catalyst-Plugin-Session-Store-FastMmap as root using CPAN.pm. I got same error as above:

[Catalyst] Weird -d flag and txn_do interaction...

2007-08-27 Thread Marcello Romani
Hi, I'm developing an app using cat and dbic, with postgresql 8.1. I've got a table with a unique column. When I try to insert a record that violates that constraint (the code is executed via txn_do($coderef)), I obviously get an exception from DBIC. The problem is that if I run

Re: [Catalyst] DBIx question

2007-08-27 Thread Wade . Stuart
Len Jaffe [EMAIL PROTECTED] wrote on 08/26/2007 12:03:49 PM: On 8/25/07, Matt S Trout [EMAIL PROTECTED] wrote: You're a programmer for a living. You can figure out how to work a mailing list. Stop mollycoddling the new guys! =) I do take this as sarcasm -- the ironic part is that if

Re: [Catalyst] XML RPC : Authentication and Session

2007-08-27 Thread Nicolas Raspail
Nicolas Raspail a écrit : Quoting J. Shirley [EMAIL PROTECTED]: On 8/24/07, Nicolas Raspail [EMAIL PROTECTED] wrote: Hello, I'm new in the Catalyst World and I'm trying to make my first app with it. But I have a problem with the session. I'm building an XML RPC server, and I want the users

Re: [Catalyst] XML RPC Server and RenderView

2007-08-27 Thread Nicolas Raspail
Nicolas Raspail a écrit : Quoting Matt S Trout [EMAIL PROTECTED]: snip I'd do - sub end :Private { my ($self, $c) = @_; $c-forward('render') unless $c-req-xmlrpc-is_xmlrpc_request; } sub render :ActionClass('RenderView') { } Seems a bit cleaner than your approach. Hi Matt, thanks

Re: [Catalyst] XML RPC : Authentication and Session

2007-08-27 Thread J. Shirley
On 8/27/07, Nicolas Raspail [EMAIL PROTECTED] wrote: Nicolas Raspail a écrit : Hi, I'm struggling with Session URI and XML RPC with no sucess. I can't figure out how this works. I'm using Data::Dumper to dump the value of some catalyst and it seems that the session is not valid anymore in

Re: [Catalyst] Mmap of shared file Operation not permitted

2007-08-27 Thread Dennis Daupert
Mmap of shared file /tmp/catapult/session_data failed: Operation not permitted at /usr/lib/perl5/Cache/FastMmap.pm line 496. Kiki: If /tmp is mounted with the 'noexec' option, a mmap with PROT_EXEC will fail with EPERM which translates to the above error message. That's it! cat /etc/mtab:

[Catalyst] C::P::Authentication IE Problem - Time Issue

2007-08-27 Thread Mitchell Jackson
I was experiencing a weird annoyance with C::P::Authentication today. I saw reports of similar symptoms in the list, but nobody with my particular solution. In Firefox everything was working fine, but in all the IE browsers auth cookies weren't being stored. Eventually I grabbed a HTTP

RE: [Catalyst] CMS

2007-08-27 Thread Peter Edwards
That would be good. I went through this exercise a while ago and ended up using CMS Made Simple (a PHP app) because it was easy for end users to understand and there were a lot of plugins you could auto-install. Plus I only had 2 weeks to develop a system. I found Bricolage too complex and

Re: [Catalyst] C::P::Authentication IE Problem - Time Issue

2007-08-27 Thread Yuval Kogman
On Mon, Aug 27, 2007 at 18:03:13 -0500, Mitchell Jackson wrote: As a side note, is there a way to control the session length of the authentication cookie? That is in the Session plugin, cookie_expires. Normally cookie_expires matches session expiry, but you can set an alternate TTL, or poke

RE: [Catalyst] C::P::Authentication IE Problem - Time Issue

2007-08-27 Thread Peter Edwards
I was experiencing a weird annoyance with C::P::Authentication today. I saw reports of similar symptoms in the list, but nobody with my particular solution. In Firefox everything was working fine, but in all the IE browsers auth cookies weren't being stored. Eventually I grabbed a HTTP

[Catalyst] Re: [Catalyst-dev] Ignoring Emacs temp files

2007-08-27 Thread Jonathan Rockway
Kieren Diment wrote: Applied (changeset 6741 and 6742 - don't ask) , thanks :-) On 27/08/07, Dave Rolsky [EMAIL PROTECTED] wrote: When you're editing a buffer in emacs, it will create a temporary symlink in the same directory of the file in the form .#filename. Thanks kd++ and autarch++