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