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