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