/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 339 - (show annotations)
Wed Oct 7 14:02:00 2009 UTC (15 years, 4 months ago) by frank
File size: 97163 byte(s)
formed/formed/plugins/export/latex.py:
	Adjusted textprocessing to escape tex-active characters.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26