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