/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.84  
changed lines
  Added in v.417

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26