$Header: /cvsroot/CGI::Framework/Changes,v 1.8 2003/10/14 22:44:24 mina Exp $
Revision history for Perl module CGI::Framework
0.07
- Implemented new logging features:
+ log_filename constructor key
+ log_this() method
- Implemented new fatal error handling features:
+ Fatal error template through the new fatal_error_template constructor key
+ Fatal error email-to-admin feature through the new fatal_error_email,
sendmail, smtp_host and smtp_from constructor keys as well as the
new pre-defined variable _fatal_error for use in the fatal error template
- New pre-defined variable _current_template
0.06
- Renamed constructor parameter importform to import_form, renamed built-in
html variable _formaction to _form_action. Both changes are backwards compatible
- If "import_form" was supplied to constructor, then subsequent calls to the
form() method will return the value from the import_form namespace instead of
from the built-in CGI object. This allows the programmer to modify the value
in the namespace (such as $FORM::firstname) then use form() or remember() to
operate on the new value, not the original one.
- add_error() method no longer restricted to being called from inside a
validate_templatename() routine. That gives the flexibility to add_error()
followed by manually calling show_template() at any time.
- The INITIALIZENEWPROJECT function now creates an /images/ subdirectory
inside the /public_html/ subdirectory and places a couple of small images in
it, which the errors.html template references. It looks nicer :)
0.05
- Fixed a bug that caused the framework not to call the pre_templatename and
validate_templatename subroutines if the non-OOP (function-based) approach using
the initialize_cgi_framework initializer was used, and the callbacks_namespace
parameter was not supplied.
0.04
- Any methods and initializer parameters that were made up of 2 concatenated words
have now been separated by an underscore. The following are affected:
Methods/Functions:
adderror => add_error
clearsession => clear_session
showtemplate => show_template
Constructor/Initializer parameters:
callbacksnamespace => callbacks_namespace
cookiename => cookie_name
initialtemplate => initial_template
sessionsdir => sessions_dir
templatesdir => templates_dir
validlanguages => valid_languages
The old names will still be available for compatability-purposes however will be
phased out sometime in the future for code-cleanliness. All existing and new
programs should use the new naming convention.
- Implemented the ability to save session data in a mysql table instead of text files
through a new constructor parameter sessions_mysql_dbh.
- Implemented a new method "remember" that is a shorthand for transferring values
from the just-submitted form to the session.
- Changed default form enctype to "multipart/form-data" so that file-uploads can
be done. This seems to have no side-effect other than enabling file uploads to
work.
- Some documentation and synopsis bugfixes. - Thanks to Ron Savage <rons@deakin.edu.au>
0.03
- Added new methods: get_cgi_object, get_cgi_session_object, html_push, html_unshift
- Added new constructor option, importform
- Documentation fixes and elaborations
0.02
- Initial release