/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 352 - (hide annotations)
Tue Apr 6 13:48:50 2010 UTC (14 years, 10 months ago) by torsten
File size: 98686 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26