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