1 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/plugins/export/rules_sh.py: expand star-import. |
4 |
|
|
5 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
6 |
|
|
7 |
|
* formed/formed/plugins/export/rules_sh.py (sql_OperatorUnary): |
8 |
|
Put parentheses around the comparison for the KNOWN operator in |
9 |
|
the generated SQL to ensure correct evaluation order. |
10 |
|
|
11 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
12 |
|
|
13 |
|
* formed/formed/plugins/export/rules_sh.py (binary_operator_map): |
14 |
|
New. Map binary formed expr operators to their SQL counterparts. |
15 |
|
(sql_OperatorBinary): Use binary_operator_map instead of a cascade |
16 |
|
of if-statements with lots of code duplication. Also, put |
17 |
|
parentheses around the resulting SQL expression to make sure the |
18 |
|
expression is correctly. This fixes a problem with WASKO tagging |
19 |
|
rules, where the a FormEd expression of the form like "2 1 1980 |
20 |
|
date 1 1 1980 date - 93 *" would be incorrectly converted to the |
21 |
|
SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date" |
22 |
|
|
23 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
* formed/formed/plugins/export/rules_sh.py: Fix formatting. |
26 |
|
|
27 |
|
2010-11-15 Torsten Irlaender <[email protected]> |
28 |
|
|
29 |
|
* formed/formed/model/data.py: Do not set attribute "repeat" for |
30 |
|
Repeat-Groups. |
31 |
|
|
32 |
|
2010-11-10 Torsten Irlaender <[email protected]> |
33 |
|
|
34 |
|
* formed/formed/plugins/modify/rules.py: Fixed date sequence rule |
35 |
|
checks for date in future. |
36 |
|
|
37 |
|
2010-11-08 Roland Geider <[email protected]> |
38 |
|
|
39 |
|
* formed/formed/plugins/export/xsd.py: validate formedtree.xml |
40 |
|
|
41 |
|
2010-11-08 Roland Geider <[email protected]> |
42 |
|
|
43 |
|
* formed/formed/model/data.py, |
44 |
|
formed/formed/plugins/export/xsd.py, |
45 |
|
formed/formed/config.py: issue1131: generate XSD for case exports |
46 |
|
|
47 |
|
2010-10-21 Torsten Irlaender <[email protected]> |
48 |
|
|
49 |
|
* formed/formed/plugins/export/rules_sh.py: Added new LE-Operator |
50 |
|
* formed/formed/plugins/modify/rules.py: Add error rule to force phase |
51 |
|
relevant datefields not to be "unknown". |
52 |
|
|
53 |
|
2010-10-12 Roland Geider <[email protected]> |
54 |
|
|
55 |
|
* formed/formed/plugins/export/rules_sh.py: Ignore rules if any fields |
56 |
|
in the rule are in a repeat group |
57 |
|
|
58 |
|
2010-10-11 Roland Geider <[email protected]> |
59 |
|
|
60 |
|
* formed/plugins/export/rules_sh.py: Added support to more opperators |
61 |
|
to be able to export the WASKO case |
62 |
|
|
63 |
|
2010-10-06 Torsten Irlaender <[email protected]> |
64 |
|
|
65 |
|
* formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed |
66 |
|
gerating SQL for Rules |
67 |
|
* formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date |
68 |
|
function. |
69 |
|
|
70 |
|
2010-10-05 Torsten Irländer <[email protected]> |
71 |
|
|
72 |
|
* formed/formed/model/data.py: Fixed error when setting tag attribute. |
73 |
|
* formed/formed/plugins/export/rules_sh.py: Added generating exporting |
74 |
|
tagging-xml |
75 |
|
* formed/formed/plugins/modify/rules.py: Do not generate automatic |
76 |
|
tagids for rules. |
77 |
|
|
78 |
2010-10-04 Torsten Irländer <[email protected]> |
2010-10-04 Torsten Irländer <[email protected]> |
79 |
|
|
80 |
* formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute |
* formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute |