/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 370 - (show annotations)
Wed Jul 21 14:54:10 2010 UTC (14 years, 7 months ago) by torsten
File size: 100860 byte(s)
Issue851

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26