/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26