/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 336 - (show annotations)
Thu Jun 18 07:00:01 2009 UTC (15 years, 8 months ago) by torsten
File size: 96543 byte(s)
Commented out generation of page_views.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26