/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 340 - (show annotations)
Wed Oct 28 16:31:02 2009 UTC (15 years, 4 months ago) by teichmann
File size: 97367 byte(s)
Allow groups in choices

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26