Apache2-PageKit

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension Apache::PageKit.

	For more details on migration, see migration/README
2.15	No functional changes to 2.14_15 API compatible to 1.19

1.19
	! Adjust post_max limit to sync with yet another incompatble 
		change in libapreq2. The new default limit is 
		64_000_000 instead of 100_000_000 the current limit
		in libapreq2 is 64 * 1024 * 1024
		( Boris Zentner )
	- Fix: typo in Apache2::PageKit::View::get_static_gzip
		should improve speed of sending static gzipped files
		( Shimon Rura )

1.18
	- Allow testsuit to catch up with Changes in Apache::Test. 
		POST's can be redirected on the fly. 
		Otherwise the tests 05, 06 and 07 fail.
		( Boris Zentner )
1.17
	- Add: new config option use_recent_login_timeout in the global
		section of Config.xml. Defaults to yes.
		( Boris Zentner, Shimon Rura )
	- Adjust Makefile.PL to support ExtUtils::MakeMaker > 6.21
		( Boris Zentner, Mike Castle )
1.16
	- Fix: Use Apache::ServerRec and Apache::ServerUtil in 
		Apache::ErrorReport ( Boris Zentner )
	! The param method returns a empty list in list context if 
		the param was not defined. Older PageKits returned undef
		( Boris Zentner )
	- Fix: add missing : in binmode $fh, ":encoding(...)";
		( Boris Zentner )
	- Fix: typo in scripts/pkit_rename_app.pl ( Boris Zentner )
1.15
	- Add: request_class parameter just for the case, that you like 
		another class or subclass do what Apache::Request do for
		you. Defaults to Apache::Request::PageKit
		( Boris Zentner )
	- Fix: conversion error if the tmpl file's encoding is != utf8 
		and no content_var's are used. affects only perl < 5.8.0
		( Boris Zentner )
	- Add: Basic testsuite ( Boris Zentner )
	- Remove setup_eg.pl this file is obsolete ( Boris Zentner )
	- Fix: Fresh created session cookie headers are wrongly not send
		for pkit_redirect pages this is fixed now. ( Boris Zentner )
	- Add: Experimental support for Template Toolkit. Enabled with
                template_class = "Template" in your Config.xml
                ( Boris Zentner)
	- Fix: with pkit_admin=on and perl 5.8.x the input data is 
		converted to your default_input_charset.
		( Boris Zentner, Sean Lee )
	- Send Content-Length header for static files. ( Boris Zentner )
	- Fix: eg/dbfile needs rw permission even for nobody or nouser
		if apache is started as root. 
		( Boris Zentner, Shawn Poulson )
1.14
	- Fix: parse for xsl-params again in the xsl files. This was 
		broken in 1.13. ( Ben Ausden )
	- Fix: add use Apache::PageKit::Model to eg/Model/MyPageKit.Common.pm
		since it is possible that the application class is loaded
		before Apache::PageKit ( Boris Zentner )
        - the eg site use DBD::SQLite now. This obsoletes
		DBD::CSV, SQL::Statement and Text::CSV_XS.
		( Boris Zentner )
	- fop_command can be disabled with fop_command = ""
		( Boris Zentner, Shimon Rura )
	- Remove Apache->request calls from Apache::PageKit::Edit
		just to make apache 2 changes smaller ( Boris Zentner )
	- Fix: Parse Accept-Charsets more pettier ( Boris Zentner )
	! If the client browser has no accept charset header or no good one,
		deliver in the default_output_charset and set the charset
		in the content_type header. ( Erik Günther )
	- Fix uri_prefix in conjunction with can_edit
		( Boris Zentner, Erik Günther ) 
1.13
	- Add support for Apache2 ( Boris Zentner )
	- Add scripts/pkit_rename_app.pl it helps to start new applications
		fast ( Boris Zentner )
	- Add <PKIT_COMMENT> and </PKIT_COMMENT> tags. ( Boris Zentner )
	- Fix filetest for upload_tmp_dir ( Boris Zentner )
	- Fix locale support. One message was twice in the .po files.
		( Boris Zentner )
	- Fix Encoding of Apache::PageKit::Edit. Use HTML::Entities
		and encode only '<>&"' ( Boris Zentner )	
	- Fix encoding of Apache::ErrorReport stacktrace
		( Boris Zentner, Paul Flinders )
1.12
	- PageKit now install the right version for the installed perl.
		This requires the patch command if you use perl 5.8.x.
		( Boris Zentner )
	- Replace Apache::test with Apache::Test ( Boris Zentner )
	- Workaround segfault in XML::LibXML2 in context with findnodes
		( Boris Zentner )
	- Add large comments in front of custom response headers for MSIE.
		( Boris Zentner )
	- Send full response messages if no data is send to the user.
		This fix display problems on some browsers.
		( Boris Zentner, Rob Starkey )
	- Send headers even if we process a SubRequest
		( Boris Zentner, Anton Permyakov )
	- Some case changes in the eg site, to get it working
		case-sensitive. ( Boris Zentner )
	- All PageKit vars in the output object like pkit_user, pkit_done
		and so on are in lowercase now. This is usefull if we use
		another templating engine where case matters.
		( Boris Zentner )
	- Add docs for pkit_internal_execute_redirect
		( Boris Zentner )
	- pkit_internal_redirect and pkit_internal_execute_redirect
		handle page_id's with parameters (Boris Zentner)
	- Fix: Cache handling on the client side more restrictive
		( Boris Zentner )
	- Fixed bug in params_as_string when value is 0 ( TJ Mather )
	- Improved error message when template not found
		and XML::LibXSLT not installed ( TJ Mather )
	- Fix: Expansion of multivalued parameters for HTML::Template
		( Paul G. Weiss )
	- FIX: Typo in HAVE_NOT_MESSAGES close tag.
		( Boris Zentner )
	- Add new option upload_tmp_dir
		see Apache::Request TEMP_DIR ( Ben Ausden )
	- Large speedup for all static pages ( Boris Zentner )
	- Add docs for the ignore_fillinform_fields methode
		(Boris Zentner)
	- Fix: remove again 0xa0 chars from FAQ.pod
		(Boris Zentner)
1.11
	- Fix early delivery of static pages (Paul G. Weiss)
	- Add Apache::PageKit::FAQ (Boris Zentner)
	- Fix: Search attributes for a page in the sections
        	even if the page has some other attributes

Changes  view on Meta::CPAN

1.10
	- Add a note to the docs, that some pages can not be protected
		(Boris Zentner, Rob Starkey)
	- Fix some links in the eg site to work in a different
		location (Boris Zentner)
	- Do not deliver a page direct if the client forget to add a '/'
		instead redirect to the right place. This is done to get
		relative links right. (Boris Zentner)
	- Prepare PageKit for W32 (Boris Zentner)
	- Avoid changing apr->filename and apr->path_info
		(Boris Zentner)
	- Fix warning, when the clients browser did not send a
		User-Agent header. (Boris Zentner)
	- Fix for startup when passed parameter should override
		PKIT_ROOT and PKIT_SERVER settings (TJ Mather)
	- Workaround another UTF conversion bug in perl 5.6.1
		(Boris Zentner, Gabriel Burca)
	- Fix docs for PKIT_HAVE_MESSAGES and PKIT_HAVE_NOT_MESSAGES
		(Boris Zentner)
	- Fix: pkit_edit translate & to &amp; since <textarea> holds
		#PCDATA, but we want it raw. (Boris Zentner)
	- Fix warning, when pkit_auth_session_key is called with a session
		without a user_id or the database can not provide a login
		or passwd. (Boris Zentner)
	- Fix: do NOT cache the page, that force us to login (Boris Zentner)
	- Fix warning, when a pkit_macro tag is used without the same
		parameter in the pkit_component tag (Boris Zentner)
	- Fix pkit_input_hashref for the case where you request the hash,
		change something and request the hash again. In error
		you get the old value(s) back. (Glenn Morgan)
	- Fix call pkit_on_error before the session data is saved.
		So you can rollback the changes, even if your session
		data is in the same db with your application.
		(Boris Zentner)
	- Fix replace <PKIT_ERRORSTR> even inside pkit_message
		strings. (Boris Zentner)
	- Use parameters for Apache::PageKit->startup if we can not
		find PKIT_ROOT and or PKIT_SERVER for
		mod_perl >= 1.06 (Boris Zentner)
	- Add patch to use <PKIT_ERRORSPAN> and <PKIT_ERRORFONT>
		without a name attribute. (Boris Zentner)
	- Add: component subs are called with component-parameters.
		See pkit_component_params_hashref
		(Boris Zentner)
	! Component code is called inorder from top to the bottom
		(Boris Zentner)
	- Fix: bug, where path relative components are not listed
		as an edit component. (Boris Zentner, Gabriel Burca)
	- Fix: A errormessage is fixed, that report file is out of
		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

Changes  view on Meta::CPAN

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.
	- Sessions only generated with something is written to session
		hash (uses lazy option of Apache::PageKit::Session)
	- Added content_type, supports different media outputs, including
		XML, WML, and PDF
	- Supports on-the-fly generation of PDF using Apache XML FOP
	- Static content is passed through HTML::Clean before it is
		gzipped (Boris Zentner)
	- PageKit Template has now XML-style tags of the form <MODEL_VAR />
		(Boris Zentner)
	- Fixed bug with uri_match
	- Fixed bug with charset conversions in CONTENT_LOOP (Boris Zentner)
	- PageKit now returns gzipped output if Accept-Encoding includes the
		string "zip" (Boris Zentner)
	- PageKit removes all cache files before startup if reload global
		config option is set to "no".
	- Updated Makefile.PL to require lastest version of HTML::FillInForm
	- $uri_with_query now includes uri_prefix (Ben Ausden)
	- PKIT_SELFURL now omits pkit_messages, pkit_error_messages and
		pkit_lang (Ben Ausden)
	- XSL files now located in View/pkit_view directory instead of
		View/pkit_view/XSL

1.02
	- Got rid of extraneous 'print "hi"' statement in PageKit.pm
		(Boris Zentner, Leonardo de Carvalho)

1.01
	- fix for split expression for <PKIT_SELFURL> tags (Boris Zentner)
	- eg/View/Default/index.tmpl was missing from the distribution
		(Leonardo de Carvalho)
	- Fixed bug with passing pkit_message when pkit_redirect method
		is called (Ben Ausden)
	- Fixed bug with passing pkit_message when pkit_redirect method
		redirects to a URL with a pkit_login parameter
	- Fixed bug in XML/XPathTemplate.pm where context was not passed
		for CONTENT_LOOP tags.
	- Better language localization support in XML/XPathTemplate.pm.  Now
		uses algorithm based on XPath's lang() function.

1.00
	- Moved most of POD documentation to DocBook, published
		at http://www.pagekit.org/guide
	- Renamed <PKIT_*> tags as follows:
	  <PKIT_IF NAME="VIEW:view"> -> <PKIT_VIEW NAME="view">
	  <PKIT_LOOP NAME="MESSAGE"> -> <PKIT_MESSAGES>, <PKIT_IS_ERROR>, <PKIT_MESSAGE>
	  <PKIT_VAR NAME="HOSTNAME"> -> <PKIT_HOSTNAME>
	- support for relative and absolute names for PKIT_COMPONENT
	- you may now place static HTML files in the pagekit/View/Default
		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.
	- fixed up static handing with default_page and not_found_page
		(Boris Zentner)
	- Replaced MyPageKit::Common with __PACKAGE__ in Common.pm
		(Boris Zentner)

0.99
	- document() function now works in XML::XPathTemplate
	- logins are redirected to selfurl if there is no pkit_done param
	- merged View/Component and Page directories.
	- $model->input_param -> $model->input, $model->fillinform, $model->pnotes
	- $model->output_param -> $model->output
	- $model->dispatch(class,method,params) now is
		my $class_object = $model->pkit_create(class)
		$class_object->method(params);
	- authentication code no longer sets $model->input_param('pkit_user')
		and $model->output_param('pkit_user')
	- 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



( run in 2.826 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )