Re: [Catalyst] How to help with the wiki migration?

2008-01-29 Thread Tomas Doran
On 23 Jan 2008, at 22:56, Nathan Waddell wrote: Hmm looks like centering doesn't work. I have to use ye olde (and deprecated) center tag. Additionally, when combining features, the innermost tends to break. e.g: * ##Here is a bulleted H2 heading that doesn't work. The alternative to this

Re: [Catalyst] Catalyst + Class::Workflow

2008-02-27 Thread Tomas Doran
On 26 Feb 2008, at 20:07, Christopher H. Laco wrote: That's where I struggle. Two seperate workflows makes sense to me. But on the flip side, if it's one workflow, you have the ability to look at 'temp' orders and find out where people bailed in the checkout process based on the state of

Re: [Catalyst] Why use external FastCGI apps?

2008-03-14 Thread Tomas Doran
On 10 Mar 2008, at 14:47, Matt Pitts wrote: -Original Message- From: Matt S Trout [mailto:[EMAIL PROTECTED] Neat approach. Thanks again for all the input. Any chance you could repay in kind by writing up what you ended up with on the wiki? Using PAR + external fcgi this way is

Re: [Catalyst] Request paths - rejoining Chained actions together.

2008-05-10 Thread Tomas Doran
On 9 May 2008, at 15:55, J. Shirley wrote: On Fri, May 9, 2008 at 5:00 AM, Tomas Doran [EMAIL PROTECTED] wrote: Some example URLs: /volume/*/track/*/format/* /track/*format/* snip sub format : Chained('tracksequence', 'trackonvolume') PathPart ('format') Args(1) {} But this doesn't work

Re: [Catalyst] Re: Request paths - rejoining Chained actions together.

2008-05-11 Thread Tomas Doran
On 10 May 2008, at 15:26, Aristotle Pagaltzis wrote: * Tomas Doran [EMAIL PROTECTED] [2008-05-10 09:25]: If I was to hack some code (and tests) up which supported my originally suggested syntax ( Chained('sub1', 'sub2') for joining chains), what would anyone feel about it? You could

Re: [Catalyst] Re: Request paths - rejoining Chained actions together.

2008-05-11 Thread Tomas Doran
On 11 May 2008, at 15:18, Matt S Trout wrote: On Sun, May 11, 2008 at 10:01:47AM +0100, Tomas Doran wrote: Aha! I had a feeling the reason that someone didn't do that already is that there was a compelling reason to not do so - I just hadn't thought about it hard enough.. That's

Re: [Catalyst] Any recommendations for multiple forms in catalyst (have been using HTML::FormFu)?

2008-07-03 Thread Tomas Doran
On 3 Jul 2008, at 09:05, Carl Franks wrote: I'm guessing that in step 3, your $c-stash-{form} is the one created by the FormConfig action - in which case it's the same form used for step 1. It won't validate the submitted parameters, because it doesn't know about any of the fields you

Re: [Catalyst] Duplicate session problem?

2008-07-06 Thread Tomas Doran
On 5 Jul 2008, at 22:21, Dr. Jennifer Nussbaum wrote: Now that i got my authentication routines working, im running into another problem. Anything i do, i am getting elaborate duplicate session errors; in my error log they show up as things like: DBI Exception: DBD::mysql::st execute

Re: [Catalyst] XPath, DOM problem

2008-07-08 Thread Tomas Doran
On 8 Jul 2008, at 09:00, Herr Verdieck Götz wrote: Hi, I try to generate a site content menu from a xml file. In my TT file I have the following syntax: [% # USE prod_tree = XML.Simple('config/xml/hele_de_tree.xml'); # OK this works USE xpath =

Re: [Catalyst] 5.80 problem with Catalyst::Model::DBIC::Schema

2008-07-18 Thread Tomas Doran
On 18 Jul 2008, at 04:14, Chris Dolan wrote: So, I just tested 5.7099_02 to great success (bravo!) so I decided to try 5.80 too. When using SVN rev 8136, I get the error -config-{schema_class} must be defined for this model I am indeed setting that field (following the instructions in

Re: [Catalyst] Preventing simultaneous logins

2008-07-23 Thread Tomas Doran
On 23 Jul 2008, at 21:20, [EMAIL PROTECTED] wrote: This is actually a pretty hard problem -- there is no right answer. What if the user clears her browser state while using the site? Leaves the computer and browser on at work then tries to log in at home on a different computer?

Re: [Catalyst] Using a post argument in a template

2008-07-25 Thread Tomas Doran
On 25 Jul 2008, at 13:40, James S. White wrote: I was trying to munge the paramaters in the controller, I just can't figure out how to access the variables of a controller method in the template. I'd be more than happy to pass the argument to a controller, and then have the view fetch it

Re: [Catalyst] Using a post argument in a template

2008-07-25 Thread Tomas Doran
On 25 Jul 2008, at 14:50, James S. White wrote: I did. I want to use it as a variable even though it's passed in as an arg. I didn't mean to be unclear, sorry. Once it's stashed, can I use it like [% myarg %] in a template? or [% c.stash.myarg %]? Yes, either. Cheers t0m

Re: [Catalyst] 5.80 problem with Catalyst::Model::DBIC::Schema

2008-07-30 Thread Tomas Doran
On 18 Jul 2008, at 11:24, Tomas Doran wrote: On 18 Jul 2008, at 04:14, Chris Dolan wrote: So, I just tested 5.7099_02 to great success (bravo!) so I decided to try 5.80 too. When using SVN rev 8136, I get the error -config-{schema_class} must be defined for this model I am indeed

Re: [Catalyst] Weak references - perl error

2008-08-01 Thread Tomas Doran
On 1 Aug 2008, at 17:16, Dermot wrote: Getting sick of the sight of the DBIx::Class::StartupCheck error with my version of perl, I updated my version to: Name : perl Arch : i386 Epoch : 4 Version: 5.8.8 Release: 10.el5_2.3 Now I am getting the following error: Weak references are not

Re: [Catalyst] Streamed content delivery?!

2008-08-05 Thread Tomas Doran
On 4 Aug 2008, at 21:04, Heiko Jansen wrote: Dear Catalystians. I have a question on how content generation and delivery works in Catalyst. I'll probably have to implement a metasearch / federated search component for an app build with Catalyst. The user submits a request containing a

Re: [Catalyst] Streamed content delivery?!

2008-08-05 Thread Tomas Doran
On 5 Aug 2008, at 11:12, Heiko Jansen wrote: Tomas, thanks for your detailed response. No problem. I'd recommend that you use some sort of distributed job queueing system for this. [Gearman][1] could be a good fit.. Will have a look at that and/or at other job queue systems. Whatever

Re: [Catalyst] Intermittent blank pages

2008-08-28 Thread Tomas Doran
On 28 Aug 2008, at 19:32, [EMAIL PROTECTED] wrote: That was my guess, too. But if the problem is really situated there it should have occurred much earlier. Nothing dramatically changed in our setup or application. I'll try a rollback of the Rose::HTML::Form module to eliminate it from the

Re: [Catalyst] Perl Catalyst : lexical error not displayed

2008-09-08 Thread Tomas Doran
On 8 Sep 2008, at 15:24, tirveni yadav wrote: Hi, I am facing some issues in catalyst since upgrade to perl 5.10 from 5.8 in Debian 4.1 . Item 1) I am finding it hard to locate errors because of this : When a variable is not declared lexically: my $title = Temp ;

Re: [Catalyst] IE has problems with catalyst

2008-09-10 Thread Tomas Doran
On 10 Sep 2008, at 13:51, snookums wrote: No authentication is being used right now. I've also checked my apache config and used the LiveHeader add-on to Firefox. The keep-alive headers seem to be just as they should be. I'm beginning to suspect that the long processing time before the

Re: [Catalyst] Help! Need help deploying app to Apache

2008-09-17 Thread Tomas Doran
Is there a way to know what path Catalyst is looking for the file? What was the precise error? Whatever info more you need, I am able to provide. Please help me... Thanks for your time reading this, strace is your friend. Copy your apache config to /tmp, reset it to a high port for

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Tomas Doran
On 23 Sep 2008, at 21:21, Dr. Jennifer Nussbaum wrote: i have code that looks like if ( $c-req-params-{title} ) { my $title = % . $c-req-params-{title} . %; push (@$query, { title = { like = $title } }); } # exact match here if ( $c-req-params-{author} ) { my $performer =

Re: [Catalyst] FastCGI Deployment problem - can't find templates

2008-09-23 Thread Tomas Doran
On 23 Sep 2008, at 23:24, Coates, Greg wrote: Okay. I've done this. I did some more checking, and I realize that I'm not sure where the static files and templates should be installed on a production server. It doesn't look like they get picked up in the make process. They should. If

Re: [Catalyst] A suitable method to redraw a page

2008-09-24 Thread Tomas Doran
On 24 Sep 2008, at 09:20, Dermot wrote: If my the root of my app is /myapp. I have installed a the REST Controller as lib/MyApp/Controller/REST.pm The Controller has this for now. sub files : Local : ActionClass('REST') { my ($self, $c) = @_; $c-log-debug(Hello from REST Controller); }

Re: [Catalyst] Search example in any docs?

2008-09-24 Thread Tomas Doran
On 24 Sep 2008, at 00:34, Dr. Jennifer Nussbaum wrote: Thanks. I do appreciate this, and its a neat solution, but the problem wasnt that i dont know how to put common elements in a base class, the problem is that nowhere in the Cat docs, formal or informal, are there any examples of doing

Re: [Catalyst] A suitable method to redraw a page

2008-09-24 Thread Tomas Doran
On 24 Sep 2008, at 00:30, Dermot wrote: 2008/9/23 Mesdaq, Ali [EMAIL PROTECTED]: I think ajax would be your friend here. I think I'll try something like that. As the files and Cat App are on one server and the referrer is a different server, I will have the referrer call a local script and

Re: [Catalyst] How to send raw HTTP response

2008-09-25 Thread Tomas Doran
On 25 Sep 2008, at 19:35, Christian Lackas wrote: print CGI::header(...); $ZIP-writeToFileHandle(*STDOUT); for my $f (@files) { $ZIP-addFile($f, basename($f)); } How can I achieve something similar under Catalyst? Looking at the source code for Catalyst::write, and

Re: [Catalyst] How to send raw HTTP response

2008-09-28 Thread Tomas Doran
On 27 Sep 2008, at 19:48, Matt S Trout wrote: Just call $c-write($chunk) with each chunk of data as you get it. Catalyst will automatically send headers before the first chunk for you. Do -not- rely on STDOUT being an appropriate filehandle to print to, that's an accident of the engine

Re: [Catalyst] mix authentication stores

2008-09-30 Thread Tomas Doran
On 1 Oct 2008, at 02:05, Matt S Trout wrote: On Tue, Sep 30, 2008 at 08:58:04PM +0200, Stephan Jennewein wrote: Hi, is it possible to use ldap to authenticate and dbic (a database) to handle the user role relation ? So that it works like it resides all in one storage backend. If yes how

Re: [Catalyst] Catalyst::Plugin::UploadProgress

2008-09-30 Thread Tomas Doran
On 1 Oct 2008, at 01:44, Stephan Jennewein wrote: On Wednesday 01 October 2008 12:39:08 am Andy Grundman wrote: What Catalyst engine are you using? What you described sounds like the behavior with the default HTTP engine. If that's what you're using, try enabling fork mode with -f. I'm

Re: [Catalyst] [PATCH] [RFC] Override base URI

2008-10-10 Thread Tomas Doran
On 10 Oct 2008, at 08:28, Tomas Doran wrote: Am I correct in thinking that this would be useful in cases other than when you're using the CGI engine? Shouldn't this patch be generally applicable to all engines? (Patching just the CGI engine would make it of somewhat limited use for most

Re: [Catalyst] file paths when using catalyst controllers.

2008-11-10 Thread Tomas Doran
On 9 Nov 2008, at 05:08, [EMAIL PROTECTED] wrote: 4) the static file accesses files in the following manner : images/default/logo.gif hence the request above would result in the request being subscription/images/default/logo.gif Don't do that. Use $c-uri_for. That means, in your template

Re: [Catalyst] PDF upload problems (prob OT)?

2008-11-10 Thread Tomas Doran
On 6 Nov 2008, at 16:04, Dr. Jennifer Nussbaum wrote: Theres a length difference when i download. A test file i uploaded is 165681 bytes, but when i upload and save it to the database, and then display the file from my app and save it, its 165685 bytes-- four more. What should i be

Re: [Catalyst] Simple caching question

2008-11-10 Thread Tomas Doran
On 8 Nov 2008, at 15:46, Jesse Sheidlower wrote: Now I'm not getting any of my static pages. All of the files in my root/static directory (which are served by Static::Simple, not Apache) are 404'ing, even though Apache looks like it's pointing to the right place. Backing out the caching stuff

Re: [Catalyst] test server running off of ipv6?

2008-11-13 Thread Tomas Doran
On 13 Nov 2008, at 20:48, marcus baker wrote: actually, as usual this turned out to be one of a number of problems that seem to only pop up when running on a 64bit os - I dropped back down to 32bit Ubuntu, and the ipv6 is still compiled, in however everything works fine now. I do all my

Re: [Catalyst] Auth::PAM??

2008-11-13 Thread Tomas Doran
On 14 Nov 2008, at 00:28, Michael Higgins wrote: I had the idea to make an app that authenticates against PAM. Can this be done? There is Cat:P:A:C:PAM, but [warn] Credential class Catalyst::Authentication::Credential::PAM not found, trying deprecated ::Plugin:: style naming. [error] THIS

Re: [Catalyst] One App, multiple databases

2008-11-20 Thread Tomas Doran
On 20 Nov 2008, at 14:51, Jose Luis Martinez wrote: Jonathan Rockway escribió: * On Wed, Nov 19 2008, Jose Luis Martinez wrote: sub ACCEPT_CONTEXT { my ($self, $c) = @_; my $user_db = $c-lookup_the_users_db(); $self-{'dsn'} =~ s/#DATABASE#/$user_db/; return $self; } I am

Re: [Catalyst] PDF upload problems (prob OT)?

2008-11-27 Thread Tomas Doran
On 27 Nov 2008, at 12:51, Dr. Jennifer Nussbaum wrote: I have added this debug code, and discovered that for this file it is always 9 bytes. Thats what it is in the filesystem before i upload it, thats what it is when Cat reports it as T0m suggest i do above, and thats what it is when

Re: [Catalyst] Catalyst install failure due to Mouse.pm on Debian Etch

2008-11-27 Thread Tomas Doran
On 27 Nov 2008, at 11:40, Simon Elliott wrote: Hey toby... http://search.cpan.org/src/MRAMBERG/Catalyst-Action- RenderView-0.08/Makefile.PL - I'm pretty sure RenderView does not depend on Mouse. is does however depend on Data::Visitor which uses Squirrel, so installing Moose should

Re: [Catalyst] Re: OT: Use the CPAN, Luke?

2008-11-28 Thread Tomas Doran
On 28 Nov 2008, at 01:31, Johan Lindström wrote: At 06:58 2008-11-27, Aristotle Pagaltzis wrote: According to the Mouse docs, Mouse supports the most commonly used features of Moose, but runs in 25% of the time. I'm happyt. I benchmarked a few OO/accessor modules, and Mouse was amongst

Re: [Catalyst] Extra characters inserted into PDF output

2008-12-03 Thread Tomas Doran
On 3 Dec 2008, at 11:59, Dr. Jennifer Nussbaum wrote: This looks like it's going to call fillform() even if theres a response set... Jen codes THATS IT! I just added return if $c-response-body; after the forward and it works! Nothing inserted! The problem was with fillform all the

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-07 Thread Tomas Doran
On 5 Dec 2008, at 23:00, Guillermo Roditi wrote: All of you who have experienced errors rooted in MooseX::Emulate/ Adopt::Class::Accessor::Fast please please please send me error messages and show me the code that breaks. I think the trunk version fixes all your problems, but nobody has

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-07 Thread Tomas Doran
On 5 Dec 2008, at 23:00, Guillermo Roditi wrote: I think the trunk version fixes all your problems, but nobody has been able to accurately describe their problems or produce a simple failing test case. So, if my code is breaking your code, holla back! Please find attached a simple test

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-08 Thread Tomas Doran
On 8 Dec 2008, at 23:15, Bill Moseley wrote: This suppose to be drop-in compatible with 5.7? That's the aim, although we're probably not there yet.. perl, v5.10.0 All tests pass building Catalyst-Runtime but it's very noisy: Subroutine uninitialize redefined at

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-10 Thread Tomas Doran
On 10 Dec 2008, at 20:20, Guillermo Roditi wrote: So, problem resolved, fix known. will fix and release when i have some time. some time later this week, maybe next. Awesome, thanks. t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Fwd: [Catalyst] disable session in authentication

2008-12-10 Thread Tomas Doran
Whoops, that should have gone to the list as well.. Begin forwarded message: From: Tomas Doran [EMAIL PROTECTED] Date: 10 December 2008 23:58:19 GMT To: Bernhard Graf [EMAIL PROTECTED] Subject: Re: [Catalyst] disable session in authentication On 10 Dec 2008, at 23:16, Bernhard Graf wrote

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-13 Thread Tomas Doran
On 9 Dec 2008, at 10:10, Chisel Wright wrote: On Tue, Dec 09, 2008 at 08:30:10AM +, Tomas Doran wrote: What versions of Moose and Class::MOP are you running? 0.60 and 0.68 respectively I in no way think it is related, but can you try upgrading to the latest Moose just in case

Re: [Catalyst] Unnecessary session writes

2008-12-16 Thread Tomas Doran
On 10 Dec 2008, at 22:25, Bill Moseley wrote: When Catalyst::Session fetches an existing session it records its signature which it then compare with the session data at the end of the request to decide if the session should be written. snip So, if you look at the session every request, for

Re: [Catalyst] Unnecessary session writes

2008-12-17 Thread Tomas Doran
On 17 Dec 2008, at 05:11, Bill Moseley wrote: On Tue, Dec 16, 2008 at 06:20:43PM +, Tomas Doran wrote: Do you fancy writing a test for the issue so we can actually prove it is gone? Well, it would could be something like this: snip Again looks perfectly reasonable to me

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-17 Thread Tomas Doran
On 17 Dec 2008, at 14:52, Carl Franks wrote: Can you try trunk, as I think this issue is already fixed there? Confirmed working - many thanks. No problem. There isn't a failing test for this - I just changed it because it looked 'more right' and didn't break anything. Fancy attempting

Re: [Catalyst] Re: Upload problem

2008-12-23 Thread Tomas Doran
On 23 Dec 2008, at 10:33, Florent Angly wrote: I still haven't made any progress on this issue... Any hint on where to look to debug this problem? At a guess, I think this is a browser based problem, and the request is never being sent to the Catalyst server. I know that I've

Re: [Catalyst] Re: Upload problem

2008-12-24 Thread Tomas Doran
On 23 Dec 2008, at 18:13, Florent Angly wrote: I'd be interested in knowing what browser you used, or if you did any client side chopping of the files to allow uploading of files larger than 2GB. If there's no easy way, I could always forget about a workaround and have users put/upload

Re: [Catalyst] Re: System call problem

2008-12-24 Thread Tomas Doran
On 19 Dec 2008, at 16:21, Florent Angly wrote: Well, after some more fiddling and researching, I figured this problem out. Using the modified command: system(@formatdb_cmd) == 0 or die(Could not run command: @formatdb_cmd\nReturn status: $?\nMessage: $!); I found out that my error message

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Tomas Doran
On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system perl but beside it) or 5.10. I don't consider this good advice, especially for a

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Tomas Doran
On 24 Dec 2008, at 18:27, Ashley wrote: On Dec 24, 2008, at 2:08 AM, Tomas Doran wrote: On 24 Dec 2008, at 00:25, Ashley wrote: I love OS X but the Perl it has historically shipped with is historically no so hot. I would strongly recommend you install the latest 5.8 (NOT over your system

Re: [Catalyst] installing catalyst on mac os

2008-12-24 Thread Tomas Doran
On 24 Dec 2008, at 11:51, Filippo A. Salustri wrote: I do recall trying just 'install Catalyst' some time ago, but that crapped out too. I'll try that again and see if the error messages look any different. How long ago is 'some time ago'? I did this on a fresh perl 5.8.8 less than two

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-27 Thread Tomas Doran
On 5 Dec 2008, at 23:00, Guillermo Roditi wrote: I think the trunk version fixes all your problems, but nobody has been able to accurately describe their problems or produce a simple failing test case. HTML::Widget uses Class::Accessor::Chained::Fast, which overrides make_accessor. As

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-27 Thread Tomas Doran
On 5 Dec 2008, at 23:00, Guillermo Roditi wrote: All of you who have experienced errors rooted in MooseX::Emulate/ Adopt::Class::Accessor::Fast please please please send me error messages and show me the code that breaks. Catalyst::Plugin::HashedCookies calls Catalyst::Request-

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-29 Thread Tomas Doran
On 5 Dec 2008, at 23:00, Guillermo Roditi wrote: I think the trunk version fixes all your problems, but nobody has been able to accurately describe their problems or produce a simple failing test case. I've found another one - if you assign a list to a CAF accessor, then it packs the

Re: [Catalyst] [Announce] Catalyst-Runtime 5.8000_04 shipped to CPAN

2008-12-29 Thread Tomas Doran
On 29 Dec 2008, at 16:40, Guillermo Roditi wrote: HTML::Widget uses Class::Accessor::Chained::Fast, which overrides make_accessor. As mk_accessors no longer uses make_accessor to generate the coderef, this breaks horribly... Uhm. wontfix? I don't even know how it would be possible to fix

Re: [Catalyst] Unnecessary session writes

2008-12-29 Thread Tomas Doran
On 17 Dec 2008, at 13:11, Bill Moseley wrote: On Wed, Dec 17, 2008 at 08:34:36AM +, Tomas Doran wrote: Apologies if I wasn't being clear perviously - could you convert your suggested changes and test into a diff against the distribution which someone could just apply with patch, rather

Re: [Catalyst] size of the uploaded file

2009-01-04 Thread Tomas Doran
On 4 Jan 2009, at 13:42, Octavian Rasnita wrote: Does anyone know if the browsers have some file upload size limits and if they can be modified? Yes, no - but you can work around them with Flash or Java. This was discussed on-list recently:

Re: [Catalyst] Large static files behind Authorisation

2009-01-04 Thread Tomas Doran
On 4 Jan 2009, at 11:09, Nickolay Platonov wrote: Thats strange, because as I know default template (actually default View) is applying only if the response body is empty.. Actually, you're totally correct - in this situation (if you call serve_static_file), then you *do not* have to

Re: [Catalyst] Large static files behind Authorisation

2009-01-04 Thread Tomas Doran
On 4 Jan 2009, at 08:48, Trevor Phillips wrote: I'm currently trying to use Catalyst::Plugin::Static::Simple, which has a documented function serve_static_file to serve a static file from a Controller. However, I am getting an error as the TT View is still trying to apply a default

[Catalyst] Catalyst::Plugin::Session - please help test new release.

2009-01-11 Thread Tomas Doran
Hiya There have been some fairly major changes to the way that the session code is structured recently. This work, by Sergio Salvi, changes where the session plugin hooks into the request cycle to remove a race condition, and changes the storage of the flash to be within the normal

Re: [Catalyst] Problems with session under IIS

2009-01-12 Thread Tomas Doran
On 12 Jan 2009, at 14:28, Stuart Watt wrote: It's probably not entirely helpful, but once I eventually managed to get IIS working, snip One major difference: I used FastCGI snip Which version of IIS are you using? What version of IIS are _you_ using? There was a patch applied to 5.80

[Catalyst] Catalyst::Plugin::Authentication - please help test new release.

2009-01-12 Thread Tomas Doran
Hiya There have been some fairly major changes to the way that the authentication backwards compatibility is structured recently. This will affect you if your application is still using a Catalyst::Plugin::Authentication::Store::XXX or a Catalyst::Plugin::Authentication::Credential::XXX

Re: [Catalyst] Catalyst::Plugin::Session - please help test new release.

2009-01-12 Thread Tomas Doran
On 12 Jan 2009, at 19:41, Bill Moseley wrote: On Mon, Jan 12, 2009 at 05:30:08AM +, Tomas Doran wrote: I'm reasonably sure that it's all working as expected, but I want to get as much testing as possible before pushing up a release which will install by default for people to reduce

Re: [Catalyst] Production session issue - commercial support inquiry?

2009-01-26 Thread Tomas Doran
On 26 Jan 2009, at 20:27, Matt Pitts wrote: If it is Apache, I imagine it's related to mod_cache, although I *thought* I had it properly configured. As an exercise; after a simple restart of Apache on the proxy I was *unable* to duplicate the cookie issue after ten minutes of trying whereas

Re: [Catalyst] Detach won't detach?

2009-01-26 Thread Tomas Doran
On 26 Jan 2009, at 19:34, koniczynek wrote: This example is pretty much exactly the same as in the main Catalyst pod. I looked there and found nothing. Bad searcher I am. Doc patches to make it easier for the next person who comes along would be welcome :) Cheers t0m

Re: [Catalyst] Setting Template Tookit WHILE_MAX from Catalyst

2009-01-26 Thread Tomas Doran
On 26 Jan 2009, at 19:50, Kutbuddin wrote: Hi, I would like to know how to set the TT variable : $Template::Directive::WHILE_MAX from within Catalyst.. maybe as part of the site View configuration in lib/MyApp/View/TT.pm or similar By default the maximum for a while loop is 1000. This

Re: [Catalyst] Using Selenium to test Catalyst app

2009-01-28 Thread Tomas Doran
On 28 Jan 2009, at 17:47, michael reddick wrote: I edited the module to remove the bits which launched seleniumrc. It now works very nicely talking to selenium running in a vm. I had luck grabbing the latest version of selenium-server.jar and copying that over

Re: [Catalyst] Subclass Catalyst::View::TT to use Template::Foo instead of Template?

2009-01-28 Thread Tomas Doran
On 28 Jan 2009, at 19:05, Larry Leszczynski wrote: Or would it make sense to modify Catalyst::View::TT to accept a new config argument like TEMPLATE_CLASSNAME (that defaults to Template)? That'd make perfect sense to me. It'd probably also make sense to have the Template factory, and the

Re: [Catalyst] [Announce] Catalyst-Runtime-5.8000_05

2009-01-29 Thread Tomas Doran
On 29 Jan 2009, at 19:51, Frank Wiegand wrote: t/optional_memleak.t fails some of its tests. Is this something to worry about? See also RT Ticket #42540, which was filled against 5.7100. No, its not.. This is a known issue with the test which hasn't been solved yet. 5.8000_04 _did_ leak

Re: [Catalyst] Re: Supressing passwords in debug messages

2009-01-29 Thread Tomas Doran
On 29 Jan 2009, at 18:53, Byron Young wrote: Hi - I'm not sure what the repost policy on patches, but I have the feeling this one slipped through the cracks. Let me know if it's generally annoying to repost stuff. No, reposting if things get dropped on the floor good :) If you have

Re: [Catalyst] Re: decoding in core (Was: [Announce] Catalyst-Runtime-5.8000_05)

2009-02-06 Thread Tomas Doran
On 6 Feb 2009, at 14:46, Bill Moseley wrote: Nobody responded to the main point of this email -- if Catalyst should handle encoding in core instead of with a plugin. Nobody has an opinion about that? Or is was it just ignored -- which is often how people handle character encoding in

Re: [Catalyst] Catalyst::Engine::SCGI

2009-02-08 Thread Tomas Doran
On 8 Feb 2009, at 13:37, Will Hawes wrote: I've found a few references to Catalyst::Engine::SCGI from 2007, but it seems to have disappeared at some stage. Can anyone shed any light on what happened to it - has it just been abandoned, or superseded by something else? It still exists in the

Re: [Catalyst] Catalyst::Plugin::Session::Store::CHI

2009-02-10 Thread Tomas Doran
On 10 Feb 2009, at 02:02, Ashley wrote: Has anyone written Catalyst::Plugin::Session::Store::CHI for personal use yet? snip http://search.cpan.org/~fayland/Catalyst-Plugin-CHI-0.03/lib/ Catalyst/Plugin/CHI.pm I have no idea why this module needs to exist at all - surely you can plug

Re: [Catalyst] Catalyst::Plugin::Session::Store::CHI

2009-02-10 Thread Tomas Doran
On 10 Feb 2009, at 02:05, Ashley wrote: Actually, replying to myself already; and top posting to boot. Tut tut, if you weren't offering to write code, I'd have to call the mail police ;_) Alternatively: would it be a good idea to make the ::Store automatically discover the cache if

Re: [Catalyst] Plugin::Authentication overrides $c-req-user

2009-02-11 Thread Tomas Doran
On 11 Feb 2009, at 21:37, Peter Karman wrote: Daniel Westermann-Clark wrote on 02/11/2009 02:53 PM: If no one is using this behavior, I'd be happy to provide patches to deprecate or remove it. Why not just add a remote_user() method on $c-req instead? It's a little more typing, but is more

Re: [Catalyst] Current state of Catalyst::Model::IMAP

2009-02-12 Thread Tomas Doran
On 12 Feb 2009, at 17:56, Alex Povolotsky wrote: Can anyone tell me about current status of Catalyst::Model::IMAP? I don't see why this needs a Catalyst specific wrapper? Surely you pick which ever of Net::IMAP::Client / IMAP::Client / Net::IMAP / Net::IMAP::Simple / Email::Folder::IMAP

Re: [Catalyst] Using Selenium to test Catalyst app

2009-02-17 Thread Tomas Doran
On 17 Feb 2009, at 02:04, Daniel Austin wrote: So I volunteered to co-maintain Alien::SeleniumRC and the author has kindly given access. I've updated the selenium-server.jar and uploaded to CPAN. Should work for everyone now out of the box. You sir are a legend. I look forward to it

Re: [Catalyst] DBIC::Schema issue - out of ideas [ more info ]

2009-02-18 Thread Tomas Doran
On 18 Feb 2009, at 10:43, kakim...@tpg.com.au wrote: In short: Never ever myApp_create.pl in the scripts directory level. Don't know why it is such (which I think is silly cause we should be able to run the any damn script in the directory level which it is made in without problems).

Re: RFC local::lib + CPAN shell support in CatalystX::Starter (was: Re: [Catalyst] RFC: The paradox of choice in web development)

2009-02-20 Thread Tomas Doran
On 19 Feb 2009, at 18:27, Matt Pitts wrote: All this talk about Perl/Catalyst/CPAN pains, has got me thinking... Anybody like the idea of having a local::lib bootstrap option to CatalystX::Starter and possible integration of a script that would launch a CPAN shell for installing into the

Re: [Catalyst] Re: decoding in core (Was: [Announce] Catalyst-Runtime-5.8000_05)

2009-02-20 Thread Tomas Doran
On 6 Feb 2009, at 17:36, Bill Moseley wrote: Sure. IIRC, I think there's already been some patches and code posted so maybe I can dig that up again off the archives. Please do. But, sounds like it's not that important of an issue. The fact that nobody is working on it currently is not

Re: [Catalyst] RFC: New to Catalyst questions

2009-02-20 Thread Tomas Doran
On 20 Feb 2009, at 01:18, Trevor Phillips wrote: What is the best practices for Wiki updates? There isn't one specifically. Should new articles be posted to this list first, for discussion, or should they be just whacked into the Wiki, then posted here for review/deletion? I'd do the

Re: [Catalyst] Plugin::Authentication overrides $c-req-user

2009-02-20 Thread Tomas Doran
On 20 Feb 2009, at 22:57, Daniel Westermann-Clark wrote: On 2009-02-11 21:53:48 +, Tomas Doran wrote: Why not just add a remote_user() method on $c-req instead? It's a little more typing, but is more explicit about where the value comes from and doesn't potentially break any existing apps

Re: [Catalyst] stripping path parts and then redispatch?

2009-02-22 Thread Tomas Doran
On 22 Feb 2009, at 22:28, Larry Leszczynski wrote: I'm using Catalyst 5.8.5 so I can make use of any of forward, detach, visit, go, etc. Not helpful to your main email, but there is no such version as 5.8.5? I assume you mean 5.8000_05, which is a developer release? Cheers t0m

Re: [Catalyst] stripping path parts and then redispatch?

2009-02-24 Thread Tomas Doran
On 24 Feb 2009, at 18:49, Larry Leszczynski wrote: I'll be happy to give it a go, if someone can suggest appropriate places to add this to the POD and/or wiki... How about here: http://dev.catalyst.perl.org/wiki/wikicookbook $c-SUPER::prepare_path(@_); Tiny nit pick - you

Re: [Catalyst] (OT) Navigation parameters in session

2009-02-27 Thread Tomas Doran
On 26 Feb 2009, at 16:54, Zbigniew Lukasiak wrote: I think I can have some fighting chance to counter that trend if I feed the bosses with some authoritative enough documents. From the horses mouth (Tim Berners-Lee) in 1991: http://www.w3.org/DesignIssues/UI.html Some basic principles:

Re: [Catalyst] Can't locate method ??? via MyApp

2009-03-03 Thread Tomas Doran
On 3 Mar 2009, at 09:40, Dermot wrote: Hi, Running prove over my t directoty is giving me errors: Error: Can't locate object method config via package MyApp at lib/MyApp/Model/DB.pm line 7. snip Can't locate object method path_to via package MyApp at lib/MyApp/View/TT.pm line 20. snip

Re: [Catalyst] Google Summer of Code: mentors, projects

2009-03-03 Thread Tomas Doran
On 3 Mar 2009, at 09:08, Octavian Râsnita wrote: Of course, the only out of the box solution for running the apps would be the CGI way, because for running the testing server or for configuring fastcgi or mod_perl would need root permissions, but I think this is the same in case of other

Re: [Catalyst] Can't locate method ??? via MyApp

2009-03-03 Thread Tomas Doran
On 3 Mar 2009, at 10:22, Dermot wrote: Loading a leaf node in your object graph does not imply loading all of its parent nodes. Is this because of use base? I was under the impression that the inheritance search would go up to the parent. Correct, but MyApp::Model::Foo ISA

Re: [Catalyst] clear() method for Catalyst::Plugin::Cache?

2009-03-11 Thread Tomas Doran
Larry Leszczynski wrote: But I see your point about the danger of clearing/flushing more than you might expect. Regardless of cache flavor, you could set up separate backend instances for different pools of data (via e.g. different cache_roots for Cache::FileCache or different server instances

Re: [Catalyst] reconnecting the DB model using a different DB account

2009-03-11 Thread Tomas Doran
Karl Forner wrote: The problem is that I get error messages [error] DBIx::Class::Storage::DBI::ensure_connected(): DBI Connection failed: ERROR OCIEnvNlsCreate. Check ORACLE_HOME (Linux) env var or PATH (Windows) and or NLS settings, permissions, etc. I have tried using directly the DBI dbh

Re: [Catalyst] Thoughts On GeoIP Modules?

2009-03-11 Thread Tomas Doran
Andy Dorman wrote: We have several signup web sites using Catalyst. Recently we have realized we are going to have to limit signups by geographical region to help limit abuse. Captchas (we use and love reCaptcha) and other heuristics just do not seem to be sufficient. Please start new threads

Re: [Catalyst] Accessing a Controller from ~/script

2009-03-11 Thread Tomas Doran
Dermot wrote: Currently I load the configuration into the stand alone Class with a combination of FindBin and Config::General. I thought I could avoid that seeming as config is already in my context ($c). So I did: package MyApp::Model::MyAdaptor; use strict; use warnings; use base

Re: [Catalyst] Catalyst::Engine::HTTP and Expect.pm

2009-03-19 Thread Tomas Doran
Frank Wiegand wrote: Hi, I have problems to get Expect.pm working within the builtin test server. snip Anyone else used Expect.pm and got this behaviour? I use Catalyst::Engine::HTTP from Catalyst-Runtime-5.8000_06. No, but I'd guess that this may fix your issue:

Re: [Catalyst] how to authenticate using database users

2009-03-20 Thread Tomas Doran
Karl Forner wrote: 2) write a custom Authentication plugin, the your specific code is in _authenticate_against_SGDB package Serono::Gecko::Business::CredentialVerifier; use Catalyst::Plugin::Authentication::User::Hash; sub authenticate { my ( $self, $c, $realm, $authinfo ) = @_; snip

Re: [Catalyst] UTF8 Characters in Chained Arguments

2009-03-20 Thread Tomas Doran
On 21 Mar 2009, at 00:02, Rod Taylor wrote: I've found that URI parameters (?foo=bar) function fine but unicode characters in Chain() arguments do not survive from one page to the next. This is almost certainly a bug. Can you try and work up a test case, either against C::P::U, or against

  1   2   3   4   5   6   7   8   9   >