/[formed]/trunk/ChangeLog
ViewVC logotype

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.161  
changed lines
  Added in v.399

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26