' COMPONENT' = sub {} and simply
modify the passed in arguments. I do not have any config in the model class
that I need to worry about merging with the passed in arguments.
Is this a reasonable way to do this?
--
Bill Moseley
mose...@hank.org
___
List
On Fri, May 21, 2010 at 10:24 AM, Tomas Doran bobtf...@bobtfish.net wrote:
On 13 Jan 2010, at 14:53, Bill Moseley wrote:
Where should this be addressed? In Catalyst or in HTTP::Body?
I'm all for it being addressed as suggested, in both places (for extra
double sure).
It's been five
to pass the current
user to some methods:
pass_user_to_meethod = [ 'can_user_access' ]
Or I use something like ACCEPT_CONTEXT to set the current user in the
schema.
Better ideas?
This is going to be a killer Music app. I just hope CDs don't go out of
style.
--
Bill Moseley
mose
to row objects. Seems this has come up many times but not having
much Google luck.
Anyone have a link or an example?
Thanks,
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman
On Mon, May 10, 2010 at 9:31 PM, Florian Ragwitz r...@debian.org wrote:
On Mon, May 10, 2010 at 06:15:03PM -0700, Bill Moseley wrote:
I have a number of scrips that need to be run when building an
application. For example, I have a script that minifies javascript
and
css
of the targets
(i.e. a script just finds all .css files and minifies them) so might just
want to run a command every time make is run.
Anyone have examples of how to set this up in Makefile.PL (which uses
Module::Install)?
Thanks,
--
Bill Moseley
mose...@hank.org
/update problems.
Does it make it atomic or just fail if a second session tries to create with
the same primary key?
Looking at some old code I see that I first attempt a create, and if that
fails with a duplicate error I then do a find. Don't need a transaction for
that.
--
Bill Moseley
mose
on this list. I try not to find it discouraging that old topics
like benchmarking methods calls and the few inflammatory remarks seem to get
so much traction. :)
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
be active',
{ 'account.active' = 1 },
{ join = 'account' },
);
etc.
Then, as you say, if $self-current_resultset-first (top of stack) fails
then work down the stack until find the spot where the query passes and
return the previous message.
Thanks,
--
Bill Moseley
mose...@hank.org
the request
to the local sendmail or I write it to a store and another (non-web) process
on a separate machine (or machines) manage delivering the mail.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk
would you recommend? Have a separate /user/$id/debug method that
does a separate step-by-step of the business logic? Scrap all that really
handy chaining of resultsets that works so well with Catalyst's chained
actions?
--
Bill Moseley
mose...@hank.org
then why not use them?
Might need to think about other things like how a long running process might
effect the need to restart the sever, etc. Job queues are nice.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
? Anyone using Smolder and/or SmokeRunner::Multi
or other standard tools for their in-house code?
Thanks,
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable
home() could not walk @INC looking for the app .pm
file if not found in %INC? Or is there another approach to find home?
Oh, btw --
# we found nothing
return 0;
maybe just return; -- or simply die Cannot determine home for App
$class;
--
Bill Moseley
mose...@hank.org
modules
(packages). Mostly that was to encourage inclusions of unit tests and just
more fine-grained management. But, it is more work, true.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin
On Mon, Apr 5, 2010 at 2:31 AM, Oleg Kostyuk cub.ua...@gmail.com wrote:
2010/3/30 Bill Moseley mose...@hank.org:
..
The applications have separate YAML files for different environments.
There
might be dev.yml, testing.yml, qa.yml, and produciton.yml. Each
access (in complying
browsers). And I feel like providing the session ID in the markup opens up
the possibility of XSS that would send the session id to an attacker. Of
course, a successful XSS attack and your wide open anyway.
--
Bill Moseley
mose...@hank.org
lib directory since you know when it's pushed you will have
exactly the same code used in development. Lot easier to revert when
everything is under a a single symlink.
I've heard of people that build an entire Perl installation and keep that
separate from the OS installed Perl.
--
Bill Moseley
the tokens are a mixed bag. Yes, the tokens would help, but if you
have them on your URLs then you have to worry about bookmarking and link
leaking. The tokens I use help with POSTing forms, but for critical changes
I still add an Are you sure? page.
--
Bill Moseley
mose...@hank.org
::State::Cookie. Could that be added to Runtime?
Thanks,
--
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
policy. That is, javascript running on evil_empire.com's
page cannot do an AJAX request to your catalyst application.
Hopefully, that's clear -- and correct. ;)
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
the bank. That
is, you would see the bank's response page. Can't do it via an AJAX request
because of the same-origin policy.
Slippery stuff.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi
On Sun, Mar 28, 2010 at 6:05 PM, Tomas Doran bobtf...@bobtfish.net wrote:
On 29 Mar 2010, at 01:06, Bill Moseley wrote:
I do this -- every POST must include token, and the token can only be used
once. That means the the form must be fetched before bing posted (to
generate the token
On Fri, Mar 26, 2010 at 12:46 AM, Octavian Rasnita orasn...@gmail.comwrote:
*From:* Bill Moseley mose...@hank.org
SetEnv HTTPS On
Does that header get to Catalyst? Obviously, check that first.
I didn't know that HTTPS should be an HTTP header and not an environment
variable so I
. That is, the
controllers have to know what view is going to be used so that it can fetch
the data needed for that specific view. Is that what you are saying?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk
.
Yes, you do want an outside worker. It can be part of your app, but it
should be separate from Catalyst. Put it in a model class. Ok, sure you
could have cron run App/script/app_test.pl /path/to/action but why load all
of Catalyst just to run some code in your application?
--
Bill
it seems an error in
one job resulted in other jobs not running. So, if you really want to
send requests to your running Catalyst application then I'd use cron and
lwp/wget instead of the plugin.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst
to send to two different ports and then detect SSL based on the port
number. Same result either way.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable
feels more like a view operation. Minor point but turning,
say, a DateTime object into a human-readable format (or ISO8601 for JSON
response) both seem like views.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
about.
--
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@lists.scsys.co.uk/
Dev site: http
view code?
--
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@lists.scsys.co.uk/
Dev site: http
app on top -- especially if it's all client side. But,
again I still think the action's job would be to just place model objects in
the stash -- not build a json structure as that is only needed when the
response is actually json.
--
Bill Moseley
mose...@hank.org
to rethink then entire process and just make request that can be
independent and either work or fail in some graceful way. making
assumptions about expected state is problem the root cause.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst
enough
without having to do it for every action explicitly. Something similar to
DBIC's HashRefInflator.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
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
profile go to: http://example.com/user/your id
here/profile
Because you know what the tech support calls will be like
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/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 multipart
want test information in my code. How do people do this?
I use separate config files that get merged into the main config.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo
that
seem like a pretty easy DoS for Catalyst apps? I do set a request size
limit in the web server, but if I need to allow 1/2GB uploads or so then
could kill the machine pretty easily, no?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst
balancer? Or it's not run with a reverse proxy as is the standard approach?
We found that restarting with FastCGI took longer. Maybe that was because
each process has to compile the app (instead of compile and fork to many
processes?). Is that true? I can't remember.
--
Bill Moseley
mose
to all the possibilities (and
default httpd.conf Apache provides) but really the config required to get it
to serve a Catalyst app is just a few lines. My entire files are pretty
small:
$ fgrep -v '#' httpd.conf | grep -v '^$' |grep -v LoadModule | grep -v
'Module' | wc -l
40
--
Bill Moseley
was not used in
the existing REST/RPC modules, as that was already the place used by
Catalyst to de-serialize the body. I thought maybe there was a reason I
might not understood, which is why I asked.
[1] Or whatever the correct approach is, and apologies to Damian for the
map.
--
Bill Moseley
mose
On Wed, Jan 27, 2010 at 1:16 PM, Tomas Doran bobtf...@bobtfish.net wrote:
On 27 Jan 2010, at 15:33, Bill Moseley wrote:
No big deal. I was just curious why the HTTP::Body approach was not used
in the existing REST/RPC modules, as that was already the place used by
Catalyst to de-serialize
.
And IMO string literals are better left in templates, in the databaes, and
.po files.
I use English, so I don't worry about utf-8 variable names. I always
assumed at some point utf8 would become the default for Perl source, though.
--
Bill Moseley
mose...@hank.org
not
understood. That's really all.
--
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@lists.scsys.co.uk/
Dev site
on destroy). Otherwise you can end up with orphaned
temp files.
--
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
};
Maybe for fear of line ending conversion??
--
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
approaches to decoding request body content?
--
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
.
--
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@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
the
upload object in $req-uploads.
--
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@lists.scsys.co.uk/
Dev
to actions not unlike
Catalyst::Plugin::Server::XMLRPC. It's been very helpful to have the API
use the exact same controller actions as the web interface. Some of the
existing controllers contain complex logic, so obviously want to use that
same code for the API as well.
--
Bill Moseley
mose
this a bit more.
--
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@lists.scsys.co.uk/
Dev site: http
that a change is seen
exactly the same time by all users. Dynamic content is not cached, of
course, but elements of the page may be cached in memcached.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
removes the File::Temp object from the upload
part, but I'm not sure why it needs to do that. Why not leave the
File::Temp object in the upload part object then let it go out of scope at
the end of the request.
Where should this be addressed? In Catalyst or in HTTP::Body?
--
Bill Moseley
mose
the right approach, but not sure I see why the Eww in this
specific case. Can you explain?
--
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
, etc.). That's a bit more flexible for
deployment (e.g. some features on a subset of servers) but sharing of common
templates, css, js, etc. is more of a challenge.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
ideas how to implement something like that?
--
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@lists.scsys.co.uk
is still the
same between the two applications.
So, it would be handy to say, this application inheits from Foo, but these
with a few methods added or overridden.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
be shared (or
overridden).
Thanks,
--
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@lists.scsys.co.uk/
Dev
some encoding
error. Not sure what additional error message would be helpful, though.
Thanks again,
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable
On Mon, Nov 23, 2009 at 2:01 AM, Marc SCHAEFER schae...@alphanet.ch wrote:
On Sat, Nov 21, 2009 at 05:16:24PM -0800, Bill Moseley wrote:
Apparently all diacritic characters are expanded into HTML entities.
Where does that happen?
It looks like it's TT::View's htmlentity which does
point decoding and encoding should be core not just a
plugin. It's an important part of the request cycle.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
',
DEFAULT_ENCODING = 'ISO-8859-1',
WRAPPER = 'wrapper.tt');
There's a DEFAULT_ENCODING option? Isn't it just ENCODING?
Apparently all diacritic characters are expanded into HTML entities.
Where does that happen?
--
Bill Moseley
mose...@hank.org
.
--
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@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
);
}
I suppose if $buffer just happened to be zero. Probably should be checking
defined there.
Could this message be updated to report the length of the body read, too?
And maybe display the last X bytes of data read might be useful in some
cases.
--
Bill Moseley
mose...@hank.org
) || {};
$progress-{aborted} = 1;
$c-cache-set( 'upload_progress_' . $id, $progress );
}
# rethrow the error
Catalyst::Exception-throw( $croaked );
}
--
Bill Moseley
mose...@hank.org
___
List
have cryptic notes elsewhere where I had problems with
Data::Visitor. Hum, should have taken better notes.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
to specify the topic,
or it might be ?topic=123, or it might be part of the post parameters.
--
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
on.
--
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@lists.scsys.co.uk/
Dev site: http
search_rs() )
would be the method to override?
Perhaps a better approach would be add a safe_find() as J. Shirley
suggested, but what good are methods if you don't override them. ;)
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
back a new session id every request or ever few minutes.
--
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
that $id in situations like this where
there's a single id?
Do you just let the database throw the exception? I prefer to return 404s
for invalid ids, regardless of their format (and likewise for ids that point
to valid object, but are not owned by the current user instead of a 403).
--
Bill Moseley
posted is very close to what I do.
--
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@lists.scsys.co.uk/
Dev
. Depending on the update some
servers may get pulled out of the balancer before upgrading to do it in
stages.
Pushing a previous version will just update the symlinks if they revesion
exists.
Not perfect but seems to work ok for now.
--
Bill Moseley
mose...@hank.org
. Not sure I
remember the details of that choice, but one reason might have been I didn't
want a URL for one resource to return a 200 yet not return the response for
that URL and instead return a login form.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst
request and go immediately to end()
}
return 1; # success; carry on to next action
}
RFC3986 has:
absolute-URI = scheme : hier-part [ ? query ]
And 2616:
Location = Location : absoluteURI
--
Bill Moseley
mose...@hank.org
.
--
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@lists.scsys.co.uk/
Dev site: http
On Wed, Sep 16, 2009 at 9:11 AM, Ascii King t...@swattermatter.com wrote:
Bill Moseley wrote:
In my mind the wrapper is a view issue, so I set the wrapper in the
template not in the controller. I have a wrapper that is called for *every*
page that is used to build the page.
META
line 5.
Compilation failed in require at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 134.
...
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive
) still run? Or should it act as if the /foo/bar
action doesn't exist and not run any begin, auto, or end in the Foo
controller?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman
for
application, similar to what many CMSs have.
--
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@lists.scsys.co.uk
be applied.
Any guidance here?
Is everything going to be a role at some point? ;)
--
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
On Fri, Aug 28, 2009 at 10:29 AM, Tomas Doran bobtf...@bobtfish.net wrote:
On 28 Aug 2009, at 18:25, Bill Moseley wrote:
I was starting to implement a custom ActionClass (similar to RenderView)
and then wondered if it would be better written as a Moose role.
Maybe - depends what you're
method to do its work. Wouldn't need to be a web request, of course.
Then I've got one access layer to the application and can have ACL
rules for the cron user and unified logging.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
, which isn't defined).
Not sure if this is by design or not, but the application base class
automatically inherits from Catalyst and Catalyst::Controller.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
the standard NEXT warnings, but that was easy to suppress.
I'm very impressed what a good job the Cat developers did making the 5.8
move smooth.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin
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
for the config-based approach as you noted. The people with
java experience seem to favor the config-based approach.
Anyway, I've moved on to obsessing about other things.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
. 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
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
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
(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
, 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
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
() { $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
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
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
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
-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
201 - 300 of 387 matches
Mail list logo