/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 329 - (show annotations)
Tue Apr 28 10:06:31 2009 UTC (15 years, 10 months ago) by teichmann
File size: 86724 byte(s)
Added delete functions for repeat group SQL generator.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26