/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 89 by teichmann, Fri Aug 24 13:18:07 2007 UTC revision 354 by torsten, Wed Apr 7 07:08:37 2010 UTC
# Line 1  Line 1 
1  2007-08-24 Sascha L. Teichmann <[email protected]>  2010-04-07  Torsten Irländer <[email protected]>
2    
3            * formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag.
4    
5    2010-04-06  Torsten Irländer <[email protected]>
6    
7            * formed/formed/io/document.py (_toXML): Added comment with
8            "$Revision"-tag. This tag will/can then be substituted by the VCS.
9            * formed/formed/plugins/export/new_sql.py
10            (ExportAsSQLFilter.doExport): Added comment with
11            "$Revision"-tag. This tag will/can then be substituted by the VCS.
12            * formed/formed/model/exprtree.py: Added years operator.
13    
14    2010-03-30      Roland Geider <[email protected]>
15    
16            * formed/formed/plugins/export/latex.py: Added filter
17    
18    2010-03-25      Roland Geider <[email protected]>
19    
20            * formed/formed/plugins/export/xsd.py: Generate valid XML
21    
22    2010-02-11      Frank Koormann <[email protected]>
23    
24            * formed/formed/plugins/export/xls.py: Allow groups in choices.
25    
26    2009-12-02      Torsten Irländer <[email protected]>
27    
28            * formed/formed/plugins/export/typemap.py: do not ignore conditional
29              nodes on traversal.
30    
31    2009-11-17      Sascha L. Teichmann <[email protected]>
32    
33            * formed/formed/model/exprtree.py: Recognize '%' vars
34              in compilation. Does not eval it!
35    
36            * formed/formed/plugins/modify/rules.py: Generate '%' vars
37              for variables in repeat groups.
38    
39    2009-11-13      Sascha L. Teichmann <[email protected]>
40    
41            * formed/formed/plugins/export/typemap.py: Fixed to work
42            with new repeat group nodes.
43    
44    2009-10-28      Sascha L. Teichmann <[email protected]>
45    
46            * formed/formed/plugins/export/xsd.py,
47            formed/formed/plugins/export/sql.py,
48            formed/formed/plugins/export/new_sql.py: Allow groups in choices.
49    
50    2009-10-07      Frank Koormann <[email protected]>
51    
52            * formed/formed/plugins/export/latex.py:
53            Adjusted textprocessing to escape tex-active characters.
54    
55    2009-10-07      Sascha L. Teichmann <[email protected]>
56    
57            * formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py,
58            formed/formed/plugins/export/html2.py: Adjusted to cope with
59            "semi-complete" implementation of logbook tree structure.
60    
61    2009-06-18      Torsten Irländer <[email protected]>
62    
63            * formed/formed/plugins/export/new_sql.py,
64              formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and
65              added permissions.
66    
67    2009-06-18      Torsten Irländer <[email protected]>
68    
69            * formed/formed/plugins/export/new_sql.py: Commented out generation of
70            page_views, as they do not work with rgroups.
71    
72    2009-06-17      Torsten Irländer <[email protected]>
73    
74            * formed/formed/plugins/export/new_sql.py: Fixed anonymize function
75            and rolenames.
76    
77    2009-06-17      Sascha L. Teichmann <[email protected]>
78    
79            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
80    
81    2009-05-26      Sascha L. Teichmann <[email protected]>
82    
83            * formed/formed/plugins/names/filter.py: small optimization.
84    
85    2009-05-26      Sascha L. Teichmann <[email protected]>
86    
87            * formed/formed/plugins/names/filter.py: Repaired unique filter for
88              nodecomponent names.
89    
90    2009-05-06      Sascha L. Teichmann <[email protected]>
91    
92            * formed/formed/plugins/export/rg_sql.py: Only create depending
93              repeat groups if no uuid is given. If a uuid is given then
94              the creation is triggered by an xml import.
95    
96    2009-04-28      Sascha L. Teichmann <[email protected]>
97    
98            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
99              replace the old one. The new one faciliates the new RepeatNode instead
100              of the Group.isRepeat() method to tell if something is to be repeated.
101    
102            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
103              The old one is deactivated.
104    
105            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
106    
107    2009-04-28      Sascha L. Teichmann <[email protected]>
108    
109            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
110              TODO: Adjust execution rights.
111    
112    2009-04-27      Sascha L. Teichmann <[email protected]>
113    
114            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
115              Add functions to create dataset.
116    
117    2009-04-24      Sascha L. Teichmann <[email protected]>
118    
119            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
120              tree structure functions in database.
121    
122            * formed/formed/config.py: load plug-in.
123    
124    2009-04-16      Sascha L. Teichmann <[email protected]>
125    
126            * formed/formed/model/data.py: Added 'digest' attribute to
127              RepeatNode. Removed needless methods
128    
129    2009-04-16      Sascha L. Teichmann <[email protected]>
130    
131            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
132              more readable with '=' and '<>'.
133    
134    2009-04-02      Sascha L. Teichmann <[email protected]>
135    
136            * formed/formed/plugins/export/sql.py: call anonymization
137              of uuid on anonymization of case.
138    
139    2009-03-31      Sascha L. Teichmann <[email protected]>
140    
141            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
142              case_anonymize().
143    
144    2009-03-31      Sascha L. Teichmann <[email protected]>
145    
146            * formed/formed/model/exprtree.py: Add some code to pretty print
147              the trees infix.
148    
149            * formed/formed/plugins/export/rules.py: New. Exporter for human
150              readable rules.
151    
152            * formed/formed/plugins/export/html.py: Fixed HTML generation.
153    
154            * formed/formed/config.py: Added new new Rule export plug-in.
155    
156    2009-03-31      Sascha L. Teichmann <[email protected]>
157    
158            * formed/formed/model/exprtree.py: Fixes from server. Raise
159              exceptions if there is less or more than one element on stack
160              after compilation of expression.
161    
162    2009-03-20      Sascha L. Teichmann <[email protected]>
163    
164            * formed/formed/model/data.py: Removed debug output
165    
166            * formed/formed/plugins/modify/rules.py: Fixed error message.
167              Generate past and future rules.
168    
169    2009-03-16      Sascha L. Teichmann <[email protected]>
170    
171            * formed/formed/model/exprtree.py: Forget to call today with context.
172    
173    2009-03-16      Sascha L. Teichmann <[email protected]>
174    
175            * formed/formed/io/document.py: Fixed syntax typo.
176    
177    2009-03-16      Sascha L. Teichmann <[email protected]>
178    
179            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
180    
181    2009-03-16      Sascha L. Teichmann <[email protected]>
182    
183            * formed/formed/model/data.py: Added ConditionalNode
184    
185            * formed/formed/io/document.py: Make ConditionalNode loadable.
186    
187    2009-03-13      Sascha L. Teichmann <[email protected]>
188    
189            * formed/formed/plugins/modify/rules.py: Make the error descriptions
190              in date sequence rules more precise.
191    
192    2009-03-13      Sascha L. Teichmann <[email protected]>
193    
194            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
195    
196    2009-03-13      Sascha L. Teichmann <[email protected]>
197    
198            * formed/formed/model/exprtree.py: New tree based expression engine.
199    
200            * formed/formed/model/__init__.py, formed/formed/model/data.py:
201              Adjusted imports.
202    
203    2009-03-12      Torsten Irländer <[email protected]>
204    2009-06-17      Sascha L. Teichmann <[email protected]>
205    
206            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
207    
208    2009-05-26      Sascha L. Teichmann <[email protected]>
209    
210            * formed/formed/plugins/names/filter.py: small optimization.
211    
212    2009-05-26      Sascha L. Teichmann <[email protected]>
213    
214            * formed/formed/plugins/names/filter.py: Repaired unique filter for
215              nodecomponent names.
216    
217    2009-05-06      Sascha L. Teichmann <[email protected]>
218    
219            * formed/formed/plugins/export/rg_sql.py: Only create depending
220              repeat groups if no uuid is given. If a uuid is given then
221              the creation is triggered by an xml import.
222    
223    2009-04-28      Sascha L. Teichmann <[email protected]>
224    
225            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
226              replace the old one. The new one faciliates the new RepeatNode instead
227              of the Group.isRepeat() method to tell if something is to be repeated.
228    
229            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
230              The old one is deactivated.
231    
232            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
233    
234    2009-04-28      Sascha L. Teichmann <[email protected]>
235    
236            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
237              TODO: Adjust execution rights.
238    
239    2009-04-27      Sascha L. Teichmann <[email protected]>
240    
241            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
242              Add functions to create dataset.
243    
244    2009-04-24      Sascha L. Teichmann <[email protected]>
245    
246            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
247              tree structure functions in database.
248    
249            * formed/formed/config.py: load plug-in.
250    
251    2009-04-16      Sascha L. Teichmann <[email protected]>
252    
253            * formed/formed/model/data.py: Added 'digest' attribute to
254              RepeatNode. Removed needless methods
255    
256    2009-04-16      Sascha L. Teichmann <[email protected]>
257    
258            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
259              more readable with '=' and '<>'.
260    
261    2009-04-02      Sascha L. Teichmann <[email protected]>
262    
263            * formed/formed/plugins/export/sql.py: call anonymization
264              of uuid on anonymization of case.
265    
266    2009-03-31      Sascha L. Teichmann <[email protected]>
267    
268            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
269              case_anonymize().
270    
271    2009-03-31      Sascha L. Teichmann <[email protected]>
272    
273            * formed/formed/model/exprtree.py: Add some code to pretty print
274              the trees infix.
275    
276            * formed/formed/plugins/export/rules.py: New. Exporter for human
277              readable rules.
278    
279            * formed/formed/plugins/export/html.py: Fixed HTML generation.
280    
281            * formed/formed/config.py: Added new new Rule export plug-in.
282    
283    2009-03-31      Sascha L. Teichmann <[email protected]>
284    
285            * formed/formed/model/exprtree.py: Fixes from server. Raise
286              exceptions if there is less or more than one element on stack
287              after compilation of expression.
288    
289    2009-03-20      Sascha L. Teichmann <[email protected]>
290    
291            * formed/formed/model/data.py: Removed debug output
292    
293            * formed/formed/plugins/modify/rules.py: Fixed error message.
294              Generate past and future rules.
295    
296    2009-03-16      Sascha L. Teichmann <[email protected]>
297    
298            * formed/formed/model/exprtree.py: Forget to call today with context.
299    
300    2009-03-16      Sascha L. Teichmann <[email protected]>
301    
302            * formed/formed/io/document.py: Fixed syntax typo.
303    
304    2009-03-16      Sascha L. Teichmann <[email protected]>
305    
306            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
307    
308    2009-03-16      Sascha L. Teichmann <[email protected]>
309    
310            * formed/formed/model/data.py: Added ConditionalNode
311    
312            * formed/formed/io/document.py: Make ConditionalNode loadable.
313    
314    2009-03-13      Sascha L. Teichmann <[email protected]>
315    
316            * formed/formed/plugins/modify/rules.py: Make the error descriptions
317              in date sequence rules more precise.
318    
319    2009-03-13      Sascha L. Teichmann <[email protected]>
320    
321            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
322    
323    2009-03-13      Sascha L. Teichmann <[email protected]>
324    
325            * formed/formed/model/exprtree.py: New tree based expression engine.
326    
327            * formed/formed/model/__init__.py, formed/formed/model/data.py:
328              Adjusted imports.
329    
330    2009-03-12      Torsten Irländer <[email protected]>
331    2009-06-17      Sascha L. Teichmann <[email protected]>
332    
333            * formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names.
334    
335    2009-05-26      Sascha L. Teichmann <[email protected]>
336    
337            * formed/formed/plugins/names/filter.py: small optimization.
338    
339    2009-05-26      Sascha L. Teichmann <[email protected]>
340    
341            * formed/formed/plugins/names/filter.py: Repaired unique filter for
342              nodecomponent names.
343    
344    2009-05-06      Sascha L. Teichmann <[email protected]>
345    
346            * formed/formed/plugins/export/rg_sql.py: Only create depending
347              repeat groups if no uuid is given. If a uuid is given then
348              the creation is triggered by an xml import.
349    
350    2009-04-28      Sascha L. Teichmann <[email protected]>
351    
352            * formed/formed/plugins/export/new_sql.py: New SQL schema generator to
353              replace the old one. The new one faciliates the new RepeatNode instead
354              of the Group.isRepeat() method to tell if something is to be repeated.
355    
356            * formed/formed/config.py: Use new SQL schema generator plug-in by default.
357              The old one is deactivated.
358    
359            * formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups.
360    
361    2009-04-28      Sascha L. Teichmann <[email protected]>
362    
363            * formed/formed/plugins/export/rg_sql.py: Added delete functions.
364              TODO: Adjust execution rights.
365    
366    2009-04-27      Sascha L. Teichmann <[email protected]>
367    
368            * formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems.
369              Add functions to create dataset.
370    
371    2009-04-24      Sascha L. Teichmann <[email protected]>
372    
373            * formed/formed/plugins/export/rg_sql.py: new plug-in to generate
374              tree structure functions in database.
375    
376            * formed/formed/config.py: load plug-in.
377    
378    2009-04-16      Sascha L. Teichmann <[email protected]>
379    
380            * formed/formed/model/data.py: Added 'digest' attribute to
381              RepeatNode. Removed needless methods
382    
383    2009-04-16      Sascha L. Teichmann <[email protected]>
384    
385            * formed/formed/model/exprtree.py: make 'equal' and 'not equal'
386              more readable with '=' and '<>'.
387    
388    2009-04-02      Sascha L. Teichmann <[email protected]>
389    
390            * formed/formed/plugins/export/sql.py: call anonymization
391              of uuid on anonymization of case.
392    
393    2009-03-31      Sascha L. Teichmann <[email protected]>
394    
395            * formed/formed/plugins/export/sql.py: Set uuid_id to NULL in
396              case_anonymize().
397    
398    2009-03-31      Sascha L. Teichmann <[email protected]>
399    
400            * formed/formed/model/exprtree.py: Add some code to pretty print
401              the trees infix.
402    
403            * formed/formed/plugins/export/rules.py: New. Exporter for human
404              readable rules.
405    
406            * formed/formed/plugins/export/html.py: Fixed HTML generation.
407    
408            * formed/formed/config.py: Added new new Rule export plug-in.
409    
410    2009-03-31      Sascha L. Teichmann <[email protected]>
411    
412            * formed/formed/model/exprtree.py: Fixes from server. Raise
413              exceptions if there is less or more than one element on stack
414              after compilation of expression.
415    
416    2009-03-20      Sascha L. Teichmann <[email protected]>
417    
418            * formed/formed/model/data.py: Removed debug output
419    
420            * formed/formed/plugins/modify/rules.py: Fixed error message.
421              Generate past and future rules.
422    
423    2009-03-16      Sascha L. Teichmann <[email protected]>
424    
425            * formed/formed/model/exprtree.py: Forget to call today with context.
426    
427    2009-03-16      Sascha L. Teichmann <[email protected]>
428    
429            * formed/formed/io/document.py: Fixed syntax typo.
430    
431    2009-03-16      Sascha L. Teichmann <[email protected]>
432    
433            * formed/formed/model/data.py: ConditionalNode inherits from Node directly.
434    
435    2009-03-16      Sascha L. Teichmann <[email protected]>
436    
437            * formed/formed/model/data.py: Added ConditionalNode
438    
439            * formed/formed/io/document.py: Make ConditionalNode loadable.
440    
441    2009-03-13      Sascha L. Teichmann <[email protected]>
442    
443            * formed/formed/plugins/modify/rules.py: Make the error descriptions
444              in date sequence rules more precise.
445    
446    2009-03-13      Sascha L. Teichmann <[email protected]>
447    
448            * formed/formed/plugins/modify/rules.py: generate date sequence rules.
449    
450    2009-03-13      Sascha L. Teichmann <[email protected]>
451    
452            * formed/formed/model/exprtree.py: New tree based expression engine.
453    
454            * formed/formed/model/__init__.py, formed/formed/model/data.py:
455              Adjusted imports.
456    
457    2009-03-12      Torsten Irländer <[email protected]>
458    
459            Introduced new order attribute for date fields
460    
461            * formed/formed/model/data.py: Order fields can be used to define to
462            ordering of datefields withing the document. Needed for automatic
463            generation of consistency rules.
464    
465    2009-02-09      Sascha L. Teichmann <[email protected]>
466    
467            * formed/formed/model/data.py: Allow pages to be 'invisible'.
468    
469    2009-02-09      Sascha L. Teichmann <[email protected]>
470    
471            * formed/formed/plugins/export/sql.py: Fixed problem with
472              description reference tables of radio groups.
473    
474    2009-02-09      Sascha L. Teichmann <[email protected]>
475    
476            * formed/formed/plugins/export/sql.py: replace '-' in names
477              by '_'.
478              
479    2009-02-09      Sascha L. Teichmann <[email protected]>
480    
481            * formed/formed/plugins/export/sql.py: to figure ou which
482              tables are equal the insert statememnts are lower cased
483              and sorted before they are compared. This reduces the number
484              of generated referfence tables.
485    
486    2009-02-09      Sascha L. Teichmann <[email protected]>
487    
488            Repair SQL schema creation for radio groups.
489    
490            * formed/formed/plugins/export/sql.py: radio groups are handled
491              like choices now.
492    
493    2009-02-09      Sascha L. Teichmann <[email protected]>
494    
495            Make it startable again.
496    
497            * formed/formed/plugins/export/xls.py: Import pyExcelerator only
498              when plug-in is called.
499    
500            * formed/formed/model/nodecomponents.py: Event routing was messed up.
501              Rewired root node with document.
502    
503            * formed/formed/plugins/web/help.py: Removed old xml.ext import.
504              XXX: This breaks creating help by now!
505    
506            * formed/formed/io/parser.py: Replace old deprecated base class
507              by new one.
508    
509            * formed/formed/main.py: Do not crash if locale cannot be set.
510    
511            * formed/formed/ui/controls.py: Use document.getCase() instead
512              of document.case to prevent uninitialized dereferences.
513    
514    2009-01-22      Torsten Irländer <[email protected]>
515    
516            Implemented new XML-Format for formed xml files.
517    
518            * formed/formed/model/nodecomponents.py,
519              formed/formed/io/document.py,
520              formed/formed/main.py,
521              formed/formed/ui/controls.py: Introduced new "case" and "logbook"
522              node. Under case is the definition of the formular. logbook will
523              hold the defintion of logboog entrys. For now only the part under
524              "case" can be modified.  
525    
526    2009-01-21      Torsten Irländer <[email protected]>
527    
528            Changed way how XSD-Scheme is generated
529    
530            * formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support
531              logbookentrys. The scheme definiton is now hardcoded in the
532              exporter as it will rarely change. It logbookpart will not be
533              generated from the formedtree anymore.
534    
535    2009-01-20      Torsten Irländer <[email protected]>
536    
537            Support Logbook entrys in xsd schema export
538    
539            * formed/formed/model/data.py: Repeatnode are now handeld as
540              repeatgroups in xsd-export
541            * formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support
542              logbookentrys. The scheme will now validate against an xmlfile from
543              the offlineclient.
544    
545    2009-01-09      Torsten Irländer <[email protected]>
546    
547            Added new repeat node
548    
549            * formed/formed/model/data.py,
550              formed/formed/io/document.py: Added repeatnode to the formedtree.
551              TODO: Remove repeatgroup handling from the groupnode.
552    
553    2009-01-08      Torsten Irländer <[email protected]>
554    
555            Add isset operator to autogenerated rules.
556    
557            * formed/formed/plugins/modify/rules.py: Add issed operator to standard
558              autogenerated rules.
559    
560    2008-12-17      Frank Koormann <[email protected]>
561    
562            * formed/formed/plugins/export/latex.py: Export form as set of
563            latex tables to be included into a master document. The export
564            generates section marks to structure the form and placeholders for
565            help texts to be merged in by a post processing step.
566    
567    2008-12-04      Sascha L. Teichmann <[email protected]>
568    
569            * formed/formed/model/expr.py: Added 'today' which pushes the current date
570              on the stack.
571    
572    2008-12-03      Sascha L. Teichmann <[email protected]>
573    
574            * formed/formed/plugins/web/controllers.py: compute changeset more correctly in
575              storage of fields.
576    
577            * formed/formed/plugins/export/xsd.py: Added unknown int -999999 to integer
578              fields as an accepted value. Generate schema for radio groups too.
579    
580    2008-12-01      Torsten Irländer <[email protected]>
581    
582            Added autmatic generation of required rules
583    
584            * formed/formed/model/data.py,
585              formed/formed/model/expr.py,
586              formed/formed/plugins/modify/rules.py: Default rules for required
587              fields can now be generated.
588    
589    2008-11-28      Sascha L. Teichmann <[email protected]>
590    
591            * formed/formed/model/data.py, formed/formed/model/nodecomponents.py:
592              Ported WidgetCollector from Offline client.
593    
594            * formed/formed/plugins/modify/__init__.py, formed/formed/plugins/modify,
595              formed/formed/plugins/modify/rules.py: Stub for required rules generator.
596    
597            * formed/formed/config.py: Bind new filter to FormEd
598    
599    2008-11-27      Torsten Irländer <[email protected]>
600    
601            * formed/formed/model/data.py: Added new attribute mark for rules
602    
603    2008-11-10      Torsten Irländer <[email protected]>
604    
605            Implemented radio-matrix elements. radio elelement having the same
606            options can now be rendered in table form.
607    
608            * formed/formed/model/data.py,
609              formed/formed/io/document.py: Added new radio-matrix element to the
610              model and gui
611            * formed/formed/plugins/web/view_renderer.py: Write html-renderer for
612              the radio-matrix element.
613    
614    2008-11.03      Torsten Irländer <[email protected]>
615    
616            * formed/formed/model/data.py: Fixed import error
617    
618    2008-10-29      Sascha L. Teichmann <[email protected]>
619    
620            Relative paths in external choices are now possible. Relative paths are
621            relative to path of the master document.
622    
623            * formed/model/data.py: external choice are now storing the path to the
624              master document.
625    
626            * formed/formed/io/document.py: Pass context to SAX builder.
627    
628            * formed/formed/io/factories.py: For new created nodes look if there
629              is a method 'setLoadContext' and call it.
630    
631    2008-09-04      Sascha L. Teichmann <[email protected]>
632    
633            * doc/beschreibung.txt: New. Initial description of FormEd (german).
634    
635    2008-08-22      Sascha L. Teichmann <[email protected]>
636    
637            * formed/formed/model/nodecomponents.py: Added attribute 'flags'.
638    
639    2008-08-21      Sascha L. Teichmann <[email protected]>
640    
641            * formed/formed/io/document.py: Indent tree while saving
642            * formed/formed/main.py: removed needless print
643    
644    2008-08-15      Sascha L. Teichmann <[email protected]>
645    
646            * LICENSE: New GPLv3
647            * */*.py, *.sh: Added reference to LICENSE
648    
649    2008-08-15      Sascha L. Teichmann <[email protected]>
650    
651            * tools: removed because there a no tools any more.
652    
653    2008-08-15      Sascha L. Teichmann <[email protected]>
654    
655            * tools/formed: moved one level up because its the only
656              part of this project now.
657    
658    2008-08-15      Sascha L. Teichmann <[email protected]>
659    
660            * tools/anonym/*: Removed as it belongs to mpuls WASKA
661    
662    2008-08-15      Sascha L. Teichmann <[email protected]>
663    
664            * pdf2xfa/*: removed. It belongs to mpuls
665    
666    2008-08-13 L. Teichmann <[email protected]>
667    
668            i18n of the plug-ins:
669            * tools/formed/formed/plugins/export/diff.py,
670              tools/formed/formed/plugins/export/data.py,
671              tools/formed/formed/plugins/export/old_sql.py,
672              tools/formed/formed/plugins/export/latex.py,
673              tools/formed/formed/plugins/export/xsd.py,
674              tools/formed/formed/plugins/export/sql.py,
675              tools/formed/formed/plugins/export/typemap.py,
676              tools/formed/formed/plugins/export/html.py,
677              tools/formed/formed/plugins/export/mode.py,
678              tools/formed/formed/plugins/export/html2.py,
679              tools/formed/formed/plugins/export/xls.py,
680              tools/formed/formed/plugins/names/filter.py,
681              tools/formed/formed/plugins/plugin.py,
682              tools/formed/formed/plugins/web/help.py,
683              tools/formed/formed/plugins/web/form_renderer.py,
684              tools/formed/formed/plugins/web/plugin.py,
685              tools/formed/formed/plugins/web/error_renderer.py,
686              tools/formed/formed/plugins/web/view_renderer.py,
687              tools/formed/formed/plugins/web/semantic.py,
688              tools/formed/formed/plugins/web/cache.py,
689              tools/formed/formed/plugins/web/server.py,
690              tools/formed/formed/plugins/web/controllers.py,
691              tools/formed/formed/plugins/web/renderer.py,
692              tools/formed/formed/plugins/ui/controls.py,
693              tools/formed/formed/config.py: _("")s the stuff
694              tools/formed/po/formed.pot, tools/formed/po/de_DE.po:
695              extracted and translated.
696    
697    2008-08-08      Sascha L. Teichmann <[email protected]>
698    
699            First version of FormEd i18n. After checkout go to tools/formed/po/ and
700            say 'make mo'. Afterwards you can start FormEd as usual.
701    
702            * tools/formed/resources: New. Place to places ressources like *.mo files
703            * tools/formed/formed/main.py, tools/formed/formed/ui/controls.py: Add _("")s
704              
705            * tools/formed/po,
706              tools/formed/po/Makefile,
707              tools/formed/po/formed.pot,
708              tools/formed/po/de_DE.po: i18n stuff.
709    
710    2008-08-08      Sascha L. Teichmann <[email protected]>
711    
712            * tools/anonym/xmlexport.py: Only export cases which are not
713              'schwebend geloescht'.
714    
715    2008-07-23      Sascha L. Teichmann <[email protected]>
716    
717            Fixed issue472
718    
719            * tools/anonym/xmlimport.py: Regenerate dicts from current form ed tree.
720    
721    2008-07-17      Sascha L. Teichmann <[email protected]>
722    
723            * tools/anonym/xmlimport.py: removed marking of invalid cases
724            * tools/anonym/cron.importAnonXml.sh: re-inserted here.
725    
726    2008-07.07      Torsten Irländer <[email protected]>
727    
728            * tools/formed/formed/plugins/export/latex.py
729              tools/formed/formed/config.py: Added new LaTex Export. Beware this
730              is even more ugly the HTML Export.
731            * tools/formed/formed/plugins/export/html.py: Added information on
732              anonymisation to the html export.
733    
734    2008-07-07      Sascha L. Teichmann <[email protected]>
735    
736            * tools/anonym/xmlimport.py: Mark cases if they are inconsistent.
737    
738    2008-07-07      Sascha L. Teichmann <[email protected]>
739    
740            * tools/anonym/xmlimport.py: Updated to schema 1.5. (Which is incompatible to 1.4)
741    
742    2008-07-07      Sascha L. Teichmann <[email protected]>  
743            
744            * tools/formed/formed/plugins/export/html.py: Added additional column
745            to the html export with information how each field will get
746            anonymized.
747    
748    2008-07-07      Sascha L. Teichmann <[email protected]>  
749    
750            * tools/anonym/xmlimport.py: sync with productive version.
751    
752    2008-06-10      Torsten Irländer <[email protected]>
753    
754            * tools/formed/formed/plugins/export/sql.py: grant admin permission to
755              call anonymize function
756    
757    2008-05-21      Sascha L. Teichmann <[email protected]>  
758    
759            * tools/formed/formed/plugins/export/xsd.py: Brought encoding
760              back to UTF-8.
761    
762    2008-05-21      Frank Koormann <[email protected]>
763    
764            * tools/formed/formed/plugins/export/xls.py: New, export key value
765            tables as excel workbook with one sheet per table.
766    
767            * tools/formed/formed/config.py: ExportKeyValueTableAsXLS added.
768    
769    2008-05-21      Frank Koormann <[email protected]>
770    
771            * tools/formed/formed/plugins/export/xsd.py
772            (SchemaCreator._createChoice): Fix use of choices name.
773    
774    2008-04-29      Sascha L. Teichmann <[email protected]>
775    
776            * tools/formed/formed/plugins/export/xsd.py: Use substitution group
777              to allow arbitrary order of repeat groups.
778    
779    2008-04-29      Sascha L. Teichmann <[email protected]>
780    
781            * tools/formed/formed/plugins/export/xsd.py: Removed a needless
782              character.
783    
784    2008-04-29      Sascha L. Teichmann <[email protected]>
785    
786            * tools/formed/formed/plugins/export/xsd.py: Added annotations
787              to fields.
788    
789    2008-04-29      Sascha L. Teichmann <[email protected]>
790    
791            * tools/formed/formed/plugins/export/xsd.py: Added for
792              choice fields.
793    
794    2008-04-29      Sascha L. Teichmann <[email protected]>
795    
796            * tools/formed/formed/plugins/export/xsd.py: Added support for
797              boolean fields based on enumerations.
798    
799    2008-04-28      Sascha L. Teichmann <[email protected]>
800    
801            * tools/formed/formed/plugins/export/xsd.py: Added support for
802              date, text and textarea fields.
803    
804    2008-04-28      Sascha L. Teichmann <[email protected]>
805    
806            * tools/formed/formed/plugins/export/xsd.py: Added support for
807              repeat groups and integer fields.
808    
809    2008-04-28      Sascha L. Teichmann <[email protected]>
810    
811            * tools/formed/formed/plugins/export/xsd.py: New. plug-in for
812              exporting as XML schema. not ready, yet.
813    
814            * tools/formed/formed/config.py: Use new plug-in.
815    
816            * tools/formed/formed/plugins/export/sql.py: Fixed wrong GUI text.
817    
818    2008-04-17      Torsten Irländer <[email protected]>
819    
820            * tools/formed/formed/plugins/export/sql.py: Changed WHERE clause in
821            for the views because of the new group permissions.
822    
823    2008-04-09      Sascha L. Teichmann <[email protected]>
824    
825            * tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete
826              old anonymized cases.
827    
828    2008-04-01      Sascha L. Teichmann <[email protected]>
829    
830            * tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1"
831              from clause to select datasets.
832              Replace ']]>' in CDATA sections with correct splitted replacement.
833    
834    2008-03-12      Sascha L. Teichmann <[email protected]>
835            
836            * tools/anonym/cron.importAnonXml.sh: Added absolut path to  xmlimport
837              script.
838    
839            * tools/anonym/xmlimport.py: commented out database port from
840              connectionstring.
841    
842    2008-03-12      Sascha L. Teichmann <[email protected]>
843    
844            * tools/formed/formed/plugins/export/sql.py: Fixed bug in generation
845              of anonymization of repeat groups (wrong id was given).
846    
847    2008-03-11      Sascha L. Teichmann <[email protected]>
848    
849            * tools/formed/formed/plugins/export/sql.py: Generate no update
850              statements for relations which have no anonym functions applied.
851    
852    2008-03-11      Sascha L. Teichmann <[email protected]>
853    
854            * tools/formed/formed/plugins/export/sql.py: Added a newline after
855              'COMMIT;' in the last line.
856    
857    2008-03-11      Sascha L. Teichmann <[email protected]>
858    
859            * tools/formed/formed/plugins/export/sql.py: Fixed syntax of
860              generated anonymize_case() function.
861              
862    2008-03-11      Sascha L. Teichmann <[email protected]>
863    
864            * tools/formed/formed/plugins/export/sql.py: Added code to
865              generate a plpgsql function anonymize_case() that anonymized
866              a given case and all of its depending repeat groups.
867    
868    2008-03-06      Sascha L. Teichmann <[email protected]>
869    
870            * tools/anonym/xmlimport.py: remove print of insert statement.
871    
872            * tools/formed/formed/plugins/export/sql.py: Print generation date in ISO.
873    
874    2008-03-03      Torsten Irländer <[email protected]>
875    
876            * anonym/cron.sendAnonXml.sh,
877              anonym/getDbList.sh: Modified script to be used directly in the
878              production environment (Copied running scripts from production
879              server)
880    
881            * cron.importAnonXml.sh: Added deleting of ols cases. Modified script
882              to be used in a production environment (Cpoied running script from
883              production server)
884    
885            * tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to
886              ensure that only valid cases get exported
887    
888    2008-02-27      Sascha L. Teichmann <[email protected]>
889    
890            * tools/anonym/xmlimport.py: Fixed bug in date converter.
891    
892    2008-02-27      Sascha L. Teichmann <[email protected]>
893    
894            * tools/anonym/xmlimport.py: Simpilied version
895    
896    2008-02-27      Sascha L. Teichmann <[email protected]>
897    
898            * tools/anonym/cron.importAnonXml.sh: Add sudo call for
899              xmlimport.py and parameters.
900    
901            * tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/
902    
903            * tools/anonym/xmlexport.py: Use python interpreter without env
904              because of sudo context.
905    
906    2008-02-26      Sascha L. Teichmann <[email protected]>
907    
908            * tools/anonym/xmlimport.py: added support for getopt. add
909              support to force in fkz in import of case.
910    
911    2008-02-26      Sascha L. Teichmann <[email protected]>
912    
913            * tools/anonym/xmlimport.py: Implemented logic to create/update cases.
914    
915            * tools/anonym/html.awk: produces valid HTML.
916    
917    2008-02-25      Sascha L. Teichmann <[email protected]>
918    
919            * tools/anonym/joincsv.py: Fix a logic bug.
920    
921    2008-02-25      Torsten Irlaender <[email protected]>
922    
923            * tools/anonym/cron.importAnonXml.sh: Added shellscript for importing
924              exportted cases. It will read all files from a directory and import
925              the files into the DB. After that the script will cleanup the
926              directory.
927    
928    2008-02-25      Torsten Irländer <[email protected]>
929            
930            * tools/anonym/cron.sendAnonXml.sh,
931              tools/anonym/xmlexport.py,
932              tools/anonym/getDbList.sh: Added shell-scripts for exporting cases
933    
934    2008-02-25      Sascha L. Teichmann <[email protected]>
935    
936            * tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols.
937    
938    2008-02-25      Sascha L. Teichmann <[email protected]>
939    
940            * tools/anonym/joincsv.py: New. Joins CSV files.
941    
942            * tools/anonym/html.awk: New. Converts CSV to HTML
943    
944    2008-02-25      Sascha L. Teichmann <[email protected]>
945    
946            * tools/anonym/xmlimport.py: New. Added generation of
947              update statements.
948    
949    2008-02-25      Sascha L. Teichmann <[email protected]>
950    
951            * tools/anonym/xmlimport.py: New. Base for importing
952              XML from cron.
953    
954    2008-02-24      Sascha L. Teichmann <[email protected]>
955    
956            * tools/formed/formed/plugins/export/html2.py: New. plug-in
957              for a simplified HTML output
958    
959            * tools/formed/formed/plugins/export/typemap.py: New. plug-in
960              for dump schema as python dictionary.
961    
962            * tools/formed/formed/config.py: Enable new plug-ins. Out comment
963              old stored procedure and view generators.
964    
965    2008-02-19      Sascha L. Teichmann <[email protected]>
966    
967            * tools/anonym/xmlexport.py: New. Export all cases in database
968              as XML.
969    
970    2008-02-18      Sascha L. Teichmann <[email protected]>
971    
972            * tools/anonym/anoymncsv.py: separate field with '\t' now.
973              all '\t's are replaced by '   ' before. '\r\n' are removed too.
974    
975    2008-02-15      Sascha L. Teichmann <[email protected]>
976    
977            * tools/anonym/anoymncsv.py: simple script to fetch anonymous
978              data from database.
979    
980    2008-02-14      Sascha L. Teichmann <[email protected]>
981    
982            * tools/formed/formed/plugins/export/sql.py: Exchanged name
983              erase_value with suppress_value/suppress_value2.
984    
985    2008-02-13      Sascha L. Teichmann <[email protected]>
986    
987            * tools/formed/formed/plugins/export/sql.py: output id, master_id
988              substitute 'erase_value' with NULL value.
989    
990    2008-02-13      Sascha L. Teichmann <[email protected]>
991    
992            * tools/formed/formed/plugins/export/sql.py: output id, master_id
993              and uuid_id in anonymiziation views too.
994    
995    2008-02-13      Sascha L. Teichmann <[email protected]>
996    
997            * tools/formed/formed/plugins/export/sql.py: Added generation
998              of anonymiziation views for master table views and repeat group
999              views.
1000    
1001    2008-02-13      Sascha L. Teichmann <[email protected]>
1002    
1003            * tools/formed/formed/model/nodecomponents.py: Added attribute
1004              "function"
1005    
1006            * tools/formed/formed/io/document.py: Save attributes in
1007              alphabetical order.
1008    
1009    2008-02-02      Sascha L. Teichmann <[email protected]>
1010    
1011            * tools/formed/formed/plugins/export/sql.py: Added update rule
1012              for master table and repeat groups views. Granted update right
1013              to :cm_ka_group.
1014    
1015    2008-02-01      Sascha L. Teichmann <[email protected]>
1016    
1017            * tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id'
1018              for master table and repeat groups. Also added unique constraints
1019              to these columns.
1020    
1021    2007-12-10      Sascha L. Teichmann <[email protected]>
1022    
1023            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system
1024              property 'root.element' to specify the name of the XML root.
1025    
1026            * pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted.
1027    
1028    2007-11-22      Sascha L. Teichmann <[email protected]>
1029    
1030            * pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts
1031              for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde.
1032    
1033            * pdf2xfa/README.TXT: Add a remark to new boot scripts.
1034    
1035    2007-11-21      Sascha L. Teichmann <[email protected]>
1036    
1037            * pdf2xfa/src/de/intevation/pdfimport/Log.java: New.
1038              Sends logging to file.
1039    
1040            * pdf2xfa/src/de/intevation/pdfimport/Server.java,
1041              pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted
1042              to use new logging.
1043    
1044            * pdf2xfa/README.TXT: Added remark how to use logging.
1045    
1046    2007-11-16      Frank Koormann <[email protected]>
1047    
1048            * tools/formed/formed/plugins/export/sql.py (createSchema):
1049            Append only column "bearbeiter_id", standins are modelled by a
1050            separate table.
1051    
1052    2007-11-16      Sascha L. Teichmann <[email protected]>
1053    
1054            * tools/formed/formed/model/data.py,
1055              tools/formed/formed/plugins/web/view_renderer.py:
1056              Added an invisible flag for info fields.
1057    
1058    2007-11-07      Sascha L. Teichmann <[email protected]>
1059    
1060            * tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs
1061              (calling a wrong method).
1062    
1063    2007-11-07      Sascha L. Teichmann <[email protected]>
1064    
1065            * tools/formed/formed/model/nodecomponents.py: Added a field
1066              'alternative' to all node components. This might be of help to
1067              match PDF imports where the descriptions do not match.
1068    
1069    2007-10-23      Frank Koormann <[email protected]>
1070    
1071            * tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views
1072    
1073    2007-10-23      Frank Koormann <[email protected]>
1074    
1075            * tools/formed/formed/plugins/export/sql.py: Set default
1076            value (-1) for choices and bools.
1077    
1078    2007-10-21      Frank Koormann <[email protected]>
1079    
1080            * tools/formed/formed/plugins/export/sql.py: Grant statements for
1081            descriptive tables added.
1082            (Table.getName): new
1083    
1084    2007-10-21      Frank Koormann <[email protected]>
1085    
1086            * tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE"
1087            statements for views and roles to make updates easier.
1088            Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.
1089    
1090    2007-10-19      Frank Koormann <[email protected]>
1091    
1092            * tools/formed/formed/plugins/export/sql.py: Added GRANT statements
1093            for views. The statements are prepared for variable substitution
1094            when executing the SQL-scripts by psql.
1095    
1096    2007-10-18      Sascha L. Teichmann <[email protected]>
1097    
1098            * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed:
1099              End of result XML was truncated because of an unflushed buffer.
1100    
1101    2007-10-17      Sascha L. Teichmann <[email protected]>
1102    
1103            * pdf2xfa/bin/build-jar.sh: New. Build production jar file.
1104    
1105            * pdf2xfa/README.TXT: Adjusted how to build production jar file
1106              and how to use it.
1107    
1108            * pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class
1109              and iText dependency.
1110    
1111    2007-10-16      Sascha L. Teichmann <[email protected]>
1112    
1113            * tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe'
1114              are not modeled as BOOLEANs any more. That simpifies the conversion
1115              process web vs. db.
1116    
1117    2007-10-07      Sascha L. Teichmann <[email protected]>
1118    
1119            * tools/formed/formed/plugins/export/sql.py: Added the remaining
1120              UPDATE rules.
1121    
1122    2007-10-07      Sascha L. Teichmann <[email protected]>
1123    
1124            * tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some
1125              views. TODO: Test'em and implement the rest.
1126    
1127    2007-10-07      Sascha L. Teichmann <[email protected]>
1128    
1129            * tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT
1130              rules referenced none existing views.
1131    
1132    2007-10-07      Sascha L. Teichmann <[email protected]>
1133    
1134            * tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT
1135              rules for views. TODO: add UPDATE rules.
1136    
1137    2007-10-07      Sascha L. Teichmann <[email protected]>
1138    
1139            * tools/formed/formed/plugins/export/old_sql.py: New. Contains
1140              the legacy SQL export filters.
1141    
1142            * tools/formed/formed/plugins/export/sql.py: Factored out the
1143              legacy SQL export filters to old_sql.
1144    
1145            * tools/formed/formed/config.py: Adjusted to fetch legacy
1146              filters from old_sql.
1147    
1148    2007-10-06      Sascha L. Teichmann <[email protected]>
1149    
1150            * pdf2xfa/**: Initial import of the PDF to XFA server.
1151    
1152    2007-10-06      Sascha L. Teichmann <[email protected]>
1153    
1154            * tools/formed/formed/plugins/export/sql.py: Fixed bug
1155              that made choices of three elements to booleans if
1156              they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
1157    
1158    2007-10-05      Sascha L. Teichmann <[email protected]>
1159    
1160            * tools/formed/formed/plugins/export/sql.py: Select ids of
1161              underlaying tables in views too.
1162    
1163    2007-10-04      Sascha L. Teichmann <[email protected]>
1164    
1165            * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
1166              Various bug fixes.
1167    
1168    2007-10-04      Sascha L. Teichmann <[email protected]>
1169    
1170            * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
1171              to extract fields from embedded repeat groups.
1172    
1173            * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
1174              views per page too. Result not tested yet.
1175    
1176    2007-10-01      Sascha L. Teichmann <[email protected]>
1177    
1178            * tools/formed/formed/plugins/web/view_renderer.py: Ignore
1179              in-page repeat groups while rendering pages.
1180    
1181    2007-10-01      Sascha L. Teichmann <[email protected]>
1182    
1183            * tools/formed/formed/model/nodecomponents.py: Added visitor
1184              traversals for document trees.
1185    
1186            * tools/formed/formed/model/data.py: Rewrote the
1187              Page.allWidgets() method to use new visitor for
1188              tree traversal.
1189    
1190    2007-09-27      Torsten Irlaender <[email protected]>
1191    
1192            * tools/formed/formed/plugins/names/filter.py: Pages are now included
1193              in the rename by formular name  algorithm
1194    
1195    2007-09-26      Sascha L. Teichmann <[email protected]>
1196    
1197            * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
1198              TODO: rewrite Page.allWidgets().
1199    
1200            * tools/formed/formed/model/nodecomponents.py: Added a method
1201              Node.firstLevel(criterion) to walk a defined line in the tree.
1202    
1203            * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
1204              build views and respective joins.
1205    
1206    2007-09-26      Sascha L. Teichmann <[email protected]>
1207    
1208            * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
1209              FORMED environment variable. If set to true tidylib is used to
1210              filter HTML content to be W3C valid. To use this feature install
1211              uTidylib.
1212    
1213            * tools/formed/formed/plugins/web/server.py: Check if MIME type is
1214              text/html and filters content through tidy if requested.
1215    
1216    2007-09-25      Torsten Irlaender <[email protected]>
1217    
1218            * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
1219              cleanup of the form generation code.
1220    
1221    2007-09-21      Sascha L. Teichmann <[email protected]>
1222    
1223            * tools/formed/formed/plugins/export/sql.py: Added generation time
1224              and DROP TABLE statements to schema export.
1225    
1226    2007-09-20      Sascha L. Teichmann <[email protected]>
1227    
1228            * tools/formed/formed/plugins/export/sql.py: The tables are generated
1229              in correct topolocial order now.
1230    
1231    2007-09-20      Sascha L. Teichmann <[email protected]>
1232    
1233            * tools/formed/formed/plugins/export/mode.py: New. Filter to export
1234              a document with items that are in given mode.
1235    
1236            * tools/formed/formed/model/nodecomponents.py: Added methods to clone
1237              trees depending on selected modes.
1238    
1239            * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
1240              Fixed clone issue with RuleNodes.
1241    
1242            * tools/formed/formed/config.py: Use new plug-in.
1243    
1244    2007-09-17      Sascha L. Teichmann <[email protected]>
1245    
1246            * tools/formed/formed/plugins/web/view_renderer.py: Make the
1247              view renderer a real view renderer. It takes a list of
1248              items now and not only a single page.
1249    
1250            * tools/formed/formed/plugins/web/renderer.py: Feed a list
1251              of items to the view renderer.
1252    
1253    2007-09-17      Torsten Irlaender <[email protected]>
1254    
1255            * tools/formed/formed/plugins/web/view_renderer.py:
1256              Small tweaks in rendering bools.
1257              RadioNodes (with all its children) can now be placed in a container.
1258              The radiobools will not get a surrounding <div> anymore.
1259              I am not sure if the new way results in the wanted behaivor, but the
1260              rendering results are much better now :)
1261              Maybe we need a similar approach for checkboxes?
1262              Rendering groups is still broken in some way.
1263    
1264    2007-09-17      Sascha L. Teichmann <[email protected]>
1265    
1266            * tools/formed/formed/plugins/web/view_renderer.py: Fixed
1267              a few bugs: Do not render empty containers, do not
1268              generate misplaced <br class="newline"> in choices.
1269              Add a nameless container to catch the items that are
1270              nor explicitly assigned to a target. Removed FormData.
1271    
1272            * tools/formed/formed/plugins/web/renderer.py: Removed
1273              a needless import
1274    
1275    2007-09-17      Sascha L. Teichmann <[email protected]>
1276    
1277            * tools/formed/formed/plugins/web/view_renderer.py: Implemented
1278              usage of 'containers' and 'target' attributes.
1279    
1280            * tools/formed/formed/plugins/web/controllers.py: Modified import.
1281    
1282            * tools/formed/formed/plugins/web/renderer.py: Use
1283              new ViewRenderer.
1284    
1285    2007-09-17      Sascha L. Teichmann <[email protected]>
1286    
1287            * tools/formed/formed/model/nodecomponents.py: Added attributes
1288              'target' to NodeComponent and 'containers' to Node.
1289    
1290            * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
1291              to be a replacement for form_renderer. Not ready yet!
1292    
1293            * ChangeLog: Fixed some indention glitches.
1294    
1295    2007-09-13      Torsten Irlaender <[email protected]>
1296    
1297            * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
1298              renaming algorithm.
1299    
1300    2007-09-12      Torsten Irlaender <[email protected]>
1301    
1302            * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
1303              from formular navigation to "Fallakte Inhalt"
1304    
1305    2007-09-12      Torsten Irlaender <[email protected]>
1306    
1307            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
1308              values (dates)  were not pretty printed.
1309    
1310            * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
1311              label rendering for choicelists.
1312    
1313    2007-09-12      Torsten Irlaender <[email protected]>
1314    
1315            * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
1316              choicelist did not get selected when the value is set to "0"
1317    
1318    2007-09-12      Torsten Irlaender <[email protected]>
1319    
1320            * tools/formed/formed/plugins/web/form_renderer.py: Added
1321              "getPrintableData" method, for the formdata Class which will return
1322              the description rather than the value of element in the ID. This is
1323              need for displaying the choises in a right way.
1324            
1325            * tools/formed/formed/plugins/web/renderer.py: Changed string
1326              "Fallnummer" into "Kundennummer" in the templates. Added
1327              Kundennummer to the dataset digest output. Bound in the new
1328              "getPrintableData" call for the digest.
1329    
1330    2007-10-11      Sascha L. Teichmann <[email protected]>
1331    
1332            * tools/formed/formed/plugins/export/data.py: The import/export
1333              of data is now implemented with filters (the most consequent
1334              way in terms of design of FormEd). The support of the 'persistent'
1335              FORMED env-variable support has been removed.
1336    
1337            * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
1338              filter file dialog to double as import dialog.
1339    
1340            * tools/formed/formed/main.py: Removed the the FORMED-var support
1341              for persistence.
1342            
1343            * tools/formed/formed/config.py: Add the two new filters to the filters
1344              list.
1345    
1346    2007-10-11      Sascha L. Teichmann <[email protected]>
1347    
1348            * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
1349              Removed pickle/unpickle stuff.
1350    
1351            * tools/formed/formed/main.py: Uses the new XML persistence.
1352    
1353            * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
1354              not converted to int indices.
1355    
1356    2007-09-11      Sascha L. Teichmann <[email protected]>
1357    
1358            * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
1359              with pickle/unpickle.
1360    
1361            * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
1362              Set to a file name it is tried to unpickle a MemoryDataStore from
1363              that file. When exiting the program this file is used to store the
1364              current MemoryDataStore state. The storing only works if you exit
1365              the program through the Menu File->Exit.
1366              usage: FORMED=persistent:test.db ./formed.sh
1367    
1368    2007-09-11      Torsten Irlaender <[email protected]>
1369    
1370            * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
1371              application on the welcome page from "Formed" to "WASKA"
1372    
1373    2007-09-11      Torsten Irlaender <[email protected]>
1374    
1375            * tools/formed/formed/plugins/web/plugin.py,
1376            * tools/formed/formed/plugins/web/controllers.py,
1377            * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
1378              The infopage provides information on all project participants.
1379    
1380    2007-09-11      Sascha L. Teichmann <[email protected]>
1381    
1382            * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
1383              issues with error messages (once again).
1384    
1385    2007-09-11      Torsten Irlaender <[email protected]>
1386    
1387            * tools/formed/formed/plugins/web/form_renderer.py,
1388            * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
1389              icons in error and confirmation dialogs.
1390    
1391    2007-09-11      Sascha L. Teichmann <[email protected]>
1392    
1393            * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
1394              generation for ints, texts and textareas. Fixed h depths of infos.
1395    
1396    2007-09-11      Sascha L. Teichmann <[email protected]>
1397    
1398            * tools/formed/formed/plugins/web/form_renderer.py: Removed
1399              debug output for help.
1400    
1401            * tools/formed/formed/plugins/web/semantic.py: Added forgotten
1402              check for bools.
1403    
1404            * tools/formed/formed/plugins/web/controllers.py:  Added correct
1405              HTML output of data for bools.
1406    
1407    2007-09-11      Torsten Irlaender <[email protected]>
1408    
1409            * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
1410              textfields for int values. Changed Label for submitbuttons to
1411              "Speichern"
1412    
1413            * tools/formed/formed/plugins/web/plugin.py,
1414              tools/formed/formed/plugins/web/controllers.py: Added new
1415              NotImplementedHandler to show up a dummysite for not implemented
1416              functions.
1417    
1418            * tools/formed/formed/plugins/web/renderer.py: Added
1419              NotImplementedRenderer. Various small fixes. Mostly renaming the
1420              labels of some context menus. Error messages are now generated
1421              dynamically depending on num errors. Formular navigation has now
1422              colored indication for errors.
1423    
1424    2007-09-11      Torsten Irlaender <[email protected]>
1425    
1426            * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
1427              algorithm for the formular navigation to get rid of the problem
1428              that some of the items within the navigation are not linked.  Now
1429              structural group elements are linked with the next page found in the
1430              formular structure.
1431    
1432    2007-09-10      Torsten Irlaender <[email protected]>
1433            * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
1434              div and formtag.
1435    
1436            * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
1437              menu in the conformation dialog when creating a new dataset.
1438    
1439            * tools/formed/formed/plugins/web/renderer.py: Fixed error when
1440              rendering the default welcome page. Changed rendering of the
1441              overview and the digest table of the datasets. Added icon for
1442              confirmation dialog, moved the icon in the <h1> tags.  
1443    
1444    2007-09-10      Torsten Irlaender <[email protected]>
1445    
1446            * tools/formed/formed/plugins/web/form_renderer.py: Some html
1447              generation cleanup. Added error icons to formelements
1448    
1449            * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
1450              of ErrorStatus. Fixed generated of the help tags in the formular
1451    
1452            * tools/formed/formed/plugins/web/renderer.py: Added error icon for
1453              pageerrors. An "!" now indicates errors on pages in the formular
1454              navigation. Added new <div> "content" around confirmation dialogss.
1455              Links in confimation dialogs are now rendered as buttons. Removed
1456              old obsolete OverviewRenderer.
1457    
1458    2007-09-10      Sascha L. Teichmann <[email protected]>
1459    
1460            * tools/formed/formed/plugins/web/renderer.py: Highlight selected
1461              page in page navigation.
1462    
1463    2007-09-10      Torsten Irlaender <[email protected]>
1464    
1465            * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
1466              displaying formdata when changing datasets. Loading the right
1467              formdata was not handled in a correct way. Hope it is all fixed now.
1468              Left some commented code because not all sideeffects of the changes
1469              are tested yet.
1470    
1471            * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
1472              now uses the correct data out of the formdata.
1473    
1474    2007-09-10      Sascha L. Teichmann <[email protected]>
1475    
1476            * tools/formed/formed/plugins/web/controllers.py: Pretty
1477              print format data (dates e.g)
1478    
1479    2007-09-10      Sascha L. Teichmann <[email protected]>
1480    
1481            * tools/formed/formed/plugins/web/controllers.py: Modified
1482              ErrorStats a bit to avoid mysterious extra error on page.
1483              No clue why this works.
1484    
1485    2007-09-10      Sascha L. Teichmann <[email protected]>
1486    
1487            * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
1488              problem with radio groups, too.
1489    
1490    2007-09-10      Torsten Irlaender <[email protected]>
1491            * tools/formed/formed/plugins/web/controllers.py: Sessions are now
1492              really removed when deleting a dataset.
1493            
1494    2007-09-10      Torsten Irlaender <[email protected]>
1495    
1496            * tools/formed/formed/plugins/web/controllers.py: Added new Class
1497              ErrorStats which provides Information on remaining errors per page.
1498    
1499            * tools/formed/formed/plugins/web/renderers.py: Finished movement of
1500              the renderer methods from controllers.py to renderers.py.
1501    
1502            * tools/formed/formed/plugins/web/plugin.py: Removed render_session
1503              handlers
1504    
1505    2007-09-10      Sascha L. Teichmann <[email protected]>
1506    
1507            * tools/formed/formed/plugins/web/form_renderer.py: values for
1508              choices are generated from the document tree now. This brings
1509              the state storage of select boxes in HTML to live.
1510    
1511    2007-09-09      Sascha L. Teichmann <[email protected]>
1512    
1513            * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
1514              range checking of integers.
1515    
1516            * tools/formed/formed/plugins/web/controllers.py: Added class
1517              ErrorItem to track errors. They are stored in the session.
1518    
1519    2007-09-09      Sascha L. Teichmann <[email protected]>
1520    
1521            * tools/formed/formed/model/nodecomponents.py: Fixed returning
1522              wrong index in Document.indexOfcomponentByClassAndName.
1523    
1524            * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
1525              written 'errot' in renderer for textareas.
1526    
1527            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1528    
1529    2007-09-09      Sascha L. Teichmann <[email protected]>
1530    
1531            * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
1532              method. Could be cheaper for some implementations of help.
1533    
1534            * tools/formed/formed/plugins/web/form_renderer.py: Modified
1535              FormData to have distinct getData(), getHelp() and getError()
1536              methods. Various bug fixes.
1537    
1538            * tools/formed/formed/plugins/web/controllers.py: Implements the
1539              new FormData (trivial by now).
1540    
1541            * tools/formed/formed/plugins/web/renderer.py: New FormData and
1542              some bug fixes.
1543    
1544    2007-09-09      Sascha L. Teichmann <[email protected]>
1545    
1546            * tools/formed/formed/model/memory.py,
1547              tools/formed/formed/model/persistent.py: Add a getValue() method
1548              to dataset abstraction. This is a bit of a workaround to bring
1549              global access across pages for rule checking to work.
1550    
1551            * tools/formed/formed/model/data.py: Fixed: When setting a new expression
1552              the compiled version was not stored in the RuleLeaf.
1553    
1554            * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
1555              convert the expression string to ascii for compilation.
1556    
1557            * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
1558              valid data is stored to the dataset immediately now. Fixed a bug
1559              with integer handler.
1560    
1561            * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
1562              stuff. When a submit is done extract the rules from the tree document
1563              that are effected by the modified variables and check them.
1564    
1565            * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
1566              when dealing with templates.
1567    
1568    2007-09-07      Torsten Irlaender <[email protected]>
1569            * tools/formed/formed/plugins/web/controllers.py,
1570              tools/formed/formed/plugins/web/renderer.py: Moved more render
1571              functions into renderer.py. New render classes are:
1572              DataSetDigestRenderer, DataSetNavigationRenderer,
1573              DataSetFormularRenderer, ConfirmationDialogRenderer
1574    
1575              Note: The new methods are only called from selected handlers. Other
1576              handlers call the renderes in the old way.
1577    
1578    2007-09-07      Torsten Irlaender <[email protected]>
1579            * tools/formed/formed/plugins/web/form_renderer.py: Renamed
1580              renderer.py to form_renderer.py. This file will contain formular
1581              specfic render methods in the future.
1582            * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
1583              which will contain general render methods.
1584            * tools/formed/formed/plugins/web/controllers.py: Began to move all
1585              rendering into renderer.py or form_renderer.py. This file will only
1586              contain teh handlers in the future.
1587    
1588    2007-09-07      Torsten Irlaender <[email protected]>
1589            * tools/formed/formed/plugins/web/renderer.py,
1590              tools/formed/formed/plugins/web/controller.py:
1591              Renderes now get an instance of the formdata object to provide
1592              access the data needed to render various infoboxes etc. Handler
1593              instanciate the formdata.
1594            
1595    2007-09-06      Torsten Irlaender <[email protected]>
1596            * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
1597              getFormData interface to work. Added two small semantic fixes, but
1598              did not manage to get it up. Need to exime this a little bit more
1599            * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
1600              around the menus on the right side to be able to assign different
1601              styles. Added dataset actions while editing a dataset.
1602            
1603    2007-09-05      Torsten Irlaender <[email protected]>
1604            * tools/formed/formed/model/memory.py: Fixed deleting datasets by
1605              removing unwanted del method
1606            * tools/formed/formed/plugins/web/controllers.py: Implemented
1607              confiration dialogs for create, delete, and select aof datasets. Started to use
1608              templates as well for larger information units like the dataset summary.
1609            
1610    2007-09-05      Sascha L. Teichmann <[email protected]>
1611    
1612            * tools/formed/formed/model/nodecomponents.py: Added a
1613              method to document to find index of page.
1614    
1615            * tools/formed/formed/plugins/web/semantic.py: Added getValue()
1616              to fetch data from semantic box.
1617    
1618            * tools/formed/formed/plugins/web/controllers.py: Added new
1619              FormData implementation to support DB and semantic box.
1620    
1621    2007-09-05      Sascha L. Teichmann <[email protected]>
1622    
1623            * tools/formed/formed/plugins/web/renderer.py: escaped
1624              error message.
1625    
1626            * tools/formed/formed/plugins/web/controllers.py: Don't fetch
1627              dataset from backend each time a page is up to edit.
1628    
1629    2007-09-05      Sascha L. Teichmann <[email protected]>
1630    
1631            * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
1632              returns "Page not found" if given page is None.
1633    
1634            * tools/formed/formed/plugins/web/controllers.py: Added checks
1635              to avoid crashing when ask for a non-existent page.
1636    
1637    2007-09-05      Sascha L. Teichmann <[email protected]>
1638    
1639            * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1640    
1641    2007-09-05      Sascha L. Teichmann <[email protected]>
1642    
1643            * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
1644              and renderers.
1645    
1646            * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
1647              and renderers now. TODO: Move renderers to renderer.py
1648    
1649    2007-09-05      Torsten Irlaender <[email protected]>
1650    
1651            * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
1652              and bound in the the new added functions to create, edit, delete and
1653              show formdata.
1654            
1655    2007-09-05      Sascha L. Teichmann <[email protected]>
1656    
1657            * tools/formed/formed/model/memory.py: Removed bisect and use a
1658              simple linear scan for dataset lookup now.
1659    
1660            * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
1661              of different sizes.
1662    
1663    2007-09-05      Torsten Irlaender <[email protected]>
1664    
1665            * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
1666              fuction
1667              
1668            * tools/formed/formed/plugins/web/persistent.py: Added store() method
1669              to the DataSet interface
1670    
1671            * tools/formed/formed/plugins/web/renderer.py: Added handlers and
1672              renderes for create, update, delete and show actions on formular data.
1673    
1674    2007-09-04      Sascha L. Teichmann <[email protected]>
1675    
1676            * tools/formed/formed/plugins/web/server.py: The mapping
1677              to methods is now driven by regualar expressions and
1678              a dictionary. Response objects are now able to send
1679              error codes.
1680    
1681            * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
1682              when help in Formdata is None. Moved text for help into
1683              a top level '''...''' variable.
1684    
1685            * tools/formed/test-data/simple.xml: Added test for help.
1686    
1687            * tools/formed/formed/plugins/web/help.py: extra None check.
1688    
1689            * tools/formed/formed/plugins/web/plugin.py: Uses the new
1690              table driven mapping of reguest handling. TODO: split the
1691              WebPlugIn.pageHandler() method further to smaller handlers.
1692              Smaller clean ups and better exception handling.
1693    
1694            * tools/formed/formed/plugins/web/cache.py: Report OSErrors
1695              and do not catch them.
1696    
1697    2007-09-04      Torsten Irlaender <[email protected]>
1698    
1699            * tools/formed/formed/plugins/web/renderer.py,
1700            * tools/formed/formed/plugins/web/plugin.py: Added Interface to
1701              the HelpProvider and inserted help icons to the html output.
1702              Added decorator for Formelemnts, so textfields, choices etc. are now
1703              within a <div> tag.
1704              Modified the error messages.
1705    
1706    2007-09-04      Sascha L. Teichmann <[email protected]>
1707    
1708            * tools/formed/formed/plugins/web/cache.py: New. Implements
1709              the server-side caching more clean. Fixes a bug with
1710              serving static content.
1711    
1712            * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
1713    
1714    2007-09-04      Sascha L. Teichmann <[email protected]>
1715    
1716            * tools/formed/formed/plugins/web/plugin.py: Set MIME type
1717              to "application/xhtml+xml" when serving help texts.
1718    
1719    2007-09-03      Sascha L. Teichmann <[email protected]>
1720    
1721            * tools/formed/formed/plugins/export/diff.py: New. Exports
1722              pairwise differences between all modes.
1723    
1724            * tools/formed/formed/config.py: Use new export filter.
1725    
1726    2007-09-03      Sascha L. Teichmann <[email protected]>
1727    
1728            * tools/formed/formed/plugins/web/help.py: New. Parses an
1729              XHTML document for id'ed divs and builds a help lookup.
1730    
1731            * tools/formed/formed/plugins/web/www/help.tmpl: Template for
1732              the help content frame.
1733    
1734            * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
1735              help text index.
1736    
1737            * tools/formed/formed/plugins/web/plugin.py: Serves the help
1738              texts now.
1739    
1740    2007-09-03      Torsten Irlaender <[email protected]>
1741    
1742            * tools/formed/formed/plugins/web/plugin.py: Only visible group
1743              elements will be rendered in the formular navigation.
1744              Formular pages in the navigation now have their own css-style
1745              attributes.
1746    
1747    2007-09-03      Torsten Irlaender <[email protected]>
1748    
1749            * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
1750              errors in template
1751            * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
1752              pageerrors variable
1753    
1754    2007-09-03      Frank Koormann <[email protected]>
1755    
1756            * tools/formed/formed/plugins/export/html.py
1757            (RecursiveExporter): Added annotation to export
1758            (fillRow()): Renamed old fillNine to this more generic name.
1759            
1760    
1761    2007-09-03      Sascha L. Teichmann <[email protected]>
1762    
1763            * tools/formed/formed/plugins/web/renderer.py: Using the decorator
1764              from model.misc now.
1765    
1766    2007-09-03      Sascha L. Teichmann <[email protected]>
1767    
1768            * tools/formed/formed/model/nodecomponents.py: Added an
1769              'annotation' attribute to node components. This is to
1770              enable FormEd document authors to add comments to groups
1771              and fields.
1772    
1773    2007-09-03      Frank Koormann <[email protected]>
1774    
1775            * tools/formed/formed/model/nodecomponents.py
1776            (NodeComponent.getParent): New method to get node components parent.
1777    
1778            * tools/formed/formed/plugins/export/html.py: Export Choice option
1779            as simple list instead of collection of bools.
1780    
1781    2007-09-02      Sascha L. Teichmann <[email protected]>
1782    
1783            * tools/formed/formed/model/persistent.py: Interfaces to abstract
1784              from persistent storage details.
1785    
1786            * tools/formed/formed/model/memory.py: In core implementation
1787              of the persistent interfaces.
1788    
1789            * tools/formed/formed/main.py: Holds a memory data store now.
1790    
1791    2007-09-02      Sascha L. Teichmann <[email protected]>
1792    
1793            * tools/formed/formed/plugins/export/sql.py,
1794              tools/formed/formed/plugins/export/html.py: Fixed constructor chains
1795              for FileDialogFilter sub classes.
1796    
1797    2007-09-02      Sascha L. Teichmann <[email protected]>
1798    
1799            * tools/formed/formed/model/misc.py: Checking the mode in recursive
1800              tree traversals is a common task. To ease this a decorator function
1801              checkMode in union with sub classing ModeChecker can be used.
1802              To make it work simply subclass from ModeChecker and add the decorator
1803              to the methods that need mode tracking. Before you start the recursion
1804              call self.prepareDescent().
1805    
1806            * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
1807              now which replace the old. TODO: Make the web renderer use the new scheme
1808              too.
1809    
1810    2007-09-02      Sascha L. Teichmann <[email protected]>
1811    
1812            * tools/formed/formed/plugins/export/sql.py: Removed needless import.
1813    
1814            * tools/formed/formed/plugins/export/html.py: HTML table exporter
1815              uses new FileDialogFilter base class too.
1816    
1817    2007-09-02      Sascha L. Teichmann <[email protected]>
1818    
1819            * tools/formed/formed/plugins/ui/*: New. All file exporters
1820              need a file dialog. Till now each of them pulled up its
1821              own. This was silly code replication. Now there is an abstract
1822              base class 'FileDialogFilter' which implements the common
1823              behavior. The file exporters should subclass it.
1824    
1825            * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
1826              exporters from the new base class. TODO: Subclass the HTML
1827              exporter too.
1828    
1829    2007-08-31      Sascha L. Teichmann <[email protected]>
1830    
1831            * tools/formed/formed/plugins/export/html.py: Make mode check
1832              work (again).
1833    
1834    2007-08-31      Torsten Irlaender <[email protected]>
1835    
1836            * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
1837              exprt works now in a recursive way. This change was needed because
1838              the structure of the formedtree has changed to be able to render
1839              full hirachically document stuctures. (nested lists)
1840              TODO: Fix modechecking
1841    
1842    2007-08-31      Torsten Irlaender <[email protected]>
1843    
1844            * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
1845              now in recursive way. This change was needed because the structure
1846              of the formedtree has changed to be able to render full hirachically
1847              document stuctures. (nested lists)
1848    
1849    2007-08-31      Sascha L. Teichmann <[email protected]>
1850    
1851            * tools/formed/formed/model/nodecomponents.py: use discard()
1852              instead of remove on sets.
1853    
1854            * tools/formed/formed/plugins/export/sql.py: Added an
1855              exporter for table views.
1856    
1857            * tools/formed/formed/config.py: Added the new exporter
1858              to the list of export filters.
1859    
1860    2007-08-30      Sascha L. Teichmann <[email protected]>
1861    
1862            * tools/formed/formed/model/data.py: Fixed a bug in
1863              Page.allWidgets()
1864    
1865            * tools/formed/formed/plugins/export/sql.py: Added an exporter
1866              for stored procudeures.
1867    
1868            * tools/formed/formed/config.py: Add the new SP exporter.
1869    
1870    2007-08-29      Torsten Irlaender <[email protected]>
1871    
1872            * tools/formed/formed/plugins/web/plugin.py,
1873              tools/formed/formed/plugins/web/error_renderer.py: Added interface
1874              to get the errors for a whole page in te formular. These errors can
1875              now be displayed on the top of the formular.
1876    
1877    2007-08-29      Torsten Irlaender <[email protected]>
1878    
1879            * tools/formed/formed/plugins/web/renderer.py: Finished implementation
1880              of the getFromData interface and prepared the rederer for generating
1881              nice error messages
1882    
1883    2007-08-28      Frank Koormann <[email protected]>
1884    
1885            * tools/formed/formed/plugins/export/sql.py
1886            (SchemaCreator.createSchema, SchemaCreator._createGroup):
1887            Fixed typo in created DDS (PRIMRAY -> PRIMARY)
1888    
1889    2007-08-28      Torsten Irlaender <[email protected]>
1890    
1891            * tools/formed/formed/plugins/export/sql.py: Added small helper
1892              function to generated valid quotes within the sql statements
1893    
1894    2007-08-29      Sascha L. Teichmann <[email protected]>
1895    
1896            * tools/formed/formed/plugins/export/sql.py: Added foreign keys
1897              for repeat tables.
1898              
1899    2007-08-29      Sascha L. Teichmann <[email protected]>
1900    
1901            * tools/formed/formed/plugins/export/sql.py: When generating
1902              an extra table check in a table of same content exists. In
1903              this case reference the existing table.
1904    
1905    2007-08-29      Sascha L. Teichmann <[email protected]>
1906    
1907            * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
1908              _real_ SQL and respect repeat groups.
1909    
1910            * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
1911    
1912            * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
1913              instead of expensive += string concat in some places.
1914    
1915    2007-08-29      Sascha L. Teichmann <[email protected]>
1916    
1917            * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
1918              to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
1919    
1920    2007-08-28      Torsten Irlaender <[email protected]>
1921    
1922            * tools/formed/plugins/web/renderer.py: Added Formdata interface.
1923            * tools/formed/model/data.py: Implements Formadata interface to
1924              textfields. Fieldset generated depends now on the "invisible"
1925              attribute of the groupnode. Field-label generation slightly changed.
1926              Added error indication to textfields
1927    
1928    2007-08-28      Sascha L. Teichmann <[email protected]>
1929    
1930            * tools/formed/formed/model/data.py,
1931              tools/formed/formed/io/document.py: Removed support
1932              of logical groups.
1933    
1934    2007-08-28      Sascha L. Teichmann <[email protected]>
1935    
1936            * tools/formed/formed/io/document.py: Avoid saving empty
1937              attributes.
1938    
1939            * tools/formed/test-data/simple.xml: Applied.
1940    
1941    2007-08-28      Sascha L. Teichmann <[email protected]>
1942    
1943            * tools/formed/formed/model/data.py: Added 'repeat' and
1944              'invisible' attributes to group. TODO: remove logical group.
1945    
1946    2007-08-27      Torsten Irlaender <[email protected]>
1947    
1948            * tools/formed/plugins/web/plugin.py,
1949              tools/formed/plugins/web/renderer.py: Started to  include stylesheet
1950              depending tags in the html generation.
1951    
1952    2007-08-27      Sascha L. Teichmann <[email protected]>
1953    
1954            * tools/formed/formed/model/data.py,
1955              tools/formed/formed/io/document.py: Added a logical group.
1956              It has an attribute 'repeat' to indicate that it might
1957              be worthy an external table in DB schema.
1958    
1959    2007-08-27      Sascha L. Teichmann <[email protected]>
1960    
1961            * tools/formed/formed/plugins/web/plugin.py: Support
1962              serving of static content.
1963    
1964            * tools/formed/formed/plugins/web/server.py: Removed
1965              old send code.
1966    
1967    2007-08-27      Sascha L. Teichmann <[email protected]>
1968    
1969            * tools/formed/formed/plugins/web/plugin.py: Use new
1970              Response object. Fix typo.
1971    
1972            * tools/formed/formed/plugins/web/server.py: support
1973              response object to serve different MIME types.
1974    
1975    2007-08-27      Sascha L. Teichmann <[email protected]>
1976    
1977            * tools/formed/formed/plugins/web/plugin.py: Add web.path
1978              to FORMED environment  variable to specify the
1979              root of the static content.
1980    
1981    2007-08-26      Sascha L. Teichmann <[email protected]>
1982    
1983            * tools/formed/formed/model/data.py,
1984              tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
1985    
1986            * tools/formed/formed/plugins/web/www,
1987              tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
1988              a template for the HTML output.
1989    
1990            * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
1991              mode issues. Introduces CSS support. Simplified the action
1992              handling.
1993    
1994            * tools/formed/formed/plugins/web/renderer.py: Removed the
1995              nagivation code.
1996    
1997            * tools/formed/formed/plugins/web/server.py: Added missing import.
1998    
1999    2007-08-26      Sascha L. Teichmann <[email protected]>
2000    
2001            * tools/formed/formed/model/data.py: Added missing broadcast
2002              parameter to setAttribute() of RuleLeaf.
2003    
2004            * tools/formed/formed/plugins/web/plugin.py: Factorize
2005              HTTP server code out to separate module.
2006    
2007            * tools/formed/formed/plugins/web/renderer.py: Removed
2008              needless -1 from pop()
2009    
2010            * tools/formed/formed/plugins/web/server.py: New. Contains
2011              the HTTP server code now.
2012    
2013    2007-08-26      Sascha L. Teichmann <[email protected]>
2014    
2015            * tools/formed/test-data/simple.xml: Modified to contain a rule.
2016    
2017            * tools/formed/formed/model/expr.py: Added. A simple RPN
2018              expression evaluator. To avoid the problem of eval()ing
2019              arbitrary python expressions I've decided to use a very
2020              basic and limited stack machine to support rule checking.
2021    
2022            * tools/formed/formed/model/data.py: Added a RuleLeaf.
2023    
2024            * tools/formed/formed/io/document.py: Added factories for rules.
2025    
2026            * tools/formed/formed/model/nodecomponents.py: Add a method
2027              to find all items of a given type in document for a given
2028              mode. Usefull to find all rules in the tree.
2029    
2030            * tools/formed/formed/ui/controls.py: Added a listener mechanism
2031              to attribute table to report exceptions when setting a value
2032              from GUI. Useful to report compilation errors when setting
2033              expr of rule leafs.
2034    
2035            * tools/formed/formed/main.py: Added a method to track exceptions
2036              from the attribute table and pop up dialogs if they occur.
2037              Added a counter of rule modifications in tree. Useful if you
2038              want build cached data structures like rule sets and you want
2039              to know if they are still valid.
2040    
2041    2007-08-24      Torsten Irlaender <[email protected]>
2042    
2043            * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
2044              for checkbox values. (Syntax error).
2045    
2046            * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
2047              generation  
2048    
2049    2007-08-24      Torsten Irlaender <[email protected]>
2050    
2051            * tools/formed/formed/plugins/names/filter.py: Separated Class for
2052              making the formularnames more database friendly. Added some more
2053              checks.
2054            * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
2055              separated class, and some fixes in sql generation.
2056    
2057    2007-08-24      Sascha L. Teichmann <[email protected]>
2058    
2059          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
2060            of external choice list.            of external choice list.
2061    
2062  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2063    
2064          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
2065            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
2066    
2067  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2068    
2069          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
2070            mode depended leaf items.            mode depended leaf items.
# Line 18  Line 2074 
2074    
2075          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
2076            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
2077                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
2078                  not done.            not done.
2079    
2080  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2081    
2082          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
2083            of radio groups and choices too.            of radio groups and choices too.
2084    
2085  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2086    
2087          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
2088            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
2089            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
2090    
2091  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2092    
2093          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
2094            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
2095                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
2096    
2097  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2098    
2099          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
2100            HTML and SQL exporters.            HTML and SQL exporters.
# Line 47  Line 2103 
2103            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
2104            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
2105            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
2106                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
2107    
2108          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
2109            package now.            package now.
2110    
2111  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2112    
2113          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
2114            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 61  Line 2117 
2117    
2118          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
2119    
2120  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2121    
2122          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
2123            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 71  Line 2127 
2127    
2128          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
2129    
2130  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2131    
2132          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
2133            to extract fields and options in the XFA Data in teh PDF. This            to extract fields and options in the XFA Data in teh PDF. This
2134            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
2135            formular versions.            formular versions.
2136                    
2137  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2138    
2139          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
2140            select all modes. ;-)            select all modes. ;-)
2141    
2142  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2143    
2144          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
2145            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 93  Line 2149 
2149            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
2150            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
2151    
2152  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2153    
2154          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
2155            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 104  Line 2160 
2160          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
2161            env configuration.            env configuration.
2162    
2163  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2164    
2165          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
2166            table are now alphabetically sorted.            table are now alphabetically sorted.
2167    
2168  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2169    
2170          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
2171            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 125  Line 2181 
2181    
2182          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
2183    
2184  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2185    
2186          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
2187            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
2188    
2189  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2190    
2191          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
2192    
2193  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2194    
2195          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
2196            for the hidden field. Argh!            for the hidden field. Argh!
2197    
2198  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2199    
2200          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
2201            generation of hidden page field.            generation of hidden page field.
2202    
2203  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2204    
2205          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2206            checks for radio groups.            checks for radio groups.
2207    
2208  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2209    
2210          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2211            checks for choices.            checks for choices.
# Line 164  Line 2220 
2220          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
2221          Replace technical types with readable descriptions          Replace technical types with readable descriptions
2222    
2223  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2224    
2225          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
2226            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
2227                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
2228                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
2229                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
2230                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
2231    
2232          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
2233            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 179  Line 2235 
2235          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
2236            hidden field to store the name of the page.            hidden field to store the name of the page.
2237    
2238  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2239    
2240          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
2241            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
2242    
2243  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2244    
2245          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
2246            in switches.            in switches.
2247    
2248          * tools/formed/formed/model/data.py: Added a method to find all          * tools/formed/formed/model/data.py: Added a method to find all
2249            widgets in a given page. Fixed a bug when walking in switch            widgets in a given page. Fixed a bug when walking in switch
2250                  with a given mode.            with a given mode.
2251    
2252          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
2253            listing all widgets in page.            listing all widgets in page.
2254    
2255  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
2256    
2257          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
2258            latin-1            latin-1
2259    
2260  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2261    
2262          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
2263            walk.            walk.
2264                              
2265          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
2266            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
2267                  give children in a given mode.            give children in a given mode.
2268    
2269          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
2270            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
2271    
2272  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2273    
2274          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
2275            texts and text areas.            texts and text areas.
# Line 221  Line 2277 
2277          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
2278            to UTF-8 in generated form.            to UTF-8 in generated form.
2279    
2280  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
2281    
2282          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2283            tests for dates.            tests for dates.
2284    
2285  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
2286    
2287          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
2288            range test.            range test.
# Line 240  Line 2296 
2296          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
2297            check.            check.
2298    
2299  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
2300    
2301          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
2302            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 253  Line 2309 
2309            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
2310            session now. This will ease testing the constraint            session now. This will ease testing the constraint
2311            tests which need to be written soon.            tests which need to be written soon.
2312                              
2313            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
2314            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
2315            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 271  Line 2327 
2327            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
2328            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
2329            selects their respective menu item.            selects their respective menu item.
2330                              
2331          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
2332            installed filters.            installed filters.
2333    
# Line 332  Line 2388 
2388    
2389          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
2390            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
2391                  menu and put a separator between them.            menu and put a separator between them.
2392    
2393  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
2394    
# Line 341  Line 2397 
2397    
2398          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
2399            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
2400                  global configuration is passed at setup time.            global configuration is passed at setup time.
2401    
2402          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
2403            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
2404                  from the global configuration each time a rendering            from the global configuration each time a rendering
2405                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
2406                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
2407                  is not needed any more because it can be configured            is not needed any more because it can be configured
2408                  at runtime.            at runtime.
2409    
2410          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
2411            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
2412                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
2413                  global config.            global config.
2414    
2415          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
2416            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 366  Line 2422 
2422    
2423          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2424            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
2425                  print out in web plugin.            print out in web plugin.
2426    
2427  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
2428    
# Line 384  Line 2440 
2440    
2441          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2442            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
2443                  to FORMED environment variable.            to FORMED environment variable.
2444                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
2445                  Defaults to 'default'.            Defaults to 'default'.
2446    
2447          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
2448    
# Line 400  Line 2456 
2456          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
2457            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
2458            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
2459                  to model external item lists.            to model external item lists.
2460    
2461          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
2462            list.            list.
# Line 417  Line 2473 
2473    
2474          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * contrib/extract-xfa-items.sh: New. Can be used to extract longer
2475            choice item lists for a given field from XFA files. e.g. with            choice item lists for a given field from XFA files. e.g. with
2476                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
2477    
2478  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
2479    
2480          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2481            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
2482                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
2483                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
2484                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
2485                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
2486                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
2487    
2488                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
2489                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
2490                              
2491          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
2492            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
2493    
# Line 449  Line 2505 
2505    
2506          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
2507            of the tree.            of the tree.
2508                              
2509          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
2510    
2511          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 472  Line 2528 
2528    
2529          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
2530            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
2531                  in document tree.            in document tree.
2532    
2533          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
2534            after names collisions are eliminated.            after names collisions are eliminated.
# Line 484  Line 2540 
2540    
2541          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2542            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
2543                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
2544                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
2545                  purpose.            purpose.
2546    
2547          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
2548            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
2549                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
2550    
2551          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
2552            from bool items.            from bool items.
# Line 509  Line 2565 
2565    
2566          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
2567            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
2568                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
2569    
2570  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
2571    
# Line 546  Line 2602 
2602    
2603          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
2604            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
2605                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
2606    
2607          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
2608            the reference to the config.            the reference to the config.
# Line 626  Line 2682 
2682    
2683          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2684            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
2685                  attributes.            attributes.
2686    
2687          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
2688            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 655  Line 2711 
2711    
2712          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
2713            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
2714                  tree.            tree.
2715    
2716  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
2717    
# Line 684  Line 2740 
2740    
2741          * tools/formed/formed/main.py: Added event route document ->          * tools/formed/formed/main.py: Added event route document ->
2742            attribute table to get informed when selected item is delete            attribute table to get informed when selected item is delete
2743                  or an attribute is changed from the outside.            or an attribute is changed from the outside.
2744    
2745          * tools/formed/formed/ui/controls.py: Fixed. In older versions of          * tools/formed/formed/ui/controls.py: Fixed. In older versions of
2746            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead            wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
2747                  of 3 argument. Uses icons+tooltips for tree navigation now.            of 3 argument. Uses icons+tooltips for tree navigation now.
2748    
2749  2007-08-07      Sascha L. Teichmann <[email protected]>  2007-08-07      Sascha L. Teichmann <[email protected]>
2750    
# Line 736  Line 2792 
2792    
2793          * tools/formed/formed/ui/controls.py: Establish sort order          * tools/formed/formed/ui/controls.py: Establish sort order
2794            by indices of children in parent instead of alphanum.            by indices of children in parent instead of alphanum.
2795                  Code to move items up and down the document tree.            Code to move items up and down the document tree.
2796    
2797          * tools/formed/formed/io/document.py: Added missing imports.          * tools/formed/formed/io/document.py: Added missing imports.
2798    
# Line 749  Line 2805 
2805    
2806          * tools/formed/formed/main.py,          * tools/formed/formed/main.py,
2807            tools/formed/formed/ui/controls.py: Added control to            tools/formed/formed/ui/controls.py: Added control to
2808                  move items around in tree. Has no effect by now.            move items around in tree. Has no effect by now.
2809    
2810  2007-08-05      Sascha L. Teichmann <[email protected]>  2007-08-05      Sascha L. Teichmann <[email protected]>
2811    
# Line 765  Line 2821 
2821    
2822          * tools/formed/*: initial check-in of the Formular Editor.          * tools/formed/*: initial check-in of the Formular Editor.
2823            Not working yet. Only can load, view and store formular XML files.            Not working yet. Only can load, view and store formular XML files.
2824                  Start it with 'tools/formed/formed.sh'.            Start it with 'tools/formed/formed.sh'.

Legend:
Removed from v.89  
changed lines
  Added in v.354

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26