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