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