/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 335 - (show annotations)
Wed Jun 17 10:45:48 2009 UTC (15 years, 8 months ago) by torsten
File size: 96359 byte(s)
Fixed anonymize function and rolenames

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26