/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 342 - (show annotations)
Tue Nov 17 15:22:18 2009 UTC (15 years, 3 months ago) by teichmann
File size: 97761 byte(s)
Generate '%' (for all) variables in rule generator plug in.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26