/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26