Revision history for Perl extension Apache::PageKit.
For more details on migration, see migration/README 1.18
POST's can be redirected on the fly. Otherwise the tests 05, 06 and 07 fail. ( Boris Zentner )
1.17
-+binmode $template_fh, ':encoding($default_input_charset)'; ++binmode $template_fh, ":encoding($default_input_charset)"; ( Boris Zentner ) 1.16
! The param method returns a empty list in list context if
the param was not defined. Older PageKits returned undef ( Boris Zentner )
( Boris Zentner )
another class or subclass do what Apache::Request do for you. Defaults to Apache::Request::PageKit ( Boris Zentner )
content_var's are used. affects only perl < 5.8.0 ( Boris Zentner )
template_class = "Template" in your Config.xml ( Boris Zentner)
converted to your default_input_charset. ( Boris Zentner, Sean Lee )
if apache is started as root. ( Boris Zentner, Shawn Poulson ) 1.14
broken in 1.13. ( Ben Ausden )
since it is possible that the application class is loaded before Apache::PageKit ( Boris Zentner )
DBD::CSV, SQL::Statement and Text::CSV_XS. ( Boris Zentner )
( Boris Zentner, Shimon Rura )
just to make apache 2 changes smaller ( Boris Zentner )
deliver in the default_output_charset and set the charset in the content_type header. ( Erik Günther )
( Boris Zentner, Erik Günther ) 1.13
fast ( Boris Zentner )
( Boris Zentner )
and encode only '<>&"' ( Boris Zentner )
( Boris Zentner, Paul Flinders ) 1.12
This requires the patch command if you use perl 5.8.x. ( Boris Zentner )
( Boris Zentner )
( Boris Zentner )
This fix display problems on some browsers. ( Boris Zentner, Rob Starkey )
( Boris Zentner, Anton Permyakov )
case-sensitive. ( Boris Zentner )
and so on are in lowercase now. This is usefull if we use another templating engine where case matters. ( Boris Zentner )
( Boris Zentner )
handle page_id's with parameters (Boris Zentner)
(Boris Zentner)
and XML::LibXSLT not installed ( TJ Mather )
( Paul G. Weiss )
( Boris Zentner )
see Apache::Request TEMP_DIR ( Ben Ausden )
(Boris Zentner)
(Boris Zentner) 1.11
even if the page has some other attributes (Glenn Morgan)
(Boris Zentner)
(Boris Zentner)
session (Boris Zentner, Russell D. Weiss)
(Boris Zentner, Russell D. Weiss)
(Bill Karwin)
(Boris Zentner, Russell D. Weiss)
pkit_component_params_hashref (Boris Zentner)
(Paul G. Weiss, Boris Zentner) 1.10
(Boris Zentner, Rob Starkey)
location (Boris Zentner)
instead redirect to the right place. This is done to get relative links right. (Boris Zentner)
(Boris Zentner)
User-Agent header. (Boris Zentner)
PKIT_ROOT and PKIT_SERVER settings (TJ Mather)
(Boris Zentner, Gabriel Burca)
(Boris Zentner)
#PCDATA, but we want it raw. (Boris Zentner)
without a user_id or the database can not provide a login or passwd. (Boris Zentner)
parameter in the pkit_component tag (Boris Zentner)
change something and request the hash again. In error you get the old value(s) back. (Glenn Morgan)
So you can rollback the changes, even if your session data is in the same db with your application. (Boris Zentner)
strings. (Boris Zentner)
find PKIT_ROOT and or PKIT_SERVER for mod_perl >= 1.06 (Boris Zentner)
without a name attribute. (Boris Zentner)
See pkit_component_params_hashref (Boris Zentner) ! Component code is called inorder from top to the bottom
(Boris Zentner)
as an edit component. (Boris Zentner, Gabriel Burca)
the root_dir even if the file is not found. (Boris Zentner, Gabriel Burca)
case, that multiple pkit applications run in the same apache server. (Boris Zentner, David Raimbault)
even if an error transpires (Boris Zentner)
the URI. This allows to login/logout even with a static default page (Boris Zentner)
string '' to another charset (Boris Zentner)
(Boris Zentner, Sebastian Feuerstack) 1.09
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)
So the errors show up in your browser or log (Boris Zentner)
the page NOT gzipped (Boris Zentner)
(Boris Zentner) ! Simplified and more robust startup (Boris Zentner)
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)
(Boris Zentner)
reload="no" and first called without parameters in the URL (Boris Zentner, Ben Ausden) 1.08
from messages (David Christian) ! Catch up with new interface in XML::LibXML 1.31 (Anton Berezin)
Config.xml (Boris Zentner, Leonardo T. de Carvalho)
config data takes place (Boris Zentner)
component file (Anton Permyakov)
which is obsolete and should not be used anymore. (Boris Zentner)
<PKIT_ERRORFONT> (Boris Zentner)
'errorspan_end_tag' (Boris Zentner)
they allow to set defaults for groups of pages (Boris Zentner, Ben Ausden)
'content_type'. Also test the page tag attribute 'content_type' first. (Boris Zentner)
compatible with perl 5.005 (Boris Zentner)
both defaults to Apache::SessionX (Boris Zentner)
config (Boris Zentner)
before the session is written back (Anton Berezin)
this change involves also XML::XPathTemplate (Boris Zentner)
our tempaltes. Must be HTML::Template compatible for now. (Boris Zentner)
to the client (Boris Zentner)
1.07
relaxed_parser = "yes" enables a more relaxed but slower parser if you like (Boris Zentner, Ben Ausden, Daniel Gardner)
The behavior before this option was no (Rob Falcon)
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)
in before (Boris Zentner) ! Anonymous sessions are created lazy as in pkit <= 1.05 (Boris Zentner)
1.06
ie: http://www.xyz.de/test?=& (Boris Zentner)
$model->output_convert(anything => $text) (Boris Zentner)
pkit_common_code and before the page code is executed. (Boris Zentner, Ben Ausden)
reusable (Boris Zentner) ! Single parameters for PKIT_COMPONENT are no longer supported.
(see migration/README) (Boris Zentner)
(Boris Zentner, Leonardo de Carvalho)
of index (Boris Zentner)
pkit_auth_session_key in Common.pm (Boris Zentner)
like the Docs say (Boris Zentner)
http://ka.brain.de/login2?passwd=ss&&&&submit&&login=s& (Boris Zentner)
1.05
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)
(Rob Falcon)
(David Raimbault)
1.04
(Mark Stosberg)
and document() func, and vars don't contain document() func, and no other top-level tags without document() func (Boris Zentner)
and default_input_charset correctly.
1.03
removed workaround for european charsets in XML::XPathTemplate (Boris Zentner)
default_input_charset (Boris Zentner)
Model (Boris Zentner)
output, since FormValidator doesn't support multiple input request params.
test example site.
callback is called for parent XML and XSLT documents
View/pkit_view directory to the stylesheet URIs)
database.
hash (uses lazy option of Apache::PageKit::Session)
XML, WML, and PDF
gzipped (Boris Zentner)
(Boris Zentner)
string "zip" (Boris Zentner)
config option is set to "no".
pkit_lang (Ben Ausden)
View/pkit_view/XSL
1.02
(Boris Zentner, Leonardo de Carvalho)
1.01
(Leonardo de Carvalho)
is called (Ben Ausden)
redirects to a URL with a pkit_login parameter
for CONTENT_LOOP tags.
uses algorithm based on XPath's lang() function.
1.00
or View/pkit_view directories. If pagekit can not locate the approriate template/xml file, it will return declined, but set the filepath so that apache returns the files.
(Boris Zentner)
(Boris Zentner)
0.99
my $class_object = $model->pkit_create(class) $class_object->method(params);
and $model->output_param('pkit_user')
generated by XSLT
directory.
to lowercase. (Boris Zentner)
0.98 Mon May 7 14:37:08 2001 EST
pages from XML and XSL stylesheets
XML::XPathTemplate
makes sure that recent_login works everytime and overcomes the fact that Apache::Session only does a shallow check of the hash.
goes to default_page instead of login_page
directory when there was already a corresponding template in the 'Default' directory
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
using $model->pkit_redirect
preparse_templates
0.97 Wed Apr 25 17:07:31 2001 EST
pkit_login request parameter must be set. The new_credential configuration option is no longer supported.
XPath queries
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???)
is now compiled into template and it is not possible to get or set the tags run time.
if Unicode::String is loaded (Yann Kerhervé)
tags for errors.
header
not necessary and cluttered the API, see migration/README for details
problem with server options not being loaded properly at startup.
supplements request_param_in_tmpl page attribute
be used to filter the output
current host name.
Config.xml file.
it can be overridden in derived model class
and PKIT_ROOT/Content/cache
pkit_common_code, but called after page code is executed.
(needs testing)
'/' - content cache files are now determined my using a MD5 hash
0.96 Fri Feb 02 04:18:22 2001 EST
(request params) as a reference to hash
easier to remember and naming consistant with pkit_redirect method
Chris Burbridge and Nick Wood for helpful pointers
class methods
the url is not of the form *.pagekit.org
multiple domains to it, seperated by spaces
HTML::Template::query
the session cookie
0.95 Tue Jan 16 15:12:21 2001 EST
specified in the User and Group apache configuration directives. This is because the cache files are generated under server startup, which is typically run under 'root', but the cache files need to be writeable by the Apache children, which run under a non-root user.
configurable, using the model_bass_class global configuration option. This way two or more distinct pagekit sites can operate on the same server.
allows the administrator to specify the directory to store the view and content cache.
MyPageKit::Common->pkit_dbi_connect if there isn't already a database handle.
0.94 Wed Jan 10 02:25:51 2001 EST
with MyPageKit::Common and Apache::PageKit->handler. See migration/README for details.
objects, each containing a reference to a common $pk object.
precompiled to <TMPL_VAR NAME="PKIT_ERRORFONT_BEGIN_foo"> bar</TMPL_VAR NAME="PKIT_ERRORFONT_END_foo"> for improved performance.
dbh, apr, and session methods.
that get specified at runtime using systax like <PKIT_COMPONENT NAME="<MODEL_VAR NAME="foo">">
for output_param method
PKIT_NETSCAPE tags. These tags clutter the API and are easily implemented in the model.
0.93 Wed Jan 03 01:49:06 2001 EST
where output_param method was listed as param.
a browsable repository of source code and more documentation.
cache files conflicting b/c of different default languages in test.
0.92 Sun Dec 31 21:32:30 2000 EST
standalone and not dependent on the PageKit architecture.
as methods of derived Model class
by $model->input_param and $model->output_param instead of $apr->param and $view->param
$model->pkit_set_page_id instead
by model_dispatch_prefix
Apache::PageKit::startup function. Should fix problems when PageKit is used inside a <Directory>, <Location> or <Files> section.
setting in View.pm
management.
web site
0.91 Tue Dec 26 04:05:56 2000 EST
uri_match.
as root.
0.90 Sun Dec 24 01:26:18 2000 EST
in preparation for 1.0 beta release.
more user-friendly versions.
<MODEL_VAR> and <MODEL_LOOP> for Model Data and <CONTENT_VAR> and <CONTENT_LOOP> for Content Data and <PKIT_VAR> and <PKIT_LOOP> for PageKit Data
'include' with 'component' across the framework
<NAV_TITLE> </NAV_TITLE> in content XML for better foreign language support.
and redesigned class to replace form_validator constructor option with $model->validate_input($hash_ref) method. Eliminated error_page and error_page_run_code options (user should use $pk->continue in model instead). This should make the development easier because all the logic is in the Model class instead being scattered across the derived class and configuration.
HTML::Template, and the HTML can be optimized by using HTML::Clean if html_clean_level is set to >=1
in HTML::Template and no for file_cache. Got rid of shared_cache, since it is problematic and file_cache is almost as fast.
domain, is_topdomain attributes.
support for <PKIT_LINK> and <PKIT_JAVASCRIPT> tags and is_popup, is_secure, popup_width, and popup_height.
0.89 Sun Dec 3 18:27:11 2000 EST
replacing Apache::PageKit::Info
content from presentation
directories
instead of MySQL, so could include in test suite without requiring MySQL
web site.
0.05 Tue Oct 31 14:12:00 2000 EST
view parameter in page.xml is no longer used
0.04 Tue Aug 29 13:12:53 2000 EST
0.03 Tue Aug 29 00:13:33 2000 EST
HTML::Embperl::Session
0.02 Mon Aug 28 18:44:15 2000 EST
0.01 Thu Aug 24 16:30:34 2000 EST
-X -n Apache::PageKit