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