/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 280 - (show annotations)
Wed Jul 23 10:45:59 2008 UTC (16 years, 7 months ago) by teichmann
File size: 74707 byte(s)
Fixed issue472


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26