/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 294 - (show annotations)
Mon Nov 10 11:33:03 2008 UTC (16 years, 3 months ago) by torsten
File size: 78667 byte(s)
Implemented radio-matrix elements.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26