--- trunk/ChangeLog 2007/09/04 21:15:48 137 +++ trunk/ChangeLog 2007/09/10 17:10:26 164 @@ -1,3 +1,230 @@ +2007-09-10 Torsten Irlaender + * tools/formed/formed/plugins/web/form_renderer.py: Some html + generation cleanup. Added error icons to formelements + * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation + of ErrorStatus. Fixed generated of the help tags in the formular + * tools/formed/formed/plugins/web/renderer.py: Added error icon for + pageerrors. An "!" now indicates errors on pages in the formular + navigation. Added new
"content" around confirmation dialogss. + Links in confimation dialogs are now rendered as buttons. Removed + old obsolete OverviewRenderer. + +2007-09-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: Highlight selected + page in page navigation. + +2007-09-10 Torsten Irlaender + + * tools/formed/formed/plugins/web/controllers.py: Fixed issues on + displaying formdata when changing datasets. Loading the right + formdata was not handled in a correct way. Hope it is all fixed now. + Left some commented code because not all sideeffects of the changes + are tested yet. + + * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer + now uses the correct data out of the formdata. + +2007-09-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/controllers.py: Pretty + print format data (dates e.g) + +2007-09-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/controllers.py: Modified + ErrorStats a bit to avoid mysterious extra error on page. + No clue why this works. + +2007-09-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/form_renderer.py: Fixed value + problem with radio groups, too. + +2007-09-10 Torsten Irlaender + * tools/formed/formed/plugins/web/controllers.py: Sessions are now + really removed when deleting a dataset. + +2007-09-10 Torsten Irlaender + + * tools/formed/formed/plugins/web/controllers.py: Added new Class + ErrorStats which provides Information on remaining errors per page. + + * tools/formed/formed/plugins/web/renderers.py: Finished movement of + the renderer methods from controllers.py to renderers.py. + + * tools/formed/formed/plugins/web/plugin.py: Removed render_session + handlers + +2007-09-10 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/form_renderer.py: values for + choices are generated from the document tree now. This brings + the state storage of select boxes in HTML to live. + +2007-09-09 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/semantic.py: Fixed problems with + range checking of integers. + + * tools/formed/formed/plugins/web/controllers.py: Added class + ErrorItem to track errors. They are stored in the session. + +2007-09-09 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Fixed returning + wrong index in Document.indexOfcomponentByClassAndName. + + * tools/formed/formed/plugins/web/form_renderer.py: 'error' was + written 'errot' in renderer for textareas. + + * tools/formed/formed/plugins/web/controllers.py: Some clean-ups. + +2007-09-09 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' + method. Could be cheaper for some implementations of help. + + * tools/formed/formed/plugins/web/form_renderer.py: Modified + FormData to have distinct getData(), getHelp() and getError() + methods. Various bug fixes. + + * tools/formed/formed/plugins/web/controllers.py: Implements the + new FormData (trivial by now). + + * tools/formed/formed/plugins/web/renderer.py: New FormData and + some bug fixes. + +2007-09-09 Sascha L. Teichmann + + * tools/formed/formed/model/memory.py, + tools/formed/formed/model/persistent.py: Add a getValue() method + to dataset abstraction. This is a bit of a workaround to bring + global access across pages for rule checking to work. + + * tools/formed/formed/model/data.py: Fixed: When setting a new expression + the compiled version was not stored in the RuleLeaf. + + * tools/formed/formed/model/expr.py: shlex lexer does not like unicode. + convert the expression string to ascii for compilation. + + * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because + valid data is stored to the dataset immediately now. Fixed a bug + with integer handler. + + * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' + stuff. When a submit is done extract the rules from the tree document + that are effected by the modified variables and check them. + + * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling + when dealing with templates. + +2007-09-07 Torsten Irlaender + * tools/formed/formed/plugins/web/controllers.py, + tools/formed/formed/plugins/web/renderer.py: Moved more render + functions into renderer.py. New render classes are: + DataSetDigestRenderer, DataSetNavigationRenderer, + DataSetFormularRenderer, ConfirmationDialogRenderer + + Note: The new methods are only called from selected handlers. Other + handlers call the renderes in the old way. + +2007-09-07 Torsten Irlaender + * tools/formed/formed/plugins/web/form_renderer.py: Renamed + renderer.py to form_renderer.py. This file will contain formular + specfic render methods in the future. + * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py + which will contain general render methods. + * tools/formed/formed/plugins/web/controllers.py: Began to move all + rendering into renderer.py or form_renderer.py. This file will only + contain teh handlers in the future. + +2007-09-07 Torsten Irlaender + * tools/formed/formed/plugins/web/renderer.py, + tools/formed/formed/plugins/web/controller.py: + Renderes now get an instance of the formdata object to provide + access the data needed to render various infoboxes etc. Handler + instanciate the formdata. + +2007-09-06 Torsten Irlaender + * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the + getFormData interface to work. Added two small semantic fixes, but + did not manage to get it up. Need to exime this a little bit more + * tools/formed/formed/plugins/web/controllers.py: Put
tags + around the menus on the right side to be able to assign different + styles. Added dataset actions while editing a dataset. + +2007-09-05 Torsten Irlaender + * tools/formed/formed/model/memory.py: Fixed deleting datasets by + removing unwanted del method + * tools/formed/formed/plugins/web/controllers.py: Implemented + confiration dialogs for create, delete, and select aof datasets. Started to use + templates as well for larger information units like the dataset summary. + +2007-09-05 Sascha L. Teichmann + + * tools/formed/formed/model/nodecomponents.py: Added a + method to document to find index of page. + + * tools/formed/formed/plugins/web/semantic.py: Added getValue() + to fetch data from semantic box. + + * tools/formed/formed/plugins/web/controllers.py: Added new + FormData implementation to support DB and semantic box. + +2007-09-05 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: escaped + error message. + + * tools/formed/formed/plugins/web/controllers.py: Don't fetch + dataset from backend each time a page is up to edit. + +2007-09-05 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer + returns "Page not found" if given page is None. + + * tools/formed/formed/plugins/web/controllers.py: Added checks + to avoid crashing when ask for a non-existent page. + +2007-09-05 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/controllers.py: Some clean-ups. + +2007-09-05 Sascha L. Teichmann + + * tools/formed/formed/plugins/web/plugin.py: Remove request handlers + and renderers. + + * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers + and renderers now. TODO: Move renderers to renderer.py + +2007-09-05 Torsten Irlaender + + * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template + and bound in the the new added functions to create, edit, delete and + show formdata. + +2007-09-05 Sascha L. Teichmann + + * tools/formed/formed/model/memory.py: Removed bisect and use a + simple linear scan for dataset lookup now. + + * tools/formed/formed/plugins/web/plugin.py: Fixed various issues + of different sizes. + +2007-09-05 Torsten Irlaender + + * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById + fuction + + * tools/formed/formed/plugins/web/persistent.py: Added store() method + to the DataSet interface + + * tools/formed/formed/plugins/web/renderer.py: Added handlers and + renderes for create, update, delete and show actions on formular data. + 2007-09-04 Sascha L. Teichmann * tools/formed/formed/plugins/web/server.py: The mapping @@ -21,7 +248,7 @@ * tools/formed/formed/plugins/web/cache.py: Report OSErrors and do not catch them. -2007-09-04 Torsten Irlaender +2007-09-04 Torsten Irlaender * tools/formed/formed/plugins/web/renderer.py, * tools/formed/formed/plugins/web/plugin.py: Added Interface to @@ -64,14 +291,14 @@ * tools/formed/formed/plugins/web/plugin.py: Serves the help texts now. -2007-09-03 Torsten Irlaender +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 +2007-09-03 Torsten Irlaender * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page errors in template