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
Hi folks:
Working on a new version of some of our applications. One of the
things we are doing is providing an XMLRPC interface for some of our
functionality. I am setting up a new load of Catalyst::Devel and some
of the additional bits, and saw this nice shiny new
On Fri, Feb 5, 2010 at 8:56 PM, Tomas Doran bobtf...@bobtfish.net wrote:
On 5 Feb 2010, at 20:54, Bill Moseley wrote:
AFAIK, there's no way to stream parse JSON (so that only part is in memory
at any given time). What would be the recommended serialization for
uploaded files -- just use
On Sat, Feb 6, 2010 at 2:25 AM, Kiffin Gish kiffin.g...@planet.nl wrote:
From an HTTP point of view it is unwise to make endpoint URIs
like that which can refer to many different resources at any one
point in time.
I'm not so sure that I agree, though I can appreciate your point of
On Sat, Feb 6, 2010 at 4:35 PM, Bill Moseley mose...@hank.org wrote:
Plus, it sure is handy in documentation to say:
To update your personal profile go to: http://example.com/myprofile
vs.
To update your personal profile go to: http://example.com/user/your id
here/profile
We have to
* Kiffin Gish kiffin.g...@planet.nl [2010-02-06 11:25]:
I'm not so sure that I agree, though I can appreciate your
point of view.
All I'm doing in fact is using the $user-id saved in the
session, there being nothing papered over for authorization
which is accomplished via the usual login
* Bill Moseley mose...@hank.org [2010-02-06 17:30]:
As in don't provide a way to upload meta data along with the
file (name, date, description, author, title, reference id)
like the web upload allows with multipart/form-data? Or invent
some new serialization where the meta data is embedded in
* Dennis Daupert ddaup...@gmail.com [2010-01-24 18:05]:
On Mon, Jan 11, 2010 at 4:00 AM, Aristotle Pagaltzis pagalt...@gmx.dewrote:
I think you are looking for
my @caps = ( $user_id, $blog_id );
$c-go( '/user/blog/entry/list', \...@caps );
or just
$c-go(
I use CatalystX::SimpleLogin but I have to use Does('NeedsLogin') for every
method. For controllers which require a login for anything, what I want is this:
package Some::Controller::Stuff; use Moose; BEGIN { extend
'My::Controller::LoginRequired' }
I tried something like this:
package
I want my Catalyst tests to run against a test database. I wrote this:
package MyApp::Model::DB; use strict; use base
'Catalyst::Model::DBIC::Schema';
BEGIN {require MyApp;my $db = $ENV{HARNESS_ACTIVE} ? 'test' :
'myapp';my $config = MyApp-config-{database}{$db};
Catalyst::Controller::ActionRole documents how to apply roles to all
actions of a controller, without specifying the roles for each action
individually.
--
BOFH excuse #302:
microelectronic Riemannian curved-space fault in write-only file system
signature.asc
Description: Digital signature
John Atzger schrieb:
I use CatalystX::SimpleLogin but I have to use Does('NeedsLogin') for
every method. For controllers which require a login for anything, what I
want is this:
package Some::Controller::Stuff;
use Moose;
BEGIN { extend 'My::Controller::LoginRequired' }
I tried
Bernhard Graf schrieb:
# everything under /login needs login
sub root : Chained(/) PathPart(admin) CaptureArgs(0) Does(NeedsLogin)
{...}
correction:
# everything under /admin needs login
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
On Sat, Feb 6, 2010 at 11:29 AM, Aristotle Pagaltzis pagalt...@gmx.dewrote:
* Bill Moseley mose...@hank.org [2010-02-06 17:30]:
As in don't provide a way to upload meta data along with the
file (name, date, description, author, title, reference id)
like the web upload allows with
On Sat, Feb 6, 2010 at 2:01 PM, John Atzger jatz...@hotmail.com wrote:
I want my Catalyst tests to run against a test database. I wrote this:
package MyApp::Model::DB;
use strict;
use base 'Catalyst::Model::DBIC::Schema';
BEGIN {
require MyApp;
my $db =
On 6 Feb 2010, at 22:01, John Atzger wrote:
I don't want test information in my code. How do people do this?
Just make your tests set the MYAPP_CONFIG environment variable to
point at a test configuration with different DB details.
e.g.
16 matches
Mail list logo