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