/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26