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