/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.120  
changed lines
  Added in v.179

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26