/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.11  
changed lines
  Added in v.356

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26