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