14 years agoFix the fcgi script tests.
Florian Ragwitz [Thu, 14 Jan 2010 05:11:09 +0000]
Fix the fcgi script tests.

14 years agoMerge branch 'master' into psgi
Florian Ragwitz [Thu, 14 Jan 2010 04:02:47 +0000]
Merge branch 'master' into psgi

master:
Depend on n:c 0.12 to work on perl >= 5.11.2.
Version 5.80018.
canonical() is a no-op for the base uri.
Fix a deprecation warning in the tests.
Fix URI bug masked by HTTP::Request::AsCGI
Deprecate bare imports of Catalyst::Test - either use an app name or don't run the import method. As-per r12564
Apply patch to clarify uri_for action from Octavian Rasnita on list
Version 5.80017.
require autoclean once only
Bump version of ::Role::WithOverloading
Bump dep
Un stupid
Correctly pass argv option into Catalyst::Engine::HTTP
Changelog Adopt::NEXT warnings
Back out r12493, use \Q instead
Don't screw over people using --detach, <sigh>
Clarify comment.

Conflicts:
lib/Catalyst/Engine/CGI.pm
lib/Catalyst/Engine/HTTP.pm
t/aggregate/unit_core_script_server.t

14 years agoMake build_psgi_app public and add MyApp->psgi_app.
Florian Ragwitz [Thu, 14 Jan 2010 03:49:27 +0000]
Make build_psgi_app public and add MyApp->psgi_app.

14 years agoDepend on n:c 0.12 to work on perl >= 5.11.2.
Florian Ragwitz [Thu, 14 Jan 2010 02:26:03 +0000]
Depend on n:c 0.12 to work on perl >= 5.11.2.

14 years agoDepend on a ReverseProxy middleware that spits out secure envs for requests forwarded...
Florian Ragwitz [Wed, 13 Jan 2010 07:59:18 +0000]
Depend on a ReverseProxy middleware that spits out secure envs for requests forwarded to secure ports.

14 years agoVersion 5.80018. 5.80018
Florian Ragwitz [Tue, 12 Jan 2010 21:37:46 +0000]
Version 5.80018.

14 years agocanonical() is a no-op for the base uri.
Florian Ragwitz [Tue, 12 Jan 2010 21:37:39 +0000]
canonical() is a no-op for the base uri.

14 years agoFix a deprecation warning in the tests.
Florian Ragwitz [Tue, 12 Jan 2010 21:37:31 +0000]
Fix a deprecation warning in the tests.

14 years agoDo the right thing with FCGI args, the hostname and the keepalive options in the...
Tomas Doran [Tue, 12 Jan 2010 01:30:26 +0000]
Do the right thing with FCGI args, the hostname and the keepalive options in the scripts so that the Plack servers get them correctly.

There are still a load of options for the dev server (like writing a PID file) that we'll need to add to the plack server (or do ourselves manually?), and the entire set of options we actually pass into the application via ->run is unused by it.

I'm not sure if we are safe to change the original option passing convention or not - need to look at alternate engines and stuff..

14 years agoMove everything back out into the scriptrole, allow the scripts to force their engine..
Tomas Doran [Mon, 11 Jan 2010 23:36:52 +0000]
Move everything back out into the scriptrole, allow the scripts to force their engine..

14 years agoFix URI bug masked by HTTP::Request::AsCGI
Tomas Doran [Mon, 11 Jan 2010 23:18:08 +0000]
Fix URI bug masked by HTTP::Request::AsCGI

14 years agoCanonicalize the url becuse we're building it from the always-undecoded REQUEST_URI...
Florian Ragwitz [Mon, 11 Jan 2010 22:23:56 +0000]
Canonicalize the url becuse we're building it from the always-undecoded REQUEST_URI, not PATH_INFO.

14 years agoWell, apparently this *is* necessary, just the extra_env stuff isn't :/
Florian Ragwitz [Mon, 11 Jan 2010 22:23:49 +0000]
Well, apparently this *is* necessary, just the extra_env stuff isn't :/

This reverts commit 87d4377bb66a6530cd2e13c4e770e7b1f0aaf7d3.

14 years agoDelete unfixable FAIL.
Florian Ragwitz [Mon, 11 Jan 2010 22:12:16 +0000]
Delete unfixable FAIL.

It's unnecessary under PSGI anyway. The PSGI servers won't let get undecoded
paths through to us.

14 years agoPort t/aggregate/live_engine_request_escaped_path.t to psgi.
Florian Ragwitz [Mon, 11 Jan 2010 21:41:38 +0000]
Port t/aggregate/live_engine_request_escaped_path.t to psgi.

14 years agoDeprecate bare imports of Catalyst::Test - either use an app name or don't run the...
Tomas Doran [Mon, 11 Jan 2010 21:11:05 +0000]
Deprecate bare imports of Catalyst::Test - either use an app name or don't run the import method. As-per r12564

14 years agoSkip Engine::CGI-specific tests until we find a better place for them.
Florian Ragwitz [Sun, 10 Jan 2010 23:22:18 +0000]
Skip Engine::CGI-specific tests until we find a better place for them.

14 years agoAt least pass the port param to _run_psgi_app to get http-server.t running again.
Florian Ragwitz [Sun, 10 Jan 2010 20:30:06 +0000]
At least pass the port param to _run_psgi_app to get http-server.t running again.

14 years agoStop expecting the Host header for proxy requests to be the original one.
Florian Ragwitz [Sun, 10 Jan 2010 19:05:43 +0000]
Stop expecting the Host header for proxy requests to be the original one.

Doing this was probably stupid in the first place, and now we're handing all
the frontend proxy stuff off to plack, we shouldn't even care anymore. The
middleware is free to set HTTP_HOST to HTTP_X_FORWARDED_HOST for us.

14 years agoStart supporting running behind reverse proxies again.
Florian Ragwitz [Sun, 10 Jan 2010 17:03:50 +0000]
Start supporting running behind reverse proxies again.

14 years agoInline the OverrideEnv middleware into Catalyst::Test.
Florian Ragwitz [Sun, 10 Jan 2010 17:03:32 +0000]
Inline the OverrideEnv middleware into Catalyst::Test.

14 years agoApply patch to clarify uri_for action from Octavian Rasnita on list
Tomas Doran [Sun, 10 Jan 2010 14:22:15 +0000]
Apply patch to clarify uri_for action from Octavian Rasnita on list

14 years agoImprove handling errors during prepare.
Florian Ragwitz [Sun, 10 Jan 2010 06:31:16 +0000]
Improve handling errors during prepare.

14 years agoLook up the method just once.
Florian Ragwitz [Sun, 10 Jan 2010 06:31:03 +0000]
Look up the method just once.

14 years agoProperly merge the extra env var into the psgi environment.
Florian Ragwitz [Sun, 10 Jan 2010 04:42:21 +0000]
Properly merge the extra env var into the psgi environment.

14 years agoDon't dump psgi.input as it can't be deserialized.
Florian Ragwitz [Sun, 10 Jan 2010 04:42:14 +0000]
Don't dump psgi.input as it can't be deserialized.

14 years agoAdapt to the changed _customize_request calling convention.
Florian Ragwitz [Sun, 10 Jan 2010 04:22:01 +0000]
Adapt to the changed _customize_request calling convention.

14 years agoProperly set REMOTE_USER in the request env.
Florian Ragwitz [Sun, 10 Jan 2010 04:09:59 +0000]
Properly set REMOTE_USER in the request env.

14 years agoAdd a way to specify additional psgi values in the psgi env via Catalyst::Test.
Florian Ragwitz [Sun, 10 Jan 2010 04:09:52 +0000]
Add a way to specify additional psgi values in the psgi env via Catalyst::Test.

14 years agoVersion 5.80017. 5.80017
Florian Ragwitz [Sun, 10 Jan 2010 02:00:03 +0000]
Version 5.80017.

14 years agoUse Plack::Loader and push the running of plack back into the engine code. Unsure...
Tomas Doran [Sun, 10 Jan 2010 00:33:41 +0000]
Use Plack::Loader and push the running of plack back into the engine code. Unsure if here or scriptrole is the best place for it, thoughts? (48 => 13 fails though)

14 years agoDelete code. 64 => 48 subtests failed
Tomas Doran [Sun, 10 Jan 2010 00:00:43 +0000]
Delete code. 64 => 48 subtests failed

14 years agoRemove outdated comment and some trailing whitespace.
Florian Ragwitz [Sat, 9 Jan 2010 21:21:21 +0000]
Remove outdated comment and some trailing whitespace.

14 years agoFix typo.
Florian Ragwitz [Sat, 9 Jan 2010 21:16:46 +0000]
Fix typo.

14 years agodepend on Plack 0.903 for streaming interface support in Plack::Test
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 21:16:40 +0000]
depend on Plack 0.903 for streaming interface support in Plack::Test

14 years agoRequire Plack..
Tomas Doran [Sat, 9 Jan 2010 19:37:56 +0000]
Require Plack..

14 years agorequire autoclean once only
Tomas Doran [Sat, 9 Jan 2010 19:01:59 +0000]
require autoclean once only

14 years agoBump version of ::Role::WithOverloading
Tomas Doran [Sat, 9 Jan 2010 18:22:02 +0000]
Bump version of ::Role::WithOverloading

14 years agoClear up the response callback and the writer object after each request.
Florian Ragwitz [Sat, 9 Jan 2010 18:12:51 +0000]
Clear up the response callback and the writer object after each request.

14 years agoDon't pass $ctx down to read().
Florian Ragwitz [Sat, 9 Jan 2010 18:01:25 +0000]
Don't pass $ctx down to read().

14 years agoNo, don't warn in the log. clients being retarded don't concern us usually.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:24 +0000]
No, don't warn in the log. clients being retarded don't concern us usually.

14 years agoLet read_chunk read from psgi.input.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:17 +0000]
Let read_chunk read from psgi.input.

14 years agoThere's no Content-Length for streaming responses.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:11 +0000]
There's no Content-Length for streaming responses.

14 years agoRemove other engines.
Florian Ragwitz [Sat, 9 Jan 2010 17:49:05 +0000]
Remove other engines.

14 years agoClear the request env after finishing a request.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:57 +0000]
Clear the request env after finishing a request.

14 years agoDelay erroring out on wrong usage of Catalyst::Test.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:51 +0000]
Delay erroring out on wrong usage of Catalyst::Test.

We should probably deprecate

use Catalyst::Test;

(without an app name) in favour of

use Catalyst::Test ();

14 years agoTell the writer object when we're done.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:45 +0000]
Tell the writer object when we're done.

14 years agoStart porting Catalyst::Test to Plack::Test.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:38 +0000]
Start porting Catalyst::Test to Plack::Test.

14 years agoWork towards supporting psgi.
Florian Ragwitz [Sat, 9 Jan 2010 17:48:31 +0000]
Work towards supporting psgi.

14 years agoBump dep
Tomas Doran [Sat, 9 Jan 2010 17:38:59 +0000]
Bump dep

14 years agoUn stupid
Tomas Doran [Sat, 9 Jan 2010 16:54:08 +0000]
Un stupid

14 years agoCorrectly pass argv option into Catalyst::Engine::HTTP
Tomas Doran [Sat, 9 Jan 2010 16:43:25 +0000]
Correctly pass argv option into Catalyst::Engine::HTTP

14 years agoChangelog Adopt::NEXT warnings
Tomas Doran [Sat, 9 Jan 2010 15:58:18 +0000]
Changelog Adopt::NEXT warnings

14 years agoBack out r12493, use \Q instead
Tomas Doran [Sat, 9 Jan 2010 15:57:27 +0000]
Back out r12493, use \Q instead

14 years agoDon't screw over people using --detach, <sigh>
Tomas Doran [Sat, 9 Jan 2010 15:37:00 +0000]
Don't screw over people using --detach, <sigh>

14 years agoClarify comment.
Florian Ragwitz [Wed, 6 Jan 2010 15:59:41 +0000]
Clarify comment.

14 years agoStop supressing Adopt::NEXT warnings.
Florian Ragwitz [Tue, 5 Jan 2010 00:28:35 +0000]
Stop supressing Adopt::NEXT warnings.

14 years agoClarify comment
Tomas Doran [Mon, 4 Jan 2010 20:55:25 +0000]
Clarify comment

14 years agoDoc fix
Tomas Doran [Mon, 4 Jan 2010 20:52:10 +0000]
Doc fix

14 years agoFix regex special characters screwing things up by not using regexes
Tomas Doran [Wed, 30 Dec 2009 15:55:43 +0000]
Fix regex special characters screwing things up by not using regexes

14 years agoSomeone think of a less fugly way of doing this please? Fixes using rewrite rules...
Tomas Doran [Tue, 22 Dec 2009 14:19:36 +0000]
Someone think of a less fugly way of doing this please? Fixes using rewrite rules to ask for a sub-path in your app with apache in some combinations..

14 years agoFix RT#52898, __MOP__ removal breaking debug screen with C::P::Session
Tomas Doran [Fri, 18 Dec 2009 19:55:03 +0000]
Fix RT#52898, __MOP__ removal breaking debug screen with C::P::Session

14 years agoBug fix for issue reported on the mailing list by Toby Corkindale
Tomas Doran [Tue, 15 Dec 2009 10:21:32 +0000]
Bug fix for issue reported on the mailing list by Toby Corkindale

14 years agomoar better warnings fix. 5.80016
Florian Ragwitz [Fri, 11 Dec 2009 23:28:09 +0000]
moar better warnings fix.

14 years agoChangelog, bump version
Tomas Doran [Fri, 11 Dec 2009 23:26:08 +0000]
Changelog, bump version

14 years agoRemove warning when running tests aggregated
Tomas Doran [Fri, 11 Dec 2009 23:25:35 +0000]
Remove warning when running tests aggregated

14 years agoUnfuck that as well
Tomas Doran [Fri, 11 Dec 2009 12:44:55 +0000]
Unfuck that as well

14 years agoFix RT#52630
Tomas Doran [Thu, 10 Dec 2009 09:46:10 +0000]
Fix RT#52630

14 years agoAdditional test
Tomas Doran [Wed, 9 Dec 2009 21:36:13 +0000]
Additional test

14 years agoMore tests for the prepare_path thing, fix said tests, changelog
Tomas Doran [Wed, 9 Dec 2009 20:54:53 +0000]
More tests for the prepare_path thing, fix said tests, changelog

14 years agoChangelog
Tomas Doran [Wed, 9 Dec 2009 20:50:18 +0000]
Changelog

14 years agoAnd more tests and fixing for the same thing
Tomas Doran [Wed, 9 Dec 2009 20:35:13 +0000]
And more tests and fixing for the same thing

14 years agoFixes port environment, RT#52604
Tomas Doran [Wed, 9 Dec 2009 20:21:13 +0000]
Fixes port environment, RT#52604

14 years agoRegression for 5.80015 when rewriting an app, nanonyme++, Khisanth++
Tomas Doran [Wed, 9 Dec 2009 18:30:53 +0000]
Regression for 5.80015 when rewriting an app, nanonyme++, Khisanth++

14 years agoFix tests from r12252, add comments to make the behavior explicit
Tomas Doran [Tue, 8 Dec 2009 11:16:44 +0000]
Fix tests from r12252, add comments to make the behavior explicit

14 years agoDoc --host change
Dave Rolsky [Tue, 8 Dec 2009 05:39:25 +0000]
Doc --host change

14 years agoDon't default to localhost for --host
Dave Rolsky [Tue, 8 Dec 2009 05:38:40 +0000]
Don't default to localhost for --host

Tweak docs for --host to say it accepts a name or IP

14 years agoWin32 fix: reverting commit 12210 (after a discussion with t0m) - all tests pass...
KMX [Sun, 6 Dec 2009 20:11:43 +0000]
Win32 fix: reverting commit 12210 (after a discussion with t0m) - all tests pass on Win32/strawberry perl 5.8.9 and 5.10.1

14 years agoDoc change for --restartdirectory
Dave Rolsky [Sun, 6 Dec 2009 18:50:57 +0000]
Doc change for --restartdirectory

14 years agofix pod for Server script so options match actual attr name
Dave Rolsky [Sun, 6 Dec 2009 18:48:34 +0000]
fix pod for Server script so options match actual attr name

14 years agoAdd restartdirectory as alias for restart_directory, for backcompat
Dave Rolsky [Sun, 6 Dec 2009 18:44:36 +0000]
Add restartdirectory as alias for restart_directory, for backcompat

14 years agoUndocument $request->user.
Florian Ragwitz [Sun, 6 Dec 2009 16:31:52 +0000]
Undocument $request->user.

14 years agoSkip on win32, hopefully we'll get a better answer than this, but lets stop failing
Tomas Doran [Sun, 6 Dec 2009 13:04:50 +0000]
Skip on win32, hopefully we'll get a better answer than this, but lets stop failing

14 years agoWin32 fix, kmx++
Tomas Doran [Sun, 6 Dec 2009 12:47:59 +0000]
Win32 fix, kmx++

14 years agoI can't stand the over-long debug screens any more. Suggestions on how to do this...
Tomas Doran [Thu, 3 Dec 2009 17:15:17 +0000]
I can't stand the over-long debug screens any more. Suggestions on how to do this in a less gross way?

14 years agoadd another failing test for Chained CaptureArgs preference
Gerda Shank [Wed, 2 Dec 2009 21:52:21 +0000]
add another failing test for Chained CaptureArgs preference

14 years agoAnd that's what I get for not really applying the patch and doing it manually. Fail..
Tomas Doran [Wed, 2 Dec 2009 19:13:19 +0000]
And that's what I get for not really applying the patch and doing it manually. Fail..

14 years agoPod nits, rt#52370
Tomas Doran [Wed, 2 Dec 2009 18:58:14 +0000]
Pod nits, rt#52370

14 years agoChanges, bump version 5.80015
Tomas Doran [Wed, 2 Dec 2009 15:10:52 +0000]
Changes, bump version

14 years agoThe documentation example had the variables the opposite way round to my working...
Tomas Doran [Tue, 1 Dec 2009 04:19:44 +0000]
The documentation example had the variables the opposite way round to my working nginx config. CLEARLY this meant the documentation needed the variables (but not their values) transposing. Yes, yes - I really am _that_ dumb.

14 years agoFix bug in Catalyst::Engine which could cause it to all go wrong if read returned...
Tomas Doran [Tue, 1 Dec 2009 02:16:08 +0000]
Fix bug in Catalyst::Engine which could cause it to all go wrong if read returned '0' as per thread on mailing list re 'Wrong Content-Length value' and clarify docs about read and read_chunk methods in Catalyst::Engine

14 years agoBump deps and changelog for another dev release with new scripts and scary path resol... 5.80014_02
Tomas Doran [Tue, 1 Dec 2009 00:54:23 +0000]
Bump deps and changelog for another dev release with new scripts and scary path resolving changes so I can have another call to test.

14 years agoTODO out gshanks chained tests
Tomas Doran [Tue, 1 Dec 2009 00:52:57 +0000]
TODO out gshanks chained tests

14 years agoRewrite changelog entry to be more complete
Tomas Doran [Mon, 30 Nov 2009 23:23:38 +0000]
Rewrite changelog entry to be more complete

14 years agoMerge 'trunk' into 'fix_path_info_decoding'
Tomas Doran [Mon, 30 Nov 2009 23:20:12 +0000]
Merge 'trunk' into 'fix_path_info_decoding'

r12121@t0mlaptop (orig r12086):  t0m | 2009-11-30 22:59:15 +0000
Require new M::I

14 years agoRequire new HTTP::Request::AsCGI
Tomas Doran [Mon, 30 Nov 2009 23:17:33 +0000]
Require new HTTP::Request::AsCGI

14 years agoRequire new M::I
Tomas Doran [Mon, 30 Nov 2009 22:59:15 +0000]
Require new M::I

14 years agoBack out r12083, also clarify the docs - like this works for me now, and the bottom...
Tomas Doran [Mon, 30 Nov 2009 22:05:41 +0000]
Back out r12083, also clarify the docs - like this works for me now, and the bottom para seems the wrong way round...?

14 years agoI think the nginx hackery can just die with the new code in ::Engine::CGI
Tomas Doran [Mon, 30 Nov 2009 21:02:14 +0000]
I think the nginx hackery can just die with the new code in ::Engine::CGI

14 years agoAnd yea, these test cases now pass
Tomas Doran [Mon, 30 Nov 2009 20:44:16 +0000]
And yea, these test cases now pass