/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (show annotations)
Wed Nov 24 16:33:14 2010 UTC (14 years, 3 months ago) by bh
File size: 107957 byte(s)
* formed/formed/plugins/export/rules_sh.py: Fix formatting.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26