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