/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 361 - (hide annotations)
Fri Apr 30 09:22:48 2010 UTC (14 years, 9 months ago) by torsten
File size: 99529 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26