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