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