1 |
|
2010-09-20 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/plugins/export/latex.py (RecursiveExporter): |
4 |
|
Add "required"-field information to output and include |
5 |
|
choice list contents. |
6 |
|
|
7 |
|
2010-09-16 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
Avoid database deadlocks that can happen when database clients try |
10 |
|
to work with the same case using two separate database |
11 |
|
connections. See mpuls/issue1145 for details. |
12 |
|
|
13 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
14 |
|
computation of the new json structure description into the new |
15 |
|
database function compute_case_structure |
16 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
17 |
|
the cached json structure description instead of just setting the |
18 |
|
modified flag. This avoids the lazy recomputation that makes what |
19 |
|
seems like a read-only access (calling get_case_structure) into a |
20 |
|
writing access (updates of the cache). The writes lock the row in |
21 |
|
the case_structure table which prevent other connections from |
22 |
|
accessing the same case. As part of this, the delete triggers are |
23 |
|
now AFTER triggers because the repeat groups instance must have |
24 |
|
been removed when the structure is recomputed. |
25 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
26 |
|
trigger, we need to change the way the master id is computed. We |
27 |
|
cannot join with the repeatgroup table in question because the row |
28 |
|
has already been deleted. However, we can use the master_id |
29 |
|
column of the OLD row to select the row of the parent table. |
30 |
|
(create_triggers): Avoid the inner joins with the current repeat |
31 |
|
group for the above mentioned reasons. In the very common case of |
32 |
|
repeat groups which are direct children of the master_tbl, we can |
33 |
|
compare the master_tbl.id directly with the row's master_id. |
34 |
|
|
35 |
|
2010-09-14 Roland Geider <[email protected]> |
36 |
|
|
37 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
38 |
|
formedtree structure |
39 |
|
|
40 |
|
2010-09-01 Roland Geider <[email protected]> |
41 |
|
|
42 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
43 |
|
appearing double. |
44 |
|
The problem was that the way the formEditor handled fields with |
45 |
|
manually created rules changed. Instead of ignoring fields (very |
46 |
|
early behaviour) or always generating them (early behaviour), now the |
47 |
|
formED will only ignore fields with rules which name starts with |
48 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
49 |
|
fields are more complex (e.g. mother's name is only required if |
50 |
|
mother is known). |
51 |
|
|
52 |
|
2010-08-10 Torsten Irländer <[email protected]> |
53 |
|
|
54 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
55 |
|
formedtrees |
56 |
|
|
57 |
|
2010-08-09 Roland Geider <[email protected]> |
58 |
|
|
59 |
|
* formed/model/exprtree.py: fixed typo |
60 |
|
|
61 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* formed/po/de_DE.po: Update translations |
64 |
|
|
65 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
66 |
|
|
67 |
|
* formed/po/formed.pot: Regenerated. |
68 |
|
|
69 |
|
* formed/po/de_DE.po: Update. |
70 |
|
|
71 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
72 |
|
|
73 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
74 |
|
usage message |
75 |
|
|
76 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
77 |
|
|
78 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
79 |
|
the order of entries in the .pot-file more predictable. |
80 |
|
|
81 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
82 |
|
|
83 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
84 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
85 |
|
"version" and accessor methods. |
86 |
|
|
87 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
88 |
|
the user set the document version. |
89 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
90 |
|
|
91 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
92 |
|
|
93 |
|
* formed/formed.py, formed/formed/io/document.py, |
94 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
95 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
96 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
97 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
98 |
|
formed/formed/model/nodecomponents.py, |
99 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
100 |
|
acceptable to both python and Emacs. |
101 |
|
|
102 |
|
2010-07-29 Torsten Irländer <[email protected]> |
103 |
|
|
104 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
105 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
106 |
|
user can not select the value in the user interface. But the db will |
107 |
|
have this option so is ist still present in the db an can be used |
108 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
109 |
|
|
110 |
|
2010-07-26 Roland Geider <[email protected]> |
111 |
|
|
112 |
|
* formed/formed/model/nodecomponents.py, |
113 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
114 |
|
into consideration repeat groups |
115 |
|
|
116 |
|
2010-07-21 Torsten Irländer <[email protected]> |
117 |
|
|
118 |
|
Issue870 |
119 |
|
|
120 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
121 |
|
all headers to the referenced fields. Only list labels of the error |
122 |
|
fields, which should be distinct enough. |
123 |
|
|
124 |
|
Issue851 |
125 |
|
|
126 |
|
* formed/formed/model/data.py |
127 |
|
formed/formed/plugins/export/new_sql.py |
128 |
|
formed/formed/plugins/web/view_renderer.py |
129 |
|
formed/formed/io/document.py |
130 |
|
formed/formed/config.py: Added Float-Field to Formed |
131 |
|
|
132 |
2010-06-11 Bernhard Herzog <[email protected]> |
2010-06-11 Bernhard Herzog <[email protected]> |
133 |
|
|
134 |
* formed/formed/plugins/export/rg_sql.py |
* formed/formed/plugins/export/rg_sql.py |
140 |
|
|
141 |
2010-06-02 Roland Geider <[email protected]> |
2010-06-02 Roland Geider <[email protected]> |
142 |
|
|
143 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
144 |
|
date-sequence-rules unique |
145 |
|
|
146 |
|
2010-06-02 Roland Geider <[email protected]> |
147 |
|
|
148 |
* formed/plugins/export/xls.py: updated regular expression |
* formed/plugins/export/xls.py: updated regular expression |
149 |
|
|
150 |
2010-05-17 Frank Koormann <[email protected]> |
2010-05-17 Frank Koormann <[email protected]> |