1 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
4 |
|
fuction |
5 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
6 |
|
to the DataSet interface |
7 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
8 |
|
renderes for create, update, delete and show actions on formular data. |
9 |
|
|
10 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
11 |
|
|
12 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
13 |
|
to methods is now driven by regualar expressions and |
14 |
|
a dictionary. Response objects are now able to send |
15 |
|
error codes. |
16 |
|
|
17 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
18 |
|
when help in Formdata is None. Moved text for help into |
19 |
|
a top level '''...''' variable. |
20 |
|
|
21 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
22 |
|
|
23 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
24 |
|
|
25 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
26 |
|
table driven mapping of reguest handling. TODO: split the |
27 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
28 |
|
Smaller clean ups and better exception handling. |
29 |
|
|
30 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
31 |
|
and do not catch them. |
32 |
|
|
33 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/renderer.py, |
36 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
37 |
|
the HelpProvider and inserted help icons to the html output. |
38 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
39 |
|
within a <div> tag. |
40 |
|
Modified the error messages. |
41 |
|
|
42 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
43 |
|
|
44 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
45 |
|
the server-side caching more clean. Fixes a bug with |
46 |
|
serving static content. |
47 |
|
|
48 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
49 |
|
|
50 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
51 |
|
|
52 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
53 |
|
to "application/xhtml+xml" when serving help texts. |
54 |
|
|
55 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
56 |
|
|
57 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
58 |
|
pairwise differences between all modes. |
59 |
|
|
60 |
|
* tools/formed/formed/config.py: Use new export filter. |
61 |
|
|
62 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
63 |
|
|
64 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
65 |
|
XHTML document for id'ed divs and builds a help lookup. |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
68 |
|
the help content frame. |
69 |
|
|
70 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
71 |
|
help text index. |
72 |
|
|
73 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
74 |
|
texts now. |
75 |
|
|
76 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
77 |
|
|
78 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
79 |
|
elements will be rendered in the formular navigation. |
80 |
|
Formular pages in the navigation now have their own css-style |
81 |
|
attributes. |
82 |
|
|
83 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
84 |
|
|
85 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
86 |
|
errors in template |
87 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
88 |
|
pageerrors variable |
89 |
|
|
90 |
|
2007-09-03 Frank Koormann <[email protected]> |
91 |
|
|
92 |
|
* tools/formed/formed/plugins/export/html.py |
93 |
|
(RecursiveExporter): Added annotation to export |
94 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
95 |
|
|
96 |
|
|
97 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
98 |
|
|
99 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
100 |
|
from model.misc now. |
101 |
|
|
102 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
103 |
|
|
104 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
105 |
|
'annotation' attribute to node components. This is to |
106 |
|
enable FormEd document authors to add comments to groups |
107 |
|
and fields. |
108 |
|
|
109 |
|
2007-09-03 Frank Koormann <[email protected]> |
110 |
|
|
111 |
|
* tools/formed/formed/model/nodecomponents.py |
112 |
|
(NodeComponent.getParent): New method to get node components parent. |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
115 |
|
as simple list instead of collection of bools. |
116 |
|
|
117 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
118 |
|
|
119 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
120 |
|
from persistent storage details. |
121 |
|
|
122 |
|
* tools/formed/formed/model/memory.py: In core implementation |
123 |
|
of the persistent interfaces. |
124 |
|
|
125 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
126 |
|
|
127 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/plugins/export/sql.py, |
130 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
131 |
|
for FileDialogFilter sub classes. |
132 |
|
|
133 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
134 |
|
|
135 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
136 |
|
tree traversals is a common task. To ease this a decorator function |
137 |
|
checkMode in union with sub classing ModeChecker can be used. |
138 |
|
To make it work simply subclass from ModeChecker and add the decorator |
139 |
|
to the methods that need mode tracking. Before you start the recursion |
140 |
|
call self.prepareDescent(). |
141 |
|
|
142 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
143 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
144 |
|
too. |
145 |
|
|
146 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
147 |
|
|
148 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
149 |
|
|
150 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
151 |
|
uses new FileDialogFilter base class too. |
152 |
|
|
153 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
156 |
|
need a file dialog. Till now each of them pulled up its |
157 |
|
own. This was silly code replication. Now there is an abstract |
158 |
|
base class 'FileDialogFilter' which implements the common |
159 |
|
behavior. The file exporters should subclass it. |
160 |
|
|
161 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
162 |
|
exporters from the new base class. TODO: Subclass the HTML |
163 |
|
exporter too. |
164 |
|
|
165 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
166 |
|
|
167 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
168 |
|
work (again). |
169 |
|
|
170 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
171 |
|
|
172 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
173 |
|
exprt works now in a recursive way. This change was needed because |
174 |
|
the structure of the formedtree has changed to be able to render |
175 |
|
full hirachically document stuctures. (nested lists) |
176 |
|
TODO: Fix modechecking |
177 |
|
|
178 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
179 |
|
|
180 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
181 |
|
now in recursive way. This change was needed because the structure |
182 |
|
of the formedtree has changed to be able to render full hirachically |
183 |
|
document stuctures. (nested lists) |
184 |
|
|
185 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
186 |
|
|
187 |
|
* tools/formed/formed/model/nodecomponents.py: use discard() |
188 |
|
instead of remove on sets. |
189 |
|
|
190 |
|
* tools/formed/formed/plugins/export/sql.py: Added an |
191 |
|
exporter for table views. |
192 |
|
|
193 |
|
* tools/formed/formed/config.py: Added the new exporter |
194 |
|
to the list of export filters. |
195 |
|
|
196 |
|
2007-08-30 Sascha L. Teichmann <[email protected]> |
197 |
|
|
198 |
|
* tools/formed/formed/model/data.py: Fixed a bug in |
199 |
|
Page.allWidgets() |
200 |
|
|
201 |
|
* tools/formed/formed/plugins/export/sql.py: Added an exporter |
202 |
|
for stored procudeures. |
203 |
|
|
204 |
|
* tools/formed/formed/config.py: Add the new SP exporter. |
205 |
|
|
206 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
207 |
|
|
208 |
|
* tools/formed/formed/plugins/web/plugin.py, |
209 |
|
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
210 |
|
to get the errors for a whole page in te formular. These errors can |
211 |
|
now be displayed on the top of the formular. |
212 |
|
|
213 |
|
2007-08-29 Torsten Irlaender <[email protected]> |
214 |
|
|
215 |
|
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
216 |
|
of the getFromData interface and prepared the rederer for generating |
217 |
|
nice error messages |
218 |
|
|
219 |
|
2007-08-28 Frank Koormann <[email protected]> |
220 |
|
|
221 |
|
* tools/formed/formed/plugins/export/sql.py |
222 |
|
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
223 |
|
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
224 |
|
|
225 |
|
2007-08-28 Torsten Irlaender <[email protected]> |
226 |
|
|
227 |
|
* tools/formed/formed/plugins/export/sql.py: Added small helper |
228 |
|
function to generated valid quotes within the sql statements |
229 |
|
|
230 |
|
2007-08-29 Sascha L. Teichmann <[email protected]> |
231 |
|
|
232 |
|
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
233 |
|
for repeat tables. |
234 |
|
|
235 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
236 |
|
|
237 |
* tools/formed/formed/plugins/export/sql.py: When generating |
* tools/formed/formed/plugins/export/sql.py: When generating |