/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 343 - (show annotations)
Wed Dec 2 10:42:29 2009 UTC (15 years, 2 months ago) by torsten
File size: 97919 byte(s)
do not ignore conditional nodes on traversal

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26