/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26