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