/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26