/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26