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