1 |
|
2010-10-06 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/plugins/export/rules_sh.py (generate_tagging): Fixed |
4 |
|
gerating SQL for Rules |
5 |
|
* formed/formed/plugins/export/rules_sh.py (sql_date): Fixed sql_date |
6 |
|
function. |
7 |
|
|
8 |
|
2010-10-05 Torsten Irländer <[email protected]> |
9 |
|
|
10 |
|
* formed/formed/model/data.py: Fixed error when setting tag attribute. |
11 |
|
* formed/formed/plugins/export/rules_sh.py: Added generating exporting |
12 |
|
tagging-xml |
13 |
|
* formed/formed/plugins/modify/rules.py: Do not generate automatic |
14 |
|
tagids for rules. |
15 |
|
|
16 |
|
2010-10-04 Torsten Irländer <[email protected]> |
17 |
|
|
18 |
|
* formed/formed/model/data.py (RuleLeaf.__init__): Added new attribute |
19 |
|
"tag" for rule-leafs |
20 |
|
* formed/formed/config.py: Added export rules as XML to Menu |
21 |
|
* formed/formed/plugins/modify/rules.py |
22 |
|
(GenerateRequiredRules.generateDateSequenceRules): Generate automatic |
23 |
|
tag ids for date-sequence rules |
24 |
|
|
25 |
|
2010-09-30 Torsten Irländer <[email protected]> |
26 |
|
|
27 |
|
* formed/formed/plugins/export/rules_sh.py |
28 |
|
(ExportRulesAsSH.doExport): Filter out duplicted rules. |
29 |
|
|
30 |
|
2010-09-20 Frank Koormann <[email protected]> |
31 |
|
|
32 |
|
* formed/formed/plugins/export/latex.py (RecursiveExporter): |
33 |
|
Add "required"-field information to output and include |
34 |
|
choice list contents. |
35 |
|
|
36 |
|
2010-09-16 Bernhard Herzog <[email protected]> |
37 |
|
|
38 |
|
Avoid database deadlocks that can happen when database clients try |
39 |
|
to work with the same case using two separate database |
40 |
|
connections. See mpuls/issue1145 for details. |
41 |
|
|
42 |
|
* formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the |
43 |
|
computation of the new json structure description into the new |
44 |
|
database function compute_case_structure |
45 |
|
(TRIGGER_TMPL): Change the trigger functions to immediately update |
46 |
|
the cached json structure description instead of just setting the |
47 |
|
modified flag. This avoids the lazy recomputation that makes what |
48 |
|
seems like a read-only access (calling get_case_structure) into a |
49 |
|
writing access (updates of the cache). The writes lock the row in |
50 |
|
the case_structure table which prevent other connections from |
51 |
|
accessing the same case. As part of this, the delete triggers are |
52 |
|
now AFTER triggers because the repeat groups instance must have |
53 |
|
been removed when the structure is recomputed. |
54 |
|
(SUBSELECT_TMPL): Since the delete trigger is now an after |
55 |
|
trigger, we need to change the way the master id is computed. We |
56 |
|
cannot join with the repeatgroup table in question because the row |
57 |
|
has already been deleted. However, we can use the master_id |
58 |
|
column of the OLD row to select the row of the parent table. |
59 |
|
(create_triggers): Avoid the inner joins with the current repeat |
60 |
|
group for the above mentioned reasons. In the very common case of |
61 |
|
repeat groups which are direct children of the master_tbl, we can |
62 |
|
compare the master_tbl.id directly with the row's master_id. |
63 |
|
|
64 |
|
2010-09-14 Roland Geider <[email protected]> |
65 |
|
|
66 |
|
* formed/formed/plugins/export/xsd.py: issue1131: update XSD for new |
67 |
|
formedtree structure |
68 |
|
|
69 |
|
2010-09-01 Roland Geider <[email protected]> |
70 |
|
|
71 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
72 |
|
appearing double. |
73 |
|
The problem was that the way the formEditor handled fields with |
74 |
|
manually created rules changed. Instead of ignoring fields (very |
75 |
|
early behaviour) or always generating them (early behaviour), now the |
76 |
|
formED will only ignore fields with rules which name starts with |
77 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
78 |
|
fields are more complex (e.g. mother's name is only required if |
79 |
|
mother is known). |
80 |
|
|
81 |
|
2010-08-10 Torsten Irländer <[email protected]> |
82 |
|
|
83 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
84 |
|
formedtrees |
85 |
|
|
86 |
|
2010-08-09 Roland Geider <[email protected]> |
87 |
|
|
88 |
|
* formed/model/exprtree.py: fixed typo |
89 |
|
|
90 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
91 |
|
|
92 |
|
* formed/po/de_DE.po: Update translations |
93 |
|
|
94 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
95 |
|
|
96 |
|
* formed/po/formed.pot: Regenerated. |
97 |
|
|
98 |
|
* formed/po/de_DE.po: Update. |
99 |
|
|
100 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
101 |
|
|
102 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
103 |
|
usage message |
104 |
|
|
105 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
106 |
|
|
107 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
108 |
|
the order of entries in the .pot-file more predictable. |
109 |
|
|
110 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
111 |
|
|
112 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
113 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
114 |
|
"version" and accessor methods. |
115 |
|
|
116 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
117 |
|
the user set the document version. |
118 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
119 |
|
|
120 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
121 |
|
|
122 |
|
* formed/formed.py, formed/formed/io/document.py, |
123 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
124 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
125 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
126 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
127 |
|
formed/formed/model/nodecomponents.py, |
128 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
129 |
|
acceptable to both python and Emacs. |
130 |
|
|
131 |
|
2010-07-29 Torsten Irländer <[email protected]> |
132 |
|
|
133 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
134 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
135 |
|
user can not select the value in the user interface. But the db will |
136 |
|
have this option so is ist still present in the db an can be used |
137 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
138 |
|
|
139 |
|
2010-07-26 Roland Geider <[email protected]> |
140 |
|
|
141 |
|
* formed/formed/model/nodecomponents.py, |
142 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
143 |
|
into consideration repeat groups |
144 |
|
|
145 |
|
2010-07-21 Torsten Irländer <[email protected]> |
146 |
|
|
147 |
|
Issue870 |
148 |
|
|
149 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
150 |
|
all headers to the referenced fields. Only list labels of the error |
151 |
|
fields, which should be distinct enough. |
152 |
|
|
153 |
|
Issue851 |
154 |
|
|
155 |
|
* formed/formed/model/data.py |
156 |
|
formed/formed/plugins/export/new_sql.py |
157 |
|
formed/formed/plugins/web/view_renderer.py |
158 |
|
formed/formed/io/document.py |
159 |
|
formed/formed/config.py: Added Float-Field to Formed |
160 |
|
|
161 |
|
2010-06-11 Bernhard Herzog <[email protected]> |
162 |
|
|
163 |
|
* formed/formed/plugins/export/rg_sql.py |
164 |
|
(CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call |
165 |
|
create_master_ds to create the master tbl entry. This way we can |
166 |
|
add SQL code that's specific to an MPuls instance to |
167 |
|
create_master_ds and still have create_master_tbl use that new |
168 |
|
code. This is useful for e.g. the JMD-Struktur part. |
169 |
|
|
170 |
|
2010-06-02 Roland Geider <[email protected]> |
171 |
|
|
172 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
173 |
|
date-sequence-rules unique |
174 |
|
|
175 |
|
2010-06-02 Roland Geider <[email protected]> |
176 |
|
|
177 |
|
* formed/plugins/export/xls.py: updated regular expression |
178 |
|
|
179 |
|
2010-05-17 Frank Koormann <[email protected]> |
180 |
|
|
181 |
|
* formed/formed/plugins/export/latex.py: Improved section labeling. |
182 |
|
|
183 |
|
* formed/formed/plugins/export/xls.py: |
184 |
|
Export references (ie where are the lists used). |
185 |
|
|
186 |
|
2010-04-30 Torsten Irländer <[email protected]> |
187 |
|
|
188 |
|
* formed/formed/plugins/modify/rules.py (VariableType.substitute): Do |
189 |
|
not generate "%"-rules for required fields in repeat-groups. |
190 |
|
|
191 |
|
2010-04-28 Roland Geider <[email protected]> |
192 |
|
|
193 |
|
* formed/plugins/export/xls.py: Radiogroups are exported |
194 |
|
* formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD |
195 |
|
JMD formedtree.xml validates XSD |
196 |
|
|
197 |
|
2010-04-08 Torsten Irländer <[email protected]> |
198 |
|
|
199 |
|
* formed/formed/plugins/modify/rules.py |
200 |
|
(GenerateRequiredRules.generateDateSequenceRules): Add error mark to |
201 |
|
rules. Generete each rule twice to be able to render errors at both |
202 |
|
datefields. |
203 |
|
|
204 |
2010-04-07 Torsten Irländer <[email protected]> |
2010-04-07 Torsten Irländer <[email protected]> |
205 |
|
|
206 |
* formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. |
* formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. |