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