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