/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 337 - (show annotations)
Thu Jun 18 12:15:49 2009 UTC (15 years, 8 months ago) by torsten
File size: 96744 byte(s)
Fixes of permission in SQL

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26