1 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
3 |
|
elements will be rendered in the formular navigation. |
4 |
|
Formular pages in the navigation now have their own css-style |
5 |
|
attributes. |
6 |
|
|
7 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
8 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
9 |
|
errors in template |
10 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
11 |
|
pageerrors variable |
12 |
|
|
13 |
|
2007-09-03 Frank Koormann <[email protected]> |
14 |
|
|
15 |
|
* tools/formed/formed/plugins/export/html.py |
16 |
|
(RecursiveExporter): Added annotation to export |
17 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
18 |
|
|
19 |
|
|
20 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
21 |
|
|
22 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
23 |
|
from model.misc now. |
24 |
|
|
25 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
26 |
|
|
27 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
28 |
|
'annotation' attribute to node components. This is to |
29 |
|
enable FormEd document authors to add comments to groups |
30 |
|
and fields. |
31 |
|
|
32 |
|
2007-09-03 Frank Koormann <[email protected]> |
33 |
|
|
34 |
|
* tools/formed/formed/model/nodecomponents.py |
35 |
|
(NodeComponent.getParent): New method to get node components parent. |
36 |
|
|
37 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
38 |
|
as simple list instead of collection of bools. |
39 |
|
|
40 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
41 |
|
|
42 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
43 |
|
from persistent storage details. |
44 |
|
|
45 |
|
* tools/formed/formed/model/memory.py: In core implementation |
46 |
|
of the persistent interfaces. |
47 |
|
|
48 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
49 |
|
|
50 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/export/sql.py, |
53 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
54 |
|
for FileDialogFilter sub classes. |
55 |
|
|
56 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
57 |
|
|
58 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
59 |
|
tree traversals is a common task. To ease this a decorator function |
60 |
|
checkMode in union with sub classing ModeChecker can be used. |
61 |
|
To make it work simply subclass from ModeChecker and add the decorator |
62 |
|
to the methods that need mode tracking. Before you start the recursion |
63 |
|
call self.prepareDescent(). |
64 |
|
|
65 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
66 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
67 |
|
too. |
68 |
|
|
69 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
72 |
|
|
73 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
74 |
|
uses new FileDialogFilter base class too. |
75 |
|
|
76 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
77 |
|
|
78 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
79 |
|
need a file dialog. Till now each of them pulled up its |
80 |
|
own. This was silly code replication. Now there is an abstract |
81 |
|
base class 'FileDialogFilter' which implements the common |
82 |
|
behavior. The file exporters should subclass it. |
83 |
|
|
84 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
85 |
|
exporters from the new base class. TODO: Subclass the HTML |
86 |
|
exporter too. |
87 |
|
|
88 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
89 |
|
|
90 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
91 |
|
work (again). |
92 |
|
|
93 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
96 |
|
exprt works now in a recursive way. This change was needed because |
97 |
|
the structure of the formedtree has changed to be able to render |
98 |
|
full hirachically document stuctures. (nested lists) |
99 |
|
TODO: Fix modechecking |
100 |
|
|
101 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
104 |
|
now in recursive way. This change was needed because the structure |
105 |
|
of the formedtree has changed to be able to render full hirachically |
106 |
|
document stuctures. (nested lists) |
107 |
|
|
108 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
109 |
|
|
110 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
111 |
|
instead of remove on sets. |
112 |
|
|
113 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
114 |
|
exporter for table views. |
115 |
|
|
116 |
|
* tools/formed/formed/config.py: Added the new exporter |
117 |
|
to the list of export filters. |
118 |
|
|
119 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
120 |
|
|
121 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
122 |
|
Page.allWidgets() |
123 |
|
|
124 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
125 |
|
for stored procudeures. |
126 |
|
|
127 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
128 |
|
|
129 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
130 |
|
|
131 |
|
* tools/formed/formed/plugins/web/plugin.py, |
132 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
133 |
|
to get the errors for a whole page in te formular. These errors can |
134 |
|
now be displayed on the top of the formular. |
135 |
|
|
136 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
137 |
|
|
138 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
139 |
|
of the getFromData interface and prepared the rederer for generating |
140 |
|
nice error messages |
141 |
|
|
142 |
|
2007-08-28 Frank Koormann <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/export/sql.py |
145 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
146 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
147 |
|
|
148 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
149 |
|
|
150 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
151 |
|
function to generated valid quotes within the sql statements |
152 |
|
|
153 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
156 |
|
for repeat tables. |
157 |
|
|
158 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
161 |
|
an extra table check in a table of same content exists. In |
162 |
|
this case reference the existing table. |
163 |
|
|
164 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
165 |
|
|
166 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
167 |
|
_real_ SQL and respect repeat groups. |
168 |
|
|
169 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
170 |
|
|
171 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
172 |
|
instead of expensive += string concat in some places. |
173 |
|
|
174 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
175 |
|
|
176 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
177 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
178 |
|
|
179 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
180 |
|
|
181 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
182 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
183 |
|
textfields. Fieldset generated depends now on the "invisible" |
184 |
|
attribute of the groupnode. Field-label generation slightly changed. |
185 |
|
Added error indication to textfields |
186 |
|
|
187 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
188 |
|
|
189 |
|
* tools/formed/formed/model/data.py, |
190 |
|
tools/formed/formed/io/document.py: Removed support |
191 |
|
of logical groups. |
192 |
|
|
193 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
194 |
|
|
195 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
196 |
|
attributes. |
197 |
|
|
198 |
|
* tools/formed/test-data/simple.xml: Applied. |
199 |
|
|
200 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
201 |
|
|
202 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
203 |
|
'invisible' attributes to group. TODO: remove logical group. |
204 |
|
|
205 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
206 |
|
|
207 |
|
* tools/formed/plugins/web/plugin.py, |
208 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
209 |
|
depending tags in the html generation. |
210 |
|
|
211 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
212 |
|
|
213 |
|
* tools/formed/formed/model/data.py, |
214 |
|
tools/formed/formed/io/document.py: Added a logical group. |
215 |
|
It has an attribute 'repeat' to indicate that it might |
216 |
|
be worthy an external table in DB schema. |
217 |
|
|
218 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
219 |
|
|
220 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
221 |
|
serving of static content. |
222 |
|
|
223 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
224 |
|
old send code. |
225 |
|
|
226 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
227 |
|
|
228 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
229 |
|
Response object. Fix typo. |
230 |
|
|
231 |
|
* tools/formed/formed/plugins/web/server.py: support |
232 |
|
response object to serve different MIME types. |
233 |
|
|
234 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
235 |
|
|
236 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
237 |
|
to FORMED environment variable to specify the |
238 |
|
root of the static content. |
239 |
|
|
240 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
241 |
|
|
242 |
|
* tools/formed/formed/model/data.py, |
243 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
244 |
|
|
245 |
|
* tools/formed/formed/plugins/web/www, |
246 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
247 |
|
a template for the HTML output. |
248 |
|
|
249 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
250 |
|
mode issues. Introduces CSS support. Simplified the action |
251 |
|
handling. |
252 |
|
|
253 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
254 |
|
nagivation code. |
255 |
|
|
256 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
257 |
|
|
258 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
259 |
|
|
260 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
261 |
|
parameter to setAttribute() of RuleLeaf. |
262 |
|
|
263 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
264 |
|
HTTP server code out to separate module. |
265 |
|
|
266 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
267 |
|
needless -1 from pop() |
268 |
|
|
269 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
270 |
|
the HTTP server code now. |
271 |
|
|
272 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
273 |
|
|
274 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
275 |
|
|
276 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
277 |
|
expression evaluator. To avoid the problem of eval()ing |
278 |
|
arbitrary python expressions I've decided to use a very |
279 |
|
basic and limited stack machine to support rule checking. |
280 |
|
|
281 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
282 |
|
|
283 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
284 |
|
|
285 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
286 |
|
to find all items of a given type in document for a given |
287 |
|
mode. Usefull to find all rules in the tree. |
288 |
|
|
289 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
290 |
|
to attribute table to report exceptions when setting a value |
291 |
|
from GUI. Useful to report compilation errors when setting |
292 |
|
expr of rule leafs. |
293 |
|
|
294 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
295 |
|
from the attribute table and pop up dialogs if they occur. |
296 |
|
Added a counter of rule modifications in tree. Useful if you |
297 |
|
want build cached data structures like rule sets and you want |
298 |
|
to know if they are still valid. |
299 |
|
|
300 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
301 |
|
|
302 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
303 |
|
for checkbox values. (Syntax error). |
304 |
|
|
305 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
306 |
|
generation |
307 |
|
|
308 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
309 |
|
|
310 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
311 |
|
making the formularnames more database friendly. Added some more |
312 |
|
checks. |
313 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
314 |
|
separated class, and some fixes in sql generation. |
315 |
|
|
316 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
317 |
|
|
318 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
319 |
|
of external choice list. |
320 |
|
|
321 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
322 |
|
|
323 |
|
* tools/formed/formed/main.py: Little workaround for |
324 |
|
mode selection if someone adds an removes a mode. |
325 |
|
|
326 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
327 |
|
|
328 |
|
* tools/formed/test-data/simple.xml: Better test case for |
329 |
|
mode depended leaf items. |
330 |
|
|
331 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
332 |
|
to calculate the effective mode of an item. |
333 |
|
|
334 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
335 |
|
mode. TODO: the 'all' modus return false results sometimes. |
336 |
|
Cause: The modes are only cumulated over time. Removal is |
337 |
|
not done. |
338 |
|
|
339 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
340 |
|
|
341 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
342 |
|
of radio groups and choices too. |
343 |
|
|
344 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
345 |
|
|
346 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
347 |
|
by formular names to make the naming more database friendly. |
348 |
|
Now only alphanumeric and underscore chars is allowed. |
349 |
|
|
350 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
351 |
|
|
352 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
353 |
|
HTML table exporter a bit to be on par with the XSLT |
354 |
|
script. TODO: Dump items in radio and choice groups. |
355 |
|
|
356 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
357 |
|
|
358 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
359 |
|
HTML and SQL exporters. |
360 |
|
|
361 |
|
* tools/formed/formed/plugins/export, |
362 |
|
tools/formed/formed/plugins/export/__init__.py, |
363 |
|
tools/formed/formed/plugins/export/sql.py, |
364 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
365 |
|
the HTML and the SQL exporters now. |
366 |
|
|
367 |
|
* tools/formed/formed/config.py: Use exporters from different |
368 |
|
package now. |
369 |
|
|
370 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
371 |
|
|
372 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
373 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
374 |
|
in a new file (formed/plugins/export/htmlexport.py and |
375 |
|
sqlexport.py?) |
376 |
|
|
377 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
378 |
|
|
379 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
380 |
|
|
381 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
382 |
|
method to determine the depth of particular tree item. |
383 |
|
|
384 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
385 |
|
HTML export filters. TODO: needs more work. |
386 |
|
|
387 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
388 |
|
|
389 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
390 |
|
|
391 |
|
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
392 |
|
to extract fields and options in the XFA Data in teh PDF. This |
393 |
|
script might me handy to indicate changes between the different |
394 |
|
formular versions. |
395 |
|
|
396 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
397 |
|
|
398 |
|
* tools/formed/formed/main.py: Add an 'all' mode to |
399 |
|
select all modes. ;-) |
400 |
|
|
401 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
402 |
|
|
403 |
|
* tools/formed/test-data/simple.xml, |
404 |
|
tools/formed/formed/model/data.py, |
405 |
|
tools/formed/formed/plugins/web/plugin.py, |
406 |
|
tools/formed/formed/plugins/web/renderer.py, |
407 |
|
tools/formed/formed/io/document.py, |
408 |
|
tools/formed/formed/main.py: Removed support for switch nodes. |
409 |
|
BEWARE: This breaks compatibility with older documents! |
410 |
|
|
411 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
412 |
|
|
413 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the |
414 |
|
getSelectedMode() from main now. |
415 |
|
|
416 |
|
* tools/formed/formed/main.py: selected mode is now hold |
417 |
|
in main. |
418 |
|
|
419 |
|
* tools/formed/formed/config.py: removed selected mode from |
420 |
|
env configuration. |
421 |
|
|
422 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
423 |
|
|
424 |
|
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
425 |
|
table are now alphabetically sorted. |
426 |
|
|
427 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
428 |
|
|
429 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to |
430 |
|
establish the new 'modes' recursively. |
431 |
|
|
432 |
|
* tools/formed/formed/plugins/plugin.py: Pass main instead |
433 |
|
of cfg on plug-in start-up. |
434 |
|
|
435 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new |
436 |
|
'modes' attribute for rendering. |
437 |
|
|
438 |
|
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
439 |
|
to check the new modes. |
440 |
|
|
441 |
|
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
442 |
|
|
443 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
444 |
|
|
445 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
446 |
|
attribute 'modes' to NodeComponents. |
447 |
|
|
448 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
449 |
|
|
450 |
|
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
451 |
|
|
452 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
453 |
|
|
454 |
|
* tools/formed/formed/plugins/web/renderer.py: Another fix |
455 |
|
for the hidden field. Argh! |
456 |
|
|
457 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
458 |
|
|
459 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
460 |
|
generation of hidden page field. |
461 |
|
|
462 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
463 |
|
|
464 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
465 |
|
checks for radio groups. |
466 |
|
|
467 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
468 |
|
|
469 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
470 |
|
checks for choices. |
471 |
|
|
472 |
|
2007-08-21 Frank Koormann <[email protected]> |
473 |
|
|
474 |
|
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
475 |
|
alternatives. |
476 |
|
|
477 |
|
2007-08-21 Frank Koormann <[email protected]> |
478 |
|
|
479 |
|
* contrib/convert-formedtree2html.xsl: |
480 |
|
Replace technical types with readable descriptions |
481 |
|
|
482 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
483 |
|
|
484 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
485 |
|
issues. 'action' looks for all widgets on a page now, goes |
486 |
|
through all passed parameters, tries to match them with the |
487 |
|
widgets of the page and put them into the semantic box. |
488 |
|
Afterwards a list of untouched page parameters are left |
489 |
|
which will be deleted from the semantic box. |
490 |
|
|
491 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
492 |
|
The NodeComponent is passed as an argument now. |
493 |
|
|
494 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
495 |
|
hidden field to store the name of the page. |
496 |
|
|
497 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
498 |
|
|
499 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
500 |
|
issue with incoming UTF-8 data. |
501 |
|
|
502 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
503 |
|
|
504 |
|
* tools/formed/test-data/simple.xml: Improve test for widgets |
505 |
|
in switches. |
506 |
|
|
507 |
|
* tools/formed/formed/model/data.py: Added a method to find all |
508 |
|
widgets in a given page. Fixed a bug when walking in switch |
509 |
|
with a given mode. |
510 |
|
|
511 |
|
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
512 |
|
listing all widgets in page. |
513 |
|
|
514 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
515 |
|
|
516 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
517 |
|
latin-1 |
518 |
|
|
519 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
520 |
|
|
521 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
522 |
|
walk. |
523 |
|
|
524 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
525 |
|
walk() with usage of the new mode parameter. Added a method to |
526 |
|
give children in a given mode. |
527 |
|
|
528 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
529 |
|
new Switch.childrenInMode() method. |
530 |
|
|
531 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
532 |
|
|
533 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
534 |
|
texts and text areas. |
535 |
|
|
536 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
537 |
|
to UTF-8 in generated form. |
538 |
|
|
539 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
540 |
|
|
541 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
542 |
|
tests for dates. |
543 |
|
|
544 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
545 |
|
|
546 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
547 |
|
range test. |
548 |
|
|
549 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
550 |
|
to find a tree item for a given name. |
551 |
|
|
552 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
553 |
|
semantic checking. Has check for integers. |
554 |
|
|
555 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
556 |
|
check. |
557 |
|
|
558 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
559 |
|
|
560 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
561 |
|
selection-field generation (Removed quote) |
562 |
|
|
563 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
564 |
|
|
565 |
|
* tools/formed/formed/plugins/web/plugin.py, |
566 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
567 |
|
simple cookie based session management to the HTML |
568 |
|
renderer. This submit parameters are stored in the |
569 |
|
session now. This will ease testing the constraint |
570 |
|
tests which need to be written soon. |
571 |
|
|
572 |
|
BEWARE: The session management is _not_ made for production! |
573 |
|
Denial of service attacks are too easy, and the |
574 |
|
cryptographical strength of the session id is doubtful. |
575 |
|
|
576 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
577 |
|
|
578 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
579 |
|
coming from the document tree now when inserting it into the |
580 |
|
HTML output. |
581 |
|
|
582 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
583 |
|
|
584 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
585 |
|
of plug-in: Filter. They have a short and a long description |
586 |
|
and can be hooked automatically into the new 'Filters' |
587 |
|
sub menu under 'Extra'. They got called when the user |
588 |
|
selects their respective menu item. |
589 |
|
|
590 |
|
* tools/formed/formed/config.py: Contains the list of |
591 |
|
installed filters. |
592 |
|
|
593 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
594 |
|
sub menu during gui initialization. The hard wired code |
595 |
|
for make unique and formular name/description -> name |
596 |
|
is removed because they are implemented as filters now. |
597 |
|
|
598 |
|
* tools/formed/formed/model/nodecomponents.py, |
599 |
|
tools/formed/formed/model/data.py: Removed the make |
600 |
|
unique and formular name/description -> name code. |
601 |
|
|
602 |
|
* tools/formed/formed/plugins/names, |
603 |
|
tools/formed/formed/plugins/names/__init__.py, |
604 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
605 |
|
the make unique and formular name/description -> name code |
606 |
|
in form of filters. |
607 |
|
|
608 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
609 |
|
test for the formular name/description -> name filter. |
610 |
|
|
611 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
612 |
|
|
613 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
614 |
|
command line argument is interpreted as filename of document |
615 |
|
to be loaded at program startup. |
616 |
|
|
617 |
2007-08-17 Frank Koormann <[email protected]> |
2007-08-17 Frank Koormann <[email protected]> |
618 |
|
|
619 |
* contrib/convert-formedtree2html.xsl: |
* contrib/convert-formedtree2html.xsl: |
620 |
Heading level depending on depth of group node. |
Heading level depending on depth of group node. |
621 |
In case of radio/choice/check only list of options. |
In case of radio/choice/check only list of options. |
622 |
|
|
623 |
2007-08-1/ Torsten Irlaender <[email protected]> |
2007-08-17 Torsten Irlaender <[email protected]> |
624 |
|
|
625 |
* contrib/convert-formedtree2html.xsl: Output is now generated with |
* contrib/convert-formedtree2html.xsl: Output is now generated with |
626 |
HTML doc-string and charset information in the meta-header. |
HTML doc-string and charset information in the meta-header. |
627 |
|
|
628 |
2007-08-1/ Torsten Irlaender <[email protected]> |
2007-08-17 Torsten Irlaender <[email protected]> |
629 |
|
|
630 |
* contrib/convert-formedtree2html.xsl: Added small script for |
* contrib/convert-formedtree2html.xsl: Added small script for |
631 |
exporting the formed tree to html |
exporting the formed tree to html |