Apache2-ASP
view release on metacpan or search on metacpan
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
of scope (which caused some unwanted behavior).
2.17 2009-01-28
- More tweaking. Please upgrade to this version.
2.16 2009-01-28
- Apache2::ASP::Mock::RequestRec sometimes confess()ed if Response->Include was called.
2.15 2009-01-28
- Made some minor tweaks to the way uploads are handled internally. No public changes.
2.14 2009-01-25
- <asp:Content/> tags inside of pages that use MasterPages were not being passed
TrapInclude or Include arguments (i.e. $Response->Include("/page.asp", { arg1 => "foo" }) ).
2.13 2009-01-25
- Apache2::ASP::MediaManager did not provide any content-type header for
file types not listed in MIME::Types (eg: *.ogv). Now "application/octet-stream"
is returned when MIME::Types does not return anything.
2.12 2009-01-20
- The "Cookies" HTTP header was not properly handled in the Test UserAgent.
- Incoming HTTP headers were comingled with outgoing HTTP headers in HTTPContext.
2.11 2009-01-10
- Several fixes to cookie behavior problems.
- Removed <module>Class::DBI::Lite</module> from apache2-asp-config.xml.
2.10 2009-01-05
- The Set-Cookie header for session state no longer includes the domain parameter.
2.09 2008-12-12
- Apache2::ASP::API->get("/") or get("/folder-name/") works as expected (without
forcing you to include "/index.asp" at the end.
- Added 05.00-folder-uri.t to make sure that "/folder-name/" URI's are supported
via the programmatic API.
- After testing, we remove /tmp/asp_*
2.08 2008-12-10
- Updated the POD for Apache2::ASP::API.
2.07 2008-12-10
- $ENV{DOCUMENT_ROOT} is persisted between requests when using Apache2::ASP::Test::UserAgent.
- Added Apache2::ASP::API
2.06 2008-12-03
- Removed a failing test.
2.05 2008-12-03
- asphelper adds /etc/properties.yaml and /etc/test_fixtures.yaml, as well as
an example "contact form" page, handler and unit test.
2.04 2008-12-02
- Updated asphelper script. It was writing a GlobalASA.pm with a syntax error.
- Added more tests.
2.03 2008-12-01
- Updated ASPPage to handle parsing MasterPages that include code similar to the following:
<asp:ContentPlaceHolder id="meta_description"><meta name="description" content="" /></asp:ContentPlaceHolder>
<asp:ContentPlaceHolder id="meta_keywords"><meta name="keywords" content="" /></asp:ContentPlaceHolder>
2.02 2008-12-01
- Sometimes @INC would not contain all of the directories specified under <libs>
in the config. This bug should now be fixed.
2.01 2008-11-30
- The codebase is solid and has been running several relatively high-traffic
websites for several months. Time for a production release of the 2.x code.
2.00_26 2008-11-20
- Fixed a bug that caused problems when a page inheriting from a sub-masterpage
overrode a placeholder from a super-masterpage.
2.00_25 2008-11-20
- Fixed a bug with nested MasterPages which caused some fatal errors.
- Fixed another issue with nested MasterPages which caused the parser to
not interpret all <asp:ConentPlaceHolder /> tags (when there were more than one)
inside of an <asp:Content /> in a nested MasterPage. I suppose you really
had to be there.
- Added tests to check for these problems with nested MasterPages.
2.00_24 2008-11-19
- Added Apache2::ASP::Manual::BestPractices.
2.00_23 2008-11-19
- Added asphelper.
- Moved asphelper and runasp into the sbin/* directory in the distribution.
- Added Test::Memory::Cycle to the PREREQ_RPM list in Makefile.PL
- Fixed a (hopefully) rare corner-case in which thaw($Application) would return
undef - the solution was to default to an empty hashref { }.
- Added a workaround to Apache2::ASP::GlobalConfig for the
"internal dummy connection" issue.
More details at http://wiki.apache.org/httpd/InternalDummyConnection
1.33 2008-02-25
- Fixed a bug that caused the intrinsic ASP objects (Request, Response, etc)
to not be available at the right point in time for UploadHook subclasses
(including subclasses of MediaManager).
So now, calling $Response->Redirect(...) from sub after_create() will work.
1.32 2008-02-24
- Removed Application_OnStart and added Server_OnStart event to
GlobalASA.
- Added documentation to Apache2::ASP::Test::Base.
- Added documentation to Apache2::ASP::Test::Fixtures.
1.31 2008-02-20
- Added $Session->reset() method.
- Added Apache2::ASP::Test::Base.
- Added dependancy Data::Properties::YAML
- Added /etc/properties.yaml
- Added Apache2::ASP::Test::Fixtures.
- Added /etc/test_fixtures.yaml
- Fixed a bug in Apache2::ASP::Request that caused forms with multiple
values for the same parameter (i.e. 3 checkboxes named the same, but
with different values) to only return 1 value.
- Completely overhauled the test suite. No longer requires Apache::Test
and should run find as root. More tests are needed, but at least
what's there should run correctly.
- Fixed a bug in Apache2::ASP::Config that caused errors when a
Session or Application State Manager was not in @INC until
after the <settings> section had been initialized.
1.29 2008-02-06
- Fixed a bug that caused Response->Include to misbehave when used in
conjunction with RequestFilters.
1.28 2008-02-06
- Added $Response->Decline and changed the return value of $Response->End
and $Response->Redirect to 0 and 302 respectively.
- Now inside RequestFilters you can simply say 'return $Response->Declined'
or 'return $Response->Redirect("/mypage.asp")' to exit the RequestFilter.
- Documentation for RequestFilters and Response needs to be updated to
reflect this change.
1.27 2008-02-06
- Moved the <request_filters> config section under config/web_application
instead of config/web_application/settings.
1.26 2008-02-05
- Hotfix for config. Was crashing unless settings.request_filters was defined.
1.25 2008-02-05
- Added the concept of "Request Filters" as Apache2::ASP::RequestFilter. These
are useful for centralizing authorization code. Request Filters are stackable.
- Added config.web_application.settings.request_filters.filter and documented it in
the documentation for Apache2::ASP::RequestFilter.
- Request Filters will be considered experimental until v1.26 is released.
1.24 2008-01-17
- Fixes a problem with $Request->Cookies( $name ) that caused it to return undef
instead of the cookie's value.
- When Response->Include( $nonexistent_file ) is called, a simple diagnostic is
printed to the buffer ("Cannot Response.Include '$file' - the file does not exist")
and Carp::cluck dumps a stacktrace to STDERR.
- If $Response->End or $Response->Redirect is called in Script_OnStart then the script
is no longer processed.
1.23 2007-12-27
- Apache2::ASP::Config now only adds PAGE_CACHE and $Config->handler_root to @INC
if they have not already been added before.
- Apache2::ASP::Response no longer flushes headers after Response.Include().
1.22 2007-12-18
- Fixed a bug that caused changes in the $Session object made
from within $Response->Include() and $Response->TrapInclude() to not persist.
- Removed warnings like this:
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.8.5/Apache2/ASP/Server.pm line 40.
- $Session->save() does not (wastefully) persist $s->{asp} any longer.
- Apache2::ASP::Request was handling cookies wrong. This behavior has been improved.
Still does not handle expiration yet (this can be done with $Response->AddHeader(...) ).
- Improved (fixed) problems associated with running multiple Apache2::ASP-powered websites
under the same Apache server under different VirtualHosts. Now expects PerlOptions +Parent
and PerlSetEnv APACHE2_ASP_APPLICATION_ROOT /path/to/your/root inside of <VirtualHost> directives.
1.21 2007-12-04
- Bugfixes to Apache2::ASP::Request and Apache2::ASP::Response.
- *Recommended* upgrade to this version if you are running any previous version.
1.20 2007-10-22
- Updated Makefile.PL to compile even if Apache::Test is not installed.
- Added requirement Apache2::Directive.
1.19 2007-10-20
- Minor updates in preparation for the release of Apache2::ASP::WebApp.
1.18 2007-10-20
- Added before_run() and after_run() methods to Apache2::ASP::Handler.
These methods can be overridden by subclasses and executed before and
after the "run()" method is called.
1.17 2007-10-20
- 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';
...
( run in 1.049 second using v1.01-cache-2.11-cpan-39bf76dae61 )