encoded character. What you have there is obviously the
percent encoding of the ISO-8859-1 encoding of Kévyn. Therefore the
correct RFC 3986 compliant URI-encoding for Kévyn would be K%C3%A9vyn.
HTH
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Octavian Rasnita wrote:
I am trying to create a script that will be executed by a cron job
which will delete all the expired session files, but without
success. I use the Session::Store::File plugin.
http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg08921.html
HTH
Bernhard
Am 09.03.2010 15:32, schrieb Octavian Rasnita:
appropriate DBD::*/DBIC manpages how to do that) and don't use
DBIx::Class::UTF8Columns.
Is this a general recommendation? (For not using DBIx::Class::UTF8Columns)
That's MY general recommendation. ;-)
I tried this UTF8Columns a while ago,
Am 09.03.2010 11:26, schrieb Alex Povolotsky:
uri_for seems to have some troubles with unicode.
Use of uninitialized value within %URI::Escape::escapes in substitution
iterator at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1268.
I remember, that there was quite a few progress in
Am 09.03.2010 14:30, schrieb Alex Povolotsky:
After adding Catalyst::Plugin::Unicode::Encoding, it became MUCH worse.
What was readable, became unreadable. What was unreadable, remained so.
Replacing C::P::Unicode by C::P::Unicode::Encoding did not yield any
difference.
Then you are probably
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: http
Tomas Doran schrieb:
1. Is there a simple way to change the settings for
redirect_after_login_uri and redirect_after_logout_uri ?
The 'redirect_after_logout_uri' is just a method, so you can write a
method yourself to override it, but then you need code, not config.
But that's not simple
Tomas Doran schrieb:
If you want to override the login controller, then just don't add
CX::SimpleLogin to your app at all, then make a
lib/MyApp/Controller/Login.pm which subclasses
CX::SimpleLogin::Controller::Login..
Ah! That makes sense.
Actually I find that even cleaner than adding
I have two questions about CX::SimpleLogin:
1. Is there a simple way to change the settings for
redirect_after_login_uri and redirect_after_logout_uri ?
2. Why is the redirect code outsourced into a role
(CX:S::TraitFor::Controller::Login::WithRedirect) when
quite useless.
Bernhard Graf
___
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/
| xargs
rm or something similar.. (I'd probably wrap this in a script which is a
bit smarter and reports / deals with failure better etc, but you get the
idea)..
So if C:P:S:Store::File doesn't honour any expiration information your
suggestion makes sense.
Bernhard Graf
Jens Schwarz schrieb:
first of all: I have read
http://dev.catalystframework.org/wiki/tutorialsandhowtos/Using_Unicode
(especially the Tips for Troubleshooting Unicode in Perl Web Applications)
Nevertheless I have a strange UTF-8 problem that I need help with:
Concerning UTF-8 everything
helpful and comprehensive.
But from your original post it didn't seem that the database was your
problem, right?
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive
using the proxy-HTTP::Prefork combo for my project.
Bernhard Graf
___
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
Tomas Doran schrieb:
On 19 Dec 2009, at 22:47, Bernhard Graf wrote:
Where can I add the ACL attributes for edit_new?
Add them via config.
See:
http://blogs.perl.org/users/guillermo_roditi1/2009/12/reaction-and-crud-implemented-in-roles.html
http://www.catalystframework.org/calendar
this
is beyond the things one would expect in an introduction. IMO the
Cookbook is more appropriate for this.
Will send you my patch as PM.
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Eden Cardim schrieb:
Bernhard == Bernhard Graf cataly...@augensalat.de writes:
Bernhard Now this becomes:
Bernhard package MyApp::Base::User; with
Bernhard 'MyApp::Role::Controller::Create';
Bernhard package MyApp::Base::Page; with
Bernhard 'MyApp::Role
:
http://lists.scsys.co.uk/pipermail/catalyst/2008-June/018954.html
Is there a solution for this problem yet?
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
::Controller::Create';
package MyApp::Base::Page;
with 'MyApp::Role::Controller::Create';
Where can I add the ACL attributes for edit_new?
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo
Octavian Râsnita schrieb:
having all database access of a Cat action in a database transaction is
easy: Wrap everything in $c-model('DB')-schema-txn_do(...) or use
Catalyst::Action::DBIC::Transaction.
But what to do with action chains?
Read about txn_begin and txn_commit at:
/023907.html
still exists, even though it would be really easy to fix.
Therefore I filed a bug report and hope to find it in 5.80016.
Bernhard Graf
(*) your = all contributors
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi
Tomas Doran schrieb:
The FastCGI engine doesn't do anything with encoding/uft8, and nor does
FCGI.pm
This probably means (I'm guessing) that the xs part of FCGI doesn't
correctly handle buffers which are characters rather than bytes.
I wrote a test program to keep all possible side effects
webserver to C:E:HTTP::Prefork,
which works fine, but I would prefer keeping FastCGI as an alternative.
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
:
This module exports the functions Dump and Load. These functions are
intended to work exactly like YAML.pm's corresponding functions.
And that's not the case. And therefore you can't use it as a
drop-in-replacement for other YAML modules.
Bernhard Graf
Hi t0m,
I filed a bug report together with patch and test about Unicode
characters in request captures more than two weeks ago:
https://rt.cpan.org/Public/Bug/Display.html?id=50339
*Taken*
fine.
I've got a branch on Catalyst currently to deal with some other encoding
Captures /
These plugins hook into prepare_parameters() to decode data.
Why does it leave query_- and body_parameters untouched?
--
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
While I am at encoding issues in Cat ...
I filed a bug report together with patch and test about Unicode
characters in request captures more than two weeks ago:
https://rt.cpan.org/Public/Bug/Display.html?id=50339
It would be great if someone could care about it.
Aristotle Pagaltzis schrieb:
* monkey dwuep...@gmail.com [2009-09-29 14:35]:
Is there another way to do the above without having to write
the auth handling at the top of every method used to display
pages?
Chained dispatch. Do an auth check early in the chain, then the
actions down the
Zbigniew Lukasiak wrote:
I am not entirely sure that I understand what you mean by protocol
action - but how about a plain old method call:
MyApp::Controller::Root-myProtocolAction( $c, some message that
should be protocolled );
I think Jens is talking about logging (German:
very vague remembrance comes to my mind: I had a similar problem
once, and AFAIR this was related to a broken Content-Length header...
--
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo
.
--
Bernhard Graf
___
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/
to disable session usage for the HTTP auth realm only?
--
Bernhard Graf
___
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 10 Dezember 2008, Bernhard Graf wrote:
I have an application that uses two different authentication methods
based on C:P::Authentication:
The default realm uses Catalyst::Authentication::Credential::Password
with session and cookie for the usual web login with a
username-password
)]}
}
--
Bernhard Graf
___
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 config.
Catalyst::View::Email is broken, see
http://lists.scsys.co.uk/pipermail/catalyst/2008-January/016658.html
and the replies.
--
Bernhard Graf
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
::Email');
--
Bernhard Graf
___
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/
} is queried here, but never set.
--
Bernhard Graf
___
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
://catalyst.perl.org/calendar/2006/4
--
Bernhard Graf
___
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
39 matches
Mail list logo