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