/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 308 - (show annotations)
Fri Feb 6 17:41:29 2009 UTC (16 years ago) by teichmann
File size: 82994 byte(s)
Make table comparision invariant of insert statements and case.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26