' );
$c-session-{bar} = time; # Trigger session write
}
sub calculate_session_cookie_expires {
my $c = shift;
warn in calculate_session_cookie_expires , time, \n; sleep 1;
return time + 10;
}
1;
--
Bill Moseley
[EMAIL PROTECTED]
update_cookie.t
Description: Troff
point. It's nothing revolutionary, but it might be of interest to
others.
Yes, I'm sure it would be.
Thanks,
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
bad form - most clients that talk
to XMLRPC wont have a cookie jar.
Just to be clear, the paragraph above is about *not* using cookies for
the XMLRPC request.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
);
}
Or are you thinking of something else?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site
templates are UTF-8.
Then are you using 'Unicode::Encoding' plugin to generate UTF-8
output?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
class (just regex
the formbuilder crap out), or fixing the plugins/controllers to check
$c-config-{pluginname_debug) or something. Maybe we can make this
easier in 5.8; suggestions welcome.
Can't you limit what packages generate logging using log4perl?
--
Bill Moseley
[EMAIL PROTECTED
I finally spent time looking at why this plugin didn't work. I use
session cookies and the module didn't work with session cookies.
Here's a failing (now passing) test case and patch against svn.
--
Bill Moseley
[EMAIL PROTECTED]
Index: t/session_cookie.t
). And how to write the form fields to the database.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED
field
(like Fruit above) so you can use it in multiple forms and just say:
required = {
sh_name = SH_Name,
Then that field can the size set and any custom validation.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
the auto
login.
But, then I'm back to wondering if the feature is worth all that
trouble.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
to the request object?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http
it load a single minified
version.
--
Bill Moseley
[EMAIL PROTECTED]
___
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
all actions below
a give controller via:
sub auto : Private SSL { 1 }
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
method. The examples I've tried online
are often poorly implemented. A few that I tried failed to stop
making ajax requests after the file was uploaded.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
-{session}{expires}
time. Still, that doesn't *solve* the issue.
The work-around is simple; I'm just updating the session in auto()
for every request.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
On Sat, Mar 01, 2008 at 09:50:10PM -0600, Jonathan Rockway wrote:
* On Sat, Mar 01 2008, Bill Moseley wrote:
Is it expected that the application update the session every request
to prevent expiry while a user is actively using the application?
Is the problem that $c-session-{__expires
). It appears from the design of the
Session plugin that it's suppose to persist X seconds between requests
(the expires entry). So, it looks like a design problem.
The fact that you might be using a store that deletes entries for
other reasons than expire time is another issue.
--
Bill Moseley
Catalyst '-Debug' or -LOG=warn.
--
Bill Moseley
[EMAIL PROTECTED]
___
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
to somehow define a default
XMLRPC action?
--
Bill Moseley
[EMAIL PROTECTED]
___
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
posted a patch. Yes, December 5th with the
subject Patch for Catalyst::Plugin::Session::DynamicExpiry
$c-config-{session}{expires} = 31536000 if $c-req-param('remember_me');
That's per process.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
:
http://search.cpan.org/~gshank/Form-Processor-Model-DBIC-0.01/lib/Form/Processor/Model/DBIC.pm
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable
($_);
$_ = $c-encoding-decode( $_, $CHECK );
}
See any reason not to do that?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
On Tue, Mar 18, 2008 at 03:38:06AM -0500, Jonathan Rockway wrote:
* On Tue, Mar 18 2008, Bill Moseley wrote:
The plugin decodes all parameters using:
$_ = $c-encoding-decode( $_, $CHECK ) for ( ref($value) ? @{$value} :
$value );
I'd think it would be wise to check to see
On Wed, Mar 19, 2008 at 12:04:37AM +, Jonas Alves wrote:
No, you never should check the flag. See Miyagawa's post
http://use.perl.org/~miyagawa/journal/35700.
You quoted the entire message -- what point where you commenting on.
--
Bill Moseley
[EMAIL PROTECTED
should be
determined by looking at the Accept-Charset and maybe send a 406 if
can't find a suitable encoding.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
is attached.
You don't mention your application, but this thread might be of
interest, too:
http://lists.scsys.co.uk/pipermail/catalyst/2007-April/thread.html#13047
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
] and as a result I end up with HTTP::Body params and uploads
automatically so it makes the XMLRPC requests reasonably transparent
to the controllers.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk
://dev.catalyst.perl.org/svnweb/Catalyst/log/Catalyst-Runtime/5.70/trunk/lib/Catalyst/DispatchType/Path.pm
(click on the link /trunk/Catalyst-Runtime:6895)
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
files?
--
Bill Moseley
[EMAIL PROTECTED]
___
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
IP.
Shouldn't C::Apache::Engine use the first address?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com
doesn't expect. I can find a work-around.
--
Bill Moseley
[EMAIL PROTECTED]
___
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
On Wed, Apr 02, 2008 at 11:45:59AM +0100, Dagfinn Ilmari Mannsåker wrote:
Bill Moseley [EMAIL PROTECTED] writes:
On Tue, Apr 01, 2008 at 11:38:15PM -0400, Andy Grundman wrote:
When using X-Forwarded-For you cannot trust any value that is not
added by your own upstream proxy, so we
the request
path and append it to the request base.
--
Bill Moseley
[EMAIL PROTECTED]
___
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
upload?
I'm wondering if HTTP::Body should decode the headers as they are
parsed.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
suggest with reservations).
That will decode parameters and encoding output.
If your templates are UTF8 then ENCODING = 'UTF-8' when creating TT
object.
Do what's required for your database to handle utf-8.
--
Bill Moseley
[EMAIL PROTECTED]
___
List
templates should be decoded as the
encoding you specify:
perldoc -m Template::Provider
search for ENCODING
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
On Tue, May 06, 2008 at 09:04:38AM +0200, Aristotle Pagaltzis wrote:
* Bill Moseley [EMAIL PROTECTED] [2008-05-05 21:40]:
form tags should have accept-charset
Browsers tend to ignore that and send the form data in the same
encoding as the page that the form was on.
Browsers is a bit
( $scheme );
$uri-port( undef );
if I don't have a secure and non-secure host setup in my config (i.e.
my host name is same for ssl and non-ssl).
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
program.
If your templates are UTF8 then you can tell TT to decode the
templates automatically with ENCODING = 'UTF-8'.
I'd also be careful with flash as reading flash clears everything in
the flash, IIRC. I tend to just delete $c-session-{foo}.
--
Bill Moseley
[EMAIL PROTECTED
of a case where POD and YAML were causing new users confusion?
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
input might be one or more
elements of $c-req-parameters, but you would access it as
$form-field('some_date')-value;
( or shorthand $form-value( 'some_date' ) )
and that would return a DateTime object.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
three back to form one.
update_from_form() knows the form class from the action name, and
$c-redirect and $c-post_redirect are simple short-cut methods to
build the redirect and localize any messages that end up in flash.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail
( 1 ) {
Then in my custom API dispatcher match method I take the version into
consideration when matching actions.
Any better suggestions?
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
widget.2.get
etc.
which would make the Catalyst part very simple, but I'm not sure I
like that idea of each method having a version in the method name.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo
in the request payload is
possible, but I'm actually leaning more toward just using separate
endpoints:
http://localhost:3000/rpc1.2
http://localhost:3000/rpc1.3
or
http://localhost:3000/rpc/1.2
http://localhost:3000/rpc/1.3
or
http://localhost:3000/rpc?version=1.2
--
Bill
falling back to the default handler for some
reason.
There's a little info to be found with Google -- mostly others asking
the same question.
It would be nice to have these fail in a cleaner way (as far as the
logs go, at least).
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
words, is it important that HTTP::Body's add() method (and
really, spin() ) not die and instead continue to, well, spin until all
the request data has been consumed?
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
List: Catalyst
On Fri, Sep 12, 2008 at 02:15:23PM +0200, Supra, Morne wrote:
The problem that I have is that I have no idea how to push the data to a
web page instead of pulling.
Pull with an AJAX update, perhaps.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
not
clear how it knows what encoding to use.
[1] also note that it doesn't decoded the body params, so if you
access those via the body_parameters request method they won't be
decoded. Accessing them via -parameters is ok, though.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
this. Will all browsers encode into
utf8 octets? You could easily make an LWP request with other
encodings.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman
would like to only use secure cookies, but I place things in the
session that I need for both SSL and non-SSL pages (an example is a
language selection that is stored in the session).[1]
Makes me think I need $c-session and also $c-secure_session as
separate sessions and separate cookies.
--
Bill
.
my $form = $c-stash-{form};
my $sport = $form-value( 'sport' );
...
}
Fields that accept only scalars only validate for single values, etc.
Parameter validation doesn't have to be just for posted forms.
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
(with print style sheets).
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
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
On Mon, Nov 03, 2008 at 07:18:46AM -0800, Bill Moseley wrote:
Another issue I have to look into is query_form() in
/usr/share/perl5/URI/_query.pm is getting passed utf8 strings, which
I'm not sure was happening before 5.10. (My version of query_form
warns if this happens). That method must
On Mon, Nov 03, 2008 at 07:18:46AM -0800, Bill Moseley wrote:
I know some of this has been discussed:
http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg02634.html
I installed Perl 5.10 and Catalyst 5.7015, and now make test
generates lots of:
Name Catalyst::Controller
';
--
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt
___
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
{
my ($self, $c ) = @_;
$self-path_to( $c-path_to('') );
return $self;
}
Which would also avoid calling DESTROY every request.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
On Fri, Dec 12, 2008 at 08:37:25AM -0800, Bill Moseley wrote:
sub ACCEPT_CONTEXT {
my ($self, $c ) = @_;
$self = bless({ %$self,
path_to = $c-path_to(''),
}, ref($self));
return $self;
}
Sorry, I'm a bit curious about that code. Why
session on read only' );
But, the plugin also always writes an expires: key into the store
(hence the /^session:/ match above), so if the goal is to not write to
the store unless there's something to store then that needs looking
at, too.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
On Wed, Dec 17, 2008 at 08:34:36AM +, Tomas Doran wrote:
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
;
sub ping : Local {
my ( $self, $c ) = @_;
$c-res-body( 'ping' );
}
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
;
#find_cycle( $c );
};
Devel::Leak::CheckSV($handle);
Then I get a bunch of output like:
new 0xac62a60 :
new 0xac62a70 :
new 0xac62a80 :
new 0xac62a90 :
By a bunch I mean 16,979. So, I don't quite think I'm doing it
correctly. ;)
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
are it throwing an exception on
invalid session id (instead of just ignoring like a missing one), and
the cookie_secure feature that indeed sets the cookie as secure
but doesn't prevent it from being sent in a non-SSL session back to
the client, kind of defeating the purpose.
--
Bill Moseley
mose
:
[% item.start_time.full_date %]
or
[% item.start_time.time_with_zone %]
But, I'm not sold on that approach.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin
.
Might consider creating a md5 signature when calling
initialize_session_data. We use that to prevent writing to the
session store when not needed (i.e. empty sessions).
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst
On Tue, Jan 13, 2009 at 01:34:11AM +, Tomas Doran wrote:
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
, and I do it all the time, but
when not so lazy and the action lends itself I provide an undelete
option afterwards for those rare oops times.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
for their login again. And it
doesn't really change the fact that they must log in again. People
seem to understand that you can get logged out for inactivity.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo
in the request?
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
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
:
Dear Dr. % $surname %!
I would think you would hide that in an object (or hash if you like as
TT doesn't care), and do:
Dear Dr. [% user.surname %]
so you don't spend all your coding time populating the stash in your
controllers.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
IPC::Cmd next.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
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
On Thu, Feb 05, 2009 at 01:23:03PM +0100, Florian Ragwitz wrote:
On Wed, Feb 04, 2009 at 10:25:15PM -0800, Bill Moseley wrote:
I have a module that uses IO::Pipe and when I run it under the
Catalyst server the pipe doesn't work (see below).
Please try to reproduce with Catalyst-Runtime
FAILED - http://www.djmag.bg/static/css/events.png
FAILED - http://www.djmag.bg/static/banners/208781512_160x600.swf
FAILED - http://www.djmag.bg/static/css/webface.png
ETag score : 3
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
On Thu, Feb 05, 2009 at 04:28:57PM +0100, Florian Ragwitz wrote:
On Thu, Feb 05, 2009 at 07:10:07AM -0800, Bill Moseley wrote:
Same problem.
Would you mind preparing a testcase for this?
I can try. See attached diff against svn 9215.
$ prove -vl t/live_fork.t
t/live_fork
1..15
On Fri, Jan 30, 2009 at 11:44:57PM +0100, Aristotle Pagaltzis wrote:
* Bill Moseley mose...@hank.org [2009-01-29 17:05]:
Neither of the existing plugins do it correctly (IMO), as
they only decode parameters leaving body_parameters as octets,
and don't look at the request for the charset
On Fri, Feb 06, 2009 at 03:16:14PM +, Tomas Doran wrote:
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
and they don't remove the plugin.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
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
the
path, set a flag, and then appended it on $req-base.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail
(or the code the Engine uses).
Yes, the same thing has to happen with templates, the database, and
all external data sources. Those are separate issues. HTTP provides
a standard way to determine how to encode and decode.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
$c-SUPER::prepare_path(@_);
Tiny nit pick - you probably want to say $c-next::method(@_) rather
than SUPER::.
Or what I sent to Larry:
$c-NEXT::prepare_path;
At what catalyst version can you use $c-next:: ?
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
( $request, %ENV )-setup;
App-handle_request;
return $cgi-restore-response;
}
package App;
use strict;
use warnings;
use Catalyst;
sub ping : Local {
my ( $self, $c ) = @_;
$c-res-body( 'ping' );
}
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
is to blame.
What versions of Catalyst, any plugins, etc? Can you provide more data
to support this?
our $VERSION = '5.7015';
There's no plugins, of course. The entire app was shown in the code
I posted.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
-update_from_form( $id );
}
So the same form validation is used for create and update via the API,
and the xmlrpc code knows how to wrap that action to handle the
specifics of setting up the add, update, and get actions.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
/a/li
/ul
/div
div id=submenu
[% INCLUDE $page/menu.tt2 %]
Try this:
[%
menu = $page/menu.tt;
PROCESS $menu;
%]
--
Bill Moseley.
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
: absolute paths are not allowed (set ABSOLUTE option)
If you want to process a variable try this:
echo '[% page = foo; menu = $page/bar.tt; PROCESS $menu %]' | tpage
--noabsolute
file error - foo/bar.tt: not found
--
Bill Moseley.
mose...@hank.org
Sent from my iMutt
-secure( 1 ) if $req-header( 'Host' ) =~ /:\d*443$/;
return;
--
Bill Moseley.
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
On Sat, Apr 25, 2009 at 04:23:50PM -0400, Hans Dieter Pearcey wrote:
On Sat, Apr 25, 2009 at 06:29:50AM -0700, Bill Moseley wrote:
The SSL decryption is happening on Apache and Apache is proxying the
request to Catalyst.
What? No it isn't. It's using mod_perl; there's no reverse proxying
and hate the lack of trimming even more. Beats the endless scrolling.
Oh, and the HTML email on the iPhone... well don't get me started.
All will be fine once a native Mutt app for the iPhone comes out.
--
Bill Moseley.
mose...@hank.org
Sent from my iMutt
is not set
the PG* environment variables are used to tell everything what
database to use. When Catalyst then goes to load the config an
environment variable is set that says to use make_test.
It's probably less complex actually than my description above. ;)
--
Bill Moseley.
mose...@hank.org
Sent
if it would be safe to warn on -set() failing in the plugin.
--
Bill Moseley
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
() { $by_name{$name} };
}
}
return;
}
1;
--
Bill Moseley.
mose...@hank.org
Sent from my iMutt
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail
a content delivery network).
As mentioned, if you need auth for these files then look into the
sendfile and reproxy features of Lighty and Perlbal. Use a dedicated
static server for all static content. Then you just need to get
uploads redirected there.
--
Bill Moseley.
mose...@hank.org
Sent from my
, not a cache.
--
Bill Moseley.
mose...@hank.org
Sent from my iMutt
___
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
On Wed, Jun 10, 2009 at 07:40:44AM -0700, Bill Moseley wrote:
[1] Yes, it's a store, not a cache.
Ha! Morning post.
It's a cache not a store. But we use it as a store.
--
Bill Moseley.
mose...@hank.org
Sent from my iMutt
___
List: Catalyst
(such as: s'il vous plait), then it could break the HTML:
select value='[% c.loc(Please select one) %]'
I would think the correct approach would be a filter:
select value='[% c.loc(Please select one) | html %]'
but the default html filter only escapes double quotes.
--
Bill Moseley
mose
On Tue, Jul 21, 2009 at 7:41 AM, Christoph Metz mail-...@web.de wrote:
i want to see which debug/error/warn message was logged by which user.
I'm using this early in the request after I have $user.
Log::Log4perl::MDC-put( 'user', $user-id );
--
Bill Moseley
mose...@hank.org
reason that Private actions may not have additional
attributes?
1 http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg01403.html
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin
. No :Action (or any attribute)
required.
--
Bill Moseley
mose...@hank.org
___
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
On Sun, Aug 16, 2009 at 10:40 AM, Bill Moseley mose...@hank.org wrote:
On Sat, Aug 15, 2009 at 4:28 PM, Eden Cardim edencar...@gmail.com wrote:
Is there a specific reason that Private actions may not have additional
attributes?
You can achieve the same effect by using the :Action tag
1 - 100 of 387 matches
Mail list logo