/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26