/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.180  
changed lines
  Added in v.424

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26