/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 338 - (show annotations)
Wed Oct 7 10:00:49 2009 UTC (15 years, 4 months ago) by teichmann
File size: 97004 byte(s)
Adjusted to cope with "semi-complete" implementation of logbook tree structure.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26