--- trunk/ChangeLog 2007/09/02 10:44:53 121 +++ trunk/ChangeLog 2007/09/04 21:15:48 137 @@ -1,3 +1,139 @@ +2007-09-04 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/server.py: The mapping + to methods is now driven by regualar expressions and + a dictionary. Response objects are now able to send + error codes. + + * tools/formed/formed/plugins/web/renderer.py: Fixed an issue + when help in Formdata is None. Moved text for help into + a top level '''...''' variable. + + * tools/formed/test-data/simple.xml: Added test for help. + + * tools/formed/formed/plugins/web/help.py: extra None check. + + * tools/formed/formed/plugins/web/plugin.py: Uses the new + table driven mapping of reguest handling. TODO: split the + WebPlugIn.pageHandler() method further to smaller handlers. + Smaller clean ups and better exception handling. + + * tools/formed/formed/plugins/web/cache.py: Report OSErrors + and do not catch them. + +2007-09-04 Torsten Irlaender + + * tools/formed/formed/plugins/web/renderer.py, + * tools/formed/formed/plugins/web/plugin.py: Added Interface to + the HelpProvider and inserted help icons to the html output. + Added decorator for Formelemnts, so textfields, choices etc. are now + within a
tag. + Modified the error messages. + +2007-09-04 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/cache.py: New. Implements + the server-side caching more clean. Fixes a bug with + serving static content. + + * tools/formed/formed/plugins/web/plugin.py: Use the new cache. + +2007-09-04 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py: Set MIME type + to "application/xhtml+xml" when serving help texts. + +2007-09-03 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/diff.py: New. Exports + pairwise differences between all modes. + + * tools/formed/formed/config.py: Use new export filter. + +2007-09-03 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/help.py: New. Parses an + XHTML document for id'ed divs and builds a help lookup. + + * tools/formed/formed/plugins/web/www/help.tmpl: Template for + the help content frame. + + * tools/formed/formed/plugins/web/www/help.xhtml: Some simple + help text index. + + * tools/formed/formed/plugins/web/plugin.py: Serves the help + texts now. + +2007-09-03 Torsten Irlaender + + * tools/formed/formed/plugins/web/plugin.py: Only visible group + elements will be rendered in the formular navigation. + Formular pages in the navigation now have their own css-style + attributes. + +2007-09-03 Torsten Irlaender + + * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page + errors in template + * tools/formed/formed/plugins/web/plugin.py: Fixed undefined + pageerrors variable + +2007-09-03 Frank Koormann + + * tools/formed/formed/plugins/export/html.py + (RecursiveExporter): Added annotation to export + (fillRow()): Renamed old fillNine to this more generic name. + + +2007-09-03 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: Using the decorator + from model.misc now. + +2007-09-03 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Added an + 'annotation' attribute to node components. This is to + enable FormEd document authors to add comments to groups + and fields. + +2007-09-03 Frank Koormann + + * tools/formed/formed/model/nodecomponents.py + (NodeComponent.getParent): New method to get node components parent. + + * tools/formed/formed/plugins/export/html.py: Export Choice option + as simple list instead of collection of bools. + +2007-09-02 Sascha L. Teichmann + + * tools/formed/formed/model/persistent.py: Interfaces to abstract + from persistent storage details. + + * tools/formed/formed/model/memory.py: In core implementation + of the persistent interfaces. + + * tools/formed/formed/main.py: Holds a memory data store now. + +2007-09-02 Sascha L. Teichmann + + * tools/formed/formed/plugins/export/sql.py, + tools/formed/formed/plugins/export/html.py: Fixed constructor chains + for FileDialogFilter sub classes. + +2007-09-02 Sascha L. Teichmann + + * tools/formed/formed/model/misc.py: Checking the mode in recursive + tree traversals is a common task. To ease this a decorator function + checkMode in union with sub classing ModeChecker can be used. + To make it work simply subclass from ModeChecker and add the decorator + to the methods that need mode tracking. Before you start the recursion + call self.prepareDescent(). + + * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme + now which replace the old. TODO: Make the web renderer use the new scheme + too. + 2007-09-02 Sascha L. Teichmann * tools/formed/formed/plugins/export/sql.py: Removed needless import.