/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26