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