Re: [Catalyst] creating a model

2007-01-08 Thread Matt S Trout
On 4 Jan 2007, at 07:54, Octavian Rasnita wrote: Well, the single difference seems to be that I use the latest build (819). So all this bitching from you about how terribly hard to install Catalyst is may actually turn out to be an AS bug. That would strike me as funny, albeit it

Re: [Catalyst] Accessing action URIs outside of Catalyst app

2007-01-08 Thread Matt S Trout
On 3 Jan 2007, at 20:21, Brian Kirkbride wrote: Hello all, Is there a best practice way to maintain a map of URLs used in a Catalyst application. To clarify, I need to map actions to URLs outside of Catalyst (CRON jobs, Emailers, etc) and won't have access to $c-uri_for or the

[Catalyst] Catalyst::Plugin::Authentication w/ multiple stores

2007-01-08 Thread Hermida, Leandro
Hi everyone, I am resending this previous post from December because I got no replies - maybe it was the Xmas thing, maybe I'm just stupid. Do the Catalyst::Plugin::Authentication developers or anyone using Catalyst have any idea... (see below) -- original post -- Does anyone know how to

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Octavian Rasnita
Hi, Maybe I didn't understand well the question, but if the user wants to create a session that works only in a certain window, but doesn't work in the other windows, a simple cookie can be used if its expiry date is set to 0. This way the cookie won't be saved, but it will be memorised by

Re: [Catalyst] sane AJAX strategy

2007-01-08 Thread Daniel McBrearty
On 1/6/07, Bill Moseley [EMAIL PROTECTED] wrote: On Fri, Jan 05, 2007 at 12:24:37PM +0100, Daniel McBrearty wrote: I just started using AJAX (or AHAH actually ... ) a little. I like the lightness it gives but I've been slow to pick up because I want to be sure that pages work without js, and

Re: [Catalyst] How about the catalyst scalability

2007-01-08 Thread Matt S Trout
On 5 Jan 2007, at 10:08, Mao DengFeng-e13751 wrote: Hi, all We try to develop a large web application like www.etoys.com. Catalyst can sustain that or not? I can't find the real large application using catalyst. Who can provide a sample to me?

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Ian Docherty
Hermida, Leandro wrote: snip The way cookies work for holding application state has the limitation of being for every window/tab of that browser type (someone please correct me if I am wrong). Use Catalyst::Plugin::Session::State::URI to pass the session IDs through the URI but please read the

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Perrin Harkins
Ian Docherty wrote: I used URI session variables previously where cookies were not available. It occurs to me that if the are being used to have separate sessions for each tab or window then the security issues could be eliminated by making the session a combination of a cookie (fixed for all

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Ian Docherty
Octavian Rasnita wrote: Hi, Maybe I didn't understand well the question, but if the user wants to create a session that works only in a certain window, but doesn't work in the other windows, a simple cookie can be used if its expiry date is set to 0. This way the cookie won't be saved, but

[Catalyst] Advent calendar - day 15

2007-01-08 Thread Marcello Romani
Hi, it's late for additions to the advent calendar, I know, anyway here I go. On day 15 Kieren Diment says I have been unable to get the range request output for this server, but would be interested to hear how. Using Winamp and moving around the cursor while playing causes range

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Octavian Rasnita
Well, it seems that Internet Explorer doesn't work that way. Here are the steps: I have opened a window with the main page of the site. No cookie file was created. I have logged on. No cookie file was created, even though it was sent, and the login was successful. I have opened another window

[Catalyst] [Fwd: [Chicago-talk] Chicago.pm Meeting - 16th January 2007 - Catalyst, The Elegant MVC Web Framework]

2007-01-08 Thread Jonathan Rockway
Hey guys. If you happen to be in Chicago and not on the chicago-talk mailing list, you might be interested in this. I'm giving a Catalyst talk that will be screencast style (except you get to ask questions). If you can make it, I'd love to see you there. Regards, Jonathan Rockway

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Carl Franks
On 08/01/07, Octavian Rasnita [EMAIL PROTECTED] wrote: Well, it seems that Internet Explorer doesn't work that way. Here are the steps: I have opened a window with the main page of the site. No cookie file was created. I have logged on. No cookie file was created, even though it was sent, and

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Perrin Harkins
Octavian Rasnita wrote: Well, it seems that Internet Explorer doesn't work that way. Sometimes it does. It depends on whether you open new windows from the File menu or an existing browser (or right click on a link) or by starting a new browser from your IE icon. No cookie file was

Re: [Catalyst] How about the catalyst scalability

2007-01-08 Thread Jonathan Rockway
Matt S Trout wrote: On 5 Jan 2007, at 10:08, Mao DengFeng-e13751 wrote: Hi, all We try to develop a large web application like www.etoys.com. Catalyst can sustain that or not? I can't find the real large application using catalyst. Who can provide a sample to me?

Re: [Catalyst] Accessing action URIs outside of Catalyst app

2007-01-08 Thread Brian Kirkbride
Matt S Trout wrote: On 3 Jan 2007, at 20:21, Brian Kirkbride wrote: Hello all, Is there a best practice way to maintain a map of URLs used in a Catalyst application. To clarify, I need to map actions to URLs outside of Catalyst (CRON jobs, Emailers, etc) and won't have access to

Re: [Catalyst] HTML to plain text conversion

2007-01-08 Thread Carl Franks
On 08/01/07, Xavier Robin [EMAIL PROTECTED] wrote: Hello, Do you know a (catalyst plugin|perl module|external tool) that converts HTML to plain text? I mean, keeping some formatting (especially lists and links...), not just stripping HTML tags... I tried Template::Plugin::HtmlToText that fits

[Catalyst] Binary Conversion

2007-01-08 Thread Will Smith
Hi, I want to conver a number to binary. I installed Math::BigInt, and get this error when trying to plugin in the main controller: Can't locate Catalyst/Plugin/Math/BigInt.pm ... in /lib/usr/lib/perl5/5.8.5/i386-linux-thread-multi .. eventhough the installion is good. And I checked if

Re: [Catalyst] Accessing action URIs outside of Catalyst app

2007-01-08 Thread Matt S Trout
On 8 Jan 2007, at 16:59, Brian Kirkbride wrote: Matt S Trout wrote: On 3 Jan 2007, at 20:21, Brian Kirkbride wrote: Hello all, Is there a best practice way to maintain a map of URLs used in a Catalyst application. To clarify, I need to map actions to URLs outside of Catalyst (CRON

Re: [Catalyst] Binary Conversion

2007-01-08 Thread Juan Miguel Paredes
On 1/8/07, Will Smith [EMAIL PROTECTED] wrote: Hi, I want to conver a number to binary. I installed Math::BigInt, and get this error when trying to plugin in the main controller: Can't locate Catalyst/Plugin/Math/BigInt.pm ... in /lib/usr/lib/perl5/5.8.5/i386-linux-thread-multi .. eventhough

Re: [Catalyst] Accessing action URIs outside of Catalyst app

2007-01-08 Thread Matt S Trout
On 8 Jan 2007, at 18:12, Brian Kirkbride wrote: Matt S Trout wrote: On 8 Jan 2007, at 16:59, Brian Kirkbride wrote: Matt S Trout wrote: On 3 Jan 2007, at 20:21, Brian Kirkbride wrote: Hello all, Is there a best practice way to maintain a map of URLs used in a Catalyst application. To

Re: [Catalyst] Accessing action URIs outside of Catalyst app

2007-01-08 Thread Bill Moseley
On Mon, Jan 08, 2007 at 12:12:07PM -0600, Brian Kirkbride wrote: I'd like to routinely send an email to a user telling them to pay for something, including a link to a page in my webapp allowing them to do so. C::P::Scheduler? That's what I use so I can use c.uri_for() in my email templates.

Re: [Catalyst] HTML to plain text conversion

2007-01-08 Thread Peter Karman
Xavier Robin scribbled on 1/8/07 11:14 AM: Do you know a (catalyst plugin|perl module|external tool) that converts HTML to plain text? I mean, keeping some formatting (especially lists and links...), not just stripping HTML tags... I use the w3m tool: % w3m -dump file.html file.txt I

Re: [Catalyst] Binary Conversion

2007-01-08 Thread Matt S Trout
On 8 Jan 2007, at 18:30, Will Smith wrote: I install the module through CPAN. Still not sure I get the compiling error if the Math::BigInt included in the main controller. Do you know any other module that can do conversion from integer to binary in Catalyst? MyApp.pm is not a controller,

Re: [Catalyst] sane AJAX strategy

2007-01-08 Thread Bill Moseley
On Mon, Jan 08, 2007 at 04:04:14PM +0100, Daniel McBrearty wrote: I am talking here though about scenarios where it's more AHAH than AJAX ... the function that makes the request just sticks it as-is into the page, rather than doing some kind of decode on it. Mostly because that seems simpler,

Re: [Catalyst] C::V::PDF? (Anybody have one?)

2007-01-08 Thread Bill Moseley
On Mon, Jan 08, 2007 at 09:21:33AM -0800, Dylan Vanderhoof wrote: I figured I'd ask here real quickly before I try to write one. Anybody made a Catalyst::View::PDF of some sort? It looks like I'm going to have to be dealing with some PDF output, so I figured I'd avoid reinventing the

[Catalyst] Generating iCalendar

2007-01-08 Thread Bill Moseley
Anyone generating text/calendar output? Are you using Data::ICal? Have an example of generating events? Grrr, CPAN. Someday I'm going to install a module and it will suck down the entire CPAN in dependencies! Not sure I need prefork to generate ical files. cpan install Data::ICal::DateTime

Re: [Catalyst] Generating iCalendar

2007-01-08 Thread Jonathan Rockway
gpg: WARNING: unsafe ownership on configuration file `/home/moseley/.gnupg/gpg.conf' gpg: Signature made Sun 03 Dec 2006 03:27:14 PM PST using DSA key ID 10F54327 gpg: external program calls are disabled due to unsafe options file permissions gpg: keyserver communications error: general

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Octavian Rasnita
From: Carl Franks [EMAIL PROTECTED] To see better what's happening, try using a browser plugin that will let you view current cookies, or use javascript to display the current cookies. IE might not be creating the actual cookie file immediately on each page view. I already use a browser

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Perrin Harkins
On Mon, 2007-01-08 at 23:34 +0200, Octavian Rasnita wrote: And I think this is what is wanted, because I can't see other needs for having 2 separate sessions on the same computer. Go back and read the original post again. The problem is with storing non-global information, like the current

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Wade . Stuart
Perrin Harkins [EMAIL PROTECTED] wrote on 01/08/2007 04:11:47 PM: On Mon, 2007-01-08 at 23:34 +0200, Octavian Rasnita wrote: And I think this is what is wanted, because I can't see other needs for having 2 separate sessions on the same computer. Go back and read the original post

[Catalyst] Not getting passed arguments in $c-user methods

2007-01-08 Thread Steve Cayford
Hi, I'm fairly new with Catalyst, so please forgive me if this is obvious. I'm using a DBIx::Class Person class for the authentication store. I've extended this Person class using a custom component. (This is running on mod_perl 1.29 and Apache 1.3.33 on Debian stable.) That all works well

Re: [Catalyst] C::V::PDF? (Anybody have one?)

2007-01-08 Thread Nathaniel Nuss
On Mon, Jan 08, 2007 at 09:21:33AM -0800, Dylan Vanderhoof wrote: I figured I'd ask here real quickly before I try to write one. Anybody made a Catalyst::View::PDF of some sort? It looks like I'm going to have to be dealing with some PDF output, so I figured I'd avoid reinventing the

RE: [Catalyst] C::V::PDF? (Anybody have one?)

2007-01-08 Thread Dylan Vanderhoof
-Original Message- From: Nathaniel Nuss [mailto:[EMAIL PROTECTED] Sent: Monday, January 08, 2007 7:49 PM To: The elegant MVC web framework Subject: Re: [Catalyst] C::V::PDF? (Anybody have one?) What is the nature of the PDFs you need to create? Image centric - Text

Re: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Matija Grabnar
Octavian Rasnita wrote: And I think this is what is wanted, because I can't see other needs for having 2 separate sessions on the same computer. There is no need for having two separate sessions if you can guarantee the user will ALWAYS be able to finish one task before starting another. That