Re: [Catalyst] Catalyst and chrome url (xul)

2007-09-23 Thread Jonathan Rockway
versions? Answering these questions will make it easier to help you. One suggestion I have is to read the docs for Catalyst::Plugin::Static::Simple. That shouldn't do any munging, though, so I'm at a loss as to why the file would be different. Regards, Jonathan Rockway signature.asc Description

Re: [Catalyst] Catalyst::Model::Search

2007-09-21 Thread Jonathan Rockway
to various search mechanisms? Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Can't find my canary

2007-09-21 Thread Jonathan Rockway
Dennis Daupert wrote: Did your fix not get to git yet? It's there now. On my machines, Session::State::Cookie still isn't working, so tests fail for me. But if they pass for you, you should be good to go. I will work on fixing Session::State::Cookie today. Regards, Jonathan Rockway

Re: [Catalyst] Catalyst::Model::Search

2007-09-21 Thread Jonathan Rockway
Catalyst users. But I'll write to them directly as you suggest. Ah, I should look at modules before I assume :) I'm sure Marcus and Andy have everything under control. The dev list is still a fine place to discuss your plans for extending the module, though. Regards, Jonathan Rockway

Re: [Catalyst] Can't find my canary

2007-09-20 Thread Jonathan Rockway
-FormCanary, or http://git.jrock.us if you want a tarball.) BTW, did the tests originally pass for you? If they did and the module doesn't work, I would be interested in hearing more about that. Regards, Jonathan Rockway ___ List: Catalyst

Re: [Catalyst] Audit logs: model or controller?

2007-09-17 Thread Jonathan Rockway
it will create a circular reference if you're not careful. Catalyst::Component::ACCEPT_CONTEXT is careful, so you don't need to worry about that. :) Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst

Re: [Catalyst] Some guidance needed please

2007-09-13 Thread Jonathan Rockway
::UsedPassword'); Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] more catalyst talks

2007-09-12 Thread Jonathan Rockway
/ and the Catalyst wiki. Finally, if your Perl Mongers group is interested in hearing one of these talks in person, I can probably come out and give one. Mail me off-list for details. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature

Re: [Catalyst] + in GET param

2007-09-12 Thread Jonathan Rockway
' = '1.77', 'Catalyst::Test'= 'undef', Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive

Re: [Catalyst] + in GET param

2007-09-11 Thread Jonathan Rockway
that bypasses unescaping for whatever reason, and that may be exactly what you need here. If this breaks horribly in the future, though, don't blame me. I consider the chained behavior a bug (but I'm waiting for mst to tell me why it isn't). Regards, Jonathan Rockway signature.asc Description

Re: [Catalyst] TT and UNICODE: Garbled special characters

2007-09-06 Thread Jonathan Rockway
the user enters in via a form * url params * filenames * file values (but not if they're binary) * etc. HTH. Good luck. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] Re: Catalyst::Plugin::DBIC::QueryLog

2007-09-04 Thread Jonathan Rockway
of ACCEPT_CONTEXT and the stash. Basically, it calls your builder method if you don't already have an instance in $c-stash. Since that gets cleared every request, you get your per-request. So, try again :) You're almost there :) Regards, Jonathan Rockway signature.asc Description: OpenPGP

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

2007-08-30 Thread Jonathan Rockway
only be named like that, but of course, people are ignoring that in real life. For an example, see 日本語.pm: http://www.slideshare.net/mac/perl-programming-in-japanese Thus it's probably better to include everything and exclude the known-bad. Regards, Jonathan Rockway signature.asc

[Catalyst] (en) error screen translations

2007-08-30 Thread Jonathan Rockway
Should I apply these extra translations from $A_LONG_TIME_AGO? http://grokbase.com/post/2006/04/29/catalyst-translations-for-error-message/mJp7PqYdMOElr-7JEF-m4SjP7B0 Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature

Re: [Catalyst] (en) error screen translations

2007-08-30 Thread Jonathan Rockway
Svilen Ivanov wrote: Just a side note - The URL you provided screw the UTF8 for Bulgarian translation. Here is better one: http://lists.scsys.co.uk/pipermail/catalyst/2006-May/007342.html Here's the list: (en) Please come back later (fr) SVP veuillez revenir plus tard (de) Bitte

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

2007-08-27 Thread Jonathan Rockway
we asked you for regexes that exclude your editor's cruft files. They all do it, but I don't have any of them so I don't know what the files are. Please send data. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature

Re: [Catalyst] Re: A Perl Message Queue?

2007-08-26 Thread Jonathan Rockway
A. Pagaltzis wrote: * Jonathan Rockway [EMAIL PROTECTED] [2007-08-25 05:15]: When you write your own message queue that actually works correctly, is supported and documented, and is available freely on the CPAN, you can pick the name. In the mean time, STFU. If I told a client

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

2007-08-24 Thread Jonathan Rockway
too much to drink tonight :) Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] A Perl Message Queue?

2007-08-24 Thread Jonathan Rockway
Bernhard Graf wrote: Don't know about TheSchwartz (btw. what a stupid name) When you write your own message queue that actually works correctly, is supported and documented, and is available freely on the CPAN, you can pick the name. In the mean time, STFU. Thanks. Regards, Jonathan Rockway

Re: [Catalyst] New website using Catalyst

2007-08-21 Thread Jonathan Rockway
that made the development process so much more efficient and fun. Please feel free to add our website to the growing list of websites using Catalyst at http://dev.catalyst.perl.org/ . Looks like a cool site. I added it to http://dev.catalystframework.org/wiki/LiveApplications Regards, Jonathan

Re: [Catalyst] access stash outside methods

2007-08-21 Thread Jonathan Rockway
actions and look for the URL and Description attributes. This is pretty easy to do, but I don't know the details so I will let you glean them from the code/docs. $c-action_for('/some_action')-attributes should be close. Have fun. Regards, Jonathan Rockway signature.asc Description: OpenPGP

Re: [Catalyst] Rate limiting password attacks

2007-08-18 Thread Jonathan Rockway
Antano Solar wrote: I was just wondering why can't the form fields for username and password be changed after every x attempts. And the post data checked for the new fields. This is a good approach, and is automatic if you use the FormCanary or RequestToken plugins. Regards, Jonathan Rockway

Re: [Catalyst] Catalyst::View::Templated

2007-08-18 Thread Jonathan Rockway
Jonathan Rockway wrote: and I'll probably convert ClearSilver over tonight also. The uploaded file Catalyst-View-ClearSilver-0.02.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JR/JROCKWAY/Catalyst-View-ClearSilver-0.02.tar.gz size: 4815 bytes md5

Re: [Catalyst] Rate limiting password attacks

2007-08-17 Thread Jonathan Rockway
care what backend you use. Regards, Jonathan Rockway ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

Re: [Catalyst] improving usability / doc

2007-08-16 Thread Jonathan Rockway
will help you get it. Others share the same sentiment. Let's do this. Regards, Jonathan Rockway ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] Anybody else OSCONing?

2007-07-21 Thread Jonathan Rockway
On Friday 20 July 2007 08:31:26 pm Matt S Trout wrote: While I know of a few names who are, I bet there are more on here I don't know about and that a lot of us don't know about each other, so put your names here and let's see if we can meet up for a beer and some software hate. I'm going to

Re: [Catalyst] setup_home() bug

2007-07-20 Thread Jonathan Rockway
the patch. But... but... the longest line is only 79 chars. Stupid mail client. *shakes fist angrily* Anyway, patch attached. Thanks! Applied as r6589. Hopefully it will be on CPAN Real Soon Now. Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do

Re: [Catalyst] Argument escaping with chained actions

2007-07-18 Thread Jonathan Rockway
has come up before, but I forget if we ever reached a consensus on what the correct behavior is. It's possible that we didn't change the behavior of everything else because it would break old apps... but Chained was brand new so it could be done right. Who knows... Regards, Jonathan Rockway

Re: [Catalyst] Authentication Store: DBC vs DBIx::Class

2007-07-17 Thread Jonathan Rockway
On Tuesday 17 July 2007 02:02:20 pm Jim Spath wrote: We use DBIx::Class for our model and the DBIC module for authentication currently. Just to clarify, DBIC and DBIx::Class are the same thing. DBIx::Class is a lot to type, so modules that work with DBIx::Class are often called

Re: [Catalyst] TT2 + CP::Authentication + DBIC gotcha

2007-07-14 Thread Jonathan Rockway
On Friday 13 July 2007 02:08:51 pm Christopher Heschong wrote: What about: my $vote = $bar and $foo; Well, it's the same as: $foo if my $vote = $bar; Which is a useless use of $foo in void context. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-11 Thread Jonathan Rockway
On Tuesday 10 July 2007 12:02:39 pm J. Shirley wrote: Right, and the people who use prototype are aware of the deficiencies and work around them. They're not asking for support :) Marcus is a smart guy, as evidenced continuously, but I'll never know why he uses prototype :) Likely because

Re: [Catalyst] prefetch specific columns

2007-07-10 Thread Jonathan Rockway
On Sunday 08 July 2007 08:19:43 am vti wrote: Hello. Is there any way when using 'prefetch' attribute to specify which columns to get from db? Or is there any low-level way to change SQL before doing any fetches? Could you give us a bit of information on what you're trying to do? What

Re: [Catalyst] Re: How to access current MyApp instance ?

2007-07-04 Thread Jonathan Rockway
. Unfortunately I don't like the alternatives either :) Maybe T::Declare... * http://git.jrock.us/?p=ircxory.git;a=summary or git clone git://git.jrock.us/ircxory Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca

Re: [Catalyst] html::prototype syntax in new Cat version

2007-07-04 Thread Jonathan Rockway
On Thursday 28 June 2007 07:33:57 am vb wrote: HTML::Prototype is the Matt's Script Archive of javascript. possible, but don't confuse with prototype.js. Same difference. The Prototype + Scriptaculous javascript framework is junk. It doesn't work very well, the syntax is terrible, it will

[Catalyst] preventing Cross Site Request Forgery

2007-06-19 Thread Jonathan Rockway
in the TODO list write a test, fix it, and send me a patch. Enjoy! Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup

Re: [Catalyst] :Template() Attribute

2007-06-19 Thread Jonathan Rockway
On Sunday 17 June 2007 01:22:30 pm Jonathan Rockway wrote: On Sunday 17 June 2007 01:02:52 pm Christopher H. Laco wrote: Well, if we're throwing things in the ring... C::View::Templated -template() And some forms of: -template_paths(\@) I like this. Should we put

Re: [Catalyst] :Template() Attribute

2007-06-17 Thread Jonathan Rockway
On Sunday 17 June 2007 01:02:52 pm Christopher H. Laco wrote: Well, if we're throwing things in the ring... C::View::Templated -template() And some forms of: -template_paths(\@) I like this. Should we put this in a separate package, or right in C-Runtime? Incidentally, you could do

[Catalyst] Re: [Catalyst-dev] Proxy patches

2007-06-17 Thread Jonathan Rockway
And of course, it works fine without a proxy in front too :) Thanks, Dave! Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup

Re: [Catalyst] :Template() Attribute

2007-06-16 Thread Jonathan Rockway
On Friday 15 June 2007 08:36:33 am Christopher H. Laco wrote: OPTION #2: View::TT, View::Mason, View::** -- PROS: Template() will be honored with the use of RenderView and the use of forwarding to a view manually (like in REST or other controller

[Catalyst] fixed Catalyst::Component::ACCEPT_CONTEXT

2007-06-13 Thread Jonathan Rockway
. ACCEPT_CONTEXT is a simple concept, but the details are messy. Hopefully I'll get this module right and spare you most of the details :) Enjoy, and thanks for feedback so far. Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw

Re: [Catalyst] dynamic web framework jam

2007-06-09 Thread Jonathan Rockway
On Friday 08 June 2007 08:54:02 pm Bob Faist wrote: Not sure if this is of interest to any Catalyst developers out there. Gotta love conferences that require you to sign a liability release form. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu

Re: [Catalyst] Using other Modules

2007-06-02 Thread Jonathan Rockway
On Friday 01 June 2007 04:56:59 am Sven Eppler wrote: But dispatching the App this way, will create a situation that the app starts even if the module is not present on the deployment machine. But at the moment if somebody tries to add a new User, the application crashes complaining about not

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Jonathan Rockway
On Saturday 26 May 2007 05:01:21 pm Peter Michaux wrote: I forgot to do export instead of a fresh checkout. Ok. I'll get that next time. To prepare a tarball of your CPAN module for CPAN release, try running make dist. That will prevent inclusion of working-copy cruft (like Makefile,

Re: [Catalyst] Re: Persistent login

2007-05-15 Thread Jonathan Rockway
On Tuesday 15 May 2007 06:19:02 pm Evaldas Imbrasas wrote: I do not know what you mean lasts longer then a session -- http is stateless, if you want state (such as logged in and authorized) you need some sort of session (cookie, uri, hiddenform,...). I am already using standard Catalyst

Re: [Catalyst] AJAX with catalyst

2007-05-12 Thread Jonathan Rockway
On Saturday 12 May 2007 06:36:05 am Dmitri Pissarenko wrote: Hello! I'm learning catalyst and have written a simple application, which lets user display, edit, add data to/from database. Now I want to make it more user-friendly by using some elements known from desktop apps: 1) Popup

Re: [Catalyst] Howto use ConfigLoader?

2007-05-12 Thread Jonathan Rockway
have to worry about invalid YAML again. (You might /have/ it, but you won't have to /worry/ about it ;) Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s

Re: [Catalyst] Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-10 Thread Jonathan Rockway
On Tuesday 08 May 2007 03:20:32 pm Matt S Trout wrote: Does anybody know of a place where creating your own model is documented in more detail? I'd like to read it. Not yet. I suspect there'll be a chainsawblues series on it at some point if nobody else gets a good explanation together

Re: [Catalyst] How to make MyApp::B a part of MyApp::A ?

2007-05-03 Thread Jonathan Rockway
On Wednesday 02 May 2007 05:30, Oleg Pronin wrote: Greetings! I want to make MyApp::B a part of MyApp::A under namespace for example /folder/ Pretty sure that you can't do this now, although it is a feature planned for the next release. The app/context split branch in svn might have the

[Catalyst] Catalyst videos from YAPC::Asia

2007-04-24 Thread Jonathan Rockway
in general). Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup; pgpFR4nK3yV64.pgp Description: PGP signature

Re: [Catalyst] Re: oe1.orf.at now running on Catalyst

2007-04-22 Thread Jonathan Rockway
On Friday 20 April 2007 09:44, J. Shirley wrote: We have some MojoMojo templates (thank jrockway), and now we just need time to work on it. Actually, jwang++ did most of that work. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre

Re: [Catalyst] Good Resources for cutting edge/best practices

2007-03-13 Thread Jonathan Rockway
, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup; pgpBVHFHkomOq.pgp Description: PGP signature

Re: [Catalyst] Detecting if a user aborted a (long) download

2007-03-11 Thread Jonathan Rockway
stack and the web browser, the web browser and disk cache, and finally the disk cache and the user's disk. Not as simple as it seems, is it? :) You'd be better off just letting the user download the file as many times as it takes for, say, a week. Regards, Jonathan Rockway -- package JAPH;use

Re: [Catalyst] Detecting if a user aborted a (long) download

2007-03-11 Thread Jonathan Rockway
On Sunday 11 March 2007 20:59, Jeff Chimene wrote: How does that differ from something that compares bytes sent to bytes received? Assuming that the OP defines success when bytes received = bytes sent How do you determine how many bytes were received and successfully written to disk? --

Re: [Catalyst] Detecting if a user aborted a (long) download

2007-03-11 Thread Jonathan Rockway
On Sunday 11 March 2007 21:18, Jeff Chimene wrote: Jonathan Rockway wrote: On Sunday 11 March 2007 20:59, Jeff Chimene wrote: How does that differ from something that compares bytes sent to bytes received? Assuming that the OP defines success when bytes received = bytes sent How do

Re: [Catalyst] Performance

2007-03-09 Thread Jonathan Rockway
more or less unlimited memory bloat over time. By storing this in the object, you ensure that the cache is cleaned regularly. Memoize on CPAN does LRU cache expiration. If we do decide to cache, we can easily steal the relevant code :) Regards, Jonathan Rockway -- package JAPH;use Catalyst

Re: [Catalyst] Chained, slashes, and escaping

2007-03-05 Thread Jonathan Rockway
On Monday 05 March 2007 14:33, Jim Spath wrote: When I access the following URI: /tag/sl%2Fashes $tag gets set to sl instead of sl/ashes. Apparently back in the early days of the web, a URL like that caused problems with poorly written CGI scripts that blindly opened the PATH_INFO variable.

Re: [Catalyst] insecure deps with Module::Pluggable::Fast

2007-02-26 Thread Jonathan Rockway
Daniel McBrearty wrote: you're right, sorry, my bad ... It was 0.06 - I just updated to 0.13, and that's fixed. Now I have a similar error in my schema ... anyone know the cpan command to globally update my libraries ... !? perl -MCPAN -e 'shell upgrade' -- package JAPH;use Catalyst

Re: [Catalyst] displaying csv content

2007-02-23 Thread Jonathan Rockway
controller code is the same for each of the formats; the View is where I do the view-specific work. (That's the idea behind MVC, after all.) Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway

Re: [Catalyst] Catalyst RPM

2007-02-23 Thread Jonathan Rockway
Patricio A. Bruna wrote: Anyones if is there any repo RPMS of Catalyst? Yes, there are. http://www.google.com/search?q=catalyst+perl+rpm -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for

Re: [Catalyst] displaying csv content

2007-02-23 Thread Jonathan Rockway
Octavian Rasnita wrote: Content-Type: text/comma-separated-values Is this correct? RFC4180 says to use text/csv, although TSV is text/tab-separated-values. Confusing. http://www.rfc-editor.org/rfc/rfc4180.txt Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH

Re: [Catalyst] You have been automatically logged out.

2007-02-21 Thread Jonathan Rockway
Nilson Santos Figueiredo Junior wrote: On 2/21/07, Jonathan Rockway [EMAIL PROTECTED] wrote: The idea is to let the user know why their action failed, not to pop up messages saying something might fail in the future! Plus it's easier to implement, and works with every browser. I've been

Re: [Catalyst] todo list for FormBuilders (was the l10n thread)

2007-02-20 Thread Jonathan Rockway
Christopher H. Laco wrote: FormBuilder is nice when it comes to localizing the messages via messages.$lang. It totally sucks when it comes to localizing the form labels themselves. It looks like I either have to manually loop through teh fields and localize the labels, or use a different .frm

Re: [Catalyst] Question on serving files

2007-02-16 Thread Jonathan Rockway
.) As for getting the directory listings, you'll probably want Catalyst::Model::File. For guessing the types of the files (the hardest part of this exercise), File::MMagic::XS looks like a good direction to go in. Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config

Re: [Catalyst] Question about Angerwhale Catalyst Application

2007-02-12 Thread Jonathan Rockway
Matt S Trout wrote: That's actually $app at new() time, not a request-level $c. Maybe if you renamed it it'd be less confusing? I actually changed it to a real ACCEPT_CONTEXT recently -- the new Cache interface seems to need a real $c instead of the $app. For everyone else listening in,

Re: [Catalyst] looping

2007-02-12 Thread Jonathan Rockway
Will Smith writes: my $recordset = [$c-model('myDB::Books')-search( authorid = ${authorid} )]; while(my $name = $recordset-next){ $lname[$i] = $name-lname; $fname[$i] = $name-fname; $i = $i + 1; } Wrong list, but here's a hint... arrays aren't

Re: [Catalyst] Patch for C::Manual::Intro about :Private attribute being exclusive

2007-02-12 Thread Jonathan Rockway
Troy Davis wrote: Hi Everyone, Phaylon asked me to send this manual patch in, it adds a sentence to the effect that Catalyst's :Private attribute is exclusive and will not work with other attributes. Thanks. Applied as r6067. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name =

Re: [Catalyst] Question about Angerwhale Catalyst Application

2007-02-09 Thread Jonathan Rockway
John Napiorkowski wrote: I was under the impression that it you needed the context in a component you needed to override ACCEPT_CONTEXT, since new is only called once when the application starts up. Using ACCEPT_CONTEXT transforms your component to a type Class, since it creates a new

Re: [Catalyst] Pagenav?

2007-02-09 Thread Jonathan Rockway
Bernhard Janetzki wrote: Hey Guys, i am wondering if there is a pagenavigation-View e.g. (Page 1|2|3...100) available? If you're using DBIC, try $resultset-page($page_number) and $resultset-pager. The pager (Data::Page) object will give you all the vital information like current page #,

Re: [Catalyst] save session data

2007-02-09 Thread Jonathan Rockway
Fernan Aguero wrote: Anyone went that path? Perhaps this wheel is already available from cpan? :) Catalyst::Plugin::Session::PerUser? -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for

Re: [Catalyst] save session data

2007-02-09 Thread Jonathan Rockway
Yuval Kogman wrote: Hi, my name is Yuval Kogman. You may know me from modules such as Crap, what a stupid misquote... you may *remember* me... sorry everyone. If you're trying to sound like Troy McClure, it's Hi, my name is $name. You may remember me from such modules as `Foo' and `Bar'. :)

Re: [Catalyst] Catalyst::Plugin::ConfigLoader::Environment on windows

2007-02-09 Thread Jonathan Rockway
On Friday 09 February 2007 21:03, Greg McAlpin wrote: Hi. Trying to install Angerwhale and running into a problem with one of the tests for Catalyst::Plugin::ConfigLoader::Environment. I hope that it's okay to post this to this list. I would appreciate any help. I suggest installing it

[Catalyst] Catayst::View::MicroMason

2007-02-07 Thread Jonathan Rockway
. Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup; pgpupAqtCGagc.pgp Description: PGP signature

Re: [Catalyst] no buffering

2007-02-05 Thread Jonathan Rockway
Octavian Rasnita wrote: Hi, I want to send a dynamicly generated csv file to the browser using a Catalyst app, but without storing the whole content in a variable before sending it. http://lists.rawmode.org/pipermail/catalyst/2006-June/008316.html -- package JAPH;use Catalyst

Re: [Catalyst] Problem with dependencies in Makefile.PL

2007-02-05 Thread Jonathan Rockway
, it would be helpful if you provide the output of o conf and the log from typing install Catalyst::Plugin::Session in the CPAN shell. Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split

Re: [Catalyst] Catalyst promoters required

2007-02-04 Thread Jonathan Rockway
On Sunday 04 February 2007 18:53, Kieren Diment wrote: Here's a thread on reddit. Can we have some more positive catalyst action please :) http://programming.reddit.com/info/12u8e/comments Seems like it's doing well even without the Cata-list members (heh). I added a link to the tutorial,

Re: [Catalyst] Hair-pulling over YAML config

2007-01-31 Thread Jonathan Rockway
Chisel Wright wrote: /me heads off to drop a cat with a buttered slice of toast tied to its back ... I tried this this morning. The cat won. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q;

Re: [Catalyst] Hair-pulling over YAML config

2007-01-30 Thread Jonathan Rockway
Chisel Wright wrote: On Tue, Jan 30, 2007 at 09:58:00AM -, Carl Vincent wrote: That's exactly what we need - outputting warnings at on of the ConfigLoader levels loses the content of the error message. Could always add a Keep Quiet option... To be read from the unparsable/invalild

Re: [Catalyst] Hair-pulling over YAML config

2007-01-29 Thread Jonathan Rockway
Carl Vincent wrote: I've patched my Config::Any (attached below) so it throws a warning. Not sure if this would cause problems if it was included in the distributed module... This is something I've been worried about for a while. Config::Any tries to load every config file with every backend,

Re: [Catalyst] C::C::FormBuilder question

2007-01-29 Thread Jonathan Rockway
Marc Logghe wrote: Couldn't render component /moe/mol_3D_conv_form - error was Can't call method render on an undefined value ... According to the docs, you need to call render on the package: % FormBuilder-render % -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do {

Re: [Catalyst] Hair-pulling over YAML config

2007-01-29 Thread Jonathan Rockway
Carl Franks wrote: How about a Test::YAML, in the same vein as Test::Pod, providing a all_yaml_files_ok() rountine which accepts a list of files or directories to check? How's Test::YAML::Valid? The uploaded file Test-YAML-Valid-0.01.tar.gz has entered CPAN as file:

Re: [Catalyst] Changing Model attributes in ACCEPT_CONTEXT

2007-01-25 Thread Jonathan Rockway
how well relations would work in that case, though. Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup; pgpXZxNz2E8sT.pgp Description

Re: [Catalyst] Templates in the database

2007-01-19 Thread Jonathan Rockway
Bill Moseley wrote: I currently have most templates (TT) on disk -- and many I'd consider to be an integral part of the application and are thus under revision control with the rest of the application. But, it would make managing the running application a bit easier if the templates were

Re: [Catalyst] Catalyst::Helper::Model::DBIC::Schema patchette?

2007-01-18 Thread Jonathan Rockway
Kieren Diment wrote: script/myapp_create.pl model CatalystModelName DBIC::Schema MySchemaClass [ create=dynamic | create=static ] [ connect_info arguments ] I would recommend an example that uses some usual naming conventions: create.pl model SomethingDB DBIC::Schema Schema::SomethingDB

Re: [Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-18 Thread Jonathan Rockway
A. Pagaltzis wrote: Eh? Apache doesn’t dispatch anything unless maybe you’re talking about mod_perl If that's true, then GETting http://mysite.com/foo/bar/baz.html would get a file named $DOCROOT/foo\/bar\/baz.html. Considering that's never the case (you can't have / in UNIX filenames, only

Re: [Catalyst] Accessing YAML details from within the Model libraries

2007-01-18 Thread Jonathan Rockway
John Napiorkowski wrote: package myapp::Controller::test; [snip snip] sub myaction :Local { my ($self, $c) = @_; $c-log-info($self-{attr}); #onetwothree to log } It would be better if you did: package MyApp::C::Test; use base 'Catalyst::Controller';

Re: [Catalyst] Recommend methods for form handling

2007-01-18 Thread Jonathan Rockway
Ian Docherty wrote: Jim Spath wrote: Thanks for all the responses guys, they have been very helpful! What about multi-lingual support? It seems like FormBuilder is my best choice if I want to add multi-lingual support down the road. - Jim What has FormBuilder got to do with

Re: [Catalyst] creating binaries

2007-01-17 Thread Jonathan Rockway
, and it's clear that source encryption doesn't work for them. They're using one of the other two alternatives, and they're mostly experiencing success. Learn from them; that's why you asked the list, right? Sometimes the idea that's stuck in your (anyone's) head is not the best. Regards, Jonathan

Re: [Catalyst] creating binaries

2007-01-16 Thread Jonathan Rockway
nmake catalyst_par ... Writing PAR tranzactiibursiere.par NMAKE : fatal error U1077: 'D:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. What versions of: App::Packer PAR::Packer PAR do you have? But anyway, does this method hide the source code of the application? Try these:

Re: [Catalyst] creating binaries

2007-01-16 Thread Jonathan Rockway
[EMAIL PROTECTED] wrote: I prefer you send me the one packaged with par:crypto -- I like to be able to read comments and see the original var names when I edit your hidden code. =) DMCA violation. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan

Re: [Catalyst] Catalyst::Manual::Tutorial::CatalystBasics Issues

2007-01-15 Thread Jonathan Rockway
the ability to deploy a Catalyst application to a stock 6.06 LTS server, use PAR to bundle the newer Catalyst with your app: http://www.catalystframework.org/calendar/2006/4 Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu

Re: [Catalyst] mod_fastcgi vs mod_fcgid

2007-01-12 Thread Jonathan Rockway
Jonathan Rockway wrote: Michele Beltrame wrote: Hello all! These days I'm evaluating mod_fcgid, and the option to use it instead of mod_fastcgi as it seems less broken (better process management, etc...). Has any Catalyst user had experience with it? Opinions? I think most of us have

Re: [Catalyst] serving static files

2007-01-11 Thread Jonathan Rockway
Octavian Rasnita wrote: I have read about an example of setting a proxy/reverse proxy server for a Java application at the following link: http://www.daveyp.com/blog/index.php/archives/76/ But the article says that the Apache server that is the proxy is also using mod_perl (for applying

Re: [Catalyst] serving static files

2007-01-10 Thread Jonathan Rockway
Octavian Rasnita wrote: What I don't understand is why serving the files directly decreases the performance of mod_perl apps, even though downloading those files has no relation with those mod_perl apps. Do you have a recommendation for a text for learning how to use a reverse proxy? This

[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] How about the catalyst scalability

2007-01-08 Thread Jonathan Rockway
! :) Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup; ___ List: Catalyst@lists.rawmode.org Listinfo

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] Dojo Offline Kit

2007-01-06 Thread Jonathan Rockway
On Saturday 06 January 2007 05:34, Zbigniew Lukasiak wrote: This might be an inspiration to some of us: http://www.sitepen.com/blog/2007/01/02/the-dojo-offline-toolkit/ Sounds like he just reinvented XUL. Poorly. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do {

Re: [Catalyst] Managing CPAN on Ubuntu [was: 'Installing under ...' on the wiki]

2007-01-05 Thread Jonathan Rockway
On Friday 05 January 2007 05:08, Richard Jolly wrote: Reviving an old thread here - I was wondering if you found such a Dummies list. I'm new to the debian/ubuntu way (I've been on FreeBSD, an OS X). I gather there is a danger of mixing apt-get and CPAN installs. But from my impression

Re: [Catalyst] iterating twice over the same resultset in the template?

2007-01-03 Thread Jonathan Rockway
[% WHILE ( it = rs1.next() ) -%] ... [% WHILE ( it = rs2.next() ) -%] ... Is there any other way to do this? Is it possible to clone a resultset? Why not just prefetch everything? Controller: my @elements : Stashed = $c-model(MyDB::table)-...-all; Template: [% FOREACH element = elements

Re: [Catalyst] IMPORTANT: Catalyst::Plugin::FormBuilder obsoleted by ::Controller::FormBuilder

2007-01-02 Thread Jonathan Rockway
Matt S Trout wrote: Call me a little confused, I am not sure that I properly grasp which one to use for FormBuilder. For the moment, I am simply going to focus on the plugin (C::P::FB). Don't. The plugin's obsolete, undeveloped and has known interoperability issues. Incidentally, I wrote

  1   2   3   >