/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 380 - (show annotations)
Wed Aug 4 13:32:37 2010 UTC (14 years, 6 months ago) by bh
File size: 102626 byte(s)
* formed/po/Makefile: Use correct filename of the pot-file in the
usage message

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26