/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 417 - (hide annotations)
Thu Oct 21 08:24:15 2010 UTC (14 years, 4 months ago) by torsten
File size: 107235 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26