Apache2-ASP
view release on metacpan or search on metacpan
Revision history for Perl extension Apache2::ASP.
2.46 2011-03-25
- !!DEPRECATED!! in favor of ASP4.
- Please don't use Apache2::ASP for any new development.
- Use ASP4 instead; it is much better, faster and maintained.
- Upgrading from Apache2::ASP to ASP4 is quite easy - just convert your
apache2-asp-config.xml to asp4-config.json, update/remove your GlobalASA.pm
and update your httpd.conf.
2.45 2009-11-20
- Fixed* a bug that caused deeeeeeeeply nested Master/Child page scenarios to cause
the MasterPage's ASP objects ($Response, $Request, etc) to not get initialized.
This fixes the dreaded "Cannot call 'Write' on an undefined value - line 1" error.
* Involves deleting your page cache before the udpate will take full effect!
2.44 2009-11-17
- Got rid of annoying "Software caused connection abort" errors.
2.43 2009-11-16
- Requests to handlers that don't exist will now result in a 404 error, not a 500 error.
2.42 2009-11-11
- You can now test multiple websites at the same time (eg: Public and Admin websites)
from within the same test script. Example given in POD for Apache2::ASP::API
2.41 2009-10-14
- Bugfix: Errors will now appear on-screen, rather than the default Apache error.
2.40 2009-10-14
- Enhancement: multipart/form-data posts to MediaManagers no longer require
actual files to be uploaded. Useful for forms that have an optional file upload field.
2.39 2009-08-23
- Bugfix: Deeply-nexted MasterPage setups sometimes did not initialize the
intrinsic ASP objects in the root-most MasterPage ($Response, $Session, etc).
2.38 2009-08-09
- Bugfix: $Response->Redirect in a handler after $Response->TrapInclude gave
errors "Response.Status cannot be changed after headers have been sent" (this
is now fixed).
2.37 2009-06-10
- API change: Upload hooks are deprecated and all but disabled.
- Bugfix: The upload_start event was not getting called for UploadHandler or its subclasses.
2.37_03 2009-05-19
- Bugfix: On Apache2 under Gentoo (perhaps others as well) HTTPContext->send_headers
was not always called before content was written to the client. This caused
cookies and other headers to not get written to the client.
2.37_02 2009-05-14
- Uploads' filehandle was not closed, causing problems where the last few bytes
were not flushed to disk.
2.37_01 2009-05-13
- Working on removing the dependency on libapreq2. It is just too much pain.
- Several minor fixes and performance tweaks.
2.36 2009-03-21
- MediaManager updates. pnotes has proven unstable.
- Upgraded to Module::Install.
- Restructured tests into numerically sequential folders.
- Added several tests to improve code-coverage.
- Removed some unused code from Response.
- Server.URLDecode now does the Right Thing for utf-8 characters.
- Added 'encoding' from 'Encode' as a prerequisite.
2.35 2009-03-11
- Minor updates here and there.
2.34 2009-03-03
- Was setting content-length header twice in MediaManager.
2.33 2009-03-03
- HTTP headers out were having issues.
2.32 2009-03-01
- Added Apache2::ASP::HTTPContext::SubContext
- Added t/htdocs/subcontext/*.asp
- Added t/handlers/simple.pm
- Re-worked the way Response.Include and Response.TrapInclude work on the inside.
- No external changes were made.
2.31 2009-02-19
- Apache2::ASP::HTTPContext order of operations during setup_request was updated.
- Apache2::ASP::ModPerl returns proper error HTTP codes when errors occur.
- Requests for non-existent *.asp scripts returns a proper 404.
- Apache2::ASP::HTTPContext copes better with syntax errors in handlers.
- Missing handlers are coped with better now.
2.30 2009-02-19
- Apache2::ASP::ASPPage was misreporting line numbers.
2.29 2009-02-15
- Added Apache2::ASP::SessionStateManager::Memcached
- Added Apache2::ASP::ApplicationStateManager::Memcached
- Both Memcached state managers require Cache::Memcached.
- Fixed a few outgoing HTTP header bugs which prevented Safari from handling
$Response->Redirect behaviors properly, and caused LWP::UserAgent to give
warnings about 'got EOF when chunk expected' and "x-client: died" errors.
- Added Apache2::ASP::HTTPContext::FilterResolver
- Added Apache2::ASP::HTTPContext::HandlerResolver
- Added Apache2::ASP::HTTPContext::HandlerRunner
- Major refactoring of Apache2::ASP::HTTPContext
2.28 2009-02-12
- Refactored a few things causing big slowdowns. Devel::NYTProf++!
2.27 2009-02-09
- Typo in ConfigParser.pm
2.26 2009-02-09
- Forgot the *::NonPersisted state managers in the MANIFEST
2.25 2009-02-09
- Added <disable_persistence> element to the XML config. Disabling persistence
for high-traffic pages is sometimes necessary and/or desirable.
2.24 2009-02-03
- Narrowed the search for leaked open filehandles to Apache2::ASP::SimpleCGI
when handling a file upload in test/API mode. Added DESTROY handler to close
any remaining filehandles when the object goes out of scope.
2.23 2009-02-01
- "Too many open filehandles" error was popping up. Attempting to use IO::File
to solve this problem.
- Added IO::File as a prerequisite file.
2.22 2009-01-31
- Apache2::ASP::MediaManager was misbehaving when attempting to delete a file
no longer on disk.
2.21 2009-01-31
- Apache2::ASP::MediaManager was incorrectly printing the content-disposition
header, causing some browsers to append an extra "," to the end of filesnames
when they were downloaded.
2.20 2009-01-30
- Fixed documentation for Apache2::ASP::Mock::Connection
2.19 2009-01-30
- Fixed documentation for Apache2::ASP::Test::Base.
2.18 2009-01-29
- Added a lot more documentation.
- Under Apache2::ASP::Test::Base and Apache2::ASP::API, $Server->RegisterCleanup now
gets called at the end of each request - not when the pool object goes out
- Updates for Apache2::ASP::Test::UserAgent.
- Updates for Apache2::ASP::Test::MockRequest.
1.16 2007-10-20
- Adjusted Apache2::ASP::Config and Apache2::ASP::GlobalConfig to properly support
support running multiple websites under one Apache instance.
- Removed "sticky forms" support.
1.15 2007-07-03
- Added several new pages to the Manual.
- /handlers/My_Handler and /handlers/My/Handler both map to My::Handler
for the package and /handlers/My/Handler.pm for the filename.
- Updated documentation in several places.
- Local GlobalASA.pm class is now required to use web_application.application_name + '::GlobalASA'
as its package name. So if web_application.application_name = "DefaultApp" then
it would say:
package DefaultApp::GlobalASA;
use base 'Apache2::ASP::GlobalASA';
...
- Multiple Apache2::ASP web applications can now be run on the same machine.
- Successfully installed on Windows, but it requires some work. And performance is bad.
1.14 2007-06-30
- $Form data is only forwarded if a page is posting back to itself
(i.e. - paging through a recordset) or if the form was posted to
a FormHandler class.
1.13 2007-06-30
- Apache2::ASP::Config is subclassable.
- Added <settings> element in config XML file.
- Added $Config->settings->(lib|dsn|username|password) to $Config object.
- $Config->settings->lib is added to @INC automatically.
1.12 2007-06-29
- Stabilized off-line web application testing API.
1.11 2007-06-29
- Apache2::ASP::Test::MockRequest was missing Cwd::cwd().
1.09 2007-06-29
- Added POD for Apache2::ASP::Test::UserAgent.
- ApplicationStateManager and SessionStateManager are both Ima::DBI subclasses.
- Added dependency Ima::DBI.
- Removed dependency Apache::DBI.
1.08 2007-06-28
- Fixed bug "Upload hook failed: Can't call method "isa" on an undefined value at ..."
- Fixed bug that resulted in multiple cookies being created on the initial request,
when the first ASP script to be rendered contained Include() or TrapInclude() calls.
- Added HTML::FillInForm as a dependency.
- Added built-in "sticky forms" for all ASP scripts, exclusive of UploadHandler subclasses.
- Began new offline test framework.
- Added Apache2::ASP::Test::UserAgent.
- Added Apache2::ASP::Test::MockRequest.
- Updated Apache2::ASP::Request to work within the new test framework.
- Removed some tests that need to be rewritten with the new test framework.
- Updated some other tests to work with the new test framework as they are.
- Added dependencies HTTP::Request::AsCGI, HTML::FillInForm and CGI::Simple.
1.07 2007-06-23
- Fixed a bug that caused 404 errors to return a blank page instead of the standard
'404 Not Found' message.
- Adjusted POD so that Apache2::ASP::Manual::Intro shows up correctly.
1.06 2007-06-23
- Fixed a bug in Apache2::ASP::PageHandler that caused a bug in which changed ASP
scripts would not be reloaded by other Apache processes after the first Apache
process had recompiled the *.pm file as a result of the ASP script being changed.
1.05 2007-06-23
- $Application->save() is now called at the end of each (non-error) request.
1.04 2007-06-23
- GlobalASA::Script_OnFlush is only called when the current handler
isa Apache2::ASP::PageHandler.
1.03 2007-06-23
- Updated Apache2::ASP::PageHandler to correctly decide whether an ASP
script should be recompiled or not.
1.02 2007-06-23
- Apache2::ASP::Manual::Intro was changed from *.pod to *.pm so that CPAN
would index it properly.
1.01 2007-06-22
- Fixed POD in Apache2::ASP::Config.
- Apache2::ASP::Config now verifies the validity of web_application.domain_re values.
0.18 2007-06-22
- Completely rewrote almost everything.
- Almost everything not rewritten was refactored.
- Added tests to achieve nearly 100% code coverage.
- Changed the interface for Apache2::ASP::Handler.
- Changed the interface for Apache2::ASP::UploadHandler.
- Changed the interface for Apache2::ASP::MediaManager.
- ASP scripts are converted into *.pm files, then loaded via require().
- If the ASP has not changed, we don't recompile the ASP.
- If the ASP did change since the *.pm file was written, we recompile the ASP.
- I hope to be able to perform code coverage testing on ASP scripts at some point.
- Added Apache2::ASP::Config.
- Changed the apache2-asp-config.xml format to support Apache2::ASP::Config.
- Added Apache2::ASP::PostConfigHandler.
- Added Apache2::ASP::PageHandler.
- Added Apache2::ASP::ApacheRequest.
- Added Apache2::ASP::UploadHook.
- Added Apache2::ASP::UploadHookArgs.
- Added Apache2::ASP::TransHandler.
- Broke out Apache2::ASP::Application into ApplicationStateManager and its
database-specific subclasses (*::SQLite, *::MySQL, etc).
- Broke out Apache2::ASP::Session into SessionStateManager and its database-specific
subclasses (*::SQLite, *::MySQL, etc).
- Added the ability to subclass Apache2::ASP::Base.
- Apache2::ASP is now a subclass of Apache2::ASP::Base.
- Code coverage (on average) is above 90%
- Added requirements that the directory @ServerRoot@/PAGE_CACHE must exist and
must be readable/writable by the server process.
- Added the ability to have several web applications defined in one apache2-asp-config.xml file.
- Added documentation for all classes.
0.17 2007-06-03
- Added the ability to subclass Apache2::ASP::Application
- Added the ability to subclass Apache2::ASP::Session
( run in 1.293 second using v1.01-cache-2.11-cpan-39bf76dae61 )