1 |
|
2011-01-11 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/model/exprtree.py: Added List-Node and Contains |
4 |
|
function. |
5 |
|
|
6 |
|
2010-12-27 Torsten Irlaender <[email protected]> |
7 |
|
|
8 |
|
* formed/formed/model/data.py (WidgetCollector.visitor): Removed |
9 |
|
clause to ignore Repeatgroups. |
10 |
|
|
11 |
|
2010-12-13 Torsten Irlaender <[email protected]> |
12 |
|
|
13 |
|
* formed/formed/model/data.py (GroupNode.isRepeat): Issue1565: Fixed |
14 |
|
isRepeat function. Check typ instead of repeat attribute. Removed |
15 |
|
setRepeat function (not used anywhere) |
16 |
|
|
17 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
18 |
|
|
19 |
|
* formed/formed/plugins/export/rules_sh.py (generate_tagging): |
20 |
|
Remove unused variable "inserts" and corresponding commented out |
21 |
|
code. |
22 |
|
|
23 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
* formed/formed/plugins/export/rules_sh.py: Remove some commented |
26 |
|
out code. |
27 |
|
|
28 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* formed/formed/plugins/export/rules_sh.py: expand star-import. |
31 |
|
|
32 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
* formed/formed/plugins/export/rules_sh.py (sql_OperatorUnary): |
35 |
|
Put parentheses around the comparison for the KNOWN operator in |
36 |
|
the generated SQL to ensure correct evaluation order. |
37 |
|
|
38 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
39 |
|
|
40 |
|
* formed/formed/plugins/export/rules_sh.py (binary_operator_map): |
41 |
|
New. Map binary formed expr operators to their SQL counterparts. |
42 |
|
(sql_OperatorBinary): Use binary_operator_map instead of a cascade |
43 |
|
of if-statements with lots of code duplication. Also, put |
44 |
|
parentheses around the resulting SQL expression to make sure the |
45 |
|
expression is correctly. This fixes a problem with WASKO tagging |
46 |
|
rules, where the a FormEd expression of the form like "2 1 1980 |
47 |
|
date 1 1 1980 date - 93 *" would be incorrectly converted to the |
48 |
|
SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date" |
49 |
|
|
50 |
|
2010-11-24 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* formed/formed/plugins/export/rules_sh.py: Fix formatting. |
53 |
|
|
54 |
|
2010-11-15 Torsten Irlaender <[email protected]> |
55 |
|
|
56 |
|
* formed/formed/model/data.py: Do not set attribute "repeat" for |
57 |
|
Repeat-Groups. |
58 |
|
|
59 |
|
2010-11-10 Torsten Irlaender <[email protected]> |
60 |
|
|
61 |
|
* formed/formed/plugins/modify/rules.py: Fixed date sequence rule |
62 |
|
checks for date in future. |
63 |
|
|
64 |
|
2010-11-08 Roland Geider <[email protected]> |
65 |
|
|
66 |
|
* formed/formed/plugins/export/xsd.py: validate formedtree.xml |
67 |
|
|
68 |
|
2010-11-08 Roland Geider <[email protected]> |
69 |
|
|
70 |
|
* formed/formed/model/data.py, |
71 |
|
formed/formed/plugins/export/xsd.py, |
72 |
|
formed/formed/config.py: issue1131: generate XSD for case exports |
73 |
|
|
74 |
|
2010-10-21 Torsten Irlaender <[email protected]> |
75 |
|
|
76 |
|
* formed/formed/plugins/export/rules_sh.py: Added new LE-Operator |
77 |
|
* formed/formed/plugins/modify/rules.py: Add error rule to force phase |
78 |
|
relevant datefields not to be "unknown". |
79 |
|
|
80 |
|
2010-10-12 Roland Geider <[email protected]> |
81 |
|
|
82 |
|
* formed/formed/plugins/export/rules_sh.py: Ignore rules if any fields |
83 |
|
in the rule are in a repeat group |
84 |
|
|
85 |
|
2010-10-11 Roland Geider <[email protected]> |
86 |
|
|
87 |
|
* formed/plugins/export/rules_sh.py: Added support to more opperators |
88 |
|
to be able to export the WASKO case |
89 |
|
|
90 |
|
2010-10-06 Torsten Irlaender <[email protected]> |
91 |
|
|
92 |
|
* formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed |
93 |
|
gerating SQL for Rules |
94 |
|
* formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date |
95 |
|
function. |
96 |
|
|
97 |
|
2010-10-05 Torsten Irländer <[email protected]> |
98 |
|
|
99 |
|
* formed/formed/model/data.py: Fixed error when setting tag attribute. |
100 |
|
* formed/formed/plugins/export/rules_sh.py: Added generating exporting |
101 |
|
tagging-xml |
102 |
|
* formed/formed/plugins/modify/rules.py: Do not generate automatic |
103 |
|
tagids for rules. |
104 |
|
|
105 |
|
2010-10-04 Torsten Irländer <[email protected]> |
106 |
|
|
107 |
|
* formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute |
108 |
|
"tag" for rule-leafs |
109 |
|
* formed/formed/config.py: Added export rules as XML to Menu |
110 |
|
* formed/formed/plugins/modify/rules.py |
111 |
|
(GenerateRequiredRules.generateDateSequenceRules): Generate automatic |
112 |
|
tag ids for date-sequence rules |
113 |
|
|
114 |
|
2010-09-30 Torsten Irländer <[email protected]> |
115 |
|
|
116 |
|
* formed/formed/plugins/export/rules_sh.py |
117 |
|
(ExportRulesAsSH.doExport): Filter out duplicted rules. |
118 |
|
|
119 |
|
2010-09-20 Frank Koormann <[email protected]> |
120 |
|
|
121 |
|
* formed/formed/plugins/export/latex.py (RecursiveExporter): |
122 |
|
Add "required"-field information to output and include |
123 |
|
choice list contents. |
124 |
|
|
125 |
|
2010-09-16 Bernhard Herzog <[email protected]> |
126 |
|
|
127 |
|
Avoid database deadlocks that can happen when database clients try |
128 |
|
to work with the same case using two separate database |
129 |
|
connections. See mpuls/issue1145 for details. |
130 |
|
|
131 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
132 |
|
computation of the new json structure description into the new |
133 |
|
database function compute_case_structure |
134 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
135 |
|
the cached json structure description instead of just setting the |
136 |
|
modified flag. This avoids the lazy recomputation that makes what |
137 |
|
seems like a read-only access (calling get_case_structure) into a |
138 |
|
writing access (updates of the cache). The writes lock the row in |
139 |
|
the case_structure table which prevent other connections from |
140 |
|
accessing the same case. As part of this, the delete triggers are |
141 |
|
now AFTER triggers because the repeat groups instance must have |
142 |
|
been removed when the structure is recomputed. |
143 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
144 |
|
trigger, we need to change the way the master id is computed. We |
145 |
|
cannot join with the repeatgroup table in question because the row |
146 |
|
has already been deleted. However, we can use the master_id |
147 |
|
column of the OLD row to select the row of the parent table. |
148 |
|
(create_triggers): Avoid the inner joins with the current repeat |
149 |
|
group for the above mentioned reasons. In the very common case of |
150 |
|
repeat groups which are direct children of the master_tbl, we can |
151 |
|
compare the master_tbl.id directly with the row's master_id. |
152 |
|
|
153 |
|
2010-09-14 Roland Geider <[email protected]> |
154 |
|
|
155 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
156 |
|
formedtree structure |
157 |
|
|
158 |
|
2010-09-01 Roland Geider <[email protected]> |
159 |
|
|
160 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
161 |
|
appearing double. |
162 |
|
The problem was that the way the formEditor handled fields with |
163 |
|
manually created rules changed. Instead of ignoring fields (very |
164 |
|
early behaviour) or always generating them (early behaviour), now the |
165 |
|
formED will only ignore fields with rules which name starts with |
166 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
167 |
|
fields are more complex (e.g. mother's name is only required if |
168 |
|
mother is known). |
169 |
|
|
170 |
|
2010-08-10 Torsten Irländer <[email protected]> |
171 |
|
|
172 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
173 |
|
formedtrees |
174 |
|
|
175 |
|
2010-08-09 Roland Geider <[email protected]> |
176 |
|
|
177 |
|
* formed/model/exprtree.py: fixed typo |
178 |
|
|
179 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
180 |
|
|
181 |
|
* formed/po/de_DE.po: Update translations |
182 |
|
|
183 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
184 |
|
|
185 |
|
* formed/po/formed.pot: Regenerated. |
186 |
|
|
187 |
|
* formed/po/de_DE.po: Update. |
188 |
|
|
189 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
190 |
|
|
191 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
192 |
|
usage message |
193 |
|
|
194 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
195 |
|
|
196 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
197 |
|
the order of entries in the .pot-file more predictable. |
198 |
|
|
199 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
200 |
|
|
201 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
202 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
203 |
|
"version" and accessor methods. |
204 |
|
|
205 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
206 |
|
the user set the document version. |
207 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
208 |
|
|
209 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
210 |
|
|
211 |
|
* formed/formed.py, formed/formed/io/document.py, |
212 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
213 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
214 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
215 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
216 |
|
formed/formed/model/nodecomponents.py, |
217 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
218 |
|
acceptable to both python and Emacs. |
219 |
|
|
220 |
|
2010-07-29 Torsten Irländer <[email protected]> |
221 |
|
|
222 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
223 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
224 |
|
user can not select the value in the user interface. But the db will |
225 |
|
have this option so is ist still present in the db an can be used |
226 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
227 |
|
|
228 |
|
2010-07-26 Roland Geider <[email protected]> |
229 |
|
|
230 |
|
* formed/formed/model/nodecomponents.py, |
231 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
232 |
|
into consideration repeat groups |
233 |
|
|
234 |
|
2010-07-21 Torsten Irländer <[email protected]> |
235 |
|
|
236 |
|
Issue870 |
237 |
|
|
238 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
239 |
|
all headers to the referenced fields. Only list labels of the error |
240 |
|
fields, which should be distinct enough. |
241 |
|
|
242 |
|
Issue851 |
243 |
|
|
244 |
|
* formed/formed/model/data.py |
245 |
|
formed/formed/plugins/export/new_sql.py |
246 |
|
formed/formed/plugins/web/view_renderer.py |
247 |
|
formed/formed/io/document.py |
248 |
|
formed/formed/config.py: Added Float-Field to Formed |
249 |
|
|
250 |
|
2010-06-11 Bernhard Herzog <[email protected]> |
251 |
|
|
252 |
|
* formed/formed/plugins/export/rg_sql.py |
253 |
|
(CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call |
254 |
|
create_master_ds to create the master tbl entry. This way we can |
255 |
|
add SQL code that's specific to an MPuls instance to |
256 |
|
create_master_ds and still have create_master_tbl use that new |
257 |
|
code. This is useful for e.g. the JMD-Struktur part. |
258 |
|
|
259 |
|
2010-06-02 Roland Geider <[email protected]> |
260 |
|
|
261 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
262 |
|
date-sequence-rules unique |
263 |
|
|
264 |
|
2010-06-02 Roland Geider <[email protected]> |
265 |
|
|
266 |
|
* formed/plugins/export/xls.py: updated regular expression |
267 |
|
|
268 |
|
2010-05-17 Frank Koormann <[email protected]> |
269 |
|
|
270 |
|
* formed/formed/plugins/export/latex.py: Improved section labeling. |
271 |
|
|
272 |
|
* formed/formed/plugins/export/xls.py: |
273 |
|
Export references (ie where are the lists used). |
274 |
|
|
275 |
|
2010-04-30 Torsten Irländer <[email protected]> |
276 |
|
|
277 |
|
* formed/formed/plugins/modify/rules.py (VariableType.substitute): Do |
278 |
|
not generate "%"-rules for required fields in repeat-groups. |
279 |
|
|
280 |
|
2010-04-28 Roland Geider <[email protected]> |
281 |
|
|
282 |
|
* formed/plugins/export/xls.py: Radiogroups are exported |
283 |
|
* formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD |
284 |
|
JMD formedtree.xml validates XSD |
285 |
|
|
286 |
|
2010-04-08 Torsten Irländer <[email protected]> |
287 |
|
|
288 |
|
* formed/formed/plugins/modify/rules.py |
289 |
|
(GenerateRequiredRules.generateDateSequenceRules): Add error mark to |
290 |
|
rules. Generete each rule twice to be able to render errors at both |
291 |
|
datefields. |
292 |
|
|
293 |
|
2010-04-07 Torsten Irländer <[email protected]> |
294 |
|
|
295 |
|
* formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. |
296 |
|
|
297 |
|
2010-04-06 Torsten Irländer <[email protected]> |
298 |
|
|
299 |
|
* formed/formed/io/document.py (_toXML): Added comment with |
300 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
301 |
|
* formed/formed/plugins/export/new_sql.py |
302 |
|
(ExportAsSQLFilter.doExport): Added comment with |
303 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
304 |
|
* formed/formed/model/exprtree.py: Added years operator. |
305 |
|
|
306 |
|
2010-03-30 Roland Geider <[email protected]> |
307 |
|
|
308 |
|
* formed/formed/plugins/export/latex.py: Added filter |
309 |
|
|
310 |
|
2010-03-25 Roland Geider <[email protected]> |
311 |
|
|
312 |
|
* formed/formed/plugins/export/xsd.py: Generate valid XML |
313 |
|
|
314 |
|
2010-02-11 Frank Koormann <[email protected]> |
315 |
|
|
316 |
|
* formed/formed/plugins/export/xls.py: Allow groups in choices. |
317 |
|
|
318 |
|
2009-12-02 Torsten Irländer <[email protected]> |
319 |
|
|
320 |
|
* formed/formed/plugins/export/typemap.py: do not ignore conditional |
321 |
|
nodes on traversal. |
322 |
|
|
323 |
|
2009-11-17 Sascha L. Teichmann <[email protected]> |
324 |
|
|
325 |
|
* formed/formed/model/exprtree.py: Recognize '%' vars |
326 |
|
in compilation. Does not eval it! |
327 |
|
|
328 |
|
* formed/formed/plugins/modify/rules.py: Generate '%' vars |
329 |
|
for variables in repeat groups. |
330 |
|
|
331 |
|
2009-11-13 Sascha L. Teichmann <[email protected]> |
332 |
|
|
333 |
|
* formed/formed/plugins/export/typemap.py: Fixed to work |
334 |
|
with new repeat group nodes. |
335 |
|
|
336 |
|
2009-10-28 Sascha L. Teichmann <[email protected]> |
337 |
|
|
338 |
|
* formed/formed/plugins/export/xsd.py, |
339 |
|
formed/formed/plugins/export/sql.py, |
340 |
|
formed/formed/plugins/export/new_sql.py: Allow groups in choices. |
341 |
|
|
342 |
|
2009-10-07 Frank Koormann <[email protected]> |
343 |
|
|
344 |
|
* formed/formed/plugins/export/latex.py: |
345 |
|
Adjusted textprocessing to escape tex-active characters. |
346 |
|
|
347 |
|
2009-10-07 Sascha L. Teichmann <[email protected]> |
348 |
|
|
349 |
|
* formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py, |
350 |
|
formed/formed/plugins/export/html2.py: Adjusted to cope with |
351 |
|
"semi-complete" implementation of logbook tree structure. |
352 |
|
|
353 |
|
2009-06-18 Torsten Irländer <[email protected]> |
354 |
|
|
355 |
|
* formed/formed/plugins/export/new_sql.py, |
356 |
|
formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and |
357 |
|
added permissions. |
358 |
|
|
359 |
|
2009-06-18 Torsten Irländer <[email protected]> |
360 |
|
|
361 |
|
* formed/formed/plugins/export/new_sql.py: Commented out generation of |
362 |
|
page_views, as they do not work with rgroups. |
363 |
|
|
364 |
|
2009-06-17 Torsten Irländer <[email protected]> |
365 |
|
|
366 |
|
* formed/formed/plugins/export/new_sql.py: Fixed anonymize function |
367 |
|
and rolenames. |
368 |
|
|
369 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
370 |
|
|
371 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
372 |
|
|
373 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
374 |
|
|
375 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
376 |
|
|
377 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
378 |
|
|
379 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
380 |
|
nodecomponent names. |
381 |
|
|
382 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
383 |
|
|
384 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
385 |
|
repeat groups if no uuid is given. If a uuid is given then |
386 |
|
the creation is triggered by an xml import. |
387 |
|
|
388 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
389 |
|
|
390 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
391 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
392 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
393 |
|
|
394 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
395 |
|
The old one is deactivated. |
396 |
|
|
397 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
398 |
|
|
399 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
400 |
|
|
401 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
402 |
|
TODO: Adjust execution rights. |
403 |
|
|
404 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
405 |
|
|
406 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
407 |
|
Add functions to create dataset. |
408 |
|
|
409 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
410 |
|
|
411 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
412 |
|
tree structure functions in database. |
413 |
|
|
414 |
|
* formed/formed/config.py: load plug-in. |
415 |
|
|
416 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
417 |
|
|
418 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
419 |
|
RepeatNode. Removed needless methods |
420 |
|
|
421 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
422 |
|
|
423 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
424 |
|
more readable with '=' and '<>'. |
425 |
|
|
426 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
427 |
|
|
428 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
429 |
|
of uuid on anonymization of case. |
430 |
|
|
431 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
432 |
|
|
433 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
434 |
|
case_anonymize(). |
435 |
|
|
436 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
437 |
|
|
438 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
439 |
|
the trees infix. |
440 |
|
|
441 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
442 |
|
readable rules. |
443 |
|
|
444 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
445 |
|
|
446 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
447 |
|
|
448 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
449 |
|
|
450 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
451 |
|
exceptions if there is less or more than one element on stack |
452 |
|
after compilation of expression. |
453 |
|
|
454 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
455 |
|
|
456 |
|
* formed/formed/model/data.py: Removed debug output |
457 |
|
|
458 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
459 |
|
Generate past and future rules. |
460 |
|
|
461 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
462 |
|
|
463 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
464 |
|
|
465 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
466 |
|
|
467 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
468 |
|
|
469 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
470 |
|
|
471 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
472 |
|
|
473 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
474 |
|
|
475 |
|
* formed/formed/model/data.py: Added ConditionalNode |
476 |
|
|
477 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
478 |
|
|
479 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
480 |
|
|
481 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
482 |
|
in date sequence rules more precise. |
483 |
|
|
484 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
485 |
|
|
486 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
487 |
|
|
488 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
489 |
|
|
490 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
491 |
|
|
492 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
493 |
|
Adjusted imports. |
494 |
|
|
495 |
|
2009-03-12 Torsten Irländer <[email protected]> |
496 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
497 |
|
|
498 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
499 |
|
|
500 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
501 |
|
|
502 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
503 |
|
|
504 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
505 |
|
|
506 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
507 |
|
nodecomponent names. |
508 |
|
|
509 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
510 |
|
|
511 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
512 |
|
repeat groups if no uuid is given. If a uuid is given then |
513 |
|
the creation is triggered by an xml import. |
514 |
|
|
515 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
516 |
|
|
517 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
518 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
519 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
520 |
|
|
521 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
522 |
|
The old one is deactivated. |
523 |
|
|
524 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
525 |
|
|
526 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
527 |
|
|
528 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
529 |
|
TODO: Adjust execution rights. |
530 |
|
|
531 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
532 |
|
|
533 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
534 |
|
Add functions to create dataset. |
535 |
|
|
536 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
537 |
|
|
538 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
539 |
|
tree structure functions in database. |
540 |
|
|
541 |
|
* formed/formed/config.py: load plug-in. |
542 |
|
|
543 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
544 |
|
|
545 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
546 |
|
RepeatNode. Removed needless methods |
547 |
|
|
548 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
549 |
|
|
550 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
551 |
|
more readable with '=' and '<>'. |
552 |
|
|
553 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
554 |
|
|
555 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
556 |
|
of uuid on anonymization of case. |
557 |
|
|
558 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
559 |
|
|
560 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
561 |
|
case_anonymize(). |
562 |
|
|
563 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
564 |
|
|
565 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
566 |
|
the trees infix. |
567 |
|
|
568 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
569 |
|
readable rules. |
570 |
|
|
571 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
572 |
|
|
573 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
574 |
|
|
575 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
576 |
|
|
577 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
578 |
|
exceptions if there is less or more than one element on stack |
579 |
|
after compilation of expression. |
580 |
|
|
581 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
582 |
|
|
583 |
|
* formed/formed/model/data.py: Removed debug output |
584 |
|
|
585 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
586 |
|
Generate past and future rules. |
587 |
|
|
588 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
589 |
|
|
590 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
591 |
|
|
592 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
593 |
|
|
594 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
595 |
|
|
596 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
597 |
|
|
598 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
599 |
|
|
600 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
601 |
|
|
602 |
|
* formed/formed/model/data.py: Added ConditionalNode |
603 |
|
|
604 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
605 |
|
|
606 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
607 |
|
|
608 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
609 |
|
in date sequence rules more precise. |
610 |
|
|
611 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
612 |
|
|
613 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
614 |
|
|
615 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
616 |
|
|
617 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
618 |
|
|
619 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
620 |
|
Adjusted imports. |
621 |
|
|
622 |
|
2009-03-12 Torsten Irländer <[email protected]> |
623 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
624 |
|
|
625 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
626 |
|
|
627 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
628 |
|
|
629 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
630 |
|
|
631 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
632 |
|
|
633 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
634 |
|
nodecomponent names. |
635 |
|
|
636 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
637 |
|
|
638 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
639 |
|
repeat groups if no uuid is given. If a uuid is given then |
640 |
|
the creation is triggered by an xml import. |
641 |
|
|
642 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
643 |
|
|
644 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
645 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
646 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
647 |
|
|
648 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
649 |
|
The old one is deactivated. |
650 |
|
|
651 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
652 |
|
|
653 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
654 |
|
|
655 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
656 |
|
TODO: Adjust execution rights. |
657 |
|
|
658 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
659 |
|
|
660 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
661 |
|
Add functions to create dataset. |
662 |
|
|
663 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
664 |
|
|
665 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
666 |
|
tree structure functions in database. |
667 |
|
|
668 |
|
* formed/formed/config.py: load plug-in. |
669 |
|
|
670 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
671 |
|
|
672 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
673 |
|
RepeatNode. Removed needless methods |
674 |
|
|
675 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
676 |
|
|
677 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
678 |
|
more readable with '=' and '<>'. |
679 |
|
|
680 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
681 |
|
|
682 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
683 |
|
of uuid on anonymization of case. |
684 |
|
|
685 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
686 |
|
|
687 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
688 |
|
case_anonymize(). |
689 |
|
|
690 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
691 |
|
|
692 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
693 |
|
the trees infix. |
694 |
|
|
695 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
696 |
|
readable rules. |
697 |
|
|
698 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
699 |
|
|
700 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
701 |
|
|
702 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
703 |
|
|
704 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
705 |
|
exceptions if there is less or more than one element on stack |
706 |
|
after compilation of expression. |
707 |
|
|
708 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
709 |
|
|
710 |
|
* formed/formed/model/data.py: Removed debug output |
711 |
|
|
712 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
713 |
|
Generate past and future rules. |
714 |
|
|
715 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
716 |
|
|
717 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
718 |
|
|
719 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
720 |
|
|
721 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
722 |
|
|
723 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
724 |
|
|
725 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
726 |
|
|
727 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
728 |
|
|
729 |
|
* formed/formed/model/data.py: Added ConditionalNode |
730 |
|
|
731 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
732 |
|
|
733 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
734 |
|
|
735 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
736 |
|
in date sequence rules more precise. |
737 |
|
|
738 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
739 |
|
|
740 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
741 |
|
|
742 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
743 |
|
|
744 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
745 |
|
|
746 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
747 |
|
Adjusted imports. |
748 |
|
|
749 |
|
2009-03-12 Torsten Irländer <[email protected]> |
750 |
|
|
751 |
|
Introduced new order attribute for date fields |
752 |
|
|
753 |
|
* formed/formed/model/data.py: Order fields can be used to define to |
754 |
|
ordering of datefields withing the document. Needed for automatic |
755 |
|
generation of consistency rules. |
756 |
|
|
757 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
758 |
|
|
759 |
|
* formed/formed/model/data.py: Allow pages to be 'invisible'. |
760 |
|
|
761 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
762 |
|
|
763 |
|
* formed/formed/plugins/export/sql.py: Fixed problem with |
764 |
|
description reference tables of radio groups. |
765 |
|
|
766 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
767 |
|
|
768 |
|
* formed/formed/plugins/export/sql.py: replace '-' in names |
769 |
|
by '_'. |
770 |
|
|
771 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
772 |
|
|
773 |
|
* formed/formed/plugins/export/sql.py: to figure ou which |
774 |
|
tables are equal the insert statememnts are lower cased |
775 |
|
and sorted before they are compared. This reduces the number |
776 |
|
of generated referfence tables. |
777 |
|
|
778 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
779 |
|
|
780 |
|
Repair SQL schema creation for radio groups. |
781 |
|
|
782 |
|
* formed/formed/plugins/export/sql.py: radio groups are handled |
783 |
|
like choices now. |
784 |
|
|
785 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
786 |
|
|
787 |
|
Make it startable again. |
788 |
|
|
789 |
|
* formed/formed/plugins/export/xls.py: Import pyExcelerator only |
790 |
|
when plug-in is called. |
791 |
|
|
792 |
|
* formed/formed/model/nodecomponents.py: Event routing was messed up. |
793 |
|
Rewired root node with document. |
794 |
|
|
795 |
|
* formed/formed/plugins/web/help.py: Removed old xml.ext import. |
796 |
|
XXX: This breaks creating help by now! |
797 |
|
|
798 |
|
* formed/formed/io/parser.py: Replace old deprecated base class |
799 |
|
by new one. |
800 |
|
|
801 |
|
* formed/formed/main.py: Do not crash if locale cannot be set. |
802 |
|
|
803 |
|
* formed/formed/ui/controls.py: Use document.getCase() instead |
804 |
|
of document.case to prevent uninitialized dereferences. |
805 |
|
|
806 |
|
2009-01-22 Torsten Irländer <[email protected]> |
807 |
|
|
808 |
|
Implemented new XML-Format for formed xml files. |
809 |
|
|
810 |
|
* formed/formed/model/nodecomponents.py, |
811 |
|
formed/formed/io/document.py, |
812 |
|
formed/formed/main.py, |
813 |
|
formed/formed/ui/controls.py: Introduced new "case" and "logbook" |
814 |
|
node. Under case is the definition of the formular. logbook will |
815 |
|
hold the defintion of logboog entrys. For now only the part under |
816 |
|
"case" can be modified. |
817 |
|
|
818 |
|
2009-01-21 Torsten Irländer <[email protected]> |
819 |
|
|
820 |
|
Changed way how XSD-Scheme is generated |
821 |
|
|
822 |
|
* formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support |
823 |
|
logbookentrys. The scheme definiton is now hardcoded in the |
824 |
|
exporter as it will rarely change. It logbookpart will not be |
825 |
|
generated from the formedtree anymore. |
826 |
|
|
827 |
|
2009-01-20 Torsten Irländer <[email protected]> |
828 |
|
|
829 |
|
Support Logbook entrys in xsd schema export |
830 |
|
|
831 |
|
* formed/formed/model/data.py: Repeatnode are now handeld as |
832 |
|
repeatgroups in xsd-export |
833 |
|
* formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support |
834 |
|
logbookentrys. The scheme will now validate against an xmlfile from |
835 |
|
the offlineclient. |
836 |
|
|
837 |
|
2009-01-09 Torsten Irländer <[email protected]> |
838 |
|
|
839 |
|
Added new repeat node |
840 |
|
|
841 |
|
* formed/formed/model/data.py, |
842 |
|
formed/formed/io/document.py: Added repeatnode to the formedtree. |
843 |
|
TODO: Remove repeatgroup handling from the groupnode. |
844 |
|
|
845 |
|
2009-01-08 Torsten Irländer <[email protected]> |
846 |
|
|
847 |
|
Add isset operator to autogenerated rules. |
848 |
|
|
849 |
|
* formed/formed/plugins/modify/rules.py: Add issed operator to standard |
850 |
|
autogenerated rules. |
851 |
|
|
852 |
|
2008-12-17 Frank Koormann <[email protected]> |
853 |
|
|
854 |
|
* formed/formed/plugins/export/latex.py: Export form as set of |
855 |
|
latex tables to be included into a master document. The export |
856 |
|
generates section marks to structure the form and placeholders for |
857 |
|
help texts to be merged in by a post processing step. |
858 |
|
|
859 |
|
2008-12-04 Sascha L. Teichmann <[email protected]> |
860 |
|
|
861 |
|
* formed/formed/model/expr.py: Added 'today' which pushes the current date |
862 |
|
on the stack. |
863 |
|
|
864 |
|
2008-12-03 Sascha L. Teichmann <[email protected]> |
865 |
|
|
866 |
|
* formed/formed/plugins/web/controllers.py: compute changeset more correctly in |
867 |
|
storage of fields. |
868 |
|
|
869 |
|
* formed/formed/plugins/export/xsd.py: Added unknown int -999999 to integer |
870 |
|
fields as an accepted value. Generate schema for radio groups too. |
871 |
|
|
872 |
|
2008-12-01 Torsten Irländer <[email protected]> |
873 |
|
|
874 |
|
Added autmatic generation of required rules |
875 |
|
|
876 |
|
* formed/formed/model/data.py, |
877 |
|
formed/formed/model/expr.py, |
878 |
|
formed/formed/plugins/modify/rules.py: Default rules for required |
879 |
|
fields can now be generated. |
880 |
|
|
881 |
|
2008-11-28 Sascha L. Teichmann <[email protected]> |
882 |
|
|
883 |
|
* formed/formed/model/data.py, formed/formed/model/nodecomponents.py: |
884 |
|
Ported WidgetCollector from Offline client. |
885 |
|
|
886 |
|
* formed/formed/plugins/modify/__init__.py, formed/formed/plugins/modify, |
887 |
|
formed/formed/plugins/modify/rules.py: Stub for required rules generator. |
888 |
|
|
889 |
|
* formed/formed/config.py: Bind new filter to FormEd |
890 |
|
|
891 |
|
2008-11-27 Torsten Irländer <[email protected]> |
892 |
|
|
893 |
|
* formed/formed/model/data.py: Added new attribute mark for rules |
894 |
|
|
895 |
|
2008-11-10 Torsten Irländer <[email protected]> |
896 |
|
|
897 |
|
Implemented radio-matrix elements. radio elelement having the same |
898 |
|
options can now be rendered in table form. |
899 |
|
|
900 |
|
* formed/formed/model/data.py, |
901 |
|
formed/formed/io/document.py: Added new radio-matrix element to the |
902 |
|
model and gui |
903 |
|
* formed/formed/plugins/web/view_renderer.py: Write html-renderer for |
904 |
|
the radio-matrix element. |
905 |
|
|
906 |
2008-11.03 Torsten Irländer <[email protected]> |
2008-11.03 Torsten Irländer <[email protected]> |
907 |
|
|
908 |
* formed/formed/model/data.py: Fixed import error |
* formed/formed/model/data.py: Fixed import error |