/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 276 - (show annotations)
Mon Jul 7 10:59:40 2008 UTC (16 years, 7 months ago) by teichmann
File size: 73847 byte(s)
Mark cases as inconsistent if they do not fullfill the conditions of valid time evaluation.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26