1 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/names/filter.py: Removed |
4 |
|
HTML and SQL exporters. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/export, |
7 |
|
tools/formed/formed/plugins/export/__init__.py, |
8 |
|
tools/formed/formed/plugins/export/sql.py, |
9 |
|
tools/formed/formed/plugins/export/html.py: New: Contain |
10 |
|
the HTML and the SQL exporters now. |
11 |
|
|
12 |
|
* tools/formed/formed/config.py: Use exporters from different |
13 |
|
package now. |
14 |
|
|
15 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
16 |
|
|
17 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
18 |
|
pseudo SQL export filters. TODO: Move HTML and SQL filter |
19 |
|
in a new file (formed/plugins/export/htmlexport.py and |
20 |
|
sqlexport.py?) |
21 |
|
|
22 |
|
* tools/formed/formed/config.py: Install the new SQL filter. |
23 |
|
|
24 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
25 |
|
|
26 |
|
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
27 |
|
method to determine the depth of particular tree item. |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/names/filter.py: Added an |
30 |
|
HTML export filters. TODO: needs more work. |
31 |
|
|
32 |
|
* tools/formed/formed/config.py: Install the new HTML filter. |
33 |
|
|
34 |
|
2007-08-23 Torsten Irlaender <[email protected]> |
35 |
|
|
36 |
|
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
37 |
|
to extract fields and options in the XFA Data in teh PDF. This |
38 |
|
script might me handy to indicate changes between the different |
39 |
|
formular versions. |
40 |
|
|
41 |
|
2007-08-23 Sascha L. Teichmann <[email protected]> |
42 |
|
|
43 |
|
* tools/formed/formed/main.py: Add an 'all' mode to |
44 |
|
select all modes. ;-) |
45 |
|
|
46 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
47 |
|
|
48 |
|
* tools/formed/test-data/simple.xml, |
49 |
|
tools/formed/formed/model/data.py, |
50 |
|
tools/formed/formed/plugins/web/plugin.py, |
51 |
|
tools/formed/formed/plugins/web/renderer.py, |
52 |
|
tools/formed/formed/io/document.py, |
53 |
|
tools/formed/formed/main.py: Removed support for switch nodes. |
54 |
|
BEWARE: This breaks compatibility with older documents! |
55 |
|
|
56 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
57 |
|
|
58 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the |
59 |
|
getSelectedMode() from main now. |
60 |
|
|
61 |
|
* tools/formed/formed/main.py: selected mode is now hold |
62 |
|
in main. |
63 |
|
|
64 |
|
* tools/formed/formed/config.py: removed selected mode from |
65 |
|
env configuration. |
66 |
|
|
67 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
68 |
|
|
69 |
|
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
70 |
|
table are now alphabetically sorted. |
71 |
|
|
72 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/model/nodecomponents.py: Added code to |
75 |
|
establish the new 'modes' recursively. |
76 |
|
|
77 |
|
* tools/formed/formed/plugins/plugin.py: Pass main instead |
78 |
|
of cfg on plug-in start-up. |
79 |
|
|
80 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new |
81 |
|
'modes' attribute for rendering. |
82 |
|
|
83 |
|
* tools/formed/formed/plugins/web/renderer.py: Use decorators |
84 |
|
to check the new modes. |
85 |
|
|
86 |
|
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
87 |
|
|
88 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
89 |
|
|
90 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
91 |
|
attribute 'modes' to NodeComponents. |
92 |
|
|
93 |
|
2007-08-22 Sascha L. Teichmann <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
96 |
|
|
97 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
98 |
|
|
99 |
|
* tools/formed/formed/plugins/web/renderer.py: Another fix |
100 |
|
for the hidden field. Argh! |
101 |
|
|
102 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
103 |
|
|
104 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
105 |
|
generation of hidden page field. |
106 |
|
|
107 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
108 |
|
|
109 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
110 |
|
checks for radio groups. |
111 |
|
|
112 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
113 |
|
|
114 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
115 |
|
checks for choices. |
116 |
|
|
117 |
|
2007-08-21 Frank Koormann <[email protected]> |
118 |
|
|
119 |
|
* contrib/convert-formedtree2html.xsl: Display switch nodes as |
120 |
|
alternatives. |
121 |
|
|
122 |
|
2007-08-21 Frank Koormann <[email protected]> |
123 |
|
|
124 |
|
* contrib/convert-formedtree2html.xsl: |
125 |
|
Replace technical types with readable descriptions |
126 |
|
|
127 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
130 |
|
issues. 'action' looks for all widgets on a page now, goes |
131 |
|
through all passed parameters, tries to match them with the |
132 |
|
widgets of the page and put them into the semantic box. |
133 |
|
Afterwards a list of untouched page parameters are left |
134 |
|
which will be deleted from the semantic box. |
135 |
|
|
136 |
|
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
137 |
|
The NodeComponent is passed as an argument now. |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/web/renderer.py: Generate a |
140 |
|
hidden field to store the name of the page. |
141 |
|
|
142 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
143 |
|
|
144 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
145 |
|
issue with incoming UTF-8 data. |
146 |
|
|
147 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
148 |
|
|
149 |
|
* tools/formed/test-data/simple.xml: Improve test for widgets |
150 |
|
in switches. |
151 |
|
|
152 |
|
* tools/formed/formed/model/data.py: Added a method to find all |
153 |
|
widgets in a given page. Fixed a bug when walking in switch |
154 |
|
with a given mode. |
155 |
|
|
156 |
|
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
157 |
|
listing all widgets in page. |
158 |
|
|
159 |
|
2007-08-21 Torsten Irlaender <[email protected]> |
160 |
|
|
161 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
162 |
|
latin-1 |
163 |
|
|
164 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
165 |
|
|
166 |
|
* tools/formed/formed/model/data.py: Added mode parameter to |
167 |
|
walk. |
168 |
|
|
169 |
|
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
170 |
|
walk() with usage of the new mode parameter. Added a method to |
171 |
|
give children in a given mode. |
172 |
|
|
173 |
|
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
174 |
|
new Switch.childrenInMode() method. |
175 |
|
|
176 |
|
2007-08-21 Sascha L. Teichmann <[email protected]> |
177 |
|
|
178 |
|
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
179 |
|
texts and text areas. |
180 |
|
|
181 |
|
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
182 |
|
to UTF-8 in generated form. |
183 |
|
|
184 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
185 |
|
|
186 |
|
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
187 |
|
tests for dates. |
188 |
|
|
189 |
|
2007-08-20 Sascha L. Teichmann <[email protected]> |
190 |
|
|
191 |
|
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
192 |
|
range test. |
193 |
|
|
194 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
195 |
|
to find a tree item for a given name. |
196 |
|
|
197 |
|
* tools/formed/formed/plugins/web/semantic.py: New: Box for |
198 |
|
semantic checking. Has check for integers. |
199 |
|
|
200 |
|
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
201 |
|
check. |
202 |
|
|
203 |
|
2007-08-20 Torsten Irlaender <[email protected]> |
204 |
|
|
205 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
206 |
|
selection-field generation (Removed quote) |
207 |
|
|
208 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
209 |
|
|
210 |
|
* tools/formed/formed/plugins/web/plugin.py, |
211 |
|
tools/formed/formed/plugins/web/renderer.py: Added a |
212 |
|
simple cookie based session management to the HTML |
213 |
|
renderer. This submit parameters are stored in the |
214 |
|
session now. This will ease testing the constraint |
215 |
|
tests which need to be written soon. |
216 |
|
|
217 |
|
BEWARE: The session management is _not_ made for production! |
218 |
|
Denial of service attacks are too easy, and the |
219 |
|
cryptographical strength of the session id is doubtful. |
220 |
|
|
221 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
222 |
|
|
223 |
|
* tools/formed/formed/plugins/web/renderer.py: Escaping text |
224 |
|
coming from the document tree now when inserting it into the |
225 |
|
HTML output. |
226 |
|
|
227 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
228 |
|
|
229 |
|
* tools/formed/formed/plugins/plugin.py: Added a new kind |
230 |
|
of plug-in: Filter. They have a short and a long description |
231 |
|
and can be hooked automatically into the new 'Filters' |
232 |
|
sub menu under 'Extra'. They got called when the user |
233 |
|
selects their respective menu item. |
234 |
|
|
235 |
|
* tools/formed/formed/config.py: Contains the list of |
236 |
|
installed filters. |
237 |
|
|
238 |
|
* tools/formed/formed/main.py: Builds the Extra->Filters |
239 |
|
sub menu during gui initialization. The hard wired code |
240 |
|
for make unique and formular name/description -> name |
241 |
|
is removed because they are implemented as filters now. |
242 |
|
|
243 |
|
* tools/formed/formed/model/nodecomponents.py, |
244 |
|
tools/formed/formed/model/data.py: Removed the make |
245 |
|
unique and formular name/description -> name code. |
246 |
|
|
247 |
|
* tools/formed/formed/plugins/names, |
248 |
|
tools/formed/formed/plugins/names/__init__.py, |
249 |
|
tools/formed/formed/plugins/names/filter.py: Added. Contains |
250 |
|
the make unique and formular name/description -> name code |
251 |
|
in form of filters. |
252 |
|
|
253 |
|
* tools/formed/test-data/simple.xml: Modified to be a better |
254 |
|
test for the formular name/description -> name filter. |
255 |
|
|
256 |
|
2007-08-18 Sascha L. Teichmann <[email protected]> |
257 |
|
|
258 |
|
* tools/formed/formed.py, tools/formed/formed/main.py: First |
259 |
|
command line argument is interpreted as filename of document |
260 |
|
to be loaded at program startup. |
261 |
|
|
262 |
|
2007-08-17 Frank Koormann <[email protected]> |
263 |
|
|
264 |
|
* contrib/convert-formedtree2html.xsl: |
265 |
|
Heading level depending on depth of group node. |
266 |
|
In case of radio/choice/check only list of options. |
267 |
|
|
268 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
269 |
|
|
270 |
|
* contrib/convert-formedtree2html.xsl: Output is now generated with |
271 |
|
HTML doc-string and charset information in the meta-header. |
272 |
|
|
273 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
274 |
|
|
275 |
|
* contrib/convert-formedtree2html.xsl: Added small script for |
276 |
|
exporting the formed tree to html |
277 |
|
|
278 |
|
2007-08-17 Torsten Irlaender <[email protected]> |
279 |
|
|
280 |
|
* tools/formed/model/nodecomponents.py: Added function to rename |
281 |
|
the set the name of the node to the formularname. The formularname |
282 |
|
gets shorten to <=64 by removing vowels and is stored lowercase. |
283 |
|
If the name is not unique and additional id value is appended. |
284 |
|
|
285 |
|
* tools/formed/formed/model/data.py: Overwritten renaming-function for |
286 |
|
bool-leafs |
287 |
|
|
288 |
|
* tools/formed/formed/main.py: Added menuitem for renaming the names |
289 |
|
of the element |
290 |
|
|
291 |
|
2007-08-16 Sascha L. Teichmann <[email protected]> |
292 |
|
|
293 |
|
* tools/formed/formed/main.py: Swaped order of |
294 |
|
'Make names unique' and 'Selected mode...' in Extra |
295 |
|
menu and put a separator between them. |
296 |
|
|
297 |
|
2007-08-15 Sascha L. Teichmann <[email protected]> |
298 |
|
|
299 |
|
* tools/formed/formed/model/data.py: SwitchNodes can add |
300 |
|
their modes to a given set now. |
301 |
|
|
302 |
|
* tools/formed/formed/plugins/plugin.py: Simplified |
303 |
|
the plug-in interface. Only the reference to the |
304 |
|
global configuration is passed at setup time. |
305 |
|
|
306 |
|
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
307 |
|
to new plug-in setup. The traveral mode is now taken |
308 |
|
from the global configuration each time a rendering |
309 |
|
is triggered. The FORMED parameter is now named |
310 |
|
'doc.mode' instead of 'web.mode'. The parameter |
311 |
|
is not needed any more because it can be configured |
312 |
|
at runtime. |
313 |
|
|
314 |
|
* tools/formed/formed/main.py: Adjusted to new plugin |
315 |
|
setup. Added a new menu item Extra->Select Mode... |
316 |
|
to select the traversal mode. It is stored in the |
317 |
|
global config. |
318 |
|
|
319 |
|
* tools/formed/formed/config.py: Simplified. Only uses |
320 |
|
one env dictionary to store global configuration parameters. |
321 |
|
|
322 |
|
* tools/formed/formed/ui/controls.py: Add a control to |
323 |
|
select one item from a list of given strings. |
324 |
|
|
325 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2007-08-15 Sascha L. Teichmann <[email protected]> |
326 |
|
|
327 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |