/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.97  
changed lines
  Added in v.170

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26