Apache2-PageKit
view release on metacpan or search on metacpan
- Fix case where the DBI connection is terminated in pkit_cleanup_code
before the session is written back (Anton Berezin)
- Remove usage of XML::XPath and XML::Parser in flavor of XML::LibXML
this change involves also XML::XPathTemplate (Boris Zentner)
- Fix: add used Content files to the mtimes hash. (Boris Zentner)
- Add new global option template_class, to choose the module to process
our tempaltes. Must be HTML::Template compatible
for now. (Boris Zentner)
- Add and document new method $model->pkit_send used to send data or files
to the client (Boris Zentner)
1.07
- Fixed language localisation (Boris Zentner)
- More Warnings fixed (Boris Zentner)
- Add new parser, it is faster as before and the new option
relaxed_parser = "yes" enables a more relaxed but slower parser
if you like (Boris Zentner, Ben Ausden, Daniel Gardner)
- Fixed default for default_page (Boris Zentner)
- Append the default_page to the url if url is a directory (Rob Starkey)
! New global option logout_kills_session. Defaults to 'yes'.
The behavior before this option was no (Rob Falcon)
- Fixed head requests for gzipped static files (Boris Zentner)
- Improved security for recent='yes' pages (Boris Zentner)
- PKIT_COMPONENT macros are also available
for XSLT with <xsl:param name="..."> (Ben Ausden)
! The return code from pagecode is completely ignored. If you have to set a
return code use pkit_status_code (Boris Zentner)
- Fixed form_validation_done in the eg/site's MyModel code. (Michael Cook)
- Fixed restricted page login if the user was not logged
in before (Boris Zentner)
! Anonymous sessions are created lazy as in pkit <= 1.05 (Boris Zentner)
1.06
- empty parameters are stripped from the requested url
ie: http://www.xyz.de/test?=& (Boris Zentner)
- Fixed output_convert to handle calls like
$model->output_convert(anything => $text) (Boris Zentner)
- Fixed handling of __PACKAGE__ in Common.pm (Boris Zentner)
- Add pkit_default hook similar to pkit_common_code, but called after
pkit_common_code and before the page code is
executed. (Boris Zentner, Ben Ausden)
- Add PKIT_MACRO as extension to PKIT_COMPONENT so a component is easy
reusable (Boris Zentner)
! Single parameters for PKIT_COMPONENT are no longer supported.
(see migration/README) (Boris Zentner)
- Fixed session merge from an anonymous to a user that is logged in.
(Boris Zentner, Leonardo de Carvalho)
- Fixed pkit_merge_sessions (David Raimbault)
- Fixed writing and warning of gzipped static pages (Boris Zentner)
- Fixed default for html_clean_level. It is now 9 as documented (Boris Zentner)
- Fixed language localization support (Boris Zentner)
- Fixed default for post_max. It is now 100_000_000 as documented (Boris Zentner)
- Reenable gzip content it was ignored before. (Boris Zentner)
- Fixed uri handling of http://www.abc.de/ where we end in a empty uri instead
of index (Boris Zentner)
- Fixed usage of Digest::MD5::md5_hex in sub pkit_auth_credential and
pkit_auth_session_key in Common.pm (Boris Zentner)
- Set Default for the server attrs can_edit and reload (Boris Zentner)
- First attempt to make pkit warning clean (Boris Zentner, David Raimbault)
- Fix default timeout for 'recent_login_timeout' from unlimited to 3600
like the Docs say (Boris Zentner)
- Parse difficult parameters like
http://ka.brain.de/login2?passwd=ss&&&&submit&&login=s& (Boris Zentner)
- Add restricted page to the example site (Boris Zentner)
- Fixed setup_session without touch of pkit_merge_session (Boris Zentner)
- Fixed problem with append of check_cookie (Boris Zentner)
- Sessions are not lazy anymore (Boris Zentner)
1.05
- <PKIT_COMPONENT NAME="foo"/> now works (Boris Zentner)
- empty uri_prefix works (Boris Zentner)
- No more than one cookie is used at all times, pkit_session_id for
when user is not logged in and has accessed session,
and pkit_id when user has logged in (session gets
tied to login)
! The pkit_done parameter is no longer filled in on HTML forms.
(see migration/README)
- Fixed problem with cookie being set when user logged out
(Rob Falcon)
- Fixed problem with sessions being created when user logged in
(David Raimbault)
1.04
- PageKit now uses Data::FormValidator instead of HTML::FormValidator
(Mark Stosberg)
- Sessions cookies only set when session is actually created
- Fixed content handler for case where there is a loop containing
and document() func, and vars don't contain document() func,
and no other top-level tags without document() func (Boris Zentner)
- Fixed recent_login session (Boris Zentner, David Raimbault)
- Added pkit_startup class method (Boris Zentner)
- Charset fixes, now should deal with PageKit templates
and default_input_charset correctly.
1.03
- PageKit now supports general charset conversions using Text::Iconv,
removed workaround for european charsets in XML::XPathTemplate
(Boris Zentner)
- PageKit Templates are converted to default_output_charset from
default_input_charset (Boris Zentner)
- Added charset translation support with output_charset method in
Model (Boris Zentner)
- PageKit Template file cache is now dependant on mtime of Config.xml
- fixed bug with pkit_lang (Ben Ausden)
- Added pkit_cleanup_code to main request handler (Boris Zentner)
- input and pnotes methods in Model now work outside of mod_perl
- PageKit templates no longer pre-parsed on server startup
- Multiple input request paramaters now not reset by FormValidator.pm
output, since FormValidator doesn't support multiple input
request params.
- Fixed errors in pkit_input_hashref and PKIT_ERRORFONT tags
- make test no longer inclued - instead use perl setup_eg.pl to
test example site.
- Re-added CONTENT_IF/ELSE/UNLESS (Rob Falcon)
- Updated Content.pm to reflect new API for XML::LibXML 0.92 - open_uri
callback is called for parent XML and XSLT documents
- Included stylesheets should work properly now (PK prepends the
View/pkit_view directory to the stylesheet URIs)
- Added examples for output in different media
- Added pkit_lang method to model - useful for selecting langauge from
database.
( run in 0.913 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )