/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 271 - (show annotations)
Wed May 21 14:30:01 2008 UTC (16 years, 9 months ago) by frank
File size: 73294 byte(s)
New, export key value tables as excel workbook with one sheet per table.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26