/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 175 by teichmann, Tue Sep 11 17:21:55 2007 UTC revision 418 by roland, Mon Nov 8 09:07:41 2010 UTC
# Line 1  Line 1 
1  2007-09-11 Sascha L. Teichmann <[email protected]>  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          * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
1584            with pickle/unpickle.            with pickle/unpickle.
1585    
1586          * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.          * 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            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            that file. When exiting the program this file is used to store the
1589                  current MemoryDataStore state. The storing only works if you exit            current MemoryDataStore state. The storing only works if you exit
1590                  the program through the Menu File->Exit.            the program through the Menu File->Exit.
1591                  usage: FORMED=persistent:test.db ./formed.sh            usage: FORMED=persistent:test.db ./formed.sh
1592    
1593  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
1594    
1595          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the          * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
1596            application on the welcome page from "Formed" to "WASKA"            application on the welcome page from "Formed" to "WASKA"
1597    
1598  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
1599    
1600          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
1601          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
1602          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.          * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
1603            The infopage provides information on all project participants.            The infopage provides information on all project participants.
1604    
1605  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
1606    
1607          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion          * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
1608            issues with error messages (once again).            issues with error messages (once again).
1609    
1610  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
1611    
1612          * tools/formed/formed/plugins/web/form_renderer.py,          * tools/formed/formed/plugins/web/form_renderer.py,
1613          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for          * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
1614            icons in error and confirmation dialogs.            icons in error and confirmation dialogs.
1615    
1616  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
1617    
1618          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label          * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
1619            generation for ints, texts and textareas. Fixed h depths of infos.            generation for ints, texts and textareas. Fixed h depths of infos.
1620    
1621  2007-09-11 Sascha L. Teichmann <[email protected]>  2007-09-11      Sascha L. Teichmann <[email protected]>
1622    
1623          * tools/formed/formed/plugins/web/form_renderer.py: Removed          * tools/formed/formed/plugins/web/form_renderer.py: Removed
1624            debug output for help.            debug output for help.
# Line 49  Line 1629 
1629          * tools/formed/formed/plugins/web/controllers.py:  Added correct          * tools/formed/formed/plugins/web/controllers.py:  Added correct
1630            HTML output of data for bools.            HTML output of data for bools.
1631    
1632  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
1633    
1634          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of          * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
1635            textfields for int values. Changed Label for submitbuttons to            textfields for int values. Changed Label for submitbuttons to
# Line 66  Line 1646 
1646            dynamically depending on num errors. Formular navigation has now            dynamically depending on num errors. Formular navigation has now
1647            colored indication for errors.            colored indication for errors.
1648    
1649  2007-09-11 Torsten Irlaender <[email protected]>  2007-09-11      Torsten Irlaender <[email protected]>
1650    
1651          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"          * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
1652            algorithm for the formular navigation to get rid of the problem            algorithm for the formular navigation to get rid of the problem
# Line 74  Line 1654 
1654            structural group elements are linked with the next page found in the            structural group elements are linked with the next page found in the
1655            formular structure.            formular structure.
1656    
1657  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
1658          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of          * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
1659            div and formtag.            div and formtag.
1660    
# Line 86  Line 1666 
1666            overview and the digest table of the datasets. Added icon for            overview and the digest table of the datasets. Added icon for
1667            confirmation dialog, moved the icon in the <h1> tags.              confirmation dialog, moved the icon in the <h1> tags.  
1668    
1669  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
1670    
1671          * tools/formed/formed/plugins/web/form_renderer.py: Some html          * tools/formed/formed/plugins/web/form_renderer.py: Some html
1672            generation cleanup. Added error icons to formelements            generation cleanup. Added error icons to formelements
# Line 100  Line 1680 
1680            Links in confimation dialogs are now rendered as buttons. Removed            Links in confimation dialogs are now rendered as buttons. Removed
1681            old obsolete OverviewRenderer.            old obsolete OverviewRenderer.
1682    
1683  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1684    
1685          * tools/formed/formed/plugins/web/renderer.py: Highlight selected          * tools/formed/formed/plugins/web/renderer.py: Highlight selected
1686            page in page navigation.            page in page navigation.
1687    
1688  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
1689    
1690          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
1691            displaying formdata when changing datasets. Loading the right            displaying formdata when changing datasets. Loading the right
# Line 116  Line 1696 
1696          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
1697            now uses the correct data out of the formdata.            now uses the correct data out of the formdata.
1698    
1699  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1700    
1701          * tools/formed/formed/plugins/web/controllers.py: Pretty          * tools/formed/formed/plugins/web/controllers.py: Pretty
1702            print format data (dates e.g)            print format data (dates e.g)
1703    
1704  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1705    
1706          * tools/formed/formed/plugins/web/controllers.py: Modified          * tools/formed/formed/plugins/web/controllers.py: Modified
1707            ErrorStats a bit to avoid mysterious extra error on page.            ErrorStats a bit to avoid mysterious extra error on page.
1708                  No clue why this works.            No clue why this works.
1709    
1710  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1711    
1712          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
1713            problem with radio groups, too.            problem with radio groups, too.
1714    
1715  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
1716          * tools/formed/formed/plugins/web/controllers.py: Sessions are now          * tools/formed/formed/plugins/web/controllers.py: Sessions are now
1717            really removed when deleting a dataset.            really removed when deleting a dataset.
1718                    
1719  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
1720    
1721          * tools/formed/formed/plugins/web/controllers.py: Added new Class          * tools/formed/formed/plugins/web/controllers.py: Added new Class
1722            ErrorStats which provides Information on remaining errors per page.            ErrorStats which provides Information on remaining errors per page.
# Line 147  Line 1727 
1727          * tools/formed/formed/plugins/web/plugin.py: Removed render_session          * tools/formed/formed/plugins/web/plugin.py: Removed render_session
1728            handlers            handlers
1729    
1730  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1731    
1732          * tools/formed/formed/plugins/web/form_renderer.py: values for          * tools/formed/formed/plugins/web/form_renderer.py: values for
1733            choices are generated from the document tree now. This brings            choices are generated from the document tree now. This brings
1734                  the state storage of select boxes in HTML to live.            the state storage of select boxes in HTML to live.
1735    
1736  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1737    
1738          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
1739            range checking of integers.            range checking of integers.
# Line 161  Line 1741 
1741          * tools/formed/formed/plugins/web/controllers.py: Added class          * tools/formed/formed/plugins/web/controllers.py: Added class
1742            ErrorItem to track errors. They are stored in the session.            ErrorItem to track errors. They are stored in the session.
1743    
1744  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1745    
1746          * tools/formed/formed/model/nodecomponents.py: Fixed returning          * tools/formed/formed/model/nodecomponents.py: Fixed returning
1747            wrong index in Document.indexOfcomponentByClassAndName.            wrong index in Document.indexOfcomponentByClassAndName.
# Line 171  Line 1751 
1751    
1752          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1753    
1754  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1755    
1756          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
1757            method. Could be cheaper for some implementations of help.            method. Could be cheaper for some implementations of help.
1758    
1759          * tools/formed/formed/plugins/web/form_renderer.py: Modified          * tools/formed/formed/plugins/web/form_renderer.py: Modified
1760            FormData to have distinct getData(), getHelp() and getError()            FormData to have distinct getData(), getHelp() and getError()
1761                  methods. Various bug fixes.            methods. Various bug fixes.
1762    
1763          * tools/formed/formed/plugins/web/controllers.py: Implements the          * tools/formed/formed/plugins/web/controllers.py: Implements the
1764            new FormData (trivial by now).            new FormData (trivial by now).
# Line 186  Line 1766 
1766          * tools/formed/formed/plugins/web/renderer.py: New FormData and          * tools/formed/formed/plugins/web/renderer.py: New FormData and
1767            some bug fixes.            some bug fixes.
1768    
1769  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1770    
1771          * tools/formed/formed/model/memory.py,          * tools/formed/formed/model/memory.py,
1772            tools/formed/formed/model/persistent.py: Add a getValue() method            tools/formed/formed/model/persistent.py: Add a getValue() method
1773                  to dataset abstraction. This is a bit of a workaround to bring            to dataset abstraction. This is a bit of a workaround to bring
1774                  global access across pages for rule checking to work.            global access across pages for rule checking to work.
1775    
1776          * tools/formed/formed/model/data.py: Fixed: When setting a new expression          * tools/formed/formed/model/data.py: Fixed: When setting a new expression
1777            the compiled version was not stored in the RuleLeaf.            the compiled version was not stored in the RuleLeaf.
# Line 201  Line 1781 
1781    
1782          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
1783            valid data is stored to the dataset immediately now. Fixed a bug            valid data is stored to the dataset immediately now. Fixed a bug
1784                  with integer handler.            with integer handler.
1785    
1786          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'          * 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            stuff. When a submit is done extract the rules from the tree document
1788                  that are effected by the modified variables and check them.            that are effected by the modified variables and check them.
1789    
1790          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
1791            when dealing with templates.            when dealing with templates.
1792    
1793  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
1794          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
1795            tools/formed/formed/plugins/web/renderer.py: Moved more render            tools/formed/formed/plugins/web/renderer.py: Moved more render
1796            functions into renderer.py. New render classes are:            functions into renderer.py. New render classes are:
# Line 220  Line 1800 
1800            Note: The new methods are only called from selected handlers. Other            Note: The new methods are only called from selected handlers. Other
1801            handlers call the renderes in the old way.            handlers call the renderes in the old way.
1802    
1803  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
1804          * tools/formed/formed/plugins/web/form_renderer.py: Renamed          * tools/formed/formed/plugins/web/form_renderer.py: Renamed
1805            renderer.py to form_renderer.py. This file will contain formular            renderer.py to form_renderer.py. This file will contain formular
1806            specfic render methods in the future.            specfic render methods in the future.
# Line 230  Line 1810 
1810            rendering into renderer.py or form_renderer.py. This file will only            rendering into renderer.py or form_renderer.py. This file will only
1811            contain teh handlers in the future.            contain teh handlers in the future.
1812    
1813  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
1814          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
1815            tools/formed/formed/plugins/web/controller.py:            tools/formed/formed/plugins/web/controller.py:
1816            Renderes now get an instance of the formdata object to provide            Renderes now get an instance of the formdata object to provide
1817            access the data needed to render various infoboxes etc. Handler            access the data needed to render various infoboxes etc. Handler
1818            instanciate the formdata.            instanciate the formdata.
1819                    
1820  2007-09-06 Torsten Irlaender <[email protected]>  2007-09-06      Torsten Irlaender <[email protected]>
1821          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
1822            getFormData interface to work. Added two small semantic fixes, but            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            did not manage to get it up. Need to exime this a little bit more
# Line 245  Line 1825 
1825            around the menus on the right side to be able to assign different            around the menus on the right side to be able to assign different
1826            styles. Added dataset actions while editing a dataset.            styles. Added dataset actions while editing a dataset.
1827                    
1828  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1829          * tools/formed/formed/model/memory.py: Fixed deleting datasets by          * tools/formed/formed/model/memory.py: Fixed deleting datasets by
1830            removing unwanted del method            removing unwanted del method
1831          * tools/formed/formed/plugins/web/controllers.py: Implemented          * tools/formed/formed/plugins/web/controllers.py: Implemented
1832            confiration dialogs for create, delete, and select aof datasets. Started to use            confiration dialogs for create, delete, and select aof datasets. Started to use
1833            templates as well for larger information units like the dataset summary.            templates as well for larger information units like the dataset summary.
1834                    
1835  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1836    
1837          * tools/formed/formed/model/nodecomponents.py: Added a          * tools/formed/formed/model/nodecomponents.py: Added a
1838            method to document to find index of page.            method to document to find index of page.
# Line 263  Line 1843 
1843          * tools/formed/formed/plugins/web/controllers.py: Added new          * tools/formed/formed/plugins/web/controllers.py: Added new
1844            FormData implementation to support DB and semantic box.            FormData implementation to support DB and semantic box.
1845    
1846  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1847    
1848          * tools/formed/formed/plugins/web/renderer.py: escaped          * tools/formed/formed/plugins/web/renderer.py: escaped
1849            error message.            error message.
# Line 271  Line 1851 
1851          * tools/formed/formed/plugins/web/controllers.py: Don't fetch          * tools/formed/formed/plugins/web/controllers.py: Don't fetch
1852            dataset from backend each time a page is up to edit.            dataset from backend each time a page is up to edit.
1853    
1854  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1855    
1856          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
1857            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 279  Line 1859 
1859          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
1860            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
1861    
1862  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1863    
1864          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1865    
1866  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1867    
1868          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
1869            and renderers.            and renderers.
# Line 291  Line 1871 
1871          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
1872            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
1873    
1874  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1875    
1876          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * 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            and bound in the the new added functions to create, edit, delete and
1878            show formdata.            show formdata.
1879                    
1880  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1881    
1882          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
1883            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 305  Line 1885 
1885          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
1886            of different sizes.            of different sizes.
1887    
1888  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1889    
1890          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
1891            fuction            fuction
1892                              
1893          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
1894            to the DataSet interface            to the DataSet interface
1895    
1896          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
1897            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
1898    
1899  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1900    
1901          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
1902            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
1903                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
1904                  error codes.            error codes.
1905    
1906          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
1907            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
1908                  a top level '''...''' variable.            a top level '''...''' variable.
1909    
1910          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
1911    
# Line 333  Line 1913 
1913    
1914          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
1915            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
1916                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
1917                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
1918    
1919          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
1920            and do not catch them.            and do not catch them.
1921    
1922  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
1923    
1924          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
1925          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 348  Line 1928 
1928            within a <div> tag.            within a <div> tag.
1929            Modified the error messages.            Modified the error messages.
1930    
1931  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1932    
1933          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
1934            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
1935                  serving static content.            serving static content.
1936    
1937          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
1938    
1939  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1940    
1941          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
1942            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
1943    
1944  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1945    
1946          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
1947            pairwise differences between all modes.            pairwise differences between all modes.
1948    
1949          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
1950    
1951  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1952    
1953          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
1954            XHTML document for id'ed divs and builds a help lookup.            XHTML document for id'ed divs and builds a help lookup.
# Line 382  Line 1962 
1962          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
1963            texts now.            texts now.
1964    
1965  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
1966    
1967          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
1968            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
1969            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
1970            attributes.            attributes.
1971    
1972  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
1973    
1974          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
1975            errors in template            errors in template
1976          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
1977            pageerrors variable            pageerrors variable
1978    
1979  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
1980    
1981          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
1982          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
1983          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
1984                    
1985    
1986  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1987    
1988          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
1989            from model.misc now.            from model.misc now.
1990    
1991  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1992    
1993          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1994            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
1995                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
1996                  and fields.            and fields.
1997    
1998  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
1999    
2000          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
2001          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 423  Line 2003 
2003          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
2004          as simple list instead of collection of bools.          as simple list instead of collection of bools.
2005    
2006  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2007    
2008          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
2009            from persistent storage details.            from persistent storage details.
# Line 433  Line 2013 
2013    
2014          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
2015    
2016  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2017    
2018          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
2019            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
2020                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
2021    
2022  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2023    
2024          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
2025            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
2026                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
2027                  To make it work simply subclass from ModeChecker and add the decorator            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            to the methods that need mode tracking. Before you start the recursion
2029                  call self.prepareDescent().            call self.prepareDescent().
2030    
2031          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * 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            now which replace the old. TODO: Make the web renderer use the new scheme
2033                  too.            too.
2034    
2035  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2036    
2037          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
2038    
2039          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
2040            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
2041    
2042  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2043    
2044          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
2045            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
2046                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
2047                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
2048                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
2049    
2050          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
2051            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
2052                  exporter too.            exporter too.
2053    
2054  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
2055    
2056          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
2057            work (again).            work (again).
2058    
2059  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
2060    
2061          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
2062            exprt works now in a recursive way. This change was needed because            exprt works now in a recursive way. This change was needed because
# Line 484  Line 2064 
2064            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
2065            TODO: Fix modechecking            TODO: Fix modechecking
2066    
2067  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
2068    
2069          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
2070            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
2071            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
2072            document stuctures. (nested lists)            document stuctures. (nested lists)
2073    
2074  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
2075    
2076          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
2077            instead of remove on sets.            instead of remove on sets.
# Line 502  Line 2082 
2082          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
2083            to the list of export filters.            to the list of export filters.
2084    
2085  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
2086    
2087          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
2088            Page.allWidgets()            Page.allWidgets()
# Line 512  Line 2092 
2092    
2093          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
2094    
2095  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
2096    
2097          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2098            tools/formed/formed/plugins/web/error_renderer.py: Added interface            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            to get the errors for a whole page in te formular. These errors can
2100            now be displayed on the top of the formular.            now be displayed on the top of the formular.
2101    
2102  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
2103    
2104          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
2105            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
2106            nice error messages            nice error messages
2107    
2108  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
2109    
2110          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
2111          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
2112          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
2113    
2114  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
2115    
2116          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
2117            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
2118    
2119  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2120    
2121          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
2122            for repeat tables.            for repeat tables.
2123                        
2124  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2125    
2126          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
2127            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
2128                  this case reference the existing table.            this case reference the existing table.
2129    
2130  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2131    
2132          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
2133            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 557  Line 2137 
2137          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
2138            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
2139    
2140  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2141    
2142          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
2143            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
2144    
2145  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
2146    
2147          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
2148          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 570  Line 2150 
2150            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
2151            Added error indication to textfields            Added error indication to textfields
2152    
2153  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2154    
2155          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2156            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
2157                  of logical groups.            of logical groups.
2158    
2159  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2160    
2161          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
2162            attributes.            attributes.
2163    
2164          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
2165    
2166  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2167    
2168          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
2169            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
2170    
2171  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
2172    
2173          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
2174            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
2175            depending tags in the html generation.            depending tags in the html generation.
2176    
2177  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2178    
2179          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2180            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
2181                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
2182                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
2183    
2184  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2185    
2186          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
2187            serving of static content.            serving of static content.
# Line 609  Line 2189 
2189          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
2190            old send code.            old send code.
2191    
2192  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2193    
2194          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
2195            Response object. Fix typo.            Response object. Fix typo.
# Line 617  Line 2197 
2197          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
2198            response object to serve different MIME types.            response object to serve different MIME types.
2199    
2200  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2201    
2202          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
2203            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
2204                  root of the static content.            root of the static content.
2205    
2206  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2207    
2208          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2209            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
2210    
2211          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
2212            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
2213                  a template for the HTML output.            a template for the HTML output.
2214    
2215          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
2216            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
2217                  handling.            handling.
2218    
2219          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
2220            nagivation code.            nagivation code.
2221    
2222          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
2223    
2224  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2225    
2226          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
2227            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 655  Line 2235 
2235          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
2236            the HTTP server code now.            the HTTP server code now.
2237    
2238  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2239    
2240          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
2241    
2242          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
2243            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
2244                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
2245                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
2246    
2247          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
2248    
# Line 670  Line 2250 
2250    
2251          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
2252            to find all items of a given type in document for a given            to find all items of a given type in document for a given
2253                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
2254    
2255          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
2256            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
2257                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
2258                  expr of rule leafs.            expr of rule leafs.
2259    
2260          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
2261            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
2262                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
2263                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
2264                  to know if they are still valid.            to know if they are still valid.
2265    
2266  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2267    
2268          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
2269            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 691  Line 2271 
2271          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
2272            generation              generation  
2273    
2274  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2275    
2276          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
2277            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 699  Line 2279 
2279          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
2280            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
2281    
2282  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2283    
2284          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
2285            of external choice list.            of external choice list.
2286    
2287  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2288    
2289          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
2290            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
2291    
2292  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2293    
2294          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
2295            mode depended leaf items.            mode depended leaf items.
# Line 719  Line 2299 
2299    
2300          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
2301            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
2302                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
2303                  not done.            not done.
2304    
2305  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2306    
2307          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
2308            of radio groups and choices too.            of radio groups and choices too.
2309    
2310  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2311    
2312          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
2313            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
2314            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
2315    
2316  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2317    
2318          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
2319            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
2320                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
2321    
2322  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2323    
2324          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
2325            HTML and SQL exporters.            HTML and SQL exporters.
# Line 748  Line 2328 
2328            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
2329            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
2330            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
2331                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
2332    
2333          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
2334            package now.            package now.
2335    
2336  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2337    
2338          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
2339            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 762  Line 2342 
2342    
2343          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
2344    
2345  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2346    
2347          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
2348            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 772  Line 2352 
2352    
2353          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
2354    
2355  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2356    
2357          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * 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            to extract fields and options in the XFA Data in teh PDF. This
2359            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
2360            formular versions.            formular versions.
2361                    
2362  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2363    
2364          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
2365            select all modes. ;-)            select all modes. ;-)
2366    
2367  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2368    
2369          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
2370            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 794  Line 2374 
2374            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
2375            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
2376    
2377  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2378    
2379          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
2380            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 805  Line 2385 
2385          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
2386            env configuration.            env configuration.
2387    
2388  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2389    
2390          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
2391            table are now alphabetically sorted.            table are now alphabetically sorted.
2392    
2393  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2394    
2395          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
2396            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 826  Line 2406 
2406    
2407          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
2408    
2409  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2410    
2411          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
2412            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
2413    
2414  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2415    
2416          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
2417    
2418  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2419    
2420          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
2421            for the hidden field. Argh!            for the hidden field. Argh!
2422    
2423  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2424    
2425          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
2426            generation of hidden page field.            generation of hidden page field.
2427    
2428  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2429    
2430          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2431            checks for radio groups.            checks for radio groups.
2432    
2433  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2434    
2435          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2436            checks for choices.            checks for choices.
# Line 865  Line 2445 
2445          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
2446          Replace technical types with readable descriptions          Replace technical types with readable descriptions
2447    
2448  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2449    
2450          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
2451            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
2452                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
2453                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
2454                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
2455                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
2456    
2457          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
2458            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 880  Line 2460 
2460          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
2461            hidden field to store the name of the page.            hidden field to store the name of the page.
2462    
2463  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2464    
2465          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
2466            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
2467    
2468  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2469    
2470          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
2471            in switches.            in switches.
2472    
2473          * tools/formed/formed/model/data.py: Added a method to find all          * 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            widgets in a given page. Fixed a bug when walking in switch
2475                  with a given mode.            with a given mode.
2476    
2477          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
2478            listing all widgets in page.            listing all widgets in page.
2479    
2480  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
2481    
2482          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
2483            latin-1            latin-1
2484    
2485  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2486    
2487          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
2488            walk.            walk.
2489                              
2490          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
2491            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
2492                  give children in a given mode.            give children in a given mode.
2493    
2494          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
2495            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
2496    
2497  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2498    
2499          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
2500            texts and text areas.            texts and text areas.
# Line 922  Line 2502 
2502          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
2503            to UTF-8 in generated form.            to UTF-8 in generated form.
2504    
2505  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
2506    
2507          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2508            tests for dates.            tests for dates.
2509    
2510  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
2511    
2512          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
2513            range test.            range test.
# Line 941  Line 2521 
2521          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
2522            check.            check.
2523    
2524  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
2525    
2526          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
2527            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 954  Line 2534 
2534            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
2535            session now. This will ease testing the constraint            session now. This will ease testing the constraint
2536            tests which need to be written soon.            tests which need to be written soon.
2537                              
2538            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
2539            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
2540            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 972  Line 2552 
2552            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
2553            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
2554            selects their respective menu item.            selects their respective menu item.
2555                              
2556          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
2557            installed filters.            installed filters.
2558    
# Line 1033  Line 2613 
2613    
2614          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
2615            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
2616                  menu and put a separator between them.            menu and put a separator between them.
2617    
2618  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
2619    
# Line 1042  Line 2622 
2622    
2623          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
2624            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
2625                  global configuration is passed at setup time.            global configuration is passed at setup time.
2626    
2627          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
2628            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
2629                  from the global configuration each time a rendering            from the global configuration each time a rendering
2630                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
2631                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
2632                  is not needed any more because it can be configured            is not needed any more because it can be configured
2633                  at runtime.            at runtime.
2634    
2635          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
2636            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
2637                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
2638                  global config.            global config.
2639    
2640          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
2641            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 1067  Line 2647 
2647    
2648          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2649            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
2650                  print out in web plugin.            print out in web plugin.
2651    
2652  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
2653    
# Line 1085  Line 2665 
2665    
2666          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2667            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
2668                  to FORMED environment variable.            to FORMED environment variable.
2669                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
2670                  Defaults to 'default'.            Defaults to 'default'.
2671    
2672          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
2673    
# Line 1101  Line 2681 
2681          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
2682            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
2683            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
2684                  to model external item lists.            to model external item lists.
2685    
2686          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
2687            list.            list.
# Line 1118  Line 2698 
2698    
2699          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * 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            choice item lists for a given field from XFA files. e.g. with
2701                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
2702    
2703  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
2704    
2705          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2706            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
2707                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
2708                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
2709                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
2710                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
2711                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
2712    
2713                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
2714                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
2715                              
2716          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
2717            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
2718    
# Line 1150  Line 2730 
2730    
2731          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts          * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
2732            of the tree.            of the tree.
2733                              
2734          * tools/formed/formed/ui/controls.py: Added a getSelected method.          * tools/formed/formed/ui/controls.py: Added a getSelected method.
2735    
2736          * tools/formed/formed/model/misc.py: Fixed a programming bug.          * tools/formed/formed/model/misc.py: Fixed a programming bug.
# Line 1173  Line 2753 
2753    
2754          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all          * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
2755            items in the document tree. Added a method to eliminated duplicated names            items in the document tree. Added a method to eliminated duplicated names
2756                  in document tree.            in document tree.
2757    
2758          * tools/formed/formed/model/misc.py: Added update mechanism for id generator          * tools/formed/formed/model/misc.py: Added update mechanism for id generator
2759            after names collisions are eliminated.            after names collisions are eliminated.
# Line 1185  Line 2765 
2765    
2766          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2767            tools/formed/formed/plugins/web/renderer.py: Removed support            tools/formed/formed/plugins/web/renderer.py: Removed support
2768                  for 'text' attributes in bool items. They were never really            for 'text' attributes in bool items. They were never really
2769                  used and the 'description' attributes fulfill the same            used and the 'description' attributes fulfill the same
2770                  purpose.            purpose.
2771    
2772          * contrib/remove-bool-text.xsl: Transform to remove the          * contrib/remove-bool-text.xsl: Transform to remove the
2773            'text' attributes from bool items. Apply with:            'text' attributes from bool items. Apply with:
2774                  'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'            'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
2775    
2776          * tools/formed/test-data/simple.xml: Removed 'text' attributes          * tools/formed/test-data/simple.xml: Removed 'text' attributes
2777            from bool items.            from bool items.
# Line 1210  Line 2790 
2790    
2791          * contrib/convert-choices.xsl: Added to convert document files          * contrib/convert-choices.xsl: Added to convert document files
2792            which use the choice 'option' attribute to usage of 'value'.            which use the choice 'option' attribute to usage of 'value'.
2793                  Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'            Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
2794    
2795  2007-08-10      Sascha L. Teichmann <[email protected]>  2007-08-10      Sascha L. Teichmann <[email protected]>
2796    
# Line 1247  Line 2827 
2827    
2828          * tools/formed/formed/plugins/web/plugin.py: To determine          * tools/formed/formed/plugins/web/plugin.py: To determine
2829            the port look at FORMED dictionary first. Key is 'web.port'.            the port look at FORMED dictionary first. Key is 'web.port'.
2830                  e.g. FORMED='web.port:8888'            e.g. FORMED='web.port:8888'
2831    
2832          * tools/formed/formed/main.py: Call the plugin setup with          * tools/formed/formed/main.py: Call the plugin setup with
2833            the reference to the config.            the reference to the config.
# Line 1327  Line 2907 
2907    
2908          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2909            tools/formed/formed/model/nodecomponents.py: Added new            tools/formed/formed/model/nodecomponents.py: Added new
2910                  attributes.            attributes.
2911    
2912          * tools/formed/formed/plugins/web/plugin.py: Added rendering          * tools/formed/formed/plugins/web/plugin.py: Added rendering
2913            for checkboxes and radio buttons.            for checkboxes and radio buttons.
# Line 1356  Line 2936 
2936    
2937          * tools/formed/formed/plugins/web/plugin.py: Added a first          * tools/formed/formed/plugins/web/plugin.py: Added a first
2938            version of a recursive HTML renderer based on the document            version of a recursive HTML renderer based on the document
2939                  tree.            tree.
2940    
2941  2007-08-08      Sascha L. Teichmann <[email protected]>  2007-08-08      Sascha L. Teichmann <[email protected]>
2942    
# Line 1385  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 1437  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 1450  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 1466  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.175  
changed lines
  Added in v.418

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26