/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 423 - (show annotations)
Wed Nov 10 14:53:40 2010 UTC (14 years, 3 months ago) by torsten
File size: 107708 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26