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 |
|
* formed/formed/config.py: Added export rules as XML to Menu |
6 |
|
* formed/formed/plugins/modify/rules.py |
7 |
|
(GenerateRequiredRules.generateDateSequenceRules): Generate automatic |
8 |
|
tag ids for date-sequence rules |
9 |
|
|
10 |
|
2010-09-30 Torsten Irländer <[email protected]> |
11 |
|
|
12 |
|
* formed/formed/plugins/export/rules_sh.py |
13 |
|
(ExportRulesAsSH.doExport): Filter out duplicted rules. |
14 |
|
|
15 |
|
2010-09-20 Frank Koormann <[email protected]> |
16 |
|
|
17 |
|
* formed/formed/plugins/export/latex.py (RecursiveExporter): |
18 |
|
Add "required"-field information to output and include |
19 |
|
choice list contents. |
20 |
|
|
21 |
|
2010-09-16 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
|
Avoid database deadlocks that can happen when database clients try |
24 |
|
to work with the same case using two separate database |
25 |
|
connections. See mpuls/issue1145 for details. |
26 |
|
|
27 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
28 |
|
computation of the new json structure description into the new |
29 |
|
database function compute_case_structure |
30 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
31 |
|
the cached json structure description instead of just setting the |
32 |
|
modified flag. This avoids the lazy recomputation that makes what |
33 |
|
seems like a read-only access (calling get_case_structure) into a |
34 |
|
writing access (updates of the cache). The writes lock the row in |
35 |
|
the case_structure table which prevent other connections from |
36 |
|
accessing the same case. As part of this, the delete triggers are |
37 |
|
now AFTER triggers because the repeat groups instance must have |
38 |
|
been removed when the structure is recomputed. |
39 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
40 |
|
trigger, we need to change the way the master id is computed. We |
41 |
|
cannot join with the repeatgroup table in question because the row |
42 |
|
has already been deleted. However, we can use the master_id |
43 |
|
column of the OLD row to select the row of the parent table. |
44 |
|
(create_triggers): Avoid the inner joins with the current repeat |
45 |
|
group for the above mentioned reasons. In the very common case of |
46 |
|
repeat groups which are direct children of the master_tbl, we can |
47 |
|
compare the master_tbl.id directly with the row's master_id. |
48 |
|
|
49 |
|
2010-09-14 Roland Geider <[email protected]> |
50 |
|
|
51 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
52 |
|
formedtree structure |
53 |
|
|
54 |
|
2010-09-01 Roland Geider <[email protected]> |
55 |
|
|
56 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
57 |
|
appearing double. |
58 |
|
The problem was that the way the formEditor handled fields with |
59 |
|
manually created rules changed. Instead of ignoring fields (very |
60 |
|
early behaviour) or always generating them (early behaviour), now the |
61 |
|
formED will only ignore fields with rules which name starts with |
62 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
63 |
|
fields are more complex (e.g. mother's name is only required if |
64 |
|
mother is known). |
65 |
|
|
66 |
|
2010-08-10 Torsten Irländer <[email protected]> |
67 |
|
|
68 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
69 |
|
formedtrees |
70 |
|
|
71 |
|
2010-08-09 Roland Geider <[email protected]> |
72 |
|
|
73 |
|
* formed/model/exprtree.py: fixed typo |
74 |
|
|
75 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
76 |
|
|
77 |
|
* formed/po/de_DE.po: Update translations |
78 |
|
|
79 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
80 |
|
|
81 |
|
* formed/po/formed.pot: Regenerated. |
82 |
|
|
83 |
|
* formed/po/de_DE.po: Update. |
84 |
|
|
85 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
88 |
|
usage message |
89 |
|
|
90 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
91 |
|
|
92 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
93 |
|
the order of entries in the .pot-file more predictable. |
94 |
|
|
95 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
96 |
|
|
97 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
98 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
99 |
|
"version" and accessor methods. |
100 |
|
|
101 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
102 |
|
the user set the document version. |
103 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
104 |
|
|
105 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
106 |
|
|
107 |
|
* formed/formed.py, formed/formed/io/document.py, |
108 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
109 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
110 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
111 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
112 |
|
formed/formed/model/nodecomponents.py, |
113 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
114 |
|
acceptable to both python and Emacs. |
115 |
|
|
116 |
|
2010-07-29 Torsten Irländer <[email protected]> |
117 |
|
|
118 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
119 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
120 |
|
user can not select the value in the user interface. But the db will |
121 |
|
have this option so is ist still present in the db an can be used |
122 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
123 |
|
|
124 |
|
2010-07-26 Roland Geider <[email protected]> |
125 |
|
|
126 |
|
* formed/formed/model/nodecomponents.py, |
127 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
128 |
|
into consideration repeat groups |
129 |
|
|
130 |
|
2010-07-21 Torsten Irländer <[email protected]> |
131 |
|
|
132 |
|
Issue870 |
133 |
|
|
134 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
135 |
|
all headers to the referenced fields. Only list labels of the error |
136 |
|
fields, which should be distinct enough. |
137 |
|
|
138 |
|
Issue851 |
139 |
|
|
140 |
|
* formed/formed/model/data.py |
141 |
|
formed/formed/plugins/export/new_sql.py |
142 |
|
formed/formed/plugins/web/view_renderer.py |
143 |
|
formed/formed/io/document.py |
144 |
|
formed/formed/config.py: Added Float-Field to Formed |
145 |
|
|
146 |
2010-06-11 Bernhard Herzog <[email protected]> |
2010-06-11 Bernhard Herzog <[email protected]> |
147 |
|
|
148 |
* formed/formed/plugins/export/rg_sql.py |
* formed/formed/plugins/export/rg_sql.py |
154 |
|
|
155 |
2010-06-02 Roland Geider <[email protected]> |
2010-06-02 Roland Geider <[email protected]> |
156 |
|
|
157 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
158 |
|
date-sequence-rules unique |
159 |
|
|
160 |
|
2010-06-02 Roland Geider <[email protected]> |
161 |
|
|
162 |
* formed/plugins/export/xls.py: updated regular expression |
* formed/plugins/export/xls.py: updated regular expression |
163 |
|
|
164 |
2010-05-17 Frank Koormann <[email protected]> |
2010-05-17 Frank Koormann <[email protected]> |