Apache2-PageKit
view release on metacpan or search on metacpan
the root_dir even if the file is not found.
(Boris Zentner, Gabriel Burca)
- Add new server option cookie_postfix. To name cookies just for the
case, that multiple pkit applications run in the same
apache server. (Boris Zentner, David Raimbault)
- Fix: write the session data and destroy the db connection
even if an error transpires (Boris Zentner)
- Fix: defer delivery of static pages if parameters are attached to
the URI. This allows to login/logout even with a static
default page (Boris Zentner)
- Fix iconv conversion: it is perfect legal to convert an empty
string '' to another charset (Boris Zentner)
- Add new tags <PKIT_HAVE_MESSAGES> and <PKIT_HAVE_NOT_MESSAGES>
(Boris Zentner, Sebastian Feuerstack)
1.09
- Fix: case where something.xml was added to the mtimes hash even
if it does not exists (only if all your content came from
another file via xpath document() function) this result in a
slowdown for the page unless reload="no" (Boris Zentner)
- Fix: die with the error from the fop command.
So the errors show up in your browser or log (Boris Zentner)
- Fix content_encoding header. If unsure, play save and send
the page NOT gzipped (Boris Zentner)
- Fix fop example pages (John Robinson)
- Add new global option protect_static (Boris Zentner)
- Remove some mystery chars (0xA0) (Boris Zentner)
- Add new hook pkit_on_error to catch and maybe repair fatal errors
(Boris Zentner)
! Simplified and more robust startup (Boris Zentner)
- Clear missing server section on reload (Boris Zentner)
- Die if a conversion from one charset to another is not possible.
Maybe a char is not part of the target charset.
(Boris Zentner, Gabriel Burca)
! Add protection of static pages with the require_login config
attribute. (Boris Zentner)
- Fix two cases where a filehandle can be used even if open failed
(Boris Zentner)
- Fix uri_prefix so that the url did not grow anymore (Boris Zentner)
- Remove unused modules Data::Dumper and Carp from View.pm (Boris Zentner)
- Fix to deliver static pages unzipped if desired (Anton Permyakov)
- Fix case where wrong cached file is used for xsl files with
reload="no" and first called without parameters in the
URL (Boris Zentner, Ben Ausden)
1.08
- Added on-line editing tools
- Add Postgres support (Chris Hamilton)
- Add support for page based sessions (Boris Zentner)
- Add support for localized messages of pkit (Boris Zentner)
- Add fr message catalog (David Raimbault)
- Add pt message catalog (Leonardo T. de Carvalho)
- Add de message catalog (Boris Zentner)
! Change default for html_clean_level to 0 (Boris Zentner)
- Add <PKIT_NOT_ERROR> directive to seperate errors
from messages (David Christian)
! Catch up with new interface in XML::LibXML 1.31 (Anton Berezin)
- Fix eg/View/(xml|wml|pdf)/simple_page.xsl (Boris Zentner)
- Add pkit_get_config_attr function to get config options from your
Config.xml (Boris Zentner, Leonardo T. de Carvalho)
- Add new <USER> section in Config/Config.xml where your own
config data takes place (Boris Zentner)
- Add a optional second argument for pkit_set_errorfont (Boris Zentner)
- Add new global config option default_errorstr (Boris Zentner)
- Add new pkit tag <PKIT_ERRORSTR> (Boris Zentner)
- Fix _load_component to die if we can not read the
component file (Anton Permyakov)
- Add new function pkit_set_errorspan. It replaced pkit_set_errorfont
which is obsolete and should not be used anymore. (Boris Zentner)
- Add new pkit tag <PKIT_ERRORSPAN> as replacement for
<PKIT_ERRORFONT> (Boris Zentner)
- Add new global config option 'errorspan_begin_tag' and
'errorspan_end_tag' (Boris Zentner)
- Add new tags SECTIONS and SECTION for use in Config/Config.xml
they allow to set defaults for groups of pages
(Boris Zentner, Ben Ausden)
- Fix view tag attribute 'output_media' to the documented
'content_type'. Also test the page tag attribute
'content_type' first. (Boris Zentner)
- Do not use autovivification for file and dirhandles, to be
compatible with perl 5.005 (Boris Zentner)
- Remove unused attrs from Config.xml View tags (Boris Zentner)
- Add global config options session_class and page_session_class
both defaults to Apache::SessionX (Boris Zentner)
- Remove XML::Parser and prefer XML::LibXML (Boris Zentner)
- Replace Apache::PageKit::Session with Apache::SessionX (Boris Zentner)
- Fix: clear all global config attrs before (re)parsing the
config (Boris Zentner)
- 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
- Fixed warning messages if $^W is turned on
- Now requires classes if they are not already loaded. (Boris Zentner)
- Fixed bug when calling pkit_get_orig_uri from pkit_get_default_page
- Fixed bug when page_id is not found.
- Now matches </PKIT_COMPONENT>, </PKIT_VAR>, </MODEL_VAR> tags
generated by XSLT
- Fixed bug in View.pm for checking for new uploads to $pkit_view
directory.
- Fixed bug in XML::XPathTemplate where queries were converted
to lowercase. (Boris Zentner)
0.98 Mon May 7 14:37:08 2001 EST
- Added support for XML::LibXSLT - can now generate
pages from XML and XSL stylesheets
- Separated out XML Template code in new module,
XML::XPathTemplate
- update last_activity in session for every hit -
makes sure that recent_login works everytime
and overcomes the fact that Apache::Session only
does a shallow check of the hash.
- Fixed bug with pkit_get_orig_uri
- Checks for recursive PKIT_COMPONENTS (that is over 100)
- When user logs out of a page that requires a login,
goes to default_page instead of login_page
- Fixed bug with cache when new template was placed in a
directory when there was already a corresponding template
in the 'Default' directory
- Added pkit_cleanup_code hook for Model class (Boris Zentner)
- Error code rewritten, since using $SIG{__DIE__} does not
play well with eval, and there were problems with the
server hanging after a die, when the session wasn't
properly deleted. Die's are now trapped using 'eval'.
Also renamed Apache::PageKit::Error to Apache::ErrorReport
- pkit_message works when you perform a redirect
using $model->pkit_redirect
- Fixed bug with use_template is set to 'no'
- Fixed bug with XPath queries.
- Fixed bug with locating only files in Page dir for
preparse_templates
0.97 Wed Apr 25 17:07:31 2001 EST
- Login code has been rewritten. To attempt a login, the
pkit_login request parameter must be set.
The new_credential configuration option is no longer
supported.
- added can_edit to server config section Config.dtd file.
- Names in <CONTENT_VAR> and <CONTENT_LOOP> tags are
XPath queries
- Removed support for navigation bars, since they didn't fit
in well with the new Content and View modules. Might
add them back if there is demand and I can find an
clean way of doing it (using XPointers in content
XML file???)
- Removed support for $model->content_param, since content
is now compiled into template and it is not possible
to get or set the tags run time.
- Automically converts UTF-8 Encoding to latin1 encodeing,
if Unicode::String is loaded (Yann Kerhervé)
- fixed bug with pre-parsing content from sub-directories
- input_param now works with parameters containing multiple values
- Add $model->pkit_set_errorfont($field), used mark <PKIT_ERRORFONT>
tags for errors.
- Added pkit_root method, gets PageKit root directory
- no longer escape pkit_done
- works with mod_proxy_add_uri.c apache module, using X-Original-URI
header
- Removed PKIT_LOGINOUT_LINK, this tag was
not necessary and cluttered the API,
see migration/README for details
- removed search_engine_headers config option
- server_id is now passed to startup, solves
problem with server options not being
loaded properly at startup.
- Added pkit_get_session_id
- Added pkit_fixup_uri method
- Added request_param_in_tmpl global attribute, which
supplements request_param_in_tmpl page attribute
- Added $model->pkit_output_filter, a hook that can
be used to filter the output
- Added <PKIT_VAR NAME="HOSTNAME">, which specifies
current host name.
- Added $model->pkit_get_server_id - gets server id from
Config.xml file.
- Added $model->pkit_get_default_page - put in so that
it can be overridden in derived model class
- if cache_dir is not set, default to the PKIT_ROOT/View/cache
and PKIT_ROOT/Content/cache
- moved html_clean_level from global section to server section
- added pkit_post_common_code hook, similar to
pkit_common_code, but called after page code is
executed.
- Added <CONTENT_(IF|UNLESS|ELSE)> tags.
- Fixed typo with login/out message.
- Components can now have content associated with them
(needs testing)
- Fixed problems with Content caching when page_id contains
'/' - content cache files are now determined my using
a MD5 hash
0.96 Fri Feb 02 04:18:22 2001 EST
- added $model->pkit_input_hashref method, gets inputs
(request params) as a reference to hash
- renamed pkit_set_page_id to pkit_internal_redirect
easier to remember and naming consistant with
pkit_redirect method
- Added installation troubleshooting tips, thanks to
Chris Burbridge and Nick Wood for helpful pointers
- Apache::PageKit->handler and startup are now called as
class methods
- pagekit.org example cookies should work even when
the url is not of the form *.pagekit.org
- fixed error when cookie_domain was not set
- cookie_domain is now a NMTOKENS field and you can pass
multiple domains to it, seperated by spaces
- Added $model->pkit_query method which is a wrapper to
HTML::Template::query
- Added support for <PKIT_VAR NAME="LAST_CRUMB">
- Fixed errors with s/cookie_crumb/bread_crumb/
- Added session_expires to control the expire time for
the session cookie
( run in 0.812 second using v1.01-cache-2.11-cpan-ceb78f64989 )