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