/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

revision 162 by torsten, Mon Sep 10 13:31:13 2007 UTC revision 407 by torsten, Mon Oct 4 17:16:07 2010 UTC
# Line 1  Line 1 
1  2007-09-10 Torsten Irlaender <[email protected]>  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          * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
1654            displaying formdata when changing datasets. Loading the right            displaying formdata when changing datasets. Loading the right
1655            formdata was not handled in a correct way. Hope it is all fixed now.            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            Left some commented code because not all sideeffects of the changes
1657            are tested yet.            are tested yet.
1658    
1659          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer          * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
1660            now uses the correct data out of the formdata.            now uses the correct data out of the formdata.
1661    
1662    2007-09-10      Sascha L. Teichmann <[email protected]>
 2007-09-10 Sascha L. Teichmann <[email protected]>  
1663    
1664          * tools/formed/formed/plugins/web/controllers.py: Pretty          * tools/formed/formed/plugins/web/controllers.py: Pretty
1665            print format data (dates e.g)            print format data (dates e.g)
1666    
1667  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1668    
1669          * tools/formed/formed/plugins/web/controllers.py: Modified          * tools/formed/formed/plugins/web/controllers.py: Modified
1670            ErrorStats a bit to avoid mysterious extra error on page.            ErrorStats a bit to avoid mysterious extra error on page.
1671                  No clue why this works.            No clue why this works.
1672    
1673  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1674    
1675          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value          * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
1676            problem with radio groups, too.            problem with radio groups, too.
1677    
1678  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
1679          * tools/formed/formed/plugins/web/controllers.py: Sessions are now          * tools/formed/formed/plugins/web/controllers.py: Sessions are now
1680            really removed when deleting a dataset.            really removed when deleting a dataset.
1681                    
1682  2007-09-10 Torsten Irlaender <[email protected]>  2007-09-10      Torsten Irlaender <[email protected]>
1683    
1684          * tools/formed/formed/plugins/web/controllers.py: Added new Class          * tools/formed/formed/plugins/web/controllers.py: Added new Class
1685            ErrorStats which provides Information on remaining errors per page.            ErrorStats which provides Information on remaining errors per page.
# Line 39  Line 1690 
1690          * tools/formed/formed/plugins/web/plugin.py: Removed render_session          * tools/formed/formed/plugins/web/plugin.py: Removed render_session
1691            handlers            handlers
1692    
1693  2007-09-10 Sascha L. Teichmann <[email protected]>  2007-09-10      Sascha L. Teichmann <[email protected]>
1694    
1695          * tools/formed/formed/plugins/web/form_renderer.py: values for          * tools/formed/formed/plugins/web/form_renderer.py: values for
1696            choices are generated from the document tree now. This brings            choices are generated from the document tree now. This brings
1697                  the state storage of select boxes in HTML to live.            the state storage of select boxes in HTML to live.
1698    
1699  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1700    
1701          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with          * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
1702            range checking of integers.            range checking of integers.
# Line 53  Line 1704 
1704          * tools/formed/formed/plugins/web/controllers.py: Added class          * tools/formed/formed/plugins/web/controllers.py: Added class
1705            ErrorItem to track errors. They are stored in the session.            ErrorItem to track errors. They are stored in the session.
1706    
1707  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1708    
1709          * tools/formed/formed/model/nodecomponents.py: Fixed returning          * tools/formed/formed/model/nodecomponents.py: Fixed returning
1710            wrong index in Document.indexOfcomponentByClassAndName.            wrong index in Document.indexOfcomponentByClassAndName.
# Line 63  Line 1714 
1714    
1715          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1716    
1717  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1718    
1719          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'          * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
1720            method. Could be cheaper for some implementations of help.            method. Could be cheaper for some implementations of help.
1721    
1722          * tools/formed/formed/plugins/web/form_renderer.py: Modified          * tools/formed/formed/plugins/web/form_renderer.py: Modified
1723            FormData to have distinct getData(), getHelp() and getError()            FormData to have distinct getData(), getHelp() and getError()
1724                  methods. Various bug fixes.            methods. Various bug fixes.
1725    
1726          * tools/formed/formed/plugins/web/controllers.py: Implements the          * tools/formed/formed/plugins/web/controllers.py: Implements the
1727            new FormData (trivial by now).            new FormData (trivial by now).
# Line 78  Line 1729 
1729          * tools/formed/formed/plugins/web/renderer.py: New FormData and          * tools/formed/formed/plugins/web/renderer.py: New FormData and
1730            some bug fixes.            some bug fixes.
1731    
1732  2007-09-09 Sascha L. Teichmann <[email protected]>  2007-09-09      Sascha L. Teichmann <[email protected]>
1733    
1734          * tools/formed/formed/model/memory.py,          * tools/formed/formed/model/memory.py,
1735            tools/formed/formed/model/persistent.py: Add a getValue() method            tools/formed/formed/model/persistent.py: Add a getValue() method
1736                  to dataset abstraction. This is a bit of a workaround to bring            to dataset abstraction. This is a bit of a workaround to bring
1737                  global access across pages for rule checking to work.            global access across pages for rule checking to work.
1738    
1739          * tools/formed/formed/model/data.py: Fixed: When setting a new expression          * tools/formed/formed/model/data.py: Fixed: When setting a new expression
1740            the compiled version was not stored in the RuleLeaf.            the compiled version was not stored in the RuleLeaf.
# Line 93  Line 1744 
1744    
1745          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because          * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
1746            valid data is stored to the dataset immediately now. Fixed a bug            valid data is stored to the dataset immediately now. Fixed a bug
1747                  with integer handler.            with integer handler.
1748    
1749          * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'          * 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            stuff. When a submit is done extract the rules from the tree document
1751                  that are effected by the modified variables and check them.            that are effected by the modified variables and check them.
1752    
1753          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling          * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
1754            when dealing with templates.            when dealing with templates.
1755    
1756  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
1757          * tools/formed/formed/plugins/web/controllers.py,          * tools/formed/formed/plugins/web/controllers.py,
1758            tools/formed/formed/plugins/web/renderer.py: Moved more render            tools/formed/formed/plugins/web/renderer.py: Moved more render
1759            functions into renderer.py. New render classes are:            functions into renderer.py. New render classes are:
# Line 112  Line 1763 
1763            Note: The new methods are only called from selected handlers. Other            Note: The new methods are only called from selected handlers. Other
1764            handlers call the renderes in the old way.            handlers call the renderes in the old way.
1765    
1766  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
1767          * tools/formed/formed/plugins/web/form_renderer.py: Renamed          * tools/formed/formed/plugins/web/form_renderer.py: Renamed
1768            renderer.py to form_renderer.py. This file will contain formular            renderer.py to form_renderer.py. This file will contain formular
1769            specfic render methods in the future.            specfic render methods in the future.
# Line 122  Line 1773 
1773            rendering into renderer.py or form_renderer.py. This file will only            rendering into renderer.py or form_renderer.py. This file will only
1774            contain teh handlers in the future.            contain teh handlers in the future.
1775    
1776  2007-09-07 Torsten Irlaender <[email protected]>  2007-09-07      Torsten Irlaender <[email protected]>
1777          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
1778            tools/formed/formed/plugins/web/controller.py:            tools/formed/formed/plugins/web/controller.py:
1779            Renderes now get an instance of the formdata object to provide            Renderes now get an instance of the formdata object to provide
1780            access the data needed to render various infoboxes etc. Handler            access the data needed to render various infoboxes etc. Handler
1781            instanciate the formdata.            instanciate the formdata.
1782                    
1783  2007-09-06 Torsten Irlaender <[email protected]>  2007-09-06      Torsten Irlaender <[email protected]>
1784          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the          * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
1785            getFormData interface to work. Added two small semantic fixes, but            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            did not manage to get it up. Need to exime this a little bit more
# Line 137  Line 1788 
1788            around the menus on the right side to be able to assign different            around the menus on the right side to be able to assign different
1789            styles. Added dataset actions while editing a dataset.            styles. Added dataset actions while editing a dataset.
1790                    
1791  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1792          * tools/formed/formed/model/memory.py: Fixed deleting datasets by          * tools/formed/formed/model/memory.py: Fixed deleting datasets by
1793            removing unwanted del method            removing unwanted del method
1794          * tools/formed/formed/plugins/web/controllers.py: Implemented          * tools/formed/formed/plugins/web/controllers.py: Implemented
1795            confiration dialogs for create, delete, and select aof datasets. Started to use            confiration dialogs for create, delete, and select aof datasets. Started to use
1796            templates as well for larger information units like the dataset summary.            templates as well for larger information units like the dataset summary.
1797                    
1798  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1799    
1800          * tools/formed/formed/model/nodecomponents.py: Added a          * tools/formed/formed/model/nodecomponents.py: Added a
1801            method to document to find index of page.            method to document to find index of page.
# Line 155  Line 1806 
1806          * tools/formed/formed/plugins/web/controllers.py: Added new          * tools/formed/formed/plugins/web/controllers.py: Added new
1807            FormData implementation to support DB and semantic box.            FormData implementation to support DB and semantic box.
1808    
1809  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1810    
1811          * tools/formed/formed/plugins/web/renderer.py: escaped          * tools/formed/formed/plugins/web/renderer.py: escaped
1812            error message.            error message.
# Line 163  Line 1814 
1814          * tools/formed/formed/plugins/web/controllers.py: Don't fetch          * tools/formed/formed/plugins/web/controllers.py: Don't fetch
1815            dataset from backend each time a page is up to edit.            dataset from backend each time a page is up to edit.
1816    
1817  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1818    
1819          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer          * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
1820            returns "Page not found" if given page is None.            returns "Page not found" if given page is None.
# Line 171  Line 1822 
1822          * tools/formed/formed/plugins/web/controllers.py: Added checks          * tools/formed/formed/plugins/web/controllers.py: Added checks
1823            to avoid crashing when ask for a non-existent page.            to avoid crashing when ask for a non-existent page.
1824    
1825  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1826    
1827          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.          * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
1828    
1829  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1830    
1831          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers          * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
1832            and renderers.            and renderers.
# Line 183  Line 1834 
1834          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers          * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
1835            and renderers now. TODO: Move renderers to renderer.py            and renderers now. TODO: Move renderers to renderer.py
1836    
1837  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1838    
1839          * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template          * 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            and bound in the the new added functions to create, edit, delete and
1841            show formdata.            show formdata.
1842                    
1843  2007-09-05 Sascha L. Teichmann <[email protected]>  2007-09-05      Sascha L. Teichmann <[email protected]>
1844    
1845          * tools/formed/formed/model/memory.py: Removed bisect and use a          * tools/formed/formed/model/memory.py: Removed bisect and use a
1846            simple linear scan for dataset lookup now.            simple linear scan for dataset lookup now.
# Line 197  Line 1848 
1848          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues          * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
1849            of different sizes.            of different sizes.
1850    
1851  2007-09-05 Torsten Irlaender <[email protected]>  2007-09-05      Torsten Irlaender <[email protected]>
1852    
1853          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById          * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
1854            fuction            fuction
1855                              
1856          * tools/formed/formed/plugins/web/persistent.py: Added store() method          * tools/formed/formed/plugins/web/persistent.py: Added store() method
1857            to the DataSet interface            to the DataSet interface
1858    
1859          * tools/formed/formed/plugins/web/renderer.py: Added handlers and          * tools/formed/formed/plugins/web/renderer.py: Added handlers and
1860            renderes for create, update, delete and show actions on formular data.            renderes for create, update, delete and show actions on formular data.
1861    
1862  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1863    
1864          * tools/formed/formed/plugins/web/server.py: The mapping          * tools/formed/formed/plugins/web/server.py: The mapping
1865            to methods is now driven by regualar expressions and            to methods is now driven by regualar expressions and
1866                  a dictionary. Response objects are now able to send            a dictionary. Response objects are now able to send
1867                  error codes.            error codes.
1868    
1869          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue          * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
1870            when help in Formdata is None. Moved text for help into            when help in Formdata is None. Moved text for help into
1871                  a top level '''...''' variable.            a top level '''...''' variable.
1872    
1873          * tools/formed/test-data/simple.xml: Added test for help.          * tools/formed/test-data/simple.xml: Added test for help.
1874    
# Line 225  Line 1876 
1876    
1877          * tools/formed/formed/plugins/web/plugin.py: Uses the new          * tools/formed/formed/plugins/web/plugin.py: Uses the new
1878            table driven mapping of reguest handling. TODO: split the            table driven mapping of reguest handling. TODO: split the
1879                  WebPlugIn.pageHandler() method further to smaller handlers.            WebPlugIn.pageHandler() method further to smaller handlers.
1880                  Smaller clean ups and better exception handling.            Smaller clean ups and better exception handling.
1881    
1882          * tools/formed/formed/plugins/web/cache.py: Report OSErrors          * tools/formed/formed/plugins/web/cache.py: Report OSErrors
1883            and do not catch them.            and do not catch them.
1884    
1885  2007-09-04 Torsten Irlaender <[email protected]>  2007-09-04      Torsten Irlaender <[email protected]>
1886    
1887          * tools/formed/formed/plugins/web/renderer.py,          * tools/formed/formed/plugins/web/renderer.py,
1888          * tools/formed/formed/plugins/web/plugin.py: Added Interface to          * tools/formed/formed/plugins/web/plugin.py: Added Interface to
# Line 240  Line 1891 
1891            within a <div> tag.            within a <div> tag.
1892            Modified the error messages.            Modified the error messages.
1893    
1894  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1895    
1896          * tools/formed/formed/plugins/web/cache.py: New. Implements          * tools/formed/formed/plugins/web/cache.py: New. Implements
1897            the server-side caching more clean. Fixes a bug with            the server-side caching more clean. Fixes a bug with
1898                  serving static content.            serving static content.
1899    
1900          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.          * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
1901    
1902  2007-09-04 Sascha L. Teichmann <[email protected]>  2007-09-04      Sascha L. Teichmann <[email protected]>
1903    
1904          * tools/formed/formed/plugins/web/plugin.py: Set MIME type          * tools/formed/formed/plugins/web/plugin.py: Set MIME type
1905            to "application/xhtml+xml" when serving help texts.            to "application/xhtml+xml" when serving help texts.
1906    
1907  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1908    
1909          * tools/formed/formed/plugins/export/diff.py: New. Exports          * tools/formed/formed/plugins/export/diff.py: New. Exports
1910            pairwise differences between all modes.            pairwise differences between all modes.
1911    
1912          * tools/formed/formed/config.py: Use new export filter.          * tools/formed/formed/config.py: Use new export filter.
1913    
1914  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1915    
1916          * tools/formed/formed/plugins/web/help.py: New. Parses an          * tools/formed/formed/plugins/web/help.py: New. Parses an
1917            XHTML document for id'ed divs and builds a help lookup.            XHTML document for id'ed divs and builds a help lookup.
# Line 274  Line 1925 
1925          * tools/formed/formed/plugins/web/plugin.py: Serves the help          * tools/formed/formed/plugins/web/plugin.py: Serves the help
1926            texts now.            texts now.
1927    
1928  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
1929    
1930          * tools/formed/formed/plugins/web/plugin.py: Only visible group          * tools/formed/formed/plugins/web/plugin.py: Only visible group
1931            elements will be rendered in the formular navigation.            elements will be rendered in the formular navigation.
1932            Formular pages in the navigation now have their own css-style            Formular pages in the navigation now have their own css-style
1933            attributes.            attributes.
1934    
1935  2007-09-03 Torsten Irlaender <[email protected]>  2007-09-03      Torsten Irlaender <[email protected]>
1936    
1937          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page          * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
1938            errors in template            errors in template
1939          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined          * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
1940            pageerrors variable            pageerrors variable
1941    
1942  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
1943    
1944          * tools/formed/formed/plugins/export/html.py          * tools/formed/formed/plugins/export/html.py
1945          (RecursiveExporter): Added annotation to export          (RecursiveExporter): Added annotation to export
1946          (fillRow()): Renamed old fillNine to this more generic name.          (fillRow()): Renamed old fillNine to this more generic name.
1947                    
1948    
1949  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1950    
1951          * tools/formed/formed/plugins/web/renderer.py: Using the decorator          * tools/formed/formed/plugins/web/renderer.py: Using the decorator
1952            from model.misc now.            from model.misc now.
1953    
1954  2007-09-03 Sascha L. Teichmann <[email protected]>  2007-09-03      Sascha L. Teichmann <[email protected]>
1955    
1956          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
1957            'annotation' attribute to node components. This is to            'annotation' attribute to node components. This is to
1958                  enable FormEd document authors to add comments to groups            enable FormEd document authors to add comments to groups
1959                  and fields.            and fields.
1960    
1961  2007-09-03 Frank Koormann <[email protected]>  2007-09-03      Frank Koormann <[email protected]>
1962    
1963          * tools/formed/formed/model/nodecomponents.py          * tools/formed/formed/model/nodecomponents.py
1964          (NodeComponent.getParent): New method to get node components parent.          (NodeComponent.getParent): New method to get node components parent.
# Line 315  Line 1966 
1966          * tools/formed/formed/plugins/export/html.py: Export Choice option          * tools/formed/formed/plugins/export/html.py: Export Choice option
1967          as simple list instead of collection of bools.          as simple list instead of collection of bools.
1968    
1969  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1970    
1971          * tools/formed/formed/model/persistent.py: Interfaces to abstract          * tools/formed/formed/model/persistent.py: Interfaces to abstract
1972            from persistent storage details.            from persistent storage details.
# Line 325  Line 1976 
1976    
1977          * tools/formed/formed/main.py: Holds a memory data store now.          * tools/formed/formed/main.py: Holds a memory data store now.
1978    
1979  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1980    
1981          * tools/formed/formed/plugins/export/sql.py,          * tools/formed/formed/plugins/export/sql.py,
1982            tools/formed/formed/plugins/export/html.py: Fixed constructor chains            tools/formed/formed/plugins/export/html.py: Fixed constructor chains
1983                  for FileDialogFilter sub classes.            for FileDialogFilter sub classes.
1984    
1985  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1986    
1987          * tools/formed/formed/model/misc.py: Checking the mode in recursive          * tools/formed/formed/model/misc.py: Checking the mode in recursive
1988            tree traversals is a common task. To ease this a decorator function            tree traversals is a common task. To ease this a decorator function
1989                  checkMode in union with sub classing ModeChecker can be used.            checkMode in union with sub classing ModeChecker can be used.
1990                  To make it work simply subclass from ModeChecker and add the decorator            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            to the methods that need mode tracking. Before you start the recursion
1992                  call self.prepareDescent().            call self.prepareDescent().
1993    
1994          * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme          * 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            now which replace the old. TODO: Make the web renderer use the new scheme
1996                  too.            too.
1997    
1998  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
1999    
2000          * tools/formed/formed/plugins/export/sql.py: Removed needless import.          * tools/formed/formed/plugins/export/sql.py: Removed needless import.
2001    
2002          * tools/formed/formed/plugins/export/html.py: HTML table exporter          * tools/formed/formed/plugins/export/html.py: HTML table exporter
2003            uses new FileDialogFilter base class too.            uses new FileDialogFilter base class too.
2004    
2005  2007-09-02 Sascha L. Teichmann <[email protected]>  2007-09-02      Sascha L. Teichmann <[email protected]>
2006    
2007          * tools/formed/formed/plugins/ui/*: New. All file exporters          * tools/formed/formed/plugins/ui/*: New. All file exporters
2008            need a file dialog. Till now each of them pulled up its            need a file dialog. Till now each of them pulled up its
2009                  own. This was silly code replication. Now there is an abstract            own. This was silly code replication. Now there is an abstract
2010                  base class 'FileDialogFilter' which implements the common            base class 'FileDialogFilter' which implements the common
2011                  behavior. The file exporters should subclass it.            behavior. The file exporters should subclass it.
2012    
2013          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL          * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
2014            exporters from the new base class. TODO: Subclass the HTML            exporters from the new base class. TODO: Subclass the HTML
2015                  exporter too.            exporter too.
2016    
2017  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
2018    
2019          * tools/formed/formed/plugins/export/html.py: Make mode check          * tools/formed/formed/plugins/export/html.py: Make mode check
2020            work (again).            work (again).
2021    
2022  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
2023    
2024          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML          * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
2025            exprt works now in a recursive way. This change was needed because            exprt works now in a recursive way. This change was needed because
# Line 376  Line 2027 
2027            full hirachically document stuctures. (nested lists)            full hirachically document stuctures. (nested lists)
2028            TODO: Fix modechecking            TODO: Fix modechecking
2029    
2030  2007-08-31 Torsten Irlaender <[email protected]>  2007-08-31      Torsten Irlaender <[email protected]>
2031    
2032          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works          * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
2033            now in recursive way. This change was needed because the structure            now in recursive way. This change was needed because the structure
2034            of the formedtree has changed to be able to render full hirachically            of the formedtree has changed to be able to render full hirachically
2035            document stuctures. (nested lists)            document stuctures. (nested lists)
2036    
2037  2007-08-31 Sascha L. Teichmann <[email protected]>  2007-08-31      Sascha L. Teichmann <[email protected]>
2038    
2039          * tools/formed/formed/model/nodecomponents.py: use discard()          * tools/formed/formed/model/nodecomponents.py: use discard()
2040            instead of remove on sets.            instead of remove on sets.
# Line 394  Line 2045 
2045          * tools/formed/formed/config.py: Added the new exporter          * tools/formed/formed/config.py: Added the new exporter
2046            to the list of export filters.            to the list of export filters.
2047    
2048  2007-08-30 Sascha L. Teichmann <[email protected]>  2007-08-30      Sascha L. Teichmann <[email protected]>
2049    
2050          * tools/formed/formed/model/data.py: Fixed a bug in          * tools/formed/formed/model/data.py: Fixed a bug in
2051            Page.allWidgets()            Page.allWidgets()
# Line 404  Line 2055 
2055    
2056          * tools/formed/formed/config.py: Add the new SP exporter.          * tools/formed/formed/config.py: Add the new SP exporter.
2057    
2058  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
2059    
2060          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2061            tools/formed/formed/plugins/web/error_renderer.py: Added interface            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            to get the errors for a whole page in te formular. These errors can
2063            now be displayed on the top of the formular.            now be displayed on the top of the formular.
2064    
2065  2007-08-29 Torsten Irlaender <[email protected]>  2007-08-29      Torsten Irlaender <[email protected]>
2066    
2067          * tools/formed/formed/plugins/web/renderer.py: Finished implementation          * tools/formed/formed/plugins/web/renderer.py: Finished implementation
2068            of the getFromData interface and prepared the rederer for generating            of the getFromData interface and prepared the rederer for generating
2069            nice error messages            nice error messages
2070    
2071  2007-08-28 Frank Koormann <[email protected]>  2007-08-28      Frank Koormann <[email protected]>
2072    
2073          * tools/formed/formed/plugins/export/sql.py          * tools/formed/formed/plugins/export/sql.py
2074          (SchemaCreator.createSchema, SchemaCreator._createGroup):          (SchemaCreator.createSchema, SchemaCreator._createGroup):
2075          Fixed typo in created DDS (PRIMRAY -> PRIMARY)          Fixed typo in created DDS (PRIMRAY -> PRIMARY)
2076    
2077  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
2078    
2079          * tools/formed/formed/plugins/export/sql.py: Added small helper          * tools/formed/formed/plugins/export/sql.py: Added small helper
2080            function to generated valid quotes within the sql statements            function to generated valid quotes within the sql statements
2081    
2082  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2083    
2084          * tools/formed/formed/plugins/export/sql.py: Added foreign keys          * tools/formed/formed/plugins/export/sql.py: Added foreign keys
2085            for repeat tables.            for repeat tables.
2086                        
2087  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2088    
2089          * tools/formed/formed/plugins/export/sql.py: When generating          * tools/formed/formed/plugins/export/sql.py: When generating
2090            an extra table check in a table of same content exists. In            an extra table check in a table of same content exists. In
2091                  this case reference the existing table.            this case reference the existing table.
2092    
2093  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2094    
2095          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce          * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
2096            _real_ SQL and respect repeat groups.            _real_ SQL and respect repeat groups.
# Line 449  Line 2100 
2100          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])          * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
2101            instead of expensive += string concat in some places.            instead of expensive += string concat in some places.
2102    
2103  2007-08-29 Sascha L. Teichmann <[email protected]>  2007-08-29      Sascha L. Teichmann <[email protected]>
2104    
2105          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()          * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
2106            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().            to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
2107    
2108  2007-08-28 Torsten Irlaender <[email protected]>  2007-08-28      Torsten Irlaender <[email protected]>
2109    
2110          * tools/formed/plugins/web/renderer.py: Added Formdata interface.          * tools/formed/plugins/web/renderer.py: Added Formdata interface.
2111          * tools/formed/model/data.py: Implements Formadata interface to          * tools/formed/model/data.py: Implements Formadata interface to
# Line 462  Line 2113 
2113            attribute of the groupnode. Field-label generation slightly changed.            attribute of the groupnode. Field-label generation slightly changed.
2114            Added error indication to textfields            Added error indication to textfields
2115    
2116  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2117    
2118          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2119            tools/formed/formed/io/document.py: Removed support            tools/formed/formed/io/document.py: Removed support
2120                  of logical groups.            of logical groups.
2121    
2122  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2123    
2124          * tools/formed/formed/io/document.py: Avoid saving empty          * tools/formed/formed/io/document.py: Avoid saving empty
2125            attributes.            attributes.
2126    
2127          * tools/formed/test-data/simple.xml: Applied.          * tools/formed/test-data/simple.xml: Applied.
2128    
2129  2007-08-28 Sascha L. Teichmann <[email protected]>  2007-08-28      Sascha L. Teichmann <[email protected]>
2130    
2131          * tools/formed/formed/model/data.py: Added 'repeat' and          * tools/formed/formed/model/data.py: Added 'repeat' and
2132            'invisible' attributes to group. TODO: remove logical group.            'invisible' attributes to group. TODO: remove logical group.
2133    
2134  2007-08-27 Torsten Irlaender <[email protected]>  2007-08-27      Torsten Irlaender <[email protected]>
2135    
2136          * tools/formed/plugins/web/plugin.py,          * tools/formed/plugins/web/plugin.py,
2137            tools/formed/plugins/web/renderer.py: Started to  include stylesheet            tools/formed/plugins/web/renderer.py: Started to  include stylesheet
2138            depending tags in the html generation.            depending tags in the html generation.
2139    
2140  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2141    
2142          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2143            tools/formed/formed/io/document.py: Added a logical group.            tools/formed/formed/io/document.py: Added a logical group.
2144                  It has an attribute 'repeat' to indicate that it might            It has an attribute 'repeat' to indicate that it might
2145                  be worthy an external table in DB schema.            be worthy an external table in DB schema.
2146    
2147  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2148    
2149          * tools/formed/formed/plugins/web/plugin.py: Support          * tools/formed/formed/plugins/web/plugin.py: Support
2150            serving of static content.            serving of static content.
# Line 501  Line 2152 
2152          * tools/formed/formed/plugins/web/server.py: Removed          * tools/formed/formed/plugins/web/server.py: Removed
2153            old send code.            old send code.
2154    
2155  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2156    
2157          * tools/formed/formed/plugins/web/plugin.py: Use new          * tools/formed/formed/plugins/web/plugin.py: Use new
2158            Response object. Fix typo.            Response object. Fix typo.
# Line 509  Line 2160 
2160          * tools/formed/formed/plugins/web/server.py: support          * tools/formed/formed/plugins/web/server.py: support
2161            response object to serve different MIME types.            response object to serve different MIME types.
2162    
2163  2007-08-27 Sascha L. Teichmann <[email protected]>  2007-08-27      Sascha L. Teichmann <[email protected]>
2164    
2165          * tools/formed/formed/plugins/web/plugin.py: Add web.path          * tools/formed/formed/plugins/web/plugin.py: Add web.path
2166            to FORMED environment  variable to specify the            to FORMED environment  variable to specify the
2167                  root of the static content.            root of the static content.
2168    
2169  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2170    
2171          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2172            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.            tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
2173    
2174          * tools/formed/formed/plugins/web/www,          * tools/formed/formed/plugins/web/www,
2175            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains            tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
2176                  a template for the HTML output.            a template for the HTML output.
2177    
2178          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller          * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
2179            mode issues. Introduces CSS support. Simplified the action            mode issues. Introduces CSS support. Simplified the action
2180                  handling.            handling.
2181    
2182          * tools/formed/formed/plugins/web/renderer.py: Removed the          * tools/formed/formed/plugins/web/renderer.py: Removed the
2183            nagivation code.            nagivation code.
2184    
2185          * tools/formed/formed/plugins/web/server.py: Added missing import.          * tools/formed/formed/plugins/web/server.py: Added missing import.
2186    
2187  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2188    
2189          * tools/formed/formed/model/data.py: Added missing broadcast          * tools/formed/formed/model/data.py: Added missing broadcast
2190            parameter to setAttribute() of RuleLeaf.            parameter to setAttribute() of RuleLeaf.
# Line 547  Line 2198 
2198          * tools/formed/formed/plugins/web/server.py: New. Contains          * tools/formed/formed/plugins/web/server.py: New. Contains
2199            the HTTP server code now.            the HTTP server code now.
2200    
2201  2007-08-26 Sascha L. Teichmann <[email protected]>  2007-08-26      Sascha L. Teichmann <[email protected]>
2202    
2203          * tools/formed/test-data/simple.xml: Modified to contain a rule.          * tools/formed/test-data/simple.xml: Modified to contain a rule.
2204    
2205          * tools/formed/formed/model/expr.py: Added. A simple RPN          * tools/formed/formed/model/expr.py: Added. A simple RPN
2206            expression evaluator. To avoid the problem of eval()ing            expression evaluator. To avoid the problem of eval()ing
2207                  arbitrary python expressions I've decided to use a very            arbitrary python expressions I've decided to use a very
2208                  basic and limited stack machine to support rule checking.            basic and limited stack machine to support rule checking.
2209    
2210          * tools/formed/formed/model/data.py: Added a RuleLeaf.          * tools/formed/formed/model/data.py: Added a RuleLeaf.
2211    
# Line 562  Line 2213 
2213    
2214          * tools/formed/formed/model/nodecomponents.py: Add a method          * tools/formed/formed/model/nodecomponents.py: Add a method
2215            to find all items of a given type in document for a given            to find all items of a given type in document for a given
2216                  mode. Usefull to find all rules in the tree.            mode. Usefull to find all rules in the tree.
2217    
2218          * tools/formed/formed/ui/controls.py: Added a listener mechanism          * tools/formed/formed/ui/controls.py: Added a listener mechanism
2219            to attribute table to report exceptions when setting a value            to attribute table to report exceptions when setting a value
2220                  from GUI. Useful to report compilation errors when setting            from GUI. Useful to report compilation errors when setting
2221                  expr of rule leafs.            expr of rule leafs.
2222    
2223          * tools/formed/formed/main.py: Added a method to track exceptions          * tools/formed/formed/main.py: Added a method to track exceptions
2224            from the attribute table and pop up dialogs if they occur.            from the attribute table and pop up dialogs if they occur.
2225                  Added a counter of rule modifications in tree. Useful if you            Added a counter of rule modifications in tree. Useful if you
2226                  want build cached data structures like rule sets and you want            want build cached data structures like rule sets and you want
2227                  to know if they are still valid.            to know if they are still valid.
2228    
2229  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2230    
2231          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint          * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
2232            for checkbox values. (Syntax error).            for checkbox values. (Syntax error).
# Line 583  Line 2234 
2234          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname          * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
2235            generation              generation  
2236    
2237  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2238    
2239          * tools/formed/formed/plugins/names/filter.py: Separated Class for          * tools/formed/formed/plugins/names/filter.py: Separated Class for
2240            making the formularnames more database friendly. Added some more            making the formularnames more database friendly. Added some more
# Line 591  Line 2242 
2242          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh          * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
2243            separated class, and some fixes in sql generation.            separated class, and some fixes in sql generation.
2244    
2245  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2246    
2247          * tools/formed/formed/plugins/export/html.py: Print lengths          * tools/formed/formed/plugins/export/html.py: Print lengths
2248            of external choice list.            of external choice list.
2249    
2250  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2251    
2252          * tools/formed/formed/main.py: Little workaround for          * tools/formed/formed/main.py: Little workaround for
2253            mode selection if someone adds an removes a mode.            mode selection if someone adds an removes a mode.
2254    
2255  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2256    
2257          * tools/formed/test-data/simple.xml: Better test case for          * tools/formed/test-data/simple.xml: Better test case for
2258            mode depended leaf items.            mode depended leaf items.
# Line 611  Line 2262 
2262    
2263          * tools/formed/formed/plugins/export/html.py: Use effective          * tools/formed/formed/plugins/export/html.py: Use effective
2264            mode. TODO: the 'all' modus return false results sometimes.            mode. TODO: the 'all' modus return false results sometimes.
2265                  Cause: The modes are only cumulated over time. Removal is            Cause: The modes are only cumulated over time. Removal is
2266                  not done.            not done.
2267    
2268  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2269    
2270          * tools/formed/formed/plugins/export/html.py: Dump the items          * tools/formed/formed/plugins/export/html.py: Dump the items
2271            of radio groups and choices too.            of radio groups and choices too.
2272    
2273  2007-08-24 Torsten Irlaender <[email protected]>  2007-08-24      Torsten Irlaender <[email protected]>
2274    
2275          * tools/formed/formed/plugins/names/filter.py: Modified the renaming          * tools/formed/formed/plugins/names/filter.py: Modified the renaming
2276            by formular names to make the naming more database friendly.            by formular names to make the naming more database friendly.
2277            Now only alphanumeric and underscore chars is allowed.            Now only alphanumeric and underscore chars is allowed.
2278    
2279  2007-08-24 Sascha L. Teichmann <[email protected]>  2007-08-24      Sascha L. Teichmann <[email protected]>
2280    
2281          * tools/formed/formed/plugins/export/html.py: Tweaked          * tools/formed/formed/plugins/export/html.py: Tweaked
2282            HTML table exporter a bit to be on par with the XSLT            HTML table exporter a bit to be on par with the XSLT
2283                  script. TODO: Dump items in radio and choice groups.            script. TODO: Dump items in radio and choice groups.
2284    
2285  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2286    
2287          * tools/formed/formed/plugins/names/filter.py: Removed          * tools/formed/formed/plugins/names/filter.py: Removed
2288            HTML and SQL exporters.            HTML and SQL exporters.
# Line 640  Line 2291 
2291            tools/formed/formed/plugins/export/__init__.py,            tools/formed/formed/plugins/export/__init__.py,
2292            tools/formed/formed/plugins/export/sql.py,            tools/formed/formed/plugins/export/sql.py,
2293            tools/formed/formed/plugins/export/html.py: New: Contain            tools/formed/formed/plugins/export/html.py: New: Contain
2294                  the HTML and the SQL exporters now.            the HTML and the SQL exporters now.
2295    
2296          * tools/formed/formed/config.py: Use exporters from different          * tools/formed/formed/config.py: Use exporters from different
2297            package now.            package now.
2298    
2299  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2300    
2301          * tools/formed/formed/plugins/names/filter.py: Added an          * tools/formed/formed/plugins/names/filter.py: Added an
2302            pseudo SQL export filters. TODO: Move HTML and SQL filter            pseudo SQL export filters. TODO: Move HTML and SQL filter
# Line 654  Line 2305 
2305    
2306          * tools/formed/formed/config.py: Install the new SQL filter.          * tools/formed/formed/config.py: Install the new SQL filter.
2307    
2308  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2309    
2310          * tools/formed/formed/model/nodecomponents.py: Added a depth()          * tools/formed/formed/model/nodecomponents.py: Added a depth()
2311            method to determine the depth of particular tree item.            method to determine the depth of particular tree item.
# Line 664  Line 2315 
2315    
2316          * tools/formed/formed/config.py: Install the new HTML filter.          * tools/formed/formed/config.py: Install the new HTML filter.
2317    
2318  2007-08-23 Torsten Irlaender <[email protected]>  2007-08-23      Torsten Irlaender <[email protected]>
2319    
2320          * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script          * 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            to extract fields and options in the XFA Data in teh PDF. This
2322            script might me handy to indicate changes between the different            script might me handy to indicate changes between the different
2323            formular versions.            formular versions.
2324                    
2325  2007-08-23 Sascha L. Teichmann <[email protected]>  2007-08-23      Sascha L. Teichmann <[email protected]>
2326    
2327          * tools/formed/formed/main.py: Add an 'all' mode to          * tools/formed/formed/main.py: Add an 'all' mode to
2328            select all modes. ;-)            select all modes. ;-)
2329    
2330  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2331    
2332          * tools/formed/test-data/simple.xml,          * tools/formed/test-data/simple.xml,
2333            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
# Line 686  Line 2337 
2337            tools/formed/formed/main.py: Removed support for switch nodes.            tools/formed/formed/main.py: Removed support for switch nodes.
2338            BEWARE: This breaks compatibility with older documents!            BEWARE: This breaks compatibility with older documents!
2339    
2340  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2341    
2342          * tools/formed/formed/plugins/web/plugin.py: Uses the          * tools/formed/formed/plugins/web/plugin.py: Uses the
2343            getSelectedMode() from main now.            getSelectedMode() from main now.
# Line 697  Line 2348 
2348          * tools/formed/formed/config.py: removed selected mode from          * tools/formed/formed/config.py: removed selected mode from
2349            env configuration.            env configuration.
2350    
2351  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2352    
2353          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute          * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
2354            table are now alphabetically sorted.            table are now alphabetically sorted.
2355    
2356  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2357    
2358          * tools/formed/formed/model/nodecomponents.py: Added code to          * tools/formed/formed/model/nodecomponents.py: Added code to
2359            establish the new 'modes' recursively.            establish the new 'modes' recursively.
# Line 718  Line 2369 
2369    
2370          * tools/formed/formed/main.py: Adjusted to new infrastructure.          * tools/formed/formed/main.py: Adjusted to new infrastructure.
2371    
2372  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2373    
2374          * tools/formed/formed/model/nodecomponents.py: Added an          * tools/formed/formed/model/nodecomponents.py: Added an
2375            attribute 'modes' to NodeComponents.            attribute 'modes' to NodeComponents.
2376    
2377  2007-08-22 Sascha L. Teichmann <[email protected]>  2007-08-22      Sascha L. Teichmann <[email protected]>
2378    
2379          * tools/formed/formed/model/data.py: Small cosmetic cleanups          * tools/formed/formed/model/data.py: Small cosmetic cleanups
2380    
2381  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2382    
2383          * tools/formed/formed/plugins/web/renderer.py: Another fix          * tools/formed/formed/plugins/web/renderer.py: Another fix
2384            for the hidden field. Argh!            for the hidden field. Argh!
2385    
2386  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2387    
2388          * tools/formed/formed/plugins/web/renderer.py: Fixed double          * tools/formed/formed/plugins/web/renderer.py: Fixed double
2389            generation of hidden page field.            generation of hidden page field.
2390    
2391  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2392    
2393          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2394            checks for radio groups.            checks for radio groups.
2395    
2396  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2397    
2398          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2399            checks for choices.            checks for choices.
# Line 757  Line 2408 
2408          * contrib/convert-formedtree2html.xsl:          * contrib/convert-formedtree2html.xsl:
2409          Replace technical types with readable descriptions          Replace technical types with readable descriptions
2410    
2411  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2412    
2413          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller          * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
2414            issues. 'action' looks for all widgets on a page now, goes            issues. 'action' looks for all widgets on a page now, goes
2415                  through all passed parameters, tries to match them with the            through all passed parameters, tries to match them with the
2416                  widgets of the page and put them into the semantic box.            widgets of the page and put them into the semantic box.
2417                  Afterwards a list of untouched page parameters are left            Afterwards a list of untouched page parameters are left
2418                  which will be deleted from the semantic box.            which will be deleted from the semantic box.
2419    
2420          * tools/formed/formed/plugins/web/semantic.py: Simplified.          * tools/formed/formed/plugins/web/semantic.py: Simplified.
2421            The NodeComponent is passed as an argument now.            The NodeComponent is passed as an argument now.
# Line 772  Line 2423 
2423          * tools/formed/formed/plugins/web/renderer.py: Generate a          * tools/formed/formed/plugins/web/renderer.py: Generate a
2424            hidden field to store the name of the page.            hidden field to store the name of the page.
2425    
2426  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2427    
2428          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding          * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
2429            issue with incoming UTF-8 data.            issue with incoming UTF-8 data.
2430    
2431  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2432    
2433          * tools/formed/test-data/simple.xml: Improve test for widgets          * tools/formed/test-data/simple.xml: Improve test for widgets
2434            in switches.            in switches.
2435    
2436          * tools/formed/formed/model/data.py: Added a method to find all          * 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            widgets in a given page. Fixed a bug when walking in switch
2438                  with a given mode.            with a given mode.
2439    
2440          * tools/formed/formed/plugins/web/plugin.py: Simple test for          * tools/formed/formed/plugins/web/plugin.py: Simple test for
2441            listing all widgets in page.            listing all widgets in page.
2442    
2443  2007-08-21 Torsten Irlaender <[email protected]>  2007-08-21      Torsten Irlaender <[email protected]>
2444    
2445          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to          * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
2446            latin-1            latin-1
2447    
2448  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2449    
2450          * tools/formed/formed/model/data.py: Added mode parameter to          * tools/formed/formed/model/data.py: Added mode parameter to
2451            walk.            walk.
2452                              
2453          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites          * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
2454            walk() with usage of the new mode parameter. Added a method to            walk() with usage of the new mode parameter. Added a method to
2455                  give children in a given mode.            give children in a given mode.
2456    
2457          * tools/formed/formed/plugins/web/renderer.py: Simplified to use          * tools/formed/formed/plugins/web/renderer.py: Simplified to use
2458            new Switch.childrenInMode() method.            new Switch.childrenInMode() method.
2459    
2460  2007-08-21 Sascha L. Teichmann <[email protected]>  2007-08-21      Sascha L. Teichmann <[email protected]>
2461    
2462          * tools/formed/formed/plugins/web/semantic.py: Add checks for          * tools/formed/formed/plugins/web/semantic.py: Add checks for
2463            texts and text areas.            texts and text areas.
# Line 814  Line 2465 
2465          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset          * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
2466            to UTF-8 in generated form.            to UTF-8 in generated form.
2467    
2468  2007-08-20 Sascha L. Teichmann <[email protected]>  2007-08-20      Sascha L. Teichmann <[email protected]>
2469    
2470          * tools/formed/formed/plugins/web/semantic.py: Added semantic          * tools/formed/formed/plugins/web/semantic.py: Added semantic
2471            tests for dates.            tests for dates.
2472    
2473  2007-08-20 Sascha L. Teichmann <[email protected]>          2007-08-20      Sascha L. Teichmann <[email protected]>  
2474    
2475          * tools/formed/test-data/simple.xml: Tweak a bit for integer          * tools/formed/test-data/simple.xml: Tweak a bit for integer
2476            range test.            range test.
# Line 833  Line 2484 
2484          * tools/formed/formed/plugins/web/plugin.py: Use semantic          * tools/formed/formed/plugins/web/plugin.py: Use semantic
2485            check.            check.
2486    
2487  2007-08-20      Torsten Irlaender <[email protected]>  2007-08-20      Torsten Irlaender <[email protected]>
2488    
2489          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in          * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
2490            selection-field generation (Removed quote)            selection-field generation (Removed quote)
# Line 846  Line 2497 
2497            renderer. This submit parameters are stored in the            renderer. This submit parameters are stored in the
2498            session now. This will ease testing the constraint            session now. This will ease testing the constraint
2499            tests which need to be written soon.            tests which need to be written soon.
2500                              
2501            BEWARE: The session management is _not_ made for production!            BEWARE: The session management is _not_ made for production!
2502            Denial of service attacks are too easy, and the            Denial of service attacks are too easy, and the
2503            cryptographical strength of the session id is doubtful.            cryptographical strength of the session id is doubtful.
# Line 864  Line 2515 
2515            and can be hooked automatically into the new 'Filters'            and can be hooked automatically into the new 'Filters'
2516            sub menu under 'Extra'. They got called when the user            sub menu under 'Extra'. They got called when the user
2517            selects their respective menu item.            selects their respective menu item.
2518                              
2519          * tools/formed/formed/config.py: Contains the list of          * tools/formed/formed/config.py: Contains the list of
2520            installed filters.            installed filters.
2521    
# Line 925  Line 2576 
2576    
2577          * tools/formed/formed/main.py: Swaped order of          * tools/formed/formed/main.py: Swaped order of
2578            'Make names unique' and 'Selected mode...' in Extra            'Make names unique' and 'Selected mode...' in Extra
2579                  menu and put a separator between them.            menu and put a separator between them.
2580    
2581  2007-08-15      Sascha L. Teichmann <[email protected]>  2007-08-15      Sascha L. Teichmann <[email protected]>
2582    
# Line 934  Line 2585 
2585    
2586          * tools/formed/formed/plugins/plugin.py: Simplified          * tools/formed/formed/plugins/plugin.py: Simplified
2587            the plug-in interface. Only the reference to the            the plug-in interface. Only the reference to the
2588                  global configuration is passed at setup time.            global configuration is passed at setup time.
2589    
2590          * tools/formed/formed/plugins/web/plugin.py: Adjusted          * tools/formed/formed/plugins/web/plugin.py: Adjusted
2591            to new plug-in setup. The traveral mode is now taken            to new plug-in setup. The traveral mode is now taken
2592                  from the global configuration each time a rendering            from the global configuration each time a rendering
2593                  is triggered. The FORMED parameter is now named            is triggered. The FORMED parameter is now named
2594                  'doc.mode' instead of 'web.mode'. The parameter            'doc.mode' instead of 'web.mode'. The parameter
2595                  is not needed any more because it can be configured            is not needed any more because it can be configured
2596                  at runtime.            at runtime.
2597    
2598          * tools/formed/formed/main.py: Adjusted to new plugin          * tools/formed/formed/main.py: Adjusted to new plugin
2599            setup. Added a new menu item Extra->Select Mode...            setup. Added a new menu item Extra->Select Mode...
2600                  to select the traversal mode. It is stored in the            to select the traversal mode. It is stored in the
2601                  global config.            global config.
2602    
2603          * tools/formed/formed/config.py: Simplified. Only uses          * tools/formed/formed/config.py: Simplified. Only uses
2604            one env dictionary to store global configuration parameters.            one env dictionary to store global configuration parameters.
# Line 959  Line 2610 
2610    
2611          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2612            tools/formed/formed/plugins/web/renderer.py: Added parameter            tools/formed/formed/plugins/web/renderer.py: Added parameter
2613                  print out in web plugin.            print out in web plugin.
2614    
2615  2007-08-15      Torsten Irlaender <[email protected]>  2007-08-15      Torsten Irlaender <[email protected]>
2616    
# Line 977  Line 2628 
2628    
2629          * tools/formed/formed/plugins/web/plugin.py,          * tools/formed/formed/plugins/web/plugin.py,
2630            tools/formed/formed/config.py: Added a 'web.mode' parameter            tools/formed/formed/config.py: Added a 'web.mode' parameter
2631                  to FORMED environment variable.            to FORMED environment variable.
2632                  e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.            e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
2633                  Defaults to 'default'.            Defaults to 'default'.
2634    
2635          * tools/formed/test-data/simple.xml: Added test for switch.          * tools/formed/test-data/simple.xml: Added test for switch.
2636    
# Line 993  Line 2644 
2644          * tools/formed/formed/io/document.py,          * tools/formed/formed/io/document.py,
2645            tools/formed/formed/model/data.py,            tools/formed/formed/model/data.py,
2646            tools/formed/formed/model/nodecomponents.py: Added an item            tools/formed/formed/model/nodecomponents.py: Added an item
2647                  to model external item lists.            to model external item lists.
2648    
2649          * tools/formed/formed/plugins/web/renderer.py: Render new item          * tools/formed/formed/plugins/web/renderer.py: Render new item
2650            list.            list.
# Line 1010  Line 2661 
2661    
2662          * contrib/extract-xfa-items.sh: New. Can be used to extract longer          * 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            choice item lists for a given field from XFA files. e.g. with
2664                  './contrib/extract-xfa-items.sh Muttersprache alles.xml'            './contrib/extract-xfa-items.sh Muttersprache alles.xml'
2665    
2666  2007-08-12      Sascha L. Teichmann <[email protected]>  2007-08-12      Sascha L. Teichmann <[email protected]>
2667    
2668          * tools/formed/formed/model/data.py,          * tools/formed/formed/model/data.py,
2669            tools/formed/formed/plugins/web/renderer.py,            tools/formed/formed/plugins/web/renderer.py,
2670                  tools/formed/formed/io/document.py: Changed the structure            tools/formed/formed/io/document.py: Changed the structure
2671                  of choice constructs. The idea to hold the different items            of choice constructs. The idea to hold the different items
2672                  of a particular choice in a semicolon separated list was bad.            of a particular choice in a semicolon separated list was bad.
2673                  Now choices are groups and  the option items are modelled as            Now choices are groups and  the option items are modelled as
2674                  embedded bools. (mainly Torsten Irländer's idea).            embedded bools. (mainly Torsten Irländer's idea).
2675    
2676                  WARNING: this makes old document files containing choices incompatible!!!            WARNING: this makes old document files containing choices incompatible!!!
2677                  Use the following XSLT to reestablish compatibility.            Use the following XSLT to reestablish compatibility.
2678                              
2679          * contrib/itemize-choices.xsl: New converts old to new structure.          * contrib/itemize-choices.xsl: New converts old to new structure.
2680            Needs exslt.org's string extensions (which xsltproc includes)            Needs exslt.org's string extensions (which xsltproc includes)
2681    
# Line 1042  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 1065  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 1077  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 1102  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 1139  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 1219  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 1248  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 1277  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 1329  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 1342  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 1358  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.162  
changed lines
  Added in v.407

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26