/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.20  
changed lines
  Added in v.374

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26