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