/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.154  
changed lines
  Added in v.427

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26