/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 424 - (hide annotations)
Mon Nov 15 17:08:43 2010 UTC (14 years, 3 months ago) by torsten
File size: 107846 byte(s)
Do not set attribute "repeat" for Repeat-Nodes.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26