1 |
|
2010-10-11 Roland Geider <[email protected]> |
2 |
|
|
3 |
|
* formed/plugins/export/rules_sh.py: Added support to more opperators |
4 |
|
to be able to export the WASKO case |
5 |
|
|
6 |
|
2010-10-06 Torsten Irlaender <[email protected]> |
7 |
|
|
8 |
|
* formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed |
9 |
|
gerating SQL for Rules |
10 |
|
* formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date |
11 |
|
function. |
12 |
|
|
13 |
|
2010-10-05 Torsten Irländer <[email protected]> |
14 |
|
|
15 |
|
* formed/formed/model/data.py: Fixed error when setting tag attribute. |
16 |
|
* formed/formed/plugins/export/rules_sh.py: Added generating exporting |
17 |
|
tagging-xml |
18 |
|
* formed/formed/plugins/modify/rules.py: Do not generate automatic |
19 |
|
tagids for rules. |
20 |
|
|
21 |
|
2010-10-04 Torsten Irländer <[email protected]> |
22 |
|
|
23 |
|
* formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute |
24 |
|
"tag" for rule-leafs |
25 |
|
* formed/formed/config.py: Added export rules as XML to Menu |
26 |
|
* formed/formed/plugins/modify/rules.py |
27 |
|
(GenerateRequiredRules.generateDateSequenceRules): Generate automatic |
28 |
|
tag ids for date-sequence rules |
29 |
|
|
30 |
|
2010-09-30 Torsten Irländer <[email protected]> |
31 |
|
|
32 |
|
* formed/formed/plugins/export/rules_sh.py |
33 |
|
(ExportRulesAsSH.doExport): Filter out duplicted rules. |
34 |
|
|
35 |
|
2010-09-20 Frank Koormann <[email protected]> |
36 |
|
|
37 |
|
* formed/formed/plugins/export/latex.py (RecursiveExporter): |
38 |
|
Add "required"-field information to output and include |
39 |
|
choice list contents. |
40 |
|
|
41 |
|
2010-09-16 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
|
Avoid database deadlocks that can happen when database clients try |
44 |
|
to work with the same case using two separate database |
45 |
|
connections. See mpuls/issue1145 for details. |
46 |
|
|
47 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
48 |
|
computation of the new json structure description into the new |
49 |
|
database function compute_case_structure |
50 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
51 |
|
the cached json structure description instead of just setting the |
52 |
|
modified flag. This avoids the lazy recomputation that makes what |
53 |
|
seems like a read-only access (calling get_case_structure) into a |
54 |
|
writing access (updates of the cache). The writes lock the row in |
55 |
|
the case_structure table which prevent other connections from |
56 |
|
accessing the same case. As part of this, the delete triggers are |
57 |
|
now AFTER triggers because the repeat groups instance must have |
58 |
|
been removed when the structure is recomputed. |
59 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
60 |
|
trigger, we need to change the way the master id is computed. We |
61 |
|
cannot join with the repeatgroup table in question because the row |
62 |
|
has already been deleted. However, we can use the master_id |
63 |
|
column of the OLD row to select the row of the parent table. |
64 |
|
(create_triggers): Avoid the inner joins with the current repeat |
65 |
|
group for the above mentioned reasons. In the very common case of |
66 |
|
repeat groups which are direct children of the master_tbl, we can |
67 |
|
compare the master_tbl.id directly with the row's master_id. |
68 |
|
|
69 |
|
2010-09-14 Roland Geider <[email protected]> |
70 |
|
|
71 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
72 |
|
formedtree structure |
73 |
|
|
74 |
|
2010-09-01 Roland Geider <[email protected]> |
75 |
|
|
76 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
77 |
|
appearing double. |
78 |
|
The problem was that the way the formEditor handled fields with |
79 |
|
manually created rules changed. Instead of ignoring fields (very |
80 |
|
early behaviour) or always generating them (early behaviour), now the |
81 |
|
formED will only ignore fields with rules which name starts with |
82 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
83 |
|
fields are more complex (e.g. mother's name is only required if |
84 |
|
mother is known). |
85 |
|
|
86 |
|
2010-08-10 Torsten Irländer <[email protected]> |
87 |
|
|
88 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
89 |
|
formedtrees |
90 |
|
|
91 |
2010-08-09 Roland Geider <[email protected]> |
2010-08-09 Roland Geider <[email protected]> |
92 |
|
|
93 |
* formed/model/exprtree.py: fixed typo |
* formed/model/exprtree.py: fixed typo |