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