================
User-visible:
- a WSGI application running Ophelia was added along with a basic
wsgiref-based server running that application
- a script for dumping a single Ophelia-generated page to stdout
- use restructured text format for documentation
- scripts are now allowed in macro files
- more informative error pages and logs
- configuration options changed from CamelCase to lower_case
Bug fixes:
- Apache-generated directory indexes and PHP pages work now. This needs at
least version 3.3 of mod_python.
- actually use the template text passed to StopTraversal as a template
API:
- renamed modules, moved classes between modules:
+ publisher.Namespace -> util.Namespace
+ template -> input
+ apache -> modpython
+ publisher.PageTemplate* -> pagetemplate.PageTemplate*
+ publisher.Publisher -> request.Request, publisher -> request,
also renamed script variable __publisher__ -> __request__
- current template moved from request member (template) to pre-defined
script and TALES variable __template__
- request.Redirect exception has an option for replacing the path portion of
the target URL (saves the client some urlparse acrobatics) and uses the
original request's complete URI as a default base for the target
- combined request.StopTraversal exception parameters into one, text
- added methods insert_template and interpret_template to request, reduced
load_macros signature to a single relative file name
- added the next_name request member as a temporary solution for overriding
the file or directory read during the next traversal step
- replaced request member file_path by dir_path as that's simpler to use
- store environment namespace on request as member env instead of the Apache
request
Code:
- use zope.pagetemplate instead of fiddling with the TAL engine directly
- use zope.exceptions instead of log_error to get supplemented tracebacks
and cleaner code
- use zope.interface to formally specify the API exposed to user code
- some clean-up
Organization:
- made egg name lower case
- made the ophelia egg require needed parts of Zope by egg dependencies
- added svn:ignore property
- set up a zc.buildout environment for a development installation
- added tests