/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.104  
changed lines
  Added in v.344

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26