/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.90  
changed lines
  Added in v.378

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26