/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26