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