Re: [Catalyst] Catalyst::Plugin::Authentication uses NEXT, which is deprecated.

2010-05-31 Thread Tomas Doran
On 31 May 2010, at 05:16, w...@serensoft.com wrote: Okay, we should uninstall the deprecated modules just to be sure our dependencies are all clean, and we should use Catalyst::Authentication instead of Catalyst::Plugin::Authentication... Erm, no. You still use

Re: [Catalyst] Catalyst::Plugin::Authentication uses NEXT, which is deprecated.

2010-05-31 Thread Tomas Doran
On 31 May 2010, at 17:36, w...@serensoft.com wrote: Thanks for your patience, Tom Sahib. :) We've been getting up to speed via the (Packt Publishing) book Catalyst: Accelerating Perl Web Application Development by Jonathan Rockway, using the paradigm introduced on p74. That's where we

Re: [Catalyst] Subclassing using Catalyst::Controller::REST

2010-06-07 Thread Tomas Doran
On 7 Jun 2010, at 10:15, prasad guna wrote: lasses are using the default config and renders the output using YAML::HTML, so ideally what i need is, when a request is made the subclass should use the config from the parent class and forward to View::TT, Please let me know, how to do this.

Re: [Catalyst] Clean install doesn't work at all... any ideas?

2010-06-10 Thread Tomas Doran
On 9 Jun 2010, at 22:53, Sir Robert Burbridge wrote: Hey can anyone help me figure out this issue? I upgraded catalyst to v5.80024 (from CPAN). A fresh install throws the following error. I included module version numbers that seemed relevant ... Thanks! -Sir Moose: v1.07 Catalyst:

Re: [Catalyst] Issues with IO module for my app

2010-06-10 Thread Tomas Doran
On 10 Jun 2010, at 10:58, prasad guna wrote: I am running my app using fastCGi under lighttpd, I am getting the following error, i tried to trace the issue and googled for it, but cant find anything useful or does make sense to me, Can't load

Re: [Catalyst] Clean install doesn't work at all... any ideas?

2010-06-10 Thread Tomas Doran
On 10 Jun 2010, at 16:11, Sir Robert Burbridge wrote: On 06/10/2010 04:58 AM, Tomas Doran wrote: On 9 Jun 2010, at 22:53, Sir Robert Burbridge wrote: Hey can anyone help me figure out this issue? I upgraded catalyst to v5.80024 (from CPAN). A fresh install throws the following error

Re: [Catalyst] Log::Log4perl::Catalyst or Catalyst::Log::Log4perl ?

2010-06-14 Thread Tomas Doran
On 13 Jun 2010, at 18:53, J. Shirley wrote: On Jun 13, 2010, at 3:56 AM, Christiaan Kras wrote: Thanks. He suggests Catalyst::Log::Log4perl. I guess I'll try both Catalyst::Log::Log4perl and Log::Log4perl::Catalyst then. Christiaan Kras The cspec issues can (in most cases) be safely

Re: [Catalyst] Extending Catalyst -- new elements

2010-06-18 Thread Tomas Doran
On 17 Jun 2010, at 20:22, Sir Robert Burbridge wrote: My questions are: * Would this kind of functionality be better done in Catalyst::Helper::(Model|View|Contoller):: or somewhere else? No, you want to put it in about the right place. Currently the skeleton code generation only generates

Re: [Catalyst] Extending Catalyst -- new elements

2010-06-18 Thread Tomas Doran
On 18 Jun 2010, at 09:58, piotr pogorzelski wrote: Hi, I prefer instead of catalyst.pl MyApp run catalyst.pl MyApp::Catalyst and keep my model, helpers, or other application modules below MyApp::Catalyst, leaving MyApp::Catalyst for web interface modules. using DBIC::Schema i

Re: [Catalyst] Extending Catalyst -- new elements

2010-06-18 Thread Tomas Doran
On 18 Jun 2010, at 15:50, Sir Robert Burbridge wrote: Yeah, that's just from habit (the docs on cpan and, I think, in the Catalyst book, have script/myapp_create.pl view TT TT). I removed this from the help recently, and I believe it has also been removed from the manual (Caelum++). Use

Re: [Catalyst] Contributing code

2010-06-22 Thread Tomas Doran
On 22 Jun 2010, at 11:27, Chisel wrote: I agree that it's a bit annoying that the summary page for the project isn't more helpful by explicitly showing the clone URL and relies on a bit of educated guessing to find. By 'the summary page for the project', you mean something other than the

Re: [Catalyst] Contributing code

2010-06-22 Thread Tomas Doran
On 22 Jun 2010, at 17:01, Chisel wrote: I'm spoiled by github and gitosis having easy to spot, copy and use git:// URLs for a repo clone action. Erm, you are looking at a gitosis install :) But I get exactly what you're saying about the clone URI - that would be entirely useful here..

Re: [Catalyst] view error - file error - MyApp_Model_MyApp_Team: not found

2010-06-22 Thread Tomas Doran
On 22 Jun 2010, at 21:15, w...@serensoft.com wrote: Here's the error message, on the off-chance that it means something to you: view error - file error - MyApp_Model_MyApp_Team: not found snip Any suggestions on how to track down what might cause a VIEW ERROR like this? I would very

Re: [Catalyst] RESTy Chained actions

2010-06-29 Thread Tomas Doran
On 29 Jun 2010, at 14:43, Stephen Howard wrote: I may be off the mark on what you're trying to do, but here goes. In my brief experience with catalyst, inheritance doesn't do much for you when constructing actions. I believe that chained actions are pretty tightly bound to the urls you

Re: [Catalyst] RESTy Chained actions

2010-06-29 Thread Tomas Doran
On 29 Jun 2010, at 16:10, Stephen Howard wrote: very cool. I need to go find the docs that talk about that bit of config magic, as I hadn't run into it yet. http://www.catalystframework.org/calendar/2008/11 Also documented in the relevant classes. Patches of course welcome if you think

Re: [Catalyst] Contributing code

2010-07-03 Thread Tomas Doran
On 23 Jun 2010, at 07:23, Toby Corkindale wrote: Cheers - can I suggest that URL is added to the Contributing Code wiki page that was originally linked in this email thread? Wiki like wiki is like a wiki. Thanks in advance! t0m ___ List:

Re: [Catalyst] Contributing code

2010-07-03 Thread Tomas Doran
On 30 Jun 2010, at 13:40, Alexander Hartmaier wrote: I'd prefer *much* more inline comments as well to make it easier to work on code parts I've never touched before when debugging or adding features as it's very hard to figure out what the methods do and how they interact. Entirely

Re: [Catalyst] FastCGI caching issue

2010-07-06 Thread Tomas Doran
On 6 Jul 2010, at 19:26, Steve wrote: however my session seems to 'cross' over to other fastCGI processes (I've got 3 fastCGI processes running). Yes, they'll do that. I've googled around and even tried to set $cachetime = 0 in my Root.pm controller's END action. Er, what is

Re: [Catalyst] FastCGI caching issue

2010-07-06 Thread Tomas Doran
On 6 Jul 2010, at 22:35, Steve wrote: At present, my cohort and I suspect that we are up against a database caching problem, but haven't completely ruled out anything. Am I better off asking the DBIC list? Erm, well if you're unsure, the first thing to do is work out if your app is

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-12 Thread Tomas Doran
On 12 Jul 2010, at 15:34, Derek Wueppelmann wrote: On Sat, 2010-07-10 at 13:37 -0400, Alejandro Imass wrote: If in a Catalyst::Component, say an extension of Catalyst::Model, the attributes of my instance are also per-request. In other words if I do $self-yuca($c-stash-{yuca}) in

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread Tomas Doran
On 15 Jul 2010, at 15:02, André Walker wrote: I'm developing my first real world Catalyst application, and all I have available to publish it is my shared hosting on Hostmonster. It is working, but it's dynamic fastcgi, which means that after about a minute of inactivity the process is

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-16 Thread Tomas Doran
On 15 Jul 2010, at 21:37, Alejandro Imass wrote: On Mon, Jul 12, 2010 at 3:08 PM, Tomas Doran bobtf...@bobtfish.net wrote: Each process is in a separate memory space if you're using FCGI or mod_perl or something, but it's not entirely certain (if you use Catalyst::Engine::PSGI and Corona

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-18 Thread Tomas Doran
On 17 Jul 2010, at 18:58, Alejandro Imass wrote: I am confused now. mod_worker will share the same code segment for sure, and if you said earlier that in some scenarios where the code segment is shared (i.e. two _threads_ using the same model instance) the ACCEPT_CONTEXT call will override any

Re: [Catalyst] Modifying Catalyst component load order

2010-07-18 Thread Tomas Doran
On 16 Jul 2010, at 17:55, Rob Hoelz wrote: This way, applications requiring a custom load order can override determine_component_load_order if they which, and plugins can override it to provide cool features like dependency resolution. Thoughts? This year's GSOC project is to put

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-18 Thread Tomas Doran
On 18 Jul 2010, at 19:58, Alejandro Imass wrote: So in conclusion, it seems reasonable to say that I should not worry about the global vars (the Moose object attributes) in my Model Instance to get overridden by the ACCEPT_CONTEXT call, as this call will only be called once in sequence with a

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-18 Thread Tomas Doran
On 18 Jul 2010, at 21:42, Alejandro Imass wrote: Ok. already! ;-) I have a big bump in my forehead from all this headbanging. With the headache and all I think I finally understand...I hope... In my case I need a model that creates an object to handle every request individually so: Yep, you

Re: [Catalyst] Catalyst-Plugin-Params-Nested rt 59604

2010-07-28 Thread Tomas Doran
On 28 Jul 2010, at 00:40, Evan Carroll wrote: Find more information about the issue and the patch set here: https://rt.cpan.org/Public/Bug/Display.html?id=59604 Applied, released, resolved. Thanks for the patch! Cheers t0m ___ List:

[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80025

2010-07-28 Thread Tomas Doran
Hi It gives me great pleasure to announce the latest maintenance release of the Catalyst 5.80 series. This release fixes some bugs (notably an issue if your application is using 'rails like routes' with the dispatch configured from config) and adds a small refactoring to allow the

Re: [Catalyst] auth_bootstrap.pl question

2010-08-02 Thread Tomas Doran
On 2 Aug 2010, at 08:51, Nicolas Voss wrote: tests were ok for DBIx::Class::Schema::Loader (test=pass after installation). What's wrong here? Can you install Devel::SimpleTrace and re-run auth_bootstrap.pl with PERL5OPTS=-MDevel::SimpleTrace in your environment? That should emit a stack

Re: [Catalyst] Catalyst::Test local_request(), Test::WWW::Mechanize::Catalyst, and base href=...

2010-08-02 Thread Tomas Doran
On 29 Jul 2010, at 21:40, Ronald J Kimball wrote: The only reference I found to this issue is a post to this mailing list from 2007, which no one answered. Has anyone else experienced this problem? Would a patch that cribs some code from LWP::UserAgent and puts it in Catalyst::Test

Re: [Catalyst] Trapping exceptions in Catalyst.pm

2010-08-04 Thread Tomas Doran
On 4 Aug 2010, at 10:06, Ton Voon wrote: In general, it's better to test the return value from eval directly instead of depend on $...@. Something like: my $has_exception; eval { $c-state( $code-execute( $class, $c, @{ $c-req-args } ) || 0 ); 1; } || $has_exception++; ... if (

Re: [Catalyst] Cross-link: How do I turn Moose objects into JSON for use in Catalyst?

2010-08-04 Thread Tomas Doran
On 3 Aug 2010, at 17:31, Evan Carroll wrote: I've posted a question and a few possible fixes. Does anyone have anything to add here? How do you go about dumping Moose to JSON in Cat? I use MooseX::Storage, as per perigrin's comment on the stack overflow post. Cheers t0m

Re: [Catalyst] DBIC custom SQL hack stopped working after upgrading Catalyst

2010-08-06 Thread Tomas Doran
On 6 Aug 2010, at 16:44, Tobias Kremer wrote: Hey folks, our app is using the following old and rather obscure hack which injects some custom SQL to perform a UNION. This works perfectly with the latest DBIC 0.08123 and Catalyst::Runtime 5.80007. However, after upgrading to the latest

Re: [Catalyst] I18N with variables

2010-08-09 Thread Tomas Doran
On 7 Aug 2010, at 01:03, Ton Voon wrote: I can write a Cat advent calendar entry for this if interested. YES! We were happy to take submissions for this years advent as of Jan 1st, so please do so! ;) (Any time before mid december) Cheers t0m

Re: [Catalyst] Catalyst handling big files?

2010-08-13 Thread Tomas Doran
On 13 Aug 2010, at 12:22, Alex Povolotsky wrote: I'm working on processing relatively big (10+Mb) XML files, and it seems to me that Catalyst is taking an awful lot of time on some internal processing before call to handler, using surprisingly 200 MBs of RAM (about 40 MBs before request)

Re: [Catalyst] Finding the memory leaks in a Cat app

2010-08-13 Thread Tomas Doran
On 13 Aug 2010, at 12:11, Octavian Rasnita wrote: I have a Catalyst application that occupies 180 MB of RAM if it uses the internal development server. It occupies more than 1 GB of RAM if it uses Apache/mod_perl. I don't believe that. But never mind.. Even though it is very much, it

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-13 Thread Tomas Doran
On 13 Aug 2010, at 15:43, Marc Perez wrote: Hi Jay, Ok, sorry, I will write next time to the DBIX list. DBIX is a namespace which contains many projects. You mean DBIx::Class, or DBIC for short. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Store something in the stash at startup

2010-08-17 Thread Tomas Doran
On 17 Aug 2010, at 14:59, w...@serensoft.com wrote: Is that the part you're referring to as application-lifetime? No. When you say: use MyApp; (or require MyApp) then the application is loaded, and all of it's models, controllers and views are setup initially. They persist for the

Re: [Catalyst] Store something in the stash at startup

2010-08-17 Thread Tomas Doran
On 17 Aug 2010, at 15:50, Charlie Garrison wrote: I was suggesting the Moose attribute as way of storing the model in $c to be easier to reference from templates. I highly recommend taking the model instance and stashing it (as is being done already), rather than making an attribute on

Re: [Catalyst] Store something in the stash at startup

2010-08-18 Thread Tomas Doran
On 18 Aug 2010, at 04:07, Charlie Garrison wrote: I.e. if you are saying [% c.model('Foo').thing %] or [% c.foo.thing %] then this is less flexible (as you can't override foo for part of your site) than $c-stash(foo = $c-model('Foo')) in your perl code, then [% foo.thing %] in your

Re: [Catalyst] App breaks after updating to Catalyst::Plugin::Session::State::URI v0.14

2010-08-19 Thread Tomas Doran
On 19 Aug 2010, at 19:32, Charlie Garrison wrote: Good morning, On 19/08/10 at 6:32 PM +0100, Ash Berlin ash_c...@firemirror.com wrote: if ( my $sid = $c-request-parameters-{$param} ) { Try changing parameters to query_parameters. It sounds like hitting params is causing it to

Re: [Catalyst] Catalyst::Plugin::ConfigLoader snag [and SOLVED]

2010-08-19 Thread Tomas Doran
On 19 Aug 2010, at 22:17, w...@serensoft.com wrote: How about 186:my ( $extension ) = ( $path =~ m{\.([^./]{1,4})$} ); instead? Sure. Could you write a failing test for this? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] Catalyst::Plugin::ConfigLoader snag [and SOLVED]

2010-08-19 Thread Tomas Doran
On 19 Aug 2010, at 23:20, w...@serensoft.com wrote: I'm not sure. This isn't just $c-something, It'd involve running catalyst.pl to create a fresh MyApp with a two-character (or one- character) name, which would then require some post-processing cleanup. I really don't think so. You

Re: [Catalyst] working with strange port setups

2010-08-21 Thread Tomas Doran
On 21 Aug 2010, at 10:51, Darren Duncan wrote: Therefore, can anyone tell me how to configure Catalyst so that it builds the urls I need, or alternately where in the Catalyst source I should look in order to create a patch to enable this? You want to be adding a test in

Re: [Catalyst] Catalyst wiki is down

2010-08-21 Thread Tomas Doran
On 21 Aug 2010, at 15:52, Deepak Gulati wrote: Works now so must've been a temporary issue. Thanks. http://planet.catalystframework.org/ redirecting to the main site is a bit odd - there used to be some interesting material there. I guess they must be in the middle of fixing it. The guy who

Re: [Catalyst] Re: [Catalyst-dev] [ANNOUNCE] CALL FOR TESTING Catalyst-Runtime 5.80014_01

2010-08-25 Thread Tomas Doran
On 24 Nov 2009, at 09:36, Frank Wiegand wrote: t/ optional_threads .t .. 1/3 # Failed test 'Executed actions' # at t/optional_threads.t line 54. # got: 'TestApp::Controller::Action::Default-begin,

Re: [Catalyst] CatalystX-Component-Traits forgot to bump version

2010-08-26 Thread Tomas Doran
On 26 Aug 2010, at 07:34, Bill Moseley wrote: Still at 0.14 which that was the old version before the -excludes change. Yeah, sorry about that - I've been rushed off my feet in the last week and have made a couple of stupid mistakes. This is now corrected by a new release. Cheers t0m

[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80026

2010-09-01 Thread Tomas Doran
Hi It gives me great pleasure to announce the latest maintenance release of the Catalyst 5.80 series. There are a number of small changes and bug fixes in this release, and some changes for forward compatibility with newer Moose versions (to avoid warnings about some deprecated

Re: [Catalyst] Catalyst::ScriptRole and excludes

2010-09-01 Thread Tomas Doran
On 29 Aug 2010, at 14:50, Bill Moseley wrote: In case hasn't been noticed, newer Moose will complain about the renamed -excludes option. This is now fixed in the latest release. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo:

[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80027

2010-09-01 Thread Tomas Doran
Hi It gives me somewhat less pleasure than it did 20m ago to announce the latest maintenance release of the Catalyst 5.80 series. This fixes a bug causing the tests to fail on new installs. Full changelog below as always. Cheers t0m -- 5.80027 2010-09-01 22:14:00 Bug fixes: - Fix an

Re: [Catalyst] Catalyst::Response callbacks? Need to reap auto-generated files on disk after they are served.

2010-09-02 Thread Tomas Doran
On 2 Sep 2010, at 20:21, Tommy Butler wrote: What are your thoughts? Has anyone done something like this who would be willing to share their solution, or are there others among us who would be so kind as to share some ideas of their own? Job for Catalyst::Plugin::RunAfterRequest? Cheers

Re: [Catalyst] Deleting the expired session files?

2010-09-06 Thread Tomas Doran
On 4 Sep 2010, at 20:27, Darren Duncan wrote: Have you tried using the FastMMap store instead? I understand this can automatically expire sessions. The main caveat that I'm aware of is that it is unreliable in a multi-thread environment. -- Darren Duncan s/in a multi-thread

Re: [Catalyst] How to share a database connection across multiple Catalyst apps?

2010-09-08 Thread Tomas Doran
On 8 Sep 2010, at 19:17, Javier Arturo Rodriguez wrote: On 9/8/10 4:54 PM, Simon Miner wrote: The parameters defining the connection have to be exactly the same, including the connect attributes! If there is no appropriate database handle or if the ping method fails, a new connection

Re: [Catalyst] SIGINT triggers segfault in Oracle libraries

2010-09-08 Thread Tomas Doran
On 8 Sep 2010, at 18:56, E R wrote: Does catalyst install a SIGINT handler? No. (Assuming we are talking about the built in dev server here - Catalyst never does, different engines may however0 Is there a way to trace perl execution after the INT signal is received? Try Devel::bt?

Re: [Catalyst] SIGINT triggers segfault in Oracle libraries

2010-09-09 Thread Tomas Doran
On 9 Sep 2010, at 02:21, Tomas Doran wrote: On 8 Sep 2010, at 18:56, E R wrote: Does catalyst install a SIGINT handler? No. (Assuming we are talking about the built in dev server here - Catalyst never does, different engines may however0 Is there a way to trace perl execution after

Re: [Catalyst] How to get from

2010-09-18 Thread Tomas Doran
On 18 Sep 2010, at 17:00, will trillich wrote: So the real question is, how do we get from $self to -find() ? From a result class, $self-resultset-find is probably what you want. You should also probably be asking questions about DBIx::Class on the DBIx::Class list, not the Catalyst list.

Re: [Catalyst] New install getting Wide character in syswrite error

2010-09-22 Thread Tomas Doran
On 22 Sep 2010, at 04:00, Charlie Garrison wrote: Good afternoon, I setup an installation of our app for a new developer last night and keep getting the 'Caught exception in engine Wide character in syswrite at...' error when making POST requests. Reading through the archives I expect

Re: [Catalyst] New install getting Wide character in syswrite error

2010-09-22 Thread Tomas Doran
On 22 Sep 2010, at 11:15, Charlie Garrison wrote: Any other suggestions? Using Devel::SimpleTrace or Carp::Always to get a backtrace of what is doing the bad syswrite would be helpful.. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] New install getting Wide character in syswrite error

2010-09-22 Thread Tomas Doran
On 22 Sep 2010, at 14:53, Charlie Garrison wrote: I think I already submitted a patch for this; yep, r13505. t0m, any chance of a new release of C::P::Session::State::URI? In the meantime I'll apply the above patch to the new dev's machine. This adds a test which fails. You appear to have

Re: [Catalyst] Returning to referer - which action to take?

2010-09-27 Thread Tomas Doran
On 26 Sep 2010, at 20:38, Ekki Plicht (DF4OR) wrote: Serving the pages in different languages works fine with C::P::I18N, but I can't figure out how to return the visitor to the refering page. Simply redirecting to the referer does not work, because a prepared cookie isn't preserved over

[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80028

2010-09-28 Thread Tomas Doran
Hi It gives me great pleasure to announce the latest maintenance release of Catalyst-Runtime. This fixes a couple of small bugs which were causing issues for a couple of people. Full changelog below as always. Cheers t0m --- 5.80028 2010-09-28 20:49:00 Bug fixes: - use Class::MOP

Re: [Catalyst] Remote authN not getting username from remote_user()

2010-09-28 Thread Tomas Doran
On 27 Sep 2010, at 23:33, Trevor Leffler wrote: So, I've opened bugs under C::E::Apache with patch files that fix this issue as well as fix broken tests and minimally bring the code up to date with more current C::Runtime standards. I've just shipped Catalyst-Engine-Apache-1.13_01.tar.gz

[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80029

2010-10-03 Thread Tomas Doran
Hi I've just uploaded a new version of Catalyst to avoid a warning at app startup with the upcoming version of Moose. Full changelog below as always. Cheers t0m --- 5.80029 2010-10-03 16:39:00 New features: - Add a warning when $c-view is called and cannot locate a default_view

Re: [Catalyst] Handling long-running processes (was Re: Logging is not immediate)

2010-10-23 Thread Tomas Doran
On 20 Oct 2010, at 01:48, Toby Corkindale wrote: What is support like for either multi-part or partial-update in browsers like now? Almost everything will now do MXHR. Have a look at Web::Hippie which abstracts the browser-specifics of the actual mechanism away. However, each user is

Re: [Catalyst] PageCache support for caching redirect responses

2010-11-01 Thread Tomas Doran
On 31 Oct 2010, at 08:38, Paul Flow wrote: Hi everyone, My Catalyst app supports requests using a variety of easily typed shorthand URIs that redirect to a canonical URI. Determining the canonical from some shorthands can be expensive, but rarely if ever change, so I'm looking to cache the

Re: [Catalyst] Re: Wrong Content-Length value

2010-11-01 Thread Tomas Doran
On 1 Nov 2010, at 08:43, Felix Antonius Wilhelm Ostmann wrote: nothing? :-/ Am 04.10.2010 10:16, schrieb Felix Antonius Wilhelm Ostmann: It there a plan to change this error? I'd love someone to make some patches in a branch :) Cheers t0m ___

Re: [Catalyst] Catalyst-Authentication-Store-DBIx-Class-User v0.1400 - patch

2010-11-16 Thread Tomas Doran
On 16 Nov 2010, at 15:28, Anthony Gladdish wrote: The from_session() method has a call to load() with no $c param. It did previously, and this change is breaking my own authentication tests. Catalyst-Authentication-Store-DBIx-Class 0.1400 test suite passes on my attached patch, and my own

Re: [Catalyst] Catalyst-Authentication-Store-DBIx-Class-User v0.1400 - patch

2010-11-17 Thread Tomas Doran
On 17 Nov 2010, at 14:53, Anthony Gladdish wrote: Failing test case and it's patch attached. Thanks very much! I've released the new version just now.. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] Having problem with Catalyst::Controller::FormBuilder module with Catalyst 5.8

2010-11-22 Thread Tomas Doran
On 22 Nov 2010, at 16:41, Cory Hollingsworth wrote: Here is a very simple example of a Root.pm code which illustrates my problem: Start Perl Code package lookupreset::Controller::Root; use base 'Catalyst::Controller::FormBuilder'; use Moose; use namespace::autoclean; BEGIN { extends

Re: [Catalyst] Converting a GET request to a POST request

2010-11-22 Thread Tomas Doran
On 22 Nov 2010, at 17:44, Ronald J Kimball wrote: This works for JSON requests (e.g. application/json), but not for JSONP requests (e.g. text/javascript), because there is no Catalyst::Action::Deserialize::JSONP. I guess I could create one that extends Catalyst::Action::Deserialize::JSON...

Re: [Catalyst] Query : Catalyst forward and relative path in CSS.

2010-11-22 Thread Tomas Doran
On 21 Nov 2010, at 16:10, Rohan M wrote: Although, the scripts are working but I'm facing two problems - 1) The $c-forward('controller/action') NOT working Do you not mean $c-forward('/controller/action'), which looks like a more reasonable private path ? Cheers t0m

Re: [Catalyst] Converting a GET request to a POST request

2010-11-22 Thread Tomas Doran
On 22 Nov 2010, at 18:28, Ronald J Kimball wrote: It doesn't care what the request method is, as long as it's POST, PUT, OPTIONS, or DELETE. ;) No, it just doesn't care. If I create Catalyst::Action::Deserialize::JSONP, I'll still need to convert the GET request to a POST. That seems to

Re: [Catalyst] Catalyst and Moose with has many_to_many

2010-11-25 Thread Tomas Doran
On 25 Nov 2010, at 03:43, will trillich wrote: Greetings Catalystery: Got a new question, trying to implement a many_to_many relationship via Moose... The DBIC portion of the puzzle is straightforward, we've got that working just fine. Here's part I understand -- we have a controller

Re: [Catalyst] Converting a GET request to a POST request

2010-11-25 Thread Tomas Doran
On 23 Nov 2010, at 16:22, Ronald J Kimball wrote: Why? Where is the code which forces it to be a POST? In Catalyst::Action::Deserialize: sub execute { my $self = shift; my ( $controller, $c ) = @_; my @demethods = qw(POST PUT OPTIONS DELETE); Dang, my bad. Cheers t0m

Re: [Catalyst] Catalyst and Moose with has many_to_many

2010-11-26 Thread Tomas Doran
On 25 Nov 2010, at 21:57, will trillich wrote: Right. :) These are 'inlined' within the controller that's the only place where they're used. E.g. package Spill::Controller::Spill; use Moose; #... { package Spill::Controller::Incident::IncidentForm; use HTML::FormHandler::Moose;

Re: [Catalyst] Re: Query : Catalyst forward and relative path in CSS.

2010-11-26 Thread Tomas Doran
On 26 Nov 2010, at 10:44, Rohan M wrote: Hi All, Thanks Tomas and Denny for your reply... I think $c-go is to call a Localized path and the $c-forward for private path. Erm, no. They both call private paths. And go was never mentioned in your original email?? I'm using the action as

Re: [Catalyst] Transferring control via root/auto

2010-12-08 Thread Tomas Doran
On 7 Dec 2010, at 16:11, Ben van Staveren wrote: You want to $c-detach('end') -- unless that's the default these days. I use this pattern a lot and the only difference I see is that I do: The end action will _always_ be run, there is no need to detach to the end action. However I'm

Re: [Catalyst] Transferring control via root/auto

2010-12-10 Thread Tomas Doran
On 9 Dec 2010, at 14:41, Thompson wrote: How would you use a chained dispatch to solve a problem like this? Something that needs to be checked before allowing anything else (besides logging in) to happen and if so force them to a specific page? A simple example would help. The

Re: [Catalyst] Static MultiViews?

2010-12-10 Thread Tomas Doran
On 9 Dec 2010, at 09:31, Dorian Taylor (Lists) wrote: Hello, I'm trying to find an a plugin or something that does some rudimentary content negotiation, i.e. multiviews, i.e. serving static files without their extensions. Can't seem to find anything despite having scoured for hours.

Re: [Catalyst] Re: Static MultiViews?

2010-12-14 Thread Tomas Doran
On 10 Dec 2010, at 20:32, Aristotle Pagaltzis wrote: * Tomas Doran bobtf...@bobtfish.net [2010-12-10 17:05]: MultiViews is an apache feature for language customisation, and has nothing to do with not having extensions on files. snip explanation of how MultiViews is a non-trivial feature I

Re: [Catalyst] Static MultiViews?

2010-12-14 Thread Tomas Doran
On 10 Dec 2010, at 20:03, Dorian Taylor (Lists) wrote: Language, mime type, charset and content encoding, actually. I was looking for similar behaviour but implemented in Catalyst (i.e. presumably using HTTP::Negotiate). It's entirely possible to serve static files without extensions if

Re: [Catalyst] CatalystX::SimpleLogin with multiple roles

2010-12-28 Thread Tomas Doran
On 28 Dec 2010, at 00:51, Harold Frayman wrote: Hi I'm trying to use CatalystX::SimpleLogin with multiple roles via DBIx::Class and with Redirect. What should happen, when a user is redirected to log in and does so but without the level of authorization required for the method they were

Re: [Catalyst] Catalyst::Action::RenderView 0.15

2011-01-05 Thread Tomas Doran
On 5 Jan 2011, at 11:12, ryan lauterbach wrote: Hello, Redirects after login stopped working after this latest upgrade, as if Root::end() isn't ignoring 3xx status'. I've downgraded Catalyst::Action::RenderView from 0.15 to 0.14 and the redirects work again. Bad end() code or bug? No

Re: [Catalyst] Issue with Plugin::Session

2011-01-05 Thread Tomas Doran
On 5 Jan 2011, at 16:07, jeff robinson wrote: Hi Having a prblem with Safari and IE browsers and the Session plugin. The app works fine with Firefox, but session data is being reset between requests with these other browsers. Is the time correct on your server and your client? This issue is

Re: [Catalyst] Catalyst::Action::RenderView 0.15

2011-01-05 Thread Tomas Doran
On 5 Jan 2011, at 11:12, ryan lauterbach wrote: Hello, Redirects after login stopped working after this latest upgrade, as if Root::end() isn't ignoring 3xx status'. I've downgraded This is a bug and entirely my fault. I have just uploaded a fixed version. Apologies for the

Re: [Catalyst] Zeus and Catalyst

2011-01-12 Thread Tomas Doran
On 12 Jan 2011, at 09:02, Duncan Garland wrote: It appears to be preparing an SQL statement but it doesn't give us much idea about which one. Have you (or anyone else) got any idea what all this means? snip 0x003bbe20d8e0 in __read_nocancel () from /lib64/libpthread.so.0 (gdb) (gdb)

Re: [Catalyst] .part file downloading while login/logout

2011-01-13 Thread Tomas Doran
On 13 Jan 2011, at 08:04, mani kandan wrote: I have created a catalyst web application , it working fine . But the problem I am facing is, when I click login its asking to save .part file , the same problem while logout. Kindly help me where I may made mistake . No idea without more

Re: [Catalyst] Zeus and Catalyst

2011-01-14 Thread Tomas Doran
On 14 Jan 2011, at 11:02, Duncan Garland wrote: However, the whole mode of operation of the system has changed and there has been a performance hit. When a request arrives, we get multiple catalyst processes spawned. These hang around for a while, handle the request and die within a

Re: [Catalyst] Job Queue recommendation

2011-01-24 Thread Tomas Doran
On 21 Jan 2011, at 15:30, Alexander Hartmaier wrote: t0m created CatalystX::JobServer which is currently only available on This entirely requires RabbitMQ (well, any AMQP broker should be fine, but I've only tried Rabbit) to do the actual queueing. Cheers t0m

Re: [Catalyst] progressive authentication via db LDAP

2011-01-25 Thread Tomas Doran
On 25 Jan 2011, at 10:01, piccard wrote: In view of that, I've got one more question. What I would really need, is a password authentification against LDAP and if successful, get the user and his roles from the database. So, is it possible to split up this process and still use methods like

Re: [Catalyst] Catalyst-Controller-FormBuilder-0.05 NEXT patch

2011-01-26 Thread Tomas Doran
On 25 Jan 2011, at 15:43, Anthony Gladdish wrote: Could someone apply/roll it out please? Applied, dist rolled. http://goatse.co.uk/~bobtfish/Catalyst-Controller-FormBuilder-0.06.tar.gz Should get shipped in the next 24 hours hopefully (I don't have the permissions to do so personally).

Re: [Catalyst] Catalyst-Runtime-5.80030 install error

2011-01-26 Thread Tomas Doran
On 26 Jan 2011, at 11:23, Anthony Gladdish wrote: Anyone else experienced this/know how to fix? Run package-stash-conflicts Upgrade the modules it tells you to. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] Catalyst-Runtime-5.80030 install error

2011-01-26 Thread Tomas Doran
On 26 Jan 2011, at 12:33, Anthony Gladdish wrote: Awesome! ( in this case, culprit was MooseX::Role::WithOverloading ). Ack, the next release already depends on the latest version to avoid this. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] progressive authentication via db LDAP

2011-01-26 Thread Tomas Doran
On 26 Jan 2011, at 13:48, piccard wrote: You set it in the config, you implement a check_password method in your user object (which goes and checks the password from LDAP), you're done. For anybody who is working on the same problem, this solution worked 4 me: + set the extended

Re: [Catalyst] progressive authentication via db LDAP

2011-01-26 Thread Tomas Doran
On 26 Jan 2011, at 16:27, piccard wrote: but ... I decided to go for the new extended class because I still need progressive Auth, means, some users are only in the DB (including their password) and some are only in the LDAP-Dir. So, if I go for the example above a normal PasswordCheck

Re: [Catalyst] Opinions on static::simple - with caching

2011-01-31 Thread Tomas Doran
On 31 Jan 2011, at 07:17, Toby Corkindale wrote: snip However, I suppose in situations where that matters, you shouldn't be serving files via Static::Simple.. And the regular Static::Simple still provides Last-Modified headers, which do allow browsers to perform some caching. What do you

Re: [Catalyst] progressive authentication via db LDAP

2011-01-31 Thread Tomas Doran
On 28 Jan 2011, at 16:34, piccard wrote: So put that logic in your domain model (i.e. DB row class), where it belongs? sorry, I'm not sure what u mean (new to Catalyst and DBIx). I need progressive authentication. No, you don't. First it should check against the db and then against the

[Catalyst] [ANNOUNCE] Catalyst-Runtime 5.80031

2011-01-31 Thread Tomas Doran
Hi It gives me great pleasure to announce the latest maintenance release in the Catalyst 5.80 series. This release mainly fixes a warning produced by applications deployed as FastCGI which was introduced in Catalyst-Runtime 5.80030. Full changelog below as always. Cheers t0m 5.80031

Re: [Catalyst] Opinions on static::simple - with caching

2011-02-01 Thread Tomas Doran
On 1 Feb 2011, at 02:17, Toby Corkindale wrote: The case that I find having the headers enabled is as follows: Yep, perfectly reasonable really. I'd like to see it as an option on Static::Simple; I could mod that and send a patch over if you liked? Sure, or just commit into a branch (you

Re: [Catalyst] Deployment incompatibility

2011-02-04 Thread Tomas Doran
On 4 Feb 2011, at 08:14, Octavian Rasnita wrote: I've seen that this problem appeared because the file Makefile.PL is created automaticly with the following line in it: all_from 'lib\MyFoo.pm'; instead of: all_from 'lib/MyFoo.pm'; Can you log a bug against Catalyst-Devel for this? I

<    1   2   3   4   5   6   7   8   9   >