/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 341 - (show annotations)
Fri Nov 13 16:27:49 2009 UTC (15 years, 3 months ago) by teichmann
File size: 97514 byte(s)
Fixed python dictionary exporter to work with new repeat group structure.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26