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