/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.174  
changed lines
  Added in v.413

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26