[Catalyst] Has anyone read the book Catalyst 5.8 : The Perl MVC Framework yet?

2010-10-01 Thread Kiffin Gish
actually read the book, that is. I've already seen a couple blog entries and they tend to be fairly negative (we sure prefer to rant). -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] User management with Catalyst (with email and URLs)

2010-08-26 Thread Kiffin Gish
You might want to have a look in the MojoMojo code for an example of something similar. Is this is not exactly what you require, then I can provide you with some of my own example code which does something slightly more complicated. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands

Re: [Catalyst] Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90.

2010-05-03 Thread Kiffin Gish
@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands

Re: [Catalyst] Automated testing?

2010-04-19 Thread Kiffin Gish
site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread Kiffin Gish
://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] Global behaviour modification

2010-03-27 Thread Kiffin Gish
/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site

Re: [Catalyst] Catalyst::Plugin::Prototype: current state?

2010-03-20 Thread Kiffin Gish
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands

Re: [Catalyst] Signup/Wizards recommendations

2010-03-08 Thread Kiffin Gish
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi

[Catalyst] Catalyst::Plugin::AutoCRUD and multiple roles

2010-03-03 Thread Kiffin Gish
glass with an onhover list). I can go to the User Roles table and do this, bit it'd be nice to be able to accomplish this all in one dialog box, namely the one for edit user. Is this possible? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands

[Catalyst] Clearing $c-req-params in CatalystX::SimpleLogin ...

2010-02-19 Thread Kiffin Gish
that the user/password fields need to be entered. The solution is to clear the parameters before passing them on to the loginpage. In the package CX::SL::TF::C::Login::WithRedirect: # Clear the parameter fields. delete $c-req-params-{$_} for (keys %{$c-req-params}); Curious what others think... -- Kiffin

Re: [Catalyst] Multiple chaining to same action ...

2010-02-16 Thread Kiffin Gish
. For reqs. 2 and 3, the user will be required to change password before doing anything else, security. On Mon, 2010-02-15 at 23:14 +0200, Octavian Rasnita wrote: From: Kiffin Gish kiffin.g...@planet.nl In my application, users are allowed to edit only their own settings like this: /account/id

[Catalyst] Multiple chaining to same action ...

2010-02-15 Thread Kiffin Gish
and if so is it possible? Thanks alot in advance, Kiffin -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Multiple chaining to same action ...

2010-02-15 Thread Kiffin Gish
I just happened to find the answer here: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg07604.html t0m++ for (1..10) On Mon, 2010-02-15 at 21:38 +0100, Kiffin Gish wrote: In my application, users are allowed to edit only their own settings like this: /account/id/client/settings

Re: [Catalyst] datetime formatting ...

2010-02-13 Thread Kiffin Gish
That worked, thanks. Only weird thing now is that the time is one hour behind. On Thu, 2010-02-11 at 12:45 -0300, Eden Cardim wrote: Kiffin == Kiffin Gish kiffin.g...@planet.nl writes: Kiffin I've got a datetime column defined: __PACKAGE__- add_columns( Kiffin

Re: [Catalyst] datetime formatting ...

2010-02-13 Thread Kiffin Gish
Well actually I want to relate it to the timezone of the current user or if that is not set in the user preferences, the browser time. On Sat, 2010-02-13 at 23:09 +0200, Octavian Rasnita wrote: From: Kiffin Gish kiffin.g...@planet.nl That worked, thanks. Only weird thing now is that the time

Re: [Catalyst] datetime formatting ...

2010-02-13 Thread Kiffin Gish
Thanks. You're right about the timezone thing, I was confused with javascript and now realize that the tz is not passed via HTTP headers. Could save it in a cookie. Is $c-user-get(x) the same as $c-user-x ? mvg Kiffin On Sat, 2010-02-13 at 23:51 +0200, Octavian Rasnita wrote: From: Kiffin Gish

Re: [Catalyst] Re: action_for with user_id removed ...

2010-02-06 Thread Kiffin Gish
On Fri, 2010-02-05 at 11:33 +0100, Aristotle Pagaltzis wrote: * Kiffin Gish kiffin.g...@planet.nl [2010-02-01 17:20]: I have a number of user-defined actions which are described with the user id like this: settings/user_id/(view|edit) Where user_id is the primary key into the users

[Catalyst] Change user password

2010-02-01 Thread Kiffin Gish
(as if he/she has re-logged in with it)? Is this something that $c-authenticate can help me with, how then? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

[Catalyst] action_for with user_id removed ...

2010-02-01 Thread Kiffin Gish
). Is it possible to retain these, but for users who are logged in the /user_id/ is removed to get this visible instead: settings/(view|edit) Thanks alot in advance. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Change user password

2010-02-01 Thread Kiffin Gish
, {password=$pass}); On Mon, Feb 1, 2010 at 5:47 PM, Kiffin Gish kiffin.g...@planet.nl wrote: I want to give users the ability to change their password via the usual web form: current password: ___ new password: ___ re-type: ___ How do I check

Re: [Catalyst] action_for with user_id removed ...

2010-02-01 Thread Kiffin Gish
Then to make my story complete, I just snip out the part of the action chain that extracts the id, and hook up the loose ends. Very elegant! On Mon, 2010-02-01 at 20:38 +0200, Octavian Rasnita wrote: From: Kiffin Gish kiffin.g...@planet.nl I have a number of user-defined actions which

Re: [Catalyst] Change user password

2010-02-01 Thread Kiffin Gish
probably more readable for people not knowing the Authentication internals On Mon, Feb 1, 2010 at 10:34 PM, Kiffin Gish kiffin.g...@planet.nl wrote: Thanks Bogdan, works like a charm! I noticed that the following also works: $c-authenticate( { username = $username, password

[Catalyst] Login as another user ...

2010-01-18 Thread Kiffin Gish
As system administrator who has root access to everything, I want to be able to login as another user from my dashboard page. What's the best way to achieve this? I tried $c-authenticate without a password, but this doesn't seem to work. -- Kiffin Gish kiffin.g...@planet.nl Gouda

RE: [Catalyst] Login as another user ...

2010-01-18 Thread Kiffin Gish
Doesn't $c-logout() already do that for you? On Mon, 2010-01-18 at 12:08 +0100, Dami Laurent (PJ) wrote: -Message d'origine- De : Kiffin Gish [mailto:kiffin.g...@planet.nl] Envoyé : lundi, 18. janvier 2010 11:34 À : The elegant MVC web framework Objet : [Catalyst] Login as another

[Catalyst] Login authentication using C::HTML::FormBuilder ...

2010-01-14 Thread Kiffin Gish
-validated(), making my controller fatter. Is there another way of accomplishing this more elegantly, or is one of these options acceptable? Just curious is all. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst

Re: [Catalyst] modules for conditional GET ?

2010-01-14 Thread Kiffin Gish
/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Bugzilla REST API in Catalyst

2010-01-11 Thread Kiffin Gish
/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Bugzilla REST API in Catalyst

2010-01-11 Thread Kiffin Gish
I'm not familiar with Mecurial and can't get hg to run correctly. Do you think you could just create a standard dist and make the tarball available for download? On Mon, 2010-01-11 at 14:10 +, Gervase Markham wrote: On 11/01/10 12:28, Kiffin Gish wrote: Although I'm less a Catalyst expert

Re: [Catalyst] Bugzilla REST API in Catalyst

2010-01-11 Thread Kiffin Gish
. hdp. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish

Re: [Catalyst] create controller helper

2010-01-10 Thread Kiffin Gish
--- If I add 1; after make_immutable it all loads just fine. Am I doing something wrong? On Sat, 2010-01-09 at 15:26 +, Tomas Doran wrote: On 9 Jan 2010, at 11:35, Kiffin Gish wrote: Yes you're right, I overlooked the presence namespace::autoclean at the top. Checked out

Re: [Catalyst] create controller helper

2010-01-10 Thread Kiffin Gish
Oops, I discovered the presence of two calls to make_immutable which was causing the problem, sorry. In that case $self-is_immutable is no longer true, and make_immutable will just not do anything and immediately return (false). On Sun, 2010-01-10 at 12:36 +0100, Kiffin Gish wrote: Turns out

[Catalyst] C::V::Email::Template cannot send data ...

2010-01-09 Thread Kiffin Gish
([Host = 'localhost']); $sender-send($message); - Am very curious if anyone can spot the problem. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

[Catalyst] create controller helper

2010-01-08 Thread Kiffin Gish
is not included by default: use namespace::clean -except = 'meta'; Shouldn't that be the case? Again what are the advantages/disadvantages? Thanks alot in advance. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst

[Catalyst] Resultset directory vs. Result?

2010-01-06 Thread Kiffin Gish
I was just wondering what the purpose of the Schema/Resultset directory is compared with Schema/Result? Seems that whatever I can so under Resultset I can also do under Result, so what are the advantages? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands

[Catalyst] datetime formatting ...

2010-01-06 Thread Kiffin Gish
of there, replacing it with the usual space? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

[Catalyst] Format last modified date field ...

2009-12-28 Thread Kiffin Gish
, size = undef, }, ); Thanks alot in advance. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

[Catalyst] Limit Catalyst::Helper::Model::DBIC::Schema to a single table ...

2009-12-25 Thread Kiffin Gish
a new table I don't want to recreate Schema/Results with a bunch of .new files and have to delete them after-wards. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi

Re: [Catalyst] advent calendar/2009/3

2009-12-03 Thread Kiffin Gish
://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst

[Catalyst] show_internal_actions = 1

2009-11-15 Thread Kiffin Gish
in advance, Kiffin -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] show_internal_actions = 1

2009-11-15 Thread Kiffin Gish
On Sun, 2009-11-15 at 03:07 -0800, Jacob Helwig wrote: Unless that's a typo in show_internal_actions = 0, then you probably haven't actually enabled it. I'm guessing you actually want show_internal_actions = 1. Yes that's a typo. Should be a 0, same question as before. -- Kiffin Gish

[Catalyst] $c-visit/go vs. $c-forward/dispatch

2009-11-08 Thread Kiffin Gish
Just curious to learn more about how and when to use $c-visit/go in place of a $c-forward/dispatch. I understand the documented differences, but are there any illustrative examples I could look at to learn more? Also, when would one choose to use a $c-redirect instead? -- Kiffin Gish kiffin.g

[Catalyst] Catalyst and workflow ...

2009-08-16 Thread Kiffin Gish
I was just wondering if there are any catalyst applications or other examples out there using some kind of workflow mechanism. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

[Catalyst] More up-to-date version of Perl 5.10 ...

2009-07-20 Thread Kiffin Gish
Hi there. Installed Catalyst and at the end it said that because of a bug in Perl 5.10 I need to update to a newer version. Which version do you recommend that is the most stable for Catalyst? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands

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

2009-07-13 Thread Kiffin Gish
/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive

Re: [Catalyst] Test::WWW::Mechanize::Catalyst and Catalyst::Controller::HTML::FormFu

2009-06-23 Thread Kiffin Gish
On Mon, 2009-06-22 at 21:50 +0100, Ash Berlin wrote: On 22 Jun 2009, at 19:50, Kiffin Gish wrote: I'm using Test::WWW::Mechanize::Catalyst to test my Catalyst App, more specifically the process for registering new user accounts. The application form is generated by Catalyst

Re: [Catalyst] Test::WWW::Mechanize::Catalyst and Catalyst::Controller::HTML::FormFu

2009-06-23 Thread Kiffin Gish
On Tue, 2009-06-23 at 13:05 +0200, Kiffin Gish wrote: On Mon, 2009-06-22 at 21:50 +0100, Ash Berlin wrote: On 22 Jun 2009, at 19:50, Kiffin Gish wrote: I'm using Test::WWW::Mechanize::Catalyst to test my Catalyst App, more specifically the process for registering new user accounts

[Catalyst] Test::WWW::Mechanize::Catalyst and Catalyst::Controller::HTML::FormFu

2009-06-22 Thread Kiffin Gish
weird reason. I tried debugging the HTML::FormFu stuff but this is all very complicated. Can anyone help me here? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk

[Catalyst] Catalyst::Plugin::Captcha example ...

2009-06-17 Thread Kiffin Gish
Is there some example code out there using the Captcha plugin so I could learn a bit better how to use it? - Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

[Catalyst] FormFu vs. FormBuilder ...

2009-06-10 Thread Kiffin Gish
What are the advantages/disadvantages for choosing between Catalyst::Controller::FormBuilder and Catalyst::Controller::HTML:FormFu? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

[Catalyst] Lighttpd and mod_perlite

2009-05-31 Thread Kiffin Gish
for lightweight and scalable options. -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

[Catalyst] perl -d chokes in namespace-clean ...

2009-05-27 Thread Kiffin Gish
through the code didn't reveal anything to me at all. Any ideas what's wrong? -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-26 Thread Kiffin Gish
I had a couple issues when running cpan Catalyst::Runtime, namely I first had to install manually: - Class:MOP - Moose Perhaps it'd be a good idea to make sure that the installation runs without errors before making the announcement public? - Kiffin Gish kiffin.g...@planet.nl Gouda

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-26 Thread Kiffin Gish
Guess it's been fixed then, rumor had it that there might have been some problem with the local mirror I was using? - Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands On Sun, 2009-04-26 at 19:23 +1000, Kieren Diment wrote: On 26/04/2009, at 7:18 PM, Kiffin Gish wrote: I had

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-24 Thread Kiffin Gish
and improved version of catalyst? -- Kiffin Gish kiffin.g...@planet.nl On Fri, 2009-04-24 at 08:56 +0100, Iain wrote: On Thu, 2009-04-23 at 08:46 -0700, John Napiorkowski wrote: Hi, I'm seeking feedback on: http://dev.catalystframework.org/wiki/releaseannouncements

[Catalyst] Couldn't instantiate component AddressBook::Model::AddressDB

2009-04-22 Thread Kiffin Gish
mention something about this but it is very cryptic to say the least. Can anyone out there help me get over this bump in the road so that I can continue sawing through the rest of the book? By the by, does anyone know when the hew Catalyst book will be available? Thanks, Kiffin - Kiffin Gish

Re: [Catalyst] Couldn't instantiate component AddressBook::Model::AddressDB

2009-04-22 Thread Kiffin Gish
Actually both People.pm and Address.pp were generated and can be found in the directory: lib/AddressBook/Schema/AddressDB/Result/. I thinks that's the problem. - Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands On Wed, 2009-04-22 at 11:22 +0100, Oliver Charles wrote: lib