/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 309 - (show annotations)
Fri Feb 6 18:34:38 2009 UTC (16 years ago) by teichmann
File size: 83129 byte(s)
SQL exporter: replace '-' in names by '_'.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26