/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.12  
changed lines
  Added in v.369

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26