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