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