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