/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26