/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 445 - (hide annotations)
Tue May 3 13:28:39 2011 UTC (13 years, 9 months ago) by bricks
File size: 111207 byte(s)
Add ReferenceNode to be able to create and save references

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26