/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26