1 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
2 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
3 |
|
generation cleanup. Added error icons to formelements |
4 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
5 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
6 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
7 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
8 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
9 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
10 |
|
old obsolete OverviewRenderer. |
11 |
|
|
12 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
13 |
|
|
14 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
15 |
|
page in page navigation. |
16 |
|
|
17 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
18 |
|
|
19 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
20 |
|
displaying formdata when changing datasets. Loading the right |
21 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
22 |
|
Left some commented code because not all sideeffects of the changes |
23 |
|
are tested yet. |
24 |
|
|
25 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
26 |
|
now uses the correct data out of the formdata. |
27 |
|
|
28 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
29 |
|
|
30 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
31 |
|
print format data (dates e.g) |
32 |
|
|
33 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
36 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
37 |
|
No clue why this works. |
38 |
|
|
39 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
40 |
|
|
41 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
42 |
|
problem with radio groups, too. |
43 |
|
|
44 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
45 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
46 |
|
really removed when deleting a dataset. |
47 |
|
|
48 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
51 |
|
ErrorStats which provides Information on remaining errors per page. |
52 |
|
|
53 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
54 |
|
the renderer methods from controllers.py to renderers.py. |
55 |
|
|
56 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
57 |
|
handlers |
58 |
|
|
59 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
60 |
|
|
61 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
62 |
|
choices are generated from the document tree now. This brings |
63 |
|
the state storage of select boxes in HTML to live. |
64 |
|
|
65 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
68 |
|
range checking of integers. |
69 |
|
|
70 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
71 |
|
ErrorItem to track errors. They are stored in the session. |
72 |
|
|
73 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
74 |
|
|
75 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
76 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
77 |
|
|
78 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
79 |
|
written 'errot' in renderer for textareas. |
80 |
|
|
81 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
82 |
|
|
83 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
84 |
|
|
85 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
86 |
|
method. Could be cheaper for some implementations of help. |
87 |
|
|
88 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
89 |
|
FormData to have distinct getData(), getHelp() and getError() |
90 |
|
methods. Various bug fixes. |
91 |
|
|
92 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
93 |
|
new FormData (trivial by now). |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
96 |
|
some bug fixes. |
97 |
|
|
98 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
99 |
|
|
100 |
|
* tools/formed/formed/model/memory.py, |
101 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
102 |
|
to dataset abstraction. This is a bit of a workaround to bring |
103 |
|
global access across pages for rule checking to work. |
104 |
|
|
105 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
106 |
|
the compiled version was not stored in the RuleLeaf. |
107 |
|
|
108 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
109 |
|
convert the expression string to ascii for compilation. |
110 |
|
|
111 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
112 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
113 |
|
with integer handler. |
114 |
|
|
115 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
116 |
|
stuff. When a submit is done extract the rules from the tree document |
117 |
|
that are effected by the modified variables and check them. |
118 |
|
|
119 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
120 |
|
when dealing with templates. |
121 |
|
|
122 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
123 |
|
* tools/formed/formed/plugins/web/controllers.py, |
124 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
125 |
|
functions into renderer.py. New render classes are: |
126 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
127 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
128 |
|
|
129 |
|
Note: The new methods are only called from selected handlers. Other |
130 |
|
handlers call the renderes in the old way. |
131 |
|
|
132 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
133 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
134 |
|
renderer.py to form_renderer.py. This file will contain formular |
135 |
|
specfic render methods in the future. |
136 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
137 |
|
which will contain general render methods. |
138 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
139 |
|
rendering into renderer.py or form_renderer.py. This file will only |
140 |
|
contain teh handlers in the future. |
141 |
|
|
142 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
143 |
|
* tools/formed/formed/plugins/web/renderer.py, |
144 |
|
tools/formed/formed/plugins/web/controller.py: |
145 |
|
Renderes now get an instance of the formdata object to provide |
146 |
|
access the data needed to render various infoboxes etc. Handler |
147 |
|
instanciate the formdata. |
148 |
|
|
149 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
150 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
151 |
|
getFormData interface to work. Added two small semantic fixes, but |
152 |
|
did not manage to get it up. Need to exime this a little bit more |
153 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
154 |
|
around the menus on the right side to be able to assign different |
155 |
|
styles. Added dataset actions while editing a dataset. |
156 |
|
|
157 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
158 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
159 |
|
removing unwanted del method |
160 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
161 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
162 |
|
templates as well for larger information units like the dataset summary. |
163 |
|
|
164 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
165 |
|
|
166 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
167 |
|
method to document to find index of page. |
168 |
|
|
169 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
170 |
|
to fetch data from semantic box. |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
173 |
|
FormData implementation to support DB and semantic box. |
174 |
|
|
175 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
176 |
|
|
177 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
178 |
|
error message. |
179 |
|
|
180 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
181 |
|
dataset from backend each time a page is up to edit. |
182 |
|
|
183 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
184 |
|
|
185 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
186 |
|
returns "Page not found" if given page is None. |
187 |
|
|
188 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
189 |
|
to avoid crashing when ask for a non-existent page. |
190 |
|
|
191 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
192 |
|
|
193 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
194 |
|
|
195 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
196 |
|
|
197 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
198 |
|
and renderers. |
199 |
|
|
200 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
201 |
|
and renderers now. TODO: Move renderers to renderer.py |
202 |
|
|
203 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
204 |
|
|
205 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
206 |
|
and bound in the the new added functions to create, edit, delete and |
207 |
|
show formdata. |
208 |
|
|
209 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
210 |
|
|
211 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
212 |
|
simple linear scan for dataset lookup now. |
213 |
|
|
214 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
215 |
|
of different sizes. |
216 |
|
|
217 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
218 |
|
|
219 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
220 |
|
fuction |
221 |
|
|
222 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
223 |
|
to the DataSet interface |
224 |
|
|
225 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
226 |
|
renderes for create, update, delete and show actions on formular data. |
227 |
|
|
228 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
229 |
|
|
230 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
231 |
|
to methods is now driven by regualar expressions and |
232 |
|
a dictionary. Response objects are now able to send |
233 |
|
error codes. |
234 |
|
|
235 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
236 |
|
when help in Formdata is None. Moved text for help into |
237 |
|
a top level '''...''' variable. |
238 |
|
|
239 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
240 |
|
|
241 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
242 |
|
|
243 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
244 |
|
table driven mapping of reguest handling. TODO: split the |
245 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
246 |
|
Smaller clean ups and better exception handling. |
247 |
|
|
248 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
249 |
|
and do not catch them. |
250 |
|
|
251 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
252 |
|
|
253 |
|
* tools/formed/formed/plugins/web/renderer.py, |
254 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
255 |
|
the HelpProvider and inserted help icons to the html output. |
256 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
257 |
|
within a <div> tag. |
258 |
|
Modified the error messages. |
259 |
|
|
260 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
261 |
|
|
262 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
263 |
|
the server-side caching more clean. Fixes a bug with |
264 |
|
serving static content. |
265 |
|
|
266 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
267 |
|
|
268 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2007-09-04 Sascha L. Teichmann <[email protected]> |
269 |
|
|
270 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
291 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
292 |
texts now. |
texts now. |
293 |
|
|
294 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
295 |
|
|
296 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
297 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
298 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
299 |
attributes. |
attributes. |
300 |
|
|
301 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
302 |
|
|
303 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
304 |
errors in template |
errors in template |