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