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