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]> |
206 |
|
|
207 |
|
* formed/model/exprtree.py: fixed typo |
208 |
|
|
209 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
210 |
|
|
211 |
|
* formed/po/de_DE.po: Update translations |
212 |
|
|
213 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
214 |
|
|
215 |
|
* formed/po/formed.pot: Regenerated. |
216 |
|
|
217 |
|
* formed/po/de_DE.po: Update. |
218 |
|
|
219 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
220 |
|
|
221 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
222 |
|
usage message |
223 |
|
|
224 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
225 |
|
|
226 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
227 |
|
the order of entries in the .pot-file more predictable. |
228 |
|
|
229 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
230 |
|
|
231 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
232 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
233 |
|
"version" and accessor methods. |
234 |
|
|
235 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
236 |
|
the user set the document version. |
237 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
238 |
|
|
239 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
240 |
|
|
241 |
|
* formed/formed.py, formed/formed/io/document.py, |
242 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
243 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
244 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
245 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
246 |
|
formed/formed/model/nodecomponents.py, |
247 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
248 |
|
acceptable to both python and Emacs. |
249 |
|
|
250 |
|
2010-07-29 Torsten Irländer <[email protected]> |
251 |
|
|
252 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
253 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
254 |
|
user can not select the value in the user interface. But the db will |
255 |
|
have this option so is ist still present in the db an can be used |
256 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
257 |
|
|
258 |
|
2010-07-26 Roland Geider <[email protected]> |
259 |
|
|
260 |
|
* formed/formed/model/nodecomponents.py, |
261 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
262 |
|
into consideration repeat groups |
263 |
|
|
264 |
|
2010-07-21 Torsten Irländer <[email protected]> |
265 |
|
|
266 |
|
Issue870 |
267 |
|
|
268 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
269 |
|
all headers to the referenced fields. Only list labels of the error |
270 |
|
fields, which should be distinct enough. |
271 |
|
|
272 |
|
Issue851 |
273 |
|
|
274 |
|
* formed/formed/model/data.py |
275 |
|
formed/formed/plugins/export/new_sql.py |
276 |
|
formed/formed/plugins/web/view_renderer.py |
277 |
|
formed/formed/io/document.py |
278 |
|
formed/formed/config.py: Added Float-Field to Formed |
279 |
|
|
280 |
|
2010-06-11 Bernhard Herzog <[email protected]> |
281 |
|
|
282 |
|
* formed/formed/plugins/export/rg_sql.py |
283 |
|
(CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call |
284 |
|
create_master_ds to create the master tbl entry. This way we can |
285 |
|
add SQL code that's specific to an MPuls instance to |
286 |
|
create_master_ds and still have create_master_tbl use that new |
287 |
|
code. This is useful for e.g. the JMD-Struktur part. |
288 |
|
|
289 |
|
2010-06-02 Roland Geider <[email protected]> |
290 |
|
|
291 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
292 |
|
date-sequence-rules unique |
293 |
|
|
294 |
|
2010-06-02 Roland Geider <[email protected]> |
295 |
|
|
296 |
|
* formed/plugins/export/xls.py: updated regular expression |
297 |
|
|
298 |
|
2010-05-17 Frank Koormann <[email protected]> |
299 |
|
|
300 |
|
* formed/formed/plugins/export/latex.py: Improved section labeling. |
301 |
|
|
302 |
|
* formed/formed/plugins/export/xls.py: |
303 |
|
Export references (ie where are the lists used). |
304 |
|
|
305 |
|
2010-04-30 Torsten Irländer <[email protected]> |
306 |
|
|
307 |
|
* formed/formed/plugins/modify/rules.py (VariableType.substitute): Do |
308 |
|
not generate "%"-rules for required fields in repeat-groups. |
309 |
|
|
310 |
|
2010-04-28 Roland Geider <[email protected]> |
311 |
|
|
312 |
|
* formed/plugins/export/xls.py: Radiogroups are exported |
313 |
|
* formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD |
314 |
|
JMD formedtree.xml validates XSD |
315 |
|
|
316 |
|
2010-04-08 Torsten Irländer <[email protected]> |
317 |
|
|
318 |
|
* formed/formed/plugins/modify/rules.py |
319 |
|
(GenerateRequiredRules.generateDateSequenceRules): Add error mark to |
320 |
|
rules. Generete each rule twice to be able to render errors at both |
321 |
|
datefields. |
322 |
|
|
323 |
|
2010-04-07 Torsten Irländer <[email protected]> |
324 |
|
|
325 |
|
* formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. |
326 |
|
|
327 |
|
2010-04-06 Torsten Irländer <[email protected]> |
328 |
|
|
329 |
|
* formed/formed/io/document.py (_toXML): Added comment with |
330 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
331 |
|
* formed/formed/plugins/export/new_sql.py |
332 |
|
(ExportAsSQLFilter.doExport): Added comment with |
333 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
334 |
|
* formed/formed/model/exprtree.py: Added years operator. |
335 |
|
|
336 |
|
2010-03-30 Roland Geider <[email protected]> |
337 |
|
|
338 |
|
* formed/formed/plugins/export/latex.py: Added filter |
339 |
|
|
340 |
|
2010-03-25 Roland Geider <[email protected]> |
341 |
|
|
342 |
|
* formed/formed/plugins/export/xsd.py: Generate valid XML |
343 |
|
|
344 |
|
2010-02-11 Frank Koormann <[email protected]> |
345 |
|
|
346 |
|
* formed/formed/plugins/export/xls.py: Allow groups in choices. |
347 |
|
|
348 |
|
2009-12-02 Torsten Irländer <[email protected]> |
349 |
|
|
350 |
|
* formed/formed/plugins/export/typemap.py: do not ignore conditional |
351 |
|
nodes on traversal. |
352 |
|
|
353 |
|
2009-11-17 Sascha L. Teichmann <[email protected]> |
354 |
|
|
355 |
|
* formed/formed/model/exprtree.py: Recognize '%' vars |
356 |
|
in compilation. Does not eval it! |
357 |
|
|
358 |
|
* formed/formed/plugins/modify/rules.py: Generate '%' vars |
359 |
|
for variables in repeat groups. |
360 |
|
|
361 |
|
2009-11-13 Sascha L. Teichmann <[email protected]> |
362 |
|
|
363 |
|
* formed/formed/plugins/export/typemap.py: Fixed to work |
364 |
|
with new repeat group nodes. |
365 |
|
|
366 |
|
2009-10-28 Sascha L. Teichmann <[email protected]> |
367 |
|
|
368 |
|
* formed/formed/plugins/export/xsd.py, |
369 |
|
formed/formed/plugins/export/sql.py, |
370 |
|
formed/formed/plugins/export/new_sql.py: Allow groups in choices. |
371 |
|
|
372 |
|
2009-10-07 Frank Koormann <[email protected]> |
373 |
|
|
374 |
|
* formed/formed/plugins/export/latex.py: |
375 |
|
Adjusted textprocessing to escape tex-active characters. |
376 |
|
|
377 |
|
2009-10-07 Sascha L. Teichmann <[email protected]> |
378 |
|
|
379 |
|
* formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py, |
380 |
|
formed/formed/plugins/export/html2.py: Adjusted to cope with |
381 |
|
"semi-complete" implementation of logbook tree structure. |
382 |
|
|
383 |
2009-06-18 Torsten Irländer <[email protected]> |
2009-06-18 Torsten Irländer <[email protected]> |
384 |
|
|
385 |
* formed/formed/plugins/export/new_sql.py, |
* formed/formed/plugins/export/new_sql.py, |