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]> |
63 |
|
|
64 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
65 |
|
formedtrees |
66 |
|
|
67 |
|
2010-08-09 Roland Geider <[email protected]> |
68 |
|
|
69 |
|
* formed/model/exprtree.py: fixed typo |
70 |
|
|
71 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
72 |
|
|
73 |
|
* formed/po/de_DE.po: Update translations |
74 |
|
|
75 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
76 |
|
|
77 |
|
* formed/po/formed.pot: Regenerated. |
78 |
|
|
79 |
|
* formed/po/de_DE.po: Update. |
80 |
|
|
81 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
82 |
|
|
83 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
84 |
|
usage message |
85 |
|
|
86 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
87 |
|
|
88 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
89 |
|
the order of entries in the .pot-file more predictable. |
90 |
|
|
91 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
92 |
|
|
93 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
94 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
95 |
|
"version" and accessor methods. |
96 |
|
|
97 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
98 |
|
the user set the document version. |
99 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
100 |
|
|
101 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
102 |
|
|
103 |
|
* formed/formed.py, formed/formed/io/document.py, |
104 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
105 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
106 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
107 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
108 |
|
formed/formed/model/nodecomponents.py, |
109 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
110 |
|
acceptable to both python and Emacs. |
111 |
|
|
112 |
|
2010-07-29 Torsten Irländer <[email protected]> |
113 |
|
|
114 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
115 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
116 |
|
user can not select the value in the user interface. But the db will |
117 |
|
have this option so is ist still present in the db an can be used |
118 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
119 |
|
|
120 |
|
2010-07-26 Roland Geider <[email protected]> |
121 |
|
|
122 |
|
* formed/formed/model/nodecomponents.py, |
123 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
124 |
|
into consideration repeat groups |
125 |
|
|
126 |
|
2010-07-21 Torsten Irländer <[email protected]> |
127 |
|
|
128 |
|
Issue870 |
129 |
|
|
130 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
131 |
|
all headers to the referenced fields. Only list labels of the error |
132 |
|
fields, which should be distinct enough. |
133 |
|
|
134 |
|
Issue851 |
135 |
|
|
136 |
|
* formed/formed/model/data.py |
137 |
|
formed/formed/plugins/export/new_sql.py |
138 |
|
formed/formed/plugins/web/view_renderer.py |
139 |
|
formed/formed/io/document.py |
140 |
|
formed/formed/config.py: Added Float-Field to Formed |
141 |
|
|
142 |
|
2010-06-11 Bernhard Herzog <[email protected]> |
143 |
|
|
144 |
|
* formed/formed/plugins/export/rg_sql.py |
145 |
|
(CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call |
146 |
|
create_master_ds to create the master tbl entry. This way we can |
147 |
|
add SQL code that's specific to an MPuls instance to |
148 |
|
create_master_ds and still have create_master_tbl use that new |
149 |
|
code. This is useful for e.g. the JMD-Struktur part. |
150 |
|
|
151 |
|
2010-06-02 Roland Geider <[email protected]> |
152 |
|
|
153 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
154 |
|
date-sequence-rules unique |
155 |
|
|
156 |
|
2010-06-02 Roland Geider <[email protected]> |
157 |
|
|
158 |
|
* formed/plugins/export/xls.py: updated regular expression |
159 |
|
|
160 |
|
2010-05-17 Frank Koormann <[email protected]> |
161 |
|
|
162 |
|
* formed/formed/plugins/export/latex.py: Improved section labeling. |
163 |
|
|
164 |
|
* formed/formed/plugins/export/xls.py: |
165 |
|
Export references (ie where are the lists used). |
166 |
|
|
167 |
|
2010-04-30 Torsten Irländer <[email protected]> |
168 |
|
|
169 |
|
* formed/formed/plugins/modify/rules.py (VariableType.substitute): Do |
170 |
|
not generate "%"-rules for required fields in repeat-groups. |
171 |
|
|
172 |
|
2010-04-28 Roland Geider <[email protected]> |
173 |
|
|
174 |
|
* formed/plugins/export/xls.py: Radiogroups are exported |
175 |
|
* formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD |
176 |
|
JMD formedtree.xml validates XSD |
177 |
|
|
178 |
|
2010-04-08 Torsten Irländer <[email protected]> |
179 |
|
|
180 |
|
* formed/formed/plugins/modify/rules.py |
181 |
|
(GenerateRequiredRules.generateDateSequenceRules): Add error mark to |
182 |
|
rules. Generete each rule twice to be able to render errors at both |
183 |
|
datefields. |
184 |
|
|
185 |
|
2010-04-07 Torsten Irländer <[email protected]> |
186 |
|
|
187 |
|
* formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. |
188 |
|
|
189 |
|
2010-04-06 Torsten Irländer <[email protected]> |
190 |
|
|
191 |
|
* formed/formed/io/document.py (_toXML): Added comment with |
192 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
193 |
|
* formed/formed/plugins/export/new_sql.py |
194 |
|
(ExportAsSQLFilter.doExport): Added comment with |
195 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
196 |
|
* formed/formed/model/exprtree.py: Added years operator. |
197 |
|
|
198 |
|
2010-03-30 Roland Geider <[email protected]> |
199 |
|
|
200 |
|
* formed/formed/plugins/export/latex.py: Added filter |
201 |
|
|
202 |
|
2010-03-25 Roland Geider <[email protected]> |
203 |
|
|
204 |
|
* formed/formed/plugins/export/xsd.py: Generate valid XML |
205 |
|
|
206 |
|
2010-02-11 Frank Koormann <[email protected]> |
207 |
|
|
208 |
|
* formed/formed/plugins/export/xls.py: Allow groups in choices. |
209 |
|
|
210 |
|
2009-12-02 Torsten Irländer <[email protected]> |
211 |
|
|
212 |
|
* formed/formed/plugins/export/typemap.py: do not ignore conditional |
213 |
|
nodes on traversal. |
214 |
|
|
215 |
|
2009-11-17 Sascha L. Teichmann <[email protected]> |
216 |
|
|
217 |
|
* formed/formed/model/exprtree.py: Recognize '%' vars |
218 |
|
in compilation. Does not eval it! |
219 |
|
|
220 |
|
* formed/formed/plugins/modify/rules.py: Generate '%' vars |
221 |
|
for variables in repeat groups. |
222 |
|
|
223 |
|
2009-11-13 Sascha L. Teichmann <[email protected]> |
224 |
|
|
225 |
|
* formed/formed/plugins/export/typemap.py: Fixed to work |
226 |
|
with new repeat group nodes. |
227 |
|
|
228 |
|
2009-10-28 Sascha L. Teichmann <[email protected]> |
229 |
|
|
230 |
|
* formed/formed/plugins/export/xsd.py, |
231 |
|
formed/formed/plugins/export/sql.py, |
232 |
|
formed/formed/plugins/export/new_sql.py: Allow groups in choices. |
233 |
|
|
234 |
|
2009-10-07 Frank Koormann <[email protected]> |
235 |
|
|
236 |
|
* formed/formed/plugins/export/latex.py: |
237 |
|
Adjusted textprocessing to escape tex-active characters. |
238 |
|
|
239 |
|
2009-10-07 Sascha L. Teichmann <[email protected]> |
240 |
|
|
241 |
|
* formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py, |
242 |
|
formed/formed/plugins/export/html2.py: Adjusted to cope with |
243 |
|
"semi-complete" implementation of logbook tree structure. |
244 |
|
|
245 |
|
2009-06-18 Torsten Irländer <[email protected]> |
246 |
|
|
247 |
|
* formed/formed/plugins/export/new_sql.py, |
248 |
|
formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and |
249 |
|
added permissions. |
250 |
|
|
251 |
|
2009-06-18 Torsten Irländer <[email protected]> |
252 |
|
|
253 |
|
* formed/formed/plugins/export/new_sql.py: Commented out generation of |
254 |
|
page_views, as they do not work with rgroups. |
255 |
|
|
256 |
2009-06-17 Torsten Irländer <[email protected]> |
2009-06-17 Torsten Irländer <[email protected]> |
257 |
|
|
258 |
* formed/formed/plugins/export/new_sql.py: Fixed anonymize function |
* formed/formed/plugins/export/new_sql.py: Fixed anonymize function |