1 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
4 |
|
now in recursive way. This change was needed because the structure |
5 |
|
of the formedtree has changed to be able to render full hirachically |
6 |
|
document stuctures. (nested lists) |
7 |
|
|
8 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
9 |
|
|
10 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
11 |
|
instead of remove on sets. |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
14 |
|
exporter for table views. |
15 |
|
|
16 |
|
* tools/formed/formed/config.py: Added the new exporter |
17 |
|
to the list of export filters. |
18 |
|
|
19 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
20 |
|
|
21 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
22 |
|
Page.allWidgets() |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
25 |
|
for stored procudeures. |
26 |
|
|
27 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
28 |
|
|
29 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
30 |
|
|
31 |
|
* tools/formed/formed/plugins/web/plugin.py, |
32 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
33 |
|
to get the errors for a whole page in te formular. These errors can |
34 |
|
now be displayed on the top of the formular. |
35 |
|
|
36 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
37 |
|
|
38 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
39 |
|
of the getFromData interface and prepared the rederer for generating |
40 |
|
nice error messages |
41 |
|
|
42 |
|
2007-08-28 Frank Koormann <[email protected]> |
43 |
|
|
44 |
|
* tools/formed/formed/plugins/export/sql.py |
45 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
46 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
47 |
|
|
48 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
51 |
|
function to generated valid quotes within the sql statements |
52 |
|
|
53 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
54 |
|
|
55 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
56 |
|
for repeat tables. |
57 |
|
|
58 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
59 |
|
|
60 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
61 |
|
an extra table check in a table of same content exists. In |
62 |
|
this case reference the existing table. |
63 |
|
|
64 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
67 |
|
_real_ SQL and respect repeat groups. |
68 |
|
|
69 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
72 |
|
instead of expensive += string concat in some places. |
73 |
|
|
74 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
75 |
|
|
76 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
77 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
78 |
|
|
79 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
80 |
|
|
81 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
82 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
83 |
|
textfields. Fieldset generated depends now on the "invisible" |
84 |
|
attribute of the groupnode. Field-label generation slightly changed. |
85 |
|
Added error indication to textfields |
86 |
|
|
87 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
88 |
|
|
89 |
|
* tools/formed/formed/model/data.py, |
90 |
|
tools/formed/formed/io/document.py: Removed support |
91 |
|
of logical groups. |
92 |
|
|
93 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
96 |
|
attributes. |
97 |
|
|
98 |
|
* tools/formed/test-data/simple.xml: Applied. |
99 |
|
|
100 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
101 |
|
|
102 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
103 |
|
'invisible' attributes to group. TODO: remove logical group. |
104 |
|
|
105 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
106 |
|
|
107 |
|
* tools/formed/plugins/web/plugin.py, |
108 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
109 |
|
depending tags in the html generation. |
110 |
|
|
111 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/formed/model/data.py, |
114 |
|
tools/formed/formed/io/document.py: Added a logical group. |
115 |
|
It has an attribute 'repeat' to indicate that it might |
116 |
|
be worthy an external table in DB schema. |
117 |
|
|
118 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
119 |
|
|
120 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
121 |
|
serving of static content. |
122 |
|
|
123 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
124 |
|
old send code. |
125 |
|
|
126 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
127 |
|
|
128 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
129 |
|
Response object. Fix typo. |
130 |
|
|
131 |
|
* tools/formed/formed/plugins/web/server.py: support |
132 |
|
response object to serve different MIME types. |
133 |
|
|
134 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
135 |
|
|
136 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
137 |
|
to FORMED environment variable to specify the |
138 |
|
root of the static content. |
139 |
|
|
140 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
141 |
|
|
142 |
|
* tools/formed/formed/model/data.py, |
143 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
144 |
|
|
145 |
|
* tools/formed/formed/plugins/web/www, |
146 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
147 |
|
a template for the HTML output. |
148 |
|
|
149 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
150 |
|
mode issues. Introduces CSS support. Simplified the action |
151 |
|
handling. |
152 |
|
|
153 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
154 |
|
nagivation code. |
155 |
|
|
156 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
157 |
|
|
158 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
159 |
|
|
160 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
161 |
|
parameter to setAttribute() of RuleLeaf. |
162 |
|
|
163 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
164 |
|
HTTP server code out to separate module. |
165 |
|
|
166 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
167 |
|
needless -1 from pop() |
168 |
|
|
169 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
170 |
|
the HTTP server code now. |
171 |
|
|
172 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
173 |
|
|
174 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
175 |
|
|
176 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
177 |
|
expression evaluator. To avoid the problem of eval()ing |
178 |
|
arbitrary python expressions I've decided to use a very |
179 |
|
basic and limited stack machine to support rule checking. |
180 |
|
|
181 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
182 |
|
|
183 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
184 |
|
|
185 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
186 |
|
to find all items of a given type in document for a given |
187 |
|
mode. Usefull to find all rules in the tree. |
188 |
|
|
189 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
190 |
|
to attribute table to report exceptions when setting a value |
191 |
|
from GUI. Useful to report compilation errors when setting |
192 |
|
expr of rule leafs. |
193 |
|
|
194 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
195 |
|
from the attribute table and pop up dialogs if they occur. |
196 |
|
Added a counter of rule modifications in tree. Useful if you |
197 |
|
want build cached data structures like rule sets and you want |
198 |
|
to know if they are still valid. |
199 |
|
|
200 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
201 |
|
|
202 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
203 |
|
for checkbox values. (Syntax error). |
204 |
|
|
205 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
206 |
|
generation |
207 |
|
|
208 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
209 |
|
|
210 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
211 |
|
making the formularnames more database friendly. Added some more |
212 |
|
checks. |
213 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
214 |
|
separated class, and some fixes in sql generation. |
215 |
|
|
216 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
217 |
|
|
218 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
219 |
|
of external choice list. |
220 |
|
|
221 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
222 |
|
|
223 |
|
* tools/formed/formed/main.py: Little workaround for |
224 |
|
mode selection if someone adds an removes a mode. |
225 |
|
|
226 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
227 |
|
|
228 |
|
* tools/formed/test-data/simple.xml: Better test case for |
229 |
|
mode depended leaf items. |
230 |
|
|
231 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
232 |
|
to calculate the effective mode of an item. |
233 |
|
|
234 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
235 |
|
mode. TODO: the 'all' modus return false results sometimes. |
236 |
|
Cause: The modes are only cumulated over time. Removal is |
237 |
|
not done. |
238 |
|
|
239 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
240 |
|
|
241 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
242 |
|
of radio groups and choices too. |
243 |
|
|
244 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
245 |
|
|
246 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
247 |
|
by formular names to make the naming more database friendly. |
248 |
|
Now only alphanumeric and underscore chars is allowed. |
249 |
|
|
250 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
251 |
|
|
252 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
253 |
|
HTML table exporter a bit to be on par with the XSLT |
254 |
|
script. TODO: Dump items in radio and choice groups. |
255 |
|
|
256 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
257 |
|
|
258 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
259 |
|
HTML and SQL exporters. |
260 |
|
|
261 |
|
* tools/formed/formed/plugins/export, |
262 |
|
tools/formed/formed/plugins/export/__init__.py, |
263 |
|
tools/formed/formed/plugins/export/sql.py, |
264 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
265 |
|
the HTML and the SQL exporters now. |
266 |
|
|
267 |
|
* tools/formed/formed/config.py: Use exporters from different |
268 |
|
package now. |
269 |
|
|
270 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
271 |
|
|
272 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
273 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
274 |
|
in a new file (formed/plugins/export/htmlexport.py and |
275 |
|
sqlexport.py?) |
276 |
|
|
277 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
278 |
|
|
279 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
280 |
|
|
281 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
282 |
|
method to determine the depth of particular tree item. |
283 |
|
|
284 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
285 |
|
HTML export filters. TODO: needs more work. |
286 |
|
|
287 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
288 |
|
|
289 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
290 |
|
|
291 |
|
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
292 |
|
to extract fields and options in the XFA Data in teh PDF. This |
293 |
|
script might me handy to indicate changes between the different |
294 |
|
formular versions. |
295 |
|
|
296 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
297 |
|
|
298 |
|
* tools/formed/formed/main.py: Add an 'all' mode to |
299 |
|
select all modes. ;-) |
300 |
|
|
301 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
302 |
|
|
303 |
|
* tools/formed/test-data/simple.xml, |
304 |
|
tools/formed/formed/model/data.py, |
305 |
|
tools/formed/formed/plugins/web/plugin.py, |
306 |
|
tools/formed/formed/plugins/web/renderer.py, |
307 |
|
tools/formed/formed/io/document.py, |
308 |
|
tools/formed/formed/main.py: Removed support for switch nodes. |
309 |
|
BEWARE: This breaks compatibility with older documents! |
310 |
|
|
311 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
312 |
|
|
313 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the |
314 |
|
getSelectedMode() from main now. |
315 |
|
|
316 |
|
* tools/formed/formed/main.py: selected mode is now hold |
317 |
|
in main. |
318 |
|
|
319 |
|
* tools/formed/formed/config.py: removed selected mode from |
320 |
|
env configuration. |
321 |
|
|
322 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
323 |
|
|
324 |
|
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
325 |
|
table are now alphabetically sorted. |
326 |
|
|
327 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
328 |
|
|
329 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to |
330 |
|
establish the new 'modes' recursively. |
331 |
|
|
332 |
|
* tools/formed/formed/plugins/plugin.py: Pass main instead |
333 |
|
of cfg on plug-in start-up. |
334 |
|
|
335 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new |
336 |
|
'modes' attribute for rendering. |
337 |
|
|
338 |
|
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
339 |
|
to check the new modes. |
340 |
|
|
341 |
|
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
342 |
|
|
343 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
344 |
|
|
345 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
346 |
|
attribute 'modes' to NodeComponents. |
347 |
|
|
348 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
349 |
|
|
350 |
|
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
351 |
|
|
352 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
353 |
|
|
354 |
|
* tools/formed/formed/plugins/web/renderer.py: Another fix |
355 |
|
for the hidden field. Argh! |
356 |
|
|
357 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
358 |
|
|
359 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
360 |
|
generation of hidden page field. |
361 |
|
|
362 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
363 |
|
|
364 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
365 |
|
checks for radio groups. |
366 |
|
|
367 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
368 |
|
|
369 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
370 |
|
checks for choices. |
371 |
|
|
372 |
|
2007-08-21 Frank Koormann <[email protected]> |
373 |
|
|
374 |
|
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
375 |
|
alternatives. |
376 |
|
|
377 |
|
2007-08-21 Frank Koormann <[email protected]> |
378 |
|
|
379 |
|
* contrib/convert-formedtree2html.xsl: |
380 |
|
Replace technical types with readable descriptions |
381 |
|
|
382 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
383 |
|
|
384 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
385 |
|
issues. 'action' looks for all widgets on a page now, goes |
386 |
|
through all passed parameters, tries to match them with the |
387 |
|
widgets of the page and put them into the semantic box. |
388 |
|
Afterwards a list of untouched page parameters are left |
389 |
|
which will be deleted from the semantic box. |
390 |
|
|
391 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
392 |
|
The NodeComponent is passed as an argument now. |
393 |
|
|
394 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
395 |
|
hidden field to store the name of the page. |
396 |
|
|
397 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
398 |
|
|
399 |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |