/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 379 - (show annotations)
Wed Aug 4 13:31:34 2010 UTC (14 years, 6 months ago) by bh
File size: 102494 byte(s)
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make
the order of entries in the .pot-file more predictable.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26