/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26