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