/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 376 - (hide annotations)
Thu Jul 29 14:40:20 2010 UTC (14 years, 7 months ago) by torsten
File size: 101456 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26