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