/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 401 - (show annotations)
Thu Sep 30 07:44:28 2010 UTC (14 years, 4 months ago) by torsten
File size: 105747 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26