/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.161  
changed lines
  Added in v.443

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26