/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 109 by teichmann, Wed Aug 29 14:34:56 2007 UTC revision 171 by teichmann, Tue Sep 11 14:19:29 2007 UTC
# Line 1  Line 1 
1    2007-09-11 Sascha L. Teichmann <[email protected]>
2    
3            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
4              issues with error messages (once again).
5    
6    2007-09-11 Torsten Irlaender <[email protected]>
7    
8            * tools/formed/formed/plugins/web/form_renderer.py,
9            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
10              icons in error and confirmation dialogs.
11    
12    2007-09-11 Sascha L. Teichmann <[email protected]>
13    
14            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
15              generation for ints, texts and textareas. Fixed h depths of infos.
16    
17    2007-09-11 Sascha L. Teichmann <[email protected]>
18    
19            * tools/formed/formed/plugins/web/form_renderer.py: Removed
20              debug output for help.
21    
22            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
23              check for bools.
24    
25            * tools/formed/formed/plugins/web/controllers.py:  Added correct
26              HTML output of data for bools.
27    
28    2007-09-11 Torsten Irlaender <[email protected]>
29    
30            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
31              textfields for int values. Changed Label for submitbuttons to
32              "Speichern"
33    
34            * tools/formed/formed/plugins/web/plugin.py,
35              tools/formed/formed/plugins/web/controllers.py: Added new
36              NotImplementedHandler to show up a dummysite for not implemented
37              functions.
38    
39            * tools/formed/formed/plugins/web/renderer.py: Added
40              NotImplementedRenderer. Various small fixes. Mostly renaming the
41              labels of some context menus. Error messages are now generated
42              dynamically depending on num errors. Formular navigation has now
43              colored indication for errors.
44    
45    2007-09-11 Torsten Irlaender <[email protected]>
46    
47            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
48              algorithm for the formular navigation to get rid of the problem
49              that some of the items within the navigation are not linked.  Now
50              structural group elements are linked with the next page found in the
51              formular structure.
52    
53    2007-09-10 Torsten Irlaender <[email protected]>
54            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
55              div and formtag.
56    
57            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
58              menu in the conformation dialog when creating a new dataset.
59    
60            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
61              rendering the default welcome page. Changed rendering of the
62              overview and the digest table of the datasets. Added icon for
63              confirmation dialog, moved the icon in the <h1> tags.  
64    
65    2007-09-10 Torsten Irlaender <[email protected]>
66    
67            * tools/formed/formed/plugins/web/form_renderer.py: Some html
68              generation cleanup. Added error icons to formelements
69    
70            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
71              of ErrorStatus. Fixed generated of the help tags in the formular
72    
73            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
74              pageerrors. An "!" now indicates errors on pages in the formular
75              navigation. Added new <div> "content" around confirmation dialogss.
76              Links in confimation dialogs are now rendered as buttons. Removed
77              old obsolete OverviewRenderer.
78    
79    2007-09-10 Sascha L. Teichmann <[email protected]>
80    
81            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
82              page in page navigation.
83    
84    2007-09-10 Torsten Irlaender <[email protected]>
85    
86            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
87              displaying formdata when changing datasets. Loading the right
88              formdata was not handled in a correct way. Hope it is all fixed now.
89              Left some commented code because not all sideeffects of the changes
90              are tested yet.
91    
92            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
93              now uses the correct data out of the formdata.
94    
95    2007-09-10 Sascha L. Teichmann <[email protected]>
96    
97            * tools/formed/formed/plugins/web/controllers.py: Pretty
98              print format data (dates e.g)
99    
100    2007-09-10 Sascha L. Teichmann <[email protected]>
101    
102            * tools/formed/formed/plugins/web/controllers.py: Modified
103              ErrorStats a bit to avoid mysterious extra error on page.
104                    No clue why this works.
105    
106    2007-09-10 Sascha L. Teichmann <[email protected]>
107    
108            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
109              problem with radio groups, too.
110    
111    2007-09-10 Torsten Irlaender <[email protected]>
112            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
113              really removed when deleting a dataset.
114            
115    2007-09-10 Torsten Irlaender <[email protected]>
116    
117            * tools/formed/formed/plugins/web/controllers.py: Added new Class
118              ErrorStats which provides Information on remaining errors per page.
119    
120            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
121              the renderer methods from controllers.py to renderers.py.
122    
123            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
124              handlers
125    
126    2007-09-10 Sascha L. Teichmann <[email protected]>
127    
128            * tools/formed/formed/plugins/web/form_renderer.py: values for
129              choices are generated from the document tree now. This brings
130                    the state storage of select boxes in HTML to live.
131    
132    2007-09-09 Sascha L. Teichmann <[email protected]>
133    
134            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
135              range checking of integers.
136    
137            * tools/formed/formed/plugins/web/controllers.py: Added class
138              ErrorItem to track errors. They are stored in the session.
139    
140    2007-09-09 Sascha L. Teichmann <[email protected]>
141    
142            * tools/formed/formed/model/nodecomponents.py: Fixed returning
143              wrong index in Document.indexOfcomponentByClassAndName.
144    
145            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
146              written 'errot' in renderer for textareas.
147    
148            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
149    
150    2007-09-09 Sascha L. Teichmann <[email protected]>
151    
152            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
153              method. Could be cheaper for some implementations of help.
154    
155            * tools/formed/formed/plugins/web/form_renderer.py: Modified
156              FormData to have distinct getData(), getHelp() and getError()
157                    methods. Various bug fixes.
158    
159            * tools/formed/formed/plugins/web/controllers.py: Implements the
160              new FormData (trivial by now).
161    
162            * tools/formed/formed/plugins/web/renderer.py: New FormData and
163              some bug fixes.
164    
165    2007-09-09 Sascha L. Teichmann <[email protected]>
166    
167            * tools/formed/formed/model/memory.py,
168              tools/formed/formed/model/persistent.py: Add a getValue() method
169                    to dataset abstraction. This is a bit of a workaround to bring
170                    global access across pages for rule checking to work.
171    
172            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
173              the compiled version was not stored in the RuleLeaf.
174    
175            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
176              convert the expression string to ascii for compilation.
177    
178            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
179              valid data is stored to the dataset immediately now. Fixed a bug
180                    with integer handler.
181    
182            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
183              stuff. When a submit is done extract the rules from the tree document
184                    that are effected by the modified variables and check them.
185    
186            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
187              when dealing with templates.
188    
189    2007-09-07 Torsten Irlaender <[email protected]>
190            * tools/formed/formed/plugins/web/controllers.py,
191              tools/formed/formed/plugins/web/renderer.py: Moved more render
192              functions into renderer.py. New render classes are:
193              DataSetDigestRenderer, DataSetNavigationRenderer,
194              DataSetFormularRenderer, ConfirmationDialogRenderer
195    
196              Note: The new methods are only called from selected handlers. Other
197              handlers call the renderes in the old way.
198    
199    2007-09-07 Torsten Irlaender <[email protected]>
200            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
201              renderer.py to form_renderer.py. This file will contain formular
202              specfic render methods in the future.
203            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
204              which will contain general render methods.
205            * tools/formed/formed/plugins/web/controllers.py: Began to move all
206              rendering into renderer.py or form_renderer.py. This file will only
207              contain teh handlers in the future.
208    
209    2007-09-07 Torsten Irlaender <[email protected]>
210            * tools/formed/formed/plugins/web/renderer.py,
211              tools/formed/formed/plugins/web/controller.py:
212              Renderes now get an instance of the formdata object to provide
213              access the data needed to render various infoboxes etc. Handler
214              instanciate the formdata.
215            
216    2007-09-06 Torsten Irlaender <[email protected]>
217            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
218              getFormData interface to work. Added two small semantic fixes, but
219              did not manage to get it up. Need to exime this a little bit more
220            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
221              around the menus on the right side to be able to assign different
222              styles. Added dataset actions while editing a dataset.
223            
224    2007-09-05 Torsten Irlaender <[email protected]>
225            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
226              removing unwanted del method
227            * tools/formed/formed/plugins/web/controllers.py: Implemented
228              confiration dialogs for create, delete, and select aof datasets. Started to use
229              templates as well for larger information units like the dataset summary.
230            
231    2007-09-05 Sascha L. Teichmann <[email protected]>
232    
233            * tools/formed/formed/model/nodecomponents.py: Added a
234              method to document to find index of page.
235    
236            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
237              to fetch data from semantic box.
238    
239            * tools/formed/formed/plugins/web/controllers.py: Added new
240              FormData implementation to support DB and semantic box.
241    
242    2007-09-05 Sascha L. Teichmann <[email protected]>
243    
244            * tools/formed/formed/plugins/web/renderer.py: escaped
245              error message.
246    
247            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
248              dataset from backend each time a page is up to edit.
249    
250    2007-09-05 Sascha L. Teichmann <[email protected]>
251    
252            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
253              returns "Page not found" if given page is None.
254    
255            * tools/formed/formed/plugins/web/controllers.py: Added checks
256              to avoid crashing when ask for a non-existent page.
257    
258    2007-09-05 Sascha L. Teichmann <[email protected]>
259    
260            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
261    
262    2007-09-05 Sascha L. Teichmann <[email protected]>
263    
264            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
265              and renderers.
266    
267            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
268              and renderers now. TODO: Move renderers to renderer.py
269    
270    2007-09-05 Torsten Irlaender <[email protected]>
271    
272            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
273              and bound in the the new added functions to create, edit, delete and
274              show formdata.
275            
276    2007-09-05 Sascha L. Teichmann <[email protected]>
277    
278            * tools/formed/formed/model/memory.py: Removed bisect and use a
279              simple linear scan for dataset lookup now.
280    
281            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
282              of different sizes.
283    
284    2007-09-05 Torsten Irlaender <[email protected]>
285    
286            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
287              fuction
288                    
289            * tools/formed/formed/plugins/web/persistent.py: Added store() method
290              to the DataSet interface
291    
292            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
293              renderes for create, update, delete and show actions on formular data.
294    
295    2007-09-04 Sascha L. Teichmann <[email protected]>
296    
297            * tools/formed/formed/plugins/web/server.py: The mapping
298              to methods is now driven by regualar expressions and
299                    a dictionary. Response objects are now able to send
300                    error codes.
301    
302            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
303              when help in Formdata is None. Moved text for help into
304                    a top level '''...''' variable.
305    
306            * tools/formed/test-data/simple.xml: Added test for help.
307    
308            * tools/formed/formed/plugins/web/help.py: extra None check.
309    
310            * tools/formed/formed/plugins/web/plugin.py: Uses the new
311              table driven mapping of reguest handling. TODO: split the
312                    WebPlugIn.pageHandler() method further to smaller handlers.
313                    Smaller clean ups and better exception handling.
314    
315            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
316              and do not catch them.
317    
318    2007-09-04 Torsten Irlaender <[email protected]>
319    
320            * tools/formed/formed/plugins/web/renderer.py,
321            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
322              the HelpProvider and inserted help icons to the html output.
323              Added decorator for Formelemnts, so textfields, choices etc. are now
324              within a <div> tag.
325              Modified the error messages.
326    
327    2007-09-04 Sascha L. Teichmann <[email protected]>
328    
329            * tools/formed/formed/plugins/web/cache.py: New. Implements
330              the server-side caching more clean. Fixes a bug with
331                    serving static content.
332    
333            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
334    
335    2007-09-04 Sascha L. Teichmann <[email protected]>
336    
337            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
338              to "application/xhtml+xml" when serving help texts.
339    
340    2007-09-03 Sascha L. Teichmann <[email protected]>
341    
342            * tools/formed/formed/plugins/export/diff.py: New. Exports
343              pairwise differences between all modes.
344    
345            * tools/formed/formed/config.py: Use new export filter.
346    
347    2007-09-03 Sascha L. Teichmann <[email protected]>
348    
349            * tools/formed/formed/plugins/web/help.py: New. Parses an
350              XHTML document for id'ed divs and builds a help lookup.
351    
352            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
353              the help content frame.
354    
355            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
356              help text index.
357    
358            * tools/formed/formed/plugins/web/plugin.py: Serves the help
359              texts now.
360    
361    2007-09-03 Torsten Irlaender <[email protected]>
362    
363            * tools/formed/formed/plugins/web/plugin.py: Only visible group
364              elements will be rendered in the formular navigation.
365              Formular pages in the navigation now have their own css-style
366              attributes.
367    
368    2007-09-03 Torsten Irlaender <[email protected]>
369    
370            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
371              errors in template
372            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
373              pageerrors variable
374    
375    2007-09-03 Frank Koormann <[email protected]>
376    
377            * tools/formed/formed/plugins/export/html.py
378            (RecursiveExporter): Added annotation to export
379            (fillRow()): Renamed old fillNine to this more generic name.
380            
381    
382    2007-09-03 Sascha L. Teichmann <[email protected]>
383    
384            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
385              from model.misc now.
386    
387    2007-09-03 Sascha L. Teichmann <[email protected]>
388    
389            * tools/formed/formed/model/nodecomponents.py: Added an
390              'annotation' attribute to node components. This is to
391                    enable FormEd document authors to add comments to groups
392                    and fields.
393    
394    2007-09-03 Frank Koormann <[email protected]>
395    
396            * tools/formed/formed/model/nodecomponents.py
397            (NodeComponent.getParent): New method to get node components parent.
398    
399            * tools/formed/formed/plugins/export/html.py: Export Choice option
400            as simple list instead of collection of bools.
401    
402    2007-09-02 Sascha L. Teichmann <[email protected]>
403    
404            * tools/formed/formed/model/persistent.py: Interfaces to abstract
405              from persistent storage details.
406    
407            * tools/formed/formed/model/memory.py: In core implementation
408              of the persistent interfaces.
409    
410            * tools/formed/formed/main.py: Holds a memory data store now.
411    
412    2007-09-02 Sascha L. Teichmann <[email protected]>
413    
414            * tools/formed/formed/plugins/export/sql.py,
415              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
416                    for FileDialogFilter sub classes.
417    
418    2007-09-02 Sascha L. Teichmann <[email protected]>
419    
420            * tools/formed/formed/model/misc.py: Checking the mode in recursive
421              tree traversals is a common task. To ease this a decorator function
422                    checkMode in union with sub classing ModeChecker can be used.
423                    To make it work simply subclass from ModeChecker and add the decorator
424                    to the methods that need mode tracking. Before you start the recursion
425                    call self.prepareDescent().
426    
427            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
428              now which replace the old. TODO: Make the web renderer use the new scheme
429                    too.
430    
431    2007-09-02 Sascha L. Teichmann <[email protected]>
432    
433            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
434    
435            * tools/formed/formed/plugins/export/html.py: HTML table exporter
436              uses new FileDialogFilter base class too.
437    
438    2007-09-02 Sascha L. Teichmann <[email protected]>
439    
440            * tools/formed/formed/plugins/ui/*: New. All file exporters
441              need a file dialog. Till now each of them pulled up its
442                    own. This was silly code replication. Now there is an abstract
443                    base class 'FileDialogFilter' which implements the common
444                    behavior. The file exporters should subclass it.
445    
446            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
447              exporters from the new base class. TODO: Subclass the HTML
448                    exporter too.
449    
450    2007-08-31 Sascha L. Teichmann <[email protected]>
451    
452            * tools/formed/formed/plugins/export/html.py: Make mode check
453              work (again).
454    
455    2007-08-31 Torsten Irlaender <[email protected]>
456    
457            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
458              exprt works now in a recursive way. This change was needed because
459              the structure of the formedtree has changed to be able to render
460              full hirachically document stuctures. (nested lists)
461              TODO: Fix modechecking
462    
463    2007-08-31 Torsten Irlaender <[email protected]>
464    
465            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
466              now in recursive way. This change was needed because the structure
467              of the formedtree has changed to be able to render full hirachically
468              document stuctures. (nested lists)
469    
470    2007-08-31 Sascha L. Teichmann <[email protected]>
471    
472            * tools/formed/formed/model/nodecomponents.py: use discard()
473              instead of remove on sets.
474    
475            * tools/formed/formed/plugins/export/sql.py: Added an
476              exporter for table views.
477    
478            * tools/formed/formed/config.py: Added the new exporter
479              to the list of export filters.
480    
481    2007-08-30 Sascha L. Teichmann <[email protected]>
482    
483            * tools/formed/formed/model/data.py: Fixed a bug in
484              Page.allWidgets()
485    
486            * tools/formed/formed/plugins/export/sql.py: Added an exporter
487              for stored procudeures.
488    
489            * tools/formed/formed/config.py: Add the new SP exporter.
490    
491    2007-08-29 Torsten Irlaender <[email protected]>
492    
493            * tools/formed/formed/plugins/web/plugin.py,
494              tools/formed/formed/plugins/web/error_renderer.py: Added interface
495              to get the errors for a whole page in te formular. These errors can
496              now be displayed on the top of the formular.
497    
498    2007-08-29 Torsten Irlaender <[email protected]>
499    
500            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
501              of the getFromData interface and prepared the rederer for generating
502              nice error messages
503    
504    2007-08-28 Frank Koormann <[email protected]>
505    
506            * tools/formed/formed/plugins/export/sql.py
507            (SchemaCreator.createSchema, SchemaCreator._createGroup):
508            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
509    
510    2007-08-28 Torsten Irlaender <[email protected]>
511    
512            * tools/formed/formed/plugins/export/sql.py: Added small helper
513              function to generated valid quotes within the sql statements
514    
515  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29 Sascha L. Teichmann <[email protected]>
516    
517          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys

Legend:
Removed from v.109  
changed lines
  Added in v.171

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26