1 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed header |
3 |
|
from formular navigation to "Fallakte Inhalt" |
4 |
|
|
5 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
6 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad |
7 |
|
values (dates) were not pretty printed. |
8 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to |
9 |
|
label rendering for choicelists. |
10 |
|
|
11 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
12 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
13 |
|
choicelist did not get selected when the value is set to "0" |
14 |
|
|
15 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
16 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added |
17 |
|
"getPrintableData" method, for the formdata Class which will return |
18 |
|
the description rather than the value of element in the ID. This is |
19 |
|
need for displaying the choises in a right way. |
20 |
|
|
21 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed string |
22 |
|
"Fallnummer" into "Kundennummer" in the templates. Added |
23 |
|
Kundennummer to the dataset digest output. Bound in the new |
24 |
|
"getPrintableData" call for the digest. |
25 |
|
|
26 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/export/data.py: The import/export |
29 |
|
of data is now implemented with filters (the most consequent |
30 |
|
way in terms of design of FormEd). The support of the 'persistent' |
31 |
|
FORMED env-variable support has been removed. |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
34 |
|
filter file dialog to double as import dialog. |
35 |
|
|
36 |
|
* tools/formed/formed/main.py: Removed the the FORMED-var support |
37 |
|
for persistence. |
38 |
|
|
39 |
|
* tools/formed/formed/config.py: Add the two new filters to the filters |
40 |
|
list. |
41 |
|
|
42 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
43 |
|
|
44 |
|
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
45 |
|
Removed pickle/unpickle stuff. |
46 |
|
|
47 |
|
* tools/formed/formed/main.py: Uses the new XML persistence. |
48 |
|
|
49 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
50 |
|
not converted to int indices. |
51 |
|
|
52 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
55 |
|
with pickle/unpickle. |
56 |
|
|
57 |
|
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
58 |
|
Set to a file name it is tried to unpickle a MemoryDataStore from |
59 |
|
that file. When exiting the program this file is used to store the |
60 |
|
current MemoryDataStore state. The storing only works if you exit |
61 |
|
the program through the Menu File->Exit. |
62 |
|
usage: FORMED=persistent:test.db ./formed.sh |
63 |
|
|
64 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
65 |
|
|
66 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
67 |
|
application on the welcome page from "Formed" to "WASKA" |
68 |
|
|
69 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
70 |
|
|
71 |
|
* tools/formed/formed/plugins/web/plugin.py, |
72 |
|
* tools/formed/formed/plugins/web/controllers.py, |
73 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
74 |
|
The infopage provides information on all project participants. |
75 |
|
|
76 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
77 |
|
|
78 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
79 |
|
issues with error messages (once again). |
80 |
|
|
81 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
82 |
|
|
83 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
84 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
85 |
|
icons in error and confirmation dialogs. |
86 |
|
|
87 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
88 |
|
|
89 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
90 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
91 |
|
|
92 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
93 |
|
|
94 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
95 |
|
debug output for help. |
96 |
|
|
97 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
98 |
|
check for bools. |
99 |
|
|
100 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
101 |
|
HTML output of data for bools. |
102 |
|
|
103 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
104 |
|
|
105 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
106 |
|
textfields for int values. Changed Label for submitbuttons to |
107 |
|
"Speichern" |
108 |
|
|
109 |
|
* tools/formed/formed/plugins/web/plugin.py, |
110 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
111 |
|
NotImplementedHandler to show up a dummysite for not implemented |
112 |
|
functions. |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
115 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
116 |
|
labels of some context menus. Error messages are now generated |
117 |
|
dynamically depending on num errors. Formular navigation has now |
118 |
|
colored indication for errors. |
119 |
|
|
120 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
123 |
|
algorithm for the formular navigation to get rid of the problem |
124 |
|
that some of the items within the navigation are not linked. Now |
125 |
|
structural group elements are linked with the next page found in the |
126 |
|
formular structure. |
127 |
|
|
128 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
129 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
130 |
|
div and formtag. |
131 |
|
|
132 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
133 |
|
menu in the conformation dialog when creating a new dataset. |
134 |
|
|
135 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
136 |
|
rendering the default welcome page. Changed rendering of the |
137 |
|
overview and the digest table of the datasets. Added icon for |
138 |
|
confirmation dialog, moved the icon in the <h1> tags. |
139 |
|
|
140 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
141 |
|
|
142 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
143 |
|
generation cleanup. Added error icons to formelements |
144 |
|
|
145 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
146 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
147 |
|
|
148 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
149 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
150 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
151 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
152 |
|
old obsolete OverviewRenderer. |
153 |
|
|
154 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
155 |
|
|
156 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
157 |
|
page in page navigation. |
158 |
|
|
159 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
160 |
|
|
161 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
162 |
|
displaying formdata when changing datasets. Loading the right |
163 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
164 |
|
Left some commented code because not all sideeffects of the changes |
165 |
|
are tested yet. |
166 |
|
|
167 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
168 |
|
now uses the correct data out of the formdata. |
169 |
|
|
170 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
173 |
|
print format data (dates e.g) |
174 |
|
|
175 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
176 |
|
|
177 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
178 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
179 |
|
No clue why this works. |
180 |
|
|
181 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
182 |
|
|
183 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
184 |
|
problem with radio groups, too. |
185 |
|
|
186 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
187 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
188 |
|
really removed when deleting a dataset. |
189 |
|
|
190 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
191 |
|
|
192 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
193 |
|
ErrorStats which provides Information on remaining errors per page. |
194 |
|
|
195 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
196 |
|
the renderer methods from controllers.py to renderers.py. |
197 |
|
|
198 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
199 |
|
handlers |
200 |
|
|
201 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
202 |
|
|
203 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
204 |
|
choices are generated from the document tree now. This brings |
205 |
|
the state storage of select boxes in HTML to live. |
206 |
|
|
207 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
208 |
|
|
209 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
210 |
|
range checking of integers. |
211 |
|
|
212 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
213 |
|
ErrorItem to track errors. They are stored in the session. |
214 |
|
|
215 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
216 |
|
|
217 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
218 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
219 |
|
|
220 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
221 |
|
written 'errot' in renderer for textareas. |
222 |
|
|
223 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
224 |
|
|
225 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
226 |
|
|
227 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
228 |
|
method. Could be cheaper for some implementations of help. |
229 |
|
|
230 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
231 |
|
FormData to have distinct getData(), getHelp() and getError() |
232 |
|
methods. Various bug fixes. |
233 |
|
|
234 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
235 |
|
new FormData (trivial by now). |
236 |
|
|
237 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
238 |
|
some bug fixes. |
239 |
|
|
240 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
241 |
|
|
242 |
|
* tools/formed/formed/model/memory.py, |
243 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
244 |
|
to dataset abstraction. This is a bit of a workaround to bring |
245 |
|
global access across pages for rule checking to work. |
246 |
|
|
247 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
248 |
|
the compiled version was not stored in the RuleLeaf. |
249 |
|
|
250 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
251 |
|
convert the expression string to ascii for compilation. |
252 |
|
|
253 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
254 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
255 |
|
with integer handler. |
256 |
|
|
257 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
258 |
|
stuff. When a submit is done extract the rules from the tree document |
259 |
|
that are effected by the modified variables and check them. |
260 |
|
|
261 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
262 |
|
when dealing with templates. |
263 |
|
|
264 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
265 |
|
* tools/formed/formed/plugins/web/controllers.py, |
266 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
267 |
|
functions into renderer.py. New render classes are: |
268 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
269 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
270 |
|
|
271 |
|
Note: The new methods are only called from selected handlers. Other |
272 |
|
handlers call the renderes in the old way. |
273 |
|
|
274 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
275 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
276 |
|
renderer.py to form_renderer.py. This file will contain formular |
277 |
|
specfic render methods in the future. |
278 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
279 |
|
which will contain general render methods. |
280 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
281 |
|
rendering into renderer.py or form_renderer.py. This file will only |
282 |
|
contain teh handlers in the future. |
283 |
|
|
284 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
285 |
|
* tools/formed/formed/plugins/web/renderer.py, |
286 |
|
tools/formed/formed/plugins/web/controller.py: |
287 |
|
Renderes now get an instance of the formdata object to provide |
288 |
|
access the data needed to render various infoboxes etc. Handler |
289 |
|
instanciate the formdata. |
290 |
|
|
291 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
292 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
293 |
|
getFormData interface to work. Added two small semantic fixes, but |
294 |
|
did not manage to get it up. Need to exime this a little bit more |
295 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
296 |
|
around the menus on the right side to be able to assign different |
297 |
|
styles. Added dataset actions while editing a dataset. |
298 |
|
|
299 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
300 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
301 |
|
removing unwanted del method |
302 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
303 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
304 |
|
templates as well for larger information units like the dataset summary. |
305 |
|
|
306 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
307 |
|
|
308 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
309 |
|
method to document to find index of page. |
310 |
|
|
311 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
312 |
|
to fetch data from semantic box. |
313 |
|
|
314 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
315 |
|
FormData implementation to support DB and semantic box. |
316 |
|
|
317 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
318 |
|
|
319 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
320 |
|
error message. |
321 |
|
|
322 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
323 |
|
dataset from backend each time a page is up to edit. |
324 |
|
|
325 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
326 |
|
|
327 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
328 |
|
returns "Page not found" if given page is None. |
329 |
|
|
330 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
331 |
|
to avoid crashing when ask for a non-existent page. |
332 |
|
|
333 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
334 |
|
|
335 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
336 |
|
|
337 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
338 |
|
|
339 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
340 |
|
and renderers. |
341 |
|
|
342 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
343 |
|
and renderers now. TODO: Move renderers to renderer.py |
344 |
|
|
345 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
346 |
|
|
347 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
348 |
|
and bound in the the new added functions to create, edit, delete and |
349 |
|
show formdata. |
350 |
|
|
351 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
352 |
|
|
353 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
354 |
|
simple linear scan for dataset lookup now. |
355 |
|
|
356 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
357 |
|
of different sizes. |
358 |
|
|
359 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
360 |
|
|
361 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
362 |
|
fuction |
363 |
|
|
364 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
365 |
|
to the DataSet interface |
366 |
|
|
367 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
368 |
|
renderes for create, update, delete and show actions on formular data. |
369 |
|
|
370 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
371 |
|
|
372 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
373 |
|
to methods is now driven by regualar expressions and |
374 |
|
a dictionary. Response objects are now able to send |
375 |
|
error codes. |
376 |
|
|
377 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
378 |
|
when help in Formdata is None. Moved text for help into |
379 |
|
a top level '''...''' variable. |
380 |
|
|
381 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
382 |
|
|
383 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
384 |
|
|
385 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
386 |
|
table driven mapping of reguest handling. TODO: split the |
387 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
388 |
|
Smaller clean ups and better exception handling. |
389 |
|
|
390 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
391 |
|
and do not catch them. |
392 |
|
|
393 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
394 |
|
|
395 |
|
* tools/formed/formed/plugins/web/renderer.py, |
396 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
397 |
|
the HelpProvider and inserted help icons to the html output. |
398 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
399 |
|
within a <div> tag. |
400 |
|
Modified the error messages. |
401 |
|
|
402 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
403 |
|
|
404 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
405 |
|
the server-side caching more clean. Fixes a bug with |
406 |
|
serving static content. |
407 |
|
|
408 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
409 |
|
|
410 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
411 |
|
|
412 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
433 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
434 |
texts now. |
texts now. |
435 |
|
|
436 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
437 |
|
|
438 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
439 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
440 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
441 |
attributes. |
attributes. |
442 |
|
|
443 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
444 |
|
|
445 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
446 |
errors in template |
errors in template |