/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 412 - (show annotations)
Wed Oct 6 12:22:24 2010 UTC (14 years, 4 months ago) by torsten
File size: 106661 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26