1 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
4 |
|
function to generated valid quotes within the sql statements |
5 |
|
|
6 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
7 |
|
|
8 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
9 |
|
for repeat tables. |
10 |
|
|
11 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
14 |
|
an extra table check in a table of same content exists. In |
15 |
|
this case reference the existing table. |
16 |
|
|
17 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
18 |
|
|
19 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
20 |
|
_real_ SQL and respect repeat groups. |
21 |
|
|
22 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
25 |
|
instead of expensive += string concat in some places. |
26 |
|
|
27 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
28 |
|
|
29 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
30 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
31 |
|
|
32 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
33 |
|
|
34 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
35 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
36 |
|
textfields. Fieldset generated depends now on the "invisible" |
37 |
|
attribute of the groupnode. Field-label generation slightly changed. |
38 |
|
Added error indication to textfields |
39 |
|
|
40 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
41 |
|
|
42 |
|
* tools/formed/formed/model/data.py, |
43 |
|
tools/formed/formed/io/document.py: Removed support |
44 |
|
of logical groups. |
45 |
|
|
46 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
47 |
|
|
48 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
49 |
|
attributes. |
50 |
|
|
51 |
|
* tools/formed/test-data/simple.xml: Applied. |
52 |
|
|
53 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
54 |
|
|
55 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
56 |
|
'invisible' attributes to group. TODO: remove logical group. |
57 |
|
|
58 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
59 |
|
|
60 |
|
* tools/formed/plugins/web/plugin.py, |
61 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
62 |
|
depending tags in the html generation. |
63 |
|
|
64 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/model/data.py, |
67 |
|
tools/formed/formed/io/document.py: Added a logical group. |
68 |
|
It has an attribute 'repeat' to indicate that it might |
69 |
|
be worthy an external table in DB schema. |
70 |
|
|
71 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
72 |
|
|
73 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
74 |
|
serving of static content. |
75 |
|
|
76 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
77 |
|
old send code. |
78 |
|
|
79 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
80 |
|
|
81 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
82 |
|
Response object. Fix typo. |
83 |
|
|
84 |
|
* tools/formed/formed/plugins/web/server.py: support |
85 |
|
response object to serve different MIME types. |
86 |
|
|
87 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
88 |
|
|
89 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
90 |
|
to FORMED environment variable to specify the |
91 |
|
root of the static content. |
92 |
|
|
93 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/model/data.py, |
96 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
97 |
|
|
98 |
|
* tools/formed/formed/plugins/web/www, |
99 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
100 |
|
a template for the HTML output. |
101 |
|
|
102 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
103 |
|
mode issues. Introduces CSS support. Simplified the action |
104 |
|
handling. |
105 |
|
|
106 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
107 |
|
nagivation code. |
108 |
|
|
109 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
110 |
|
|
111 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
114 |
|
parameter to setAttribute() of RuleLeaf. |
115 |
|
|
116 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
117 |
|
HTTP server code out to separate module. |
118 |
|
|
119 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
120 |
|
needless -1 from pop() |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
123 |
|
the HTTP server code now. |
124 |
|
|
125 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
126 |
|
|
127 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
128 |
|
|
129 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
130 |
|
expression evaluator. To avoid the problem of eval()ing |
131 |
|
arbitrary python expressions I've decided to use a very |
132 |
|
basic and limited stack machine to support rule checking. |
133 |
|
|
134 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
135 |
|
|
136 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
137 |
|
|
138 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
139 |
|
to find all items of a given type in document for a given |
140 |
|
mode. Usefull to find all rules in the tree. |
141 |
|
|
142 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
143 |
|
to attribute table to report exceptions when setting a value |
144 |
|
from GUI. Useful to report compilation errors when setting |
145 |
|
expr of rule leafs. |
146 |
|
|
147 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
148 |
|
from the attribute table and pop up dialogs if they occur. |
149 |
|
Added a counter of rule modifications in tree. Useful if you |
150 |
|
want build cached data structures like rule sets and you want |
151 |
|
to know if they are still valid. |
152 |
|
|
153 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
156 |
|
for checkbox values. (Syntax error). |
157 |
|
|
158 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
159 |
|
generation |
160 |
|
|
161 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
162 |
|
|
163 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
164 |
|
making the formularnames more database friendly. Added some more |
165 |
|
checks. |
166 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
167 |
|
separated class, and some fixes in sql generation. |
168 |
|
|
169 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
170 |
|
|
171 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
172 |
|
of external choice list. |
173 |
|
|
174 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
175 |
|
|
176 |
|
* tools/formed/formed/main.py: Little workaround for |
177 |
|
mode selection if someone adds an removes a mode. |
178 |
|
|
179 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
180 |
|
|
181 |
|
* tools/formed/test-data/simple.xml: Better test case for |
182 |
|
mode depended leaf items. |
183 |
|
|
184 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
185 |
|
to calculate the effective mode of an item. |
186 |
|
|
187 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
188 |
|
mode. TODO: the 'all' modus return false results sometimes. |
189 |
|
Cause: The modes are only cumulated over time. Removal is |
190 |
|
not done. |
191 |
|
|
192 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
193 |
|
|
194 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
195 |
|
of radio groups and choices too. |
196 |
|
|
197 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
198 |
|
|
199 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
200 |
|
by formular names to make the naming more database friendly. |
201 |
|
Now only alphanumeric and underscore chars is allowed. |
202 |
|
|
203 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
204 |
|
|
205 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
206 |
|
HTML table exporter a bit to be on par with the XSLT |
207 |
|
script. TODO: Dump items in radio and choice groups. |
208 |
|
|
209 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
210 |
|
|
211 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
212 |
|
HTML and SQL exporters. |
213 |
|
|
214 |
|
* tools/formed/formed/plugins/export, |
215 |
|
tools/formed/formed/plugins/export/__init__.py, |
216 |
|
tools/formed/formed/plugins/export/sql.py, |
217 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
218 |
|
the HTML and the SQL exporters now. |
219 |
|
|
220 |
|
* tools/formed/formed/config.py: Use exporters from different |
221 |
|
package now. |
222 |
|
|
223 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
224 |
|
|
225 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
226 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
227 |
|
in a new file (formed/plugins/export/htmlexport.py and |
228 |
|
sqlexport.py?) |
229 |
|
|
230 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
231 |
|
|
232 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
233 |
|
|
234 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
235 |
|
method to determine the depth of particular tree item. |
236 |
|
|
237 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
238 |
|
HTML export filters. TODO: needs more work. |
239 |
|
|
240 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
241 |
|
|
242 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
243 |
|
|
244 |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
246 |
script might me handy to indicate changes between the different |
script might me handy to indicate changes between the different |
247 |
formular versions. |
formular versions. |
248 |
|
|
249 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
250 |
|
|
251 |
* tools/formed/formed/main.py: Add an 'all' mode to |
* tools/formed/formed/main.py: Add an 'all' mode to |
252 |
select all modes. ;-) |
select all modes. ;-) |