[Catalyst] passwordless LDAP authentication

2009-07-27 Thread Rodrigo
Hi all, I'm using Catalyst::Authentication::Store::LDAP to authenticate users, but now I need to allow some of them to single-signon without a password, like this: if( $is_sso ) { $c-authenticate({ id= $user }); ## I trust this dude, so skip the check_password sub } else {

Re: [Catalyst] passwordless LDAP authentication

2009-07-27 Thread Andrew Rodland
On Monday 27 July 2009 04:38:35 am Rodrigo wrote: Hi all, I'm using Catalyst::Authentication::Store::LDAP to authenticate users, but now I need to allow some of them to single-signon without a password, like this: [...] I'm looking at the authentication internals and it seems to be missing

Re: [Catalyst] paging with Data::Page

2009-07-27 Thread Anne Wainwright
hi, Ian Thanks for advice, not always too keen to offload total problems for free code input, but in this instance after lots of hours spent ... # p.66 of Rockway Catalyst book. # currently displaying 'x to y of z' record count, but not paging to 10 per page. sub search : Global Form { my

Re: [Catalyst] paging with Data::Page

2009-07-27 Thread Ian Sillitoe
Thanks for advice, not always too keen to offload total problems for free code input, but in this instance after lots of hours spent ... Quickest way to get the problem fixed. I haven't got time to test the following just now, but my guess is that it is how you are assigning the result: -

Re: [Catalyst] 10 Catalyst Models in 10 Days wrapping up-ish

2009-07-27 Thread Octavian Râsnita
From: Ashley a...@sedition.com Hey, all. http://sedition.com/a/2733 is mostly done (I have serious repairs to do to make #9 work and might drop it entirely for a second stringer) Hi, Thank you for it. In the first model (Random quotes), I've seen the following line: sub get_one : method

[Catalyst] New release of HTML::FormHandler

2009-07-27 Thread Gerda Shank
The FormHandler DBIC model has been split into a separate package, so those using DBIC will need to install HTML::FormHandler::Model::DBIC. http://search.cpan.org/~gshank/HTML-FormHandler/lib/HTML/FormHandler.pm

Re: [Catalyst] paging with Data::Page

2009-07-27 Thread Anne Wainwright
Ian, hi. Thanks so much for the suggestion, see comment below. On Mon, 27 Jul 2009 14:42:25 +0100 Ian Sillitoe i...@sillit.com wrote: Thanks for advice, not always too keen to offload total problems for free code input, but in this instance after lots of hours spent ... Quickest way to

Re: [Catalyst] paging with Data::Page

2009-07-27 Thread Michael Reddick
does anyone else have a suggestion? try this: $c-stash-{result} = $result = $result-page($page) ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] New Apress book shipping now from Amazon.com

2009-07-27 Thread Darren Duncan
Darren Duncan wrote: Ari Constancio wrote: For those interested, Amazon.com is shipping now pre-orders for The Definitive Guide to Catalyst. Not sure about new orders, though. I've had a different experience so far. I pre-ordered the book on amazon.ca back on June 19th, and it estimated it

Re: [Catalyst] paging with Data::Page

2009-07-27 Thread Ian Sillitoe
Could be wrong, but I think the former is causing the resultset to be evaluated as an array and is therefore returning all the entries before the pager is being applied. Apologies - I was talking rubbish about the usage of stash being the cause (although I do think the resultset is being

Re: [Catalyst] paging with Data::Page

2009-07-27 Thread Michael Reddick
If the $pager is telling you the correct information (that the query only has 10 entries) but this is changing by the time it is being rendered in your template then perhaps another call is being made to the database (i.e. because something else is changing $c-stash-result). Based on the

Re: [Catalyst] CatalystX::CRUD Storage Error

2009-07-27 Thread Amiri Barksdale
On Thu, Jul 16, 2009 at 11:33:38PM -0500, Peter Karman wrote: | Also, your controller inherits from the base CatalystX::CRUD::Controller, which | doesn't really *do* anything by default. I.e., you need a form handler to | serialize and validate your model. Look at