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]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
338 |
|
|
339 |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |