/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 369 - (hide annotations)
Wed Jul 21 14:51:51 2010 UTC (14 years, 7 months ago) by torsten
File size: 100640 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26