/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 361 - (show annotations)
Fri Apr 30 09:22:48 2010 UTC (14 years, 9 months ago) by torsten
File size: 99529 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26