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