1 |
|
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]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
293 |
|
|
294 |
* tools/formed/formed/model/nodecomponents.py: Added a |
* tools/formed/formed/model/nodecomponents.py: Added a |