1 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/export/sql.py, |
4 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
5 |
|
for FileDialogFilter sub classes. |
6 |
|
|
7 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
8 |
|
|
9 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
10 |
|
tree traversals is a common task. To ease this a decorator function |
11 |
|
checkMode in union with sub classing ModeChecker can be used. |
12 |
|
To make it work simply subclass from ModeChecker and add the decorator |
13 |
|
to the methods that need mode tracking. Before you start the recursion |
14 |
|
call self.prepareDescent(). |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
17 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
18 |
|
too. |
19 |
|
|
20 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
21 |
|
|
22 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
25 |
|
uses new FileDialogFilter base class too. |
26 |
|
|
27 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
30 |
|
need a file dialog. Till now each of them pulled up its |
31 |
|
own. This was silly code replication. Now there is an abstract |
32 |
|
base class 'FileDialogFilter' which implements the common |
33 |
|
behavior. The file exporters should subclass it. |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
36 |
|
exporters from the new base class. TODO: Subclass the HTML |
37 |
|
exporter too. |
38 |
|
|
39 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
42 |
|
work (again). |
43 |
|
|
44 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
47 |
|
exprt works now in a recursive way. This change was needed because |
48 |
|
the structure of the formedtree has changed to be able to render |
49 |
|
full hirachically document stuctures. (nested lists) |
50 |
|
TODO: Fix modechecking |
51 |
|
|
52 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
55 |
|
now in recursive way. This change was needed because the structure |
56 |
|
of the formedtree has changed to be able to render full hirachically |
57 |
|
document stuctures. (nested lists) |
58 |
|
|
59 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
60 |
|
|
61 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
62 |
|
instead of remove on sets. |
63 |
|
|
64 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
65 |
|
exporter for table views. |
66 |
|
|
67 |
|
* tools/formed/formed/config.py: Added the new exporter |
68 |
|
to the list of export filters. |
69 |
|
|
70 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
71 |
|
|
72 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
73 |
|
Page.allWidgets() |
74 |
|
|
75 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
76 |
|
for stored procudeures. |
77 |
|
|
78 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
79 |
|
|
80 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
81 |
|
|
82 |
|
* tools/formed/formed/plugins/web/plugin.py, |
83 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
84 |
|
to get the errors for a whole page in te formular. These errors can |
85 |
|
now be displayed on the top of the formular. |
86 |
|
|
87 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
88 |
|
|
89 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
90 |
|
of the getFromData interface and prepared the rederer for generating |
91 |
|
nice error messages |
92 |
|
|
93 |
|
2007-08-28 Frank Koormann <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/export/sql.py |
96 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
97 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
98 |
|
|
99 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
100 |
|
|
101 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
102 |
|
function to generated valid quotes within the sql statements |
103 |
|
|
104 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
105 |
|
|
106 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
107 |
|
for repeat tables. |
108 |
|
|
109 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
110 |
|
|
111 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
112 |
|
an extra table check in a table of same content exists. In |
113 |
|
this case reference the existing table. |
114 |
|
|
115 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
116 |
|
|
117 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
118 |
|
_real_ SQL and respect repeat groups. |
119 |
|
|
120 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
123 |
|
instead of expensive += string concat in some places. |
124 |
|
|
125 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
126 |
|
|
127 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
128 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
129 |
|
|
130 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
131 |
|
|
132 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
133 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
134 |
|
textfields. Fieldset generated depends now on the "invisible" |
135 |
|
attribute of the groupnode. Field-label generation slightly changed. |
136 |
|
Added error indication to textfields |
137 |
|
|
138 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
139 |
|
|
140 |
|
* tools/formed/formed/model/data.py, |
141 |
|
tools/formed/formed/io/document.py: Removed support |
142 |
|
of logical groups. |
143 |
|
|
144 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
145 |
|
|
146 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
147 |
|
attributes. |
148 |
|
|
149 |
|
* tools/formed/test-data/simple.xml: Applied. |
150 |
|
|
151 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
152 |
|
|
153 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
154 |
|
'invisible' attributes to group. TODO: remove logical group. |
155 |
|
|
156 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
157 |
|
|
158 |
|
* tools/formed/plugins/web/plugin.py, |
159 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
160 |
|
depending tags in the html generation. |
161 |
|
|
162 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
163 |
|
|
164 |
|
* tools/formed/formed/model/data.py, |
165 |
|
tools/formed/formed/io/document.py: Added a logical group. |
166 |
|
It has an attribute 'repeat' to indicate that it might |
167 |
|
be worthy an external table in DB schema. |
168 |
|
|
169 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
170 |
|
|
171 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
172 |
|
serving of static content. |
173 |
|
|
174 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
175 |
|
old send code. |
176 |
|
|
177 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
178 |
|
|
179 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
180 |
|
Response object. Fix typo. |
181 |
|
|
182 |
|
* tools/formed/formed/plugins/web/server.py: support |
183 |
|
response object to serve different MIME types. |
184 |
|
|
185 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
186 |
|
|
187 |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |