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