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