/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 381 - (hide annotations)
Wed Aug 4 13:39:14 2010 UTC (14 years, 6 months ago) by bh
File size: 102746 byte(s)
* formed/po/de_DE.po: Update.

* formed/po/formed.pot: Regenerated.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26