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