/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.105  
changed lines
  Added in v.172

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26