/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 405 - (hide annotations)
Mon Oct 4 16:28:56 2010 UTC (14 years, 4 months ago) by torsten
File size: 105969 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26