some duplication in the SSL detection between
prepare_connection and prepare_path. I'll look again when I have
more time.
Patch attached...again.
--
Bill Moseley
[EMAIL PROTECTED]
Index: lib/Catalyst/Engine/Apache.pm
===
--- lib
Any tricks to get SQL::Abstract to setup MySQL's fulltext search:
MATCH (foo,bar) AGAINST ('+word -notword' IN BOOLEAN MODE)
with proper bind parameters?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http
wouldn't matter where they are.
Thanks for your comments, Perrin.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
On Thu, Sep 14, 2006 at 02:29:18PM -0400, Perrin Harkins wrote:
On Thu, 2006-09-14 at 11:22 -0700, Bill Moseley wrote:
On Thu, Sep 14, 2006 at 01:45:39PM -0400, Perrin Harkins wrote:
TortoiseSVN is pretty nice, and should be similar enough to FTP for them
to get it. They will not be able
get past the
javascript then they get what they deserve. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
then they get what they deserve. ;)
That viewpoint is hard to sell to me. If people double click and I am not
smart enough to catch it I get what they deserve. =)
Well, actually, they don't get what they deserve -- which is the
output from the first request. ;)
--
Bill Moseley
[EMAIL
reading th
logs. Those go to stderr and apache writes those to the error log
and is rotated with logrotate.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
-Encoding: deflate
Content-Length: 2642
Content-Type: text/html; charset=utf-8
^^ Response ^^
The live form is at https://infopeople.org/login
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
, production) that can
override the default settings. Changes from the defaults are passed
in environment variables from this script.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
by
style them differently.
The TT badger book has a chapter on building menus that you might find
helpful.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
with CSS and JS.
Shouldn't this do the trick?
width: 100%;
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
/lib/perl/5.8.4/auto/HTML/Tidy/Tidy.so
local/lib/perl/5.8.4/auto/IPC/ShareLite/ShareLite.so
local/lib/perl/5.8.4/auto/MIME/Base64/Base64.so
local/lib/perl/5.8.4/auto/Params/Validate/Validate.so
local/lib/perl/5.8.4/auto/Template/Stash/XS/XS.so
local/lib/perl/5.8.4/auto/Time/Piece/Piece.so
--
Bill
On Mon, Oct 30, 2006 at 04:04:09PM +0100, A. Pagaltzis wrote:
* Bill Moseley [EMAIL PROTECTED] [2006-10-30 16:00]:
One disadvantage of generating packages for distributions is
that users without root access (such as on shared hosting)
cannot install the packages.
I have a tarball I
');
'/fieldset';
'fieldsetlegendAccount Information/legend';
'/fieldset';
END;
END;
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org
On Wed, Nov 08, 2006 at 09:41:56PM +, Josef Karthauser wrote:
On Wed, Nov 08, 2006 at 12:13:53PM -0800, Bill Moseley wrote:
Well, in my case currently this is all I'd need to do:
[% # Template to generate a standard form
WRAPPER form_wrapper;
FOR f
to track down every template that might be
introducing leading blank lines, then how about removing the leading
space from $c-res-body for that specific $c-res-conent_type in an
end action?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
/^\s+//;
$c-res-body( $body );
}
Do all browsers accept application/xhtml+xml these days? I thought I
remembered seeing something about setting the content type based on
HTTP_ACCEPT.
--
Bill Moseley
[EMAIL PROTECTED]
___
List
suggest it's not wise to use in modules due to
that lack of scoping.
To get utf8 data out of mysql, use
$dbh-do(SET NAMES 'utf8');
$dbh-do(SET CHARACTER SET 'utf8');
Doesn't there still need to be a decode() or layer set some place when moving
the
utf8 data into perl?
--
Bill
?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
/includes/banner.tt
and that will change the look of just the banner for
(site|user|branding|whatever) foo. default/templates is always in
the template include path, so this makes it easy to just override one
or a few templates when needed. May not be useful outside my
application.
--
Bill Moseley
just saw that, although 0.07 did not fix the problem, the latest
versions of Email::Send, Email::MIME and Email::MIME::Creator did the
trick.
.07 removes that invalid check of To:
http://dev.catalyst.perl.org/changeset/5885/trunk/Catalyst-Plugin-Email/Email.pm
--
Bill Moseley
[EMAIL PROTECTED
a confirmation email until I know
the database transaction is complete, and that mail might get
generated inside a nested transaction.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
() is just a
method to generate a list based on rows and columns and how it should
be sorted.
Not very helpful without seeing all the code, I suppose, but it's just
stuff I use in a bunch of controllers so it's factored out.
--
Bill Moseley
[EMAIL PROTECTED
the wheel if at all possible.
I use htmldoc to generate a few pdfs. It's quick and easy.
http://www.htmldoc.org/
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
...ok
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
to a second page I'd
need a better way to generate pdfs.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
yml
$c-config-{scheduler}-{yaml_file} ||= $c-path_to('scheduler.yml');
is $APP_HOME/scheduler.yml.
existence of a file called Cschedule.yml in your application's home
Looks like scheduler.yml.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
what
the front end is sending to make sure the port is included.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com
ON template ( path );
create index template_current ON template ( current );
And maybe a current_template view class and override update/insert
to always insert into the base table.
And never update rather always insert changes.
--
Bill Moseley
[EMAIL PROTECTED
if a node is
a leaf node.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
rows can be
found with an index so seems like it would not be much work. Probably
only need a few revisions back for any row, anyway.
Thanks for the comments!
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http
but restarts were taking a long time (seemed every FastCGI
process had to compile the application). I moved to mod_perl and
much happier now.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
joins? Are your pages very complex?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev
. How does the backend
know to make a http or https url with uri_for()?
What I do is have the Cat application listen on different ports so the
Cat application knows if it was an ssl request based on the port the
request comes in on.
--
Bill Moseley
[EMAIL PROTECTED
/Provider.pm
http://hank.org/Provider.diff (against cvs two days ago)
Should be a drop-in replacement for the default provider.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
.
This sounds different from what the OP commented on (since they are
able to log in), but there is a bug related to SSL and IE that causes
IE to send an empty body:
http://support.microsoft.com/default.aspx?kbid=831167
--
Bill Moseley
[EMAIL PROTECTED
]
Checking [training/webcasts/webcast_data/162]
*MATCHED*
So that's why it's matchine when I don't want it to match.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
On Thu, Mar 01, 2007 at 04:13:05PM -0800, Bill Moseley wrote:
Seems that Catalyst first tries to match the full path, then tries to
match a reduced path. Adding a bit of debugging to Regex.pm's match()
method:
Request = /training/webcasts/webcast_data/162/foo.html
Checking
' ) {
$config-{$key} ||= {};
$self-deep_merge( $config-{$key}, $value );
} else {
$config-{$key} = $value;
}
}
}
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http
-{$key} = $val;
}
}
return $self-_config;
}
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
to parse the string each time. And I'm sure there must be a lot
unescaping/escaping going on.
The only thing that's optimised for is printing!
I just checked and on some pages I'm calling uri_for a few hundred
times. If that's a bottle neck then optimization would be most
welcome.
--
Bill Moseley
On Fri, Mar 09, 2007 at 11:34:14AM -0600, Dave Rolsky wrote:
On Fri, 9 Mar 2007, Bill Moseley wrote:
I just checked and on some pages I'm calling uri_for a few hundred
times. If that's a bottle neck then optimization would be most
welcome.
I did some hack-y testing of a (bad) memo-ized
zone.
Is there anything I can do to install this Catalyst Plugin under Windows?
What does that plugin offer over the standard DateTime module?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org
$cvar = $self-config-{CATALYST_VAR};
defined $cvar
? ( $cvar = $c )
: (
c= $c,
base = $c-req-base,
name = $c-config-{name}
)
}
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
. That seems to have, for the most part, reduced the
bot submissions.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com
. I
like those complete scrolling screens
when something bad happens ...
I would recommend you use a separate process to watch the error log
and send mail.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http
, the user is not currently authorized to view the page. And the
idea being that the browser would not cache the 4xx response.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo
that, they're wrong. It's perfectly possible to
forward to public actions.
When you start up the server in debug mode you can see the private
names for the public paths. So, you forward to the action using its
private name.
--
Bill Moseley
[EMAIL PROTECTED
the above. But, again, it's been years since I did this.
Hopefully, someone with a bit more knowledge of FastCGI can respond.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo
.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
On Wed, Apr 11, 2007 at 08:36:52AM -0700, Bill Moseley wrote:
On Wed, Apr 11, 2007 at 03:28:59PM +0100, Adeola Awoyemi wrote:
if ( $new_img-write( file = $new_filename ) ) {
I tried using $c-response-redirect( $new_filepath ) but that
issues a 302 Temporarily Moved status.
I
save a lot of time when dealing with the templates.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: [EMAIL PROTECTED]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site
into the stash, or is using a
different name (see C::View::TT).
--
Bill Moseley
[EMAIL PROTECTED]
___
List: [EMAIL PROTECTED]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev
using a view generated by the catalyst
helper script.
[%
USE foo = Class( 'Whatever::View::TT' );
USE Dumper; Dumper.dump(foo.config ) | stderr;
%]
--
Bill Moseley
[EMAIL PROTECTED]
___
List: [EMAIL PROTECTED]
Listinfo: http
On Wed, Apr 18, 2007 at 09:14:40PM +1000, Kieren Diment wrote:
I think jrockway's original complaint was that the svn/svk model makes
merging quite difficult and slows down progress which means that new
features are only released slowly.
Sounds like a feature.
--
Bill Moseley
[EMAIL
.
No clue how that works in Seamstress.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev
Quick! Make a plugin on CPAN but then realized
the above exceeds the line limit for Catalyst plugins. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive
-$private_method( $foo );
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
hand-customizing. That way the same forms can be
used for more than just the web environment.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
a very, very bad user.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
{
my ( $self, $c, $id ) = @_;
$c-update_from_form( $id );
}
Where $c-update_from_form requires the form module and does
everything else the first example does. I commonly do a redirect
if $c-update_from_form returns true.
--
Bill Moseley
[EMAIL PROTECTED
form similar
approaches.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
3,5,7 are abstract ids, just like
84bc3da1b3e33a18e8d5e1bdd7a18d7a is.
Of course, what you want is a method that requires checking that the
user can access the item. Something like:
$item = $user-get_user_item( $id );
--
Bill Moseley
[EMAIL PROTECTED
On Fri, May 18, 2007 at 07:55:35PM +0200, Matija Grabnar wrote:
Bill Moseley wrote:
What you are proposing is if item 7 is instead encoded as
84bc3da1b3e33a18e8d5e1bdd7a18d7a then they are less likely to try
other numbers because of, ... why? Because it's too daunting of a task?
It's a big
On Fri, May 18, 2007 at 12:16:34PM -0700, mla wrote:
Bill Moseley wrote:
Using md5s for images, as in your example, is fine. But if the images
really needed to be protected then that scheme is purely security by
obscurity. That's what we were talking about -- the case where some
user might
in the view.
[% c.local_date( user.last_updated_time ) | html %]
But, setting the locale and time_zone in the inflator would be handy
since it's all one place instead of every time I use a date in the
view.
What do you do?
--
Bill Moseley
[EMAIL PROTECTED
);
I'd still be on the beach.
But the question was how do I represent constants best?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
,
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
/9# Looks like you failed 1 test of 9.
t/6.dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6
Failed 1/9 tests, 88.89% okay
t/7.ok
--
Bill Moseley
[EMAIL PROTECTED
just have not had time to get back to it.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org
is for. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
error - Invalid locale name or id: , at
/usr/lib/perl5/Cache/FastMmap.pm line 551
I just got caught by this. IIRC, upgrade DateTime::Locale.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org
-update_from_form( $user_id );
}
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev
communicate that logic back to the controller or
whatever in the session?
It makes sense to have a separate form object to handle that work.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
a weakened attribute has caught
me. ;)
Thanks,
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
';
...
}
Yes. You can use both. Setting stash template always overrides the
default Template() attribute for that current action via ||=
Maybe I missed this in your first email, but what's the problem you
are trying to solve?
--
Bill Moseley
[EMAIL PROTECTED
the action?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
is happening. Personal preference, I guess.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
engines (my fault).
That would be a nice refactoring.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
similar template names, or is this
mostly for TT?
I almost always tweak the template paths, too. Sometimes it's for
skinning/branding or it's for I18N (e.g. root/templates/language tag/).
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
On Mon, Jun 18, 2007 at 02:42:13PM +, Zbigniew Lukasiak wrote:
On 6/18/07, Bill Moseley [EMAIL PROTECTED] wrote:
...
Do you mean instead of $c-action-reverse like C::V::TT does now?
That is, so you always have to specify the template name?
What I see in my copy of C::V::TT is:
sub
CSRF,
get it from CPAN, load it into your app, and stop worrying :)
Is this much different than Catalyst::Plugin::RequestToken?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
{
my $self = shift;
$self-setup( @_ );
}
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
in Changes but I suspect you need 2.19 if that's the problem
you are hitting.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail
their claims of superiority. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site
.
* Fixed bug in Template::Provider to immediately invalidate the cache entry
of any template that fails to compile.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
have a plugin that alters temporary file
locations to include the uid in the path.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail
dump the INCLUDE_PATH?
Template::Provider also has some dubbing available. Did you enable
that? Have you tried making a local copy of Template::Provider in
your lib directory and throw in some warn statements?
--
Bill Moseley
[EMAIL PROTECTED]
___
List
' );
if ( $host =~ /^(.+):(\d+)$/ ) {
$host = $1;
$port = $2;
Which ends up setting the request base, which is used in uri_for.
Is your front end machine on the same host? If not you would likely need to
set $c-config-{using_frontend_proxy} per the docs.
--
Bill Moseley
[EMAIL
( Game, 'View history' );
%]
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
On Sun, Jul 01, 2007 at 09:27:17PM +0200, A. Pagaltzis wrote:
* Bill Moseley [EMAIL PROTECTED] [2007-07-01 19:25]:
Macro?
[%
game_detail_link( Game, 'Click here' );
game_history_link( Game, 'View history' );
%]
Avoid macros like the plague
is wrong here.
Throw in some warn statements in Catalyst::Engine::Apache.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com
-log-warn
will look different than calling warn (when is trapped and then calls
$c-log-warn as in the code I posted).
Print out %M and call both $c-log-warn and warn() and you will see the
issue.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
',
sortby = 'account';
%]
/th
But I think the macros help with readability.
In the past I've abstracted that out even more (since the tr and
th is common on every page -- but that's a bit overkill.
--
Bill Moseley
[EMAIL PROTECTED
;
$c-_save_session_id;
$c-_save_session;
$c-_save_flash;
$c-_save_session_expires;
}
[1] The result was when I tried to access the session a new session
would then be created -- so my session id was ever-changing and I
could never log in.
--
Bill Moseley
[EMAIL
: my_cookie=6d30ea44e84f658ae647f249bd7237e8a117740b; path=/
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
that. But, the
infrastructure that Catalyst provides can make doing this in the
application tempting. It's up to you if you want to give up those
request cycles to other things than web requests.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst
. The id should just be ignored in that
case and a new cookie sent. If someone ends up with a bad cookie (or
the cookie format changes) could result in a lockout.
Thanks,
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo
of a controller responsibility since an invalid $id in the
path for a given user is an invalid path (and thus maybe a 404).
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
1 - 100 of 119 matches
Mail list logo