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