/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26