/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 438 - (hide annotations)
Wed Jan 19 10:59:45 2011 UTC (14 years, 1 month ago) by torsten
File size: 109964 byte(s)
Updated ChangeLog

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26