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