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