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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26