12 years agoPass options into Handler::FastCGI under preferred names in the script
Andrew Rodland [Mon, 25 Jul 2011 16:38:30 +0000]
Pass options into Handler::FastCGI under preferred names in the script

Map --daemon to 'daemonize' which is preferred instead of 'detach' which
is compat, and --pidfile as 'pid' which is preferred instead of
'pidfile' which is compat.

12 years agoFix aggregated tests
Tomas Doran [Mon, 25 Jul 2011 16:13:57 +0000]
Fix aggregated tests

12 years agoNote apply_default_middlewares method method
Tomas Doran [Sun, 24 Jul 2011 23:15:12 +0000]
Note apply_default_middlewares method method

12 years agoRequire these in author mode
Tomas Doran [Sun, 24 Jul 2011 21:50:30 +0000]
Require these in author mode

12 years agoSomewhat fix up the server script test
Tomas Doran [Sun, 24 Jul 2011 21:49:01 +0000]
Somewhat fix up the server script test

12 years agoFixes in the docs
Tomas Doran [Sun, 24 Jul 2011 21:29:34 +0000]
Fixes in the docs

12 years agoDeal correctly with app classes which are immutable in mod_perl
Tomas Doran [Sun, 24 Jul 2011 21:24:59 +0000]
Deal correctly with app classes which are immutable in mod_perl

12 years agoDocs
Tomas Doran [Sun, 24 Jul 2011 18:14:19 +0000]
Docs

12 years agoClean handling of --pid and --background up a bit
Tomas Doran [Sun, 24 Jul 2011 18:04:41 +0000]
Clean handling of --pid and --background up a bit

12 years agoStart writing changelog for psgi dev release
Tomas Doran [Sun, 24 Jul 2011 17:20:45 +0000]
Start writing changelog for psgi dev release

12 years agoMake test skip if Engine::PSGI not installed
Tomas Doran [Sun, 24 Jul 2011 16:42:51 +0000]
Make test skip if Engine::PSGI not installed

12 years agoMerge master into psgi branch
Tomas Doran [Sun, 24 Jul 2011 16:03:32 +0000]
Merge master into psgi branch

12 years agoVersion 5.80033 5.80033
Tomas Doran [Sun, 24 Jul 2011 15:10:10 +0000]
Version 5.80033

12 years agoBetter changelog for the ->config(actions => { '*' fix
Florian Ragwitz [Sun, 24 Jul 2011 14:41:25 +0000]
Better changelog for the ->config(actions => { '*' fix

12 years agoSmall whitespace and test cleanups
Tomas Doran [Sun, 24 Jul 2011 13:44:58 +0000]
Small whitespace and test cleanups

12 years agoUpdate changelog
Tomas Doran [Sun, 24 Jul 2011 13:44:39 +0000]
Update changelog

12 years agoupdate tests to ignore CATALYST_HOME env var
Matt S Trout [Fri, 22 Jul 2011 21:06:17 +0000]
update tests to ignore CATALYST_HOME env var

12 years agoI think Test::Exception is a little better here
Andrew Rodland [Fri, 22 Jul 2011 15:00:02 +0000]
I think Test::Exception is a little better here

12 years agonew test to make sure people using legacy psgi engine who do not upgrade their psgi...
John Napiorkowski [Fri, 22 Jul 2011 04:47:46 +0000]
new test to make sure people using legacy psgi engine who do not upgrade their psgi file and use plackup to start will still get a running app

12 years agoremoved debugging stuff
John Napiorkowski [Fri, 22 Jul 2011 04:06:34 +0000]
removed debugging stuff

12 years agofixed some broken tests
John Napiorkowski [Fri, 22 Jul 2011 04:03:06 +0000]
fixed some broken tests

12 years agoadded missing dep
John Napiorkowski [Fri, 22 Jul 2011 04:02:48 +0000]
added missing dep

12 years agoFix the errors in finalize_headers when running on Engine::PSGI
Andrew Rodland [Thu, 21 Jul 2011 20:59:37 +0000]
Fix the errors in finalize_headers when running on Engine::PSGI

12 years agoReplace the setup_engine workaround with a better one
Andrew Rodland [Thu, 21 Jul 2011 20:50:19 +0000]
Replace the setup_engine workaround with a better one

Instead of letting the .psgi setup_engine('PSGI') and then trying
to undo the damage, add a flag that makes setup_engine not really
load the requested engine if we're in the middle of loading a myapp.psgi

12 years agonow better support for legacy psgi (Catalyst::Engine::PSGI) running with plackup...
John Napiorkowski [Thu, 21 Jul 2011 19:49:22 +0000]
now better support for legacy psgi (Catalyst::Engine::PSGI) running with plackup under cataplack

12 years agoWrite out the pid file after double fork.
Tomas Doran [Mon, 18 Jul 2011 22:34:59 +0000]
Write out the pid file after double fork.

Therefore we get the pid of the actual server process saved, rather than
that of the runner

12 years agoFix background option
Tomas Doran [Mon, 18 Jul 2011 22:31:01 +0000]
Fix background option

12 years agoHacking the server script
Tomas Doran [Mon, 18 Jul 2011 22:13:51 +0000]
Hacking the server script

12 years agoAdd the crux of options that need fixing from jnap's survey
Tomas Doran [Mon, 18 Jul 2011 21:45:46 +0000]
Add the crux of options that need fixing from jnap's survey

12 years agoFix test
Tomas Doran [Fri, 15 Jul 2011 08:54:06 +0000]
Fix test

12 years agoChangelog
Tomas Doran [Fri, 15 Jul 2011 08:49:38 +0000]
Changelog

12 years agoMake that a warning when in debug mode
Tomas Doran [Fri, 15 Jul 2011 08:48:16 +0000]
Make that a warning when in debug mode

12 years agoskip setting cookies that can't be created successfully
Brian Phillips [Mon, 28 Feb 2011 19:24:35 +0000]
skip setting cookies that can't be created successfully

CGI::Simple::Cookie will return undef if either the -name
or -value values are undefined.  We need to check and see if
$cookie is defined before calling ->as_string

12 years agoRevert "removed component resolution regex fallback"
Tomas Doran [Mon, 11 Jul 2011 19:29:42 +0000]
Revert "removed component resolution regex fallback"

This reverts commit f723794a21b143f495fc00a4584efcfee4c14fa7.

12 years agoremoved component resolution regex fallback
André Walker [Thu, 7 Jul 2011 22:27:18 +0000]
removed component resolution regex fallback

12 years agoMerge branch 'master' into psgi
Florian Ragwitz [Wed, 6 Jul 2011 00:06:31 +0000]
Merge branch 'master' into psgi

* master:
  More disable_component_resolution_regex_fallback
  give an example for $c->request->path
  fix typo

Conflicts:
Changes

12 years agoMore disable_component_resolution_regex_fallback
Tomas Doran [Fri, 1 Jul 2011 13:23:33 +0000]
More disable_component_resolution_regex_fallback

12 years agogive an example for $c->request->path
Caleb Cushing [Thu, 9 Jun 2011 20:35:49 +0000]
give an example for $c->request->path

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>

12 years agofix typo
Justin Hunter [Thu, 9 Jun 2011 02:39:45 +0000]
fix typo

12 years agoMerge branch 'master' into psgi
Florian Ragwitz [Wed, 1 Jun 2011 20:20:41 +0000]
Merge branch 'master' into psgi

* master:
  Unbreak remote server tests
  Add MYMETA.yml to .gitignore
  Add missing Catalyst::Devel author dep
  Append $\ in Catalyst::Response->print

12 years agoUnbreak remote server tests
Florian Ragwitz [Sun, 15 May 2011 11:47:47 +0000]
Unbreak remote server tests

12 years agoAdd MYMETA.yml to .gitignore
Tomas Doran [Wed, 1 Jun 2011 19:41:23 +0000]
Add MYMETA.yml to .gitignore

12 years agoAdd missing Catalyst::Devel author dep
Dagfinn Ilmari Mannsåker [Mon, 16 May 2011 15:07:25 +0000]
Add missing Catalyst::Devel author dep

12 years agoAppend $\ in Catalyst::Response->print
Dagfinn Ilmari Mannsåker [Mon, 16 May 2011 15:03:43 +0000]
Append $\ in Catalyst::Response->print

This more closely matches IO::Handle's behaviour.

12 years agoUnbreak remote server tests
Florian Ragwitz [Sun, 15 May 2011 11:47:47 +0000]
Unbreak remote server tests

12 years agoMerge branch 'master' into psgi
Florian Ragwitz [Sun, 15 May 2011 11:28:52 +0000]
Merge branch 'master' into psgi

* master:
  fix some typos
  Fixed situation where a detach($action) from a forward within auto was not breaking out correctly
  Add a test to make sure that a die in a Controller's end sub is propogated as a 500 error
  Unbreak the pod-coverage tests
  Yes, it is
  Remove special-casing of '*' for get_action_methods
  Pull a bunch of gross hacks to get actions => { '*' => ... } working again
  Add a test for configuring attributes for all actions
  Add a test view for dumping actions
  Make this error message more readable
  Make this error message more readable
  Agreed

12 years agofix some typos
Justin Hunter [Thu, 12 May 2011 19:38:31 +0000]
fix some typos

12 years agoremoved backcompat code for old PSGI Engine since this would be handled somewhere...
John Napiorkowski [Mon, 9 May 2011 20:39:16 +0000]
removed backcompat code for old PSGI Engine since this would be handled somewhere else better

12 years agogot all the tests running again
John Napiorkowski [Sat, 7 May 2011 03:04:09 +0000]
got all the tests running again

12 years agoMerge branch 'psgi' into origin/psgi
John Napiorkowski [Sat, 7 May 2011 01:48:18 +0000]
Merge branch 'psgi' into origin/psgi

12 years agoFixed situation where a detach($action) from a forward within auto was not breaking...
Ton Voon [Thu, 5 May 2011 19:45:58 +0000]
Fixed situation where a detach($action) from a forward within auto was not breaking out correctly

12 years agoDocument differences in Catalyst::Test as found by autarch++
Tomas Doran [Tue, 3 May 2011 23:09:17 +0000]
Document differences in Catalyst::Test as found by autarch++

12 years agoPass extra args from ScriptRunner->run to ->new_with_options.
Tomas Doran [Wed, 30 Mar 2011 12:49:03 +0000]
Pass extra args from ScriptRunner->run to ->new_with_options.

This is to allow you to reuse the loading logic in ::ScriptRunning, without
being forced to push things into %ENV to get them picked up

12 years agoMake HTTP force standalone
Tomas Doran [Wed, 30 Mar 2011 12:43:04 +0000]
Make HTTP force standalone

12 years agopublic apply_default_middlewares method
Tomas Doran [Tue, 29 Mar 2011 15:55:35 +0000]
public apply_default_middlewares method

12 years agofirst attempt at a patch to enable compatibility with psgi files based on Catalyst...
John Napiorkowski [Tue, 3 May 2011 18:35:15 +0000]
first attempt at a patch to enable compatibility with psgi files based on Catalyst::Engine::PSGI and also a change to stop the author side pod coverage tests complaining pointlessly

12 years agoAdd a test to make sure that a die in a Controller's end sub is propogated as a 500...
Dave Rolsky [Tue, 3 May 2011 16:28:42 +0000]
Add a test to make sure that a die in a Controller's end sub is propogated as a 500 error

13 years agoUnbreak the pod-coverage tests
Florian Ragwitz [Thu, 14 Apr 2011 12:09:13 +0000]
Unbreak the pod-coverage tests

Without removing those imports, it expects us to document them.

13 years agoYes, it is
Florian Ragwitz [Thu, 14 Apr 2011 12:05:49 +0000]
Yes, it is

13 years agoRemove special-casing of '*' for get_action_methods
Florian Ragwitz [Thu, 14 Apr 2011 11:56:17 +0000]
Remove special-casing of '*' for get_action_methods

Instead, pull '*' out of _controller_actions early on. The part where they're
applied to actions is still gross.

13 years agoPull a bunch of gross hacks to get actions => { '*' => ... } working again
Florian Ragwitz [Thu, 14 Apr 2011 11:51:09 +0000]
Pull a bunch of gross hacks to get actions => { '*' => ... } working again

13 years agoAdd a test for configuring attributes for all actions
Florian Ragwitz [Thu, 14 Apr 2011 11:50:50 +0000]
Add a test for configuring attributes for all actions

13 years agoAdd a test view for dumping actions
Florian Ragwitz [Thu, 14 Apr 2011 11:50:06 +0000]
Add a test view for dumping actions

13 years agoMake this error message more readable
Florian Ragwitz [Thu, 14 Apr 2011 11:35:39 +0000]
Make this error message more readable

13 years agoMake this error message more readable
Florian Ragwitz [Thu, 14 Apr 2011 11:06:55 +0000]
Make this error message more readable

13 years agoAgreed
Florian Ragwitz [Thu, 14 Apr 2011 11:01:40 +0000]
Agreed

13 years agoMerge branch 'master' into psgi
Florian Ragwitz [Tue, 12 Apr 2011 00:08:23 +0000]
Merge branch 'master' into psgi

* master:
  A failing reverse lookup doesn't imply it's a local address
  Tiny tidyups to copyright and license

Conflicts:
lib/Catalyst/Engine/HTTP.pm

13 years agoA failing reverse lookup doesn't imply it's a local address
Florian Ragwitz [Tue, 12 Apr 2011 00:05:59 +0000]
A failing reverse lookup doesn't imply it's a local address

13 years agoFix a syntax error introduced in d367082
Florian Ragwitz [Thu, 31 Mar 2011 12:48:36 +0000]
Fix a syntax error introduced in d367082

13 years agoUse the Plack LighttpdScriptNameFix middleware.
Tomas Doran [Tue, 29 Mar 2011 15:05:02 +0000]
Use the Plack LighttpdScriptNameFix middleware.

This replaces our home-baked solution with something which works better
and in more cases

13 years agoUpdate TODO
Tomas Doran [Sun, 27 Mar 2011 17:58:13 +0000]
Update TODO

13 years agoClean up FIXMEs
Tomas Doran [Sun, 27 Mar 2011 17:50:46 +0000]
Clean up FIXMEs

13 years agoFix a warning under aggregation
Florian Ragwitz [Sun, 27 Mar 2011 17:36:28 +0000]
Fix a warning under aggregation

13 years agoPass script options into auto loader
Tomas Doran (t0m) [Sun, 27 Mar 2011 16:21:37 +0000]
Pass script options into auto loader

Plack::Handler::XXX therefore gets the options even when auto-detecting.

13 years agoRetrieve args for old scripts so FCGI --listen works
Tomas Doran [Sun, 27 Mar 2011 16:19:38 +0000]
Retrieve args for old scripts so FCGI --listen works

13 years agoForce FCGI detection for FastCGI scripts.
Tomas Doran [Sun, 27 Mar 2011 15:54:11 +0000]
Force FCGI detection for FastCGI scripts.

13 years agoDo not commit conflicts, idiot
Tomas Doran [Sun, 27 Mar 2011 15:28:25 +0000]
Do not commit conflicts, idiot

13 years agoFix bug stopping fastcgi script working
Tomas Doran [Sun, 27 Mar 2011 15:20:50 +0000]
Fix bug stopping fastcgi script working

13 years agoUpdate todo
Tomas Doran [Sun, 27 Mar 2011 14:41:40 +0000]
Update todo

13 years agoUpdate todo
Tomas Doran [Sun, 27 Mar 2011 14:41:31 +0000]
Update todo

13 years agoFix the breakage the last commit introduced
Florian Ragwitz [Sun, 27 Mar 2011 15:06:51 +0000]
Fix the breakage the last commit introduced

13 years agomake ->setup_engine($engine) supported API again
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.

13 years agoNo, we don't want this
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.

13 years agoDocument middlewares applied automatically
Tomas Doran [Sun, 27 Mar 2011 13:33:36 +0000]
Document middlewares applied automatically

13 years agoExplicitly document the wrong Engine::PSGI thing.
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.

13 years agoUpdate TODO
Florian Ragwitz [Sun, 27 Mar 2011 13:23:06 +0000]
Update TODO

13 years agoPartially unify local and remote request codepaths
Florian Ragwitz [Thu, 3 Mar 2011 14:21:53 +0000]
Partially unify local and remote request codepaths

13 years agoUse Plack::Test::ExternalServer in Catalyst::Test remote requests
Florian Ragwitz [Wed, 2 Mar 2011 12:01:46 +0000]
Use Plack::Test::ExternalServer in Catalyst::Test remote requests

13 years agoWe already have a warning for this
Florian Ragwitz [Sun, 27 Mar 2011 12:42:01 +0000]
We already have a warning for this

13 years agoFix the test psgi file
Florian Ragwitz [Sun, 27 Mar 2011 12:39:22 +0000]
Fix the test psgi file

13 years agopsgi_app is just a getter
Florian Ragwitz [Sun, 27 Mar 2011 12:36:53 +0000]
psgi_app is just a getter

13 years agoDon't assume the app gets loaded before the first request
Florian Ragwitz [Sun, 27 Mar 2011 12:36:33 +0000]
Don't assume the app gets loaded before the first request

13 years agoFirst stab documenting writing a .psgi file
Tomas Doran [Sun, 27 Mar 2011 12:22:59 +0000]
First stab documenting writing a .psgi file

13 years agoLegacy .psgi files are never loaded
Florian Ragwitz [Sun, 27 Mar 2011 12:10:29 +0000]
Legacy .psgi files are never loaded

13 years agoIgnore old-style .psgi files
Florian Ragwitz [Sun, 27 Mar 2011 11:58:24 +0000]
Ignore old-style .psgi files

13 years agoDe-uglify a comment
Florian Ragwitz [Sun, 27 Mar 2011 10:55:37 +0000]
De-uglify a comment

13 years agoDocument status of the misc engines.
Tomas Doran [Sun, 27 Mar 2011 11:44:50 +0000]
Document status of the misc engines.

Both SCGI and XMPP appear to be bork

13 years agoAdd a test showing how having an Engine::PSGI .psgi file breaks.
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.

13 years agoTest showing how having a .psgi file will ruin your day
Tomas Doran [Sun, 27 Mar 2011 11:17:47 +0000]
Test showing how having a .psgi file will ruin your day

13 years agolocal_request is now tested
Florian Ragwitz [Sun, 27 Mar 2011 10:44:34 +0000]
local_request is now tested

(and deprecated!)