1 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
3 |
|
renderer.py to form_renderer.py. This file will contain formular |
4 |
|
specfic render methods in the future. |
5 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
6 |
|
which will contain general render methods. |
7 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
8 |
|
rendering into renderer.py or form_renderer.py. This file will only |
9 |
|
contain teh handlers in the future. |
10 |
|
|
11 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
12 |
|
* tools/formed/formed/plugins/web/renderer.py, |
13 |
|
tools/formed/formed/plugins/web/controller.py: |
14 |
|
Renderes now get an instance of the formdata object to provide |
15 |
|
access the data needed to render various infoboxes etc. Handler |
16 |
|
instanciate the formdata. |
17 |
|
|
18 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
19 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
20 |
|
getFormData interface to work. Added two small semantic fixes, but |
21 |
|
did not manage to get it up. Need to exime this a little bit more |
22 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
23 |
|
around the menus on the right side to be able to assign different |
24 |
|
styles. Added dataset actions while editing a dataset. |
25 |
|
|
26 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
27 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
28 |
|
removing unwanted del method |
29 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
30 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
31 |
|
templates as well for larger information units like the dataset summary. |
32 |
|
|
33 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
36 |
|
method to document to find index of page. |
37 |
|
|
38 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
39 |
|
to fetch data from semantic box. |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
42 |
|
FormData implementation to support DB and semantic box. |
43 |
|
|
44 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
45 |
|
|
46 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
47 |
|
error message. |
48 |
|
|
49 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
50 |
|
dataset from backend each time a page is up to edit. |
51 |
|
|
52 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
55 |
|
returns "Page not found" if given page is None. |
56 |
|
|
57 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
58 |
|
to avoid crashing when ask for a non-existent page. |
59 |
|
|
60 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
61 |
|
|
62 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
63 |
|
|
64 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
67 |
|
and renderers. |
68 |
|
|
69 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
70 |
|
and renderers now. TODO: Move renderers to renderer.py |
71 |
|
|
72 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
75 |
|
and bound in the the new added functions to create, edit, delete and |
76 |
|
show formdata. |
77 |
|
|
78 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
79 |
|
|
80 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
81 |
|
simple linear scan for dataset lookup now. |
82 |
|
|
83 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
84 |
|
of different sizes. |
85 |
|
|
86 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
87 |
|
|
88 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
89 |
|
fuction |
90 |
|
|
91 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
92 |
|
to the DataSet interface |
93 |
|
|
94 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
95 |
|
renderes for create, update, delete and show actions on formular data. |
96 |
|
|
97 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
98 |
|
|
99 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
100 |
|
to methods is now driven by regualar expressions and |
101 |
|
a dictionary. Response objects are now able to send |
102 |
|
error codes. |
103 |
|
|
104 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
105 |
|
when help in Formdata is None. Moved text for help into |
106 |
|
a top level '''...''' variable. |
107 |
|
|
108 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
109 |
|
|
110 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
111 |
|
|
112 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
113 |
|
table driven mapping of reguest handling. TODO: split the |
114 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
115 |
|
Smaller clean ups and better exception handling. |
116 |
|
|
117 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
118 |
|
and do not catch them. |
119 |
|
|
120 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/web/renderer.py, |
123 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
124 |
|
the HelpProvider and inserted help icons to the html output. |
125 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
126 |
|
within a <div> tag. |
127 |
|
Modified the error messages. |
128 |
|
|
129 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
130 |
|
|
131 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
132 |
|
the server-side caching more clean. Fixes a bug with |
133 |
|
serving static content. |
134 |
|
|
135 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
136 |
|
|
137 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
140 |
|
to "application/xhtml+xml" when serving help texts. |
141 |
|
|
142 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
145 |
|
pairwise differences between all modes. |
146 |
|
|
147 |
|
* tools/formed/formed/config.py: Use new export filter. |
148 |
|
|
149 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
150 |
|
|
151 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
152 |
|
XHTML document for id'ed divs and builds a help lookup. |
153 |
|
|
154 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
155 |
|
the help content frame. |
156 |
|
|
157 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
158 |
|
help text index. |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
161 |
|
texts now. |
162 |
|
|
163 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
166 |
|
elements will be rendered in the formular navigation. |
167 |
|
Formular pages in the navigation now have their own css-style |
168 |
|
attributes. |
169 |
|
|
170 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
173 |
|
errors in template |
174 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
175 |
|
pageerrors variable |
176 |
|
|
177 |
|
2007-09-03 Frank Koormann <[email protected]> |
178 |
|
|
179 |
|
* tools/formed/formed/plugins/export/html.py |
180 |
|
(RecursiveExporter): Added annotation to export |
181 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
182 |
|
|
183 |
|
|
184 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
185 |
|
|
186 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
187 |
|
from model.misc now. |
188 |
|
|
189 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
190 |
|
|
191 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
192 |
|
'annotation' attribute to node components. This is to |
193 |
|
enable FormEd document authors to add comments to groups |
194 |
|
and fields. |
195 |
|
|
196 |
|
2007-09-03 Frank Koormann <[email protected]> |
197 |
|
|
198 |
|
* tools/formed/formed/model/nodecomponents.py |
199 |
|
(NodeComponent.getParent): New method to get node components parent. |
200 |
|
|
201 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
202 |
|
as simple list instead of collection of bools. |
203 |
|
|
204 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
205 |
|
|
206 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
207 |
|
from persistent storage details. |
208 |
|
|
209 |
|
* tools/formed/formed/model/memory.py: In core implementation |
210 |
|
of the persistent interfaces. |
211 |
|
|
212 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
213 |
|
|
214 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
215 |
|
|
216 |
|
* tools/formed/formed/plugins/export/sql.py, |
217 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
218 |
|
for FileDialogFilter sub classes. |
219 |
|
|
220 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
221 |
|
|
222 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
223 |
|
tree traversals is a common task. To ease this a decorator function |
224 |
|
checkMode in union with sub classing ModeChecker can be used. |
225 |
|
To make it work simply subclass from ModeChecker and add the decorator |
226 |
|
to the methods that need mode tracking. Before you start the recursion |
227 |
|
call self.prepareDescent(). |
228 |
|
|
229 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
230 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
231 |
|
too. |
232 |
|
|
233 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
234 |
|
|
235 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
236 |
|
|
237 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
238 |
|
uses new FileDialogFilter base class too. |
239 |
|
|
240 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
241 |
|
|
242 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
243 |
|
need a file dialog. Till now each of them pulled up its |
244 |
|
own. This was silly code replication. Now there is an abstract |
245 |
|
base class 'FileDialogFilter' which implements the common |
246 |
|
behavior. The file exporters should subclass it. |
247 |
|
|
248 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
249 |
|
exporters from the new base class. TODO: Subclass the HTML |
250 |
|
exporter too. |
251 |
|
|
252 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
253 |
|
|
254 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
255 |
|
work (again). |
256 |
|
|
257 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
258 |
|
|
259 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
260 |
|
exprt works now in a recursive way. This change was needed because |
261 |
|
the structure of the formedtree has changed to be able to render |
262 |
|
full hirachically document stuctures. (nested lists) |
263 |
|
TODO: Fix modechecking |
264 |
|
|
265 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
266 |
|
|
267 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
268 |
|
now in recursive way. This change was needed because the structure |
269 |
|
of the formedtree has changed to be able to render full hirachically |
270 |
|
document stuctures. (nested lists) |
271 |
|
|
272 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
273 |
|
|
274 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
275 |
|
instead of remove on sets. |
276 |
|
|
277 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
278 |
|
exporter for table views. |
279 |
|
|
280 |
|
* tools/formed/formed/config.py: Added the new exporter |
281 |
|
to the list of export filters. |
282 |
|
|
283 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
284 |
|
|
285 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
286 |
|
Page.allWidgets() |
287 |
|
|
288 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
289 |
|
for stored procudeures. |
290 |
|
|
291 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
292 |
|
|
293 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
294 |
|
|
295 |
|
* tools/formed/formed/plugins/web/plugin.py, |
296 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
297 |
|
to get the errors for a whole page in te formular. These errors can |
298 |
|
now be displayed on the top of the formular. |
299 |
|
|
300 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
301 |
|
|
302 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
303 |
|
of the getFromData interface and prepared the rederer for generating |
304 |
|
nice error messages |
305 |
|
|
306 |
|
2007-08-28 Frank Koormann <[email protected]> |
307 |
|
|
308 |
|
* tools/formed/formed/plugins/export/sql.py |
309 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
310 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
311 |
|
|
312 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
313 |
|
|
314 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
315 |
|
function to generated valid quotes within the sql statements |
316 |
|
|
317 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
318 |
|
|
319 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
320 |
|
for repeat tables. |
321 |
|
|
322 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
323 |
|
|
324 |
|
* tools/formed/formed/plugins/export/sql.py: When generating |
325 |
|
an extra table check in a table of same content exists. In |
326 |
|
this case reference the existing table. |
327 |
|
|
328 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
329 |
|
|
330 |
|
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
331 |
|
_real_ SQL and respect repeat groups. |
332 |
|
|
333 |
|
* tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat() |
334 |
|
|
335 |
|
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
336 |
|
instead of expensive += string concat in some places. |
337 |
|
|
338 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
339 |
|
|
340 |
|
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
341 |
|
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
342 |
|
|
343 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
344 |
|
|
345 |
|
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
346 |
|
* tools/formed/model/data.py: Implements Formadata interface to |
347 |
|
textfields. Fieldset generated depends now on the "invisible" |
348 |
|
attribute of the groupnode. Field-label generation slightly changed. |
349 |
|
Added error indication to textfields |
350 |
|
|
351 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
352 |
|
|
353 |
|
* tools/formed/formed/model/data.py, |
354 |
|
tools/formed/formed/io/document.py: Removed support |
355 |
|
of logical groups. |
356 |
|
|
357 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
358 |
|
|
359 |
|
* tools/formed/formed/io/document.py: Avoid saving empty |
360 |
|
attributes. |
361 |
|
|
362 |
|
* tools/formed/test-data/simple.xml: Applied. |
363 |
|
|
364 |
|
2007-08-28 Sascha L. Teichmann <[email protected]> |
365 |
|
|
366 |
|
* tools/formed/formed/model/data.py: Added 'repeat' and |
367 |
|
'invisible' attributes to group. TODO: remove logical group. |
368 |
|
|
369 |
|
2007-08-27 Torsten Irlaender <[email protected]> |
370 |
|
|
371 |
|
* tools/formed/plugins/web/plugin.py, |
372 |
|
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
373 |
|
depending tags in the html generation. |
374 |
|
|
375 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
376 |
|
|
377 |
|
* tools/formed/formed/model/data.py, |
378 |
|
tools/formed/formed/io/document.py: Added a logical group. |
379 |
|
It has an attribute 'repeat' to indicate that it might |
380 |
|
be worthy an external table in DB schema. |
381 |
|
|
382 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
383 |
|
|
384 |
|
* tools/formed/formed/plugins/web/plugin.py: Support |
385 |
|
serving of static content. |
386 |
|
|
387 |
|
* tools/formed/formed/plugins/web/server.py: Removed |
388 |
|
old send code. |
389 |
|
|
390 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
391 |
|
|
392 |
|
* tools/formed/formed/plugins/web/plugin.py: Use new |
393 |
|
Response object. Fix typo. |
394 |
|
|
395 |
|
* tools/formed/formed/plugins/web/server.py: support |
396 |
|
response object to serve different MIME types. |
397 |
|
|
398 |
|
2007-08-27 Sascha L. Teichmann <[email protected]> |
399 |
|
|
400 |
|
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
401 |
|
to FORMED environment variable to specify the |
402 |
|
root of the static content. |
403 |
|
|
404 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
405 |
|
|
406 |
|
* tools/formed/formed/model/data.py, |
407 |
|
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
408 |
|
|
409 |
|
* tools/formed/formed/plugins/web/www, |
410 |
|
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
411 |
|
a template for the HTML output. |
412 |
|
|
413 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
414 |
|
mode issues. Introduces CSS support. Simplified the action |
415 |
|
handling. |
416 |
|
|
417 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed the |
418 |
|
nagivation code. |
419 |
|
|
420 |
|
* tools/formed/formed/plugins/web/server.py: Added missing import. |
421 |
|
|
422 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
423 |
|
|
424 |
|
* tools/formed/formed/model/data.py: Added missing broadcast |
425 |
|
parameter to setAttribute() of RuleLeaf. |
426 |
|
|
427 |
|
* tools/formed/formed/plugins/web/plugin.py: Factorize |
428 |
|
HTTP server code out to separate module. |
429 |
|
|
430 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
431 |
|
needless -1 from pop() |
432 |
|
|
433 |
|
* tools/formed/formed/plugins/web/server.py: New. Contains |
434 |
|
the HTTP server code now. |
435 |
|
|
436 |
|
2007-08-26 Sascha L. Teichmann <[email protected]> |
437 |
|
|
438 |
|
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
439 |
|
|
440 |
|
* tools/formed/formed/model/expr.py: Added. A simple RPN |
441 |
|
expression evaluator. To avoid the problem of eval()ing |
442 |
|
arbitrary python expressions I've decided to use a very |
443 |
|
basic and limited stack machine to support rule checking. |
444 |
|
|
445 |
|
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
446 |
|
|
447 |
|
* tools/formed/formed/io/document.py: Added factories for rules. |
448 |
|
|
449 |
|
* tools/formed/formed/model/nodecomponents.py: Add a method |
450 |
|
to find all items of a given type in document for a given |
451 |
|
mode. Usefull to find all rules in the tree. |
452 |
|
|
453 |
|
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
454 |
|
to attribute table to report exceptions when setting a value |
455 |
|
from GUI. Useful to report compilation errors when setting |
456 |
|
expr of rule leafs. |
457 |
|
|
458 |
|
* tools/formed/formed/main.py: Added a method to track exceptions |
459 |
|
from the attribute table and pop up dialogs if they occur. |
460 |
|
Added a counter of rule modifications in tree. Useful if you |
461 |
|
want build cached data structures like rule sets and you want |
462 |
|
to know if they are still valid. |
463 |
|
|
464 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
465 |
|
|
466 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
467 |
|
for checkbox values. (Syntax error). |
468 |
|
|
469 |
|
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
470 |
|
generation |
471 |
|
|
472 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
473 |
|
|
474 |
|
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
475 |
|
making the formularnames more database friendly. Added some more |
476 |
|
checks. |
477 |
|
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
478 |
|
separated class, and some fixes in sql generation. |
479 |
|
|
480 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
481 |
|
|
482 |
|
* tools/formed/formed/plugins/export/html.py: Print lengths |
483 |
|
of external choice list. |
484 |
|
|
485 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
486 |
|
|
487 |
|
* tools/formed/formed/main.py: Little workaround for |
488 |
|
mode selection if someone adds an removes a mode. |
489 |
|
|
490 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
491 |
|
|
492 |
|
* tools/formed/test-data/simple.xml: Better test case for |
493 |
|
mode depended leaf items. |
494 |
|
|
495 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
496 |
|
to calculate the effective mode of an item. |
497 |
|
|
498 |
|
* tools/formed/formed/plugins/export/html.py: Use effective |
499 |
|
mode. TODO: the 'all' modus return false results sometimes. |
500 |
|
Cause: The modes are only cumulated over time. Removal is |
501 |
|
not done. |
502 |
|
|
503 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
504 |
|
|
505 |
|
* tools/formed/formed/plugins/export/html.py: Dump the items |
506 |
|
of radio groups and choices too. |
507 |
|
|
508 |
|
2007-08-24 Torsten Irlaender <[email protected]> |
509 |
|
|
510 |
|
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
511 |
|
by formular names to make the naming more database friendly. |
512 |
|
Now only alphanumeric and underscore chars is allowed. |
513 |
|
|
514 |
|
2007-08-24 Sascha L. Teichmann <[email protected]> |
515 |
|
|
516 |
|
* tools/formed/formed/plugins/export/html.py: Tweaked |
517 |
|
HTML table exporter a bit to be on par with the XSLT |
518 |
|
script. TODO: Dump items in radio and choice groups. |
519 |
|
|
520 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
521 |
|
|
522 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
523 |
|
HTML and SQL exporters. |
524 |
|
|
525 |
|
* tools/formed/formed/plugins/export, |
526 |
|
tools/formed/formed/plugins/export/__init__.py, |
527 |
|
tools/formed/formed/plugins/export/sql.py, |
528 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
529 |
|
the HTML and the SQL exporters now. |
530 |
|
|
531 |
|
* tools/formed/formed/config.py: Use exporters from different |
532 |
|
package now. |
533 |
|
|
534 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
535 |
|
|
536 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
537 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
538 |
|
in a new file (formed/plugins/export/htmlexport.py and |
539 |
|
sqlexport.py?) |
540 |
|
|
541 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
542 |
|
|
543 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
544 |
|
|
545 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
546 |
|
method to determine the depth of particular tree item. |
547 |
|
|
548 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
549 |
|
HTML export filters. TODO: needs more work. |
550 |
|
|
551 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
552 |
|
|
553 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
554 |
|
|
555 |
|
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
556 |
|
to extract fields and options in the XFA Data in teh PDF. This |
557 |
|
script might me handy to indicate changes between the different |
558 |
|
formular versions. |
559 |
|
|
560 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
561 |
|
|
562 |
|
* tools/formed/formed/main.py: Add an 'all' mode to |
563 |
|
select all modes. ;-) |
564 |
|
|
565 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
566 |
|
|
567 |
|
* tools/formed/test-data/simple.xml, |
568 |
|
tools/formed/formed/model/data.py, |
569 |
|
tools/formed/formed/plugins/web/plugin.py, |
570 |
|
tools/formed/formed/plugins/web/renderer.py, |
571 |
|
tools/formed/formed/io/document.py, |
572 |
|
tools/formed/formed/main.py: Removed support for switch nodes. |
573 |
|
BEWARE: This breaks compatibility with older documents! |
574 |
|
|
575 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
576 |
|
|
577 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the |
578 |
|
getSelectedMode() from main now. |
579 |
|
|
580 |
|
* tools/formed/formed/main.py: selected mode is now hold |
581 |
|
in main. |
582 |
|
|
583 |
|
* tools/formed/formed/config.py: removed selected mode from |
584 |
|
env configuration. |
585 |
|
|
586 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
587 |
|
|
588 |
|
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
589 |
|
table are now alphabetically sorted. |
590 |
|
|
591 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
592 |
|
|
593 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to |
594 |
|
establish the new 'modes' recursively. |
595 |
|
|
596 |
|
* tools/formed/formed/plugins/plugin.py: Pass main instead |
597 |
|
of cfg on plug-in start-up. |
598 |
|
|
599 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new |
600 |
|
'modes' attribute for rendering. |
601 |
|
|
602 |
|
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
603 |
|
to check the new modes. |
604 |
|
|
605 |
|
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
606 |
|
|
607 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
608 |
|
|
609 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
610 |
|
attribute 'modes' to NodeComponents. |
611 |
|
|
612 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
613 |
|
|
614 |
|
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
615 |
|
|
616 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
617 |
|
|
618 |
|
* tools/formed/formed/plugins/web/renderer.py: Another fix |
619 |
|
for the hidden field. Argh! |
620 |
|
|
621 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
622 |
|
|
623 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
624 |
|
generation of hidden page field. |
625 |
|
|
626 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
627 |
|
|
628 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
629 |
|
checks for radio groups. |
630 |
|
|
631 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
632 |
|
|
633 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
634 |
|
checks for choices. |
635 |
|
|
636 |
|
2007-08-21 Frank Koormann <[email protected]> |
637 |
|
|
638 |
|
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
639 |
|
alternatives. |
640 |
|
|
641 |
|
2007-08-21 Frank Koormann <[email protected]> |
642 |
|
|
643 |
|
* contrib/convert-formedtree2html.xsl: |
644 |
|
Replace technical types with readable descriptions |
645 |
|
|
646 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
647 |
|
|
648 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
649 |
|
issues. 'action' looks for all widgets on a page now, goes |
650 |
|
through all passed parameters, tries to match them with the |
651 |
|
widgets of the page and put them into the semantic box. |
652 |
|
Afterwards a list of untouched page parameters are left |
653 |
|
which will be deleted from the semantic box. |
654 |
|
|
655 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
656 |
|
The NodeComponent is passed as an argument now. |
657 |
|
|
658 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
659 |
|
hidden field to store the name of the page. |
660 |
|
|
661 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
662 |
|
|
663 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
664 |
|
issue with incoming UTF-8 data. |
665 |
|
|
666 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
667 |
|
|
668 |
|
* tools/formed/test-data/simple.xml: Improve test for widgets |
669 |
|
in switches. |
670 |
|
|
671 |
|
* tools/formed/formed/model/data.py: Added a method to find all |
672 |
|
widgets in a given page. Fixed a bug when walking in switch |
673 |
|
with a given mode. |
674 |
|
|
675 |
|
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
676 |
|
listing all widgets in page. |
677 |
|
|
678 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
679 |
|
|
680 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
681 |
|
latin-1 |
682 |
|
|
683 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
684 |
|
|
685 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
686 |
|
walk. |
687 |
|
|
688 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
689 |
|
walk() with usage of the new mode parameter. Added a method to |
690 |
|
give children in a given mode. |
691 |
|
|
692 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
693 |
|
new Switch.childrenInMode() method. |
694 |
|
|
695 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
696 |
|
|
697 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
698 |
|
texts and text areas. |
699 |
|
|
700 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
701 |
|
to UTF-8 in generated form. |
702 |
|
|
703 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
704 |
|
|
705 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
706 |
|
tests for dates. |
707 |
|
|
708 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
709 |
|
|
710 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
711 |
|
range test. |
712 |
|
|
713 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
714 |
|
to find a tree item for a given name. |
715 |
|
|
716 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
717 |
|
semantic checking. Has check for integers. |
718 |
|
|
719 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
720 |
|
check. |
721 |
|
|
722 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
723 |
|
|
724 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
725 |
|
selection-field generation (Removed quote) |
726 |
|
|
727 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
728 |
|
|
729 |
|
* tools/formed/formed/plugins/web/plugin.py, |
730 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
731 |
|
simple cookie based session management to the HTML |
732 |
|
renderer. This submit parameters are stored in the |
733 |
|
session now. This will ease testing the constraint |
734 |
|
tests which need to be written soon. |
735 |
|
|
736 |
|
BEWARE: The session management is _not_ made for production! |
737 |
|
Denial of service attacks are too easy, and the |
738 |
|
cryptographical strength of the session id is doubtful. |
739 |
|
|
740 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
741 |
|
|
742 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
743 |
|
coming from the document tree now when inserting it into the |
744 |
|
HTML output. |
745 |
|
|
746 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
747 |
|
|
748 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
749 |
|
of plug-in: Filter. They have a short and a long description |
750 |
|
and can be hooked automatically into the new 'Filters' |
751 |
|
sub menu under 'Extra'. They got called when the user |
752 |
|
selects their respective menu item. |
753 |
|
|
754 |
|
* tools/formed/formed/config.py: Contains the list of |
755 |
|
installed filters. |
756 |
|
|
757 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
758 |
|
sub menu during gui initialization. The hard wired code |
759 |
|
for make unique and formular name/description -> name |
760 |
|
is removed because they are implemented as filters now. |
761 |
|
|
762 |
|
* tools/formed/formed/model/nodecomponents.py, |
763 |
|
tools/formed/formed/model/data.py: Removed the make |
764 |
|
unique and formular name/description -> name code. |
765 |
|
|
766 |
|
* tools/formed/formed/plugins/names, |
767 |
|
tools/formed/formed/plugins/names/__init__.py, |
768 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
769 |
|
the make unique and formular name/description -> name code |
770 |
|
in form of filters. |
771 |
|
|
772 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
773 |
|
test for the formular name/description -> name filter. |
774 |
|
|
775 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
776 |
|
|
777 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
778 |
|
command line argument is interpreted as filename of document |
779 |
|
to be loaded at program startup. |
780 |
|
|
781 |
|
2007-08-17 Frank Koormann <[email protected]> |
782 |
|
|
783 |
|
* contrib/convert-formedtree2html.xsl: |
784 |
|
Heading level depending on depth of group node. |
785 |
|
In case of radio/choice/check only list of options. |
786 |
|
|
787 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
788 |
|
|
789 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
790 |
|
HTML doc-string and charset information in the meta-header. |
791 |
|
|
792 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
793 |
|
|
794 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
795 |
|
exporting the formed tree to html |
796 |
|
|
797 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
798 |
|
|
799 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
800 |
|
the set the name of the node to the formularname. The formularname |
801 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
802 |
|
If the name is not unique and additional id value is appended. |
803 |
|
|
804 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
805 |
|
bool-leafs |
806 |
|
|
807 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
808 |
|
of the element |
809 |
|
|
810 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
811 |
|
|
812 |
|
* tools/formed/formed/main.py: Swaped order of |
813 |
|
'Make names unique' and 'Selected mode...' in Extra |
814 |
|
menu and put a separator between them. |
815 |
|
|
816 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
817 |
|
|
818 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
819 |
|
their modes to a given set now. |
820 |
|
|
821 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
822 |
|
the plug-in interface. Only the reference to the |
823 |
|
global configuration is passed at setup time. |
824 |
|
|
825 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
826 |
|
to new plug-in setup. The traveral mode is now taken |
827 |
|
from the global configuration each time a rendering |
828 |
|
is triggered. The FORMED parameter is now named |
829 |
|
'doc.mode' instead of 'web.mode'. The parameter |
830 |
|
is not needed any more because it can be configured |
831 |
|
at runtime. |
832 |
|
|
833 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
834 |
|
setup. Added a new menu item Extra->Select Mode... |
835 |
|
to select the traversal mode. It is stored in the |
836 |
|
global config. |
837 |
|
|
838 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
839 |
|
one env dictionary to store global configuration parameters. |
840 |
|
|
841 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
842 |
|
select one item from a list of given strings. |
843 |
|
|
844 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
845 |
|
|
846 |
|
* tools/formed/formed/plugins/web/plugin.py, |
847 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
848 |
|
print out in web plugin. |
849 |
|
|
850 |
|
2007-08-15 Torsten Irlaender <[email protected]> |
851 |
|
|
852 |
|
* contrib/convert-formedtree2csv.xsl: Added small script for |
853 |
|
exporting the formed tree to csv |
854 |
|
|
855 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
856 |
|
|
857 |
|
* tools/formed/formed/model/data.py, |
858 |
|
tools/formed/formed/model/nodecomponents.py, |
859 |
|
tools/formed/formed/io/document.py: Added a 'switch' node. |
860 |
|
|
861 |
|
* tools/formed/formed/plugins/web/renderer.py:Render the |
862 |
|
new 'switch' node. |
863 |
|
|
864 |
|
* tools/formed/formed/plugins/web/plugin.py, |
865 |
|
tools/formed/formed/config.py: Added a 'web.mode' parameter |
866 |
|
to FORMED environment variable. |
867 |
|
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
868 |
|
Defaults to 'default'. |
869 |
|
|
870 |
|
* tools/formed/test-data/simple.xml: Added test for switch. |
871 |
|
|
872 |
|
2007-08-14 Sascha L. Teichmann <[email protected]> |
873 |
|
|
874 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
875 |
|
attribute 'formularname' to base class of node components. |
876 |
|
|
877 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
878 |
|
|
879 |
|
* tools/formed/formed/io/document.py, |
880 |
|
tools/formed/formed/model/data.py, |
881 |
|
tools/formed/formed/model/nodecomponents.py: Added an item |
882 |
|
to model external item lists. |
883 |
|
|
884 |
|
* tools/formed/formed/plugins/web/renderer.py: Render new item |
885 |
|
list. |
886 |
|
* tools/formed/formed/main.py: Added a forgotten 'self.' |
887 |
|
|
888 |
|
* contrib/extract-xfa-items.sh: Modified to generate |
889 |
|
documents to be loadable from new item lists |
890 |
|
|
891 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
892 |
|
|
893 |
|
* tools/formed/formed/main.py: Fixed typo |
894 |
|
|
895 |
|
2007-08-13 Sascha L. Teichmann <[email protected]> |
896 |
|
|
897 |
|
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
898 |
|
choice item lists for a given field from XFA files. e.g. with |
899 |
|
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
900 |
|
|
901 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
902 |
|
|
903 |
|
* tools/formed/formed/model/data.py, |
904 |
|
tools/formed/formed/plugins/web/renderer.py, |
905 |
|
tools/formed/formed/io/document.py: Changed the structure |
906 |
|
of choice constructs. The idea to hold the different items |
907 |
|
of a particular choice in a semicolon separated list was bad. |
908 |
|
Now choices are groups and the option items are modelled as |
909 |
|
embedded bools. (mainly Torsten Irländer's idea). |
910 |
|
|
911 |
|
WARNING: this makes old document files containing choices incompatible!!! |
912 |
|
Use the following XSLT to reestablish compatibility. |
913 |
|
|
914 |
|
* contrib/itemize-choices.xsl: New converts old to new structure. |
915 |
|
Needs exslt.org's string extensions (which xsltproc includes) |
916 |
|
|
917 |
|
* tools/formed/test-data/simple.xml: Ajusted to new structure |
918 |
|
|
919 |
|
* tools/formed/formed/plugins/web/plugin.py: remove debug output |
920 |
|
|
921 |
|
* tools/formed/formed/model/nodecomponents.py: fixed a small bug in |
922 |
|
node finding code. It now uses the walk() generator, too. |
923 |
|
|
924 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
925 |
|
|
926 |
|
* tools/formed/formed/main.py: Added a clone item on the toolbar which |
927 |
|
copies the currently selected item and appends it after the selection. |
928 |
|
|
929 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
930 |
|
of the tree. |
931 |
|
|
932 |
|
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
933 |
|
|
934 |
|
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
935 |
|
forgot a 'self.' prefix. |
936 |
|
|
937 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
938 |
|
|
939 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method to append |
940 |
|
a second document to the current. |
941 |
|
|
942 |
|
* tools/formed/formed/main.py: Added an 'Import' file menu item to load |
943 |
|
a second document to be appended to the current. |
944 |
|
|
945 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
946 |
|
|
947 |
|
* tools/formed/formed/main.py: Added a 'New' item in file menu which creates |
948 |
|
a new document when triggered. |
949 |
|
|
950 |
|
2007-08-12 Sascha L. Teichmann <[email protected]> |
951 |
|
|
952 |
|
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
953 |
|
items in the document tree. Added a method to eliminated duplicated names |
954 |
|
in document tree. |
955 |
|
|
956 |
|
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
957 |
|
after names collisions are eliminated. |
958 |
|
|
959 |
|
* tools/formed/formed/main.py: Added an 'Extra' menu with item |
960 |
|
'Make names unique'. |
961 |
|
|
962 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
963 |
|
|
964 |
|
* tools/formed/formed/model/data.py, |
965 |
|
tools/formed/formed/plugins/web/renderer.py: Removed support |
966 |
|
for 'text' attributes in bool items. They were never really |
967 |
|
used and the 'description' attributes fulfill the same |
968 |
|
purpose. |
969 |
|
|
970 |
|
* contrib/remove-bool-text.xsl: Transform to remove the |
971 |
|
'text' attributes from bool items. Apply with: |
972 |
|
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
973 |
|
|
974 |
|
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
975 |
|
from bool items. |
976 |
|
|
977 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
978 |
|
|
979 |
|
* contrib/convert-choices.xsl: Simpified. |
980 |
|
|
981 |
|
2007-08-11 Sascha L. Teichmann <[email protected]> |
982 |
|
|
983 |
|
* tools/formed/formed/model/data.py: Removed 'options' attribute |
984 |
|
from ChoiceLeaf. Use 'value' instead, please! |
985 |
|
|
986 |
|
* tools/formed/formed/plugins/web/renderer.py: use 'value' attribute |
987 |
|
instead of 'options' to render choices. |
988 |
|
|
989 |
|
* contrib/convert-choices.xsl: Added to convert document files |
990 |
|
which use the choice 'option' attribute to usage of 'value'. |
991 |
|
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
992 |
|
|
993 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
994 |
|
|
995 |
|
* tools/formed/formed/plugins/web/renderer.py: radio buttons |
996 |
|
are selected by 'checked' and not by 'selected'. Fixed. |
997 |
|
|
998 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
999 |
|
|
1000 |
|
* tools/formed/formed/model/data.py: ChoiceLeafs are now |
1001 |
|
initialized with size = 1. |
1002 |
|
|
1003 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1004 |
|
|
1005 |
|
* tools/formed/formed/model/data.py: TextLeafs are now |
1006 |
|
initialized with size = 40, maxlength = 60 |
1007 |
|
|
1008 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1009 |
|
|
1010 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed: choices |
1011 |
|
are renderered with description now. |
1012 |
|
|
1013 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1014 |
|
|
1015 |
|
* tools/formed/formed/plugins/web/renderer.py: Added rendering |
1016 |
|
for date items. Added missing ids for texts and textareas. |
1017 |
|
|
1018 |
|
2007-08-10 Sascha L. Teichmann <[email protected]> |
1019 |
|
|
1020 |
|
* tools/formed/formed/config.py: Evaluate the environment |
1021 |
|
variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2' |
1022 |
|
|
1023 |
|
* tools/formed/formed/plugins/plugin.py: Give a reference |
1024 |
|
to the config at setup time. |
1025 |
|
|
1026 |
|
* tools/formed/formed/plugins/web/plugin.py: To determine |
1027 |
|
the port look at FORMED dictionary first. Key is 'web.port'. |
1028 |
|
e.g. FORMED='web.port:8888' |
1029 |
|
|
1030 |
|
* tools/formed/formed/main.py: Call the plugin setup with |
1031 |
|
the reference to the config. |
1032 |
|
|
1033 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2007-08-10 Sascha L. Teichmann <[email protected]> |
1034 |
|
|
1035 |
* tools/formed/test-data/simple.xml: removed 'text' attributes from |
* tools/formed/test-data/simple.xml: removed 'text' attributes from |