1 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
3 |
|
choicelist did not get selected when the value is set to "0" |
4 |
|
|
5 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
6 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added |
7 |
|
"getPrintableData" method, for the formdata Class which will return |
8 |
|
the description rather than the value of element in the ID. This is |
9 |
|
need for displaying the choises in a right way. |
10 |
|
|
11 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed string |
12 |
|
"Fallnummer" into "Kundennummer" in the templates. Added |
13 |
|
Kundennummer to the dataset digest output. Bound in the new |
14 |
|
"getPrintableData" call for the digest. |
15 |
|
|
16 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/export/data.py: The import/export |
19 |
|
of data is now implemented with filters (the most consequent |
20 |
|
way in terms of design of FormEd). The support of the 'persistent' |
21 |
|
FORMED env-variable support has been removed. |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
24 |
|
filter file dialog to double as import dialog. |
25 |
|
|
26 |
|
* tools/formed/formed/main.py: Removed the the FORMED-var support |
27 |
|
for persistence. |
28 |
|
|
29 |
|
* tools/formed/formed/config.py: Add the two new filters to the filters |
30 |
|
list. |
31 |
|
|
32 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
33 |
|
|
34 |
|
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
35 |
|
Removed pickle/unpickle stuff. |
36 |
|
|
37 |
|
* tools/formed/formed/main.py: Uses the new XML persistence. |
38 |
|
|
39 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
40 |
|
not converted to int indices. |
41 |
|
|
42 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
43 |
|
|
44 |
|
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
45 |
|
with pickle/unpickle. |
46 |
|
|
47 |
|
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
48 |
|
Set to a file name it is tried to unpickle a MemoryDataStore from |
49 |
|
that file. When exiting the program this file is used to store the |
50 |
|
current MemoryDataStore state. The storing only works if you exit |
51 |
|
the program through the Menu File->Exit. |
52 |
|
usage: FORMED=persistent:test.db ./formed.sh |
53 |
|
|
54 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
55 |
|
|
56 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
57 |
|
application on the welcome page from "Formed" to "WASKA" |
58 |
|
|
59 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
60 |
|
|
61 |
|
* tools/formed/formed/plugins/web/plugin.py, |
62 |
|
* tools/formed/formed/plugins/web/controllers.py, |
63 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
64 |
|
The infopage provides information on all project participants. |
65 |
|
|
66 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
67 |
|
|
68 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
69 |
|
issues with error messages (once again). |
70 |
|
|
71 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
72 |
|
|
73 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
74 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
75 |
|
icons in error and confirmation dialogs. |
76 |
|
|
77 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
78 |
|
|
79 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
80 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
81 |
|
|
82 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
85 |
|
debug output for help. |
86 |
|
|
87 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
88 |
|
check for bools. |
89 |
|
|
90 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
91 |
|
HTML output of data for bools. |
92 |
|
|
93 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
96 |
|
textfields for int values. Changed Label for submitbuttons to |
97 |
|
"Speichern" |
98 |
|
|
99 |
|
* tools/formed/formed/plugins/web/plugin.py, |
100 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
101 |
|
NotImplementedHandler to show up a dummysite for not implemented |
102 |
|
functions. |
103 |
|
|
104 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
105 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
106 |
|
labels of some context menus. Error messages are now generated |
107 |
|
dynamically depending on num errors. Formular navigation has now |
108 |
|
colored indication for errors. |
109 |
|
|
110 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
111 |
|
|
112 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
113 |
|
algorithm for the formular navigation to get rid of the problem |
114 |
|
that some of the items within the navigation are not linked. Now |
115 |
|
structural group elements are linked with the next page found in the |
116 |
|
formular structure. |
117 |
|
|
118 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
119 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
120 |
|
div and formtag. |
121 |
|
|
122 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
123 |
|
menu in the conformation dialog when creating a new dataset. |
124 |
|
|
125 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
126 |
|
rendering the default welcome page. Changed rendering of the |
127 |
|
overview and the digest table of the datasets. Added icon for |
128 |
|
confirmation dialog, moved the icon in the <h1> tags. |
129 |
|
|
130 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
131 |
|
|
132 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
133 |
|
generation cleanup. Added error icons to formelements |
134 |
|
|
135 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
136 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
137 |
|
|
138 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
139 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
140 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
141 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
142 |
|
old obsolete OverviewRenderer. |
143 |
|
|
144 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
145 |
|
|
146 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
147 |
|
page in page navigation. |
148 |
|
|
149 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
150 |
|
|
151 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
152 |
|
displaying formdata when changing datasets. Loading the right |
153 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
154 |
|
Left some commented code because not all sideeffects of the changes |
155 |
|
are tested yet. |
156 |
|
|
157 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
158 |
|
now uses the correct data out of the formdata. |
159 |
|
|
160 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
161 |
|
|
162 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
163 |
|
print format data (dates e.g) |
164 |
|
|
165 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
166 |
|
|
167 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
168 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
169 |
|
No clue why this works. |
170 |
|
|
171 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
172 |
|
|
173 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
174 |
|
problem with radio groups, too. |
175 |
|
|
176 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
177 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
178 |
|
really removed when deleting a dataset. |
179 |
|
|
180 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
181 |
|
|
182 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
183 |
|
ErrorStats which provides Information on remaining errors per page. |
184 |
|
|
185 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
186 |
|
the renderer methods from controllers.py to renderers.py. |
187 |
|
|
188 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
189 |
|
handlers |
190 |
|
|
191 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
192 |
|
|
193 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
194 |
|
choices are generated from the document tree now. This brings |
195 |
|
the state storage of select boxes in HTML to live. |
196 |
|
|
197 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
198 |
|
|
199 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
200 |
|
range checking of integers. |
201 |
|
|
202 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
203 |
|
ErrorItem to track errors. They are stored in the session. |
204 |
|
|
205 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
206 |
|
|
207 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
208 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
209 |
|
|
210 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
211 |
|
written 'errot' in renderer for textareas. |
212 |
|
|
213 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
214 |
|
|
215 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
216 |
|
|
217 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
218 |
|
method. Could be cheaper for some implementations of help. |
219 |
|
|
220 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
221 |
|
FormData to have distinct getData(), getHelp() and getError() |
222 |
|
methods. Various bug fixes. |
223 |
|
|
224 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
225 |
|
new FormData (trivial by now). |
226 |
|
|
227 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
228 |
|
some bug fixes. |
229 |
|
|
230 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
231 |
|
|
232 |
|
* tools/formed/formed/model/memory.py, |
233 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
234 |
|
to dataset abstraction. This is a bit of a workaround to bring |
235 |
|
global access across pages for rule checking to work. |
236 |
|
|
237 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
238 |
|
the compiled version was not stored in the RuleLeaf. |
239 |
|
|
240 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
241 |
|
convert the expression string to ascii for compilation. |
242 |
|
|
243 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
244 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
245 |
|
with integer handler. |
246 |
|
|
247 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
248 |
|
stuff. When a submit is done extract the rules from the tree document |
249 |
|
that are effected by the modified variables and check them. |
250 |
|
|
251 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
252 |
|
when dealing with templates. |
253 |
|
|
254 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
255 |
|
* tools/formed/formed/plugins/web/controllers.py, |
256 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
257 |
|
functions into renderer.py. New render classes are: |
258 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
259 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
260 |
|
|
261 |
|
Note: The new methods are only called from selected handlers. Other |
262 |
|
handlers call the renderes in the old way. |
263 |
|
|
264 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
265 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
266 |
|
renderer.py to form_renderer.py. This file will contain formular |
267 |
|
specfic render methods in the future. |
268 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
269 |
|
which will contain general render methods. |
270 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
271 |
|
rendering into renderer.py or form_renderer.py. This file will only |
272 |
|
contain teh handlers in the future. |
273 |
|
|
274 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
275 |
|
* tools/formed/formed/plugins/web/renderer.py, |
276 |
|
tools/formed/formed/plugins/web/controller.py: |
277 |
|
Renderes now get an instance of the formdata object to provide |
278 |
|
access the data needed to render various infoboxes etc. Handler |
279 |
|
instanciate the formdata. |
280 |
|
|
281 |
2007-09-06 Torsten Irlaender <[email protected]> |
2007-09-06 Torsten Irlaender <[email protected]> |
282 |
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
283 |
getFormData interface to work. Added two small semantic fixes, but |
getFormData interface to work. Added two small semantic fixes, but |