/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26