/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.36  
changed lines
  Added in v.407

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26