/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.106  
changed lines
  Added in v.168

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26