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