/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 274 - (show annotations)
Mon Jul 7 08:57:17 2008 UTC (16 years, 7 months ago) by teichmann
File size: 73578 byte(s)
Synced anon XML import with produktive version.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26