/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 407 - (hide annotations)
Mon Oct 4 17:16:07 2010 UTC (14 years, 4 months ago) by torsten
File size: 106114 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26