8 years agoinitial Travis-CI configuration
Chris Weyl [Thu, 21 Mar 2013 17:13:17 +0000]
initial Travis-CI configuration

see https://travis-ci.org/perl-catalyst/catalyst-runtime for buildstatus, etc.

8 years agoappease t/author/spelling.t
Fitz Elliott [Wed, 20 Mar 2013 21:08:22 +0000]
appease t/author/spelling.t

 * README.pod: maillist => mailing list

 * lib/Catalyst/DispatchType/Chained: ie => i.e.

Signed-off-by: John Napiorkowski <jjnapiork@cpan.org>

8 years agofix broken tests for new psgi logging code
Fitz Elliott [Wed, 20 Mar 2013 20:50:20 +0000]
fix broken tests for new psgi logging code

 * lib/Catalyst/Log.pm
   * document clear_psgi for podcoverage.t
   * add psgienv to stopwords for spelling.t

 * t/lib/TestApp/View/Dump.pm
   * clear_psgienv() is now called clear_psgi()

Signed-off-by: John Napiorkowski <jjnapiork@cpan.org>

8 years agoupdate docs and tests for cpanfile support
Fitz Elliott [Wed, 20 Mar 2013 20:24:47 +0000]
update docs and tests for cpanfile support

 * Catalyst.pm
   * mention cpanfile as a way of detecting -Home

 * t/aggregate/unit_utils_home.t
   * update expected dist_indicator_file_list count

 * t/author/spelling.t
   * add cpanfile to stopwords

Signed-off-by: John Napiorkowski <jjnapiork@cpan.org>

8 years agodo something rational in the case where you call $app->uri_for
John Napiorkowski [Mon, 25 Mar 2013 14:39:43 +0000]
do something rational in the case where you call $app->uri_for

8 years agoupdated changes
John Napiorkowski [Mon, 18 Mar 2013 20:40:00 +0000]
updated changes

8 years agoupdated changelog
John Napiorkowski [Mon, 18 Mar 2013 20:30:14 +0000]
updated changelog

8 years agofixed psig loggers
John Napiorkowski [Mon, 18 Mar 2013 20:24:57 +0000]
fixed psig loggers

8 years agoadded change item from PR
John Napiorkowski [Mon, 18 Mar 2013 20:20:19 +0000]
added change item from PR

8 years agoChange PSGI tests from subtests to blocks
Andreas Marienborg [Tue, 12 Mar 2013 02:09:44 +0000]
Change PSGI tests from subtests to blocks

To work with Test::More 0.88, which is what catalyst requires.

8 years agoAdd pod for the external method 'psgienv'
Andreas Marienborg [Tue, 12 Mar 2013 02:09:06 +0000]
Add pod for the external method 'psgienv'

8 years agoMake the methods "private".
Andreas Marienborg [Tue, 12 Mar 2013 02:08:48 +0000]
Make the methods "private".

This is to discourage usage by others for now.

8 years agoDon't store the entire psgienv, just the pieces we need
Andreas Marienborg [Tue, 5 Mar 2013 04:21:03 +0000]
Don't store the entire psgienv, just the pieces we need

8 years agoAdd some description to the test
Andreas Marienborg [Fri, 1 Mar 2013 01:55:37 +0000]
Add some description to the test

8 years agoDont add \n for psgi logs(?)
Andreas Marienborg [Thu, 28 Feb 2013 14:30:15 +0000]
Dont add \n for psgi logs(?)

8 years agoAdd test for logging via psgi env
Andreas Marienborg [Thu, 28 Feb 2013 13:59:54 +0000]
Add test for logging via psgi env

8 years agoFirst stab at a solution
Andreas Marienborg [Thu, 28 Feb 2013 09:34:34 +0000]
First stab at a solution

8 years agoadd cpanfile to dist_indicator_file_list
Moritz Onken [Wed, 6 Mar 2013 20:48:03 +0000]
add cpanfile to dist_indicator_file_list

8 years agofixed changes
John Napiorkowski [Wed, 6 Mar 2013 13:54:56 +0000]
fixed changes

8 years agoadd version number change
John Napiorkowski [Wed, 6 Mar 2013 13:54:18 +0000]
add version number change

8 years agoadded another common override to http methods
John Napiorkowski [Wed, 6 Mar 2013 13:53:05 +0000]
added another common override to http methods

8 years agoREADME tweaks
Dimitar Petrov [Thu, 21 Feb 2013 08:44:56 +0000]
README tweaks

8 years agoupdated changes 5.90020
John Napiorkowski [Tue, 19 Feb 2013 16:09:51 +0000]
updated changes

8 years agodisplay http methods debug information before the action name
Dimitar Petrov [Tue, 19 Feb 2013 10:25:03 +0000]
display http methods debug information before the action name

8 years agoremoved code I should not have checkedin
John Napiorkowski [Mon, 18 Feb 2013 18:51:01 +0000]
removed code I should not have checkedin

8 years agoadd debug information for the new http method support
Dimitar Petrov [Mon, 18 Feb 2013 10:39:17 +0000]
add debug information for the new http method support

8 years agoFix text indention
Dimitar Petrov [Mon, 18 Feb 2013 10:36:29 +0000]
Fix text indention

8 years agotweaked the "list_extra_info" debugging method and converted old action info to use...
John Napiorkowski [Sun, 17 Feb 2013 17:56:17 +0000]
tweaked the "list_extra_info" debugging method and converted old action info to use this, to serve as an example for new ones

8 years agonew action method "list_extra_info" for better debugging, and did this for the new...
John Napiorkowski [Fri, 15 Feb 2013 19:49:16 +0000]
new action method "list_extra_info" for better debugging, and did this for the new http method actionrole

8 years agouse actionrole instead of core for the new http method support
John Napiorkowski [Fri, 15 Feb 2013 19:29:22 +0000]
use actionrole instead of core for the new http method support

8 years agoImprove the docs for MyAction attributes
André Walker [Tue, 12 Feb 2013 23:39:59 +0000]
Improve the docs for MyAction attributes

8 years agosome sort of docs for controller action subroutine attributes
John Napiorkowski [Tue, 12 Feb 2013 23:12:37 +0000]
some sort of docs for controller action subroutine attributes

8 years agonew match and match captutres for http methods, plus tests, docs
John Napiorkowski [Mon, 11 Feb 2013 22:22:07 +0000]
new match and match captutres for http methods, plus tests, docs

8 years agoadded more stop words to the spelling test to surprise false postive test failures
John Napiorkowski [Mon, 11 Feb 2013 14:58:21 +0000]
added more stop words to the spelling test to surprise false postive test failures

8 years agoFix spelling of usage
Dave Rolsky [Thu, 31 Jan 2013 23:02:02 +0000]
Fix spelling of usage

8 years agoIf it's a public method, document it
Tomas Doran [Tue, 29 Jan 2013 20:18:40 +0000]
If it's a public method, document it

8 years agoHTML encode the link in the 302 redirect page to prevent XSS.
Colin Newell [Wed, 23 Jan 2013 19:31:34 +0000]
HTML encode the link in the 302 redirect page to prevent XSS.

8 years agowork with MooseX::Getopt 0.48 by using the new public method for printing usage
Karen Etheridge [Sat, 5 Jan 2013 11:42:27 +0000]
work with MooseX::Getopt 0.48 by using the new public method for printing usage

This reverts commit f831720babc4818823ec8628dcc1bd032ed8220c, which reverted commit cd61f3ab24b7dcc59068c35d62ddb4bb9b9162c8, but with version dependency added and pod coverage fixed.

8 years agoRevert "work with MooseX::Getopt 0.48 by using the new public method for printing...
Tomas Doran [Fri, 4 Jan 2013 08:24:42 +0000]
Revert "work with MooseX::Getopt 0.48 by using the new public method for printing usage"

This reverts commit cd61f3ab24b7dcc59068c35d62ddb4bb9b9162c8.

8 years agomake Catalyst::Engine and Catalyst::Base immutable
Matt S Trout [Fri, 4 Jan 2013 00:46:03 +0000]
make Catalyst::Engine and Catalyst::Base immutable

8 years agowork with MooseX::Getopt 0.48 by using the new public method for printing usage
Karen Etheridge [Thu, 27 Dec 2012 08:25:01 +0000]
work with MooseX::Getopt 0.48 by using the new public method for printing usage

8 years agoFix typo in Changes
Dave Rolsky [Mon, 10 Dec 2012 20:30:45 +0000]
Fix typo in Changes

8 years agoFixed the TODO test, it works now.
Ferruccio Zamuner [Mon, 10 Dec 2012 10:15:24 +0000]
Fixed the TODO test, it works now.

8 years agoMake URI query param tests simpler and more robust
Dagfinn Ilmari Mannsåker [Wed, 5 Dec 2012 12:07:02 +0000]
Make URI query param tests simpler and more robust

8 years agoVersion 5.90019 5.90019
Tomas Doran [Tue, 4 Dec 2012 21:34:22 +0000]
Version 5.90019

8 years agoChangelog
Tomas Doran [Tue, 4 Dec 2012 21:31:31 +0000]

8 years agoBetter test fail if you don't have the author deps
Tomas Doran [Tue, 4 Dec 2012 21:30:02 +0000]
Better test fail if you don't have the author deps

8 years agoFix http server test, which also runs all the tests at a sub-path
Tomas Doran [Tue, 4 Dec 2012 21:58:30 +0000]
Fix http server test, which also runs all the tests at a sub-path

8 years agoMore v5.17.5-518-g7dc8663 related fixing
Tomas Doran [Tue, 4 Dec 2012 21:23:03 +0000]
More v5.17.5-518-g7dc8663 related fixing

8 years agoFix for v5.17.5-518-g7dc8663
Tomas Doran [Tue, 4 Dec 2012 21:09:16 +0000]
Fix for v5.17.5-518-g7dc8663

8 years agoMake a load of the tests fail more obviously
Tomas Doran [Mon, 12 Nov 2012 17:33:05 +0000]
Make a load of the tests fail more obviously

8 years agoRemove MX::Types
Tomas Doran [Mon, 12 Nov 2012 15:54:34 +0000]
Remove MX::Types

8 years agoFix for perl 5.8. RT#61122
Tomas Doran [Mon, 12 Nov 2012 15:39:15 +0000]
Fix for perl 5.8. RT#61122

8 years agoupdated changes file and version string in preparation for release 5.90018
John Napiorkowski [Wed, 24 Oct 2012 00:54:20 +0000]
updated changes file and version string in preparation for release

8 years agoFix more stupidity
Tomas Doran [Tue, 23 Oct 2012 20:12:49 +0000]
Fix more stupidity

8 years agoUsing a regex on data::dumper output is insane. I suck
Tomas Doran [Tue, 23 Oct 2012 20:08:08 +0000]
Using a regex on data::dumper output is insane. I suck

8 years agoStop being insane
Tomas Doran [Tue, 23 Oct 2012 19:59:57 +0000]
Stop being insane

8 years agoVersion 5.90017 5.90017
Tomas Doran [Fri, 19 Oct 2012 21:34:05 +0000]
Version 5.90017

8 years agoChangelog
Tomas Doran [Fri, 19 Oct 2012 21:33:02 +0000]

8 years agoRename methods to be shorter
Tomas Doran [Tue, 9 Oct 2012 07:41:41 +0000]
Rename methods to be shorter

8 years agoEnable hooking parameters into req/res construction. Useful if you are dynamically...
Tomas Doran [Mon, 8 Oct 2012 19:04:40 +0000]
Enable hooking parameters into req/res construction. Useful if you are dynamically applying request or response roles

8 years agoMake this a warning so it's a little more obvious
Tomas Doran [Mon, 24 Sep 2012 20:19:45 +0000]
Make this a warning so it's a little more obvious

8 years agoChange Catalsyt _parse_attrs so that when sub attr handlers:
Gareth Kirwan [Tue, 28 Aug 2012 15:22:42 +0000]
Change Catalsyt _parse_attrs so that when sub attr handlers:
1) Can return multiple pairs of new attributes
2) Get their returned attributes passed through the correct attribute handler.
e.g sub _parse_Whatever_attr { return Chained => 'foo', PathPart => 'bar' }
Will now work because both new attributes are respected, and the Chained attribute is passed
to _parse_Chained_attr and fixedup correctly by that.

8 years agoIn Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 15:17:46 +0000]
In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043

8 years agoclaim a version for release 5.90016
John Napiorkowski [Thu, 16 Aug 2012 19:36:57 +0000]
claim a version for release

8 years agoupdated changelog
John Napiorkowski [Thu, 16 Aug 2012 19:17:20 +0000]
updated changelog

8 years agopatch to make prepare_parameters not be both a builder and a preparer
John Napiorkowski [Thu, 16 Aug 2012 18:59:41 +0000]
patch to make prepare_parameters not be both a builder and a preparer

8 years agoMac OSX Mountain Lion is like previous version in regards to tar
John Napiorkowski [Thu, 16 Aug 2012 18:57:52 +0000]
Mac OSX Mountain Lion is like previous version in regards to tar

8 years agoFix model/view/controller methods to handle stringifiable objects
Matt S Trout [Tue, 14 Aug 2012 17:48:43 +0000]
Fix model/view/controller methods to handle stringifiable objects

Previously, uri_for would test to see if its first argument was isa
Catalyst::Controller but then assume any other object was a Catalyst::Action;
this change uses Safe::Isa to check the class in both cases, which is useful
both for string overloading packages such as i18n.pm and HTML::String but also
when a Path::Class::File object is passed during static URI generation.

8 years agoFix model/view/controller methods to handle stringifiable objects
Matt S Trout [Tue, 14 Aug 2012 17:43:13 +0000]
Fix model/view/controller methods to handle stringifiable objects

Previously, we tested ref() and assumed if that was true that we'd been
supplied with a regexp; by switching to using Safe::Isa to check for


a stringifiable object will still get handled correctly. This is necessary
when using string overloading tools such as i18n.pm or HTML::String.

8 years agoAdd =encoding UTF-8 to POD
Dagfinn Ilmari Mannsåker [Mon, 23 Jul 2012 15:32:10 +0000]
Add =encoding UTF-8 to POD

8 years agoFix syntax error
Dagfinn Ilmari Mannsåker [Mon, 23 Jul 2012 15:01:55 +0000]
Fix syntax error

8 years agoFix RT#78377 - IIS7 sucks in different ways to IIS6
Tomas Doran [Wed, 18 Jul 2012 20:05:44 +0000]
Fix RT#78377 - IIS7 sucks in different ways to IIS6

8 years agoVersion 5.90015 5.90015
Tomas Doran [Sat, 30 Jun 2012 15:57:52 +0000]
Version 5.90015

8 years agoUpdate the changes
Tomas Doran [Sat, 30 Jun 2012 15:49:36 +0000]
Update the changes

8 years agoFix ->finalize_headers getting called twice. RT#78090
Tomas Doran [Sat, 30 Jun 2012 15:40:57 +0000]
Fix ->finalize_headers getting called twice. RT#78090

8 years agoversion bumping 5.90014
John Napiorkowski [Tue, 26 Jun 2012 14:02:18 +0000]
version bumping

8 years agoMerge branch 'fix-76179'
Andrew Rodland [Mon, 25 Jun 2012 19:50:04 +0000]
Merge branch 'fix-76179'

8 years agoFix CPAN RT#76179
Andrew Rodland [Mon, 25 Jun 2012 07:07:51 +0000]
Fix CPAN RT#76179

* Revert commit 684ca75d81f91dc5302f1654d7029c93be4f5a37. We
  actually need the context in the Response so that $c->res->write can
  call $c->finalize_headers.

* Clear _context in $c->res for debug dump output again. Now that the response
  has a _context again, we need to avoid dumping it again.

* Make Response::write call finalize_headers on the context, not $self
  Calling write causes finalize_headers to be called, so that the headers are
  available to be sent before we start sending body. This needs to be the case
  whether the user called $c->write or $c->res->write. And plugins like
  Session hook Catalyst::prepare_headers to prepare their own headers (like
  session cookies) so we really need to call the context's finalize_headers,
  and not just the response method that does the real work.

* Add tests for finalize_headers issue (failing on master, passing here)

8 years agoupdated changes and version for new release 5.90013
John Napiorkowski [Thu, 21 Jun 2012 14:41:18 +0000]
updated changes and version for new release

8 years agoStop using deprecated CMOP APIs
Florian Ragwitz [Thu, 7 Jun 2012 22:35:47 +0000]
Stop using deprecated CMOP APIs

8 years agoMove Controller::ActionRole's functionality into the core.
Florian Ragwitz [Mon, 22 Mar 2010 12:34:34 +0000]
Move Controller::ActionRole's functionality into the core.

8 years agouse style;
Florian Ragwitz [Thu, 7 Jun 2012 23:03:28 +0000]
use style;

8 years agoMake Makefile.PL less irritating.
Tomas Doran [Sat, 26 May 2012 10:47:07 +0000]
Make Makefile.PL less irritating.

Complain about all the Module::Install extensions in one go.
Do all the author_requires in another go.

This means that if you've got a clean-ish machine, you only get two
irritating lists to feed to cpanm, rather than having to do an
irritating install, perl Makefile.PL, install cycle till it works.

Also fix use of M::I extensions to include parens, as otherwise
if they're not installed then M::I doesn't load them, and our requires
checking is now at runtime rather than compile time (and 5.16.0
doesn't like it at compile time)..

8 years agoChangelog test fixes
Tomas Doran [Sat, 26 May 2012 10:32:21 +0000]
Changelog test fixes

8 years agoFix t/author/http-server.t on Win32
Tomas Doran [Sat, 26 May 2012 10:27:19 +0000]
Fix t/author/http-server.t on Win32

Cherry picked out of:

commit 9b8933f1817fd32ef63010739275a7ed7f844ad3
Author: Brendan Byrd <byrd.b@insightcom.com>
Date:   Thu Apr 19 17:35:51 2012 -0400

    Fix author requires to not fatally error on a single command Fix author t

8 years agoFix script test when aggregated
Tomas Doran [Sat, 26 May 2012 10:24:22 +0000]
Fix script test when aggregated

8 years agoFix warning in some chained dispatch cases
Tomas Doran [Sat, 26 May 2012 10:14:27 +0000]
Fix warning in some chained dispatch cases

8 years agoChangelog
Tomas Doran [Fri, 25 May 2012 16:51:34 +0000]

8 years agotests and patch for Controller to accept action_args from constructor
skaufman [Mon, 16 Apr 2012 17:22:58 +0000]
tests and patch for Controller to accept action_args from constructor

8 years agofix body_parameters is undef when no params
Gerda Shank [Thu, 24 May 2012 16:47:01 +0000]
fix body_parameters is undef when no params

8 years agoFix RT reference
Tomas Doran [Sun, 20 May 2012 11:19:00 +0000]
Fix RT reference

8 years agoVersion 5.90012 5.90012
Tomas Doran [Wed, 16 May 2012 09:12:00 +0000]
Version 5.90012

8 years agoWork around Moose bug RT#7536 which breaks Catalyst::Controller::DBIC::API
Alexander Hartmaier [Tue, 15 May 2012 10:45:57 +0000]
Work around Moose bug RT#7536 which breaks Catalyst::Controller::DBIC::API

8 years agoFix test, whoops
Tomas Doran [Tue, 15 May 2012 09:35:41 +0000]
Fix test, whoops

8 years agoRemove dep on B::H::EOS, for RT#76437
Tomas Doran [Sat, 5 May 2012 13:04:55 +0000]
Remove dep on B::H::EOS, for RT#76437

8 years agoFix documentation for the 'secure' method in Catalyst:Request. RT#76710
Tomas Doran [Sat, 5 May 2012 12:37:23 +0000]
Fix documentation for the 'secure' method in Catalyst:Request. RT#76710

8 years agoFix vague 'checkout' wording in Catalyst::Utils. RT#77000
Tomas Doran [Sat, 5 May 2012 10:49:43 +0000]
Fix vague 'checkout' wording in Catalyst::Utils. RT#77000

8 years agobump namespace::clean dep
Matt S Trout [Wed, 18 Apr 2012 17:30:50 +0000]
bump namespace::clean dep

8 years agoWe are keeping ->_plugins->{} for a reason.
Tomas Doran [Mon, 16 Apr 2012 08:12:02 +0000]
We are keeping ->_plugins->{} for a reason.

Use that reason to stop MRO errors. We could instead break in this case,
which I considered - however I think the behaviour I had is closer to
what was originally intended, and the simple auth helper from the book
has a habit of doing this.. If anyone feels strongly however, I'd be
entirely in favour of this becoming fatal instead...