/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 393 - (show annotations)
Tue Aug 10 15:53:42 2010 UTC (14 years, 6 months ago) by torsten
File size: 103078 byte(s)
Added helper script to diff to given formedtree files.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26