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