/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 366 - (show annotations)
Fri Jun 11 13:59:02 2010 UTC (14 years, 8 months ago) by bh
File size: 100223 byte(s)
* formed/formed/plugins/export/rg_sql.py
(CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call
create_master_ds to create the master tbl entry.  This way we can
add SQL code that's specific to an MPuls instance to
create_master_ds and still have create_master_tbl use that new
code.  This is useful for e.g. the JMD-Struktur part.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26