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