1 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
3 |
|
application on the welcome page from "Formed" to "WASKA" |
4 |
|
|
5 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
6 |
|
* tools/formed/formed/plugins/web/plugin.py, |
7 |
|
* tools/formed/formed/plugins/web/controllers.py, |
8 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
9 |
|
The infopage provides information on all project participants. |
10 |
|
|
11 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
14 |
|
issues with error messages (once again). |
15 |
|
|
16 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
19 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
20 |
|
icons in error and confirmation dialogs. |
21 |
|
|
22 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
25 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
26 |
|
|
27 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
30 |
|
debug output for help. |
31 |
|
|
32 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
33 |
|
check for bools. |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
36 |
|
HTML output of data for bools. |
37 |
|
|
38 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
39 |
|
|
40 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
41 |
|
textfields for int values. Changed Label for submitbuttons to |
42 |
|
"Speichern" |
43 |
|
|
44 |
|
* tools/formed/formed/plugins/web/plugin.py, |
45 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
46 |
|
NotImplementedHandler to show up a dummysite for not implemented |
47 |
|
functions. |
48 |
|
|
49 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
50 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
51 |
|
labels of some context menus. Error messages are now generated |
52 |
|
dynamically depending on num errors. Formular navigation has now |
53 |
|
colored indication for errors. |
54 |
|
|
55 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
56 |
|
|
57 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
58 |
|
algorithm for the formular navigation to get rid of the problem |
59 |
|
that some of the items within the navigation are not linked. Now |
60 |
|
structural group elements are linked with the next page found in the |
61 |
|
formular structure. |
62 |
|
|
63 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
64 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
65 |
|
div and formtag. |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
68 |
|
menu in the conformation dialog when creating a new dataset. |
69 |
|
|
70 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
71 |
|
rendering the default welcome page. Changed rendering of the |
72 |
|
overview and the digest table of the datasets. Added icon for |
73 |
|
confirmation dialog, moved the icon in the <h1> tags. |
74 |
|
|
75 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
76 |
|
|
77 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
78 |
|
generation cleanup. Added error icons to formelements |
79 |
|
|
80 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
81 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
82 |
|
|
83 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
84 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
85 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
86 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
87 |
|
old obsolete OverviewRenderer. |
88 |
|
|
89 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
90 |
|
|
91 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
92 |
|
page in page navigation. |
93 |
|
|
94 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
95 |
|
|
96 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
97 |
|
displaying formdata when changing datasets. Loading the right |
98 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
99 |
|
Left some commented code because not all sideeffects of the changes |
100 |
|
are tested yet. |
101 |
|
|
102 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
103 |
|
now uses the correct data out of the formdata. |
104 |
|
|
105 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
106 |
|
|
107 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
108 |
|
print format data (dates e.g) |
109 |
|
|
110 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
111 |
|
|
112 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
113 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
114 |
|
No clue why this works. |
115 |
|
|
116 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
117 |
|
|
118 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
119 |
|
problem with radio groups, too. |
120 |
|
|
121 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
122 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
123 |
|
really removed when deleting a dataset. |
124 |
|
|
125 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
126 |
|
|
127 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
128 |
|
ErrorStats which provides Information on remaining errors per page. |
129 |
|
|
130 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
131 |
|
the renderer methods from controllers.py to renderers.py. |
132 |
|
|
133 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
134 |
|
handlers |
135 |
|
|
136 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
137 |
|
|
138 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
139 |
|
choices are generated from the document tree now. This brings |
140 |
|
the state storage of select boxes in HTML to live. |
141 |
|
|
142 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
145 |
|
range checking of integers. |
146 |
|
|
147 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
148 |
|
ErrorItem to track errors. They are stored in the session. |
149 |
|
|
150 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
151 |
|
|
152 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
153 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
156 |
|
written 'errot' in renderer for textareas. |
157 |
|
|
158 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
159 |
|
|
160 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
161 |
|
|
162 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
163 |
|
method. Could be cheaper for some implementations of help. |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
166 |
|
FormData to have distinct getData(), getHelp() and getError() |
167 |
|
methods. Various bug fixes. |
168 |
|
|
169 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
170 |
|
new FormData (trivial by now). |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
173 |
|
some bug fixes. |
174 |
|
|
175 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
176 |
|
|
177 |
|
* tools/formed/formed/model/memory.py, |
178 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
179 |
|
to dataset abstraction. This is a bit of a workaround to bring |
180 |
|
global access across pages for rule checking to work. |
181 |
|
|
182 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
183 |
|
the compiled version was not stored in the RuleLeaf. |
184 |
|
|
185 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
186 |
|
convert the expression string to ascii for compilation. |
187 |
|
|
188 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
189 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
190 |
|
with integer handler. |
191 |
|
|
192 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
193 |
|
stuff. When a submit is done extract the rules from the tree document |
194 |
|
that are effected by the modified variables and check them. |
195 |
|
|
196 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
197 |
|
when dealing with templates. |
198 |
|
|
199 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
200 |
|
* tools/formed/formed/plugins/web/controllers.py, |
201 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
202 |
|
functions into renderer.py. New render classes are: |
203 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
204 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
205 |
|
|
206 |
|
Note: The new methods are only called from selected handlers. Other |
207 |
|
handlers call the renderes in the old way. |
208 |
|
|
209 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
210 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
211 |
|
renderer.py to form_renderer.py. This file will contain formular |
212 |
|
specfic render methods in the future. |
213 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
214 |
|
which will contain general render methods. |
215 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
216 |
|
rendering into renderer.py or form_renderer.py. This file will only |
217 |
|
contain teh handlers in the future. |
218 |
|
|
219 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
220 |
|
* tools/formed/formed/plugins/web/renderer.py, |
221 |
|
tools/formed/formed/plugins/web/controller.py: |
222 |
|
Renderes now get an instance of the formdata object to provide |
223 |
|
access the data needed to render various infoboxes etc. Handler |
224 |
|
instanciate the formdata. |
225 |
|
|
226 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
227 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
228 |
|
getFormData interface to work. Added two small semantic fixes, but |
229 |
|
did not manage to get it up. Need to exime this a little bit more |
230 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
231 |
|
around the menus on the right side to be able to assign different |
232 |
|
styles. Added dataset actions while editing a dataset. |
233 |
|
|
234 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
235 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
236 |
|
removing unwanted del method |
237 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
238 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
239 |
|
templates as well for larger information units like the dataset summary. |
240 |
|
|
241 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
242 |
|
|
243 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
244 |
|
method to document to find index of page. |
245 |
|
|
246 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
247 |
|
to fetch data from semantic box. |
248 |
|
|
249 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
250 |
|
FormData implementation to support DB and semantic box. |
251 |
|
|
252 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
253 |
|
|
254 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
255 |
|
error message. |
256 |
|
|
257 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
258 |
|
dataset from backend each time a page is up to edit. |
259 |
|
|
260 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
261 |
|
|
262 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
263 |
|
returns "Page not found" if given page is None. |
264 |
|
|
265 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
266 |
|
to avoid crashing when ask for a non-existent page. |
267 |
|
|
268 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
269 |
|
|
270 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
271 |
|
|
272 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
273 |
|
|
274 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
275 |
|
and renderers. |
276 |
|
|
277 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
278 |
|
and renderers now. TODO: Move renderers to renderer.py |
279 |
|
|
280 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
281 |
|
|
282 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
283 |
|
and bound in the the new added functions to create, edit, delete and |
284 |
|
show formdata. |
285 |
|
|
286 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
287 |
|
|
288 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
289 |
|
simple linear scan for dataset lookup now. |
290 |
|
|
291 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
292 |
|
of different sizes. |
293 |
|
|
294 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
295 |
|
|
296 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
297 |
|
fuction |
298 |
|
|
299 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
300 |
|
to the DataSet interface |
301 |
|
|
302 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
303 |
|
renderes for create, update, delete and show actions on formular data. |
304 |
|
|
305 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
306 |
|
|
307 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
308 |
|
to methods is now driven by regualar expressions and |
309 |
|
a dictionary. Response objects are now able to send |
310 |
|
error codes. |
311 |
|
|
312 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
313 |
|
when help in Formdata is None. Moved text for help into |
314 |
|
a top level '''...''' variable. |
315 |
|
|
316 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
317 |
|
|
318 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
319 |
|
|
320 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
321 |
|
table driven mapping of reguest handling. TODO: split the |
322 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
323 |
|
Smaller clean ups and better exception handling. |
324 |
|
|
325 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
326 |
|
and do not catch them. |
327 |
|
|
328 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
329 |
|
|
330 |
|
* tools/formed/formed/plugins/web/renderer.py, |
331 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
332 |
|
the HelpProvider and inserted help icons to the html output. |
333 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
334 |
|
within a <div> tag. |
335 |
|
Modified the error messages. |
336 |
|
|
337 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
338 |
|
|
339 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
340 |
|
the server-side caching more clean. Fixes a bug with |
341 |
|
serving static content. |
342 |
|
|
343 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
344 |
|
|
345 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
346 |
|
|
347 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
348 |
|
to "application/xhtml+xml" when serving help texts. |
349 |
|
|
350 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
351 |
|
|
352 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
353 |
|
pairwise differences between all modes. |
354 |
|
|
355 |
|
* tools/formed/formed/config.py: Use new export filter. |
356 |
|
|
357 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
358 |
|
|
359 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
360 |
|
XHTML document for id'ed divs and builds a help lookup. |
361 |
|
|
362 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
363 |
|
the help content frame. |
364 |
|
|
365 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
366 |
|
help text index. |
367 |
|
|
368 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
369 |
|
texts now. |
370 |
|
|
371 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
372 |
|
|
373 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
374 |
|
elements will be rendered in the formular navigation. |
375 |
|
Formular pages in the navigation now have their own css-style |
376 |
|
attributes. |
377 |
|
|
378 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
379 |
|
|
380 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
381 |
|
errors in template |
382 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
383 |
|
pageerrors variable |
384 |
|
|
385 |
|
2007-09-03 Frank Koormann <[email protected]> |
386 |
|
|
387 |
|
* tools/formed/formed/plugins/export/html.py |
388 |
|
(RecursiveExporter): Added annotation to export |
389 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
390 |
|
|
391 |
|
|
392 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
393 |
|
|
394 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
395 |
|
from model.misc now. |
396 |
|
|
397 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
398 |
|
|
399 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
400 |
|
'annotation' attribute to node components. This is to |
401 |
|
enable FormEd document authors to add comments to groups |
402 |
|
and fields. |
403 |
|
|
404 |
|
2007-09-03 Frank Koormann <[email protected]> |
405 |
|
|
406 |
|
* tools/formed/formed/model/nodecomponents.py |
407 |
|
(NodeComponent.getParent): New method to get node components parent. |
408 |
|
|
409 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
410 |
|
as simple list instead of collection of bools. |
411 |
|
|
412 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
413 |
|
|
414 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
415 |
|
from persistent storage details. |
416 |
|
|
417 |
|
* tools/formed/formed/model/memory.py: In core implementation |
418 |
|
of the persistent interfaces. |
419 |
|
|
420 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
421 |
|
|
422 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
423 |
|
|
424 |
|
* tools/formed/formed/plugins/export/sql.py, |
425 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
426 |
|
for FileDialogFilter sub classes. |
427 |
|
|
428 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
429 |
|
|
430 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
431 |
|
tree traversals is a common task. To ease this a decorator function |
432 |
|
checkMode in union with sub classing ModeChecker can be used. |
433 |
|
To make it work simply subclass from ModeChecker and add the decorator |
434 |
|
to the methods that need mode tracking. Before you start the recursion |
435 |
|
call self.prepareDescent(). |
436 |
|
|
437 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
438 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
439 |
|
too. |
440 |
|
|
441 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
442 |
|
|
443 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
444 |
|
|
445 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
446 |
|
uses new FileDialogFilter base class too. |
447 |
|
|
448 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
449 |
|
|
450 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
451 |
|
need a file dialog. Till now each of them pulled up its |
452 |
|
own. This was silly code replication. Now there is an abstract |
453 |
|
base class 'FileDialogFilter' which implements the common |
454 |
|
behavior. The file exporters should subclass it. |
455 |
|
|
456 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
457 |
|
exporters from the new base class. TODO: Subclass the HTML |
458 |
|
exporter too. |
459 |
|
|
460 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
461 |
|
|
462 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
463 |
|
work (again). |
464 |
|
|
465 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
466 |
|
|
467 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
468 |
|
exprt works now in a recursive way. This change was needed because |
469 |
|
the structure of the formedtree has changed to be able to render |
470 |
|
full hirachically document stuctures. (nested lists) |
471 |
|
TODO: Fix modechecking |
472 |
|
|
473 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
474 |
|
|
475 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
476 |
|
now in recursive way. This change was needed because the structure |
477 |
|
of the formedtree has changed to be able to render full hirachically |
478 |
|
document stuctures. (nested lists) |
479 |
|
|
480 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
481 |
|
|
482 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
483 |
|
instead of remove on sets. |
484 |
|
|
485 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
486 |
|
exporter for table views. |
487 |
|
|
488 |
|
* tools/formed/formed/config.py: Added the new exporter |
489 |
|
to the list of export filters. |
490 |
|
|
491 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
492 |
|
|
493 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
494 |
|
Page.allWidgets() |
495 |
|
|
496 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
497 |
|
for stored procudeures. |
498 |
|
|
499 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
500 |
|
|
501 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
502 |
|
|
503 |
|
* tools/formed/formed/plugins/web/plugin.py, |
504 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
505 |
|
to get the errors for a whole page in te formular. These errors can |
506 |
|
now be displayed on the top of the formular. |
507 |
|
|
508 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
509 |
|
|
510 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
511 |
|
of the getFromData interface and prepared the rederer for generating |
512 |
|
nice error messages |
513 |
|
|
514 |
|
2007-08-28 Frank Koormann <[email protected]> |
515 |
|
|
516 |
|
* tools/formed/formed/plugins/export/sql.py |
517 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
518 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
519 |
|
|
520 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
521 |
|
|
522 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
523 |
|
function to generated valid quotes within the sql statements |
524 |
|
|
525 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
526 |
|
|
527 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
528 |
|
for repeat tables. |
529 |
|
|
530 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
531 |
|
|
532 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
533 |
|
an extra table check in a table of same content exists. In |
534 |
|
this case reference the existing table. |
535 |
|
|
536 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
537 |
|
|
538 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
539 |
|
_real_ SQL and respect repeat groups. |
540 |
|
|
541 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
542 |
|
|
543 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
544 |
|
instead of expensive += string concat in some places. |
545 |
|
|
546 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
547 |
|
|
548 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
549 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
550 |
|
|
551 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
552 |
|
|
553 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
554 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
555 |
|
textfields. Fieldset generated depends now on the "invisible" |
556 |
|
attribute of the groupnode. Field-label generation slightly changed. |
557 |
|
Added error indication to textfields |
558 |
|
|
559 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
560 |
|
|
561 |
|
* tools/formed/formed/model/data.py, |
562 |
|
tools/formed/formed/io/document.py: Removed support |
563 |
|
of logical groups. |
564 |
|
|
565 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
566 |
|
|
567 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
568 |
|
attributes. |
569 |
|
|
570 |
|
* tools/formed/test-data/simple.xml: Applied. |
571 |
|
|
572 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
573 |
|
|
574 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
575 |
|
'invisible' attributes to group. TODO: remove logical group. |
576 |
|
|
577 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
578 |
|
|
579 |
|
* tools/formed/plugins/web/plugin.py, |
580 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
581 |
|
depending tags in the html generation. |
582 |
|
|
583 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
584 |
|
|
585 |
|
* tools/formed/formed/model/data.py, |
586 |
|
tools/formed/formed/io/document.py: Added a logical group. |
587 |
|
It has an attribute 'repeat' to indicate that it might |
588 |
|
be worthy an external table in DB schema. |
589 |
|
|
590 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
591 |
|
|
592 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
593 |
|
serving of static content. |
594 |
|
|
595 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
596 |
|
old send code. |
597 |
|
|
598 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
599 |
|
|
600 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
601 |
|
Response object. Fix typo. |
602 |
|
|
603 |
|
* tools/formed/formed/plugins/web/server.py: support |
604 |
|
response object to serve different MIME types. |
605 |
|
|
606 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
607 |
|
|
608 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
609 |
|
to FORMED environment variable to specify the |
610 |
|
root of the static content. |
611 |
|
|
612 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
613 |
|
|
614 |
|
* tools/formed/formed/model/data.py, |
615 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
616 |
|
|
617 |
|
* tools/formed/formed/plugins/web/www, |
618 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
619 |
|
a template for the HTML output. |
620 |
|
|
621 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
622 |
|
mode issues. Introduces CSS support. Simplified the action |
623 |
|
handling. |
624 |
|
|
625 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
626 |
|
nagivation code. |
627 |
|
|
628 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
629 |
|
|
630 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
631 |
|
|
632 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
633 |
|
parameter to setAttribute() of RuleLeaf. |
634 |
|
|
635 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
636 |
|
HTTP server code out to separate module. |
637 |
|
|
638 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
639 |
|
needless -1 from pop() |
640 |
|
|
641 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
642 |
|
the HTTP server code now. |
643 |
|
|
644 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
645 |
|
|
646 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
647 |
|
|
648 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
649 |
|
expression evaluator. To avoid the problem of eval()ing |
650 |
|
arbitrary python expressions I've decided to use a very |
651 |
|
basic and limited stack machine to support rule checking. |
652 |
|
|
653 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
654 |
|
|
655 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
656 |
|
|
657 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
658 |
|
to find all items of a given type in document for a given |
659 |
|
mode. Usefull to find all rules in the tree. |
660 |
|
|
661 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
662 |
|
to attribute table to report exceptions when setting a value |
663 |
|
from GUI. Useful to report compilation errors when setting |
664 |
|
expr of rule leafs. |
665 |
|
|
666 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
667 |
|
from the attribute table and pop up dialogs if they occur. |
668 |
|
Added a counter of rule modifications in tree. Useful if you |
669 |
|
want build cached data structures like rule sets and you want |
670 |
|
to know if they are still valid. |
671 |
|
|
672 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
673 |
|
|
674 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
675 |
|
for checkbox values. (Syntax error). |
676 |
|
|
677 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
678 |
|
generation |
679 |
|
|
680 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
681 |
|
|
682 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |