/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 429 - (hide annotations)
Wed Nov 24 17:09:57 2010 UTC (14 years, 3 months ago) by bh
File size: 109074 byte(s)
* formed/formed/plugins/export/rules_sh.py: Remove some commented
out code.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26