/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.178  
changed lines
  Added in v.365

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26