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