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