/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 380 - (hide annotations)
Wed Aug 4 13:32:37 2010 UTC (14 years, 6 months ago) by bh
File size: 102626 byte(s)
* formed/po/Makefile: Use correct filename of the pot-file in the
usage message

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26