/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 262 - (show annotations)
Mon Apr 28 21:11:48 2008 UTC (16 years, 10 months ago) by teichmann
File size: 71860 byte(s)
Added support for repeat groups and integers in XSD export.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26