/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 423 - (hide annotations)
Wed Nov 10 14:53:40 2010 UTC (14 years, 3 months ago) by torsten
File size: 107708 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26