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