9 years agoChanged to die rather than set response redirection-security
Robert Rothenberg [Thu, 19 Jun 2014 16:40:39 +0000]
Changed to die rather than set response

9 years agoPrototype fix for heading injection vulnerability in redirection
Robert Rothenberg [Thu, 19 Jun 2014 16:37:36 +0000]
Prototype fix for heading injection vulnerability in redirection

Also perltidied.

9 years agoversion 5.90065 5.90065
Henry Van Styn [Wed, 4 Jun 2014 21:33:11 +0000]
version 5.90065

Fixed file modes...

9 years agoMisc tweaks per mst
Henry Van Styn [Tue, 13 May 2014 17:34:56 +0000]
Misc tweaks per mst

Log still flushed at the end of setup + Catalyst::Log::_log() returns 1

9 years agoAPI change: autoflush (log) now on by default + unit tests + POD
Henry Van Styn [Tue, 13 May 2014 15:58:13 +0000]
API change: autoflush (log) now on by default + unit tests + POD

The new autoflush feature of Catalyst::Log now defaults to true and is
left on. In order to access the old behavior, modules such as
Static::Simple must manually turn it off (i.e. by hooking
setup_finalize, see example in POD).

Also updated logger unit tests, and added a new set of
autoflush-specific tests.

Note: this API change was suggested by mst

9 years agoBack to 0/1 for true/flase setting for autoflush
Henry Van Styn [Mon, 12 May 2014 21:46:19 +0000]
Back to 0/1 for true/flase setting for autoflush

From IRC:
<ilmari> I'd rather use 0 than undef for false, really
<vanstyn> ok, then I'll change it back... the reason I changed it to
undef was to match existing code, 'abort'
<vanstyn> I generally prefer 0/1 as well, which is why that is what I
started with

9 years agoMerge remote-tracking branch 'upstream/master'
Henry Van Styn [Mon, 12 May 2014 21:37:56 +0000]
Merge remote-tracking branch 'upstream/master'

9 years agoUse a fixed body in response header tests
Dagfinn Ilmari Mannsåker [Mon, 12 May 2014 21:10:21 +0000]
Use a fixed body in response header tests

This lets us stop munging the expected length betwen HEAD and GET, and
lets us test Content-Length when using an external sever too.

9 years agoCatalyst::Log::_log correct return value
Henry Van Styn [Mon, 12 May 2014 20:30:35 +0000]
Catalyst::Log::_log correct return value

9 years agoTurn autoflush off via undef instead of 0 for consistency
Henry Van Styn [Mon, 12 May 2014 20:19:06 +0000]
Turn autoflush off via undef instead of 0 for consistency

9 years agoAdded 'autoflush' to Catalyst::Log + enabled during setup
Henry Van Styn [Mon, 12 May 2014 18:36:57 +0000]
Added 'autoflush' to Catalyst::Log + enabled during setup

The default logger now has an 'autoflush' flag to cause log messages to
be written immediately instead of queued. This is now set to true during
setup so that log messages show up in real time (i.e. when using the
test server).

It is currently turned back off at the end of setup for backward
compatability (specifically for Static::Simple), however, mst has
suggested that we change the API such that plugins like S::S are
responsible for turning off autoflush themselves if they need to.

See in-code comments for more details.

9 years agoFix test failures when running under CATALYST_DEBUG. RT#95358
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 20:54:43 +0000]
Fix test failures when running under CATALYST_DEBUG. RT#95358

9 years agoRemove redundant ->setup call in t/head_middleware.t RT#95361
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 20:05:28 +0000]
Remove redundant ->setup call in t/head_middleware.t RT#95361

Now that %INC is being populated earlier and the first ->setup call
succeeds, test that and remove the the second one.

9 years agoAdd Changes entry for POD fixes
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 20:00:37 +0000]
Add Changes entry for POD fixes

9 years agoFix spelling, grammar and structural errors in POD
Dagfinn Ilmari Mannsåker [Mon, 5 May 2014 18:44:41 +0000]
Fix spelling, grammar and structural errors in POD

- Consistently use imperative tense in Delta headers
- Fix header levels in Delta
- Consistently spell "backwards compatibility" out
- Add new and remove bogus stopwords
- Fix a handful of typos

9 years agoup version and uodate changelog for release 5.90064
John Napiorkowski [Mon, 5 May 2014 14:30:11 +0000]
up version and uodate changelog for release

9 years agofix loading inline packages in tests
Graham Knop [Sat, 3 May 2014 04:53:19 +0000]
fix loading inline packages in tests

9 years agodocs and correct middleware order
John Napiorkowski [Thu, 1 May 2014 23:49:01 +0000]
docs and correct middleware order

9 years agotest case to prove that HEAD chops off the body but not until the auto content length...
John Napiorkowski [Thu, 1 May 2014 23:17:06 +0000]
test case to prove that HEAD chops off the body but not until the auto content length middleware does its thing

9 years agoupdated changelog
John Napiorkowski [Thu, 1 May 2014 22:24:25 +0000]
updated changelog

9 years agocorrect auto detection of terminal width and better messages about what is going on
John Napiorkowski [Thu, 1 May 2014 22:24:15 +0000]
correct auto detection of terminal width and better messages about what is going on

9 years agoupdated depraction notes
John Napiorkowski [Thu, 1 May 2014 22:23:38 +0000]
updated depraction notes
;

9 years agosilence warning about redefinition of variable
John Napiorkowski [Thu, 1 May 2014 22:23:15 +0000]
silence warning about redefinition of variable

9 years agochange info and version
John Napiorkowski [Thu, 1 May 2014 21:13:44 +0000]
change info and version

9 years agomore docs and test cases for ENV localization
John Napiorkowski [Thu, 1 May 2014 21:13:31 +0000]
more docs and test cases for ENV localization

9 years agofixed case where end action was called even if an http style exception was thrown
John Napiorkowski [Thu, 1 May 2014 20:27:41 +0000]
fixed case where end action was called even if an http style exception was thrown

10 years agofix for problem when a http style exception overloads stringification 5.90062
John Napiorkowski [Mon, 14 Apr 2014 18:47:43 +0000]
fix for problem when a http style exception overloads stringification

10 years agoprep for release 5.90061
John Napiorkowski [Mon, 10 Mar 2014 14:26:15 +0000]
prep for release

10 years agoMoved setup_middleware() to after plugin setup block
Henry Van Styn [Sat, 8 Mar 2014 00:55:42 +0000]
Moved setup_middleware() to after plugin setup block

After moving the plugin setup block back down to its pre 5.90052
location, the setup_middleware() call also needed to be moved, now after
that block and immediately before setup_components. All tests now seem
to pass.

10 years agoMoved order of plugin setup back to pre 5.90052 location
Henry Van Styn [Sat, 8 Mar 2014 00:06:09 +0000]
Moved order of plugin setup back to pre 5.90052 location

In 17176f15aa (v5.90052) the plugin setup block was moved up to be
called immediately after setup_plugins(), however, this causes issues
with initialization order of other plugins that hook into setup(). This
commit moves the block back down to just before setup_components, where
it used to be.

10 years agoupping versions and prep release 5.90060
John Napiorkowski [Sat, 8 Feb 2014 02:44:06 +0000]
upping versions and prep release

10 years agoupdated versions for release
John Napiorkowski [Thu, 6 Feb 2014 20:24:44 +0000]
updated versions for release

10 years agoMerge branch 'master' into runner
John Napiorkowski [Thu, 6 Feb 2014 17:48:29 +0000]
Merge branch 'master' into runner

10 years agobasic docs for env in req
John Napiorkowski [Thu, 6 Feb 2014 17:10:05 +0000]
basic docs for env in req

10 years agocomment out test case
John Napiorkowski [Thu, 6 Feb 2014 16:37:10 +0000]
comment out test case

10 years agosketch for httpmethods _ new psgi utils / tests
John Napiorkowski [Thu, 6 Feb 2014 15:49:29 +0000]
sketch for httpmethods _ new psgi utils / tests

10 years agochanged docs
John Napiorkowski [Thu, 30 Jan 2014 17:43:27 +0000]
changed docs

10 years agomake class method chaining off setup possible
John Napiorkowski [Thu, 30 Jan 2014 16:45:15 +0000]
make class method chaining off setup possible

10 years agonewer version of middleware
John Napiorkowski [Tue, 28 Jan 2014 19:08:33 +0000]
newer version of middleware

10 years agodocument changes
John Napiorkowski [Tue, 28 Jan 2014 18:02:58 +0000]
document changes

10 years agoup version for upcoming release
John Napiorkowski [Tue, 28 Jan 2014 18:01:30 +0000]
up version for upcoming release

10 years agospecify newer versions of some middleware
John Napiorkowski [Tue, 28 Jan 2014 18:01:15 +0000]
specify newer versions of some middleware

10 years agoMerge branch 'runner-die-chain-middle' into runner
Mark Ellis [Mon, 27 Jan 2014 23:24:50 +0000]
Merge branch 'runner-die-chain-middle' into runner

10 years agoAdded an extra test that dies in the middle of a chain
Mark Ellis [Mon, 27 Jan 2014 21:41:20 +0000]
Added an extra test that dies in the middle of a chain

10 years agoupdated copyright
John Napiorkowski [Mon, 27 Jan 2014 17:11:55 +0000]
updated copyright

10 years agobasic docs for the new exception stuff
John Napiorkowski [Mon, 27 Jan 2014 16:42:20 +0000]
basic docs for the new exception stuff

10 years ago1xx responses do not have any headers
Upasana [Fri, 10 Jan 2014 19:59:47 +0000]
1xx responses do not have any headers

10 years agoAdded Plack::Middleware::RemoveRedundantBody to dependencies
Upasana [Thu, 9 Jan 2014 17:24:09 +0000]
Added Plack::Middleware::RemoveRedundantBody to dependencies

10 years agoWrote tests for Plack::Middleware::RemoveRedundantBody
Upasana [Thu, 9 Jan 2014 17:10:39 +0000]
Wrote tests for Plack::Middleware::RemoveRedundantBody

10 years agoAdded routes for testing correct working of Plack::Middleware::RemoveRedundantBody...
Upasana [Thu, 9 Jan 2014 17:10:13 +0000]
Added routes for testing correct working of Plack::Middleware::RemoveRedundantBody with Catalyst

10 years agoUse Plack::Middleware::RemoveRedundantBody
Upasana [Thu, 9 Jan 2014 17:08:01 +0000]
Use Plack::Middleware::RemoveRedundantBody

10 years agosome docs on the new error stuff
John Napiorkowski [Mon, 27 Jan 2014 15:37:39 +0000]
some docs on the new error stuff

10 years agomore docs
John Napiorkowski [Fri, 24 Jan 2014 22:47:50 +0000]
more docs

10 years agoapplied patch from github
John Napiorkowski [Fri, 24 Jan 2014 02:18:01 +0000]
applied patch from github

10 years agofixed typo
John Napiorkowski [Fri, 24 Jan 2014 02:14:43 +0000]
fixed typo

10 years agomore middleware, more listed deprecations
John Napiorkowski [Thu, 23 Jan 2014 02:27:09 +0000]
more middleware, more listed deprecations

10 years agonew middleware
John Napiorkowski [Tue, 21 Jan 2014 23:45:55 +0000]
new middleware

10 years agowarn if modifying headers afer finalizing them
John Napiorkowski [Tue, 21 Jan 2014 23:41:39 +0000]
warn if modifying headers afer finalizing them

10 years agodocument deprecations, refactor finalize body a bit
John Napiorkowski [Tue, 21 Jan 2014 20:05:28 +0000]
document deprecations, refactor finalize body a bit

10 years agodocumentatin updates
John Napiorkowski [Tue, 21 Jan 2014 16:56:50 +0000]
documentatin updates

10 years agoAdded docs explaining missing route for /go_here
Upasana [Fri, 3 Jan 2014 15:29:43 +0000]
Added docs explaining missing route for /go_here

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

10 years agofixed spelling tests
John Napiorkowski [Mon, 6 Jan 2014 21:49:35 +0000]
fixed spelling tests

10 years agomake an empty body [] not [undef]
John Napiorkowski [Mon, 6 Jan 2014 21:47:39 +0000]
make an empty body [] not [undef]

10 years agoupdated changes and versions, commented on deprecations in the delta file
John Napiorkowski [Mon, 30 Dec 2013 16:03:35 +0000]
updated changes and versions, commented on deprecations in the delta file

10 years agoset body io-handle as the PSGI spec requires, and handle the backcompat case
John Napiorkowski [Mon, 30 Dec 2013 15:26:43 +0000]
set body io-handle as the PSGI spec requires, and handle the backcompat case

10 years agorun CI against 5.8
Arthur Axel 'fREW' Schmidt [Fri, 27 Dec 2013 22:15:32 +0000]
run CI against 5.8

10 years agoStop installing deps in parallel
Arthur Axel 'fREW' Schmidt [Fri, 27 Dec 2013 22:10:05 +0000]
Stop installing deps in parallel

Instead, we just don't run the tests for our deps.  It's really not important
that deps tests pass on a CI server

10 years agonone of these things are needed
Arthur Axel 'fREW' Schmidt [Fri, 27 Dec 2013 22:08:32 +0000]
none of these things are needed

10 years agoadd to changes
John Napiorkowski [Thu, 26 Dec 2013 23:49:47 +0000]
add to changes

10 years agoif an exception is http, let middleware handle it
John Napiorkowski [Thu, 26 Dec 2013 23:40:19 +0000]
if an exception is http, let middleware handle it

10 years agofixed regression in previous release
John Napiorkowski [Tue, 24 Dec 2013 14:01:35 +0000]
fixed regression in previous release

10 years agomark version for next release
John Napiorkowski [Mon, 23 Dec 2013 14:35:12 +0000]
mark version for next release

10 years agostub the changes for next revision
John Napiorkowski [Mon, 23 Dec 2013 14:34:20 +0000]
stub the changes for next revision

10 years agomore docs about alternative way to setup middleware
John Napiorkowski [Mon, 23 Dec 2013 14:33:06 +0000]
more docs about alternative way to setup middleware

10 years agobranded changedate
John Napiorkowski [Sun, 22 Dec 2013 16:23:58 +0000]
branded changedate

10 years agomerged fix for regression from master
John Napiorkowski [Sun, 22 Dec 2013 16:22:43 +0000]
merged fix for regression from master

10 years agofix reported reversion
John Napiorkowski [Sun, 22 Dec 2013 16:14:33 +0000]
fix reported reversion

10 years agotag the next dev version to make it easier to locally install
John Napiorkowski [Sat, 21 Dec 2013 20:48:11 +0000]
tag the next dev version to make it easier to locally install

10 years agoremove custom catalyst code and use Plack Middleware instead
John Napiorkowski [Sat, 21 Dec 2013 19:45:53 +0000]
remove custom catalyst code and use Plack Middleware instead

10 years agolet people know if they are doing wrong
John Napiorkowski [Sat, 21 Dec 2013 18:49:32 +0000]
let people know if they are doing wrong

10 years agofirst pass at not streaming via the catalyst app, but instead allow the underlying...
John Napiorkowski [Sat, 21 Dec 2013 17:51:36 +0000]
first pass at not streaming via the catalyst app, but instead allow the underlying server to handle it most optimally;

10 years agoremove regexp for good 5.90059_001
John Napiorkowski [Thu, 19 Dec 2013 14:20:42 +0000]
remove regexp for good

10 years agofixed t/author/spelling.t in lib/Catalyst/Response.pm 5.90052
Alexander Hartmaier [Wed, 18 Dec 2013 16:15:53 +0000]
fixed t/author/spelling.t in lib/Catalyst/Response.pm

10 years agoup version in prep for release
John Napiorkowski [Wed, 18 Dec 2013 15:47:58 +0000]
up version in prep for release

10 years agotimestamp changes
John Napiorkowski [Wed, 18 Dec 2013 15:47:48 +0000]
timestamp changes

10 years agoallow more files in dist
John Napiorkowski [Wed, 18 Dec 2013 15:47:29 +0000]
allow more files in dist

10 years agoupdated changes
John Napiorkowski [Wed, 18 Dec 2013 15:19:20 +0000]
updated changes

10 years agoChange documentation to explain the effects of using a IO::Handle type object as...
Neil Lunn [Tue, 26 Nov 2013 13:16:24 +0000]
Change documentation to explain the effects of using a IO::Handle type object as $res->body.

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

10 years agoDocumentation fix for Catalyst::Response::from_psgi_response
Neil Lunn [Tue, 19 Nov 2013 05:46:11 +0000]
Documentation fix for Catalyst::Response::from_psgi_response

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

10 years agomore changes noted
John Napiorkowski [Wed, 18 Dec 2013 15:02:46 +0000]
more changes noted

10 years agodetailed changes
John Napiorkowski [Wed, 18 Dec 2013 15:01:11 +0000]
detailed changes

10 years agobetter error messages when the middleware does not exist
John Napiorkowski [Wed, 18 Dec 2013 14:56:04 +0000]
better error messages when the middleware does not exist

10 years agorerun setup during setup after plugins are installed
John Napiorkowski [Wed, 18 Dec 2013 14:55:44 +0000]
rerun setup during setup after plugins are installed

10 years agotweak the test case
John Napiorkowski [Wed, 18 Dec 2013 14:55:15 +0000]
tweak the test case

10 years agolook a failing test case...
John Napiorkowski [Tue, 17 Dec 2013 23:37:20 +0000]
look a failing test case...

10 years agofixed first block of startup debug messages missing when using a custom logger that...
Alexander Hartmaier [Mon, 16 Dec 2013 15:56:23 +0000]
fixed first block of startup debug messages missing when using a custom logger that gets set at runtime

for example by overriding finalize_config

10 years agofix some minor Pod formating errors
Ricardo Signes [Mon, 9 Dec 2013 21:16:29 +0000]
fix some minor Pod formating errors

10 years agoup version and record changes for new release 5.90051
John Napiorkowski [Thu, 7 Nov 2013 17:05:07 +0000]
up version and record changes for new release

10 years agomake sure env exists before tryint to access it to fix CAR regression
John Napiorkowski [Thu, 7 Nov 2013 17:02:38 +0000]
make sure env exists before tryint to access it to fix CAR regression

10 years agomerged up and set versions for release 5.90050
John Napiorkowski [Tue, 5 Nov 2013 21:33:36 +0000]
merged up and set versions for release