/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26