/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26