1 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
3 |
|
renderer.py to form_renderer.py. This file will contain formular |
4 |
|
specfic render methods in the future. |
5 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
6 |
|
which will contain general render methods. |
7 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
8 |
|
rendering into renderer.py or form_renderer.py. This file will only |
9 |
|
contain teh handlers in the future. |
10 |
|
|
11 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
12 |
|
* tools/formed/formed/plugins/web/renderer.py, |
13 |
|
tools/formed/formed/plugins/web/controller.py: |
14 |
|
Renderes now get an instance of the formdata object to provide |
15 |
|
access the data needed to render various infoboxes etc. Handler |
16 |
|
instanciate the formdata. |
17 |
|
|
18 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
19 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
20 |
|
getFormData interface to work. Added two small semantic fixes, but |
21 |
|
did not manage to get it up. Need to exime this a little bit more |
22 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
23 |
|
around the menus on the right side to be able to assign different |
24 |
|
styles. Added dataset actions while editing a dataset. |
25 |
|
|
26 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
27 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
28 |
|
removing unwanted del method |
29 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
30 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
31 |
|
templates as well for larger information units like the dataset summary. |
32 |
|
|
33 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
36 |
|
method to document to find index of page. |
37 |
|
|
38 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
39 |
|
to fetch data from semantic box. |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
42 |
|
FormData implementation to support DB and semantic box. |
43 |
|
|
44 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
47 |
|
error message. |
48 |
|
|
49 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
50 |
|
dataset from backend each time a page is up to edit. |
51 |
|
|
52 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
55 |
|
returns "Page not found" if given page is None. |
56 |
|
|
57 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
58 |
|
to avoid crashing when ask for a non-existent page. |
59 |
|
|
60 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
61 |
|
|
62 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
63 |
|
|
64 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
67 |
|
and renderers. |
68 |
|
|
69 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
70 |
|
and renderers now. TODO: Move renderers to renderer.py |
71 |
|
|
72 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
75 |
|
and bound in the the new added functions to create, edit, delete and |
76 |
|
show formdata. |
77 |
|
|
78 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
79 |
|
|
80 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
81 |
|
simple linear scan for dataset lookup now. |
82 |
|
|
83 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
84 |
|
of different sizes. |
85 |
|
|
86 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
87 |
|
|
88 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
89 |
|
fuction |
90 |
|
|
91 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
92 |
|
to the DataSet interface |
93 |
|
|
94 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
95 |
|
renderes for create, update, delete and show actions on formular data. |
96 |
|
|
97 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
98 |
|
|
99 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
100 |
|
to methods is now driven by regualar expressions and |
101 |
|
a dictionary. Response objects are now able to send |
102 |
|
error codes. |
103 |
|
|
104 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
105 |
|
when help in Formdata is None. Moved text for help into |
106 |
|
a top level '''...''' variable. |
107 |
|
|
108 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
109 |
|
|
110 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
111 |
|
|
112 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
113 |
|
table driven mapping of reguest handling. TODO: split the |
114 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
115 |
|
Smaller clean ups and better exception handling. |
116 |
|
|
117 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
118 |
|
and do not catch them. |
119 |
|
|
120 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/web/renderer.py, |
123 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
124 |
|
the HelpProvider and inserted help icons to the html output. |
125 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
126 |
|
within a <div> tag. |
127 |
|
Modified the error messages. |
128 |
|
|
129 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
130 |
|
|
131 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
132 |
|
the server-side caching more clean. Fixes a bug with |
133 |
|
serving static content. |
134 |
|
|
135 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
136 |
|
|
137 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
140 |
|
to "application/xhtml+xml" when serving help texts. |
141 |
|
|
142 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
145 |
|
pairwise differences between all modes. |
146 |
|
|
147 |
|
* tools/formed/formed/config.py: Use new export filter. |
148 |
|
|
149 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
150 |
|
|
151 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
152 |
|
XHTML document for id'ed divs and builds a help lookup. |
153 |
|
|
154 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
155 |
|
the help content frame. |
156 |
|
|
157 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
158 |
|
help text index. |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
161 |
|
texts now. |
162 |
|
|
163 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
166 |
|
elements will be rendered in the formular navigation. |
167 |
|
Formular pages in the navigation now have their own css-style |
168 |
|
attributes. |
169 |
|
|
170 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
173 |
|
errors in template |
174 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
175 |
|
pageerrors variable |
176 |
|
|
177 |
|
2007-09-03 Frank Koormann <[email protected]> |
178 |
|
|
179 |
|
* tools/formed/formed/plugins/export/html.py |
180 |
|
(RecursiveExporter): Added annotation to export |
181 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
182 |
|
|
183 |
|
|
184 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
185 |
|
|
186 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
187 |
|
from model.misc now. |
188 |
|
|
189 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
190 |
|
|
191 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
192 |
|
'annotation' attribute to node components. This is to |
193 |
|
enable FormEd document authors to add comments to groups |
194 |
|
and fields. |
195 |
|
|
196 |
|
2007-09-03 Frank Koormann <[email protected]> |
197 |
|
|
198 |
|
* tools/formed/formed/model/nodecomponents.py |
199 |
|
(NodeComponent.getParent): New method to get node components parent. |
200 |
|
|
201 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
202 |
|
as simple list instead of collection of bools. |
203 |
|
|
204 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
205 |
|
|
206 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
207 |
|
from persistent storage details. |
208 |
|
|
209 |
|
* tools/formed/formed/model/memory.py: In core implementation |
210 |
|
of the persistent interfaces. |
211 |
|
|
212 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
213 |
|
|
214 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
215 |
|
|
216 |
|
* tools/formed/formed/plugins/export/sql.py, |
217 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
218 |
|
for FileDialogFilter sub classes. |
219 |
|
|
220 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
221 |
|
|
222 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
223 |
|
tree traversals is a common task. To ease this a decorator function |
224 |
|
checkMode in union with sub classing ModeChecker can be used. |
225 |
|
To make it work simply subclass from ModeChecker and add the decorator |
226 |
|
to the methods that need mode tracking. Before you start the recursion |
227 |
|
call self.prepareDescent(). |
228 |
|
|
229 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
230 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
231 |
|
too. |
232 |
|
|
233 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
234 |
|
|
235 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
236 |
|
|
237 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
238 |
|
uses new FileDialogFilter base class too. |
239 |
|
|
240 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
241 |
|
|
242 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
243 |
|
need a file dialog. Till now each of them pulled up its |
244 |
|
own. This was silly code replication. Now there is an abstract |
245 |
|
base class 'FileDialogFilter' which implements the common |
246 |
|
behavior. The file exporters should subclass it. |
247 |
|
|
248 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
249 |
|
exporters from the new base class. TODO: Subclass the HTML |
250 |
|
exporter too. |
251 |
|
|
252 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
253 |
|
|
254 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
255 |
|
work (again). |
256 |
|
|
257 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
258 |
|
|
259 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
260 |
|
exprt works now in a recursive way. This change was needed because |
261 |
|
the structure of the formedtree has changed to be able to render |
262 |
|
full hirachically document stuctures. (nested lists) |
263 |
|
TODO: Fix modechecking |
264 |
|
|
265 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
266 |
|
|
267 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
268 |
|
now in recursive way. This change was needed because the structure |
269 |
|
of the formedtree has changed to be able to render full hirachically |
270 |
|
document stuctures. (nested lists) |
271 |
|
|
272 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
273 |
|
|
274 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
275 |
|
instead of remove on sets. |
276 |
|
|
277 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
278 |
|
exporter for table views. |
279 |
|
|
280 |
|
* tools/formed/formed/config.py: Added the new exporter |
281 |
|
to the list of export filters. |
282 |
|
|
283 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
284 |
|
|
285 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
286 |
|
Page.allWidgets() |
287 |
|
|
288 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
289 |
|
for stored procudeures. |
290 |
|
|
291 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
292 |
|
|
293 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
294 |
|
|
295 |
|
* tools/formed/formed/plugins/web/plugin.py, |
296 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
297 |
|
to get the errors for a whole page in te formular. These errors can |
298 |
|
now be displayed on the top of the formular. |
299 |
|
|
300 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
301 |
|
|
302 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
303 |
|
of the getFromData interface and prepared the rederer for generating |
304 |
|
nice error messages |
305 |
|
|
306 |
|
2007-08-28 Frank Koormann <[email protected]> |
307 |
|
|
308 |
|
* tools/formed/formed/plugins/export/sql.py |
309 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
310 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
311 |
|
|
312 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
313 |
|
|
314 |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
* tools/formed/formed/plugins/export/sql.py: Added small helper |