/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 408 - (hide annotations)
Tue Oct 5 16:30:38 2010 UTC (14 years, 4 months ago) by torsten
File size: 106428 byte(s)
Added generating XML for tagging config.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26