/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.102  
changed lines
  Added in v.162

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26