1 |
|
2011-02-22 Roland Geider <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/plugins/export/xsd.py: Added support for <float> |
4 |
|
element |
5 |
|
|
6 |
|
2011-01-19 Torsten Irlaender <[email protected]> |
7 |
|
|
8 |
|
* formed/formed/plugins/export/new_sql.py |
9 |
|
(SchemaCreator._createChoice): Fix traversing choicelists wich |
10 |
|
conditional nodes. |
11 |
|
|
12 |
|
2011-01-11 Torsten Irlaender <[email protected]> |
13 |
|
|
14 |
|
* formed/formed/model/exprtree.py: Added List-Node and Contains |
15 |
|
function. |
16 |
|
|
17 |
|
2010-12-27 Torsten Irlaender <[email protected]> |
18 |
|
|
19 |
|
* formed/formed/model/data.py (WidgetCollector.visitor): Removed |
20 |
|
clause to ignore Repeatgroups. |
21 |
|
|
22 |
|
2010-12-13 Torsten Irlaender <[email protected]> |
23 |
|
|
24 |
|
* formed/formed/model/data.py (GroupNode.isRepeat): Issue1565: Fixed |
25 |
|
isRepeat function. Check typ instead of repeat attribute. Removed |
26 |
|
setRepeat function (not used anywhere) |
27 |
|
|
28 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* formed/formed/plugins/export/rules_sh.py (generate_tagging): |
31 |
|
Remove unused variable "inserts" and corresponding commented out |
32 |
|
code. |
33 |
|
|
34 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
35 |
|
|
36 |
|
* formed/formed/plugins/export/rules_sh.py: Remove some commented |
37 |
|
out code. |
38 |
|
|
39 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
40 |
|
|
41 |
|
* formed/formed/plugins/export/rules_sh.py: expand star-import. |
42 |
|
|
43 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* formed/formed/plugins/export/rules_sh.py (sql_OperatorUnary): |
46 |
|
Put parentheses around the comparison for the KNOWN operator in |
47 |
|
the generated SQL to ensure correct evaluation order. |
48 |
|
|
49 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
50 |
|
|
51 |
|
* formed/formed/plugins/export/rules_sh.py (binary_operator_map): |
52 |
|
New. Map binary formed expr operators to their SQL counterparts. |
53 |
|
(sql_OperatorBinary): Use binary_operator_map instead of a cascade |
54 |
|
of if-statements with lots of code duplication. Also, put |
55 |
|
parentheses around the resulting SQL expression to make sure the |
56 |
|
expression is correctly. This fixes a problem with WASKO tagging |
57 |
|
rules, where the a FormEd expression of the form like "2 1 1980 |
58 |
|
date 1 1 1980 date - 93 *" would be incorrectly converted to the |
59 |
|
SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date" |
60 |
|
|
61 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* formed/formed/plugins/export/rules_sh.py: Fix formatting. |
64 |
|
|
65 |
|
2010-11-15 Torsten Irlaender <[email protected]> |
66 |
|
|
67 |
|
* formed/formed/model/data.py: Do not set attribute "repeat" for |
68 |
|
Repeat-Groups. |
69 |
|
|
70 |
|
2010-11-10 Torsten Irlaender <[email protected]> |
71 |
|
|
72 |
|
* formed/formed/plugins/modify/rules.py: Fixed date sequence rule |
73 |
|
checks for date in future. |
74 |
|
|
75 |
|
2010-11-08 Roland Geider <[email protected]> |
76 |
|
|
77 |
|
* formed/formed/plugins/export/xsd.py: validate formedtree.xml |
78 |
|
|
79 |
|
2010-11-08 Roland Geider <[email protected]> |
80 |
|
|
81 |
|
* formed/formed/model/data.py, |
82 |
|
formed/formed/plugins/export/xsd.py, |
83 |
|
formed/formed/config.py: issue1131: generate XSD for case exports |
84 |
|
|
85 |
|
2010-10-21 Torsten Irlaender <[email protected]> |
86 |
|
|
87 |
|
* formed/formed/plugins/export/rules_sh.py: Added new LE-Operator |
88 |
|
* formed/formed/plugins/modify/rules.py: Add error rule to force phase |
89 |
|
relevant datefields not to be "unknown". |
90 |
|
|
91 |
|
2010-10-12 Roland Geider <[email protected]> |
92 |
|
|
93 |
|
* formed/formed/plugins/export/rules_sh.py: Ignore rules if any fields |
94 |
|
in the rule are in a repeat group |
95 |
|
|
96 |
|
2010-10-11 Roland Geider <[email protected]> |
97 |
|
|
98 |
|
* formed/plugins/export/rules_sh.py: Added support to more opperators |
99 |
|
to be able to export the WASKO case |
100 |
|
|
101 |
|
2010-10-06 Torsten Irlaender <[email protected]> |
102 |
|
|
103 |
|
* formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed |
104 |
|
gerating SQL for Rules |
105 |
|
* formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date |
106 |
|
function. |
107 |
|
|
108 |
|
2010-10-05 Torsten Irländer <[email protected]> |
109 |
|
|
110 |
|
* formed/formed/model/data.py: Fixed error when setting tag attribute. |
111 |
|
* formed/formed/plugins/export/rules_sh.py: Added generating exporting |
112 |
|
tagging-xml |
113 |
|
* formed/formed/plugins/modify/rules.py: Do not generate automatic |
114 |
|
tagids for rules. |
115 |
|
|
116 |
|
2010-10-04 Torsten Irländer <[email protected]> |
117 |
|
|
118 |
|
* formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute |
119 |
|
"tag" for rule-leafs |
120 |
|
* formed/formed/config.py: Added export rules as XML to Menu |
121 |
|
* formed/formed/plugins/modify/rules.py |
122 |
|
(GenerateRequiredRules.generateDateSequenceRules): Generate automatic |
123 |
|
tag ids for date-sequence rules |
124 |
|
|
125 |
|
2010-09-30 Torsten Irländer <[email protected]> |
126 |
|
|
127 |
|
* formed/formed/plugins/export/rules_sh.py |
128 |
|
(ExportRulesAsSH.doExport): Filter out duplicted rules. |
129 |
|
|
130 |
|
2010-09-20 Frank Koormann <[email protected]> |
131 |
|
|
132 |
|
* formed/formed/plugins/export/latex.py (RecursiveExporter): |
133 |
|
Add "required"-field information to output and include |
134 |
|
choice list contents. |
135 |
|
|
136 |
|
2010-09-16 Bernhard Herzog <[email protected]> |
137 |
|
|
138 |
|
Avoid database deadlocks that can happen when database clients try |
139 |
|
to work with the same case using two separate database |
140 |
|
connections. See mpuls/issue1145 for details. |
141 |
|
|
142 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
143 |
|
computation of the new json structure description into the new |
144 |
|
database function compute_case_structure |
145 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
146 |
|
the cached json structure description instead of just setting the |
147 |
|
modified flag. This avoids the lazy recomputation that makes what |
148 |
|
seems like a read-only access (calling get_case_structure) into a |
149 |
|
writing access (updates of the cache). The writes lock the row in |
150 |
|
the case_structure table which prevent other connections from |
151 |
|
accessing the same case. As part of this, the delete triggers are |
152 |
|
now AFTER triggers because the repeat groups instance must have |
153 |
|
been removed when the structure is recomputed. |
154 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
155 |
|
trigger, we need to change the way the master id is computed. We |
156 |
|
cannot join with the repeatgroup table in question because the row |
157 |
|
has already been deleted. However, we can use the master_id |
158 |
|
column of the OLD row to select the row of the parent table. |
159 |
|
(create_triggers): Avoid the inner joins with the current repeat |
160 |
|
group for the above mentioned reasons. In the very common case of |
161 |
|
repeat groups which are direct children of the master_tbl, we can |
162 |
|
compare the master_tbl.id directly with the row's master_id. |
163 |
|
|
164 |
|
2010-09-14 Roland Geider <[email protected]> |
165 |
|
|
166 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
167 |
|
formedtree structure |
168 |
|
|
169 |
|
2010-09-01 Roland Geider <[email protected]> |
170 |
|
|
171 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
172 |
|
appearing double. |
173 |
|
The problem was that the way the formEditor handled fields with |
174 |
|
manually created rules changed. Instead of ignoring fields (very |
175 |
|
early behaviour) or always generating them (early behaviour), now the |
176 |
|
formED will only ignore fields with rules which name starts with |
177 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
178 |
|
fields are more complex (e.g. mother's name is only required if |
179 |
|
mother is known). |
180 |
|
|
181 |
|
2010-08-10 Torsten Irländer <[email protected]> |
182 |
|
|
183 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
184 |
|
formedtrees |
185 |
|
|
186 |
|
2010-08-09 Roland Geider <[email protected]> |
187 |
|
|
188 |
|
* formed/model/exprtree.py: fixed typo |
189 |
|
|
190 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
191 |
|
|
192 |
|
* formed/po/de_DE.po: Update translations |
193 |
|
|
194 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
195 |
|
|
196 |
|
* formed/po/formed.pot: Regenerated. |
197 |
|
|
198 |
|
* formed/po/de_DE.po: Update. |
199 |
|
|
200 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
201 |
|
|
202 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
203 |
|
usage message |
204 |
|
|
205 |
2010-08-04 Bernhard Herzog <[email protected]> |
2010-08-04 Bernhard Herzog <[email protected]> |
206 |
|
|
207 |
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |