/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 401 - (hide annotations)
Thu Sep 30 07:44:28 2010 UTC (14 years, 4 months ago) by torsten
File size: 105747 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26