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