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