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