/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (hide annotations)
Wed Nov 24 16:33:14 2010 UTC (14 years, 3 months ago) by bh
File size: 107957 byte(s)
* formed/formed/plugins/export/rules_sh.py: Fix formatting.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26