/[formed]/trunk/ChangeLog
ViewVC logotype

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 257 - (show annotations)
Wed Mar 12 15:10:10 2008 UTC (16 years, 11 months ago) by torsten
File size: 70832 byte(s)
Updated import.cron

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26