/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 272 - (show annotations)
Tue Jun 10 15:51:51 2008 UTC (16 years, 8 months ago) by torsten
File size: 73458 byte(s)
Grant access permission for anonymize function to admin-ka

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26