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