/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 377 - (hide annotations)
Mon Aug 2 10:37:23 2010 UTC (14 years, 6 months ago) by bh
File size: 101944 byte(s)
* formed/formed.py, formed/formed/io/document.py,
formed/formed/io/factories.py, formed/formed/io/parser.py,
formed/formed/model/data.py, formed/formed/model/event.py,
formed/formed/model/expr.py, formed/formed/model/exprtree.py,
formed/formed/model/memory.py, formed/formed/model/misc.py,
formed/formed/model/nodecomponents.py,
formed/formed/model/persistent.py: Fix coding declaration to be
acceptable to both python and Emacs.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26