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