/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 427 - (hide annotations)
Wed Nov 24 17:02:05 2010 UTC (14 years, 3 months ago) by bh
File size: 108831 byte(s)
* formed/formed/plugins/export/rules_sh.py (sql_OperatorUnary):
Put parentheses around the comparison for the KNOWN operator in
the generated SQL to ensure correct evaluation order.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26