/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 356 - (hide annotations)
Thu Apr 8 15:56:34 2010 UTC (14 years, 10 months ago) by torsten
File size: 99077 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26