/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 436 - (hide annotations)
Tue Jan 11 14:07:00 2011 UTC (14 years, 1 month ago) by torsten
File size: 109781 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26