/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 275 - (show annotations)
Mon Jul 7 10:26:03 2008 UTC (16 years, 7 months ago) by teichmann
File size: 73721 byte(s)
Updated anon XML import to schema 1.5

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26