/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 393 - (hide annotations)
Tue Aug 10 15:53:42 2010 UTC (14 years, 6 months ago) by torsten
File size: 103078 byte(s)
Added helper script to diff to given formedtree files.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26