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