Re: [Catalyst] CatalystX::SimpleLogin and "auto"

2010-02-09 Thread Florian Ragwitz
On Tue, Feb 09, 2010 at 11:50:45PM -0800, Ovid wrote: >Note that leaving the method there but removing the "if ($c) {}" allows >the form to show up again. I've no idea why this is happening :) Note that the return value of auto actions can modify dispatching. See http://dev.catalyst.perl.

[Catalyst] CatalystX::SimpleLogin and "auto"

2010-02-09 Thread Ovid
I'm having a bit of trouble with the latest CatalystX::SimpleLogin where it can't find the "login/login.tt" template. To replicate: catalyst.pl MyApp cd MyApp/ script/myapp_create.pl view HTML TT vim lib/MyApp.pm # add plugin and authentication information as per # http:/

[Catalyst] Re: Large requests with JSON?

2010-02-09 Thread Aristotle Pagaltzis
* Bill Moseley [2010-02-09 16:10]: > On Tue, Feb 9, 2010 at 2:36 AM, Aristotle Pagaltzis wrote: > > That sounds like the case I was thinking about: just do a PUT > > request with X-MyApp-Filename, X-MyApp-Timestamp etc headers. > > Of course, I left out the ability to upload multiple flies at > on

Re: [Catalyst] Re: Large requests with JSON?

2010-02-09 Thread Bill Moseley
On Tue, Feb 9, 2010 at 2:36 AM, Aristotle Pagaltzis wrote: > > 3) upload a document for the user and the document must include > > an associated collection of meta data (e.g. filename, > > timestamp, author etc.). The uploaded document must include > > this meta data before it can be accepted. > >

[Catalyst] Re: Large requests with JSON?

2010-02-09 Thread Aristotle Pagaltzis
* Bill Moseley [2010-02-06 23:35]: > 1) create a new user in account #1234 with name, email, etc. This is just a normal form POST. > 2) create a user but also provide a photo when creating the user I might separate this out into two requests – whatever the POST request returns would contain a l