/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 381 - (show annotations)
Wed Aug 4 13:39:14 2010 UTC (14 years, 6 months ago) by bh
File size: 102746 byte(s)
* formed/po/de_DE.po: Update.

* formed/po/formed.pot: Regenerated.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26