Unless you are referring to the old licensing scheme (which went away some time
ago) then discouraging ExtJS use because of it's license is absurd, as the
license is GPL. They do have a commercial license available as an option, but
you only need that if you want to distribute ExtJS as part
, then adding
your own code to call flush_all when you want to clear it isn't that
big a deal. Personally I can't recall ever running into a situation
where I had a reason to dump the entire session cache.
--
Jason Kohles, RHCA RHCDS RHCE
em...@jasonkohles.com - http://www.jasonkohles.com
need the flexibility of EC2 and are
planning to just have one host running 24/7, then EC2 is roughly the
same price as just getting a colocated server somewhere.
--
Jason Kohles, RHCA RHCDS RHCE
em...@jasonkohles.com - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
your module with:
use Catalyst::Plugin::Authorization::ACL::Engine qw( $ALLOWED $DENIED );
or fully qualify them by like so:
die $Catalyst::Plugin::Authorization::ACL::Engine::DENIED unless
something();
--
Jason Kohles, RHCA RHCDS RHCE
em...@jasonkohles.com - http://www.jasonkohles.com/
A witty
{ Catalyst::Utils::class2env( __PACKAGE__ ).'_STATS' } ? ( -
Stats=1 ) : () ),
qw( Other Plugins Here ... ),
);
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List
. It's much faster when using a release version rather than a
testing version, and there are tools that will let you build custom
ExtJS versions with just the features you are actually using included,
so you don't have to wait for initialization for features you aren't
using.
--
Jason
(
mydomain.com
myotherdomain.com
foo.com
example.com
) );
sub auto : Private {
my ( $self, $c ) = @_;
if ( $c-request-header( 'host' ) =~ /(\.(?:$domain_re))$/ ) {
$c-config-{ 'session' }-{ 'cookie_domain' } = $1;
}
return 1;
}
--
Jason Kohles, RHCA RHCDS RHCE
if a $c
variable is not available?
What you seem to be missing is that (in the current version at least)
MyApp *IS* $c.
package MyApp;
sub get_hostname {
my ( $self ) = @_;
return $self-request-header( 'host' );
}
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http
to call it as a method ($c-
the_host()), and you have to call it *during a request*. I don't
know how you still expect to be able to get a value that is sent by
the browser during startup when there is no browser.
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com
different
host names. If I hard-code a certain hostname, the login won't work
on other host names.
$c-req-hostname doesn't return the server hostname, it returns the
client hostname.
Can't the current host that was requested be accessed in MyApp.pm?
$c-req-header( 'Host' );
--
Jason Kohles
On Jan 7, 2008, at 10:16 PM, Adam Jacob wrote:
On 1/7/08, Jason Kohles [EMAIL PROTECTED] wrote:
It's also kind of a pain. I use log4perl with Catalyst, but without
the plugin, primarily for three reasons:
Patches are gladly accepted, especially if they make things better,
and don't break
(_DISPATCH, _BEGIN, _AUTO,
_ACTION, _END)
Besides, if you are forwarding to them, they aren't really internal,
are they?
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
annoying than the alternative
(IMHO):
17:32 DEBUG[Catalyst] GET request for static/reset-fonts-grids.css
from 127.0.0.1
17:32 DEBUG[Catalyst] Arguments are static/reset-fonts-grids.css
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing
Secure Connection Failed
I suspect a vast majority of people use self-signed certificates for
secure subversion servers, so you should get used to this...
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
that in a portable
manner...
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman
the configuration...
my $role_relation = 'user_roles';
my $role_field = 'name';
for my $role ( $c-user-$role_relation() ) {
if ( $role-$role_field() eq 'admin' ) { return 1 }
}
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing
the authentication information when calling -
connect.
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi
) for a variety of
listener types, from engineers to restroom attendants.
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
one of these
plugins would provide the 'login' method for me.
You need a credential plugin, probably
Catalyst::Plugin::Authentication::Credential::Password.
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
@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://dev.catalyst.perl.org/
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing
for their actions, and have a cascading menu built automatically from
the controllers.
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.scsys.co.uk
Listinfo
the kludged JSON.
I want a clean solution which allows me to pass a string ref which
doesn't get quoted...
Then what you want isn't JSON, which doesn't allow unquoted strings
(except true and false).
Am Montag, den 19.11.2007, 09:57 -0500 schrieb Jason Kohles:
On Nov 19, 2007, at 9:20 AM
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
that there is a
catalyst-specific search (and related RSS feed), it's easier to get
that information from the source than it would be from a mailing list...
http://jobs.perl.org/rss/catalyst.rss
--
Jason Kohles, RHCA RHCDS RHCE
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing
24 matches
Mail list logo