/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 258 - (show annotations)
Tue Apr 1 13:01:15 2008 UTC (16 years, 10 months ago) by teichmann
File size: 71072 byte(s)
Anoymnized XML export.

Removed "WHERE einverstaendniserklaerung = 1" from clause to select datasets.


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26