/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 260 - (show annotations)
Thu Apr 17 08:54:19 2008 UTC (16 years, 10 months ago) by torsten
File size: 71413 byte(s)
Changed WHERE clause of view to work with group permissions

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26