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