/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.45  
changed lines
  Added in v.397

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26