1 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/test-data/simple.xml, |
4 |
|
tools/formed/formed/model/data.py, |
5 |
|
tools/formed/formed/plugins/web/plugin.py, |
6 |
|
tools/formed/formed/plugins/web/renderer.py, |
7 |
|
tools/formed/formed/io/document.py, |
8 |
|
tools/formed/formed/main.py: Removed support for switch nodes. |
9 |
|
BEWARE: This breaks compatibility with older documents! |
10 |
|
|
11 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the |
14 |
|
getSelectedMode() from main now. |
15 |
|
|
16 |
|
* tools/formed/formed/main.py: selected mode is now hold |
17 |
|
in main. |
18 |
|
|
19 |
|
* tools/formed/formed/config.py: removed selected mode from |
20 |
|
env configuration. |
21 |
|
|
22 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
23 |
|
|
24 |
|
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
25 |
|
table are now alphabetically sorted. |
26 |
|
|
27 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
28 |
|
|
29 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to |
30 |
|
establish the new 'modes' recursively. |
31 |
|
|
32 |
|
* tools/formed/formed/plugins/plugin.py: Pass main instead |
33 |
|
of cfg on plug-in start-up. |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new |
36 |
|
'modes' attribute for rendering. |
37 |
|
|
38 |
|
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
39 |
|
to check the new modes. |
40 |
|
|
41 |
|
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
42 |
|
|
43 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
44 |
|
|
45 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
46 |
|
attribute 'modes' to NodeComponents. |
47 |
|
|
48 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
49 |
|
|
50 |
|
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
51 |
|
|
52 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/web/renderer.py: Another fix |
55 |
|
for the hidden field. Argh! |
56 |
|
|
57 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
58 |
|
|
59 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
60 |
|
generation of hidden page field. |
61 |
|
|
62 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
63 |
|
|
64 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
65 |
|
checks for radio groups. |
66 |
|
|
67 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
68 |
|
|
69 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
70 |
|
checks for choices. |
71 |
|
|
72 |
|
2007-08-21 Frank Koormann <[email protected]> |
73 |
|
|
74 |
|
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
75 |
|
alternatives. |
76 |
|
|
77 |
|
2007-08-21 Frank Koormann <[email protected]> |
78 |
|
|
79 |
|
* contrib/convert-formedtree2html.xsl: |
80 |
|
Replace technical types with readable descriptions |
81 |
|
|
82 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
85 |
|
issues. 'action' looks for all widgets on a page now, goes |
86 |
|
through all passed parameters, tries to match them with the |
87 |
|
widgets of the page and put them into the semantic box. |
88 |
|
Afterwards a list of untouched page parameters are left |
89 |
|
which will be deleted from the semantic box. |
90 |
|
|
91 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
92 |
|
The NodeComponent is passed as an argument now. |
93 |
|
|
94 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
95 |
|
hidden field to store the name of the page. |
96 |
|
|
97 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
98 |
|
|
99 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
100 |
|
issue with incoming UTF-8 data. |
101 |
|
|
102 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
103 |
|
|
104 |
|
* tools/formed/test-data/simple.xml: Improve test for widgets |
105 |
|
in switches. |
106 |
|
|
107 |
|
* tools/formed/formed/model/data.py: Added a method to find all |
108 |
|
widgets in a given page. Fixed a bug when walking in switch |
109 |
|
with a given mode. |
110 |
|
|
111 |
|
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
112 |
|
listing all widgets in page. |
113 |
|
|
114 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
115 |
|
|
116 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
117 |
|
latin-1 |
118 |
|
|
119 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
120 |
|
|
121 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
122 |
|
walk. |
123 |
|
|
124 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
125 |
|
walk() with usage of the new mode parameter. Added a method to |
126 |
|
give children in a given mode. |
127 |
|
|
128 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
129 |
|
new Switch.childrenInMode() method. |
130 |
|
|
131 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
132 |
|
|
133 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
134 |
|
texts and text areas. |
135 |
|
|
136 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
137 |
|
to UTF-8 in generated form. |
138 |
|
|
139 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
140 |
|
|
141 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
142 |
|
tests for dates. |
143 |
|
|
144 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
145 |
|
|
146 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
147 |
|
range test. |
148 |
|
|
149 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
150 |
|
to find a tree item for a given name. |
151 |
|
|
152 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
153 |
|
semantic checking. Has check for integers. |
154 |
|
|
155 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
156 |
|
check. |
157 |
|
|
158 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
161 |
|
selection-field generation (Removed quote) |
162 |
|
|
163 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/web/plugin.py, |
166 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
167 |
|
simple cookie based session management to the HTML |
168 |
|
renderer. This submit parameters are stored in the |
169 |
|
session now. This will ease testing the constraint |
170 |
|
tests which need to be written soon. |
171 |
|
|
172 |
|
BEWARE: The session management is _not_ made for production! |
173 |
|
Denial of service attacks are too easy, and the |
174 |
|
cryptographical strength of the session id is doubtful. |
175 |
|
|
176 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
177 |
|
|
178 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
179 |
|
coming from the document tree now when inserting it into the |
180 |
|
HTML output. |
181 |
|
|
182 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
183 |
|
|
184 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
185 |
|
of plug-in: Filter. They have a short and a long description |
186 |
|
and can be hooked automatically into the new 'Filters' |
187 |
|
sub menu under 'Extra'. They got called when the user |
188 |
|
selects their respective menu item. |
189 |
|
|
190 |
|
* tools/formed/formed/config.py: Contains the list of |
191 |
|
installed filters. |
192 |
|
|
193 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
194 |
|
sub menu during gui initialization. The hard wired code |
195 |
|
for make unique and formular name/description -> name |
196 |
|
is removed because they are implemented as filters now. |
197 |
|
|
198 |
|
* tools/formed/formed/model/nodecomponents.py, |
199 |
|
tools/formed/formed/model/data.py: Removed the make |
200 |
|
unique and formular name/description -> name code. |
201 |
|
|
202 |
|
* tools/formed/formed/plugins/names, |
203 |
|
tools/formed/formed/plugins/names/__init__.py, |
204 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
205 |
|
the make unique and formular name/description -> name code |
206 |
|
in form of filters. |
207 |
|
|
208 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
209 |
|
test for the formular name/description -> name filter. |
210 |
|
|
211 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
212 |
|
|
213 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
214 |
|
command line argument is interpreted as filename of document |
215 |
|
to be loaded at program startup. |
216 |
|
|
217 |
|
2007-08-17 Frank Koormann <[email protected]> |
218 |
|
|
219 |
|
* contrib/convert-formedtree2html.xsl: |
220 |
|
Heading level depending on depth of group node. |
221 |
|
In case of radio/choice/check only list of options. |
222 |
|
|
223 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
224 |
|
|
225 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
226 |
|
HTML doc-string and charset information in the meta-header. |
227 |
|
|
228 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
229 |
|
|
230 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
231 |
|
exporting the formed tree to html |
232 |
|
|
233 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
234 |
|
|
235 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
236 |
|
the set the name of the node to the formularname. The formularname |
237 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
238 |
|
If the name is not unique and additional id value is appended. |
239 |
|
|
240 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
241 |
|
bool-leafs |
242 |
|
|
243 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
244 |
|
of the element |
245 |
|
|
246 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
247 |
|
|
248 |
|
* tools/formed/formed/main.py: Swaped order of |
249 |
|
'Make names unique' and 'Selected mode...' in Extra |
250 |
|
menu and put a separator between them. |
251 |
|
|
252 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
253 |
|
|
254 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
255 |
|
their modes to a given set now. |
256 |
|
|
257 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
258 |
|
the plug-in interface. Only the reference to the |
259 |
|
global configuration is passed at setup time. |
260 |
|
|
261 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
262 |
|
to new plug-in setup. The traveral mode is now taken |
263 |
|
from the global configuration each time a rendering |
264 |
|
is triggered. The FORMED parameter is now named |
265 |
|
'doc.mode' instead of 'web.mode'. The parameter |
266 |
|
is not needed any more because it can be configured |
267 |
|
at runtime. |
268 |
|
|
269 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
270 |
|
setup. Added a new menu item Extra->Select Mode... |
271 |
|
to select the traversal mode. It is stored in the |
272 |
|
global config. |
273 |
|
|
274 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
275 |
|
one env dictionary to store global configuration parameters. |
276 |
|
|
277 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
278 |
|
select one item from a list of given strings. |
279 |
|
|
280 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
281 |
|
|
282 |
|
* tools/formed/formed/plugins/web/plugin.py, |
283 |
|
tools/formed/formed/plugins/web/renderer.py: Added parameter |
284 |
|
print out in web plugin. |
285 |
|
|
286 |
2007-08-15 Torsten Irlaender <[email protected]> |
2007-08-15 Torsten Irlaender <[email protected]> |
287 |
|
|
288 |
* contrib/convert-formedtree2csv.xsl: Added small script for |
* contrib/convert-formedtree2csv.xsl: Added small script for |
289 |
exporting the formed tree to csv |
exporting the formed tree to csv |
290 |
|
|