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