/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 382 - (show annotations)
Wed Aug 4 13:51:31 2010 UTC (14 years, 6 months ago) by bh
File size: 102839 byte(s)
* formed/po/de_DE.po: Update translations

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26