1 |
2007-09-04 Sascha L. Teichmann <[email protected]> |
2010-09-01 Roland Geider <[email protected]> |
2 |
|
|
3 |
|
* formed/formed/plugins/modify/rules.py: issue1050: mandatory fields |
4 |
|
appearing double. |
5 |
|
The problem was that the way the formEditor handled fields with |
6 |
|
manually created rules changed. Instead of ignoring fields (very |
7 |
|
early behaviour) or always generating them (early behaviour), now the |
8 |
|
formED will only ignore fields with rules which name starts with |
9 |
|
'required-rule-manual'. This is helpful when the rules for mandatory |
10 |
|
fields are more complex (e.g. mother's name is only required if |
11 |
|
mother is known). |
12 |
|
|
13 |
|
2010-08-10 Torsten Irländer <[email protected]> |
14 |
|
|
15 |
|
* contrib/diff_formed.py: New helperscript to diff to given |
16 |
|
formedtrees |
17 |
|
|
18 |
|
2010-08-09 Roland Geider <[email protected]> |
19 |
|
|
20 |
|
* formed/model/exprtree.py: fixed typo |
21 |
|
|
22 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
* formed/po/de_DE.po: Update translations |
25 |
|
|
26 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
27 |
|
|
28 |
|
* formed/po/formed.pot: Regenerated. |
29 |
|
|
30 |
|
* formed/po/de_DE.po: Update. |
31 |
|
|
32 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
* formed/po/Makefile: Use correct filename of the pot-file in the |
35 |
|
usage message |
36 |
|
|
37 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
38 |
|
|
39 |
|
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make |
40 |
|
the order of entries in the .pot-file more predictable. |
41 |
|
|
42 |
|
2010-08-04 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* formed/formed/model/nodecomponents.py (RootNode.__init__) |
45 |
|
(RootNode.getVersion, RootNode.setVersion): Add attribute |
46 |
|
"version" and accessor methods. |
47 |
|
|
48 |
|
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let |
49 |
|
the user set the document version. |
50 |
|
(MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion |
51 |
|
|
52 |
|
2010-08-02 Bernhard Herzog <[email protected]> |
53 |
|
|
54 |
|
* formed/formed.py, formed/formed/io/document.py, |
55 |
|
formed/formed/io/factories.py, formed/formed/io/parser.py, |
56 |
|
formed/formed/model/data.py, formed/formed/model/event.py, |
57 |
|
formed/formed/model/expr.py, formed/formed/model/exprtree.py, |
58 |
|
formed/formed/model/memory.py, formed/formed/model/misc.py, |
59 |
|
formed/formed/model/nodecomponents.py, |
60 |
|
formed/formed/model/persistent.py: Fix coding declaration to be |
61 |
|
acceptable to both python and Emacs. |
62 |
|
|
63 |
|
2010-07-29 Torsten Irländer <[email protected]> |
64 |
|
|
65 |
|
* formed/formed/model/data.py: Added "invisible" attribute to |
66 |
|
BoolLeafs. This can be used to hide options in choicelists. so the |
67 |
|
user can not select the value in the user interface. But the db will |
68 |
|
have this option so is ist still present in the db an can be used |
69 |
|
* formed/formed/model/exprtree.py: Added "days" function. |
70 |
|
|
71 |
|
2010-07-26 Roland Geider <[email protected]> |
72 |
|
|
73 |
|
* formed/formed/model/nodecomponents.py, |
74 |
|
formed/formed/plugins/modify/rules.py: generated date rules take |
75 |
|
into consideration repeat groups |
76 |
|
|
77 |
|
2010-07-21 Torsten Irländer <[email protected]> |
78 |
|
|
79 |
|
Issue870 |
80 |
|
|
81 |
|
* formed/formed/plugins/modify/rules.py (descriptions): Do not collect |
82 |
|
all headers to the referenced fields. Only list labels of the error |
83 |
|
fields, which should be distinct enough. |
84 |
|
|
85 |
|
Issue851 |
86 |
|
|
87 |
|
* formed/formed/model/data.py |
88 |
|
formed/formed/plugins/export/new_sql.py |
89 |
|
formed/formed/plugins/web/view_renderer.py |
90 |
|
formed/formed/io/document.py |
91 |
|
formed/formed/config.py: Added Float-Field to Formed |
92 |
|
|
93 |
|
2010-06-11 Bernhard Herzog <[email protected]> |
94 |
|
|
95 |
|
* formed/formed/plugins/export/rg_sql.py |
96 |
|
(CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call |
97 |
|
create_master_ds to create the master tbl entry. This way we can |
98 |
|
add SQL code that's specific to an MPuls instance to |
99 |
|
create_master_ds and still have create_master_tbl use that new |
100 |
|
code. This is useful for e.g. the JMD-Struktur part. |
101 |
|
|
102 |
|
2010-06-02 Roland Geider <[email protected]> |
103 |
|
|
104 |
|
* formed/formed/plugins/modify/rules.py: make the names of generated |
105 |
|
date-sequence-rules unique |
106 |
|
|
107 |
|
2010-06-02 Roland Geider <[email protected]> |
108 |
|
|
109 |
|
* formed/plugins/export/xls.py: updated regular expression |
110 |
|
|
111 |
|
2010-05-17 Frank Koormann <[email protected]> |
112 |
|
|
113 |
|
* formed/formed/plugins/export/latex.py: Improved section labeling. |
114 |
|
|
115 |
|
* formed/formed/plugins/export/xls.py: |
116 |
|
Export references (ie where are the lists used). |
117 |
|
|
118 |
|
2010-04-30 Torsten Irländer <[email protected]> |
119 |
|
|
120 |
|
* formed/formed/plugins/modify/rules.py (VariableType.substitute): Do |
121 |
|
not generate "%"-rules for required fields in repeat-groups. |
122 |
|
|
123 |
|
2010-04-28 Roland Geider <[email protected]> |
124 |
|
|
125 |
|
* formed/plugins/export/xls.py: Radiogroups are exported |
126 |
|
* formed/plugins/export/xsd.py: WASKA formedtree.xml validates XSD |
127 |
|
JMD formedtree.xml validates XSD |
128 |
|
|
129 |
|
2010-04-08 Torsten Irländer <[email protected]> |
130 |
|
|
131 |
|
* formed/formed/plugins/modify/rules.py |
132 |
|
(GenerateRequiredRules.generateDateSequenceRules): Add error mark to |
133 |
|
rules. Generete each rule twice to be able to render errors at both |
134 |
|
datefields. |
135 |
|
|
136 |
|
2010-04-07 Torsten Irländer <[email protected]> |
137 |
|
|
138 |
|
* formed/formed/plugins/export/rg_sql.py: Added "Revision"-Tag. |
139 |
|
|
140 |
|
2010-04-06 Torsten Irländer <[email protected]> |
141 |
|
|
142 |
|
* formed/formed/io/document.py (_toXML): Added comment with |
143 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
144 |
|
* formed/formed/plugins/export/new_sql.py |
145 |
|
(ExportAsSQLFilter.doExport): Added comment with |
146 |
|
"$Revision"-tag. This tag will/can then be substituted by the VCS. |
147 |
|
* formed/formed/model/exprtree.py: Added years operator. |
148 |
|
|
149 |
|
2010-03-30 Roland Geider <[email protected]> |
150 |
|
|
151 |
|
* formed/formed/plugins/export/latex.py: Added filter |
152 |
|
|
153 |
|
2010-03-25 Roland Geider <[email protected]> |
154 |
|
|
155 |
|
* formed/formed/plugins/export/xsd.py: Generate valid XML |
156 |
|
|
157 |
|
2010-02-11 Frank Koormann <[email protected]> |
158 |
|
|
159 |
|
* formed/formed/plugins/export/xls.py: Allow groups in choices. |
160 |
|
|
161 |
|
2009-12-02 Torsten Irländer <[email protected]> |
162 |
|
|
163 |
|
* formed/formed/plugins/export/typemap.py: do not ignore conditional |
164 |
|
nodes on traversal. |
165 |
|
|
166 |
|
2009-11-17 Sascha L. Teichmann <[email protected]> |
167 |
|
|
168 |
|
* formed/formed/model/exprtree.py: Recognize '%' vars |
169 |
|
in compilation. Does not eval it! |
170 |
|
|
171 |
|
* formed/formed/plugins/modify/rules.py: Generate '%' vars |
172 |
|
for variables in repeat groups. |
173 |
|
|
174 |
|
2009-11-13 Sascha L. Teichmann <[email protected]> |
175 |
|
|
176 |
|
* formed/formed/plugins/export/typemap.py: Fixed to work |
177 |
|
with new repeat group nodes. |
178 |
|
|
179 |
|
2009-10-28 Sascha L. Teichmann <[email protected]> |
180 |
|
|
181 |
|
* formed/formed/plugins/export/xsd.py, |
182 |
|
formed/formed/plugins/export/sql.py, |
183 |
|
formed/formed/plugins/export/new_sql.py: Allow groups in choices. |
184 |
|
|
185 |
|
2009-10-07 Frank Koormann <[email protected]> |
186 |
|
|
187 |
|
* formed/formed/plugins/export/latex.py: |
188 |
|
Adjusted textprocessing to escape tex-active characters. |
189 |
|
|
190 |
|
2009-10-07 Sascha L. Teichmann <[email protected]> |
191 |
|
|
192 |
|
* formed/formed/plugins/export/html.py, formed/formed/plugins/export/latex.py, |
193 |
|
formed/formed/plugins/export/html2.py: Adjusted to cope with |
194 |
|
"semi-complete" implementation of logbook tree structure. |
195 |
|
|
196 |
|
2009-06-18 Torsten Irländer <[email protected]> |
197 |
|
|
198 |
|
* formed/formed/plugins/export/new_sql.py, |
199 |
|
formed/formed/plugins/export/rg_sql.py: Fixed some sql errors, and |
200 |
|
added permissions. |
201 |
|
|
202 |
|
2009-06-18 Torsten Irländer <[email protected]> |
203 |
|
|
204 |
|
* formed/formed/plugins/export/new_sql.py: Commented out generation of |
205 |
|
page_views, as they do not work with rgroups. |
206 |
|
|
207 |
|
2009-06-17 Torsten Irländer <[email protected]> |
208 |
|
|
209 |
|
* formed/formed/plugins/export/new_sql.py: Fixed anonymize function |
210 |
|
and rolenames. |
211 |
|
|
212 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
213 |
|
|
214 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
215 |
|
|
216 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
217 |
|
|
218 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
219 |
|
|
220 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
221 |
|
|
222 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
223 |
|
nodecomponent names. |
224 |
|
|
225 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
226 |
|
|
227 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
228 |
|
repeat groups if no uuid is given. If a uuid is given then |
229 |
|
the creation is triggered by an xml import. |
230 |
|
|
231 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
232 |
|
|
233 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
234 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
235 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
236 |
|
|
237 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
238 |
|
The old one is deactivated. |
239 |
|
|
240 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
241 |
|
|
242 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
243 |
|
|
244 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
245 |
|
TODO: Adjust execution rights. |
246 |
|
|
247 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
248 |
|
|
249 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
250 |
|
Add functions to create dataset. |
251 |
|
|
252 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
253 |
|
|
254 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
255 |
|
tree structure functions in database. |
256 |
|
|
257 |
|
* formed/formed/config.py: load plug-in. |
258 |
|
|
259 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
260 |
|
|
261 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
262 |
|
RepeatNode. Removed needless methods |
263 |
|
|
264 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
265 |
|
|
266 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
267 |
|
more readable with '=' and '<>'. |
268 |
|
|
269 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
270 |
|
|
271 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
272 |
|
of uuid on anonymization of case. |
273 |
|
|
274 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
275 |
|
|
276 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
277 |
|
case_anonymize(). |
278 |
|
|
279 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
280 |
|
|
281 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
282 |
|
the trees infix. |
283 |
|
|
284 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
285 |
|
readable rules. |
286 |
|
|
287 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
288 |
|
|
289 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
290 |
|
|
291 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
292 |
|
|
293 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
294 |
|
exceptions if there is less or more than one element on stack |
295 |
|
after compilation of expression. |
296 |
|
|
297 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
298 |
|
|
299 |
|
* formed/formed/model/data.py: Removed debug output |
300 |
|
|
301 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
302 |
|
Generate past and future rules. |
303 |
|
|
304 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
305 |
|
|
306 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
307 |
|
|
308 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
309 |
|
|
310 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
311 |
|
|
312 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
313 |
|
|
314 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
315 |
|
|
316 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
317 |
|
|
318 |
|
* formed/formed/model/data.py: Added ConditionalNode |
319 |
|
|
320 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
321 |
|
|
322 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
323 |
|
|
324 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
325 |
|
in date sequence rules more precise. |
326 |
|
|
327 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
328 |
|
|
329 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
330 |
|
|
331 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
332 |
|
|
333 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
334 |
|
|
335 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
336 |
|
Adjusted imports. |
337 |
|
|
338 |
|
2009-03-12 Torsten Irländer <[email protected]> |
339 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
340 |
|
|
341 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
342 |
|
|
343 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
344 |
|
|
345 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
346 |
|
|
347 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
348 |
|
|
349 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
350 |
|
nodecomponent names. |
351 |
|
|
352 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
353 |
|
|
354 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
355 |
|
repeat groups if no uuid is given. If a uuid is given then |
356 |
|
the creation is triggered by an xml import. |
357 |
|
|
358 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
359 |
|
|
360 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
361 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
362 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
363 |
|
|
364 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
365 |
|
The old one is deactivated. |
366 |
|
|
367 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
368 |
|
|
369 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
370 |
|
|
371 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
372 |
|
TODO: Adjust execution rights. |
373 |
|
|
374 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
375 |
|
|
376 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
377 |
|
Add functions to create dataset. |
378 |
|
|
379 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
380 |
|
|
381 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
382 |
|
tree structure functions in database. |
383 |
|
|
384 |
|
* formed/formed/config.py: load plug-in. |
385 |
|
|
386 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
387 |
|
|
388 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
389 |
|
RepeatNode. Removed needless methods |
390 |
|
|
391 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
392 |
|
|
393 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
394 |
|
more readable with '=' and '<>'. |
395 |
|
|
396 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
397 |
|
|
398 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
399 |
|
of uuid on anonymization of case. |
400 |
|
|
401 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
402 |
|
|
403 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
404 |
|
case_anonymize(). |
405 |
|
|
406 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
407 |
|
|
408 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
409 |
|
the trees infix. |
410 |
|
|
411 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
412 |
|
readable rules. |
413 |
|
|
414 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
415 |
|
|
416 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
417 |
|
|
418 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
419 |
|
|
420 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
421 |
|
exceptions if there is less or more than one element on stack |
422 |
|
after compilation of expression. |
423 |
|
|
424 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
425 |
|
|
426 |
|
* formed/formed/model/data.py: Removed debug output |
427 |
|
|
428 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
429 |
|
Generate past and future rules. |
430 |
|
|
431 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
432 |
|
|
433 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
434 |
|
|
435 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
436 |
|
|
437 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
438 |
|
|
439 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
440 |
|
|
441 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
442 |
|
|
443 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
444 |
|
|
445 |
|
* formed/formed/model/data.py: Added ConditionalNode |
446 |
|
|
447 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
448 |
|
|
449 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
450 |
|
|
451 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
452 |
|
in date sequence rules more precise. |
453 |
|
|
454 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
455 |
|
|
456 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
457 |
|
|
458 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
459 |
|
|
460 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
461 |
|
|
462 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
463 |
|
Adjusted imports. |
464 |
|
|
465 |
|
2009-03-12 Torsten Irländer <[email protected]> |
466 |
|
2009-06-17 Sascha L. Teichmann <[email protected]> |
467 |
|
|
468 |
|
* formed/formed/plugins/export/new_sql.py: s/-/_/ in relation names. |
469 |
|
|
470 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
471 |
|
|
472 |
|
* formed/formed/plugins/names/filter.py: small optimization. |
473 |
|
|
474 |
|
2009-05-26 Sascha L. Teichmann <[email protected]> |
475 |
|
|
476 |
|
* formed/formed/plugins/names/filter.py: Repaired unique filter for |
477 |
|
nodecomponent names. |
478 |
|
|
479 |
|
2009-05-06 Sascha L. Teichmann <[email protected]> |
480 |
|
|
481 |
|
* formed/formed/plugins/export/rg_sql.py: Only create depending |
482 |
|
repeat groups if no uuid is given. If a uuid is given then |
483 |
|
the creation is triggered by an xml import. |
484 |
|
|
485 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
486 |
|
|
487 |
|
* formed/formed/plugins/export/new_sql.py: New SQL schema generator to |
488 |
|
replace the old one. The new one faciliates the new RepeatNode instead |
489 |
|
of the Group.isRepeat() method to tell if something is to be repeated. |
490 |
|
|
491 |
|
* formed/formed/config.py: Use new SQL schema generator plug-in by default. |
492 |
|
The old one is deactivated. |
493 |
|
|
494 |
|
* formed/formed/plugins/export/rg_sql.py: Fix 'rg_' naming of repeat groups. |
495 |
|
|
496 |
|
2009-04-28 Sascha L. Teichmann <[email protected]> |
497 |
|
|
498 |
|
* formed/formed/plugins/export/rg_sql.py: Added delete functions. |
499 |
|
TODO: Adjust execution rights. |
500 |
|
|
501 |
|
2009-04-27 Sascha L. Teichmann <[email protected]> |
502 |
|
|
503 |
|
* formed/formed/plugins/export/rg_sql.py: Fixed $$$$ -> $$ template problems. |
504 |
|
Add functions to create dataset. |
505 |
|
|
506 |
|
2009-04-24 Sascha L. Teichmann <[email protected]> |
507 |
|
|
508 |
|
* formed/formed/plugins/export/rg_sql.py: new plug-in to generate |
509 |
|
tree structure functions in database. |
510 |
|
|
511 |
|
* formed/formed/config.py: load plug-in. |
512 |
|
|
513 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
514 |
|
|
515 |
|
* formed/formed/model/data.py: Added 'digest' attribute to |
516 |
|
RepeatNode. Removed needless methods |
517 |
|
|
518 |
|
2009-04-16 Sascha L. Teichmann <[email protected]> |
519 |
|
|
520 |
|
* formed/formed/model/exprtree.py: make 'equal' and 'not equal' |
521 |
|
more readable with '=' and '<>'. |
522 |
|
|
523 |
|
2009-04-02 Sascha L. Teichmann <[email protected]> |
524 |
|
|
525 |
|
* formed/formed/plugins/export/sql.py: call anonymization |
526 |
|
of uuid on anonymization of case. |
527 |
|
|
528 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
529 |
|
|
530 |
|
* formed/formed/plugins/export/sql.py: Set uuid_id to NULL in |
531 |
|
case_anonymize(). |
532 |
|
|
533 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
534 |
|
|
535 |
|
* formed/formed/model/exprtree.py: Add some code to pretty print |
536 |
|
the trees infix. |
537 |
|
|
538 |
|
* formed/formed/plugins/export/rules.py: New. Exporter for human |
539 |
|
readable rules. |
540 |
|
|
541 |
|
* formed/formed/plugins/export/html.py: Fixed HTML generation. |
542 |
|
|
543 |
|
* formed/formed/config.py: Added new new Rule export plug-in. |
544 |
|
|
545 |
|
2009-03-31 Sascha L. Teichmann <[email protected]> |
546 |
|
|
547 |
|
* formed/formed/model/exprtree.py: Fixes from server. Raise |
548 |
|
exceptions if there is less or more than one element on stack |
549 |
|
after compilation of expression. |
550 |
|
|
551 |
|
2009-03-20 Sascha L. Teichmann <[email protected]> |
552 |
|
|
553 |
|
* formed/formed/model/data.py: Removed debug output |
554 |
|
|
555 |
|
* formed/formed/plugins/modify/rules.py: Fixed error message. |
556 |
|
Generate past and future rules. |
557 |
|
|
558 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
559 |
|
|
560 |
|
* formed/formed/model/exprtree.py: Forget to call today with context. |
561 |
|
|
562 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
563 |
|
|
564 |
|
* formed/formed/io/document.py: Fixed syntax typo. |
565 |
|
|
566 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
567 |
|
|
568 |
|
* formed/formed/model/data.py: ConditionalNode inherits from Node directly. |
569 |
|
|
570 |
|
2009-03-16 Sascha L. Teichmann <[email protected]> |
571 |
|
|
572 |
|
* formed/formed/model/data.py: Added ConditionalNode |
573 |
|
|
574 |
|
* formed/formed/io/document.py: Make ConditionalNode loadable. |
575 |
|
|
576 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
577 |
|
|
578 |
|
* formed/formed/plugins/modify/rules.py: Make the error descriptions |
579 |
|
in date sequence rules more precise. |
580 |
|
|
581 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
582 |
|
|
583 |
|
* formed/formed/plugins/modify/rules.py: generate date sequence rules. |
584 |
|
|
585 |
|
2009-03-13 Sascha L. Teichmann <[email protected]> |
586 |
|
|
587 |
|
* formed/formed/model/exprtree.py: New tree based expression engine. |
588 |
|
|
589 |
|
* formed/formed/model/__init__.py, formed/formed/model/data.py: |
590 |
|
Adjusted imports. |
591 |
|
|
592 |
|
2009-03-12 Torsten Irländer <[email protected]> |
593 |
|
|
594 |
|
Introduced new order attribute for date fields |
595 |
|
|
596 |
|
* formed/formed/model/data.py: Order fields can be used to define to |
597 |
|
ordering of datefields withing the document. Needed for automatic |
598 |
|
generation of consistency rules. |
599 |
|
|
600 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
601 |
|
|
602 |
|
* formed/formed/model/data.py: Allow pages to be 'invisible'. |
603 |
|
|
604 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
605 |
|
|
606 |
|
* formed/formed/plugins/export/sql.py: Fixed problem with |
607 |
|
description reference tables of radio groups. |
608 |
|
|
609 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
610 |
|
|
611 |
|
* formed/formed/plugins/export/sql.py: replace '-' in names |
612 |
|
by '_'. |
613 |
|
|
614 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
615 |
|
|
616 |
|
* formed/formed/plugins/export/sql.py: to figure ou which |
617 |
|
tables are equal the insert statememnts are lower cased |
618 |
|
and sorted before they are compared. This reduces the number |
619 |
|
of generated referfence tables. |
620 |
|
|
621 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
622 |
|
|
623 |
|
Repair SQL schema creation for radio groups. |
624 |
|
|
625 |
|
* formed/formed/plugins/export/sql.py: radio groups are handled |
626 |
|
like choices now. |
627 |
|
|
628 |
|
2009-02-09 Sascha L. Teichmann <[email protected]> |
629 |
|
|
630 |
|
Make it startable again. |
631 |
|
|
632 |
|
* formed/formed/plugins/export/xls.py: Import pyExcelerator only |
633 |
|
when plug-in is called. |
634 |
|
|
635 |
|
* formed/formed/model/nodecomponents.py: Event routing was messed up. |
636 |
|
Rewired root node with document. |
637 |
|
|
638 |
|
* formed/formed/plugins/web/help.py: Removed old xml.ext import. |
639 |
|
XXX: This breaks creating help by now! |
640 |
|
|
641 |
|
* formed/formed/io/parser.py: Replace old deprecated base class |
642 |
|
by new one. |
643 |
|
|
644 |
|
* formed/formed/main.py: Do not crash if locale cannot be set. |
645 |
|
|
646 |
|
* formed/formed/ui/controls.py: Use document.getCase() instead |
647 |
|
of document.case to prevent uninitialized dereferences. |
648 |
|
|
649 |
|
2009-01-22 Torsten Irländer <[email protected]> |
650 |
|
|
651 |
|
Implemented new XML-Format for formed xml files. |
652 |
|
|
653 |
|
* formed/formed/model/nodecomponents.py, |
654 |
|
formed/formed/io/document.py, |
655 |
|
formed/formed/main.py, |
656 |
|
formed/formed/ui/controls.py: Introduced new "case" and "logbook" |
657 |
|
node. Under case is the definition of the formular. logbook will |
658 |
|
hold the defintion of logboog entrys. For now only the part under |
659 |
|
"case" can be modified. |
660 |
|
|
661 |
|
2009-01-21 Torsten Irländer <[email protected]> |
662 |
|
|
663 |
|
Changed way how XSD-Scheme is generated |
664 |
|
|
665 |
|
* formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support |
666 |
|
logbookentrys. The scheme definiton is now hardcoded in the |
667 |
|
exporter as it will rarely change. It logbookpart will not be |
668 |
|
generated from the formedtree anymore. |
669 |
|
|
670 |
|
2009-01-20 Torsten Irländer <[email protected]> |
671 |
|
|
672 |
|
Support Logbook entrys in xsd schema export |
673 |
|
|
674 |
|
* formed/formed/model/data.py: Repeatnode are now handeld as |
675 |
|
repeatgroups in xsd-export |
676 |
|
* formed/formed/plugins/export/xsd.py: Enhanced xsd schema to support |
677 |
|
logbookentrys. The scheme will now validate against an xmlfile from |
678 |
|
the offlineclient. |
679 |
|
|
680 |
|
2009-01-09 Torsten Irländer <[email protected]> |
681 |
|
|
682 |
|
Added new repeat node |
683 |
|
|
684 |
|
* formed/formed/model/data.py, |
685 |
|
formed/formed/io/document.py: Added repeatnode to the formedtree. |
686 |
|
TODO: Remove repeatgroup handling from the groupnode. |
687 |
|
|
688 |
|
2009-01-08 Torsten Irländer <[email protected]> |
689 |
|
|
690 |
|
Add isset operator to autogenerated rules. |
691 |
|
|
692 |
|
* formed/formed/plugins/modify/rules.py: Add issed operator to standard |
693 |
|
autogenerated rules. |
694 |
|
|
695 |
|
2008-12-17 Frank Koormann <[email protected]> |
696 |
|
|
697 |
|
* formed/formed/plugins/export/latex.py: Export form as set of |
698 |
|
latex tables to be included into a master document. The export |
699 |
|
generates section marks to structure the form and placeholders for |
700 |
|
help texts to be merged in by a post processing step. |
701 |
|
|
702 |
|
2008-12-04 Sascha L. Teichmann <[email protected]> |
703 |
|
|
704 |
|
* formed/formed/model/expr.py: Added 'today' which pushes the current date |
705 |
|
on the stack. |
706 |
|
|
707 |
|
2008-12-03 Sascha L. Teichmann <[email protected]> |
708 |
|
|
709 |
|
* formed/formed/plugins/web/controllers.py: compute changeset more correctly in |
710 |
|
storage of fields. |
711 |
|
|
712 |
|
* formed/formed/plugins/export/xsd.py: Added unknown int -999999 to integer |
713 |
|
fields as an accepted value. Generate schema for radio groups too. |
714 |
|
|
715 |
|
2008-12-01 Torsten Irländer <[email protected]> |
716 |
|
|
717 |
|
Added autmatic generation of required rules |
718 |
|
|
719 |
|
* formed/formed/model/data.py, |
720 |
|
formed/formed/model/expr.py, |
721 |
|
formed/formed/plugins/modify/rules.py: Default rules for required |
722 |
|
fields can now be generated. |
723 |
|
|
724 |
|
2008-11-28 Sascha L. Teichmann <[email protected]> |
725 |
|
|
726 |
|
* formed/formed/model/data.py, formed/formed/model/nodecomponents.py: |
727 |
|
Ported WidgetCollector from Offline client. |
728 |
|
|
729 |
|
* formed/formed/plugins/modify/__init__.py, formed/formed/plugins/modify, |
730 |
|
formed/formed/plugins/modify/rules.py: Stub for required rules generator. |
731 |
|
|
732 |
|
* formed/formed/config.py: Bind new filter to FormEd |
733 |
|
|
734 |
|
2008-11-27 Torsten Irländer <[email protected]> |
735 |
|
|
736 |
|
* formed/formed/model/data.py: Added new attribute mark for rules |
737 |
|
|
738 |
|
2008-11-10 Torsten Irländer <[email protected]> |
739 |
|
|
740 |
|
Implemented radio-matrix elements. radio elelement having the same |
741 |
|
options can now be rendered in table form. |
742 |
|
|
743 |
|
* formed/formed/model/data.py, |
744 |
|
formed/formed/io/document.py: Added new radio-matrix element to the |
745 |
|
model and gui |
746 |
|
* formed/formed/plugins/web/view_renderer.py: Write html-renderer for |
747 |
|
the radio-matrix element. |
748 |
|
|
749 |
|
2008-11.03 Torsten Irländer <[email protected]> |
750 |
|
|
751 |
|
* formed/formed/model/data.py: Fixed import error |
752 |
|
|
753 |
|
2008-10-29 Sascha L. Teichmann <[email protected]> |
754 |
|
|
755 |
|
Relative paths in external choices are now possible. Relative paths are |
756 |
|
relative to path of the master document. |
757 |
|
|
758 |
|
* formed/model/data.py: external choice are now storing the path to the |
759 |
|
master document. |
760 |
|
|
761 |
|
* formed/formed/io/document.py: Pass context to SAX builder. |
762 |
|
|
763 |
|
* formed/formed/io/factories.py: For new created nodes look if there |
764 |
|
is a method 'setLoadContext' and call it. |
765 |
|
|
766 |
|
2008-09-04 Sascha L. Teichmann <[email protected]> |
767 |
|
|
768 |
|
* doc/beschreibung.txt: New. Initial description of FormEd (german). |
769 |
|
|
770 |
|
2008-08-22 Sascha L. Teichmann <[email protected]> |
771 |
|
|
772 |
|
* formed/formed/model/nodecomponents.py: Added attribute 'flags'. |
773 |
|
|
774 |
|
2008-08-21 Sascha L. Teichmann <[email protected]> |
775 |
|
|
776 |
|
* formed/formed/io/document.py: Indent tree while saving |
777 |
|
* formed/formed/main.py: removed needless print |
778 |
|
|
779 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
780 |
|
|
781 |
|
* LICENSE: New GPLv3 |
782 |
|
* */*.py, *.sh: Added reference to LICENSE |
783 |
|
|
784 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
785 |
|
|
786 |
|
* tools: removed because there a no tools any more. |
787 |
|
|
788 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
789 |
|
|
790 |
|
* tools/formed: moved one level up because its the only |
791 |
|
part of this project now. |
792 |
|
|
793 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
794 |
|
|
795 |
|
* tools/anonym/*: Removed as it belongs to mpuls WASKA |
796 |
|
|
797 |
|
2008-08-15 Sascha L. Teichmann <[email protected]> |
798 |
|
|
799 |
|
* pdf2xfa/*: removed. It belongs to mpuls |
800 |
|
|
801 |
|
2008-08-13 L. Teichmann <[email protected]> |
802 |
|
|
803 |
|
i18n of the plug-ins: |
804 |
|
* tools/formed/formed/plugins/export/diff.py, |
805 |
|
tools/formed/formed/plugins/export/data.py, |
806 |
|
tools/formed/formed/plugins/export/old_sql.py, |
807 |
|
tools/formed/formed/plugins/export/latex.py, |
808 |
|
tools/formed/formed/plugins/export/xsd.py, |
809 |
|
tools/formed/formed/plugins/export/sql.py, |
810 |
|
tools/formed/formed/plugins/export/typemap.py, |
811 |
|
tools/formed/formed/plugins/export/html.py, |
812 |
|
tools/formed/formed/plugins/export/mode.py, |
813 |
|
tools/formed/formed/plugins/export/html2.py, |
814 |
|
tools/formed/formed/plugins/export/xls.py, |
815 |
|
tools/formed/formed/plugins/names/filter.py, |
816 |
|
tools/formed/formed/plugins/plugin.py, |
817 |
|
tools/formed/formed/plugins/web/help.py, |
818 |
|
tools/formed/formed/plugins/web/form_renderer.py, |
819 |
|
tools/formed/formed/plugins/web/plugin.py, |
820 |
|
tools/formed/formed/plugins/web/error_renderer.py, |
821 |
|
tools/formed/formed/plugins/web/view_renderer.py, |
822 |
|
tools/formed/formed/plugins/web/semantic.py, |
823 |
|
tools/formed/formed/plugins/web/cache.py, |
824 |
|
tools/formed/formed/plugins/web/server.py, |
825 |
|
tools/formed/formed/plugins/web/controllers.py, |
826 |
|
tools/formed/formed/plugins/web/renderer.py, |
827 |
|
tools/formed/formed/plugins/ui/controls.py, |
828 |
|
tools/formed/formed/config.py: _("")s the stuff |
829 |
|
tools/formed/po/formed.pot, tools/formed/po/de_DE.po: |
830 |
|
extracted and translated. |
831 |
|
|
832 |
|
2008-08-08 Sascha L. Teichmann <[email protected]> |
833 |
|
|
834 |
|
First version of FormEd i18n. After checkout go to tools/formed/po/ and |
835 |
|
say 'make mo'. Afterwards you can start FormEd as usual. |
836 |
|
|
837 |
|
* tools/formed/resources: New. Place to places ressources like *.mo files |
838 |
|
* tools/formed/formed/main.py, tools/formed/formed/ui/controls.py: Add _("")s |
839 |
|
|
840 |
|
* tools/formed/po, |
841 |
|
tools/formed/po/Makefile, |
842 |
|
tools/formed/po/formed.pot, |
843 |
|
tools/formed/po/de_DE.po: i18n stuff. |
844 |
|
|
845 |
|
2008-08-08 Sascha L. Teichmann <[email protected]> |
846 |
|
|
847 |
|
* tools/anonym/xmlexport.py: Only export cases which are not |
848 |
|
'schwebend geloescht'. |
849 |
|
|
850 |
|
2008-07-23 Sascha L. Teichmann <[email protected]> |
851 |
|
|
852 |
|
Fixed issue472 |
853 |
|
|
854 |
|
* tools/anonym/xmlimport.py: Regenerate dicts from current form ed tree. |
855 |
|
|
856 |
|
2008-07-17 Sascha L. Teichmann <[email protected]> |
857 |
|
|
858 |
|
* tools/anonym/xmlimport.py: removed marking of invalid cases |
859 |
|
* tools/anonym/cron.importAnonXml.sh: re-inserted here. |
860 |
|
|
861 |
|
2008-07.07 Torsten Irländer <[email protected]> |
862 |
|
|
863 |
|
* tools/formed/formed/plugins/export/latex.py |
864 |
|
tools/formed/formed/config.py: Added new LaTex Export. Beware this |
865 |
|
is even more ugly the HTML Export. |
866 |
|
* tools/formed/formed/plugins/export/html.py: Added information on |
867 |
|
anonymisation to the html export. |
868 |
|
|
869 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
870 |
|
|
871 |
|
* tools/anonym/xmlimport.py: Mark cases if they are inconsistent. |
872 |
|
|
873 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
874 |
|
|
875 |
|
* tools/anonym/xmlimport.py: Updated to schema 1.5. (Which is incompatible to 1.4) |
876 |
|
|
877 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
878 |
|
|
879 |
|
* tools/formed/formed/plugins/export/html.py: Added additional column |
880 |
|
to the html export with information how each field will get |
881 |
|
anonymized. |
882 |
|
|
883 |
|
2008-07-07 Sascha L. Teichmann <[email protected]> |
884 |
|
|
885 |
|
* tools/anonym/xmlimport.py: sync with productive version. |
886 |
|
|
887 |
|
2008-06-10 Torsten Irländer <[email protected]> |
888 |
|
|
889 |
|
* tools/formed/formed/plugins/export/sql.py: grant admin permission to |
890 |
|
call anonymize function |
891 |
|
|
892 |
|
2008-05-21 Sascha L. Teichmann <[email protected]> |
893 |
|
|
894 |
|
* tools/formed/formed/plugins/export/xsd.py: Brought encoding |
895 |
|
back to UTF-8. |
896 |
|
|
897 |
|
2008-05-21 Frank Koormann <[email protected]> |
898 |
|
|
899 |
|
* tools/formed/formed/plugins/export/xls.py: New, export key value |
900 |
|
tables as excel workbook with one sheet per table. |
901 |
|
|
902 |
|
* tools/formed/formed/config.py: ExportKeyValueTableAsXLS added. |
903 |
|
|
904 |
|
2008-05-21 Frank Koormann <[email protected]> |
905 |
|
|
906 |
|
* tools/formed/formed/plugins/export/xsd.py |
907 |
|
(SchemaCreator._createChoice): Fix use of choices name. |
908 |
|
|
909 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
910 |
|
|
911 |
|
* tools/formed/formed/plugins/export/xsd.py: Use substitution group |
912 |
|
to allow arbitrary order of repeat groups. |
913 |
|
|
914 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
915 |
|
|
916 |
|
* tools/formed/formed/plugins/export/xsd.py: Removed a needless |
917 |
|
character. |
918 |
|
|
919 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
920 |
|
|
921 |
|
* tools/formed/formed/plugins/export/xsd.py: Added annotations |
922 |
|
to fields. |
923 |
|
|
924 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
925 |
|
|
926 |
|
* tools/formed/formed/plugins/export/xsd.py: Added for |
927 |
|
choice fields. |
928 |
|
|
929 |
|
2008-04-29 Sascha L. Teichmann <[email protected]> |
930 |
|
|
931 |
|
* tools/formed/formed/plugins/export/xsd.py: Added support for |
932 |
|
boolean fields based on enumerations. |
933 |
|
|
934 |
|
2008-04-28 Sascha L. Teichmann <[email protected]> |
935 |
|
|
936 |
|
* tools/formed/formed/plugins/export/xsd.py: Added support for |
937 |
|
date, text and textarea fields. |
938 |
|
|
939 |
|
2008-04-28 Sascha L. Teichmann <[email protected]> |
940 |
|
|
941 |
|
* tools/formed/formed/plugins/export/xsd.py: Added support for |
942 |
|
repeat groups and integer fields. |
943 |
|
|
944 |
|
2008-04-28 Sascha L. Teichmann <[email protected]> |
945 |
|
|
946 |
|
* tools/formed/formed/plugins/export/xsd.py: New. plug-in for |
947 |
|
exporting as XML schema. not ready, yet. |
948 |
|
|
949 |
|
* tools/formed/formed/config.py: Use new plug-in. |
950 |
|
|
951 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed wrong GUI text. |
952 |
|
|
953 |
|
2008-04-17 Torsten Irländer <[email protected]> |
954 |
|
|
955 |
|
* tools/formed/formed/plugins/export/sql.py: Changed WHERE clause in |
956 |
|
for the views because of the new group permissions. |
957 |
|
|
958 |
|
2008-04-09 Sascha L. Teichmann <[email protected]> |
959 |
|
|
960 |
|
* tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete |
961 |
|
old anonymized cases. |
962 |
|
|
963 |
|
2008-04-01 Sascha L. Teichmann <[email protected]> |
964 |
|
|
965 |
|
* tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1" |
966 |
|
from clause to select datasets. |
967 |
|
Replace ']]>' in CDATA sections with correct splitted replacement. |
968 |
|
|
969 |
|
2008-03-12 Sascha L. Teichmann <[email protected]> |
970 |
|
|
971 |
|
* tools/anonym/cron.importAnonXml.sh: Added absolut path to xmlimport |
972 |
|
script. |
973 |
|
|
974 |
|
* tools/anonym/xmlimport.py: commented out database port from |
975 |
|
connectionstring. |
976 |
|
|
977 |
|
2008-03-12 Sascha L. Teichmann <[email protected]> |
978 |
|
|
979 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed bug in generation |
980 |
|
of anonymization of repeat groups (wrong id was given). |
981 |
|
|
982 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
983 |
|
|
984 |
|
* tools/formed/formed/plugins/export/sql.py: Generate no update |
985 |
|
statements for relations which have no anonym functions applied. |
986 |
|
|
987 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
988 |
|
|
989 |
|
* tools/formed/formed/plugins/export/sql.py: Added a newline after |
990 |
|
'COMMIT;' in the last line. |
991 |
|
|
992 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
993 |
|
|
994 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed syntax of |
995 |
|
generated anonymize_case() function. |
996 |
|
|
997 |
|
2008-03-11 Sascha L. Teichmann <[email protected]> |
998 |
|
|
999 |
|
* tools/formed/formed/plugins/export/sql.py: Added code to |
1000 |
|
generate a plpgsql function anonymize_case() that anonymized |
1001 |
|
a given case and all of its depending repeat groups. |
1002 |
|
|
1003 |
|
2008-03-06 Sascha L. Teichmann <[email protected]> |
1004 |
|
|
1005 |
|
* tools/anonym/xmlimport.py: remove print of insert statement. |
1006 |
|
|
1007 |
|
* tools/formed/formed/plugins/export/sql.py: Print generation date in ISO. |
1008 |
|
|
1009 |
|
2008-03-03 Torsten Irländer <[email protected]> |
1010 |
|
|
1011 |
|
* anonym/cron.sendAnonXml.sh, |
1012 |
|
anonym/getDbList.sh: Modified script to be used directly in the |
1013 |
|
production environment (Copied running scripts from production |
1014 |
|
server) |
1015 |
|
|
1016 |
|
* cron.importAnonXml.sh: Added deleting of ols cases. Modified script |
1017 |
|
to be used in a production environment (Cpoied running script from |
1018 |
|
production server) |
1019 |
|
|
1020 |
|
* tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to |
1021 |
|
ensure that only valid cases get exported |
1022 |
|
|
1023 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
1024 |
|
|
1025 |
|
* tools/anonym/xmlimport.py: Fixed bug in date converter. |
1026 |
|
|
1027 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
1028 |
|
|
1029 |
|
* tools/anonym/xmlimport.py: Simpilied version |
1030 |
|
|
1031 |
|
2008-02-27 Sascha L. Teichmann <[email protected]> |
1032 |
|
|
1033 |
|
* tools/anonym/cron.importAnonXml.sh: Add sudo call for |
1034 |
|
xmlimport.py and parameters. |
1035 |
|
|
1036 |
|
* tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/ |
1037 |
|
|
1038 |
|
* tools/anonym/xmlexport.py: Use python interpreter without env |
1039 |
|
because of sudo context. |
1040 |
|
|
1041 |
|
2008-02-26 Sascha L. Teichmann <[email protected]> |
1042 |
|
|
1043 |
|
* tools/anonym/xmlimport.py: added support for getopt. add |
1044 |
|
support to force in fkz in import of case. |
1045 |
|
|
1046 |
|
2008-02-26 Sascha L. Teichmann <[email protected]> |
1047 |
|
|
1048 |
|
* tools/anonym/xmlimport.py: Implemented logic to create/update cases. |
1049 |
|
|
1050 |
|
* tools/anonym/html.awk: produces valid HTML. |
1051 |
|
|
1052 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1053 |
|
|
1054 |
|
* tools/anonym/joincsv.py: Fix a logic bug. |
1055 |
|
|
1056 |
|
2008-02-25 Torsten Irlaender <[email protected]> |
1057 |
|
|
1058 |
|
* tools/anonym/cron.importAnonXml.sh: Added shellscript for importing |
1059 |
|
exportted cases. It will read all files from a directory and import |
1060 |
|
the files into the DB. After that the script will cleanup the |
1061 |
|
directory. |
1062 |
|
|
1063 |
|
2008-02-25 Torsten Irländer <[email protected]> |
1064 |
|
|
1065 |
|
* tools/anonym/cron.sendAnonXml.sh, |
1066 |
|
tools/anonym/xmlexport.py, |
1067 |
|
tools/anonym/getDbList.sh: Added shell-scripts for exporting cases |
1068 |
|
|
1069 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1070 |
|
|
1071 |
|
* tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols. |
1072 |
|
|
1073 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1074 |
|
|
1075 |
|
* tools/anonym/joincsv.py: New. Joins CSV files. |
1076 |
|
|
1077 |
|
* tools/anonym/html.awk: New. Converts CSV to HTML |
1078 |
|
|
1079 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1080 |
|
|
1081 |
|
* tools/anonym/xmlimport.py: New. Added generation of |
1082 |
|
update statements. |
1083 |
|
|
1084 |
|
2008-02-25 Sascha L. Teichmann <[email protected]> |
1085 |
|
|
1086 |
|
* tools/anonym/xmlimport.py: New. Base for importing |
1087 |
|
XML from cron. |
1088 |
|
|
1089 |
|
2008-02-24 Sascha L. Teichmann <[email protected]> |
1090 |
|
|
1091 |
|
* tools/formed/formed/plugins/export/html2.py: New. plug-in |
1092 |
|
for a simplified HTML output |
1093 |
|
|
1094 |
|
* tools/formed/formed/plugins/export/typemap.py: New. plug-in |
1095 |
|
for dump schema as python dictionary. |
1096 |
|
|
1097 |
|
* tools/formed/formed/config.py: Enable new plug-ins. Out comment |
1098 |
|
old stored procedure and view generators. |
1099 |
|
|
1100 |
|
2008-02-19 Sascha L. Teichmann <[email protected]> |
1101 |
|
|
1102 |
|
* tools/anonym/xmlexport.py: New. Export all cases in database |
1103 |
|
as XML. |
1104 |
|
|
1105 |
|
2008-02-18 Sascha L. Teichmann <[email protected]> |
1106 |
|
|
1107 |
|
* tools/anonym/anoymncsv.py: separate field with '\t' now. |
1108 |
|
all '\t's are replaced by ' ' before. '\r\n' are removed too. |
1109 |
|
|
1110 |
|
2008-02-15 Sascha L. Teichmann <[email protected]> |
1111 |
|
|
1112 |
|
* tools/anonym/anoymncsv.py: simple script to fetch anonymous |
1113 |
|
data from database. |
1114 |
|
|
1115 |
|
2008-02-14 Sascha L. Teichmann <[email protected]> |
1116 |
|
|
1117 |
|
* tools/formed/formed/plugins/export/sql.py: Exchanged name |
1118 |
|
erase_value with suppress_value/suppress_value2. |
1119 |
|
|
1120 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1121 |
|
|
1122 |
|
* tools/formed/formed/plugins/export/sql.py: output id, master_id |
1123 |
|
substitute 'erase_value' with NULL value. |
1124 |
|
|
1125 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1126 |
|
|
1127 |
|
* tools/formed/formed/plugins/export/sql.py: output id, master_id |
1128 |
|
and uuid_id in anonymiziation views too. |
1129 |
|
|
1130 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1131 |
|
|
1132 |
|
* tools/formed/formed/plugins/export/sql.py: Added generation |
1133 |
|
of anonymiziation views for master table views and repeat group |
1134 |
|
views. |
1135 |
|
|
1136 |
|
2008-02-13 Sascha L. Teichmann <[email protected]> |
1137 |
|
|
1138 |
|
* tools/formed/formed/model/nodecomponents.py: Added attribute |
1139 |
|
"function" |
1140 |
|
|
1141 |
|
* tools/formed/formed/io/document.py: Save attributes in |
1142 |
|
alphabetical order. |
1143 |
|
|
1144 |
|
2008-02-02 Sascha L. Teichmann <[email protected]> |
1145 |
|
|
1146 |
|
* tools/formed/formed/plugins/export/sql.py: Added update rule |
1147 |
|
for master table and repeat groups views. Granted update right |
1148 |
|
to :cm_ka_group. |
1149 |
|
|
1150 |
|
2008-02-01 Sascha L. Teichmann <[email protected]> |
1151 |
|
|
1152 |
|
* tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id' |
1153 |
|
for master table and repeat groups. Also added unique constraints |
1154 |
|
to these columns. |
1155 |
|
|
1156 |
|
2007-12-10 Sascha L. Teichmann <[email protected]> |
1157 |
|
|
1158 |
|
* pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system |
1159 |
|
property 'root.element' to specify the name of the XML root. |
1160 |
|
|
1161 |
|
* pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted. |
1162 |
|
|
1163 |
|
2007-11-22 Sascha L. Teichmann <[email protected]> |
1164 |
|
|
1165 |
|
* pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts |
1166 |
|
for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde. |
1167 |
|
|
1168 |
|
* pdf2xfa/README.TXT: Add a remark to new boot scripts. |
1169 |
|
|
1170 |
|
2007-11-21 Sascha L. Teichmann <[email protected]> |
1171 |
|
|
1172 |
|
* pdf2xfa/src/de/intevation/pdfimport/Log.java: New. |
1173 |
|
Sends logging to file. |
1174 |
|
|
1175 |
|
* pdf2xfa/src/de/intevation/pdfimport/Server.java, |
1176 |
|
pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted |
1177 |
|
to use new logging. |
1178 |
|
|
1179 |
|
* pdf2xfa/README.TXT: Added remark how to use logging. |
1180 |
|
|
1181 |
|
2007-11-16 Frank Koormann <[email protected]> |
1182 |
|
|
1183 |
|
* tools/formed/formed/plugins/export/sql.py (createSchema): |
1184 |
|
Append only column "bearbeiter_id", standins are modelled by a |
1185 |
|
separate table. |
1186 |
|
|
1187 |
|
2007-11-16 Sascha L. Teichmann <[email protected]> |
1188 |
|
|
1189 |
|
* tools/formed/formed/model/data.py, |
1190 |
|
tools/formed/formed/plugins/web/view_renderer.py: |
1191 |
|
Added an invisible flag for info fields. |
1192 |
|
|
1193 |
|
2007-11-07 Sascha L. Teichmann <[email protected]> |
1194 |
|
|
1195 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs |
1196 |
|
(calling a wrong method). |
1197 |
|
|
1198 |
|
2007-11-07 Sascha L. Teichmann <[email protected]> |
1199 |
|
|
1200 |
|
* tools/formed/formed/model/nodecomponents.py: Added a field |
1201 |
|
'alternative' to all node components. This might be of help to |
1202 |
|
match PDF imports where the descriptions do not match. |
1203 |
|
|
1204 |
|
2007-10-23 Frank Koormann <[email protected]> |
1205 |
|
|
1206 |
|
* tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views |
1207 |
|
|
1208 |
|
2007-10-23 Frank Koormann <[email protected]> |
1209 |
|
|
1210 |
|
* tools/formed/formed/plugins/export/sql.py: Set default |
1211 |
|
value (-1) for choices and bools. |
1212 |
|
|
1213 |
|
2007-10-21 Frank Koormann <[email protected]> |
1214 |
|
|
1215 |
|
* tools/formed/formed/plugins/export/sql.py: Grant statements for |
1216 |
|
descriptive tables added. |
1217 |
|
(Table.getName): new |
1218 |
|
|
1219 |
|
2007-10-21 Frank Koormann <[email protected]> |
1220 |
|
|
1221 |
|
* tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE" |
1222 |
|
statements for views and roles to make updates easier. |
1223 |
|
Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE. |
1224 |
|
|
1225 |
|
2007-10-19 Frank Koormann <[email protected]> |
1226 |
|
|
1227 |
|
* tools/formed/formed/plugins/export/sql.py: Added GRANT statements |
1228 |
|
for views. The statements are prepared for variable substitution |
1229 |
|
when executing the SQL-scripts by psql. |
1230 |
|
|
1231 |
|
2007-10-18 Sascha L. Teichmann <[email protected]> |
1232 |
|
|
1233 |
|
* pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed: |
1234 |
|
End of result XML was truncated because of an unflushed buffer. |
1235 |
|
|
1236 |
|
2007-10-17 Sascha L. Teichmann <[email protected]> |
1237 |
|
|
1238 |
|
* pdf2xfa/bin/build-jar.sh: New. Build production jar file. |
1239 |
|
|
1240 |
|
* pdf2xfa/README.TXT: Adjusted how to build production jar file |
1241 |
|
and how to use it. |
1242 |
|
|
1243 |
|
* pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class |
1244 |
|
and iText dependency. |
1245 |
|
|
1246 |
|
2007-10-16 Sascha L. Teichmann <[email protected]> |
1247 |
|
|
1248 |
|
* tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe' |
1249 |
|
are not modeled as BOOLEANs any more. That simpifies the conversion |
1250 |
|
process web vs. db. |
1251 |
|
|
1252 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1253 |
|
|
1254 |
|
* tools/formed/formed/plugins/export/sql.py: Added the remaining |
1255 |
|
UPDATE rules. |
1256 |
|
|
1257 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1258 |
|
|
1259 |
|
* tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some |
1260 |
|
views. TODO: Test'em and implement the rest. |
1261 |
|
|
1262 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1263 |
|
|
1264 |
|
* tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT |
1265 |
|
rules referenced none existing views. |
1266 |
|
|
1267 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1268 |
|
|
1269 |
|
* tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT |
1270 |
|
rules for views. TODO: add UPDATE rules. |
1271 |
|
|
1272 |
|
2007-10-07 Sascha L. Teichmann <[email protected]> |
1273 |
|
|
1274 |
|
* tools/formed/formed/plugins/export/old_sql.py: New. Contains |
1275 |
|
the legacy SQL export filters. |
1276 |
|
|
1277 |
|
* tools/formed/formed/plugins/export/sql.py: Factored out the |
1278 |
|
legacy SQL export filters to old_sql. |
1279 |
|
|
1280 |
|
* tools/formed/formed/config.py: Adjusted to fetch legacy |
1281 |
|
filters from old_sql. |
1282 |
|
|
1283 |
|
2007-10-06 Sascha L. Teichmann <[email protected]> |
1284 |
|
|
1285 |
|
* pdf2xfa/**: Initial import of the PDF to XFA server. |
1286 |
|
|
1287 |
|
2007-10-06 Sascha L. Teichmann <[email protected]> |
1288 |
|
|
1289 |
|
* tools/formed/formed/plugins/export/sql.py: Fixed bug |
1290 |
|
that made choices of three elements to booleans if |
1291 |
|
they have other meanings than 'Ja', 'Nein', 'keine Angabe'. |
1292 |
|
|
1293 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
1294 |
|
|
1295 |
|
* tools/formed/formed/plugins/export/sql.py: Select ids of |
1296 |
|
underlaying tables in views too. |
1297 |
|
|
1298 |
|
2007-10-04 Sascha L. Teichmann <[email protected]> |
1299 |
|
|
1300 |
|
* tools/formed/formed/plugins/export/sql.py: Create schema inside transaction. |
1301 |
|
Various bug fixes. |
1302 |
|
|
1303 |
|
2007-10-04 Sascha L. Teichmann <[email protected]> |
1304 |
|
|
1305 |
|
* tools/formed/formed/model/data.py: Added GroupNode.allWidgets() |
1306 |
|
to extract fields from embedded repeat groups. |
1307 |
|
|
1308 |
|
* tools/formed/formed/plugins/export/sql.py: The SQL exporter exports |
1309 |
|
views per page too. Result not tested yet. |
1310 |
|
|
1311 |
|
2007-10-01 Sascha L. Teichmann <[email protected]> |
1312 |
|
|
1313 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Ignore |
1314 |
|
in-page repeat groups while rendering pages. |
1315 |
|
|
1316 |
|
2007-10-01 Sascha L. Teichmann <[email protected]> |
1317 |
|
|
1318 |
|
* tools/formed/formed/model/nodecomponents.py: Added visitor |
1319 |
|
traversals for document trees. |
1320 |
|
|
1321 |
|
* tools/formed/formed/model/data.py: Rewrote the |
1322 |
|
Page.allWidgets() method to use new visitor for |
1323 |
|
tree traversal. |
1324 |
|
|
1325 |
|
2007-09-27 Torsten Irlaender <[email protected]> |
1326 |
|
|
1327 |
|
* tools/formed/formed/plugins/names/filter.py: Pages are now included |
1328 |
|
in the rename by formular name algorithm |
1329 |
|
|
1330 |
|
2007-09-26 Sascha L. Teichmann <[email protected]> |
1331 |
|
|
1332 |
|
* tools/formed/formed/model/data.py: Removed old {next|prev}Page() |
1333 |
|
TODO: rewrite Page.allWidgets(). |
1334 |
|
|
1335 |
|
* tools/formed/formed/model/nodecomponents.py: Added a method |
1336 |
|
Node.firstLevel(criterion) to walk a defined line in the tree. |
1337 |
|
|
1338 |
|
* tools/formed/formed/plugins/export/sql.py: Extract data suitable to |
1339 |
|
build views and respective joins. |
1340 |
|
|
1341 |
|
2007-09-26 Sascha L. Teichmann <[email protected]> |
1342 |
|
|
1343 |
|
* tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to |
1344 |
|
FORMED environment variable. If set to true tidylib is used to |
1345 |
|
filter HTML content to be W3C valid. To use this feature install |
1346 |
|
uTidylib. |
1347 |
|
|
1348 |
|
* tools/formed/formed/plugins/web/server.py: Check if MIME type is |
1349 |
|
text/html and filters content through tidy if requested. |
1350 |
|
|
1351 |
|
2007-09-25 Torsten Irlaender <[email protected]> |
1352 |
|
|
1353 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Small fix and |
1354 |
|
cleanup of the form generation code. |
1355 |
|
|
1356 |
|
2007-09-21 Sascha L. Teichmann <[email protected]> |
1357 |
|
|
1358 |
|
* tools/formed/formed/plugins/export/sql.py: Added generation time |
1359 |
|
and DROP TABLE statements to schema export. |
1360 |
|
|
1361 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
1362 |
|
|
1363 |
|
* tools/formed/formed/plugins/export/sql.py: The tables are generated |
1364 |
|
in correct topolocial order now. |
1365 |
|
|
1366 |
|
2007-09-20 Sascha L. Teichmann <[email protected]> |
1367 |
|
|
1368 |
|
* tools/formed/formed/plugins/export/mode.py: New. Filter to export |
1369 |
|
a document with items that are in given mode. |
1370 |
|
|
1371 |
|
* tools/formed/formed/model/nodecomponents.py: Added methods to clone |
1372 |
|
trees depending on selected modes. |
1373 |
|
|
1374 |
|
* tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py: |
1375 |
|
Fixed clone issue with RuleNodes. |
1376 |
|
|
1377 |
|
* tools/formed/formed/config.py: Use new plug-in. |
1378 |
|
|
1379 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1380 |
|
|
1381 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Make the |
1382 |
|
view renderer a real view renderer. It takes a list of |
1383 |
|
items now and not only a single page. |
1384 |
|
|
1385 |
|
* tools/formed/formed/plugins/web/renderer.py: Feed a list |
1386 |
|
of items to the view renderer. |
1387 |
|
|
1388 |
|
2007-09-17 Torsten Irlaender <[email protected]> |
1389 |
|
|
1390 |
|
* tools/formed/formed/plugins/web/view_renderer.py: |
1391 |
|
Small tweaks in rendering bools. |
1392 |
|
RadioNodes (with all its children) can now be placed in a container. |
1393 |
|
The radiobools will not get a surrounding <div> anymore. |
1394 |
|
I am not sure if the new way results in the wanted behaivor, but the |
1395 |
|
rendering results are much better now :) |
1396 |
|
Maybe we need a similar approach for checkboxes? |
1397 |
|
Rendering groups is still broken in some way. |
1398 |
|
|
1399 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1400 |
|
|
1401 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Fixed |
1402 |
|
a few bugs: Do not render empty containers, do not |
1403 |
|
generate misplaced <br class="newline"> in choices. |
1404 |
|
Add a nameless container to catch the items that are |
1405 |
|
nor explicitly assigned to a target. Removed FormData. |
1406 |
|
|
1407 |
|
* tools/formed/formed/plugins/web/renderer.py: Removed |
1408 |
|
a needless import |
1409 |
|
|
1410 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1411 |
|
|
1412 |
|
* tools/formed/formed/plugins/web/view_renderer.py: Implemented |
1413 |
|
usage of 'containers' and 'target' attributes. |
1414 |
|
|
1415 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified import. |
1416 |
|
|
1417 |
|
* tools/formed/formed/plugins/web/renderer.py: Use |
1418 |
|
new ViewRenderer. |
1419 |
|
|
1420 |
|
2007-09-17 Sascha L. Teichmann <[email protected]> |
1421 |
|
|
1422 |
|
* tools/formed/formed/model/nodecomponents.py: Added attributes |
1423 |
|
'target' to NodeComponent and 'containers' to Node. |
1424 |
|
|
1425 |
|
* tools/formed/formed/plugins/web/view_renderer.py: New. Aimed |
1426 |
|
to be a replacement for form_renderer. Not ready yet! |
1427 |
|
|
1428 |
|
* ChangeLog: Fixed some indention glitches. |
1429 |
|
|
1430 |
|
2007-09-13 Torsten Irlaender <[email protected]> |
1431 |
|
|
1432 |
|
* tools/formed/formed/plugins/names/filter.py: Fixed bug in the |
1433 |
|
renaming algorithm. |
1434 |
|
|
1435 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1436 |
|
|
1437 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed header |
1438 |
|
from formular navigation to "Fallakte Inhalt" |
1439 |
|
|
1440 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1441 |
|
|
1442 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad |
1443 |
|
values (dates) were not pretty printed. |
1444 |
|
|
1445 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to |
1446 |
|
label rendering for choicelists. |
1447 |
|
|
1448 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1449 |
|
|
1450 |
|
* tools/formed/formed/plugins/ui/controls.py: Fixed bug that |
1451 |
|
choicelist did not get selected when the value is set to "0" |
1452 |
|
|
1453 |
|
2007-09-12 Torsten Irlaender <[email protected]> |
1454 |
|
|
1455 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Added |
1456 |
|
"getPrintableData" method, for the formdata Class which will return |
1457 |
|
the description rather than the value of element in the ID. This is |
1458 |
|
need for displaying the choises in a right way. |
1459 |
|
|
1460 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed string |
1461 |
|
"Fallnummer" into "Kundennummer" in the templates. Added |
1462 |
|
Kundennummer to the dataset digest output. Bound in the new |
1463 |
|
"getPrintableData" call for the digest. |
1464 |
|
|
1465 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
1466 |
|
|
1467 |
|
* tools/formed/formed/plugins/export/data.py: The import/export |
1468 |
|
of data is now implemented with filters (the most consequent |
1469 |
|
way in terms of design of FormEd). The support of the 'persistent' |
1470 |
|
FORMED env-variable support has been removed. |
1471 |
|
|
1472 |
|
* tools/formed/formed/plugins/ui/controls.py: Added a flag to the |
1473 |
|
filter file dialog to double as import dialog. |
1474 |
|
|
1475 |
|
* tools/formed/formed/main.py: Removed the the FORMED-var support |
1476 |
|
for persistence. |
1477 |
|
|
1478 |
|
* tools/formed/formed/config.py: Add the two new filters to the filters |
1479 |
|
list. |
1480 |
|
|
1481 |
|
2007-10-11 Sascha L. Teichmann <[email protected]> |
1482 |
|
|
1483 |
|
* tools/formed/formed/model/memory.py: Uses XML as persistence format now. |
1484 |
|
Removed pickle/unpickle stuff. |
1485 |
|
|
1486 |
|
* tools/formed/formed/main.py: Uses the new XML persistence. |
1487 |
|
|
1488 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed: choices were |
1489 |
|
not converted to int indices. |
1490 |
|
|
1491 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
1492 |
|
|
1493 |
|
* tools/formed/formed/model/memory.py: Making MemoryDataStore persistent |
1494 |
|
with pickle/unpickle. |
1495 |
|
|
1496 |
|
* tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'. |
1497 |
|
Set to a file name it is tried to unpickle a MemoryDataStore from |
1498 |
|
that file. When exiting the program this file is used to store the |
1499 |
|
current MemoryDataStore state. The storing only works if you exit |
1500 |
|
the program through the Menu File->Exit. |
1501 |
|
usage: FORMED=persistent:test.db ./formed.sh |
1502 |
|
|
1503 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
1504 |
|
|
1505 |
|
* tools/formed/formed/plugins/web/renderer.py: Changed Name of the |
1506 |
|
application on the welcome page from "Formed" to "WASKA" |
1507 |
|
|
1508 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
1509 |
|
|
1510 |
|
* tools/formed/formed/plugins/web/plugin.py, |
1511 |
|
* tools/formed/formed/plugins/web/controllers.py, |
1512 |
|
* tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler. |
1513 |
|
The infopage provides information on all project participants. |
1514 |
|
|
1515 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
1516 |
|
|
1517 |
|
* tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion |
1518 |
|
issues with error messages (once again). |
1519 |
|
|
1520 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
1521 |
|
|
1522 |
|
* tools/formed/formed/plugins/web/form_renderer.py, |
1523 |
|
* tools/formed/formed/plugins/web/renderer.py: Added alt tag for |
1524 |
|
icons in error and confirmation dialogs. |
1525 |
|
|
1526 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
1527 |
|
|
1528 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed label |
1529 |
|
generation for ints, texts and textareas. Fixed h depths of infos. |
1530 |
|
|
1531 |
|
2007-09-11 Sascha L. Teichmann <[email protected]> |
1532 |
|
|
1533 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Removed |
1534 |
|
debug output for help. |
1535 |
|
|
1536 |
|
* tools/formed/formed/plugins/web/semantic.py: Added forgotten |
1537 |
|
check for bools. |
1538 |
|
|
1539 |
|
* tools/formed/formed/plugins/web/controllers.py: Added correct |
1540 |
|
HTML output of data for bools. |
1541 |
|
|
1542 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
1543 |
|
|
1544 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed size of |
1545 |
|
textfields for int values. Changed Label for submitbuttons to |
1546 |
|
"Speichern" |
1547 |
|
|
1548 |
|
* tools/formed/formed/plugins/web/plugin.py, |
1549 |
|
tools/formed/formed/plugins/web/controllers.py: Added new |
1550 |
|
NotImplementedHandler to show up a dummysite for not implemented |
1551 |
|
functions. |
1552 |
|
|
1553 |
|
* tools/formed/formed/plugins/web/renderer.py: Added |
1554 |
|
NotImplementedRenderer. Various small fixes. Mostly renaming the |
1555 |
|
labels of some context menus. Error messages are now generated |
1556 |
|
dynamically depending on num errors. Formular navigation has now |
1557 |
|
colored indication for errors. |
1558 |
|
|
1559 |
|
2007-09-11 Torsten Irlaender <[email protected]> |
1560 |
|
|
1561 |
|
* tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead" |
1562 |
|
algorithm for the formular navigation to get rid of the problem |
1563 |
|
that some of the items within the navigation are not linked. Now |
1564 |
|
structural group elements are linked with the next page found in the |
1565 |
|
formular structure. |
1566 |
|
|
1567 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
1568 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Changed order of |
1569 |
|
div and formtag. |
1570 |
|
|
1571 |
|
* tools/formed/formed/plugins/web/controllers.py: Added DataSet action |
1572 |
|
menu in the conformation dialog when creating a new dataset. |
1573 |
|
|
1574 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed error when |
1575 |
|
rendering the default welcome page. Changed rendering of the |
1576 |
|
overview and the digest table of the datasets. Added icon for |
1577 |
|
confirmation dialog, moved the icon in the <h1> tags. |
1578 |
|
|
1579 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
1580 |
|
|
1581 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Some html |
1582 |
|
generation cleanup. Added error icons to formelements |
1583 |
|
|
1584 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed initialisation |
1585 |
|
of ErrorStatus. Fixed generated of the help tags in the formular |
1586 |
|
|
1587 |
|
* tools/formed/formed/plugins/web/renderer.py: Added error icon for |
1588 |
|
pageerrors. An "!" now indicates errors on pages in the formular |
1589 |
|
navigation. Added new <div> "content" around confirmation dialogss. |
1590 |
|
Links in confimation dialogs are now rendered as buttons. Removed |
1591 |
|
old obsolete OverviewRenderer. |
1592 |
|
|
1593 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
1594 |
|
|
1595 |
|
* tools/formed/formed/plugins/web/renderer.py: Highlight selected |
1596 |
|
page in page navigation. |
1597 |
|
|
1598 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
1599 |
|
|
1600 |
|
* tools/formed/formed/plugins/web/controllers.py: Fixed issues on |
1601 |
|
displaying formdata when changing datasets. Loading the right |
1602 |
|
formdata was not handled in a correct way. Hope it is all fixed now. |
1603 |
|
Left some commented code because not all sideeffects of the changes |
1604 |
|
are tested yet. |
1605 |
|
|
1606 |
|
* tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer |
1607 |
|
now uses the correct data out of the formdata. |
1608 |
|
|
1609 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
1610 |
|
|
1611 |
|
* tools/formed/formed/plugins/web/controllers.py: Pretty |
1612 |
|
print format data (dates e.g) |
1613 |
|
|
1614 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
1615 |
|
|
1616 |
|
* tools/formed/formed/plugins/web/controllers.py: Modified |
1617 |
|
ErrorStats a bit to avoid mysterious extra error on page. |
1618 |
|
No clue why this works. |
1619 |
|
|
1620 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
1621 |
|
|
1622 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Fixed value |
1623 |
|
problem with radio groups, too. |
1624 |
|
|
1625 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
1626 |
|
* tools/formed/formed/plugins/web/controllers.py: Sessions are now |
1627 |
|
really removed when deleting a dataset. |
1628 |
|
|
1629 |
|
2007-09-10 Torsten Irlaender <[email protected]> |
1630 |
|
|
1631 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new Class |
1632 |
|
ErrorStats which provides Information on remaining errors per page. |
1633 |
|
|
1634 |
|
* tools/formed/formed/plugins/web/renderers.py: Finished movement of |
1635 |
|
the renderer methods from controllers.py to renderers.py. |
1636 |
|
|
1637 |
|
* tools/formed/formed/plugins/web/plugin.py: Removed render_session |
1638 |
|
handlers |
1639 |
|
|
1640 |
|
2007-09-10 Sascha L. Teichmann <[email protected]> |
1641 |
|
|
1642 |
|
* tools/formed/formed/plugins/web/form_renderer.py: values for |
1643 |
|
choices are generated from the document tree now. This brings |
1644 |
|
the state storage of select boxes in HTML to live. |
1645 |
|
|
1646 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
1647 |
|
|
1648 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
1649 |
|
range checking of integers. |
1650 |
|
|
1651 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
1652 |
|
ErrorItem to track errors. They are stored in the session. |
1653 |
|
|
1654 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
1655 |
|
|
1656 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
1657 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
1658 |
|
|
1659 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
1660 |
|
written 'errot' in renderer for textareas. |
1661 |
|
|
1662 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
1663 |
|
|
1664 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
1665 |
|
|
1666 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
1667 |
|
method. Could be cheaper for some implementations of help. |
1668 |
|
|
1669 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
1670 |
|
FormData to have distinct getData(), getHelp() and getError() |
1671 |
|
methods. Various bug fixes. |
1672 |
|
|
1673 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
1674 |
|
new FormData (trivial by now). |
1675 |
|
|
1676 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
1677 |
|
some bug fixes. |
1678 |
|
|
1679 |
|
2007-09-09 Sascha L. Teichmann <[email protected]> |
1680 |
|
|
1681 |
|
* tools/formed/formed/model/memory.py, |
1682 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
1683 |
|
to dataset abstraction. This is a bit of a workaround to bring |
1684 |
|
global access across pages for rule checking to work. |
1685 |
|
|
1686 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
1687 |
|
the compiled version was not stored in the RuleLeaf. |
1688 |
|
|
1689 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
1690 |
|
convert the expression string to ascii for compilation. |
1691 |
|
|
1692 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
1693 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
1694 |
|
with integer handler. |
1695 |
|
|
1696 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
1697 |
|
stuff. When a submit is done extract the rules from the tree document |
1698 |
|
that are effected by the modified variables and check them. |
1699 |
|
|
1700 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
1701 |
|
when dealing with templates. |
1702 |
|
|
1703 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
1704 |
|
* tools/formed/formed/plugins/web/controllers.py, |
1705 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
1706 |
|
functions into renderer.py. New render classes are: |
1707 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
1708 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
1709 |
|
|
1710 |
|
Note: The new methods are only called from selected handlers. Other |
1711 |
|
handlers call the renderes in the old way. |
1712 |
|
|
1713 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
1714 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
1715 |
|
renderer.py to form_renderer.py. This file will contain formular |
1716 |
|
specfic render methods in the future. |
1717 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
1718 |
|
which will contain general render methods. |
1719 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
1720 |
|
rendering into renderer.py or form_renderer.py. This file will only |
1721 |
|
contain teh handlers in the future. |
1722 |
|
|
1723 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
1724 |
|
* tools/formed/formed/plugins/web/renderer.py, |
1725 |
|
tools/formed/formed/plugins/web/controller.py: |
1726 |
|
Renderes now get an instance of the formdata object to provide |
1727 |
|
access the data needed to render various infoboxes etc. Handler |
1728 |
|
instanciate the formdata. |
1729 |
|
|
1730 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
1731 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
1732 |
|
getFormData interface to work. Added two small semantic fixes, but |
1733 |
|
did not manage to get it up. Need to exime this a little bit more |
1734 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
1735 |
|
around the menus on the right side to be able to assign different |
1736 |
|
styles. Added dataset actions while editing a dataset. |
1737 |
|
|
1738 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
1739 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
1740 |
|
removing unwanted del method |
1741 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
1742 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
1743 |
|
templates as well for larger information units like the dataset summary. |
1744 |
|
|
1745 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
1746 |
|
|
1747 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
1748 |
|
method to document to find index of page. |
1749 |
|
|
1750 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
1751 |
|
to fetch data from semantic box. |
1752 |
|
|
1753 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
1754 |
|
FormData implementation to support DB and semantic box. |
1755 |
|
|
1756 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
1757 |
|
|
1758 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
1759 |
|
error message. |
1760 |
|
|
1761 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
1762 |
|
dataset from backend each time a page is up to edit. |
1763 |
|
|
1764 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
1765 |
|
|
1766 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
1767 |
|
returns "Page not found" if given page is None. |
1768 |
|
|
1769 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
1770 |
|
to avoid crashing when ask for a non-existent page. |
1771 |
|
|
1772 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
1773 |
|
|
1774 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
1775 |
|
|
1776 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
1777 |
|
|
1778 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
1779 |
|
and renderers. |
1780 |
|
|
1781 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
1782 |
|
and renderers now. TODO: Move renderers to renderer.py |
1783 |
|
|
1784 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
1785 |
|
|
1786 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
1787 |
|
and bound in the the new added functions to create, edit, delete and |
1788 |
|
show formdata. |
1789 |
|
|
1790 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
1791 |
|
|
1792 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
1793 |
|
simple linear scan for dataset lookup now. |
1794 |
|
|
1795 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
1796 |
|
of different sizes. |
1797 |
|
|
1798 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
1799 |
|
|
1800 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
1801 |
|
fuction |
1802 |
|
|
1803 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
1804 |
|
to the DataSet interface |
1805 |
|
|
1806 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
1807 |
|
renderes for create, update, delete and show actions on formular data. |
1808 |
|
|
1809 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
1810 |
|
|
1811 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
1812 |
|
to methods is now driven by regualar expressions and |
1813 |
|
a dictionary. Response objects are now able to send |
1814 |
|
error codes. |
1815 |
|
|
1816 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
1817 |
|
when help in Formdata is None. Moved text for help into |
1818 |
|
a top level '''...''' variable. |
1819 |
|
|
1820 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
1821 |
|
|
1822 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
1823 |
|
|
1824 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
1825 |
|
table driven mapping of reguest handling. TODO: split the |
1826 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
1827 |
|
Smaller clean ups and better exception handling. |
1828 |
|
|
1829 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
1830 |
|
and do not catch them. |
1831 |
|
|
1832 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
1833 |
|
|
1834 |
|
* tools/formed/formed/plugins/web/renderer.py, |
1835 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
1836 |
|
the HelpProvider and inserted help icons to the html output. |
1837 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
1838 |
|
within a <div> tag. |
1839 |
|
Modified the error messages. |
1840 |
|
|
1841 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
1842 |
|
|
1843 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
1844 |
|
the server-side caching more clean. Fixes a bug with |
1845 |
|
serving static content. |
1846 |
|
|
1847 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
1848 |
|
|
1849 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
1850 |
|
|
1851 |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
1852 |
to "application/xhtml+xml" when serving help texts. |
to "application/xhtml+xml" when serving help texts. |
1853 |
|
|
1854 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1855 |
|
|
1856 |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
1857 |
pairwise differences between all modes. |
pairwise differences between all modes. |
1858 |
|
|
1859 |
* tools/formed/formed/config.py: Use new export filter. |
* tools/formed/formed/config.py: Use new export filter. |
1860 |
|
|
1861 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1862 |
|
|
1863 |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
* tools/formed/formed/plugins/web/help.py: New. Parses an |
1864 |
XHTML document for id'ed divs and builds a help lookup. |
XHTML document for id'ed divs and builds a help lookup. |
1872 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
1873 |
texts now. |
texts now. |
1874 |
|
|
1875 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
1876 |
|
|
1877 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
1878 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
1879 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
1880 |
attributes. |
attributes. |
1881 |
|
|
1882 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
1883 |
|
|
1884 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
1885 |
errors in template |
errors in template |
1886 |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
1887 |
pageerrors variable |
pageerrors variable |
1888 |
|
|
1889 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
1890 |
|
|
1891 |
* tools/formed/formed/plugins/export/html.py |
* tools/formed/formed/plugins/export/html.py |
1892 |
(RecursiveExporter): Added annotation to export |
(RecursiveExporter): Added annotation to export |
1893 |
(fillRow()): Renamed old fillNine to this more generic name. |
(fillRow()): Renamed old fillNine to this more generic name. |
1894 |
|
|
1895 |
|
|
1896 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1897 |
|
|
1898 |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
1899 |
from model.misc now. |
from model.misc now. |
1900 |
|
|
1901 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
1902 |
|
|
1903 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
1904 |
'annotation' attribute to node components. This is to |
'annotation' attribute to node components. This is to |
1905 |
enable FormEd document authors to add comments to groups |
enable FormEd document authors to add comments to groups |
1906 |
and fields. |
and fields. |
1907 |
|
|
1908 |
2007-09-03 Frank Koormann <[email protected]> |
2007-09-03 Frank Koormann <[email protected]> |
1909 |
|
|
1910 |
* tools/formed/formed/model/nodecomponents.py |
* tools/formed/formed/model/nodecomponents.py |
1911 |
(NodeComponent.getParent): New method to get node components parent. |
(NodeComponent.getParent): New method to get node components parent. |
1913 |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
* tools/formed/formed/plugins/export/html.py: Export Choice option |
1914 |
as simple list instead of collection of bools. |
as simple list instead of collection of bools. |
1915 |
|
|
1916 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1917 |
|
|
1918 |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
1919 |
from persistent storage details. |
from persistent storage details. |
1923 |
|
|
1924 |
* tools/formed/formed/main.py: Holds a memory data store now. |
* tools/formed/formed/main.py: Holds a memory data store now. |
1925 |
|
|
1926 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1927 |
|
|
1928 |
* tools/formed/formed/plugins/export/sql.py, |
* tools/formed/formed/plugins/export/sql.py, |
1929 |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
1930 |
for FileDialogFilter sub classes. |
for FileDialogFilter sub classes. |
1931 |
|
|
1932 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1933 |
|
|
1934 |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
1935 |
tree traversals is a common task. To ease this a decorator function |
tree traversals is a common task. To ease this a decorator function |
1936 |
checkMode in union with sub classing ModeChecker can be used. |
checkMode in union with sub classing ModeChecker can be used. |
1937 |
To make it work simply subclass from ModeChecker and add the decorator |
To make it work simply subclass from ModeChecker and add the decorator |
1938 |
to the methods that need mode tracking. Before you start the recursion |
to the methods that need mode tracking. Before you start the recursion |
1939 |
call self.prepareDescent(). |
call self.prepareDescent(). |
1940 |
|
|
1941 |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
1942 |
now which replace the old. TODO: Make the web renderer use the new scheme |
now which replace the old. TODO: Make the web renderer use the new scheme |
1943 |
too. |
too. |
1944 |
|
|
1945 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1946 |
|
|
1947 |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
1948 |
|
|
1949 |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
1950 |
uses new FileDialogFilter base class too. |
uses new FileDialogFilter base class too. |
1951 |
|
|
1952 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
1953 |
|
|
1954 |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
1955 |
need a file dialog. Till now each of them pulled up its |
need a file dialog. Till now each of them pulled up its |
1956 |
own. This was silly code replication. Now there is an abstract |
own. This was silly code replication. Now there is an abstract |
1957 |
base class 'FileDialogFilter' which implements the common |
base class 'FileDialogFilter' which implements the common |
1958 |
behavior. The file exporters should subclass it. |
behavior. The file exporters should subclass it. |
1959 |
|
|
1960 |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
1961 |
exporters from the new base class. TODO: Subclass the HTML |
exporters from the new base class. TODO: Subclass the HTML |
1962 |
exporter too. |
exporter too. |
1963 |
|
|
1964 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
1965 |
|
|
1966 |
* tools/formed/formed/plugins/export/html.py: Make mode check |
* tools/formed/formed/plugins/export/html.py: Make mode check |
1967 |
work (again). |
work (again). |
1968 |
|
|
1969 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
1970 |
|
|
1971 |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
1972 |
exprt works now in a recursive way. This change was needed because |
exprt works now in a recursive way. This change was needed because |
1974 |
full hirachically document stuctures. (nested lists) |
full hirachically document stuctures. (nested lists) |
1975 |
TODO: Fix modechecking |
TODO: Fix modechecking |
1976 |
|
|
1977 |
2007-08-31 Torsten Irlaender <[email protected]> |
2007-08-31 Torsten Irlaender <[email protected]> |
1978 |
|
|
1979 |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
1980 |
now in recursive way. This change was needed because the structure |
now in recursive way. This change was needed because the structure |
1981 |
of the formedtree has changed to be able to render full hirachically |
of the formedtree has changed to be able to render full hirachically |
1982 |
document stuctures. (nested lists) |
document stuctures. (nested lists) |
1983 |
|
|
1984 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
1985 |
|
|
1986 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
* tools/formed/formed/model/nodecomponents.py: use discard() |
1987 |
instead of remove on sets. |
instead of remove on sets. |
1992 |
* tools/formed/formed/config.py: Added the new exporter |
* tools/formed/formed/config.py: Added the new exporter |
1993 |
to the list of export filters. |
to the list of export filters. |
1994 |
|
|
1995 |
2007-08-30 Sascha L. Teichmann <[email protected]> |
2007-08-30 Sascha L. Teichmann <[email protected]> |
1996 |
|
|
1997 |
* tools/formed/formed/model/data.py: Fixed a bug in |
* tools/formed/formed/model/data.py: Fixed a bug in |
1998 |
Page.allWidgets() |
Page.allWidgets() |
2002 |
|
|
2003 |
* tools/formed/formed/config.py: Add the new SP exporter. |
* tools/formed/formed/config.py: Add the new SP exporter. |
2004 |
|
|
2005 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
2006 |
|
|
2007 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
2008 |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
tools/formed/formed/plugins/web/error_renderer.py: Added interface |
2009 |
to get the errors for a whole page in te formular. These errors can |
to get the errors for a whole page in te formular. These errors can |
2010 |
now be displayed on the top of the formular. |
now be displayed on the top of the formular. |
2011 |
|
|
2012 |
2007-08-29 Torsten Irlaender <[email protected]> |
2007-08-29 Torsten Irlaender <[email protected]> |
2013 |
|
|
2014 |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
* tools/formed/formed/plugins/web/renderer.py: Finished implementation |
2015 |
of the getFromData interface and prepared the rederer for generating |
of the getFromData interface and prepared the rederer for generating |
2016 |
nice error messages |
nice error messages |
2017 |
|
|
2018 |
2007-08-28 Frank Koormann <[email protected]> |
2007-08-28 Frank Koormann <[email protected]> |
2019 |
|
|
2020 |
* tools/formed/formed/plugins/export/sql.py |
* tools/formed/formed/plugins/export/sql.py |
2021 |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
(SchemaCreator.createSchema, SchemaCreator._createGroup): |
2022 |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
Fixed typo in created DDS (PRIMRAY -> PRIMARY) |
2023 |
|
|
2024 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
2025 |
|
|
2026 |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
* tools/formed/formed/plugins/export/sql.py: Added small helper |
2027 |
function to generated valid quotes within the sql statements |
function to generated valid quotes within the sql statements |
2028 |
|
|
2029 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2030 |
|
|
2031 |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
* tools/formed/formed/plugins/export/sql.py: Added foreign keys |
2032 |
for repeat tables. |
for repeat tables. |
2033 |
|
|
2034 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2035 |
|
|
2036 |
* tools/formed/formed/plugins/export/sql.py: When generating |
* tools/formed/formed/plugins/export/sql.py: When generating |
2037 |
an extra table check in a table of same content exists. In |
an extra table check in a table of same content exists. In |
2038 |
this case reference the existing table. |
this case reference the existing table. |
2039 |
|
|
2040 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2041 |
|
|
2042 |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
* tools/formed/formed/plugins/export/sql.py: Rewritten to produce |
2043 |
_real_ SQL and respect repeat groups. |
_real_ SQL and respect repeat groups. |
2047 |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
* tools/formed/formed/plugins/web/renderer.py: Use "".join([]) |
2048 |
instead of expensive += string concat in some places. |
instead of expensive += string concat in some places. |
2049 |
|
|
2050 |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2007-08-29 Sascha L. Teichmann <[email protected]> |
2051 |
|
|
2052 |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
* tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat() |
2053 |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
to .isRepeat and return a bool. Fixed a bug in Page.allWidgets(). |
2054 |
|
|
2055 |
2007-08-28 Torsten Irlaender <[email protected]> |
2007-08-28 Torsten Irlaender <[email protected]> |
2056 |
|
|
2057 |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
* tools/formed/plugins/web/renderer.py: Added Formdata interface. |
2058 |
* tools/formed/model/data.py: Implements Formadata interface to |
* tools/formed/model/data.py: Implements Formadata interface to |
2060 |
attribute of the groupnode. Field-label generation slightly changed. |
attribute of the groupnode. Field-label generation slightly changed. |
2061 |
Added error indication to textfields |
Added error indication to textfields |
2062 |
|
|
2063 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2064 |
|
|
2065 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2066 |
tools/formed/formed/io/document.py: Removed support |
tools/formed/formed/io/document.py: Removed support |
2067 |
of logical groups. |
of logical groups. |
2068 |
|
|
2069 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2070 |
|
|
2071 |
* tools/formed/formed/io/document.py: Avoid saving empty |
* tools/formed/formed/io/document.py: Avoid saving empty |
2072 |
attributes. |
attributes. |
2073 |
|
|
2074 |
* tools/formed/test-data/simple.xml: Applied. |
* tools/formed/test-data/simple.xml: Applied. |
2075 |
|
|
2076 |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2007-08-28 Sascha L. Teichmann <[email protected]> |
2077 |
|
|
2078 |
* tools/formed/formed/model/data.py: Added 'repeat' and |
* tools/formed/formed/model/data.py: Added 'repeat' and |
2079 |
'invisible' attributes to group. TODO: remove logical group. |
'invisible' attributes to group. TODO: remove logical group. |
2080 |
|
|
2081 |
2007-08-27 Torsten Irlaender <[email protected]> |
2007-08-27 Torsten Irlaender <[email protected]> |
2082 |
|
|
2083 |
* tools/formed/plugins/web/plugin.py, |
* tools/formed/plugins/web/plugin.py, |
2084 |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
tools/formed/plugins/web/renderer.py: Started to include stylesheet |
2085 |
depending tags in the html generation. |
depending tags in the html generation. |
2086 |
|
|
2087 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2088 |
|
|
2089 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2090 |
tools/formed/formed/io/document.py: Added a logical group. |
tools/formed/formed/io/document.py: Added a logical group. |
2091 |
It has an attribute 'repeat' to indicate that it might |
It has an attribute 'repeat' to indicate that it might |
2092 |
be worthy an external table in DB schema. |
be worthy an external table in DB schema. |
2093 |
|
|
2094 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2095 |
|
|
2096 |
* tools/formed/formed/plugins/web/plugin.py: Support |
* tools/formed/formed/plugins/web/plugin.py: Support |
2097 |
serving of static content. |
serving of static content. |
2099 |
* tools/formed/formed/plugins/web/server.py: Removed |
* tools/formed/formed/plugins/web/server.py: Removed |
2100 |
old send code. |
old send code. |
2101 |
|
|
2102 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2103 |
|
|
2104 |
* tools/formed/formed/plugins/web/plugin.py: Use new |
* tools/formed/formed/plugins/web/plugin.py: Use new |
2105 |
Response object. Fix typo. |
Response object. Fix typo. |
2107 |
* tools/formed/formed/plugins/web/server.py: support |
* tools/formed/formed/plugins/web/server.py: support |
2108 |
response object to serve different MIME types. |
response object to serve different MIME types. |
2109 |
|
|
2110 |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2007-08-27 Sascha L. Teichmann <[email protected]> |
2111 |
|
|
2112 |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
* tools/formed/formed/plugins/web/plugin.py: Add web.path |
2113 |
to FORMED environment variable to specify the |
to FORMED environment variable to specify the |
2114 |
root of the static content. |
root of the static content. |
2115 |
|
|
2116 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2117 |
|
|
2118 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2119 |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
tools/formed/formed/model/nodecomponents.py: Fixed mode issues. |
2120 |
|
|
2121 |
* tools/formed/formed/plugins/web/www, |
* tools/formed/formed/plugins/web/www, |
2122 |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
tools/formed/formed/plugins/web/www/main.tmpl: New. Contains |
2123 |
a template for the HTML output. |
a template for the HTML output. |
2124 |
|
|
2125 |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
* tools/formed/formed/plugins/web/plugin.py: Fixes several smaller |
2126 |
mode issues. Introduces CSS support. Simplified the action |
mode issues. Introduces CSS support. Simplified the action |
2127 |
handling. |
handling. |
2128 |
|
|
2129 |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
* tools/formed/formed/plugins/web/renderer.py: Removed the |
2130 |
nagivation code. |
nagivation code. |
2131 |
|
|
2132 |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
* tools/formed/formed/plugins/web/server.py: Added missing import. |
2133 |
|
|
2134 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2135 |
|
|
2136 |
* tools/formed/formed/model/data.py: Added missing broadcast |
* tools/formed/formed/model/data.py: Added missing broadcast |
2137 |
parameter to setAttribute() of RuleLeaf. |
parameter to setAttribute() of RuleLeaf. |
2145 |
* tools/formed/formed/plugins/web/server.py: New. Contains |
* tools/formed/formed/plugins/web/server.py: New. Contains |
2146 |
the HTTP server code now. |
the HTTP server code now. |
2147 |
|
|
2148 |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2007-08-26 Sascha L. Teichmann <[email protected]> |
2149 |
|
|
2150 |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
* tools/formed/test-data/simple.xml: Modified to contain a rule. |
2151 |
|
|
2152 |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
* tools/formed/formed/model/expr.py: Added. A simple RPN |
2153 |
expression evaluator. To avoid the problem of eval()ing |
expression evaluator. To avoid the problem of eval()ing |
2154 |
arbitrary python expressions I've decided to use a very |
arbitrary python expressions I've decided to use a very |
2155 |
basic and limited stack machine to support rule checking. |
basic and limited stack machine to support rule checking. |
2156 |
|
|
2157 |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
* tools/formed/formed/model/data.py: Added a RuleLeaf. |
2158 |
|
|
2160 |
|
|
2161 |
* tools/formed/formed/model/nodecomponents.py: Add a method |
* tools/formed/formed/model/nodecomponents.py: Add a method |
2162 |
to find all items of a given type in document for a given |
to find all items of a given type in document for a given |
2163 |
mode. Usefull to find all rules in the tree. |
mode. Usefull to find all rules in the tree. |
2164 |
|
|
2165 |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
* tools/formed/formed/ui/controls.py: Added a listener mechanism |
2166 |
to attribute table to report exceptions when setting a value |
to attribute table to report exceptions when setting a value |
2167 |
from GUI. Useful to report compilation errors when setting |
from GUI. Useful to report compilation errors when setting |
2168 |
expr of rule leafs. |
expr of rule leafs. |
2169 |
|
|
2170 |
* tools/formed/formed/main.py: Added a method to track exceptions |
* tools/formed/formed/main.py: Added a method to track exceptions |
2171 |
from the attribute table and pop up dialogs if they occur. |
from the attribute table and pop up dialogs if they occur. |
2172 |
Added a counter of rule modifications in tree. Useful if you |
Added a counter of rule modifications in tree. Useful if you |
2173 |
want build cached data structures like rule sets and you want |
want build cached data structures like rule sets and you want |
2174 |
to know if they are still valid. |
to know if they are still valid. |
2175 |
|
|
2176 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
2177 |
|
|
2178 |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
* tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint |
2179 |
for checkbox values. (Syntax error). |
for checkbox values. (Syntax error). |
2181 |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
* tools/formed/formed/plugins/names/filter.py: Fixes in formularname |
2182 |
generation |
generation |
2183 |
|
|
2184 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
2185 |
|
|
2186 |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
* tools/formed/formed/plugins/names/filter.py: Separated Class for |
2187 |
making the formularnames more database friendly. Added some more |
making the formularnames more database friendly. Added some more |
2189 |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
* tools/formed/formed/plugins/export/sql.py: Make use of the fresh |
2190 |
separated class, and some fixes in sql generation. |
separated class, and some fixes in sql generation. |
2191 |
|
|
2192 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2193 |
|
|
2194 |
* tools/formed/formed/plugins/export/html.py: Print lengths |
* tools/formed/formed/plugins/export/html.py: Print lengths |
2195 |
of external choice list. |
of external choice list. |
2196 |
|
|
2197 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2198 |
|
|
2199 |
* tools/formed/formed/main.py: Little workaround for |
* tools/formed/formed/main.py: Little workaround for |
2200 |
mode selection if someone adds an removes a mode. |
mode selection if someone adds an removes a mode. |
2201 |
|
|
2202 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2203 |
|
|
2204 |
* tools/formed/test-data/simple.xml: Better test case for |
* tools/formed/test-data/simple.xml: Better test case for |
2205 |
mode depended leaf items. |
mode depended leaf items. |
2209 |
|
|
2210 |
* tools/formed/formed/plugins/export/html.py: Use effective |
* tools/formed/formed/plugins/export/html.py: Use effective |
2211 |
mode. TODO: the 'all' modus return false results sometimes. |
mode. TODO: the 'all' modus return false results sometimes. |
2212 |
Cause: The modes are only cumulated over time. Removal is |
Cause: The modes are only cumulated over time. Removal is |
2213 |
not done. |
not done. |
2214 |
|
|
2215 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2216 |
|
|
2217 |
* tools/formed/formed/plugins/export/html.py: Dump the items |
* tools/formed/formed/plugins/export/html.py: Dump the items |
2218 |
of radio groups and choices too. |
of radio groups and choices too. |
2219 |
|
|
2220 |
2007-08-24 Torsten Irlaender <[email protected]> |
2007-08-24 Torsten Irlaender <[email protected]> |
2221 |
|
|
2222 |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
* tools/formed/formed/plugins/names/filter.py: Modified the renaming |
2223 |
by formular names to make the naming more database friendly. |
by formular names to make the naming more database friendly. |
2224 |
Now only alphanumeric and underscore chars is allowed. |
Now only alphanumeric and underscore chars is allowed. |
2225 |
|
|
2226 |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2007-08-24 Sascha L. Teichmann <[email protected]> |
2227 |
|
|
2228 |
* tools/formed/formed/plugins/export/html.py: Tweaked |
* tools/formed/formed/plugins/export/html.py: Tweaked |
2229 |
HTML table exporter a bit to be on par with the XSLT |
HTML table exporter a bit to be on par with the XSLT |
2230 |
script. TODO: Dump items in radio and choice groups. |
script. TODO: Dump items in radio and choice groups. |
2231 |
|
|
2232 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2233 |
|
|
2234 |
* tools/formed/formed/plugins/names/filter.py: Removed |
* tools/formed/formed/plugins/names/filter.py: Removed |
2235 |
HTML and SQL exporters. |
HTML and SQL exporters. |
2238 |
tools/formed/formed/plugins/export/__init__.py, |
tools/formed/formed/plugins/export/__init__.py, |
2239 |
tools/formed/formed/plugins/export/sql.py, |
tools/formed/formed/plugins/export/sql.py, |
2240 |
tools/formed/formed/plugins/export/html.py: New: Contain |
tools/formed/formed/plugins/export/html.py: New: Contain |
2241 |
the HTML and the SQL exporters now. |
the HTML and the SQL exporters now. |
2242 |
|
|
2243 |
* tools/formed/formed/config.py: Use exporters from different |
* tools/formed/formed/config.py: Use exporters from different |
2244 |
package now. |
package now. |
2245 |
|
|
2246 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
2247 |
|
|
2248 |
* tools/formed/formed/plugins/names/filter.py: Added an |
* tools/formed/formed/plugins/names/filter.py: Added an |
2249 |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
pseudo SQL export filters. TODO: Move HTML and SQL filter |
2252 |
|
|
2253 |
* tools/formed/formed/config.py: Install the new SQL filter. |
* tools/formed/formed/config.py: Install the new SQL filter. |
2254 |
|
|
2255 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2256 |
|
|
2257 |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
* tools/formed/formed/model/nodecomponents.py: Added a depth() |
2258 |
method to determine the depth of particular tree item. |
method to determine the depth of particular tree item. |
2262 |
|
|
2263 |
* tools/formed/formed/config.py: Install the new HTML filter. |
* tools/formed/formed/config.py: Install the new HTML filter. |
2264 |
|
|
2265 |
2007-08-23 Torsten Irlaender <[email protected]> |
2007-08-23 Torsten Irlaender <[email protected]> |
2266 |
|
|
2267 |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
* contrib/extract-xfa-fields_and_options.xsl: Added small xsl script |
2268 |
to extract fields and options in the XFA Data in teh PDF. This |
to extract fields and options in the XFA Data in teh PDF. This |
2269 |
script might me handy to indicate changes between the different |
script might me handy to indicate changes between the different |
2270 |
formular versions. |
formular versions. |
2271 |
|
|
2272 |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2007-08-23 Sascha L. Teichmann <[email protected]> |
2273 |
|
|
2274 |
* tools/formed/formed/main.py: Add an 'all' mode to |
* tools/formed/formed/main.py: Add an 'all' mode to |
2275 |
select all modes. ;-) |
select all modes. ;-) |
2276 |
|
|
2277 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2278 |
|
|
2279 |
* tools/formed/test-data/simple.xml, |
* tools/formed/test-data/simple.xml, |
2280 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
2284 |
tools/formed/formed/main.py: Removed support for switch nodes. |
tools/formed/formed/main.py: Removed support for switch nodes. |
2285 |
BEWARE: This breaks compatibility with older documents! |
BEWARE: This breaks compatibility with older documents! |
2286 |
|
|
2287 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2288 |
|
|
2289 |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
* tools/formed/formed/plugins/web/plugin.py: Uses the |
2290 |
getSelectedMode() from main now. |
getSelectedMode() from main now. |
2295 |
* tools/formed/formed/config.py: removed selected mode from |
* tools/formed/formed/config.py: removed selected mode from |
2296 |
env configuration. |
env configuration. |
2297 |
|
|
2298 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2299 |
|
|
2300 |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
* tools/formed/formed/ui/controls.py: Attributes in GUI attribute |
2301 |
table are now alphabetically sorted. |
table are now alphabetically sorted. |
2302 |
|
|
2303 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2304 |
|
|
2305 |
* tools/formed/formed/model/nodecomponents.py: Added code to |
* tools/formed/formed/model/nodecomponents.py: Added code to |
2306 |
establish the new 'modes' recursively. |
establish the new 'modes' recursively. |
2316 |
|
|
2317 |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
* tools/formed/formed/main.py: Adjusted to new infrastructure. |
2318 |
|
|
2319 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2320 |
|
|
2321 |
* tools/formed/formed/model/nodecomponents.py: Added an |
* tools/formed/formed/model/nodecomponents.py: Added an |
2322 |
attribute 'modes' to NodeComponents. |
attribute 'modes' to NodeComponents. |
2323 |
|
|
2324 |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2007-08-22 Sascha L. Teichmann <[email protected]> |
2325 |
|
|
2326 |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
* tools/formed/formed/model/data.py: Small cosmetic cleanups |
2327 |
|
|
2328 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2329 |
|
|
2330 |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
* tools/formed/formed/plugins/web/renderer.py: Another fix |
2331 |
for the hidden field. Argh! |
for the hidden field. Argh! |
2332 |
|
|
2333 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2334 |
|
|
2335 |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
* tools/formed/formed/plugins/web/renderer.py: Fixed double |
2336 |
generation of hidden page field. |
generation of hidden page field. |
2337 |
|
|
2338 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2339 |
|
|
2340 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
2341 |
checks for radio groups. |
checks for radio groups. |
2342 |
|
|
2343 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2344 |
|
|
2345 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
2346 |
checks for choices. |
checks for choices. |
2355 |
* contrib/convert-formedtree2html.xsl: |
* contrib/convert-formedtree2html.xsl: |
2356 |
Replace technical types with readable descriptions |
Replace technical types with readable descriptions |
2357 |
|
|
2358 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2359 |
|
|
2360 |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
* tools/formed/formed/plugins/web/plugin.py: Fix a few smaller |
2361 |
issues. 'action' looks for all widgets on a page now, goes |
issues. 'action' looks for all widgets on a page now, goes |
2362 |
through all passed parameters, tries to match them with the |
through all passed parameters, tries to match them with the |
2363 |
widgets of the page and put them into the semantic box. |
widgets of the page and put them into the semantic box. |
2364 |
Afterwards a list of untouched page parameters are left |
Afterwards a list of untouched page parameters are left |
2365 |
which will be deleted from the semantic box. |
which will be deleted from the semantic box. |
2366 |
|
|
2367 |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
* tools/formed/formed/plugins/web/semantic.py: Simplified. |
2368 |
The NodeComponent is passed as an argument now. |
The NodeComponent is passed as an argument now. |
2370 |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
* tools/formed/formed/plugins/web/renderer.py: Generate a |
2371 |
hidden field to store the name of the page. |
hidden field to store the name of the page. |
2372 |
|
|
2373 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2374 |
|
|
2375 |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
* tools/formed/formed/plugins/web/plugin.py: Fixed an encoding |
2376 |
issue with incoming UTF-8 data. |
issue with incoming UTF-8 data. |
2377 |
|
|
2378 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2379 |
|
|
2380 |
* tools/formed/test-data/simple.xml: Improve test for widgets |
* tools/formed/test-data/simple.xml: Improve test for widgets |
2381 |
in switches. |
in switches. |
2382 |
|
|
2383 |
* tools/formed/formed/model/data.py: Added a method to find all |
* tools/formed/formed/model/data.py: Added a method to find all |
2384 |
widgets in a given page. Fixed a bug when walking in switch |
widgets in a given page. Fixed a bug when walking in switch |
2385 |
with a given mode. |
with a given mode. |
2386 |
|
|
2387 |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
* tools/formed/formed/plugins/web/plugin.py: Simple test for |
2388 |
listing all widgets in page. |
listing all widgets in page. |
2389 |
|
|
2390 |
2007-08-21 Torsten Irlaender <[email protected]> |
2007-08-21 Torsten Irlaender <[email protected]> |
2391 |
|
|
2392 |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
* tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to |
2393 |
latin-1 |
latin-1 |
2394 |
|
|
2395 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2396 |
|
|
2397 |
* tools/formed/formed/model/data.py: Added mode parameter to |
* tools/formed/formed/model/data.py: Added mode parameter to |
2398 |
walk. |
walk. |
2399 |
|
|
2400 |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
* tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites |
2401 |
walk() with usage of the new mode parameter. Added a method to |
walk() with usage of the new mode parameter. Added a method to |
2402 |
give children in a given mode. |
give children in a given mode. |
2403 |
|
|
2404 |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
* tools/formed/formed/plugins/web/renderer.py: Simplified to use |
2405 |
new Switch.childrenInMode() method. |
new Switch.childrenInMode() method. |
2406 |
|
|
2407 |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2007-08-21 Sascha L. Teichmann <[email protected]> |
2408 |
|
|
2409 |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
* tools/formed/formed/plugins/web/semantic.py: Add checks for |
2410 |
texts and text areas. |
texts and text areas. |
2412 |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
* tools/formed/formed/plugins/web/renderer.py: Set accept-charset |
2413 |
to UTF-8 in generated form. |
to UTF-8 in generated form. |
2414 |
|
|
2415 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2416 |
|
|
2417 |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
* tools/formed/formed/plugins/web/semantic.py: Added semantic |
2418 |
tests for dates. |
tests for dates. |
2419 |
|
|
2420 |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2007-08-20 Sascha L. Teichmann <[email protected]> |
2421 |
|
|
2422 |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
* tools/formed/test-data/simple.xml: Tweak a bit for integer |
2423 |
range test. |
range test. |
2431 |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
* tools/formed/formed/plugins/web/plugin.py: Use semantic |
2432 |
check. |
check. |
2433 |
|
|
2434 |
2007-08-20 Torsten Irlaender <[email protected]> |
2007-08-20 Torsten Irlaender <[email protected]> |
2435 |
|
|
2436 |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
* tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in |
2437 |
selection-field generation (Removed quote) |
selection-field generation (Removed quote) |
2444 |
renderer. This submit parameters are stored in the |
renderer. This submit parameters are stored in the |
2445 |
session now. This will ease testing the constraint |
session now. This will ease testing the constraint |
2446 |
tests which need to be written soon. |
tests which need to be written soon. |
2447 |
|
|
2448 |
BEWARE: The session management is _not_ made for production! |
BEWARE: The session management is _not_ made for production! |
2449 |
Denial of service attacks are too easy, and the |
Denial of service attacks are too easy, and the |
2450 |
cryptographical strength of the session id is doubtful. |
cryptographical strength of the session id is doubtful. |
2462 |
and can be hooked automatically into the new 'Filters' |
and can be hooked automatically into the new 'Filters' |
2463 |
sub menu under 'Extra'. They got called when the user |
sub menu under 'Extra'. They got called when the user |
2464 |
selects their respective menu item. |
selects their respective menu item. |
2465 |
|
|
2466 |
* tools/formed/formed/config.py: Contains the list of |
* tools/formed/formed/config.py: Contains the list of |
2467 |
installed filters. |
installed filters. |
2468 |
|
|
2523 |
|
|
2524 |
* tools/formed/formed/main.py: Swaped order of |
* tools/formed/formed/main.py: Swaped order of |
2525 |
'Make names unique' and 'Selected mode...' in Extra |
'Make names unique' and 'Selected mode...' in Extra |
2526 |
menu and put a separator between them. |
menu and put a separator between them. |
2527 |
|
|
2528 |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2007-08-15 Sascha L. Teichmann <[email protected]> |
2529 |
|
|
2532 |
|
|
2533 |
* tools/formed/formed/plugins/plugin.py: Simplified |
* tools/formed/formed/plugins/plugin.py: Simplified |
2534 |
the plug-in interface. Only the reference to the |
the plug-in interface. Only the reference to the |
2535 |
global configuration is passed at setup time. |
global configuration is passed at setup time. |
2536 |
|
|
2537 |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
* tools/formed/formed/plugins/web/plugin.py: Adjusted |
2538 |
to new plug-in setup. The traveral mode is now taken |
to new plug-in setup. The traveral mode is now taken |
2539 |
from the global configuration each time a rendering |
from the global configuration each time a rendering |
2540 |
is triggered. The FORMED parameter is now named |
is triggered. The FORMED parameter is now named |
2541 |
'doc.mode' instead of 'web.mode'. The parameter |
'doc.mode' instead of 'web.mode'. The parameter |
2542 |
is not needed any more because it can be configured |
is not needed any more because it can be configured |
2543 |
at runtime. |
at runtime. |
2544 |
|
|
2545 |
* tools/formed/formed/main.py: Adjusted to new plugin |
* tools/formed/formed/main.py: Adjusted to new plugin |
2546 |
setup. Added a new menu item Extra->Select Mode... |
setup. Added a new menu item Extra->Select Mode... |
2547 |
to select the traversal mode. It is stored in the |
to select the traversal mode. It is stored in the |
2548 |
global config. |
global config. |
2549 |
|
|
2550 |
* tools/formed/formed/config.py: Simplified. Only uses |
* tools/formed/formed/config.py: Simplified. Only uses |
2551 |
one env dictionary to store global configuration parameters. |
one env dictionary to store global configuration parameters. |
2557 |
|
|
2558 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
2559 |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
tools/formed/formed/plugins/web/renderer.py: Added parameter |
2560 |
print out in web plugin. |
print out in web plugin. |
2561 |
|
|
2562 |
2007-08-15 Torsten Irlaender <[email protected]> |
2007-08-15 Torsten Irlaender <[email protected]> |
2563 |
|
|
2575 |
|
|
2576 |
* tools/formed/formed/plugins/web/plugin.py, |
* tools/formed/formed/plugins/web/plugin.py, |
2577 |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
tools/formed/formed/config.py: Added a 'web.mode' parameter |
2578 |
to FORMED environment variable. |
to FORMED environment variable. |
2579 |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'. |
2580 |
Defaults to 'default'. |
Defaults to 'default'. |
2581 |
|
|
2582 |
* tools/formed/test-data/simple.xml: Added test for switch. |
* tools/formed/test-data/simple.xml: Added test for switch. |
2583 |
|
|
2591 |
* tools/formed/formed/io/document.py, |
* tools/formed/formed/io/document.py, |
2592 |
tools/formed/formed/model/data.py, |
tools/formed/formed/model/data.py, |
2593 |
tools/formed/formed/model/nodecomponents.py: Added an item |
tools/formed/formed/model/nodecomponents.py: Added an item |
2594 |
to model external item lists. |
to model external item lists. |
2595 |
|
|
2596 |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
* tools/formed/formed/plugins/web/renderer.py: Render new item |
2597 |
list. |
list. |
2608 |
|
|
2609 |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
* contrib/extract-xfa-items.sh: New. Can be used to extract longer |
2610 |
choice item lists for a given field from XFA files. e.g. with |
choice item lists for a given field from XFA files. e.g. with |
2611 |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
'./contrib/extract-xfa-items.sh Muttersprache alles.xml' |
2612 |
|
|
2613 |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2007-08-12 Sascha L. Teichmann <[email protected]> |
2614 |
|
|
2615 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2616 |
tools/formed/formed/plugins/web/renderer.py, |
tools/formed/formed/plugins/web/renderer.py, |
2617 |
tools/formed/formed/io/document.py: Changed the structure |
tools/formed/formed/io/document.py: Changed the structure |
2618 |
of choice constructs. The idea to hold the different items |
of choice constructs. The idea to hold the different items |
2619 |
of a particular choice in a semicolon separated list was bad. |
of a particular choice in a semicolon separated list was bad. |
2620 |
Now choices are groups and the option items are modelled as |
Now choices are groups and the option items are modelled as |
2621 |
embedded bools. (mainly Torsten Irländer's idea). |
embedded bools. (mainly Torsten Irländer's idea). |
2622 |
|
|
2623 |
WARNING: this makes old document files containing choices incompatible!!! |
WARNING: this makes old document files containing choices incompatible!!! |
2624 |
Use the following XSLT to reestablish compatibility. |
Use the following XSLT to reestablish compatibility. |
2625 |
|
|
2626 |
* contrib/itemize-choices.xsl: New converts old to new structure. |
* contrib/itemize-choices.xsl: New converts old to new structure. |
2627 |
Needs exslt.org's string extensions (which xsltproc includes) |
Needs exslt.org's string extensions (which xsltproc includes) |
2628 |
|
|
2640 |
|
|
2641 |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
* tools/formed/formed/model/nodecomponents.py: Added code to clone parts |
2642 |
of the tree. |
of the tree. |
2643 |
|
|
2644 |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
* tools/formed/formed/ui/controls.py: Added a getSelected method. |
2645 |
|
|
2646 |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
* tools/formed/formed/model/misc.py: Fixed a programming bug. |
2663 |
|
|
2664 |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
* tools/formed/formed/model/nodecomponents.py: Added walk generator over all |
2665 |
items in the document tree. Added a method to eliminated duplicated names |
items in the document tree. Added a method to eliminated duplicated names |
2666 |
in document tree. |
in document tree. |
2667 |
|
|
2668 |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
* tools/formed/formed/model/misc.py: Added update mechanism for id generator |
2669 |
after names collisions are eliminated. |
after names collisions are eliminated. |
2675 |
|
|
2676 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2677 |
tools/formed/formed/plugins/web/renderer.py: Removed support |
tools/formed/formed/plugins/web/renderer.py: Removed support |
2678 |
for 'text' attributes in bool items. They were never really |
for 'text' attributes in bool items. They were never really |
2679 |
used and the 'description' attributes fulfill the same |
used and the 'description' attributes fulfill the same |
2680 |
purpose. |
purpose. |
2681 |
|
|
2682 |
* contrib/remove-bool-text.xsl: Transform to remove the |
* contrib/remove-bool-text.xsl: Transform to remove the |
2683 |
'text' attributes from bool items. Apply with: |
'text' attributes from bool items. Apply with: |
2684 |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml' |
2685 |
|
|
2686 |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
* tools/formed/test-data/simple.xml: Removed 'text' attributes |
2687 |
from bool items. |
from bool items. |
2700 |
|
|
2701 |
* contrib/convert-choices.xsl: Added to convert document files |
* contrib/convert-choices.xsl: Added to convert document files |
2702 |
which use the choice 'option' attribute to usage of 'value'. |
which use the choice 'option' attribute to usage of 'value'. |
2703 |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml' |
2704 |
|
|
2705 |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2007-08-10 Sascha L. Teichmann <[email protected]> |
2706 |
|
|
2737 |
|
|
2738 |
* tools/formed/formed/plugins/web/plugin.py: To determine |
* tools/formed/formed/plugins/web/plugin.py: To determine |
2739 |
the port look at FORMED dictionary first. Key is 'web.port'. |
the port look at FORMED dictionary first. Key is 'web.port'. |
2740 |
e.g. FORMED='web.port:8888' |
e.g. FORMED='web.port:8888' |
2741 |
|
|
2742 |
* tools/formed/formed/main.py: Call the plugin setup with |
* tools/formed/formed/main.py: Call the plugin setup with |
2743 |
the reference to the config. |
the reference to the config. |
2817 |
|
|
2818 |
* tools/formed/formed/model/data.py, |
* tools/formed/formed/model/data.py, |
2819 |
tools/formed/formed/model/nodecomponents.py: Added new |
tools/formed/formed/model/nodecomponents.py: Added new |
2820 |
attributes. |
attributes. |
2821 |
|
|
2822 |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
* tools/formed/formed/plugins/web/plugin.py: Added rendering |
2823 |
for checkboxes and radio buttons. |
for checkboxes and radio buttons. |
2846 |
|
|
2847 |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
* tools/formed/formed/plugins/web/plugin.py: Added a first |
2848 |
version of a recursive HTML renderer based on the document |
version of a recursive HTML renderer based on the document |
2849 |
tree. |
tree. |
2850 |
|
|
2851 |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2007-08-08 Sascha L. Teichmann <[email protected]> |
2852 |
|
|
2875 |
|
|
2876 |
* tools/formed/formed/main.py: Added event route document -> |
* tools/formed/formed/main.py: Added event route document -> |
2877 |
attribute table to get informed when selected item is delete |
attribute table to get informed when selected item is delete |
2878 |
or an attribute is changed from the outside. |
or an attribute is changed from the outside. |
2879 |
|
|
2880 |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
* tools/formed/formed/ui/controls.py: Fixed. In older versions of |
2881 |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead |
2882 |
of 3 argument. Uses icons+tooltips for tree navigation now. |
of 3 argument. Uses icons+tooltips for tree navigation now. |
2883 |
|
|
2884 |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2007-08-07 Sascha L. Teichmann <[email protected]> |
2885 |
|
|
2927 |
|
|
2928 |
* tools/formed/formed/ui/controls.py: Establish sort order |
* tools/formed/formed/ui/controls.py: Establish sort order |
2929 |
by indices of children in parent instead of alphanum. |
by indices of children in parent instead of alphanum. |
2930 |
Code to move items up and down the document tree. |
Code to move items up and down the document tree. |
2931 |
|
|
2932 |
* tools/formed/formed/io/document.py: Added missing imports. |
* tools/formed/formed/io/document.py: Added missing imports. |
2933 |
|
|
2940 |
|
|
2941 |
* tools/formed/formed/main.py, |
* tools/formed/formed/main.py, |
2942 |
tools/formed/formed/ui/controls.py: Added control to |
tools/formed/formed/ui/controls.py: Added control to |
2943 |
move items around in tree. Has no effect by now. |
move items around in tree. Has no effect by now. |
2944 |
|
|
2945 |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2007-08-05 Sascha L. Teichmann <[email protected]> |
2946 |
|
|
2956 |
|
|
2957 |
* tools/formed/*: initial check-in of the Formular Editor. |
* tools/formed/*: initial check-in of the Formular Editor. |
2958 |
Not working yet. Only can load, view and store formular XML files. |
Not working yet. Only can load, view and store formular XML files. |
2959 |
Start it with 'tools/formed/formed.sh'. |
Start it with 'tools/formed/formed.sh'. |