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