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