Tomas Doran [Sun, 27 Mar 2011 15:20:50 +0000]
Fix bug stopping fastcgi script working
Tomas Doran [Sun, 27 Mar 2011 14:41:40 +0000]
Update todo
Tomas Doran [Sun, 27 Mar 2011 14:41:31 +0000]
Update todo
Florian Ragwitz [Sun, 27 Mar 2011 15:06:51 +0000]
Fix the breakage the last commit introduced
Florian Ragwitz [Sun, 27 Mar 2011 14:33:30 +0000]
make ->setup_engine($engine) supported API again
It should always take preference over CATALYST_ENGINE. The compat hack is really
just PSGI specific.
Florian Ragwitz [Sun, 27 Mar 2011 13:31:13 +0000]
No, we don't want this
If we'd check it, we'd have to check it on every request. That's entirely not
worth it as I'm not even aware of any server that doesn't support psgi.streaming
right now, let alone a server people actually use.
If people complain, documentation suggesting to load the BufferedWrite
middleware needs to be written.
Tomas Doran [Sun, 27 Mar 2011 13:33:36 +0000]
Document middlewares applied automatically
Tomas Doran [Sun, 27 Mar 2011 12:55:20 +0000]
Explicitly document the wrong Engine::PSGI thing.
I did it accidentally, and it took rafl half an hour to chase down in
d5024dd882,
so someone as dumb as me is likely to do it (just substituting the method name,
rather than removing the additional closure) when upgrading from ::Engine::PSGI.
Florian Ragwitz [Sun, 27 Mar 2011 13:23:06 +0000]
Update TODO
Florian Ragwitz [Thu, 3 Mar 2011 14:21:53 +0000]
Partially unify local and remote request codepaths
Florian Ragwitz [Wed, 2 Mar 2011 12:01:46 +0000]
Use Plack::Test::ExternalServer in Catalyst::Test remote requests
Florian Ragwitz [Sun, 27 Mar 2011 12:42:01 +0000]
We already have a warning for this
Florian Ragwitz [Sun, 27 Mar 2011 12:39:22 +0000]
Fix the test psgi file
Florian Ragwitz [Sun, 27 Mar 2011 12:36:53 +0000]
psgi_app is just a getter
Florian Ragwitz [Sun, 27 Mar 2011 12:36:33 +0000]
Don't assume the app gets loaded before the first request
Tomas Doran [Sun, 27 Mar 2011 12:22:59 +0000]
First stab documenting writing a .psgi file
Florian Ragwitz [Sun, 27 Mar 2011 12:10:29 +0000]
Legacy .psgi files are never loaded
Florian Ragwitz [Sun, 27 Mar 2011 11:58:24 +0000]
Ignore old-style .psgi files
Florian Ragwitz [Sun, 27 Mar 2011 10:55:37 +0000]
De-uglify a comment
Tomas Doran [Sun, 27 Mar 2011 11:44:50 +0000]
Document status of the misc engines.
Both SCGI and XMPP appear to be bork
Tomas Doran [Sun, 27 Mar 2011 11:19:31 +0000]
Add a test showing how having an Engine::PSGI .psgi file breaks.
Notably, this .psgi file is in the app root, whereas ::Engine::PSGI's docs and helper suggest that
you create it in script/. So I don't have a problem with not supporting the .psgi working for tests
until you've converted it if you move it into the app root really - however it would be nice to be
able to detect it was broken, rather than just hanging.
Tomas Doran [Sun, 27 Mar 2011 11:17:47 +0000]
Test showing how having a .psgi file will ruin your day
Florian Ragwitz [Sun, 27 Mar 2011 10:44:34 +0000]
local_request is now tested
(and deprecated!)
Florian Ragwitz [Sun, 27 Mar 2011 10:40:00 +0000]
Add tests for the deprecated local_request
Florian Ragwitz [Sun, 27 Mar 2011 10:35:27 +0000]
strictures and warnings for live_catalyst_test.t
Tomas Doran [Sun, 27 Mar 2011 10:41:59 +0000]
This was fixed already
Tomas Doran [Sun, 27 Mar 2011 10:38:17 +0000]
Fix the conditional here.
We do always need a trailing slash if we have a server path and either
just a /, or no uri at all (e.g. http://localhost). This matters when
we're mounted at a non-root path, as cataltst needs to see
http://localhost/non_root_path/, rather than http://localhost/non_root_path,
otherwise we'll try to resolve /non_root path as an action.
Tomas Doran [Sun, 27 Mar 2011 09:59:17 +0000]
Trim hatespace
Tomas Doran [Sun, 27 Mar 2011 07:57:54 +0000]
Tiny tidyups to copyright and license
Florian Ragwitz [Sat, 26 Mar 2011 13:59:00 +0000]
The IIS 6 script name fix is now part of Plack
Depend on it and use it.
Florian Ragwitz [Sat, 26 Mar 2011 14:00:18 +0000]
Merge branch 'master' into psgi
* master:
Fix Path actions debug screen to display number of arguments
Dimitar Petrov [Mon, 21 Mar 2011 20:16:42 +0000]
Fix Path actions debug screen to display number of arguments
Florian Ragwitz [Fri, 18 Mar 2011 14:53:07 +0000]
Merge branch 'master' into psgi
* master:
Make default test names reflect reality more and fix a buglet, rafl++
Give action_ok, action_redirect and action_notfound default test names
Jonathan "Duke" Leto [Sat, 12 Mar 2011 01:05:27 +0000]
Make default test names reflect reality more and fix a buglet, rafl++
Jonathan "Duke" Leto [Sat, 12 Mar 2011 00:20:51 +0000]
Give action_ok, action_redirect and action_notfound default test names
Florian Ragwitz [Wed, 9 Mar 2011 21:11:42 +0000]
Merge branch 'master' into psgi
* master:
Avoid super long command lines when not aggregating
Improve the documentation for various functions in Catalyst::Test
Florian Ragwitz [Tue, 8 Mar 2011 21:52:15 +0000]
Avoid super long command lines when not aggregating
This probably also fixes prove -lr t/, which people have been complaining about
every now and then.
Jonathan "Duke" Leto [Mon, 7 Mar 2011 15:20:13 +0000]
Improve the documentation for various functions in Catalyst::Test
Florian Ragwitz [Thu, 3 Mar 2011 14:03:17 +0000]
Deprecate local_request and remote_request
Florian Ragwitz [Thu, 3 Mar 2011 13:43:25 +0000]
Move out building of the horrible ctx_request closure
Also move out the rest, while we're at it. This is intended to aid a subsequent
refactoring.
Florian Ragwitz [Thu, 3 Mar 2011 13:22:01 +0000]
Remove some kane-isms that hurt my eyes
Florian Ragwitz [Wed, 2 Mar 2011 13:11:39 +0000]
Run http-server.t tests on something other than the server root
Florian Ragwitz [Wed, 2 Mar 2011 13:11:05 +0000]
Remove testsuite's assumptions about where it's mounted on a web server
Florian Ragwitz [Wed, 2 Mar 2011 12:37:18 +0000]
Make http-server.t use Test::TCP
No dep, as it's author-only and pulled in by Plack already anyway.
Florian Ragwitz [Wed, 2 Mar 2011 12:27:37 +0000]
Don't use the server.pl script in the live tests
Instead, just spin up a server with Plack::Loader. The script classes are
already tested separately, so we only need this test to make sure live tests
work.
This is intended to aid a subsequent refactoring.
Florian Ragwitz [Wed, 2 Mar 2011 11:46:41 +0000]
.psgi stuff is now sorted out
Florian Ragwitz [Wed, 2 Mar 2011 11:46:29 +0000]
::Wx is declared dead
Florian Ragwitz [Wed, 2 Mar 2011 11:46:17 +0000]
lighttpd and iis6 now work
Florian Ragwitz [Wed, 2 Mar 2011 11:38:47 +0000]
Reduce code repetition
Florian Ragwitz [Wed, 2 Mar 2011 11:32:22 +0000]
Add legacy workaround for nginx PATH_INFO
Florian Ragwitz [Wed, 2 Mar 2011 11:19:12 +0000]
Make legacy IIS env fixing work again
Florian Ragwitz [Wed, 2 Mar 2011 11:13:41 +0000]
Make legacy lighttpd env fixing work again
Florian Ragwitz [Wed, 2 Mar 2011 11:13:24 +0000]
Load middlewares where they're actually used
Florian Ragwitz [Wed, 2 Mar 2011 10:57:39 +0000]
Make _wrapped_legacy_psgi_app do wrapping only
We now pass in the psgi app to wrap, which should make it quite a bit easier to
test. We'll need that to check if the various quirk fixes for different web
servers actually work.
Florian Ragwitz [Wed, 2 Mar 2011 10:30:51 +0000]
Version 5.89002
Florian Ragwitz [Wed, 2 Mar 2011 10:02:51 +0000]
The HTTP engine is no more, and was also never required for this test
Florian Ragwitz [Wed, 2 Mar 2011 09:59:19 +0000]
Avoid loading actual engines in script tests
This way we can run these tests without having FCGI.pm installed.
Florian Ragwitz [Tue, 1 Mar 2011 18:37:44 +0000]
PSGI, not Plack
Florian Ragwitz [Tue, 1 Mar 2011 18:37:23 +0000]
Update Upgrading docs
Florian Ragwitz [Tue, 1 Mar 2011 18:30:31 +0000]
Make getting to a PSGI app saner
All the user should ever need to call is ->psgi_app (previously raw_psgi_app),
to get an unwrapped psgi app as provided by the engine. This is what should be
used when writing .psgi files.
For all other ways of running catalyst apps there's no need to be able to get to
the psgi application that'll actually run, so here we're making everything
that's responsible for reading .psgi files to run them with Catalyst::Script::*
or for wrapping the plain psgi code ref with back-compat middleware private.
Unfortunately this removes some of the docs about the automatic .psgi
loading. These should be added again elsewhere. Also the Upgrading docs need
updating after this.
Florian Ragwitz [Tue, 1 Mar 2011 14:26:46 +0000]
Version 5.89001
Florian Ragwitz [Tue, 1 Mar 2011 14:38:40 +0000]
Stop psgi_file.t from recursing
psgi_app is *not* to be used in .psgi files. It's the compat layer that'll give
you either an app loaded from from a .psgi file, or the default PSGI app with
the reverse proxy middleware and stuff.
In .psgi files only raw_psgi_app should ever be used, as that'll return the bare
catalyst psgi app to then be wrapped in middlewares manually.
I see how the naming is shit and confusing though. Suggestions welcome.
Florian Ragwitz [Tue, 1 Mar 2011 14:22:10 +0000]
Rename Engine::Loader to EngineLoader
It's not an engine, as those exist no more, so move it out of the ::Engine::
namespace.
Florian Ragwitz [Tue, 1 Mar 2011 14:20:08 +0000]
Changelog updates
Florian Ragwitz [Tue, 1 Mar 2011 13:49:57 +0000]
Merge branch 'master' into psgi
* master: (22 commits)
Change repos metadata to git
Version 5.80032
Pass the extra restart options
Fix test
Changelog
added myself (dd070) in contributors list
removed duplicate parameters in return value of _restarter_args
added more parameters in return value of _restarter_args
Add a few tests
Patch to make restarter class configurable / settable in prefs
Apply more correct fix than 8df53b (I hope)
Rename test
Make tests more clear
Merge revert
8df53bed
Un-TODO abraxxa's tests
This scares me, but it fixes stuf work work
Fix 5.80 bug which causes slurp to fail if called multiple times
Fix body predicate bug/back compat issue
Version 5.80031
added test for chained dispatcher fail on multiple CaptureArgs(0) parts introduced in 5.80030
...
Conflicts:
Changes
Makefile.PL
lib/Catalyst.pm
lib/Catalyst/Engine/FastCGI.pm
lib/Catalyst/Runtime.pm
Florian Ragwitz [Tue, 1 Mar 2011 13:43:05 +0000]
Properly skip known broken tests
Faked passing tests are not cool, and nor are __END__ sections, as those will
break aggregation.
If we actually want to prevent the body of the tests from being compiled,
putting the C<< plan skip_all => ... >> in a BEGIN block is the right thing to
do.
Tomas Doran [Mon, 28 Feb 2011 19:41:54 +0000]
Change repos metadata to git
Tomas Doran [Wed, 23 Feb 2011 01:10:30 +0000]
Version 5.80032
Tomas Doran [Wed, 23 Feb 2011 00:47:16 +0000]
Pass the extra restart options
Tomas Doran [Wed, 23 Feb 2011 00:46:13 +0000]
Fix test
Tomas Doran [Tue, 22 Feb 2011 22:19:16 +0000]
Changelog
Tomas Doran [Tue, 22 Feb 2011 22:10:31 +0000]
Merge branch 'restarter_changeclass' into 5.80032_dev
* restarter_changeclass:
added myself (dd070) in contributors list
removed duplicate parameters in return value of _restarter_args
added more parameters in return value of _restarter_args
Add a few tests
Patch to make restarter class configurable / settable in prefs
Dhaval Dhanani [Wed, 16 Feb 2011 16:04:55 +0000]
added myself (dd070) in contributors list
Dhaval Dhanani [Wed, 16 Feb 2011 15:40:29 +0000]
removed duplicate parameters in return value of _restarter_args
Dhaval Dhanani [Wed, 16 Feb 2011 15:35:10 +0000]
added more parameters in return value of _restarter_args
Tomas Doran [Mon, 14 Feb 2011 21:12:25 +0000]
Add a few tests
Tomas Doran [Mon, 14 Feb 2011 21:05:30 +0000]
Patch to make restarter class configurable / settable in prefs
Tomas Doran [Tue, 22 Feb 2011 22:09:40 +0000]
Merge branch 'chained_fix' into 5.80032_dev
* chained_fix:
Apply more correct fix than 8df53b (I hope)
Rename test
Make tests more clear
Merge revert
8df53bed
Un-TODO abraxxa's tests
Tomas Doran [Tue, 22 Feb 2011 01:31:11 +0000]
Apply more correct fix than 8df53b (I hope)
Tomas Doran [Tue, 22 Feb 2011 01:30:49 +0000]
Rename test
Tomas Doran [Tue, 22 Feb 2011 01:15:29 +0000]
Make tests more clear
Tomas Doran [Wed, 16 Feb 2011 21:43:06 +0000]
Tomas Doran [Wed, 16 Feb 2011 21:33:35 +0000]
Un-TODO abraxxa's tests
Tomas Doran [Tue, 22 Feb 2011 21:43:07 +0000]
This scares me, but it fixes stuf work work
Tomas Doran [Tue, 15 Feb 2011 16:10:03 +0000]
Fix 5.80 bug which causes slurp to fail if called multiple times
Tomas Doran [Mon, 14 Feb 2011 21:35:11 +0000]
Fix body predicate bug/back compat issue
Tomas Doran [Fri, 4 Feb 2011 00:48:29 +0000]
Dink docs to be more clear on psgi files / converting
Tomas Doran [Fri, 4 Feb 2011 00:38:29 +0000]
Recommending infinite loops in the docs is bad
Tomas Doran [Tue, 1 Feb 2011 21:50:48 +0000]
Update changelog and upgrading
Tomas Doran [Tue, 1 Feb 2011 21:50:10 +0000]
Add failing test of using a psgi file. Are you only meant to call ->raw_psgi_app, or?
Tomas Doran [Tue, 1 Feb 2011 21:49:29 +0000]
Delete obslolete crap from ROADMAP, update version numbers
Tomas Doran [Mon, 31 Jan 2011 09:29:25 +0000]
Tweaks
Tomas Doran [Mon, 31 Jan 2011 09:16:11 +0000]
Fix Engine::Stomp with psgi
Tomas Doran [Mon, 31 Jan 2011 08:24:44 +0000]
Version 5.80031
Alexander Hartmaier [Fri, 28 Jan 2011 14:09:29 +0000]
added test for chained dispatcher fail on multiple CaptureArgs(0) parts introduced in 5.80030
Tomas Doran [Thu, 27 Jan 2011 11:01:41 +0000]
Fix undef warning in Engine::FastCGI
John Napiorkowski [Tue, 25 Jan 2011 14:50:11 +0000]
added Engine::PSGI instructions
Darren Duncan [Tue, 25 Jan 2011 00:42:39 +0000]
fix =head levels for 'Upgrading to Catalyst 5.90'
Tomas Doran [Mon, 24 Jan 2011 23:31:45 +0000]
Don't be dumb, auth breaks on new cat, not other way round
Tomas Doran [Mon, 24 Jan 2011 23:28:10 +0000]
Small docs and fixes