/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.166  
changed lines
  Added in v.379

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26