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