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